@fluid-topics/ft-chart 1.1.6 → 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.
@@ -38,7 +38,7 @@ const S={attribute:!0,type:String,converter:b,reflect:!1,hasChanged:N},w=(t=S,o,
38
38
  * @license
39
39
  * Copyright 2017 Google LLC
40
40
  * SPDX-License-Identifier: BSD-3-Clause
41
- */;class M{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}function R(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!R(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!R(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var n=i[r];if(!R(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const E=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function U(t,o){const e=()=>JSON.parse(JSON.stringify(t));return x({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!R(t,o),...null!=o?o:{}})}
41
+ */;class M{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}function E(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!E(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!E(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var n=i[r];if(!E(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const R=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function U(t,o){const e=()=>JSON.parse(JSON.stringify(t));return x({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!E(t,o),...null!=o?o:{}})}
42
42
  /**
43
43
  * @license
44
44
  * Copyright 2017 Google LLC
@@ -54,7 +54,7 @@ const lt=globalThis,ht=lt.ShadowRoot&&(void 0===lt.ShadyCSS||lt.ShadyCSS.nativeS
54
54
  * @license
55
55
  * Copyright 2017 Google LLC
56
56
  * SPDX-License-Identifier: BSD-3-Clause
57
- */,{is:mt,defineProperty:bt,getOwnPropertyDescriptor:Nt,getOwnPropertyNames:Ot,getOwnPropertySymbols:vt,getPrototypeOf:St}=Object,wt=globalThis,xt=wt.trustedTypes,Ct=xt?xt.emptyScript:"",Mt=wt.reactiveElementPolyfillSupport,Rt=(t,o)=>t,Et={toAttribute(t,o){switch(o){case Boolean:t=t?Ct:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},Ut=(t,o)=>!mt(t,o),Yt={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:Ut};Symbol.metadata??=Symbol("metadata"),wt.litPropertyMetadata??=new WeakMap;class kt extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Yt){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&bt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=Nt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Yt}static _$Ei(){if(this.hasOwnProperty(Rt("elementProperties")))return;const t=St(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Rt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Rt("properties"))){const t=this.properties,o=[...Ot(t),...vt(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(gt(t))}else void 0!==t&&o.push(gt(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(ht)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=lt.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:Et).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Et;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Ut)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}}kt.elementStyles=[],kt.shadowRootOptions={mode:"open"},kt[Rt("elementProperties")]=new Map,kt[Rt("finalized")]=new Map,Mt?.({ReactiveElement:kt}),(wt.reactiveElementVersions??=[]).push("2.0.2");
57
+ */,{is:mt,defineProperty:bt,getOwnPropertyDescriptor:Nt,getOwnPropertyNames:Ot,getOwnPropertySymbols:vt,getPrototypeOf:St}=Object,wt=globalThis,xt=wt.trustedTypes,Ct=xt?xt.emptyScript:"",Mt=wt.reactiveElementPolyfillSupport,Et=(t,o)=>t,Rt={toAttribute(t,o){switch(o){case Boolean:t=t?Ct:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},Ut=(t,o)=>!mt(t,o),Yt={attribute:!0,type:String,converter:Rt,reflect:!1,hasChanged:Ut};Symbol.metadata??=Symbol("metadata"),wt.litPropertyMetadata??=new WeakMap;class kt extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Yt){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&bt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=Nt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Yt}static _$Ei(){if(this.hasOwnProperty(Et("elementProperties")))return;const t=St(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Et("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Et("properties"))){const t=this.properties,o=[...Ot(t),...vt(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(gt(t))}else void 0!==t&&o.push(gt(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(ht)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=lt.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:Rt).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Rt;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Ut)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}}kt.elementStyles=[],kt.shadowRootOptions={mode:"open"},kt[Et("elementProperties")]=new Map,kt[Et("finalized")]=new Map,Mt?.({ReactiveElement:kt}),(wt.reactiveElementVersions??=[]).push("2.0.2");
58
58
  /**
59
59
  * @license
60
60
  * Copyright 2017 Google LLC
@@ -72,7 +72,7 @@ class po extends kt{constructor(){super(...arguments),this.renderOptions={host:t
72
72
  * Copyright 2019 Google LLC
73
73
  * SPDX-License-Identifier: BSD-3-Clause
74
74
  */
75
- const Oo=window,vo=Oo.ShadowRoot&&(void 0===Oo.ShadyCSS||Oo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class So extends po{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{vo?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=Oo.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var wo,xo=function(t,o,e,r){for(var i,n=arguments.length,s=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(o,e,s):i(o,e))||s);return n>3&&s&&Object.defineProperty(o,e,s),s};const Co=Symbol("constructorPrototype"),Mo=Symbol("constructorName"),Ro=Symbol("exportpartsDebouncer");class Eo extends So{constructor(){super(),this[wo]=new M(5),this[Mo]=this.constructor.name,this[Co]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Mo]&&Object.setPrototypeOf(this,this[Co])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).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[Ro].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 o,e,r,i,n,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!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(s=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...o,...e).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((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}wo=Ro,xo([x()],Eo.prototype,"exportpartsPrefix",void 0),xo([U([])],Eo.prototype,"exportpartsPrefixes",void 0),xo([x()],Eo.prototype,"customStylesheet",void 0);const Uo=mo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");var Yo,ko,Wo,Do;function Lo(){return Wo.apply(null,arguments)}function Io(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function Zo(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function Ko(t,o){return Object.prototype.hasOwnProperty.call(t,o)}function Ao(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var o;for(o in t)if(Ko(t,o))return!1;return!0}function Fo(t){return void 0===t}function _o(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function $o(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function To(t,o){var e,r=[],i=t.length;for(e=0;e<i;++e)r.push(o(t[e],e));return r}function Go(t,o){for(var e in o)Ko(o,e)&&(t[e]=o[e]);return Ko(o,"toString")&&(t.toString=o.toString),Ko(o,"valueOf")&&(t.valueOf=o.valueOf),t}function Ho(t,o,e,r){return hi(t,o,e,r,!0).utc()}function Bo(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 zo(t){if(null==t._isValid){var o=Bo(t),e=Do.call(o.parsedDateParts,(function(t){return null!=t})),r=!isNaN(t._d.getTime())&&o.overflow<0&&!o.empty&&!o.invalidEra&&!o.invalidMonth&&!o.invalidWeekday&&!o.weekdayMismatch&&!o.nullInput&&!o.invalidFormat&&!o.userInvalidated&&(!o.meridiem||o.meridiem&&e);if(t._strict&&(r=r&&0===o.charsLeftOver&&0===o.unusedTokens.length&&void 0===o.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function jo(t){var o=Ho(NaN);return null!=t?Go(Bo(o),t):Bo(o).userInvalidated=!0,o}yt`
75
+ const Oo=window,vo=Oo.ShadowRoot&&(void 0===Oo.ShadyCSS||Oo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class So extends po{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{vo?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=Oo.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var wo,xo=function(t,o,e,r){for(var i,n=arguments.length,s=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(o,e,s):i(o,e))||s);return n>3&&s&&Object.defineProperty(o,e,s),s};const Co=Symbol("constructorPrototype"),Mo=Symbol("constructorName"),Eo=Symbol("exportpartsDebouncer");class Ro extends So{constructor(){super(),this[wo]=new M(5),this[Mo]=this.constructor.name,this[Co]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Mo]&&Object.setPrototypeOf(this,this[Co])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).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[Eo].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 o,e,r,i,n,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!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(s=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...o,...e).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((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}wo=Eo,xo([x()],Ro.prototype,"exportpartsPrefix",void 0),xo([U([])],Ro.prototype,"exportpartsPrefixes",void 0),xo([x()],Ro.prototype,"customStylesheet",void 0);const Uo=mo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");function Yo(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var ko,Wo,Do;yt`
76
76
  .highlight-html-match {
77
77
  background: ${Uo};
78
78
  }
@@ -108,13 +108,13 @@ const Oo=window,vo=Oo.ShadowRoot&&(void 0===Oo.ShadyCSS||Oo.ShadyCSS.nativeShado
108
108
  display: inline-block;
109
109
  width: 0;
110
110
  }
111
- `,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(ko=null===(Yo=window.safari)||void 0===Yo?void 0:Yo.pushNotification)||void 0===ko||ko.toString()),Do=Array.prototype.some?Array.prototype.some:function(t){var o,e=Object(this),r=e.length>>>0;for(o=0;o<r;o++)if(o in e&&t.call(this,e[o],o,e))return!0;return!1};var Po=Lo.momentProperties=[],Jo=!1;function qo(t,o){var e,r,i,n=Po.length;if(Fo(o._isAMomentObject)||(t._isAMomentObject=o._isAMomentObject),Fo(o._i)||(t._i=o._i),Fo(o._f)||(t._f=o._f),Fo(o._l)||(t._l=o._l),Fo(o._strict)||(t._strict=o._strict),Fo(o._tzm)||(t._tzm=o._tzm),Fo(o._isUTC)||(t._isUTC=o._isUTC),Fo(o._offset)||(t._offset=o._offset),Fo(o._pf)||(t._pf=Bo(o)),Fo(o._locale)||(t._locale=o._locale),n>0)for(e=0;e<n;e++)Fo(i=o[r=Po[e]])||(t[r]=i);return t}function Qo(t){qo(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Jo&&(Jo=!0,Lo.updateOffset(this),Jo=!1)}function Vo(t){return t instanceof Qo||null!=t&&null!=t._isAMomentObject}function Xo(t){!1===Lo.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function te(t,o){var e=!0;return Go((function(){if(null!=Lo.deprecationHandler&&Lo.deprecationHandler(null,t),e){var r,i,n,s=[],a=arguments.length;for(i=0;i<a;i++){if(r="","object"==typeof arguments[i]){for(n in r+="\n["+i+"] ",arguments[0])Ko(arguments[0],n)&&(r+=n+": "+arguments[0][n]+", ");r=r.slice(0,-2)}else r=arguments[i];s.push(r)}Xo(t+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),e=!1}return o.apply(this,arguments)}),o)}var oe,ee={};function re(t,o){null!=Lo.deprecationHandler&&Lo.deprecationHandler(t,o),ee[t]||(Xo(o),ee[t]=!0)}function ie(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function ne(t,o){var e,r=Go({},t);for(e in o)Ko(o,e)&&(Zo(t[e])&&Zo(o[e])?(r[e]={},Go(r[e],t[e]),Go(r[e],o[e])):null!=o[e]?r[e]=o[e]:delete r[e]);for(e in t)Ko(t,e)&&!Ko(o,e)&&Zo(t[e])&&(r[e]=Go({},r[e]));return r}function se(t){null!=t&&this.set(t)}Lo.suppressDeprecationWarnings=!1,Lo.deprecationHandler=null,oe=Object.keys?Object.keys:function(t){var o,e=[];for(o in t)Ko(t,o)&&e.push(o);return e};function ae(t,o,e){var r=""+Math.abs(t),i=o-r.length;return(t>=0?e?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var ce=/(\[[^\[]*\])|(\\)?([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,le=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,he={},fe={};function ue(t,o,e,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(fe[t]=i),o&&(fe[o[0]]=function(){return ae(i.apply(this,arguments),o[1],o[2])}),e&&(fe[e]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function de(t,o){return t.isValid()?(o=pe(o,t.localeData()),he[o]=he[o]||function(t){var o,e,r,i=t.match(ce);for(o=0,e=i.length;o<e;o++)fe[i[o]]?i[o]=fe[i[o]]:i[o]=(r=i[o]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(o){var r,n="";for(r=0;r<e;r++)n+=ie(i[r])?i[r].call(o,t):i[r];return n}}(o),he[o](t)):t.localeData().invalidDate()}function pe(t,o){var e=5;function r(t){return o.longDateFormat(t)||t}for(le.lastIndex=0;e>=0&&le.test(t);)t=t.replace(le,r),le.lastIndex=0,e-=1;return t}var ye={};function ge(t,o){var e=t.toLowerCase();ye[e]=ye[e+"s"]=ye[o]=t}function me(t){return"string"==typeof t?ye[t]||ye[t.toLowerCase()]:void 0}function be(t){var o,e,r={};for(e in t)Ko(t,e)&&(o=me(e))&&(r[o]=t[e]);return r}var Ne={};function Oe(t,o){Ne[t]=o}function ve(t){return t%4==0&&t%100!=0||t%400==0}function Se(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function we(t){var o=+t,e=0;return 0!==o&&isFinite(o)&&(e=Se(o)),e}function xe(t,o){return function(e){return null!=e?(Me(this,t,e),Lo.updateOffset(this,o),this):Ce(this,t)}}function Ce(t,o){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+o]():NaN}function Me(t,o,e){t.isValid()&&!isNaN(e)&&("FullYear"===o&&ve(t.year())&&1===t.month()&&29===t.date()?(e=we(e),t._d["set"+(t._isUTC?"UTC":"")+o](e,t.month(),ar(e,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+o](e))}var Re,Ee=/\d/,Ue=/\d\d/,Ye=/\d{3}/,ke=/\d{4}/,We=/[+-]?\d{6}/,De=/\d\d?/,Le=/\d\d\d\d?/,Ie=/\d\d\d\d\d\d?/,Ze=/\d{1,3}/,Ke=/\d{1,4}/,Ae=/[+-]?\d{1,6}/,Fe=/\d+/,_e=/[+-]?\d+/,$e=/Z|[+-]\d\d:?\d\d/gi,Te=/Z|[+-]\d\d(?::?\d\d)?/gi,Ge=/[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 He(t,o,e){Re[t]=ie(o)?o:function(t,r){return t&&e?e:o}}function Be(t,o){return Ko(Re,t)?Re[t](o._strict,o._locale):new RegExp(function(t){return ze(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,o,e,r,i){return o||e||r||i})))}(t))}function ze(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Re={};var je={};function Pe(t,o){var e,r,i=o;for("string"==typeof t&&(t=[t]),_o(o)&&(i=function(t,e){e[o]=we(t)}),r=t.length,e=0;e<r;e++)je[t[e]]=i}function Je(t,o){Pe(t,(function(t,e,r,i){r._w=r._w||{},o(t,r._w,r,i)}))}function qe(t,o,e){null!=o&&Ko(je,t)&&je[t](o,e._a,e,t)}var Qe,Ve=0,Xe=1,tr=2,or=3,er=4,rr=5,ir=6,nr=7,sr=8;function ar(t,o){if(isNaN(t)||isNaN(o))return NaN;var e=function(t,o){return(t%o+o)%o}(o,12);return t+=(o-e)/12,1===e?ve(t)?29:28:31-e%7%2}Qe=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var o;for(o=0;o<this.length;++o)if(this[o]===t)return o;return-1},ue("M",["MM",2],"Mo",(function(){return this.month()+1})),ue("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),ue("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),ge("month","M"),Oe("month",8),He("M",De),He("MM",De,Ue),He("MMM",(function(t,o){return o.monthsShortRegex(t)})),He("MMMM",(function(t,o){return o.monthsRegex(t)})),Pe(["M","MM"],(function(t,o){o[Xe]=we(t)-1})),Pe(["MMM","MMMM"],(function(t,o,e,r){var i=e._locale.monthsParse(t,r,e._strict);null!=i?o[Xe]=i:Bo(e).invalidMonth=t}));var cr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),lr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),hr=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,fr=Ge,ur=Ge;function dr(t,o,e){var r,i,n,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)n=Ho([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(n,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(n,"").toLocaleLowerCase();return e?"MMM"===o?-1!==(i=Qe.call(this._shortMonthsParse,s))?i:null:-1!==(i=Qe.call(this._longMonthsParse,s))?i:null:"MMM"===o?-1!==(i=Qe.call(this._shortMonthsParse,s))||-1!==(i=Qe.call(this._longMonthsParse,s))?i:null:-1!==(i=Qe.call(this._longMonthsParse,s))||-1!==(i=Qe.call(this._shortMonthsParse,s))?i:null}function pr(t,o){var e;if(!t.isValid())return t;if("string"==typeof o)if(/^\d+$/.test(o))o=we(o);else if(!_o(o=t.localeData().monthsParse(o)))return t;return e=Math.min(t.date(),ar(t.year(),o)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](o,e),t}function yr(t){return null!=t?(pr(this,t),Lo.updateOffset(this,!0),this):Ce(this,"Month")}function gr(){function t(t,o){return o.length-t.length}var o,e,r=[],i=[],n=[];for(o=0;o<12;o++)e=Ho([2e3,o]),r.push(this.monthsShort(e,"")),i.push(this.months(e,"")),n.push(this.months(e,"")),n.push(this.monthsShort(e,""));for(r.sort(t),i.sort(t),n.sort(t),o=0;o<12;o++)r[o]=ze(r[o]),i[o]=ze(i[o]);for(o=0;o<24;o++)n[o]=ze(n[o]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function mr(t){return ve(t)?366:365}ue("Y",0,0,(function(){var t=this.year();return t<=9999?ae(t,4):"+"+t})),ue(0,["YY",2],0,(function(){return this.year()%100})),ue(0,["YYYY",4],0,"year"),ue(0,["YYYYY",5],0,"year"),ue(0,["YYYYYY",6,!0],0,"year"),ge("year","y"),Oe("year",1),He("Y",_e),He("YY",De,Ue),He("YYYY",Ke,ke),He("YYYYY",Ae,We),He("YYYYYY",Ae,We),Pe(["YYYYY","YYYYYY"],Ve),Pe("YYYY",(function(t,o){o[Ve]=2===t.length?Lo.parseTwoDigitYear(t):we(t)})),Pe("YY",(function(t,o){o[Ve]=Lo.parseTwoDigitYear(t)})),Pe("Y",(function(t,o){o[Ve]=parseInt(t,10)})),Lo.parseTwoDigitYear=function(t){return we(t)+(we(t)>68?1900:2e3)};var br=xe("FullYear",!0);function Nr(t,o,e,r,i,n,s){var a;return t<100&&t>=0?(a=new Date(t+400,o,e,r,i,n,s),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,o,e,r,i,n,s),a}function Or(t){var o,e;return t<100&&t>=0?((e=Array.prototype.slice.call(arguments))[0]=t+400,o=new Date(Date.UTC.apply(null,e)),isFinite(o.getUTCFullYear())&&o.setUTCFullYear(t)):o=new Date(Date.UTC.apply(null,arguments)),o}function vr(t,o,e){var r=7+o-e;return-((7+Or(t,0,r).getUTCDay()-o)%7)+r-1}function Sr(t,o,e,r,i){var n,s,a=1+7*(o-1)+(7+e-r)%7+vr(t,r,i);return a<=0?s=mr(n=t-1)+a:a>mr(t)?(n=t+1,s=a-mr(t)):(n=t,s=a),{year:n,dayOfYear:s}}function wr(t,o,e){var r,i,n=vr(t.year(),o,e),s=Math.floor((t.dayOfYear()-n-1)/7)+1;return s<1?r=s+xr(i=t.year()-1,o,e):s>xr(t.year(),o,e)?(r=s-xr(t.year(),o,e),i=t.year()+1):(i=t.year(),r=s),{week:r,year:i}}function xr(t,o,e){var r=vr(t,o,e),i=vr(t+1,o,e);return(mr(t)-r+i)/7}ue("w",["ww",2],"wo","week"),ue("W",["WW",2],"Wo","isoWeek"),ge("week","w"),ge("isoWeek","W"),Oe("week",5),Oe("isoWeek",5),He("w",De),He("ww",De,Ue),He("W",De),He("WW",De,Ue),Je(["w","ww","W","WW"],(function(t,o,e,r){o[r.substr(0,1)]=we(t)}));function Cr(t,o){return t.slice(o,7).concat(t.slice(0,o))}ue("d",0,"do","day"),ue("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),ue("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),ue("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),ue("e",0,0,"weekday"),ue("E",0,0,"isoWeekday"),ge("day","d"),ge("weekday","e"),ge("isoWeekday","E"),Oe("day",11),Oe("weekday",11),Oe("isoWeekday",11),He("d",De),He("e",De),He("E",De),He("dd",(function(t,o){return o.weekdaysMinRegex(t)})),He("ddd",(function(t,o){return o.weekdaysShortRegex(t)})),He("dddd",(function(t,o){return o.weekdaysRegex(t)})),Je(["dd","ddd","dddd"],(function(t,o,e,r){var i=e._locale.weekdaysParse(t,r,e._strict);null!=i?o.d=i:Bo(e).invalidWeekday=t})),Je(["d","e","E"],(function(t,o,e,r){o[r]=we(t)}));var Mr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Rr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Er="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ur=Ge,Yr=Ge,kr=Ge;function Wr(t,o,e){var r,i,n,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)n=Ho([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(n,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(n,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(n,"").toLocaleLowerCase();return e?"dddd"===o?-1!==(i=Qe.call(this._weekdaysParse,s))?i:null:"ddd"===o?-1!==(i=Qe.call(this._shortWeekdaysParse,s))?i:null:-1!==(i=Qe.call(this._minWeekdaysParse,s))?i:null:"dddd"===o?-1!==(i=Qe.call(this._weekdaysParse,s))||-1!==(i=Qe.call(this._shortWeekdaysParse,s))||-1!==(i=Qe.call(this._minWeekdaysParse,s))?i:null:"ddd"===o?-1!==(i=Qe.call(this._shortWeekdaysParse,s))||-1!==(i=Qe.call(this._weekdaysParse,s))||-1!==(i=Qe.call(this._minWeekdaysParse,s))?i:null:-1!==(i=Qe.call(this._minWeekdaysParse,s))||-1!==(i=Qe.call(this._weekdaysParse,s))||-1!==(i=Qe.call(this._shortWeekdaysParse,s))?i:null}function Dr(){function t(t,o){return o.length-t.length}var o,e,r,i,n,s=[],a=[],c=[],l=[];for(o=0;o<7;o++)e=Ho([2e3,1]).day(o),r=ze(this.weekdaysMin(e,"")),i=ze(this.weekdaysShort(e,"")),n=ze(this.weekdays(e,"")),s.push(r),a.push(i),c.push(n),l.push(r),l.push(i),l.push(n);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 Lr(){return this.hours()%12||12}function Ir(t,o){ue(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),o)}))}function Zr(t,o){return o._meridiemParse}ue("H",["HH",2],0,"hour"),ue("h",["hh",2],0,Lr),ue("k",["kk",2],0,(function(){return this.hours()||24})),ue("hmm",0,0,(function(){return""+Lr.apply(this)+ae(this.minutes(),2)})),ue("hmmss",0,0,(function(){return""+Lr.apply(this)+ae(this.minutes(),2)+ae(this.seconds(),2)})),ue("Hmm",0,0,(function(){return""+this.hours()+ae(this.minutes(),2)})),ue("Hmmss",0,0,(function(){return""+this.hours()+ae(this.minutes(),2)+ae(this.seconds(),2)})),Ir("a",!0),Ir("A",!1),ge("hour","h"),Oe("hour",13),He("a",Zr),He("A",Zr),He("H",De),He("h",De),He("k",De),He("HH",De,Ue),He("hh",De,Ue),He("kk",De,Ue),He("hmm",Le),He("hmmss",Ie),He("Hmm",Le),He("Hmmss",Ie),Pe(["H","HH"],or),Pe(["k","kk"],(function(t,o,e){var r=we(t);o[or]=24===r?0:r})),Pe(["a","A"],(function(t,o,e){e._isPm=e._locale.isPM(t),e._meridiem=t})),Pe(["h","hh"],(function(t,o,e){o[or]=we(t),Bo(e).bigHour=!0})),Pe("hmm",(function(t,o,e){var r=t.length-2;o[or]=we(t.substr(0,r)),o[er]=we(t.substr(r)),Bo(e).bigHour=!0})),Pe("hmmss",(function(t,o,e){var r=t.length-4,i=t.length-2;o[or]=we(t.substr(0,r)),o[er]=we(t.substr(r,2)),o[rr]=we(t.substr(i)),Bo(e).bigHour=!0})),Pe("Hmm",(function(t,o,e){var r=t.length-2;o[or]=we(t.substr(0,r)),o[er]=we(t.substr(r))})),Pe("Hmmss",(function(t,o,e){var r=t.length-4,i=t.length-2;o[or]=we(t.substr(0,r)),o[er]=we(t.substr(r,2)),o[rr]=we(t.substr(i))}));var Kr=xe("Hours",!0);var Ar,Fr={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:cr,monthsShort:lr,week:{dow:0,doy:6},weekdays:Mr,weekdaysMin:Er,weekdaysShort:Rr,meridiemParse:/[ap]\.?m?\.?/i},_r={},$r={};function Tr(t,o){var e,r=Math.min(t.length,o.length);for(e=0;e<r;e+=1)if(t[e]!==o[e])return e;return r}function Gr(t){return t?t.toLowerCase().replace("_","-"):t}function Hr(t){var o=null;if(void 0===_r[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(t))try{o=Ar._abbr,require("./locale/"+t),Br(o)}catch(o){_r[t]=null}return _r[t]}function Br(t,o){var e;return t&&((e=Fo(o)?jr(t):zr(t,o))?Ar=e:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Ar._abbr}function zr(t,o){if(null!==o){var e,r=Fr;if(o.abbr=t,null!=_r[t])re("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=_r[t]._config;else if(null!=o.parentLocale)if(null!=_r[o.parentLocale])r=_r[o.parentLocale]._config;else{if(null==(e=Hr(o.parentLocale)))return $r[o.parentLocale]||($r[o.parentLocale]=[]),$r[o.parentLocale].push({name:t,config:o}),null;r=e._config}return _r[t]=new se(ne(r,o)),$r[t]&&$r[t].forEach((function(t){zr(t.name,t.config)})),Br(t),_r[t]}return delete _r[t],null}function jr(t){var o;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Ar;if(!Io(t)){if(o=Hr(t))return o;t=[t]}return function(t){for(var o,e,r,i,n=0;n<t.length;){for(o=(i=Gr(t[n]).split("-")).length,e=(e=Gr(t[n+1]))?e.split("-"):null;o>0;){if(r=Hr(i.slice(0,o).join("-")))return r;if(e&&e.length>=o&&Tr(i,e)>=o-1)break;o--}n++}return Ar}(t)}function Pr(t){var o,e=t._a;return e&&-2===Bo(t).overflow&&(o=e[Xe]<0||e[Xe]>11?Xe:e[tr]<1||e[tr]>ar(e[Ve],e[Xe])?tr:e[or]<0||e[or]>24||24===e[or]&&(0!==e[er]||0!==e[rr]||0!==e[ir])?or:e[er]<0||e[er]>59?er:e[rr]<0||e[rr]>59?rr:e[ir]<0||e[ir]>999?ir:-1,Bo(t)._overflowDayOfYear&&(o<Ve||o>tr)&&(o=tr),Bo(t)._overflowWeeks&&-1===o&&(o=nr),Bo(t)._overflowWeekday&&-1===o&&(o=sr),Bo(t).overflow=o),t}var Jr=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,qr=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Qr=/Z|[+-]\d\d(?::?\d\d)?/,Vr=[["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]],Xr=[["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/]],ti=/^\/?Date\((-?\d+)/i,oi=/^(?:(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}))$/,ei={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ri(t){var o,e,r,i,n,s,a=t._i,c=Jr.exec(a)||qr.exec(a),l=Vr.length,h=Xr.length;if(c){for(Bo(t).iso=!0,o=0,e=l;o<e;o++)if(Vr[o][1].exec(c[1])){i=Vr[o][0],r=!1!==Vr[o][2];break}if(null==i)return void(t._isValid=!1);if(c[3]){for(o=0,e=h;o<e;o++)if(Xr[o][1].exec(c[3])){n=(c[2]||" ")+Xr[o][0];break}if(null==n)return void(t._isValid=!1)}if(!r&&null!=n)return void(t._isValid=!1);if(c[4]){if(!Qr.exec(c[4]))return void(t._isValid=!1);s="Z"}t._f=i+(n||"")+(s||""),ci(t)}else t._isValid=!1}function ii(t){var o=parseInt(t,10);return o<=49?2e3+o:o<=999?1900+o:o}function ni(t){var o,e,r,i,n,s,a,c,l=oi.exec(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(t._i));if(l){if(e=l[4],r=l[3],i=l[2],n=l[5],s=l[6],a=l[7],c=[ii(e),lr.indexOf(r),parseInt(i,10),parseInt(n,10),parseInt(s,10)],a&&c.push(parseInt(a,10)),o=c,!function(t,o,e){return!t||Rr.indexOf(t)===new Date(o[0],o[1],o[2]).getDay()||(Bo(e).weekdayMismatch=!0,e._isValid=!1,!1)}(l[1],o,t))return;t._a=o,t._tzm=function(t,o,e){if(t)return ei[t];if(o)return 0;var r=parseInt(e,10),i=r%100;return(r-i)/100*60+i}(l[8],l[9],l[10]),t._d=Or.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),Bo(t).rfc2822=!0}else t._isValid=!1}function si(t,o,e){return null!=t?t:null!=o?o:e}function ai(t){var o,e,r,i,n,s=[];if(!t._d){for(r=function(t){var o=new Date(Lo.now());return t._useUTC?[o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()]:[o.getFullYear(),o.getMonth(),o.getDate()]}(t),t._w&&null==t._a[tr]&&null==t._a[Xe]&&function(t){var o,e,r,i,n,s,a,c,l;o=t._w,null!=o.GG||null!=o.W||null!=o.E?(n=1,s=4,e=si(o.GG,t._a[Ve],wr(fi(),1,4).year),r=si(o.W,1),((i=si(o.E,1))<1||i>7)&&(c=!0)):(n=t._locale._week.dow,s=t._locale._week.doy,l=wr(fi(),n,s),e=si(o.gg,t._a[Ve],l.year),r=si(o.w,l.week),null!=o.d?((i=o.d)<0||i>6)&&(c=!0):null!=o.e?(i=o.e+n,(o.e<0||o.e>6)&&(c=!0)):i=n);r<1||r>xr(e,n,s)?Bo(t)._overflowWeeks=!0:null!=c?Bo(t)._overflowWeekday=!0:(a=Sr(e,r,i,n,s),t._a[Ve]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(n=si(t._a[Ve],r[Ve]),(t._dayOfYear>mr(n)||0===t._dayOfYear)&&(Bo(t)._overflowDayOfYear=!0),e=Or(n,0,t._dayOfYear),t._a[Xe]=e.getUTCMonth(),t._a[tr]=e.getUTCDate()),o=0;o<3&&null==t._a[o];++o)t._a[o]=s[o]=r[o];for(;o<7;o++)t._a[o]=s[o]=null==t._a[o]?2===o?1:0:t._a[o];24===t._a[or]&&0===t._a[er]&&0===t._a[rr]&&0===t._a[ir]&&(t._nextDay=!0,t._a[or]=0),t._d=(t._useUTC?Or:Nr).apply(null,s),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[or]=24),t._w&&void 0!==t._w.d&&t._w.d!==i&&(Bo(t).weekdayMismatch=!0)}}function ci(t){if(t._f!==Lo.ISO_8601)if(t._f!==Lo.RFC_2822){t._a=[],Bo(t).empty=!0;var o,e,r,i,n,s,a,c=""+t._i,l=c.length,h=0;for(a=(r=pe(t._f,t._locale).match(ce)||[]).length,o=0;o<a;o++)i=r[o],(e=(c.match(Be(i,t))||[])[0])&&((n=c.substr(0,c.indexOf(e))).length>0&&Bo(t).unusedInput.push(n),c=c.slice(c.indexOf(e)+e.length),h+=e.length),fe[i]?(e?Bo(t).empty=!1:Bo(t).unusedTokens.push(i),qe(i,e,t)):t._strict&&!e&&Bo(t).unusedTokens.push(i);Bo(t).charsLeftOver=l-h,c.length>0&&Bo(t).unusedInput.push(c),t._a[or]<=12&&!0===Bo(t).bigHour&&t._a[or]>0&&(Bo(t).bigHour=void 0),Bo(t).parsedDateParts=t._a.slice(0),Bo(t).meridiem=t._meridiem,t._a[or]=function(t,o,e){var r;if(null==e)return o;return null!=t.meridiemHour?t.meridiemHour(o,e):null!=t.isPM?((r=t.isPM(e))&&o<12&&(o+=12),r||12!==o||(o=0),o):o}(t._locale,t._a[or],t._meridiem),null!==(s=Bo(t).era)&&(t._a[Ve]=t._locale.erasConvertYear(s,t._a[Ve])),ai(t),Pr(t)}else ni(t);else ri(t)}function li(t){var o=t._i,e=t._f;return t._locale=t._locale||jr(t._l),null===o||void 0===e&&""===o?jo({nullInput:!0}):("string"==typeof o&&(t._i=o=t._locale.preparse(o)),Vo(o)?new Qo(Pr(o)):($o(o)?t._d=o:Io(e)?function(t){var o,e,r,i,n,s,a=!1,c=t._f.length;if(0===c)return Bo(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<c;i++)n=0,s=!1,o=qo({},t),null!=t._useUTC&&(o._useUTC=t._useUTC),o._f=t._f[i],ci(o),zo(o)&&(s=!0),n+=Bo(o).charsLeftOver,n+=10*Bo(o).unusedTokens.length,Bo(o).score=n,a?n<r&&(r=n,e=o):(null==r||n<r||s)&&(r=n,e=o,s&&(a=!0));Go(t,e||o)}(t):e?ci(t):function(t){var o=t._i;Fo(o)?t._d=new Date(Lo.now()):$o(o)?t._d=new Date(o.valueOf()):"string"==typeof o?function(t){var o=ti.exec(t._i);null===o?(ri(t),!1===t._isValid&&(delete t._isValid,ni(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:Lo.createFromInputFallback(t)))):t._d=new Date(+o[1])}(t):Io(o)?(t._a=To(o.slice(0),(function(t){return parseInt(t,10)})),ai(t)):Zo(o)?function(t){if(!t._d){var o=be(t._i),e=void 0===o.day?o.date:o.day;t._a=To([o.year,o.month,e,o.hour,o.minute,o.second,o.millisecond],(function(t){return t&&parseInt(t,10)})),ai(t)}}(t):_o(o)?t._d=new Date(o):Lo.createFromInputFallback(t)}(t),zo(t)||(t._d=null),t))}function hi(t,o,e,r,i){var n,s={};return!0!==o&&!1!==o||(r=o,o=void 0),!0!==e&&!1!==e||(r=e,e=void 0),(Zo(t)&&Ao(t)||Io(t)&&0===t.length)&&(t=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=e,s._i=t,s._f=o,s._strict=r,(n=new Qo(Pr(li(s))))._nextDay&&(n.add(1,"d"),n._nextDay=void 0),n}function fi(t,o,e,r){return hi(t,o,e,r,!1)}Lo.createFromInputFallback=te("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":""))})),Lo.ISO_8601=function(){},Lo.RFC_2822=function(){};var ui=te("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=fi.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:jo()})),di=te("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=fi.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:jo()}));function pi(t,o){var e,r;if(1===o.length&&Io(o[0])&&(o=o[0]),!o.length)return fi();for(e=o[0],r=1;r<o.length;++r)o[r].isValid()&&!o[r][t](e)||(e=o[r]);return e}var yi=["year","quarter","month","week","day","hour","minute","second","millisecond"];function gi(t){var o=be(t),e=o.year||0,r=o.quarter||0,i=o.month||0,n=o.week||o.isoWeek||0,s=o.day||0,a=o.hour||0,c=o.minute||0,l=o.second||0,h=o.millisecond||0;this._isValid=function(t){var o,e,r=!1,i=yi.length;for(o in t)if(Ko(t,o)&&(-1===Qe.call(yi,o)||null!=t[o]&&isNaN(t[o])))return!1;for(e=0;e<i;++e)if(t[yi[e]]){if(r)return!1;parseFloat(t[yi[e]])!==we(t[yi[e]])&&(r=!0)}return!0}(o),this._milliseconds=+h+1e3*l+6e4*c+1e3*a*60*60,this._days=+s+7*n,this._months=+i+3*r+12*e,this._data={},this._locale=jr(),this._bubble()}function mi(t){return t instanceof gi}function bi(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ni(t,o){ue(t,0,0,(function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+ae(~~(t/60),2)+o+ae(~~t%60,2)}))}Ni("Z",":"),Ni("ZZ",""),He("Z",Te),He("ZZ",Te),Pe(["Z","ZZ"],(function(t,o,e){e._useUTC=!0,e._tzm=vi(Te,t)}));var Oi=/([\+\-]|\d\d)/gi;function vi(t,o){var e,r,i=(o||"").match(t);return null===i?null:0===(r=60*(e=((i[i.length-1]||[])+"").match(Oi)||["-",0,0])[1]+we(e[2]))?0:"+"===e[0]?r:-r}function Si(t,o){var e,r;return o._isUTC?(e=o.clone(),r=(Vo(t)||$o(t)?t.valueOf():fi(t).valueOf())-e.valueOf(),e._d.setTime(e._d.valueOf()+r),Lo.updateOffset(e,!1),e):fi(t).local()}function wi(t){return-Math.round(t._d.getTimezoneOffset())}function xi(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}Lo.updateOffset=function(){};var Ci=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Mi=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ri(t,o){var e,r,i,n=t,s=null;return mi(t)?n={ms:t._milliseconds,d:t._days,M:t._months}:_o(t)||!isNaN(+t)?(n={},o?n[o]=+t:n.milliseconds=+t):(s=Ci.exec(t))?(e="-"===s[1]?-1:1,n={y:0,d:we(s[tr])*e,h:we(s[or])*e,m:we(s[er])*e,s:we(s[rr])*e,ms:we(bi(1e3*s[ir]))*e}):(s=Mi.exec(t))?(e="-"===s[1]?-1:1,n={y:Ei(s[2],e),M:Ei(s[3],e),w:Ei(s[4],e),d:Ei(s[5],e),h:Ei(s[6],e),m:Ei(s[7],e),s:Ei(s[8],e)}):null==n?n={}:"object"==typeof n&&("from"in n||"to"in n)&&(i=function(t,o){var e;if(!t.isValid()||!o.isValid())return{milliseconds:0,months:0};o=Si(o,t),t.isBefore(o)?e=Ui(t,o):((e=Ui(o,t)).milliseconds=-e.milliseconds,e.months=-e.months);return e}(fi(n.from),fi(n.to)),(n={}).ms=i.milliseconds,n.M=i.months),r=new gi(n),mi(t)&&Ko(t,"_locale")&&(r._locale=t._locale),mi(t)&&Ko(t,"_isValid")&&(r._isValid=t._isValid),r}function Ei(t,o){var e=t&&parseFloat(t.replace(",","."));return(isNaN(e)?0:e)*o}function Ui(t,o){var e={};return e.months=o.month()-t.month()+12*(o.year()-t.year()),t.clone().add(e.months,"M").isAfter(o)&&--e.months,e.milliseconds=+o-+t.clone().add(e.months,"M"),e}function Yi(t,o){return function(e,r){var i;return null===r||isNaN(+r)||(re(o,"moment()."+o+"(period, number) is deprecated. Please use moment()."+o+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=e,e=r,r=i),ki(this,Ri(e,r),t),this}}function ki(t,o,e,r){var i=o._milliseconds,n=bi(o._days),s=bi(o._months);t.isValid()&&(r=null==r||r,s&&pr(t,Ce(t,"Month")+s*e),n&&Me(t,"Date",Ce(t,"Date")+n*e),i&&t._d.setTime(t._d.valueOf()+i*e),r&&Lo.updateOffset(t,n||s))}Ri.fn=gi.prototype,Ri.invalid=function(){return Ri(NaN)};var Wi=Yi(1,"add"),Di=Yi(-1,"subtract");function Li(t){return"string"==typeof t||t instanceof String}function Ii(t){return Vo(t)||$o(t)||Li(t)||_o(t)||function(t){var o=Io(t),e=!1;o&&(e=0===t.filter((function(o){return!_o(o)&&Li(t)})).length);return o&&e}(t)||function(t){var o,e,r=Zo(t)&&!Ao(t),i=!1,n=["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=n.length;for(o=0;o<s;o+=1)e=n[o],i=i||Ko(t,e);return r&&i}(t)||null==t}function Zi(t,o){if(t.date()<o.date())return-Zi(o,t);var e=12*(o.year()-t.year())+(o.month()-t.month()),r=t.clone().add(e,"months");return-(e+(o-r<0?(o-r)/(r-t.clone().add(e-1,"months")):(o-r)/(t.clone().add(e+1,"months")-r)))||0}function Ki(t){var o;return void 0===t?this._locale._abbr:(null!=(o=jr(t))&&(this._locale=o),this)}Lo.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",Lo.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ai=te("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 Fi(){return this._locale}var _i=1e3,$i=6e4,Ti=36e5,Gi=126227808e5;function Hi(t,o){return(t%o+o)%o}function Bi(t,o,e){return t<100&&t>=0?new Date(t+400,o,e)-Gi:new Date(t,o,e).valueOf()}function zi(t,o,e){return t<100&&t>=0?Date.UTC(t+400,o,e)-Gi:Date.UTC(t,o,e)}function ji(t,o){return o.erasAbbrRegex(t)}function Pi(){var t,o,e=[],r=[],i=[],n=[],s=this.eras();for(t=0,o=s.length;t<o;++t)r.push(ze(s[t].name)),e.push(ze(s[t].abbr)),i.push(ze(s[t].narrow)),n.push(ze(s[t].name)),n.push(ze(s[t].abbr)),n.push(ze(s[t].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function Ji(t,o){ue(0,[t,t.length],0,o)}function qi(t,o,e,r,i){var n;return null==t?wr(this,r,i).year:(o>(n=xr(t,r,i))&&(o=n),Qi.call(this,t,o,e,r,i))}function Qi(t,o,e,r,i){var n=Sr(t,o,e,r,i),s=Or(n.year,0,n.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}ue("N",0,0,"eraAbbr"),ue("NN",0,0,"eraAbbr"),ue("NNN",0,0,"eraAbbr"),ue("NNNN",0,0,"eraName"),ue("NNNNN",0,0,"eraNarrow"),ue("y",["y",1],"yo","eraYear"),ue("y",["yy",2],0,"eraYear"),ue("y",["yyy",3],0,"eraYear"),ue("y",["yyyy",4],0,"eraYear"),He("N",ji),He("NN",ji),He("NNN",ji),He("NNNN",(function(t,o){return o.erasNameRegex(t)})),He("NNNNN",(function(t,o){return o.erasNarrowRegex(t)})),Pe(["N","NN","NNN","NNNN","NNNNN"],(function(t,o,e,r){var i=e._locale.erasParse(t,r,e._strict);i?Bo(e).era=i:Bo(e).invalidEra=t})),He("y",Fe),He("yy",Fe),He("yyy",Fe),He("yyyy",Fe),He("yo",(function(t,o){return o._eraYearOrdinalRegex||Fe})),Pe(["y","yy","yyy","yyyy"],Ve),Pe(["yo"],(function(t,o,e,r){var i;e._locale._eraYearOrdinalRegex&&(i=t.match(e._locale._eraYearOrdinalRegex)),e._locale.eraYearOrdinalParse?o[Ve]=e._locale.eraYearOrdinalParse(t,i):o[Ve]=parseInt(t,10)})),ue(0,["gg",2],0,(function(){return this.weekYear()%100})),ue(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Ji("gggg","weekYear"),Ji("ggggg","weekYear"),Ji("GGGG","isoWeekYear"),Ji("GGGGG","isoWeekYear"),ge("weekYear","gg"),ge("isoWeekYear","GG"),Oe("weekYear",1),Oe("isoWeekYear",1),He("G",_e),He("g",_e),He("GG",De,Ue),He("gg",De,Ue),He("GGGG",Ke,ke),He("gggg",Ke,ke),He("GGGGG",Ae,We),He("ggggg",Ae,We),Je(["gggg","ggggg","GGGG","GGGGG"],(function(t,o,e,r){o[r.substr(0,2)]=we(t)})),Je(["gg","GG"],(function(t,o,e,r){o[r]=Lo.parseTwoDigitYear(t)})),ue("Q",0,"Qo","quarter"),ge("quarter","Q"),Oe("quarter",7),He("Q",Ee),Pe("Q",(function(t,o){o[Xe]=3*(we(t)-1)})),ue("D",["DD",2],"Do","date"),ge("date","D"),Oe("date",9),He("D",De),He("DD",De,Ue),He("Do",(function(t,o){return t?o._dayOfMonthOrdinalParse||o._ordinalParse:o._dayOfMonthOrdinalParseLenient})),Pe(["D","DD"],tr),Pe("Do",(function(t,o){o[tr]=we(t.match(De)[0])}));var Vi=xe("Date",!0);ue("DDD",["DDDD",3],"DDDo","dayOfYear"),ge("dayOfYear","DDD"),Oe("dayOfYear",4),He("DDD",Ze),He("DDDD",Ye),Pe(["DDD","DDDD"],(function(t,o,e){e._dayOfYear=we(t)})),ue("m",["mm",2],0,"minute"),ge("minute","m"),Oe("minute",14),He("m",De),He("mm",De,Ue),Pe(["m","mm"],er);var Xi=xe("Minutes",!1);ue("s",["ss",2],0,"second"),ge("second","s"),Oe("second",15),He("s",De),He("ss",De,Ue),Pe(["s","ss"],rr);var tn,on,en=xe("Seconds",!1);for(ue("S",0,0,(function(){return~~(this.millisecond()/100)})),ue(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),ue(0,["SSS",3],0,"millisecond"),ue(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),ue(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),ue(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),ue(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),ue(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),ue(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),ge("millisecond","ms"),Oe("millisecond",16),He("S",Ze,Ee),He("SS",Ze,Ue),He("SSS",Ze,Ye),tn="SSSS";tn.length<=9;tn+="S")He(tn,Fe);function rn(t,o){o[ir]=we(1e3*("0."+t))}for(tn="S";tn.length<=9;tn+="S")Pe(tn,rn);on=xe("Milliseconds",!1),ue("z",0,0,"zoneAbbr"),ue("zz",0,0,"zoneName");var nn=Qo.prototype;function sn(t){return t}nn.add=Wi,nn.calendar=function(t,o){1===arguments.length&&(arguments[0]?Ii(arguments[0])?(t=arguments[0],o=void 0):function(t){var o,e=Zo(t)&&!Ao(t),r=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(o=0;o<i.length;o+=1)r=r||Ko(t,i[o]);return e&&r}(arguments[0])&&(o=arguments[0],t=void 0):(t=void 0,o=void 0));var e=t||fi(),r=Si(e,this).startOf("day"),i=Lo.calendarFormat(this,r)||"sameElse",n=o&&(ie(o[i])?o[i].call(this,e):o[i]);return this.format(n||this.localeData().calendar(i,this,fi(e)))},nn.clone=function(){return new Qo(this)},nn.diff=function(t,o,e){var r,i,n;if(!this.isValid())return NaN;if(!(r=Si(t,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),o=me(o)){case"year":n=Zi(this,r)/12;break;case"month":n=Zi(this,r);break;case"quarter":n=Zi(this,r)/3;break;case"second":n=(this-r)/1e3;break;case"minute":n=(this-r)/6e4;break;case"hour":n=(this-r)/36e5;break;case"day":n=(this-r-i)/864e5;break;case"week":n=(this-r-i)/6048e5;break;default:n=this-r}return e?n:Se(n)},nn.endOf=function(t){var o,e;if(void 0===(t=me(t))||"millisecond"===t||!this.isValid())return this;switch(e=this._isUTC?zi:Bi,t){case"year":o=e(this.year()+1,0,1)-1;break;case"quarter":o=e(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":o=e(this.year(),this.month()+1,1)-1;break;case"week":o=e(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":o=e(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":o=e(this.year(),this.month(),this.date()+1)-1;break;case"hour":o=this._d.valueOf(),o+=Ti-Hi(o+(this._isUTC?0:this.utcOffset()*$i),Ti)-1;break;case"minute":o=this._d.valueOf(),o+=$i-Hi(o,$i)-1;break;case"second":o=this._d.valueOf(),o+=_i-Hi(o,_i)-1}return this._d.setTime(o),Lo.updateOffset(this,!0),this},nn.format=function(t){t||(t=this.isUtc()?Lo.defaultFormatUtc:Lo.defaultFormat);var o=de(this,t);return this.localeData().postformat(o)},nn.from=function(t,o){return this.isValid()&&(Vo(t)&&t.isValid()||fi(t).isValid())?Ri({to:this,from:t}).locale(this.locale()).humanize(!o):this.localeData().invalidDate()},nn.fromNow=function(t){return this.from(fi(),t)},nn.to=function(t,o){return this.isValid()&&(Vo(t)&&t.isValid()||fi(t).isValid())?Ri({from:this,to:t}).locale(this.locale()).humanize(!o):this.localeData().invalidDate()},nn.toNow=function(t){return this.to(fi(),t)},nn.get=function(t){return ie(this[t=me(t)])?this[t]():this},nn.invalidAt=function(){return Bo(this).overflow},nn.isAfter=function(t,o){var e=Vo(t)?t:fi(t);return!(!this.isValid()||!e.isValid())&&("millisecond"===(o=me(o)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(o).valueOf())},nn.isBefore=function(t,o){var e=Vo(t)?t:fi(t);return!(!this.isValid()||!e.isValid())&&("millisecond"===(o=me(o)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(o).valueOf()<e.valueOf())},nn.isBetween=function(t,o,e,r){var i=Vo(t)?t:fi(t),n=Vo(o)?o:fi(o);return!!(this.isValid()&&i.isValid()&&n.isValid())&&(("("===(r=r||"()")[0]?this.isAfter(i,e):!this.isBefore(i,e))&&(")"===r[1]?this.isBefore(n,e):!this.isAfter(n,e)))},nn.isSame=function(t,o){var e,r=Vo(t)?t:fi(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(o=me(o)||"millisecond")?this.valueOf()===r.valueOf():(e=r.valueOf(),this.clone().startOf(o).valueOf()<=e&&e<=this.clone().endOf(o).valueOf()))},nn.isSameOrAfter=function(t,o){return this.isSame(t,o)||this.isAfter(t,o)},nn.isSameOrBefore=function(t,o){return this.isSame(t,o)||this.isBefore(t,o)},nn.isValid=function(){return zo(this)},nn.lang=Ai,nn.locale=Ki,nn.localeData=Fi,nn.max=di,nn.min=ui,nn.parsingFlags=function(){return Go({},Bo(this))},nn.set=function(t,o){if("object"==typeof t){var e,r=function(t){var o,e=[];for(o in t)Ko(t,o)&&e.push({unit:o,priority:Ne[o]});return e.sort((function(t,o){return t.priority-o.priority})),e}(t=be(t)),i=r.length;for(e=0;e<i;e++)this[r[e].unit](t[r[e].unit])}else if(ie(this[t=me(t)]))return this[t](o);return this},nn.startOf=function(t){var o,e;if(void 0===(t=me(t))||"millisecond"===t||!this.isValid())return this;switch(e=this._isUTC?zi:Bi,t){case"year":o=e(this.year(),0,1);break;case"quarter":o=e(this.year(),this.month()-this.month()%3,1);break;case"month":o=e(this.year(),this.month(),1);break;case"week":o=e(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":o=e(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":o=e(this.year(),this.month(),this.date());break;case"hour":o=this._d.valueOf(),o-=Hi(o+(this._isUTC?0:this.utcOffset()*$i),Ti);break;case"minute":o=this._d.valueOf(),o-=Hi(o,$i);break;case"second":o=this._d.valueOf(),o-=Hi(o,_i)}return this._d.setTime(o),Lo.updateOffset(this,!0),this},nn.subtract=Di,nn.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},nn.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()}},nn.toDate=function(){return new Date(this.valueOf())},nn.toISOString=function(t){if(!this.isValid())return null;var o=!0!==t,e=o?this.clone().utc():this;return e.year()<0||e.year()>9999?de(e,o?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ie(Date.prototype.toISOString)?o?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",de(e,"Z")):de(e,o?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},nn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,o,e,r="moment",i="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+r+'("]',o=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY","-MM-DD[T]HH:mm:ss.SSS",e=i+'[")]',this.format(t+o+"-MM-DD[T]HH:mm:ss.SSS"+e)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(nn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),nn.toJSON=function(){return this.isValid()?this.toISOString():null},nn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},nn.unix=function(){return Math.floor(this.valueOf()/1e3)},nn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},nn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},nn.eraName=function(){var t,o,e,r=this.localeData().eras();for(t=0,o=r.length;t<o;++t){if(e=this.clone().startOf("day").valueOf(),r[t].since<=e&&e<=r[t].until)return r[t].name;if(r[t].until<=e&&e<=r[t].since)return r[t].name}return""},nn.eraNarrow=function(){var t,o,e,r=this.localeData().eras();for(t=0,o=r.length;t<o;++t){if(e=this.clone().startOf("day").valueOf(),r[t].since<=e&&e<=r[t].until)return r[t].narrow;if(r[t].until<=e&&e<=r[t].since)return r[t].narrow}return""},nn.eraAbbr=function(){var t,o,e,r=this.localeData().eras();for(t=0,o=r.length;t<o;++t){if(e=this.clone().startOf("day").valueOf(),r[t].since<=e&&e<=r[t].until)return r[t].abbr;if(r[t].until<=e&&e<=r[t].since)return r[t].abbr}return""},nn.eraYear=function(){var t,o,e,r,i=this.localeData().eras();for(t=0,o=i.length;t<o;++t)if(e=i[t].since<=i[t].until?1:-1,r=this.clone().startOf("day").valueOf(),i[t].since<=r&&r<=i[t].until||i[t].until<=r&&r<=i[t].since)return(this.year()-Lo(i[t].since).year())*e+i[t].offset;return this.year()},nn.year=br,nn.isLeapYear=function(){return ve(this.year())},nn.weekYear=function(t){return qi.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},nn.isoWeekYear=function(t){return qi.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},nn.quarter=nn.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},nn.month=yr,nn.daysInMonth=function(){return ar(this.year(),this.month())},nn.week=nn.weeks=function(t){var o=this.localeData().week(this);return null==t?o:this.add(7*(t-o),"d")},nn.isoWeek=nn.isoWeeks=function(t){var o=wr(this,1,4).week;return null==t?o:this.add(7*(t-o),"d")},nn.weeksInYear=function(){var t=this.localeData()._week;return xr(this.year(),t.dow,t.doy)},nn.weeksInWeekYear=function(){var t=this.localeData()._week;return xr(this.weekYear(),t.dow,t.doy)},nn.isoWeeksInYear=function(){return xr(this.year(),1,4)},nn.isoWeeksInISOWeekYear=function(){return xr(this.isoWeekYear(),1,4)},nn.date=Vi,nn.day=nn.days=function(t){if(!this.isValid())return null!=t?this:NaN;var o=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,o){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=o.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-o,"d")):o},nn.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var o=(this.day()+7-this.localeData()._week.dow)%7;return null==t?o:this.add(t-o,"d")},nn.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var o=function(t,o){return"string"==typeof t?o.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?o:o-7)}return this.day()||7},nn.dayOfYear=function(t){var o=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?o:this.add(t-o,"d")},nn.hour=nn.hours=Kr,nn.minute=nn.minutes=Xi,nn.second=nn.seconds=en,nn.millisecond=nn.milliseconds=on,nn.utcOffset=function(t,o,e){var r,i=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=vi(Te,t)))return this}else Math.abs(t)<16&&!e&&(t*=60);return!this._isUTC&&o&&(r=wi(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==t&&(!o||this._changeInProgress?ki(this,Ri(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,Lo.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:wi(this)},nn.utc=function(t){return this.utcOffset(0,t)},nn.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(wi(this),"m")),this},nn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=vi($e,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},nn.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?fi(t).utcOffset():0,(this.utcOffset()-t)%60==0)},nn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},nn.isLocal=function(){return!!this.isValid()&&!this._isUTC},nn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},nn.isUtc=xi,nn.isUTC=xi,nn.zoneAbbr=function(){return this._isUTC?"UTC":""},nn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},nn.dates=te("dates accessor is deprecated. Use date instead.",Vi),nn.months=te("months accessor is deprecated. Use month instead",yr),nn.years=te("years accessor is deprecated. Use year instead",br),nn.zone=te("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,o){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,o),this):-this.utcOffset()})),nn.isDSTShifted=te("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!Fo(this._isDSTShifted))return this._isDSTShifted;var t,o={};return qo(o,this),(o=li(o))._a?(t=o._isUTC?Ho(o._a):fi(o._a),this._isDSTShifted=this.isValid()&&function(t,o,e){var r,i=Math.min(t.length,o.length),n=Math.abs(t.length-o.length),s=0;for(r=0;r<i;r++)(e&&t[r]!==o[r]||!e&&we(t[r])!==we(o[r]))&&s++;return s+n}(o._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var an=se.prototype;function cn(t,o,e,r){var i=jr(),n=Ho().set(r,o);return i[e](n,t)}function ln(t,o,e){if(_o(t)&&(o=t,t=void 0),t=t||"",null!=o)return cn(t,o,e,"month");var r,i=[];for(r=0;r<12;r++)i[r]=cn(t,r,e,"month");return i}function hn(t,o,e,r){"boolean"==typeof t?(_o(o)&&(e=o,o=void 0),o=o||""):(e=o=t,t=!1,_o(o)&&(e=o,o=void 0),o=o||"");var i,n=jr(),s=t?n._week.dow:0,a=[];if(null!=e)return cn(o,(e+s)%7,r,"day");for(i=0;i<7;i++)a[i]=cn(o,(i+s)%7,r,"day");return a}an.calendar=function(t,o,e){var r=this._calendar[t]||this._calendar.sameElse;return ie(r)?r.call(o,e):r},an.longDateFormat=function(t){var o=this._longDateFormat[t],e=this._longDateFormat[t.toUpperCase()];return o||!e?o:(this._longDateFormat[t]=e.match(ce).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},an.invalidDate=function(){return this._invalidDate},an.ordinal=function(t){return this._ordinal.replace("%d",t)},an.preparse=sn,an.postformat=sn,an.relativeTime=function(t,o,e,r){var i=this._relativeTime[e];return ie(i)?i(t,o,e,r):i.replace(/%d/i,t)},an.pastFuture=function(t,o){var e=this._relativeTime[t>0?"future":"past"];return ie(e)?e(o):e.replace(/%s/i,o)},an.set=function(t){var o,e;for(e in t)Ko(t,e)&&(ie(o=t[e])?this[e]=o:this["_"+e]=o);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},an.eras=function(t,o){var e,r,i,n=this._eras||jr("en")._eras;for(e=0,r=n.length;e<r;++e){if("string"==typeof n[e].since)i=Lo(n[e].since).startOf("day"),n[e].since=i.valueOf();switch(typeof n[e].until){case"undefined":n[e].until=1/0;break;case"string":i=Lo(n[e].until).startOf("day").valueOf(),n[e].until=i.valueOf()}}return n},an.erasParse=function(t,o,e){var r,i,n,s,a,c=this.eras();for(t=t.toUpperCase(),r=0,i=c.length;r<i;++r)if(n=c[r].name.toUpperCase(),s=c[r].abbr.toUpperCase(),a=c[r].narrow.toUpperCase(),e)switch(o){case"N":case"NN":case"NNN":if(s===t)return c[r];break;case"NNNN":if(n===t)return c[r];break;case"NNNNN":if(a===t)return c[r]}else if([n,s,a].indexOf(t)>=0)return c[r]},an.erasConvertYear=function(t,o){var e=t.since<=t.until?1:-1;return void 0===o?Lo(t.since).year():Lo(t.since).year()+(o-t.offset)*e},an.erasAbbrRegex=function(t){return Ko(this,"_erasAbbrRegex")||Pi.call(this),t?this._erasAbbrRegex:this._erasRegex},an.erasNameRegex=function(t){return Ko(this,"_erasNameRegex")||Pi.call(this),t?this._erasNameRegex:this._erasRegex},an.erasNarrowRegex=function(t){return Ko(this,"_erasNarrowRegex")||Pi.call(this),t?this._erasNarrowRegex:this._erasRegex},an.months=function(t,o){return t?Io(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||hr).test(o)?"format":"standalone"][t.month()]:Io(this._months)?this._months:this._months.standalone},an.monthsShort=function(t,o){return t?Io(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[hr.test(o)?"format":"standalone"][t.month()]:Io(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},an.monthsParse=function(t,o,e){var r,i,n;if(this._monthsParseExact)return dr.call(this,t,o,e);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=Ho([2e3,r]),e&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),e||this._monthsParse[r]||(n="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(n.replace(".",""),"i")),e&&"MMMM"===o&&this._longMonthsParse[r].test(t))return r;if(e&&"MMM"===o&&this._shortMonthsParse[r].test(t))return r;if(!e&&this._monthsParse[r].test(t))return r}},an.monthsRegex=function(t){return this._monthsParseExact?(Ko(this,"_monthsRegex")||gr.call(this),t?this._monthsStrictRegex:this._monthsRegex):(Ko(this,"_monthsRegex")||(this._monthsRegex=ur),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},an.monthsShortRegex=function(t){return this._monthsParseExact?(Ko(this,"_monthsRegex")||gr.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(Ko(this,"_monthsShortRegex")||(this._monthsShortRegex=fr),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},an.week=function(t){return wr(t,this._week.dow,this._week.doy).week},an.firstDayOfYear=function(){return this._week.doy},an.firstDayOfWeek=function(){return this._week.dow},an.weekdays=function(t,o){var e=Io(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(o)?"format":"standalone"];return!0===t?Cr(e,this._week.dow):t?e[t.day()]:e},an.weekdaysMin=function(t){return!0===t?Cr(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},an.weekdaysShort=function(t){return!0===t?Cr(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},an.weekdaysParse=function(t,o,e){var r,i,n;if(this._weekdaysParseExact)return Wr.call(this,t,o,e);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=Ho([2e3,1]).day(r),e&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(n="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(n.replace(".",""),"i")),e&&"dddd"===o&&this._fullWeekdaysParse[r].test(t))return r;if(e&&"ddd"===o&&this._shortWeekdaysParse[r].test(t))return r;if(e&&"dd"===o&&this._minWeekdaysParse[r].test(t))return r;if(!e&&this._weekdaysParse[r].test(t))return r}},an.weekdaysRegex=function(t){return this._weekdaysParseExact?(Ko(this,"_weekdaysRegex")||Dr.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(Ko(this,"_weekdaysRegex")||(this._weekdaysRegex=Ur),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},an.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(Ko(this,"_weekdaysRegex")||Dr.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Ko(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Yr),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},an.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(Ko(this,"_weekdaysRegex")||Dr.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Ko(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=kr),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},an.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},an.meridiem=function(t,o,e){return t>11?e?"pm":"PM":e?"am":"AM"},Br("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 o=t%10;return t+(1===we(t%100/10)?"th":1===o?"st":2===o?"nd":3===o?"rd":"th")}}),Lo.lang=te("moment.lang is deprecated. Use moment.locale instead.",Br),Lo.langData=te("moment.langData is deprecated. Use moment.localeData instead.",jr);var fn=Math.abs;function un(t,o,e,r){var i=Ri(o,e);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function dn(t){return t<0?Math.floor(t):Math.ceil(t)}function pn(t){return 4800*t/146097}function yn(t){return 146097*t/4800}function gn(t){return function(){return this.as(t)}}var mn=gn("ms"),bn=gn("s"),Nn=gn("m"),On=gn("h"),vn=gn("d"),Sn=gn("w"),wn=gn("M"),xn=gn("Q"),Cn=gn("y");function Mn(t){return function(){return this.isValid()?this._data[t]:NaN}}var Rn=Mn("milliseconds"),En=Mn("seconds"),Un=Mn("minutes"),Yn=Mn("hours"),kn=Mn("days"),Wn=Mn("months"),Dn=Mn("years");var Ln=Math.round,In={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Zn(t,o,e,r,i){return i.relativeTime(o||1,!!e,t,r)}var Kn=Math.abs;function An(t){return(t>0)-(t<0)||+t}function Fn(){if(!this.isValid())return this.localeData().invalidDate();var t,o,e,r,i,n,s,a,c=Kn(this._milliseconds)/1e3,l=Kn(this._days),h=Kn(this._months),f=this.asSeconds();return f?(t=Se(c/60),o=Se(t/60),c%=60,t%=60,e=Se(h/12),h%=12,r=c?c.toFixed(3).replace(/\.?0+$/,""):"",i=f<0?"-":"",n=An(this._months)!==An(f)?"-":"",s=An(this._days)!==An(f)?"-":"",a=An(this._milliseconds)!==An(f)?"-":"",i+"P"+(e?n+e+"Y":"")+(h?n+h+"M":"")+(l?s+l+"D":"")+(o||t||c?"T":"")+(o?a+o+"H":"")+(t?a+t+"M":"")+(c?a+r+"S":"")):"P0D"}var _n,$n=gi.prototype;$n.isValid=function(){return this._isValid},$n.abs=function(){var t=this._data;return this._milliseconds=fn(this._milliseconds),this._days=fn(this._days),this._months=fn(this._months),t.milliseconds=fn(t.milliseconds),t.seconds=fn(t.seconds),t.minutes=fn(t.minutes),t.hours=fn(t.hours),t.months=fn(t.months),t.years=fn(t.years),this},$n.add=function(t,o){return un(this,t,o,1)},$n.subtract=function(t,o){return un(this,t,o,-1)},$n.as=function(t){if(!this.isValid())return NaN;var o,e,r=this._milliseconds;if("month"===(t=me(t))||"quarter"===t||"year"===t)switch(o=this._days+r/864e5,e=this._months+pn(o),t){case"month":return e;case"quarter":return e/3;case"year":return e/12}else switch(o=this._days+Math.round(yn(this._months)),t){case"week":return o/7+r/6048e5;case"day":return o+r/864e5;case"hour":return 24*o+r/36e5;case"minute":return 1440*o+r/6e4;case"second":return 86400*o+r/1e3;case"millisecond":return Math.floor(864e5*o)+r;default:throw new Error("Unknown unit "+t)}},$n.asMilliseconds=mn,$n.asSeconds=bn,$n.asMinutes=Nn,$n.asHours=On,$n.asDays=vn,$n.asWeeks=Sn,$n.asMonths=wn,$n.asQuarters=xn,$n.asYears=Cn,$n.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*we(this._months/12):NaN},$n._bubble=function(){var t,o,e,r,i,n=this._milliseconds,s=this._days,a=this._months,c=this._data;return n>=0&&s>=0&&a>=0||n<=0&&s<=0&&a<=0||(n+=864e5*dn(yn(a)+s),s=0,a=0),c.milliseconds=n%1e3,t=Se(n/1e3),c.seconds=t%60,o=Se(t/60),c.minutes=o%60,e=Se(o/60),c.hours=e%24,s+=Se(e/24),a+=i=Se(pn(s)),s-=dn(yn(i)),r=Se(a/12),a%=12,c.days=s,c.months=a,c.years=r,this},$n.clone=function(){return Ri(this)},$n.get=function(t){return t=me(t),this.isValid()?this[t+"s"]():NaN},$n.milliseconds=Rn,$n.seconds=En,$n.minutes=Un,$n.hours=Yn,$n.days=kn,$n.weeks=function(){return Se(this.days()/7)},$n.months=Wn,$n.years=Dn,$n.humanize=function(t,o){if(!this.isValid())return this.localeData().invalidDate();var e,r,i=!1,n=In;return"object"==typeof t&&(o=t,t=!1),"boolean"==typeof t&&(i=t),"object"==typeof o&&(n=Object.assign({},In,o),null!=o.s&&null==o.ss&&(n.ss=o.s-1)),r=function(t,o,e,r){var i=Ri(t).abs(),n=Ln(i.as("s")),s=Ln(i.as("m")),a=Ln(i.as("h")),c=Ln(i.as("d")),l=Ln(i.as("M")),h=Ln(i.as("w")),f=Ln(i.as("y")),u=n<=e.ss&&["s",n]||n<e.s&&["ss",n]||s<=1&&["m"]||s<e.m&&["mm",s]||a<=1&&["h"]||a<e.h&&["hh",a]||c<=1&&["d"]||c<e.d&&["dd",c];return null!=e.w&&(u=u||h<=1&&["w"]||h<e.w&&["ww",h]),(u=u||l<=1&&["M"]||l<e.M&&["MM",l]||f<=1&&["y"]||["yy",f])[2]=o,u[3]=+t>0,u[4]=r,Zn.apply(null,u)}(this,!i,n,e=this.localeData()),i&&(r=e.pastFuture(+this,r)),e.postformat(r)},$n.toISOString=Fn,$n.toString=Fn,$n.toJSON=Fn,$n.locale=Ki,$n.localeData=Fi,$n.toIsoString=te("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Fn),$n.lang=Ai,ue("X",0,0,"unix"),ue("x",0,0,"valueOf"),He("x",_e),He("X",/[+-]?\d+(\.\d{1,3})?/),Pe("X",(function(t,o,e){e._d=new Date(1e3*parseFloat(t))})),Pe("x",(function(t,o,e){e._d=new Date(we(t))})),
111
+ `;const Lo=Symbol("internalReduxEventsUnsubscribers"),Io=Symbol("internalStoresUnsubscribers"),Zo=Symbol("internalStores");class Ko extends Ro{constructor(){super(...arguments),this[ko]=new Map,this[Wo]=new Map,this[Do]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[Zo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Zo].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Zo].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Yo(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Zo].delete(o)}setupStore(t,o){this[Zo].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Zo].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[Io].has(t.store):this[Io].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Io].set(t,o.subscribe((()=>this.updateFromStores()))),Yo(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[Lo].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Io].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Lo].forEach((t=>t())),this[Lo]=[]}unsubscribeFromStore(t){this[Io].has(t)&&this[Io].get(t)(),this[Io].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}var Ao,Fo,_o,$o;function To(){return _o.apply(null,arguments)}function Go(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function Ho(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function Bo(t,o){return Object.prototype.hasOwnProperty.call(t,o)}function zo(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var o;for(o in t)if(Bo(t,o))return!1;return!0}function jo(t){return void 0===t}function Po(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function Jo(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function qo(t,o){var e,r=[],i=t.length;for(e=0;e<i;++e)r.push(o(t[e],e));return r}function Qo(t,o){for(var e in o)Bo(o,e)&&(t[e]=o[e]);return Bo(o,"toString")&&(t.toString=o.toString),Bo(o,"valueOf")&&(t.valueOf=o.valueOf),t}function Vo(t,o,e,r){return bi(t,o,e,r,!0).utc()}function Xo(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 te(t){if(null==t._isValid){var o=Xo(t),e=$o.call(o.parsedDateParts,(function(t){return null!=t})),r=!isNaN(t._d.getTime())&&o.overflow<0&&!o.empty&&!o.invalidEra&&!o.invalidMonth&&!o.invalidWeekday&&!o.weekdayMismatch&&!o.nullInput&&!o.invalidFormat&&!o.userInvalidated&&(!o.meridiem||o.meridiem&&e);if(t._strict&&(r=r&&0===o.charsLeftOver&&0===o.unusedTokens.length&&void 0===o.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function oe(t){var o=Vo(NaN);return null!=t?Qo(Xo(o),t):Xo(o).userInvalidated=!0,o}ko=Io,Wo=Zo,Do=Lo,Ko.reduxProperties=new Map,Ko.reduxReactiveProperties=new Set,Ko.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Fo=null===(Ao=window.safari)||void 0===Ao?void 0:Ao.pushNotification)||void 0===Fo||Fo.toString()),$o=Array.prototype.some?Array.prototype.some:function(t){var o,e=Object(this),r=e.length>>>0;for(o=0;o<r;o++)if(o in e&&t.call(this,e[o],o,e))return!0;return!1};var ee=To.momentProperties=[],re=!1;function ie(t,o){var e,r,i,n=ee.length;if(jo(o._isAMomentObject)||(t._isAMomentObject=o._isAMomentObject),jo(o._i)||(t._i=o._i),jo(o._f)||(t._f=o._f),jo(o._l)||(t._l=o._l),jo(o._strict)||(t._strict=o._strict),jo(o._tzm)||(t._tzm=o._tzm),jo(o._isUTC)||(t._isUTC=o._isUTC),jo(o._offset)||(t._offset=o._offset),jo(o._pf)||(t._pf=Xo(o)),jo(o._locale)||(t._locale=o._locale),n>0)for(e=0;e<n;e++)jo(i=o[r=ee[e]])||(t[r]=i);return t}function ne(t){ie(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===re&&(re=!0,To.updateOffset(this),re=!1)}function se(t){return t instanceof ne||null!=t&&null!=t._isAMomentObject}function ae(t){!1===To.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function ce(t,o){var e=!0;return Qo((function(){if(null!=To.deprecationHandler&&To.deprecationHandler(null,t),e){var r,i,n,s=[],a=arguments.length;for(i=0;i<a;i++){if(r="","object"==typeof arguments[i]){for(n in r+="\n["+i+"] ",arguments[0])Bo(arguments[0],n)&&(r+=n+": "+arguments[0][n]+", ");r=r.slice(0,-2)}else r=arguments[i];s.push(r)}ae(t+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),e=!1}return o.apply(this,arguments)}),o)}var le,he={};function fe(t,o){null!=To.deprecationHandler&&To.deprecationHandler(t,o),he[t]||(ae(o),he[t]=!0)}function ue(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function de(t,o){var e,r=Qo({},t);for(e in o)Bo(o,e)&&(Ho(t[e])&&Ho(o[e])?(r[e]={},Qo(r[e],t[e]),Qo(r[e],o[e])):null!=o[e]?r[e]=o[e]:delete r[e]);for(e in t)Bo(t,e)&&!Bo(o,e)&&Ho(t[e])&&(r[e]=Qo({},r[e]));return r}function pe(t){null!=t&&this.set(t)}To.suppressDeprecationWarnings=!1,To.deprecationHandler=null,le=Object.keys?Object.keys:function(t){var o,e=[];for(o in t)Bo(t,o)&&e.push(o);return e};function ye(t,o,e){var r=""+Math.abs(t),i=o-r.length;return(t>=0?e?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var ge=/(\[[^\[]*\])|(\\)?([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,me=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,be={},Ne={};function Oe(t,o,e,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(Ne[t]=i),o&&(Ne[o[0]]=function(){return ye(i.apply(this,arguments),o[1],o[2])}),e&&(Ne[e]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function ve(t,o){return t.isValid()?(o=Se(o,t.localeData()),be[o]=be[o]||function(t){var o,e,r,i=t.match(ge);for(o=0,e=i.length;o<e;o++)Ne[i[o]]?i[o]=Ne[i[o]]:i[o]=(r=i[o]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(o){var r,n="";for(r=0;r<e;r++)n+=ue(i[r])?i[r].call(o,t):i[r];return n}}(o),be[o](t)):t.localeData().invalidDate()}function Se(t,o){var e=5;function r(t){return o.longDateFormat(t)||t}for(me.lastIndex=0;e>=0&&me.test(t);)t=t.replace(me,r),me.lastIndex=0,e-=1;return t}var we={};function xe(t,o){var e=t.toLowerCase();we[e]=we[e+"s"]=we[o]=t}function Ce(t){return"string"==typeof t?we[t]||we[t.toLowerCase()]:void 0}function Me(t){var o,e,r={};for(e in t)Bo(t,e)&&(o=Ce(e))&&(r[o]=t[e]);return r}var Ee={};function Re(t,o){Ee[t]=o}function Ue(t){return t%4==0&&t%100!=0||t%400==0}function Ye(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function ke(t){var o=+t,e=0;return 0!==o&&isFinite(o)&&(e=Ye(o)),e}function We(t,o){return function(e){return null!=e?(Le(this,t,e),To.updateOffset(this,o),this):De(this,t)}}function De(t,o){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+o]():NaN}function Le(t,o,e){t.isValid()&&!isNaN(e)&&("FullYear"===o&&Ue(t.year())&&1===t.month()&&29===t.date()?(e=ke(e),t._d["set"+(t._isUTC?"UTC":"")+o](e,t.month(),yr(e,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+o](e))}var Ie,Ze=/\d/,Ke=/\d\d/,Ae=/\d{3}/,Fe=/\d{4}/,_e=/[+-]?\d{6}/,$e=/\d\d?/,Te=/\d\d\d\d?/,Ge=/\d\d\d\d\d\d?/,He=/\d{1,3}/,Be=/\d{1,4}/,ze=/[+-]?\d{1,6}/,je=/\d+/,Pe=/[+-]?\d+/,Je=/Z|[+-]\d\d:?\d\d/gi,qe=/Z|[+-]\d\d(?::?\d\d)?/gi,Qe=/[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 Ve(t,o,e){Ie[t]=ue(o)?o:function(t,r){return t&&e?e:o}}function Xe(t,o){return Bo(Ie,t)?Ie[t](o._strict,o._locale):new RegExp(function(t){return tr(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,o,e,r,i){return o||e||r||i})))}(t))}function tr(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Ie={};var or={};function er(t,o){var e,r,i=o;for("string"==typeof t&&(t=[t]),Po(o)&&(i=function(t,e){e[o]=ke(t)}),r=t.length,e=0;e<r;e++)or[t[e]]=i}function rr(t,o){er(t,(function(t,e,r,i){r._w=r._w||{},o(t,r._w,r,i)}))}function ir(t,o,e){null!=o&&Bo(or,t)&&or[t](o,e._a,e,t)}var nr,sr=0,ar=1,cr=2,lr=3,hr=4,fr=5,ur=6,dr=7,pr=8;function yr(t,o){if(isNaN(t)||isNaN(o))return NaN;var e=function(t,o){return(t%o+o)%o}(o,12);return t+=(o-e)/12,1===e?Ue(t)?29:28:31-e%7%2}nr=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var o;for(o=0;o<this.length;++o)if(this[o]===t)return o;return-1},Oe("M",["MM",2],"Mo",(function(){return this.month()+1})),Oe("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),Oe("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),xe("month","M"),Re("month",8),Ve("M",$e),Ve("MM",$e,Ke),Ve("MMM",(function(t,o){return o.monthsShortRegex(t)})),Ve("MMMM",(function(t,o){return o.monthsRegex(t)})),er(["M","MM"],(function(t,o){o[ar]=ke(t)-1})),er(["MMM","MMMM"],(function(t,o,e,r){var i=e._locale.monthsParse(t,r,e._strict);null!=i?o[ar]=i:Xo(e).invalidMonth=t}));var gr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),mr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),br=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Nr=Qe,Or=Qe;function vr(t,o,e){var r,i,n,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)n=Vo([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(n,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(n,"").toLocaleLowerCase();return e?"MMM"===o?-1!==(i=nr.call(this._shortMonthsParse,s))?i:null:-1!==(i=nr.call(this._longMonthsParse,s))?i:null:"MMM"===o?-1!==(i=nr.call(this._shortMonthsParse,s))||-1!==(i=nr.call(this._longMonthsParse,s))?i:null:-1!==(i=nr.call(this._longMonthsParse,s))||-1!==(i=nr.call(this._shortMonthsParse,s))?i:null}function Sr(t,o){var e;if(!t.isValid())return t;if("string"==typeof o)if(/^\d+$/.test(o))o=ke(o);else if(!Po(o=t.localeData().monthsParse(o)))return t;return e=Math.min(t.date(),yr(t.year(),o)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](o,e),t}function wr(t){return null!=t?(Sr(this,t),To.updateOffset(this,!0),this):De(this,"Month")}function xr(){function t(t,o){return o.length-t.length}var o,e,r=[],i=[],n=[];for(o=0;o<12;o++)e=Vo([2e3,o]),r.push(this.monthsShort(e,"")),i.push(this.months(e,"")),n.push(this.months(e,"")),n.push(this.monthsShort(e,""));for(r.sort(t),i.sort(t),n.sort(t),o=0;o<12;o++)r[o]=tr(r[o]),i[o]=tr(i[o]);for(o=0;o<24;o++)n[o]=tr(n[o]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Cr(t){return Ue(t)?366:365}Oe("Y",0,0,(function(){var t=this.year();return t<=9999?ye(t,4):"+"+t})),Oe(0,["YY",2],0,(function(){return this.year()%100})),Oe(0,["YYYY",4],0,"year"),Oe(0,["YYYYY",5],0,"year"),Oe(0,["YYYYYY",6,!0],0,"year"),xe("year","y"),Re("year",1),Ve("Y",Pe),Ve("YY",$e,Ke),Ve("YYYY",Be,Fe),Ve("YYYYY",ze,_e),Ve("YYYYYY",ze,_e),er(["YYYYY","YYYYYY"],sr),er("YYYY",(function(t,o){o[sr]=2===t.length?To.parseTwoDigitYear(t):ke(t)})),er("YY",(function(t,o){o[sr]=To.parseTwoDigitYear(t)})),er("Y",(function(t,o){o[sr]=parseInt(t,10)})),To.parseTwoDigitYear=function(t){return ke(t)+(ke(t)>68?1900:2e3)};var Mr=We("FullYear",!0);function Er(t,o,e,r,i,n,s){var a;return t<100&&t>=0?(a=new Date(t+400,o,e,r,i,n,s),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,o,e,r,i,n,s),a}function Rr(t){var o,e;return t<100&&t>=0?((e=Array.prototype.slice.call(arguments))[0]=t+400,o=new Date(Date.UTC.apply(null,e)),isFinite(o.getUTCFullYear())&&o.setUTCFullYear(t)):o=new Date(Date.UTC.apply(null,arguments)),o}function Ur(t,o,e){var r=7+o-e;return-((7+Rr(t,0,r).getUTCDay()-o)%7)+r-1}function Yr(t,o,e,r,i){var n,s,a=1+7*(o-1)+(7+e-r)%7+Ur(t,r,i);return a<=0?s=Cr(n=t-1)+a:a>Cr(t)?(n=t+1,s=a-Cr(t)):(n=t,s=a),{year:n,dayOfYear:s}}function kr(t,o,e){var r,i,n=Ur(t.year(),o,e),s=Math.floor((t.dayOfYear()-n-1)/7)+1;return s<1?r=s+Wr(i=t.year()-1,o,e):s>Wr(t.year(),o,e)?(r=s-Wr(t.year(),o,e),i=t.year()+1):(i=t.year(),r=s),{week:r,year:i}}function Wr(t,o,e){var r=Ur(t,o,e),i=Ur(t+1,o,e);return(Cr(t)-r+i)/7}Oe("w",["ww",2],"wo","week"),Oe("W",["WW",2],"Wo","isoWeek"),xe("week","w"),xe("isoWeek","W"),Re("week",5),Re("isoWeek",5),Ve("w",$e),Ve("ww",$e,Ke),Ve("W",$e),Ve("WW",$e,Ke),rr(["w","ww","W","WW"],(function(t,o,e,r){o[r.substr(0,1)]=ke(t)}));function Dr(t,o){return t.slice(o,7).concat(t.slice(0,o))}Oe("d",0,"do","day"),Oe("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),Oe("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),Oe("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),Oe("e",0,0,"weekday"),Oe("E",0,0,"isoWeekday"),xe("day","d"),xe("weekday","e"),xe("isoWeekday","E"),Re("day",11),Re("weekday",11),Re("isoWeekday",11),Ve("d",$e),Ve("e",$e),Ve("E",$e),Ve("dd",(function(t,o){return o.weekdaysMinRegex(t)})),Ve("ddd",(function(t,o){return o.weekdaysShortRegex(t)})),Ve("dddd",(function(t,o){return o.weekdaysRegex(t)})),rr(["dd","ddd","dddd"],(function(t,o,e,r){var i=e._locale.weekdaysParse(t,r,e._strict);null!=i?o.d=i:Xo(e).invalidWeekday=t})),rr(["d","e","E"],(function(t,o,e,r){o[r]=ke(t)}));var Lr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ir="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Zr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Kr=Qe,Ar=Qe,Fr=Qe;function _r(t,o,e){var r,i,n,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)n=Vo([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(n,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(n,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(n,"").toLocaleLowerCase();return e?"dddd"===o?-1!==(i=nr.call(this._weekdaysParse,s))?i:null:"ddd"===o?-1!==(i=nr.call(this._shortWeekdaysParse,s))?i:null:-1!==(i=nr.call(this._minWeekdaysParse,s))?i:null:"dddd"===o?-1!==(i=nr.call(this._weekdaysParse,s))||-1!==(i=nr.call(this._shortWeekdaysParse,s))||-1!==(i=nr.call(this._minWeekdaysParse,s))?i:null:"ddd"===o?-1!==(i=nr.call(this._shortWeekdaysParse,s))||-1!==(i=nr.call(this._weekdaysParse,s))||-1!==(i=nr.call(this._minWeekdaysParse,s))?i:null:-1!==(i=nr.call(this._minWeekdaysParse,s))||-1!==(i=nr.call(this._weekdaysParse,s))||-1!==(i=nr.call(this._shortWeekdaysParse,s))?i:null}function $r(){function t(t,o){return o.length-t.length}var o,e,r,i,n,s=[],a=[],c=[],l=[];for(o=0;o<7;o++)e=Vo([2e3,1]).day(o),r=tr(this.weekdaysMin(e,"")),i=tr(this.weekdaysShort(e,"")),n=tr(this.weekdays(e,"")),s.push(r),a.push(i),c.push(n),l.push(r),l.push(i),l.push(n);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 Tr(){return this.hours()%12||12}function Gr(t,o){Oe(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),o)}))}function Hr(t,o){return o._meridiemParse}Oe("H",["HH",2],0,"hour"),Oe("h",["hh",2],0,Tr),Oe("k",["kk",2],0,(function(){return this.hours()||24})),Oe("hmm",0,0,(function(){return""+Tr.apply(this)+ye(this.minutes(),2)})),Oe("hmmss",0,0,(function(){return""+Tr.apply(this)+ye(this.minutes(),2)+ye(this.seconds(),2)})),Oe("Hmm",0,0,(function(){return""+this.hours()+ye(this.minutes(),2)})),Oe("Hmmss",0,0,(function(){return""+this.hours()+ye(this.minutes(),2)+ye(this.seconds(),2)})),Gr("a",!0),Gr("A",!1),xe("hour","h"),Re("hour",13),Ve("a",Hr),Ve("A",Hr),Ve("H",$e),Ve("h",$e),Ve("k",$e),Ve("HH",$e,Ke),Ve("hh",$e,Ke),Ve("kk",$e,Ke),Ve("hmm",Te),Ve("hmmss",Ge),Ve("Hmm",Te),Ve("Hmmss",Ge),er(["H","HH"],lr),er(["k","kk"],(function(t,o,e){var r=ke(t);o[lr]=24===r?0:r})),er(["a","A"],(function(t,o,e){e._isPm=e._locale.isPM(t),e._meridiem=t})),er(["h","hh"],(function(t,o,e){o[lr]=ke(t),Xo(e).bigHour=!0})),er("hmm",(function(t,o,e){var r=t.length-2;o[lr]=ke(t.substr(0,r)),o[hr]=ke(t.substr(r)),Xo(e).bigHour=!0})),er("hmmss",(function(t,o,e){var r=t.length-4,i=t.length-2;o[lr]=ke(t.substr(0,r)),o[hr]=ke(t.substr(r,2)),o[fr]=ke(t.substr(i)),Xo(e).bigHour=!0})),er("Hmm",(function(t,o,e){var r=t.length-2;o[lr]=ke(t.substr(0,r)),o[hr]=ke(t.substr(r))})),er("Hmmss",(function(t,o,e){var r=t.length-4,i=t.length-2;o[lr]=ke(t.substr(0,r)),o[hr]=ke(t.substr(r,2)),o[fr]=ke(t.substr(i))}));var Br=We("Hours",!0);var zr,jr={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:gr,monthsShort:mr,week:{dow:0,doy:6},weekdays:Lr,weekdaysMin:Zr,weekdaysShort:Ir,meridiemParse:/[ap]\.?m?\.?/i},Pr={},Jr={};function qr(t,o){var e,r=Math.min(t.length,o.length);for(e=0;e<r;e+=1)if(t[e]!==o[e])return e;return r}function Qr(t){return t?t.toLowerCase().replace("_","-"):t}function Vr(t){var o=null;if(void 0===Pr[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(t))try{o=zr._abbr,require("./locale/"+t),Xr(o)}catch(o){Pr[t]=null}return Pr[t]}function Xr(t,o){var e;return t&&((e=jo(o)?oi(t):ti(t,o))?zr=e:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),zr._abbr}function ti(t,o){if(null!==o){var e,r=jr;if(o.abbr=t,null!=Pr[t])fe("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=Pr[t]._config;else if(null!=o.parentLocale)if(null!=Pr[o.parentLocale])r=Pr[o.parentLocale]._config;else{if(null==(e=Vr(o.parentLocale)))return Jr[o.parentLocale]||(Jr[o.parentLocale]=[]),Jr[o.parentLocale].push({name:t,config:o}),null;r=e._config}return Pr[t]=new pe(de(r,o)),Jr[t]&&Jr[t].forEach((function(t){ti(t.name,t.config)})),Xr(t),Pr[t]}return delete Pr[t],null}function oi(t){var o;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return zr;if(!Go(t)){if(o=Vr(t))return o;t=[t]}return function(t){for(var o,e,r,i,n=0;n<t.length;){for(o=(i=Qr(t[n]).split("-")).length,e=(e=Qr(t[n+1]))?e.split("-"):null;o>0;){if(r=Vr(i.slice(0,o).join("-")))return r;if(e&&e.length>=o&&qr(i,e)>=o-1)break;o--}n++}return zr}(t)}function ei(t){var o,e=t._a;return e&&-2===Xo(t).overflow&&(o=e[ar]<0||e[ar]>11?ar:e[cr]<1||e[cr]>yr(e[sr],e[ar])?cr:e[lr]<0||e[lr]>24||24===e[lr]&&(0!==e[hr]||0!==e[fr]||0!==e[ur])?lr:e[hr]<0||e[hr]>59?hr:e[fr]<0||e[fr]>59?fr:e[ur]<0||e[ur]>999?ur:-1,Xo(t)._overflowDayOfYear&&(o<sr||o>cr)&&(o=cr),Xo(t)._overflowWeeks&&-1===o&&(o=dr),Xo(t)._overflowWeekday&&-1===o&&(o=pr),Xo(t).overflow=o),t}var ri=/^\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)?)?$/,ii=/^\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)?)?$/,ni=/Z|[+-]\d\d(?::?\d\d)?/,si=[["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]],ai=[["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/]],ci=/^\/?Date\((-?\d+)/i,li=/^(?:(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}))$/,hi={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function fi(t){var o,e,r,i,n,s,a=t._i,c=ri.exec(a)||ii.exec(a),l=si.length,h=ai.length;if(c){for(Xo(t).iso=!0,o=0,e=l;o<e;o++)if(si[o][1].exec(c[1])){i=si[o][0],r=!1!==si[o][2];break}if(null==i)return void(t._isValid=!1);if(c[3]){for(o=0,e=h;o<e;o++)if(ai[o][1].exec(c[3])){n=(c[2]||" ")+ai[o][0];break}if(null==n)return void(t._isValid=!1)}if(!r&&null!=n)return void(t._isValid=!1);if(c[4]){if(!ni.exec(c[4]))return void(t._isValid=!1);s="Z"}t._f=i+(n||"")+(s||""),gi(t)}else t._isValid=!1}function ui(t){var o=parseInt(t,10);return o<=49?2e3+o:o<=999?1900+o:o}function di(t){var o,e,r,i,n,s,a,c,l=li.exec(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(t._i));if(l){if(e=l[4],r=l[3],i=l[2],n=l[5],s=l[6],a=l[7],c=[ui(e),mr.indexOf(r),parseInt(i,10),parseInt(n,10),parseInt(s,10)],a&&c.push(parseInt(a,10)),o=c,!function(t,o,e){return!t||Ir.indexOf(t)===new Date(o[0],o[1],o[2]).getDay()||(Xo(e).weekdayMismatch=!0,e._isValid=!1,!1)}(l[1],o,t))return;t._a=o,t._tzm=function(t,o,e){if(t)return hi[t];if(o)return 0;var r=parseInt(e,10),i=r%100;return(r-i)/100*60+i}(l[8],l[9],l[10]),t._d=Rr.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),Xo(t).rfc2822=!0}else t._isValid=!1}function pi(t,o,e){return null!=t?t:null!=o?o:e}function yi(t){var o,e,r,i,n,s=[];if(!t._d){for(r=function(t){var o=new Date(To.now());return t._useUTC?[o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()]:[o.getFullYear(),o.getMonth(),o.getDate()]}(t),t._w&&null==t._a[cr]&&null==t._a[ar]&&function(t){var o,e,r,i,n,s,a,c,l;o=t._w,null!=o.GG||null!=o.W||null!=o.E?(n=1,s=4,e=pi(o.GG,t._a[sr],kr(Ni(),1,4).year),r=pi(o.W,1),((i=pi(o.E,1))<1||i>7)&&(c=!0)):(n=t._locale._week.dow,s=t._locale._week.doy,l=kr(Ni(),n,s),e=pi(o.gg,t._a[sr],l.year),r=pi(o.w,l.week),null!=o.d?((i=o.d)<0||i>6)&&(c=!0):null!=o.e?(i=o.e+n,(o.e<0||o.e>6)&&(c=!0)):i=n);r<1||r>Wr(e,n,s)?Xo(t)._overflowWeeks=!0:null!=c?Xo(t)._overflowWeekday=!0:(a=Yr(e,r,i,n,s),t._a[sr]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(n=pi(t._a[sr],r[sr]),(t._dayOfYear>Cr(n)||0===t._dayOfYear)&&(Xo(t)._overflowDayOfYear=!0),e=Rr(n,0,t._dayOfYear),t._a[ar]=e.getUTCMonth(),t._a[cr]=e.getUTCDate()),o=0;o<3&&null==t._a[o];++o)t._a[o]=s[o]=r[o];for(;o<7;o++)t._a[o]=s[o]=null==t._a[o]?2===o?1:0:t._a[o];24===t._a[lr]&&0===t._a[hr]&&0===t._a[fr]&&0===t._a[ur]&&(t._nextDay=!0,t._a[lr]=0),t._d=(t._useUTC?Rr:Er).apply(null,s),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[lr]=24),t._w&&void 0!==t._w.d&&t._w.d!==i&&(Xo(t).weekdayMismatch=!0)}}function gi(t){if(t._f!==To.ISO_8601)if(t._f!==To.RFC_2822){t._a=[],Xo(t).empty=!0;var o,e,r,i,n,s,a,c=""+t._i,l=c.length,h=0;for(a=(r=Se(t._f,t._locale).match(ge)||[]).length,o=0;o<a;o++)i=r[o],(e=(c.match(Xe(i,t))||[])[0])&&((n=c.substr(0,c.indexOf(e))).length>0&&Xo(t).unusedInput.push(n),c=c.slice(c.indexOf(e)+e.length),h+=e.length),Ne[i]?(e?Xo(t).empty=!1:Xo(t).unusedTokens.push(i),ir(i,e,t)):t._strict&&!e&&Xo(t).unusedTokens.push(i);Xo(t).charsLeftOver=l-h,c.length>0&&Xo(t).unusedInput.push(c),t._a[lr]<=12&&!0===Xo(t).bigHour&&t._a[lr]>0&&(Xo(t).bigHour=void 0),Xo(t).parsedDateParts=t._a.slice(0),Xo(t).meridiem=t._meridiem,t._a[lr]=function(t,o,e){var r;if(null==e)return o;return null!=t.meridiemHour?t.meridiemHour(o,e):null!=t.isPM?((r=t.isPM(e))&&o<12&&(o+=12),r||12!==o||(o=0),o):o}(t._locale,t._a[lr],t._meridiem),null!==(s=Xo(t).era)&&(t._a[sr]=t._locale.erasConvertYear(s,t._a[sr])),yi(t),ei(t)}else di(t);else fi(t)}function mi(t){var o=t._i,e=t._f;return t._locale=t._locale||oi(t._l),null===o||void 0===e&&""===o?oe({nullInput:!0}):("string"==typeof o&&(t._i=o=t._locale.preparse(o)),se(o)?new ne(ei(o)):(Jo(o)?t._d=o:Go(e)?function(t){var o,e,r,i,n,s,a=!1,c=t._f.length;if(0===c)return Xo(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<c;i++)n=0,s=!1,o=ie({},t),null!=t._useUTC&&(o._useUTC=t._useUTC),o._f=t._f[i],gi(o),te(o)&&(s=!0),n+=Xo(o).charsLeftOver,n+=10*Xo(o).unusedTokens.length,Xo(o).score=n,a?n<r&&(r=n,e=o):(null==r||n<r||s)&&(r=n,e=o,s&&(a=!0));Qo(t,e||o)}(t):e?gi(t):function(t){var o=t._i;jo(o)?t._d=new Date(To.now()):Jo(o)?t._d=new Date(o.valueOf()):"string"==typeof o?function(t){var o=ci.exec(t._i);null===o?(fi(t),!1===t._isValid&&(delete t._isValid,di(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:To.createFromInputFallback(t)))):t._d=new Date(+o[1])}(t):Go(o)?(t._a=qo(o.slice(0),(function(t){return parseInt(t,10)})),yi(t)):Ho(o)?function(t){if(!t._d){var o=Me(t._i),e=void 0===o.day?o.date:o.day;t._a=qo([o.year,o.month,e,o.hour,o.minute,o.second,o.millisecond],(function(t){return t&&parseInt(t,10)})),yi(t)}}(t):Po(o)?t._d=new Date(o):To.createFromInputFallback(t)}(t),te(t)||(t._d=null),t))}function bi(t,o,e,r,i){var n,s={};return!0!==o&&!1!==o||(r=o,o=void 0),!0!==e&&!1!==e||(r=e,e=void 0),(Ho(t)&&zo(t)||Go(t)&&0===t.length)&&(t=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=e,s._i=t,s._f=o,s._strict=r,(n=new ne(ei(mi(s))))._nextDay&&(n.add(1,"d"),n._nextDay=void 0),n}function Ni(t,o,e,r){return bi(t,o,e,r,!1)}To.createFromInputFallback=ce("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":""))})),To.ISO_8601=function(){},To.RFC_2822=function(){};var Oi=ce("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Ni.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:oe()})),vi=ce("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Ni.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:oe()}));function Si(t,o){var e,r;if(1===o.length&&Go(o[0])&&(o=o[0]),!o.length)return Ni();for(e=o[0],r=1;r<o.length;++r)o[r].isValid()&&!o[r][t](e)||(e=o[r]);return e}var wi=["year","quarter","month","week","day","hour","minute","second","millisecond"];function xi(t){var o=Me(t),e=o.year||0,r=o.quarter||0,i=o.month||0,n=o.week||o.isoWeek||0,s=o.day||0,a=o.hour||0,c=o.minute||0,l=o.second||0,h=o.millisecond||0;this._isValid=function(t){var o,e,r=!1,i=wi.length;for(o in t)if(Bo(t,o)&&(-1===nr.call(wi,o)||null!=t[o]&&isNaN(t[o])))return!1;for(e=0;e<i;++e)if(t[wi[e]]){if(r)return!1;parseFloat(t[wi[e]])!==ke(t[wi[e]])&&(r=!0)}return!0}(o),this._milliseconds=+h+1e3*l+6e4*c+1e3*a*60*60,this._days=+s+7*n,this._months=+i+3*r+12*e,this._data={},this._locale=oi(),this._bubble()}function Ci(t){return t instanceof xi}function Mi(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ei(t,o){Oe(t,0,0,(function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+ye(~~(t/60),2)+o+ye(~~t%60,2)}))}Ei("Z",":"),Ei("ZZ",""),Ve("Z",qe),Ve("ZZ",qe),er(["Z","ZZ"],(function(t,o,e){e._useUTC=!0,e._tzm=Ui(qe,t)}));var Ri=/([\+\-]|\d\d)/gi;function Ui(t,o){var e,r,i=(o||"").match(t);return null===i?null:0===(r=60*(e=((i[i.length-1]||[])+"").match(Ri)||["-",0,0])[1]+ke(e[2]))?0:"+"===e[0]?r:-r}function Yi(t,o){var e,r;return o._isUTC?(e=o.clone(),r=(se(t)||Jo(t)?t.valueOf():Ni(t).valueOf())-e.valueOf(),e._d.setTime(e._d.valueOf()+r),To.updateOffset(e,!1),e):Ni(t).local()}function ki(t){return-Math.round(t._d.getTimezoneOffset())}function Wi(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}To.updateOffset=function(){};var Di=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Li=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ii(t,o){var e,r,i,n=t,s=null;return Ci(t)?n={ms:t._milliseconds,d:t._days,M:t._months}:Po(t)||!isNaN(+t)?(n={},o?n[o]=+t:n.milliseconds=+t):(s=Di.exec(t))?(e="-"===s[1]?-1:1,n={y:0,d:ke(s[cr])*e,h:ke(s[lr])*e,m:ke(s[hr])*e,s:ke(s[fr])*e,ms:ke(Mi(1e3*s[ur]))*e}):(s=Li.exec(t))?(e="-"===s[1]?-1:1,n={y:Zi(s[2],e),M:Zi(s[3],e),w:Zi(s[4],e),d:Zi(s[5],e),h:Zi(s[6],e),m:Zi(s[7],e),s:Zi(s[8],e)}):null==n?n={}:"object"==typeof n&&("from"in n||"to"in n)&&(i=function(t,o){var e;if(!t.isValid()||!o.isValid())return{milliseconds:0,months:0};o=Yi(o,t),t.isBefore(o)?e=Ki(t,o):((e=Ki(o,t)).milliseconds=-e.milliseconds,e.months=-e.months);return e}(Ni(n.from),Ni(n.to)),(n={}).ms=i.milliseconds,n.M=i.months),r=new xi(n),Ci(t)&&Bo(t,"_locale")&&(r._locale=t._locale),Ci(t)&&Bo(t,"_isValid")&&(r._isValid=t._isValid),r}function Zi(t,o){var e=t&&parseFloat(t.replace(",","."));return(isNaN(e)?0:e)*o}function Ki(t,o){var e={};return e.months=o.month()-t.month()+12*(o.year()-t.year()),t.clone().add(e.months,"M").isAfter(o)&&--e.months,e.milliseconds=+o-+t.clone().add(e.months,"M"),e}function Ai(t,o){return function(e,r){var i;return null===r||isNaN(+r)||(fe(o,"moment()."+o+"(period, number) is deprecated. Please use moment()."+o+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=e,e=r,r=i),Fi(this,Ii(e,r),t),this}}function Fi(t,o,e,r){var i=o._milliseconds,n=Mi(o._days),s=Mi(o._months);t.isValid()&&(r=null==r||r,s&&Sr(t,De(t,"Month")+s*e),n&&Le(t,"Date",De(t,"Date")+n*e),i&&t._d.setTime(t._d.valueOf()+i*e),r&&To.updateOffset(t,n||s))}Ii.fn=xi.prototype,Ii.invalid=function(){return Ii(NaN)};var _i=Ai(1,"add"),$i=Ai(-1,"subtract");function Ti(t){return"string"==typeof t||t instanceof String}function Gi(t){return se(t)||Jo(t)||Ti(t)||Po(t)||function(t){var o=Go(t),e=!1;o&&(e=0===t.filter((function(o){return!Po(o)&&Ti(t)})).length);return o&&e}(t)||function(t){var o,e,r=Ho(t)&&!zo(t),i=!1,n=["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=n.length;for(o=0;o<s;o+=1)e=n[o],i=i||Bo(t,e);return r&&i}(t)||null==t}function Hi(t,o){if(t.date()<o.date())return-Hi(o,t);var e=12*(o.year()-t.year())+(o.month()-t.month()),r=t.clone().add(e,"months");return-(e+(o-r<0?(o-r)/(r-t.clone().add(e-1,"months")):(o-r)/(t.clone().add(e+1,"months")-r)))||0}function Bi(t){var o;return void 0===t?this._locale._abbr:(null!=(o=oi(t))&&(this._locale=o),this)}To.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",To.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var zi=ce("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 ji(){return this._locale}var Pi=1e3,Ji=6e4,qi=36e5,Qi=126227808e5;function Vi(t,o){return(t%o+o)%o}function Xi(t,o,e){return t<100&&t>=0?new Date(t+400,o,e)-Qi:new Date(t,o,e).valueOf()}function tn(t,o,e){return t<100&&t>=0?Date.UTC(t+400,o,e)-Qi:Date.UTC(t,o,e)}function on(t,o){return o.erasAbbrRegex(t)}function en(){var t,o,e=[],r=[],i=[],n=[],s=this.eras();for(t=0,o=s.length;t<o;++t)r.push(tr(s[t].name)),e.push(tr(s[t].abbr)),i.push(tr(s[t].narrow)),n.push(tr(s[t].name)),n.push(tr(s[t].abbr)),n.push(tr(s[t].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function rn(t,o){Oe(0,[t,t.length],0,o)}function nn(t,o,e,r,i){var n;return null==t?kr(this,r,i).year:(o>(n=Wr(t,r,i))&&(o=n),sn.call(this,t,o,e,r,i))}function sn(t,o,e,r,i){var n=Yr(t,o,e,r,i),s=Rr(n.year,0,n.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}Oe("N",0,0,"eraAbbr"),Oe("NN",0,0,"eraAbbr"),Oe("NNN",0,0,"eraAbbr"),Oe("NNNN",0,0,"eraName"),Oe("NNNNN",0,0,"eraNarrow"),Oe("y",["y",1],"yo","eraYear"),Oe("y",["yy",2],0,"eraYear"),Oe("y",["yyy",3],0,"eraYear"),Oe("y",["yyyy",4],0,"eraYear"),Ve("N",on),Ve("NN",on),Ve("NNN",on),Ve("NNNN",(function(t,o){return o.erasNameRegex(t)})),Ve("NNNNN",(function(t,o){return o.erasNarrowRegex(t)})),er(["N","NN","NNN","NNNN","NNNNN"],(function(t,o,e,r){var i=e._locale.erasParse(t,r,e._strict);i?Xo(e).era=i:Xo(e).invalidEra=t})),Ve("y",je),Ve("yy",je),Ve("yyy",je),Ve("yyyy",je),Ve("yo",(function(t,o){return o._eraYearOrdinalRegex||je})),er(["y","yy","yyy","yyyy"],sr),er(["yo"],(function(t,o,e,r){var i;e._locale._eraYearOrdinalRegex&&(i=t.match(e._locale._eraYearOrdinalRegex)),e._locale.eraYearOrdinalParse?o[sr]=e._locale.eraYearOrdinalParse(t,i):o[sr]=parseInt(t,10)})),Oe(0,["gg",2],0,(function(){return this.weekYear()%100})),Oe(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),rn("gggg","weekYear"),rn("ggggg","weekYear"),rn("GGGG","isoWeekYear"),rn("GGGGG","isoWeekYear"),xe("weekYear","gg"),xe("isoWeekYear","GG"),Re("weekYear",1),Re("isoWeekYear",1),Ve("G",Pe),Ve("g",Pe),Ve("GG",$e,Ke),Ve("gg",$e,Ke),Ve("GGGG",Be,Fe),Ve("gggg",Be,Fe),Ve("GGGGG",ze,_e),Ve("ggggg",ze,_e),rr(["gggg","ggggg","GGGG","GGGGG"],(function(t,o,e,r){o[r.substr(0,2)]=ke(t)})),rr(["gg","GG"],(function(t,o,e,r){o[r]=To.parseTwoDigitYear(t)})),Oe("Q",0,"Qo","quarter"),xe("quarter","Q"),Re("quarter",7),Ve("Q",Ze),er("Q",(function(t,o){o[ar]=3*(ke(t)-1)})),Oe("D",["DD",2],"Do","date"),xe("date","D"),Re("date",9),Ve("D",$e),Ve("DD",$e,Ke),Ve("Do",(function(t,o){return t?o._dayOfMonthOrdinalParse||o._ordinalParse:o._dayOfMonthOrdinalParseLenient})),er(["D","DD"],cr),er("Do",(function(t,o){o[cr]=ke(t.match($e)[0])}));var an=We("Date",!0);Oe("DDD",["DDDD",3],"DDDo","dayOfYear"),xe("dayOfYear","DDD"),Re("dayOfYear",4),Ve("DDD",He),Ve("DDDD",Ae),er(["DDD","DDDD"],(function(t,o,e){e._dayOfYear=ke(t)})),Oe("m",["mm",2],0,"minute"),xe("minute","m"),Re("minute",14),Ve("m",$e),Ve("mm",$e,Ke),er(["m","mm"],hr);var cn=We("Minutes",!1);Oe("s",["ss",2],0,"second"),xe("second","s"),Re("second",15),Ve("s",$e),Ve("ss",$e,Ke),er(["s","ss"],fr);var ln,hn,fn=We("Seconds",!1);for(Oe("S",0,0,(function(){return~~(this.millisecond()/100)})),Oe(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),Oe(0,["SSS",3],0,"millisecond"),Oe(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),Oe(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),Oe(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),Oe(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),Oe(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),Oe(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),xe("millisecond","ms"),Re("millisecond",16),Ve("S",He,Ze),Ve("SS",He,Ke),Ve("SSS",He,Ae),ln="SSSS";ln.length<=9;ln+="S")Ve(ln,je);function un(t,o){o[ur]=ke(1e3*("0."+t))}for(ln="S";ln.length<=9;ln+="S")er(ln,un);hn=We("Milliseconds",!1),Oe("z",0,0,"zoneAbbr"),Oe("zz",0,0,"zoneName");var dn=ne.prototype;function pn(t){return t}dn.add=_i,dn.calendar=function(t,o){1===arguments.length&&(arguments[0]?Gi(arguments[0])?(t=arguments[0],o=void 0):function(t){var o,e=Ho(t)&&!zo(t),r=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(o=0;o<i.length;o+=1)r=r||Bo(t,i[o]);return e&&r}(arguments[0])&&(o=arguments[0],t=void 0):(t=void 0,o=void 0));var e=t||Ni(),r=Yi(e,this).startOf("day"),i=To.calendarFormat(this,r)||"sameElse",n=o&&(ue(o[i])?o[i].call(this,e):o[i]);return this.format(n||this.localeData().calendar(i,this,Ni(e)))},dn.clone=function(){return new ne(this)},dn.diff=function(t,o,e){var r,i,n;if(!this.isValid())return NaN;if(!(r=Yi(t,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),o=Ce(o)){case"year":n=Hi(this,r)/12;break;case"month":n=Hi(this,r);break;case"quarter":n=Hi(this,r)/3;break;case"second":n=(this-r)/1e3;break;case"minute":n=(this-r)/6e4;break;case"hour":n=(this-r)/36e5;break;case"day":n=(this-r-i)/864e5;break;case"week":n=(this-r-i)/6048e5;break;default:n=this-r}return e?n:Ye(n)},dn.endOf=function(t){var o,e;if(void 0===(t=Ce(t))||"millisecond"===t||!this.isValid())return this;switch(e=this._isUTC?tn:Xi,t){case"year":o=e(this.year()+1,0,1)-1;break;case"quarter":o=e(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":o=e(this.year(),this.month()+1,1)-1;break;case"week":o=e(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":o=e(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":o=e(this.year(),this.month(),this.date()+1)-1;break;case"hour":o=this._d.valueOf(),o+=qi-Vi(o+(this._isUTC?0:this.utcOffset()*Ji),qi)-1;break;case"minute":o=this._d.valueOf(),o+=Ji-Vi(o,Ji)-1;break;case"second":o=this._d.valueOf(),o+=Pi-Vi(o,Pi)-1}return this._d.setTime(o),To.updateOffset(this,!0),this},dn.format=function(t){t||(t=this.isUtc()?To.defaultFormatUtc:To.defaultFormat);var o=ve(this,t);return this.localeData().postformat(o)},dn.from=function(t,o){return this.isValid()&&(se(t)&&t.isValid()||Ni(t).isValid())?Ii({to:this,from:t}).locale(this.locale()).humanize(!o):this.localeData().invalidDate()},dn.fromNow=function(t){return this.from(Ni(),t)},dn.to=function(t,o){return this.isValid()&&(se(t)&&t.isValid()||Ni(t).isValid())?Ii({from:this,to:t}).locale(this.locale()).humanize(!o):this.localeData().invalidDate()},dn.toNow=function(t){return this.to(Ni(),t)},dn.get=function(t){return ue(this[t=Ce(t)])?this[t]():this},dn.invalidAt=function(){return Xo(this).overflow},dn.isAfter=function(t,o){var e=se(t)?t:Ni(t);return!(!this.isValid()||!e.isValid())&&("millisecond"===(o=Ce(o)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(o).valueOf())},dn.isBefore=function(t,o){var e=se(t)?t:Ni(t);return!(!this.isValid()||!e.isValid())&&("millisecond"===(o=Ce(o)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(o).valueOf()<e.valueOf())},dn.isBetween=function(t,o,e,r){var i=se(t)?t:Ni(t),n=se(o)?o:Ni(o);return!!(this.isValid()&&i.isValid()&&n.isValid())&&(("("===(r=r||"()")[0]?this.isAfter(i,e):!this.isBefore(i,e))&&(")"===r[1]?this.isBefore(n,e):!this.isAfter(n,e)))},dn.isSame=function(t,o){var e,r=se(t)?t:Ni(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(o=Ce(o)||"millisecond")?this.valueOf()===r.valueOf():(e=r.valueOf(),this.clone().startOf(o).valueOf()<=e&&e<=this.clone().endOf(o).valueOf()))},dn.isSameOrAfter=function(t,o){return this.isSame(t,o)||this.isAfter(t,o)},dn.isSameOrBefore=function(t,o){return this.isSame(t,o)||this.isBefore(t,o)},dn.isValid=function(){return te(this)},dn.lang=zi,dn.locale=Bi,dn.localeData=ji,dn.max=vi,dn.min=Oi,dn.parsingFlags=function(){return Qo({},Xo(this))},dn.set=function(t,o){if("object"==typeof t){var e,r=function(t){var o,e=[];for(o in t)Bo(t,o)&&e.push({unit:o,priority:Ee[o]});return e.sort((function(t,o){return t.priority-o.priority})),e}(t=Me(t)),i=r.length;for(e=0;e<i;e++)this[r[e].unit](t[r[e].unit])}else if(ue(this[t=Ce(t)]))return this[t](o);return this},dn.startOf=function(t){var o,e;if(void 0===(t=Ce(t))||"millisecond"===t||!this.isValid())return this;switch(e=this._isUTC?tn:Xi,t){case"year":o=e(this.year(),0,1);break;case"quarter":o=e(this.year(),this.month()-this.month()%3,1);break;case"month":o=e(this.year(),this.month(),1);break;case"week":o=e(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":o=e(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":o=e(this.year(),this.month(),this.date());break;case"hour":o=this._d.valueOf(),o-=Vi(o+(this._isUTC?0:this.utcOffset()*Ji),qi);break;case"minute":o=this._d.valueOf(),o-=Vi(o,Ji);break;case"second":o=this._d.valueOf(),o-=Vi(o,Pi)}return this._d.setTime(o),To.updateOffset(this,!0),this},dn.subtract=$i,dn.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},dn.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()}},dn.toDate=function(){return new Date(this.valueOf())},dn.toISOString=function(t){if(!this.isValid())return null;var o=!0!==t,e=o?this.clone().utc():this;return e.year()<0||e.year()>9999?ve(e,o?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ue(Date.prototype.toISOString)?o?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ve(e,"Z")):ve(e,o?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},dn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,o,e,r="moment",i="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+r+'("]',o=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY","-MM-DD[T]HH:mm:ss.SSS",e=i+'[")]',this.format(t+o+"-MM-DD[T]HH:mm:ss.SSS"+e)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(dn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),dn.toJSON=function(){return this.isValid()?this.toISOString():null},dn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},dn.unix=function(){return Math.floor(this.valueOf()/1e3)},dn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},dn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},dn.eraName=function(){var t,o,e,r=this.localeData().eras();for(t=0,o=r.length;t<o;++t){if(e=this.clone().startOf("day").valueOf(),r[t].since<=e&&e<=r[t].until)return r[t].name;if(r[t].until<=e&&e<=r[t].since)return r[t].name}return""},dn.eraNarrow=function(){var t,o,e,r=this.localeData().eras();for(t=0,o=r.length;t<o;++t){if(e=this.clone().startOf("day").valueOf(),r[t].since<=e&&e<=r[t].until)return r[t].narrow;if(r[t].until<=e&&e<=r[t].since)return r[t].narrow}return""},dn.eraAbbr=function(){var t,o,e,r=this.localeData().eras();for(t=0,o=r.length;t<o;++t){if(e=this.clone().startOf("day").valueOf(),r[t].since<=e&&e<=r[t].until)return r[t].abbr;if(r[t].until<=e&&e<=r[t].since)return r[t].abbr}return""},dn.eraYear=function(){var t,o,e,r,i=this.localeData().eras();for(t=0,o=i.length;t<o;++t)if(e=i[t].since<=i[t].until?1:-1,r=this.clone().startOf("day").valueOf(),i[t].since<=r&&r<=i[t].until||i[t].until<=r&&r<=i[t].since)return(this.year()-To(i[t].since).year())*e+i[t].offset;return this.year()},dn.year=Mr,dn.isLeapYear=function(){return Ue(this.year())},dn.weekYear=function(t){return nn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},dn.isoWeekYear=function(t){return nn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},dn.quarter=dn.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},dn.month=wr,dn.daysInMonth=function(){return yr(this.year(),this.month())},dn.week=dn.weeks=function(t){var o=this.localeData().week(this);return null==t?o:this.add(7*(t-o),"d")},dn.isoWeek=dn.isoWeeks=function(t){var o=kr(this,1,4).week;return null==t?o:this.add(7*(t-o),"d")},dn.weeksInYear=function(){var t=this.localeData()._week;return Wr(this.year(),t.dow,t.doy)},dn.weeksInWeekYear=function(){var t=this.localeData()._week;return Wr(this.weekYear(),t.dow,t.doy)},dn.isoWeeksInYear=function(){return Wr(this.year(),1,4)},dn.isoWeeksInISOWeekYear=function(){return Wr(this.isoWeekYear(),1,4)},dn.date=an,dn.day=dn.days=function(t){if(!this.isValid())return null!=t?this:NaN;var o=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,o){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=o.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-o,"d")):o},dn.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var o=(this.day()+7-this.localeData()._week.dow)%7;return null==t?o:this.add(t-o,"d")},dn.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var o=function(t,o){return"string"==typeof t?o.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?o:o-7)}return this.day()||7},dn.dayOfYear=function(t){var o=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?o:this.add(t-o,"d")},dn.hour=dn.hours=Br,dn.minute=dn.minutes=cn,dn.second=dn.seconds=fn,dn.millisecond=dn.milliseconds=hn,dn.utcOffset=function(t,o,e){var r,i=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Ui(qe,t)))return this}else Math.abs(t)<16&&!e&&(t*=60);return!this._isUTC&&o&&(r=ki(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==t&&(!o||this._changeInProgress?Fi(this,Ii(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,To.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:ki(this)},dn.utc=function(t){return this.utcOffset(0,t)},dn.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(ki(this),"m")),this},dn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Ui(Je,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},dn.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Ni(t).utcOffset():0,(this.utcOffset()-t)%60==0)},dn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},dn.isLocal=function(){return!!this.isValid()&&!this._isUTC},dn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},dn.isUtc=Wi,dn.isUTC=Wi,dn.zoneAbbr=function(){return this._isUTC?"UTC":""},dn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},dn.dates=ce("dates accessor is deprecated. Use date instead.",an),dn.months=ce("months accessor is deprecated. Use month instead",wr),dn.years=ce("years accessor is deprecated. Use year instead",Mr),dn.zone=ce("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,o){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,o),this):-this.utcOffset()})),dn.isDSTShifted=ce("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!jo(this._isDSTShifted))return this._isDSTShifted;var t,o={};return ie(o,this),(o=mi(o))._a?(t=o._isUTC?Vo(o._a):Ni(o._a),this._isDSTShifted=this.isValid()&&function(t,o,e){var r,i=Math.min(t.length,o.length),n=Math.abs(t.length-o.length),s=0;for(r=0;r<i;r++)(e&&t[r]!==o[r]||!e&&ke(t[r])!==ke(o[r]))&&s++;return s+n}(o._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var yn=pe.prototype;function gn(t,o,e,r){var i=oi(),n=Vo().set(r,o);return i[e](n,t)}function mn(t,o,e){if(Po(t)&&(o=t,t=void 0),t=t||"",null!=o)return gn(t,o,e,"month");var r,i=[];for(r=0;r<12;r++)i[r]=gn(t,r,e,"month");return i}function bn(t,o,e,r){"boolean"==typeof t?(Po(o)&&(e=o,o=void 0),o=o||""):(e=o=t,t=!1,Po(o)&&(e=o,o=void 0),o=o||"");var i,n=oi(),s=t?n._week.dow:0,a=[];if(null!=e)return gn(o,(e+s)%7,r,"day");for(i=0;i<7;i++)a[i]=gn(o,(i+s)%7,r,"day");return a}yn.calendar=function(t,o,e){var r=this._calendar[t]||this._calendar.sameElse;return ue(r)?r.call(o,e):r},yn.longDateFormat=function(t){var o=this._longDateFormat[t],e=this._longDateFormat[t.toUpperCase()];return o||!e?o:(this._longDateFormat[t]=e.match(ge).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},yn.invalidDate=function(){return this._invalidDate},yn.ordinal=function(t){return this._ordinal.replace("%d",t)},yn.preparse=pn,yn.postformat=pn,yn.relativeTime=function(t,o,e,r){var i=this._relativeTime[e];return ue(i)?i(t,o,e,r):i.replace(/%d/i,t)},yn.pastFuture=function(t,o){var e=this._relativeTime[t>0?"future":"past"];return ue(e)?e(o):e.replace(/%s/i,o)},yn.set=function(t){var o,e;for(e in t)Bo(t,e)&&(ue(o=t[e])?this[e]=o:this["_"+e]=o);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},yn.eras=function(t,o){var e,r,i,n=this._eras||oi("en")._eras;for(e=0,r=n.length;e<r;++e){if("string"==typeof n[e].since)i=To(n[e].since).startOf("day"),n[e].since=i.valueOf();switch(typeof n[e].until){case"undefined":n[e].until=1/0;break;case"string":i=To(n[e].until).startOf("day").valueOf(),n[e].until=i.valueOf()}}return n},yn.erasParse=function(t,o,e){var r,i,n,s,a,c=this.eras();for(t=t.toUpperCase(),r=0,i=c.length;r<i;++r)if(n=c[r].name.toUpperCase(),s=c[r].abbr.toUpperCase(),a=c[r].narrow.toUpperCase(),e)switch(o){case"N":case"NN":case"NNN":if(s===t)return c[r];break;case"NNNN":if(n===t)return c[r];break;case"NNNNN":if(a===t)return c[r]}else if([n,s,a].indexOf(t)>=0)return c[r]},yn.erasConvertYear=function(t,o){var e=t.since<=t.until?1:-1;return void 0===o?To(t.since).year():To(t.since).year()+(o-t.offset)*e},yn.erasAbbrRegex=function(t){return Bo(this,"_erasAbbrRegex")||en.call(this),t?this._erasAbbrRegex:this._erasRegex},yn.erasNameRegex=function(t){return Bo(this,"_erasNameRegex")||en.call(this),t?this._erasNameRegex:this._erasRegex},yn.erasNarrowRegex=function(t){return Bo(this,"_erasNarrowRegex")||en.call(this),t?this._erasNarrowRegex:this._erasRegex},yn.months=function(t,o){return t?Go(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||br).test(o)?"format":"standalone"][t.month()]:Go(this._months)?this._months:this._months.standalone},yn.monthsShort=function(t,o){return t?Go(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[br.test(o)?"format":"standalone"][t.month()]:Go(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},yn.monthsParse=function(t,o,e){var r,i,n;if(this._monthsParseExact)return vr.call(this,t,o,e);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=Vo([2e3,r]),e&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),e||this._monthsParse[r]||(n="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(n.replace(".",""),"i")),e&&"MMMM"===o&&this._longMonthsParse[r].test(t))return r;if(e&&"MMM"===o&&this._shortMonthsParse[r].test(t))return r;if(!e&&this._monthsParse[r].test(t))return r}},yn.monthsRegex=function(t){return this._monthsParseExact?(Bo(this,"_monthsRegex")||xr.call(this),t?this._monthsStrictRegex:this._monthsRegex):(Bo(this,"_monthsRegex")||(this._monthsRegex=Or),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},yn.monthsShortRegex=function(t){return this._monthsParseExact?(Bo(this,"_monthsRegex")||xr.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(Bo(this,"_monthsShortRegex")||(this._monthsShortRegex=Nr),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},yn.week=function(t){return kr(t,this._week.dow,this._week.doy).week},yn.firstDayOfYear=function(){return this._week.doy},yn.firstDayOfWeek=function(){return this._week.dow},yn.weekdays=function(t,o){var e=Go(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(o)?"format":"standalone"];return!0===t?Dr(e,this._week.dow):t?e[t.day()]:e},yn.weekdaysMin=function(t){return!0===t?Dr(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},yn.weekdaysShort=function(t){return!0===t?Dr(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},yn.weekdaysParse=function(t,o,e){var r,i,n;if(this._weekdaysParseExact)return _r.call(this,t,o,e);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=Vo([2e3,1]).day(r),e&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(n="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(n.replace(".",""),"i")),e&&"dddd"===o&&this._fullWeekdaysParse[r].test(t))return r;if(e&&"ddd"===o&&this._shortWeekdaysParse[r].test(t))return r;if(e&&"dd"===o&&this._minWeekdaysParse[r].test(t))return r;if(!e&&this._weekdaysParse[r].test(t))return r}},yn.weekdaysRegex=function(t){return this._weekdaysParseExact?(Bo(this,"_weekdaysRegex")||$r.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(Bo(this,"_weekdaysRegex")||(this._weekdaysRegex=Kr),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},yn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(Bo(this,"_weekdaysRegex")||$r.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Bo(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ar),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},yn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(Bo(this,"_weekdaysRegex")||$r.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Bo(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Fr),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},yn.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},yn.meridiem=function(t,o,e){return t>11?e?"pm":"PM":e?"am":"AM"},Xr("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 o=t%10;return t+(1===ke(t%100/10)?"th":1===o?"st":2===o?"nd":3===o?"rd":"th")}}),To.lang=ce("moment.lang is deprecated. Use moment.locale instead.",Xr),To.langData=ce("moment.langData is deprecated. Use moment.localeData instead.",oi);var Nn=Math.abs;function On(t,o,e,r){var i=Ii(o,e);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function vn(t){return t<0?Math.floor(t):Math.ceil(t)}function Sn(t){return 4800*t/146097}function wn(t){return 146097*t/4800}function xn(t){return function(){return this.as(t)}}var Cn=xn("ms"),Mn=xn("s"),En=xn("m"),Rn=xn("h"),Un=xn("d"),Yn=xn("w"),kn=xn("M"),Wn=xn("Q"),Dn=xn("y");function Ln(t){return function(){return this.isValid()?this._data[t]:NaN}}var In=Ln("milliseconds"),Zn=Ln("seconds"),Kn=Ln("minutes"),An=Ln("hours"),Fn=Ln("days"),_n=Ln("months"),$n=Ln("years");var Tn=Math.round,Gn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Hn(t,o,e,r,i){return i.relativeTime(o||1,!!e,t,r)}var Bn=Math.abs;function zn(t){return(t>0)-(t<0)||+t}function jn(){if(!this.isValid())return this.localeData().invalidDate();var t,o,e,r,i,n,s,a,c=Bn(this._milliseconds)/1e3,l=Bn(this._days),h=Bn(this._months),f=this.asSeconds();return f?(t=Ye(c/60),o=Ye(t/60),c%=60,t%=60,e=Ye(h/12),h%=12,r=c?c.toFixed(3).replace(/\.?0+$/,""):"",i=f<0?"-":"",n=zn(this._months)!==zn(f)?"-":"",s=zn(this._days)!==zn(f)?"-":"",a=zn(this._milliseconds)!==zn(f)?"-":"",i+"P"+(e?n+e+"Y":"")+(h?n+h+"M":"")+(l?s+l+"D":"")+(o||t||c?"T":"")+(o?a+o+"H":"")+(t?a+t+"M":"")+(c?a+r+"S":"")):"P0D"}var Pn,Jn=xi.prototype;Jn.isValid=function(){return this._isValid},Jn.abs=function(){var t=this._data;return this._milliseconds=Nn(this._milliseconds),this._days=Nn(this._days),this._months=Nn(this._months),t.milliseconds=Nn(t.milliseconds),t.seconds=Nn(t.seconds),t.minutes=Nn(t.minutes),t.hours=Nn(t.hours),t.months=Nn(t.months),t.years=Nn(t.years),this},Jn.add=function(t,o){return On(this,t,o,1)},Jn.subtract=function(t,o){return On(this,t,o,-1)},Jn.as=function(t){if(!this.isValid())return NaN;var o,e,r=this._milliseconds;if("month"===(t=Ce(t))||"quarter"===t||"year"===t)switch(o=this._days+r/864e5,e=this._months+Sn(o),t){case"month":return e;case"quarter":return e/3;case"year":return e/12}else switch(o=this._days+Math.round(wn(this._months)),t){case"week":return o/7+r/6048e5;case"day":return o+r/864e5;case"hour":return 24*o+r/36e5;case"minute":return 1440*o+r/6e4;case"second":return 86400*o+r/1e3;case"millisecond":return Math.floor(864e5*o)+r;default:throw new Error("Unknown unit "+t)}},Jn.asMilliseconds=Cn,Jn.asSeconds=Mn,Jn.asMinutes=En,Jn.asHours=Rn,Jn.asDays=Un,Jn.asWeeks=Yn,Jn.asMonths=kn,Jn.asQuarters=Wn,Jn.asYears=Dn,Jn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ke(this._months/12):NaN},Jn._bubble=function(){var t,o,e,r,i,n=this._milliseconds,s=this._days,a=this._months,c=this._data;return n>=0&&s>=0&&a>=0||n<=0&&s<=0&&a<=0||(n+=864e5*vn(wn(a)+s),s=0,a=0),c.milliseconds=n%1e3,t=Ye(n/1e3),c.seconds=t%60,o=Ye(t/60),c.minutes=o%60,e=Ye(o/60),c.hours=e%24,s+=Ye(e/24),a+=i=Ye(Sn(s)),s-=vn(wn(i)),r=Ye(a/12),a%=12,c.days=s,c.months=a,c.years=r,this},Jn.clone=function(){return Ii(this)},Jn.get=function(t){return t=Ce(t),this.isValid()?this[t+"s"]():NaN},Jn.milliseconds=In,Jn.seconds=Zn,Jn.minutes=Kn,Jn.hours=An,Jn.days=Fn,Jn.weeks=function(){return Ye(this.days()/7)},Jn.months=_n,Jn.years=$n,Jn.humanize=function(t,o){if(!this.isValid())return this.localeData().invalidDate();var e,r,i=!1,n=Gn;return"object"==typeof t&&(o=t,t=!1),"boolean"==typeof t&&(i=t),"object"==typeof o&&(n=Object.assign({},Gn,o),null!=o.s&&null==o.ss&&(n.ss=o.s-1)),r=function(t,o,e,r){var i=Ii(t).abs(),n=Tn(i.as("s")),s=Tn(i.as("m")),a=Tn(i.as("h")),c=Tn(i.as("d")),l=Tn(i.as("M")),h=Tn(i.as("w")),f=Tn(i.as("y")),u=n<=e.ss&&["s",n]||n<e.s&&["ss",n]||s<=1&&["m"]||s<e.m&&["mm",s]||a<=1&&["h"]||a<e.h&&["hh",a]||c<=1&&["d"]||c<e.d&&["dd",c];return null!=e.w&&(u=u||h<=1&&["w"]||h<e.w&&["ww",h]),(u=u||l<=1&&["M"]||l<e.M&&["MM",l]||f<=1&&["y"]||["yy",f])[2]=o,u[3]=+t>0,u[4]=r,Hn.apply(null,u)}(this,!i,n,e=this.localeData()),i&&(r=e.pastFuture(+this,r)),e.postformat(r)},Jn.toISOString=jn,Jn.toString=jn,Jn.toJSON=jn,Jn.locale=Bi,Jn.localeData=ji,Jn.toIsoString=ce("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",jn),Jn.lang=zi,Oe("X",0,0,"unix"),Oe("x",0,0,"valueOf"),Ve("x",Pe),Ve("X",/[+-]?\d+(\.\d{1,3})?/),er("X",(function(t,o,e){e._d=new Date(1e3*parseFloat(t))})),er("x",(function(t,o,e){e._d=new Date(ke(t))})),
112
112
  //! moment.js
113
- Lo.version="2.29.4",Wo=fi,Lo.fn=nn,Lo.min=function(){return pi("isBefore",[].slice.call(arguments,0))},Lo.max=function(){return pi("isAfter",[].slice.call(arguments,0))},Lo.now=function(){return Date.now?Date.now():+new Date},Lo.utc=Ho,Lo.unix=function(t){return fi(1e3*t)},Lo.months=function(t,o){return ln(t,o,"months")},Lo.isDate=$o,Lo.locale=Br,Lo.invalid=jo,Lo.duration=Ri,Lo.isMoment=Vo,Lo.weekdays=function(t,o,e){return hn(t,o,e,"weekdays")},Lo.parseZone=function(){return fi.apply(null,arguments).parseZone()},Lo.localeData=jr,Lo.isDuration=mi,Lo.monthsShort=function(t,o){return ln(t,o,"monthsShort")},Lo.weekdaysMin=function(t,o,e){return hn(t,o,e,"weekdaysMin")},Lo.defineLocale=zr,Lo.updateLocale=function(t,o){if(null!=o){var e,r,i=Fr;null!=_r[t]&&null!=_r[t].parentLocale?_r[t].set(ne(_r[t]._config,o)):(null!=(r=Hr(t))&&(i=r._config),o=ne(i,o),null==r&&(o.abbr=t),(e=new se(o)).parentLocale=_r[t],_r[t]=e),Br(t)}else null!=_r[t]&&(null!=_r[t].parentLocale?(_r[t]=_r[t].parentLocale,t===Br()&&Br(t)):null!=_r[t]&&delete _r[t]);return _r[t]},Lo.locales=function(){return oe(_r)},Lo.weekdaysShort=function(t,o,e){return hn(t,o,e,"weekdaysShort")},Lo.normalizeUnits=me,Lo.relativeTimeRounding=function(t){return void 0===t?Ln:"function"==typeof t&&(Ln=t,!0)},Lo.relativeTimeThreshold=function(t,o){return void 0!==In[t]&&(void 0===o?In[t]:(In[t]=o,"s"===t&&(In.ss=o-1),!0))},Lo.calendarFormat=function(t,o){var e=t.diff(o,"days",!0);return e<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},Lo.prototype=nn,Lo.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"},t.Period=void 0,(_n=t.Period||(t.Period={})).DAY="DAY",_n.WEEK="WEEK",_n.MONTH="MONTH";const Tn=yt`
113
+ To.version="2.29.4",_o=Ni,To.fn=dn,To.min=function(){return Si("isBefore",[].slice.call(arguments,0))},To.max=function(){return Si("isAfter",[].slice.call(arguments,0))},To.now=function(){return Date.now?Date.now():+new Date},To.utc=Vo,To.unix=function(t){return Ni(1e3*t)},To.months=function(t,o){return mn(t,o,"months")},To.isDate=Jo,To.locale=Xr,To.invalid=oe,To.duration=Ii,To.isMoment=se,To.weekdays=function(t,o,e){return bn(t,o,e,"weekdays")},To.parseZone=function(){return Ni.apply(null,arguments).parseZone()},To.localeData=oi,To.isDuration=Ci,To.monthsShort=function(t,o){return mn(t,o,"monthsShort")},To.weekdaysMin=function(t,o,e){return bn(t,o,e,"weekdaysMin")},To.defineLocale=ti,To.updateLocale=function(t,o){if(null!=o){var e,r,i=jr;null!=Pr[t]&&null!=Pr[t].parentLocale?Pr[t].set(de(Pr[t]._config,o)):(null!=(r=Vr(t))&&(i=r._config),o=de(i,o),null==r&&(o.abbr=t),(e=new pe(o)).parentLocale=Pr[t],Pr[t]=e),Xr(t)}else null!=Pr[t]&&(null!=Pr[t].parentLocale?(Pr[t]=Pr[t].parentLocale,t===Xr()&&Xr(t)):null!=Pr[t]&&delete Pr[t]);return Pr[t]},To.locales=function(){return le(Pr)},To.weekdaysShort=function(t,o,e){return bn(t,o,e,"weekdaysShort")},To.normalizeUnits=Ce,To.relativeTimeRounding=function(t){return void 0===t?Tn:"function"==typeof t&&(Tn=t,!0)},To.relativeTimeThreshold=function(t,o){return void 0!==Gn[t]&&(void 0===o?Gn[t]:(Gn[t]=o,"s"===t&&(Gn.ss=o-1),!0))},To.calendarFormat=function(t,o){var e=t.diff(o,"days",!0);return e<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},To.prototype=dn,To.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"},t.Period=void 0,(Pn=t.Period||(t.Period={})).DAY="DAY",Pn.WEEK="WEEK",Pn.MONTH="MONTH";const qn=yt`
114
114
  .sessions-chart {
115
115
  height: 100%;
116
116
  width: 100%;
117
117
  }
118
- `;var Gn=function(t,o,e,r){for(var i,n=arguments.length,s=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(o,e,s):i(o,e))||s);return n>3&&s&&Object.defineProperty(o,e,s),s};null==window.echarts&&console.warn("Echarts is not available"),t.FtChart=class extends Eo{constructor(){super(...arguments),this.xAxisName="date",this.yAxisName="",this.graphColor="",this.hoverColor="",this.tooltipBackgroundColor="",this.tooltipBorderColor="",this.tooltipTextColor="",this.tooltipBorderRadius=0,this.valueLabels=void 0,this.valueLabelsSingular=void 0,this.barChart=!1,this.period=t.Period.DAY,this.data=[]}render(){return Qt`
118
+ `;var Qn=function(t,o,e,r){for(var i,n=arguments.length,s=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(o,e,s):i(o,e))||s);return n>3&&s&&Object.defineProperty(o,e,s),s};null==window.echarts&&console.warn("Echarts is not available"),t.FtChart=class extends Ro{constructor(){super(...arguments),this.xAxisName="date",this.yAxisName="",this.graphColor="",this.hoverColor="",this.tooltipBackgroundColor="",this.tooltipBorderColor="",this.tooltipTextColor="",this.tooltipBorderRadius=0,this.valueLabels=void 0,this.valueLabelsSingular=void 0,this.barChart=!1,this.period=t.Period.DAY,this.data=[]}render(){return Qt`
119
119
  <div class="sessions-chart"></div>
120
- `}firstUpdated(t){var o;super.firstUpdated(t),this.myChart=null===(o=window.echarts)||void 0===o?void 0:o.init(this.container,void 0,{renderer:"svg"}),window.addEventListener("resize",(()=>{var t;null===(t=this.myChart)||void 0===t||t.resize()}))}updated(t){super.updated(t);const o=this.getOptions();o&&this.myChart&&this.myChart.setOption(o)}getOptions(){const o=this;return{tooltip:{axisPointer:{type:"shadow",shadowStyle:{color:o.hoverColor}},trigger:"axis",formatter:t=>o.getTooltip(t),backgroundColor:o.tooltipBackgroundColor,borderColor:o.tooltipBorderColor,textStyle:{color:o.tooltipTextColor},borderRadius:o.tooltipBorderRadius},grid:{left:"80px",right:"100px",top:"50px",bottom:"20px"},xAxis:{type:"category",name:this.xAxisName.toUpperCase(),axisTick:{alignWithLabel:!0},axisLabel:{formatter:e=>o.period===t.Period.DAY||o.period===t.Period.WEEK?Lo.utc(1e3*e).format("DD MMM YYYY"):(o.period,t.Period.MONTH,Lo.utc(1e3*e).format("MMMM YYYY"))}},yAxis:{type:"value",name:this.yAxisName.toUpperCase()},color:this.graphColor,series:this.getSeries()}}getTooltip(o){const e=Lo.utc(1e3*o[0].data.value[0]),r=o.map((t=>t.data.value[1]));let i,n,s="";switch(this.period){case t.Period.DAY:i=e.format("DD MMM YYYY"),n="on",this.isThisPeriod(e,t.Period.DAY)&&(s=" so far");break;case t.Period.WEEK:i=e.format("DD MMM YYYY"),n="during the week of",this.isThisPeriod(e,t.Period.WEEK)&&(s=" so far");break;case t.Period.MONTH:n="in",i=e.format("MMMM YYYY"),this.isThisPeriod(e,t.Period.MONTH)&&(s=" so far")}let a="";for(let t=0;t<r.length;t++){let o=this.valueLabels?this.valueLabels[t]:this.yAxisName,e=this.valueLabelsSingular?this.valueLabelsSingular[t]:o;const c=1===r[t]?e:o;a+=`${r[t].toLocaleString()} ${c} ${n} ${i}${s}</br>`}return a.substring(0,a.length-5)}isThisPeriod(o,e,r=Lo.utc()){switch(e){case t.Period.DAY:return o.format("YYYY-MM-DD")===r.clone().startOf("day").format("YYYY-MM-DD");case t.Period.WEEK:return o.clone().startOf("isoWeek").format("YYYY-MM-DD")===r.clone().startOf("isoWeek").format("YYYY-MM-DD");case t.Period.MONTH:return o.month()===r.month()&&o.year()===r.year()}return!1}getSeries(){if(0==this.data.length)return[];const t=this.data[0].length-1;if(0==t)return[];let o=[];for(let e=0;e<t;e++)o[e]={type:this.barChart?"bar":"line",data:this.getData(e)};return o}getData(t){return this.data.map((o=>this.isThisPeriod(Lo.unix(o[0]),this.period)?{value:[o[0],o[t+1]],itemStyle:{opacity:.5}}:{value:[o[0],o[t+1]]}))}},t.FtChart.styles=Tn,Gn([x({type:String})],t.FtChart.prototype,"xAxisName",void 0),Gn([x({type:String})],t.FtChart.prototype,"yAxisName",void 0),Gn([x({type:String})],t.FtChart.prototype,"graphColor",void 0),Gn([x({type:String})],t.FtChart.prototype,"hoverColor",void 0),Gn([x({type:String})],t.FtChart.prototype,"tooltipBackgroundColor",void 0),Gn([x({type:String})],t.FtChart.prototype,"tooltipBorderColor",void 0),Gn([x({type:String})],t.FtChart.prototype,"tooltipTextColor",void 0),Gn([x({type:String})],t.FtChart.prototype,"tooltipBorderRadius",void 0),Gn([U(void 0)],t.FtChart.prototype,"valueLabels",void 0),Gn([U(void 0)],t.FtChart.prototype,"valueLabelsSingular",void 0),Gn([x({type:Boolean})],t.FtChart.prototype,"barChart",void 0),Gn([x({type:String})],t.FtChart.prototype,"period",void 0),Gn([U([])],t.FtChart.prototype,"data",void 0),Gn([function(t,o){return(e,r,i)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return C(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return C(0,0,{get(){return n(this)}})}}(".sessions-chart")],t.FtChart.prototype,"container",void 0),t.FtChart=Gn([E("ft-chart")],t.FtChart),E("ft-chart")(t.FtChart),t.styles=Tn}({});
120
+ `}firstUpdated(t){var o;super.firstUpdated(t),this.myChart=null===(o=window.echarts)||void 0===o?void 0:o.init(this.container,void 0,{renderer:"svg"}),window.addEventListener("resize",(()=>{var t;null===(t=this.myChart)||void 0===t||t.resize()}))}updated(t){super.updated(t);const o=this.getOptions();o&&this.myChart&&this.myChart.setOption(o)}getOptions(){const o=this;return{tooltip:{axisPointer:{type:"shadow",shadowStyle:{color:o.hoverColor}},trigger:"axis",formatter:t=>o.getTooltip(t),backgroundColor:o.tooltipBackgroundColor,borderColor:o.tooltipBorderColor,textStyle:{color:o.tooltipTextColor},borderRadius:o.tooltipBorderRadius},grid:{left:"80px",right:"100px",top:"50px",bottom:"20px"},xAxis:{type:"category",name:this.xAxisName.toUpperCase(),axisTick:{alignWithLabel:!0},axisLabel:{formatter:e=>o.period===t.Period.DAY||o.period===t.Period.WEEK?To.utc(1e3*e).format("DD MMM YYYY"):(o.period,t.Period.MONTH,To.utc(1e3*e).format("MMMM YYYY"))}},yAxis:{type:"value",name:this.yAxisName.toUpperCase()},color:this.graphColor,series:this.getSeries()}}getTooltip(o){const e=To.utc(1e3*o[0].data.value[0]),r=o.map((t=>t.data.value[1]));let i,n,s="";switch(this.period){case t.Period.DAY:i=e.format("DD MMM YYYY"),n="on",this.isThisPeriod(e,t.Period.DAY)&&(s=" so far");break;case t.Period.WEEK:i=e.format("DD MMM YYYY"),n="during the week of",this.isThisPeriod(e,t.Period.WEEK)&&(s=" so far");break;case t.Period.MONTH:n="in",i=e.format("MMMM YYYY"),this.isThisPeriod(e,t.Period.MONTH)&&(s=" so far")}let a="";for(let t=0;t<r.length;t++){let o=this.valueLabels?this.valueLabels[t]:this.yAxisName,e=this.valueLabelsSingular?this.valueLabelsSingular[t]:o;const c=1===r[t]?e:o;a+=`${r[t].toLocaleString()} ${c} ${n} ${i}${s}</br>`}return a.substring(0,a.length-5)}isThisPeriod(o,e,r=To.utc()){switch(e){case t.Period.DAY:return o.format("YYYY-MM-DD")===r.clone().startOf("day").format("YYYY-MM-DD");case t.Period.WEEK:return o.clone().startOf("isoWeek").format("YYYY-MM-DD")===r.clone().startOf("isoWeek").format("YYYY-MM-DD");case t.Period.MONTH:return o.month()===r.month()&&o.year()===r.year()}return!1}getSeries(){if(0==this.data.length)return[];const t=this.data[0].length-1;if(0==t)return[];let o=[];for(let e=0;e<t;e++)o[e]={type:this.barChart?"bar":"line",data:this.getData(e)};return o}getData(t){return this.data.map((o=>this.isThisPeriod(To.unix(o[0]),this.period)?{value:[o[0],o[t+1]],itemStyle:{opacity:.5}}:{value:[o[0],o[t+1]]}))}},t.FtChart.styles=qn,Qn([x({type:String})],t.FtChart.prototype,"xAxisName",void 0),Qn([x({type:String})],t.FtChart.prototype,"yAxisName",void 0),Qn([x({type:String})],t.FtChart.prototype,"graphColor",void 0),Qn([x({type:String})],t.FtChart.prototype,"hoverColor",void 0),Qn([x({type:String})],t.FtChart.prototype,"tooltipBackgroundColor",void 0),Qn([x({type:String})],t.FtChart.prototype,"tooltipBorderColor",void 0),Qn([x({type:String})],t.FtChart.prototype,"tooltipTextColor",void 0),Qn([x({type:String})],t.FtChart.prototype,"tooltipBorderRadius",void 0),Qn([U(void 0)],t.FtChart.prototype,"valueLabels",void 0),Qn([U(void 0)],t.FtChart.prototype,"valueLabelsSingular",void 0),Qn([x({type:Boolean})],t.FtChart.prototype,"barChart",void 0),Qn([x({type:String})],t.FtChart.prototype,"period",void 0),Qn([U([])],t.FtChart.prototype,"data",void 0),Qn([function(t,o){return(e,r,i)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return C(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return C(0,0,{get(){return n(this)}})}}(".sessions-chart")],t.FtChart.prototype,"container",void 0),t.FtChart=Qn([R("ft-chart")],t.FtChart),R("ft-chart")(t.FtChart),t.styles=qn}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-chart",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
4
4
  "description": "Display charts from data",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,7 +19,7 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-wc-utils": "1.1.6",
22
+ "@fluid-topics/ft-wc-utils": "1.1.8",
23
23
  "lit": "3.1.0",
24
24
  "moment": "2.29.4"
25
25
  },
@@ -29,5 +29,5 @@
29
29
  "peerDependencies": {
30
30
  "echarts": "^5.3.0"
31
31
  },
32
- "gitHead": "9d7e94e5e79a15dc5d23714fc33db8342837b804"
32
+ "gitHead": "95fb2d06899d700513970ac830958922b98539df"
33
33
  }