@fluid-topics/ft-chart 1.1.1 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-chart.min.js +15 -11
- package/package.json +3 -3
package/build/ft-chart.min.js
CHANGED
|
@@ -12,33 +12,33 @@
|
|
|
12
12
|
* subject to an additional IP rights grant found at
|
|
13
13
|
* http://polymer.github.io/PATENTS.txt
|
|
14
14
|
*/
|
|
15
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,s=new WeakMap,a=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);u(i,c,a);const l={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let h=e.call(r,t);h||(h=f(t),o.call(r,t,h)),this===window.customElements&&(s.set(i,l),l.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),p(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=c;if(o)return c=void 0,o;const e=s.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,h=t=>{let o=t.getRootNode();if(!l(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),l(o)||(o=a.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=h(e)||window.customElements,i=r._getDefinition(o);return i?p(e,i):n.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},u=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);r.call(this,n,i),e.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else n.call(this,i,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},p=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),c=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const m=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&a.set(t,this),g.pop(),t}};m(ShadowRoot,"createElement",document),m(ShadowRoot,"importNode",document),m(Element,"insertAdjacentHTML");const b=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(b(Element,"innerHTML"),b(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(vo){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,s=new WeakMap,a=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);u(i,c,a);const l={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let h=e.call(r,t);h||(h=f(t),o.call(r,t,h)),this===window.customElements&&(s.set(i,l),l.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),p(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=c;if(o)return c=void 0,o;const e=s.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,h=t=>{let o=t.getRootNode();if(!l(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),l(o)||(o=a.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=h(e)||window.customElements,i=r._getDefinition(o);return i?p(e,i):n.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},u=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);r.call(this,n,i),e.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else n.call(this,i,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},p=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),c=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const m=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&a.set(t,this),g.pop(),t}};m(ShadowRoot,"createElement",document),m(ShadowRoot,"importNode",document),m(Element,"insertAdjacentHTML");const b=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(b(Element,"innerHTML"),b(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(vo){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}
|
|
16
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2019 Google LLC
|
|
19
19
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
-
*/const
|
|
20
|
+
*/const o=globalThis,e=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),i=new WeakMap;const n=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(e&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=i.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&i.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),s=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return n(o)})(t):t
|
|
21
21
|
/**
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright 2017 Google LLC
|
|
24
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/,{is:
|
|
25
|
+
*/,{is:a,defineProperty:c,getOwnPropertyDescriptor:l,getOwnPropertyNames:h,getOwnPropertySymbols:f,getPrototypeOf:u}=Object,d=globalThis,p=d.trustedTypes,y=p?p.emptyScript:"",g=d.reactiveElementPolyfillSupport,m=(t,o)=>t,b={toAttribute(t,o){switch(o){case Boolean:t=t?y: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}},N=(t,o)=>!a(t,o),O={attribute:!0,type:String,converter:b,reflect:!1,hasChanged:N};Symbol.metadata??=Symbol("metadata"),d.litPropertyMetadata??=new WeakMap;let v=class 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=O){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&&c(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=l(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)??O}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=u(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,o=[...h(t),...f(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(s(t))}else void 0!==t&&o.push(s(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,r)=>{if(e)t.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of r){const r=document.createElement("style"),i=o.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=e.cssText,t.appendChild(r)}})(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:b).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:b;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??N)(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){}};v.elementStyles=[],v.shadowRootOptions={mode:"open"},v[m("elementProperties")]=new Map,v[m("finalized")]=new Map,g?.({ReactiveElement:v}),(d.reactiveElementVersions??=[]).push("2.0.2");
|
|
26
26
|
/**
|
|
27
27
|
* @license
|
|
28
28
|
* Copyright 2017 Google LLC
|
|
29
29
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
30
|
*/
|
|
31
|
-
const
|
|
31
|
+
const S={attribute:!0,type:String,converter:b,reflect:!1,hasChanged:N},w=(t=S,o,e)=>{const{kind:r,metadata:i}=e;let n=globalThis.litPropertyMetadata.get(i);if(void 0===n&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(e.name,t),"accessor"===r){const{name:r}=e;return{set(e){const i=o.get.call(this);o.set.call(this,e),this.requestUpdate(r,i,t)},init(o){return void 0!==o&&this.C(r,void 0,t),o}}}if("setter"===r){const{name:r}=e;return function(e){const i=this[r];o.call(this,e),this.requestUpdate(r,i,t)}}throw Error("Unsupported decorator location: "+r)};function x(t){return(o,e)=>"object"==typeof e?w(t,o,e):((t,o,e)=>{const r=o.hasOwnProperty(e);return o.constructor.createProperty(e,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
|
|
32
32
|
/**
|
|
33
33
|
* @license
|
|
34
34
|
* Copyright 2017 Google LLC
|
|
35
35
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
-
*/}const
|
|
36
|
+
*/}const C=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
|
|
37
37
|
/**
|
|
38
38
|
* @license
|
|
39
39
|
* Copyright 2017 Google LLC
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
-
*/;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
|
|
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:{}})}
|
|
42
42
|
/**
|
|
43
43
|
* @license
|
|
44
44
|
* Copyright 2017 Google LLC
|
|
@@ -72,7 +72,11 @@ 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
|
|
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`
|
|
76
|
+
.highlight-html-match {
|
|
77
|
+
background: ${Uo};
|
|
78
|
+
}
|
|
79
|
+
`,yt`
|
|
76
80
|
.ft-no-text-select {
|
|
77
81
|
-webkit-touch-callout: none;
|
|
78
82
|
-webkit-user-select: none;
|
|
@@ -104,13 +108,13 @@ const Oo=window,vo=Oo.ShadowRoot&&(void 0===Oo.ShadyCSS||Oo.ShadyCSS.nativeShado
|
|
|
104
108
|
display: inline-block;
|
|
105
109
|
width: 0;
|
|
106
110
|
}
|
|
107
|
-
`,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Yo=null===(Uo=window.safari)||void 0===Uo?void 0:Uo.pushNotification)||void 0===Yo||Yo.toString()),Wo=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 jo=Do.momentProperties=[],Po=!1;function Jo(t,o){var e,r,i,n=jo.length;if(Ao(o._isAMomentObject)||(t._isAMomentObject=o._isAMomentObject),Ao(o._i)||(t._i=o._i),Ao(o._f)||(t._f=o._f),Ao(o._l)||(t._l=o._l),Ao(o._strict)||(t._strict=o._strict),Ao(o._tzm)||(t._tzm=o._tzm),Ao(o._isUTC)||(t._isUTC=o._isUTC),Ao(o._offset)||(t._offset=o._offset),Ao(o._pf)||(t._pf=Ho(o)),Ao(o._locale)||(t._locale=o._locale),n>0)for(e=0;e<n;e++)Ao(i=o[r=jo[e]])||(t[r]=i);return t}function qo(t){Jo(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Po&&(Po=!0,Do.updateOffset(this),Po=!1)}function Qo(t){return t instanceof qo||null!=t&&null!=t._isAMomentObject}function Vo(t){!1===Do.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function Xo(t,o){var e=!0;return To((function(){if(null!=Do.deprecationHandler&&Do.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])Zo(arguments[0],n)&&(r+=n+": "+arguments[0][n]+", ");r=r.slice(0,-2)}else r=arguments[i];s.push(r)}Vo(t+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),e=!1}return o.apply(this,arguments)}),o)}var te,oe={};function ee(t,o){null!=Do.deprecationHandler&&Do.deprecationHandler(t,o),oe[t]||(Vo(o),oe[t]=!0)}function re(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function ie(t,o){var e,r=To({},t);for(e in o)Zo(o,e)&&(Io(t[e])&&Io(o[e])?(r[e]={},To(r[e],t[e]),To(r[e],o[e])):null!=o[e]?r[e]=o[e]:delete r[e]);for(e in t)Zo(t,e)&&!Zo(o,e)&&Io(t[e])&&(r[e]=To({},r[e]));return r}function ne(t){null!=t&&this.set(t)}Do.suppressDeprecationWarnings=!1,Do.deprecationHandler=null,te=Object.keys?Object.keys:function(t){var o,e=[];for(o in t)Zo(t,o)&&e.push(o);return e};function se(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 ae=/(\[[^\[]*\])|(\\)?([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,ce=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,le={},he={};function fe(t,o,e,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(he[t]=i),o&&(he[o[0]]=function(){return se(i.apply(this,arguments),o[1],o[2])}),e&&(he[e]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function ue(t,o){return t.isValid()?(o=de(o,t.localeData()),le[o]=le[o]||function(t){var o,e,r,i=t.match(ae);for(o=0,e=i.length;o<e;o++)he[i[o]]?i[o]=he[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+=re(i[r])?i[r].call(o,t):i[r];return n}}(o),le[o](t)):t.localeData().invalidDate()}function de(t,o){var e=5;function r(t){return o.longDateFormat(t)||t}for(ce.lastIndex=0;e>=0&&ce.test(t);)t=t.replace(ce,r),ce.lastIndex=0,e-=1;return t}var pe={};function ye(t,o){var e=t.toLowerCase();pe[e]=pe[e+"s"]=pe[o]=t}function ge(t){return"string"==typeof t?pe[t]||pe[t.toLowerCase()]:void 0}function me(t){var o,e,r={};for(e in t)Zo(t,e)&&(o=ge(e))&&(r[o]=t[e]);return r}var be={};function Ne(t,o){be[t]=o}function Oe(t){return t%4==0&&t%100!=0||t%400==0}function ve(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function Se(t){var o=+t,e=0;return 0!==o&&isFinite(o)&&(e=ve(o)),e}function we(t,o){return function(e){return null!=e?(Ce(this,t,e),Do.updateOffset(this,o),this):xe(this,t)}}function xe(t,o){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+o]():NaN}function Ce(t,o,e){t.isValid()&&!isNaN(e)&&("FullYear"===o&&Oe(t.year())&&1===t.month()&&29===t.date()?(e=Se(e),t._d["set"+(t._isUTC?"UTC":"")+o](e,t.month(),sr(e,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+o](e))}var Me,Re=/\d/,Ee=/\d\d/,Ue=/\d{3}/,Ye=/\d{4}/,ke=/[+-]?\d{6}/,We=/\d\d?/,De=/\d\d\d\d?/,Le=/\d\d\d\d\d\d?/,Ie=/\d{1,3}/,Ze=/\d{1,4}/,Ke=/[+-]?\d{1,6}/,Ae=/\d+/,Fe=/[+-]?\d+/,_e=/Z|[+-]\d\d:?\d\d/gi,$e=/Z|[+-]\d\d(?::?\d\d)?/gi,Te=/[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 Ge(t,o,e){Me[t]=re(o)?o:function(t,r){return t&&e?e:o}}function He(t,o){return Zo(Me,t)?Me[t](o._strict,o._locale):new RegExp(function(t){return Be(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,o,e,r,i){return o||e||r||i})))}(t))}function Be(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Me={};var ze={};function je(t,o){var e,r,i=o;for("string"==typeof t&&(t=[t]),Fo(o)&&(i=function(t,e){e[o]=Se(t)}),r=t.length,e=0;e<r;e++)ze[t[e]]=i}function Pe(t,o){je(t,(function(t,e,r,i){r._w=r._w||{},o(t,r._w,r,i)}))}function Je(t,o,e){null!=o&&Zo(ze,t)&&ze[t](o,e._a,e,t)}var qe,Qe=0,Ve=1,Xe=2,tr=3,or=4,er=5,rr=6,ir=7,nr=8;function sr(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?Oe(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},fe("M",["MM",2],"Mo",(function(){return this.month()+1})),fe("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),fe("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),ye("month","M"),Ne("month",8),Ge("M",We),Ge("MM",We,Ee),Ge("MMM",(function(t,o){return o.monthsShortRegex(t)})),Ge("MMMM",(function(t,o){return o.monthsRegex(t)})),je(["M","MM"],(function(t,o){o[Ve]=Se(t)-1})),je(["MMM","MMMM"],(function(t,o,e,r){var i=e._locale.monthsParse(t,r,e._strict);null!=i?o[Ve]=i:Ho(e).invalidMonth=t}));var ar="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),cr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),lr=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,hr=Te,fr=Te;function ur(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=Go([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 dr(t,o){var e;if(!t.isValid())return t;if("string"==typeof o)if(/^\d+$/.test(o))o=Se(o);else if(!Fo(o=t.localeData().monthsParse(o)))return t;return e=Math.min(t.date(),sr(t.year(),o)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](o,e),t}function pr(t){return null!=t?(dr(this,t),Do.updateOffset(this,!0),this):xe(this,"Month")}function yr(){function t(t,o){return o.length-t.length}var o,e,r=[],i=[],n=[];for(o=0;o<12;o++)e=Go([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]=Be(r[o]),i[o]=Be(i[o]);for(o=0;o<24;o++)n[o]=Be(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 gr(t){return Oe(t)?366:365}fe("Y",0,0,(function(){var t=this.year();return t<=9999?se(t,4):"+"+t})),fe(0,["YY",2],0,(function(){return this.year()%100})),fe(0,["YYYY",4],0,"year"),fe(0,["YYYYY",5],0,"year"),fe(0,["YYYYYY",6,!0],0,"year"),ye("year","y"),Ne("year",1),Ge("Y",Fe),Ge("YY",We,Ee),Ge("YYYY",Ze,Ye),Ge("YYYYY",Ke,ke),Ge("YYYYYY",Ke,ke),je(["YYYYY","YYYYYY"],Qe),je("YYYY",(function(t,o){o[Qe]=2===t.length?Do.parseTwoDigitYear(t):Se(t)})),je("YY",(function(t,o){o[Qe]=Do.parseTwoDigitYear(t)})),je("Y",(function(t,o){o[Qe]=parseInt(t,10)})),Do.parseTwoDigitYear=function(t){return Se(t)+(Se(t)>68?1900:2e3)};var mr=we("FullYear",!0);function br(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 Nr(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 Or(t,o,e){var r=7+o-e;return-((7+Nr(t,0,r).getUTCDay()-o)%7)+r-1}function vr(t,o,e,r,i){var n,s,a=1+7*(o-1)+(7+e-r)%7+Or(t,r,i);return a<=0?s=gr(n=t-1)+a:a>gr(t)?(n=t+1,s=a-gr(t)):(n=t,s=a),{year:n,dayOfYear:s}}function Sr(t,o,e){var r,i,n=Or(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=Or(t,o,e),i=Or(t+1,o,e);return(gr(t)-r+i)/7}fe("w",["ww",2],"wo","week"),fe("W",["WW",2],"Wo","isoWeek"),ye("week","w"),ye("isoWeek","W"),Ne("week",5),Ne("isoWeek",5),Ge("w",We),Ge("ww",We,Ee),Ge("W",We),Ge("WW",We,Ee),Pe(["w","ww","W","WW"],(function(t,o,e,r){o[r.substr(0,1)]=Se(t)}));function xr(t,o){return t.slice(o,7).concat(t.slice(0,o))}fe("d",0,"do","day"),fe("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),fe("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),fe("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),fe("e",0,0,"weekday"),fe("E",0,0,"isoWeekday"),ye("day","d"),ye("weekday","e"),ye("isoWeekday","E"),Ne("day",11),Ne("weekday",11),Ne("isoWeekday",11),Ge("d",We),Ge("e",We),Ge("E",We),Ge("dd",(function(t,o){return o.weekdaysMinRegex(t)})),Ge("ddd",(function(t,o){return o.weekdaysShortRegex(t)})),Ge("dddd",(function(t,o){return o.weekdaysRegex(t)})),Pe(["dd","ddd","dddd"],(function(t,o,e,r){var i=e._locale.weekdaysParse(t,r,e._strict);null!=i?o.d=i:Ho(e).invalidWeekday=t})),Pe(["d","e","E"],(function(t,o,e,r){o[r]=Se(t)}));var Cr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Mr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Rr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Er=Te,Ur=Te,Yr=Te;function kr(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=Go([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 Wr(){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=Go([2e3,1]).day(o),r=Be(this.weekdaysMin(e,"")),i=Be(this.weekdaysShort(e,"")),n=Be(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 Dr(){return this.hours()%12||12}function Lr(t,o){fe(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),o)}))}function Ir(t,o){return o._meridiemParse}fe("H",["HH",2],0,"hour"),fe("h",["hh",2],0,Dr),fe("k",["kk",2],0,(function(){return this.hours()||24})),fe("hmm",0,0,(function(){return""+Dr.apply(this)+se(this.minutes(),2)})),fe("hmmss",0,0,(function(){return""+Dr.apply(this)+se(this.minutes(),2)+se(this.seconds(),2)})),fe("Hmm",0,0,(function(){return""+this.hours()+se(this.minutes(),2)})),fe("Hmmss",0,0,(function(){return""+this.hours()+se(this.minutes(),2)+se(this.seconds(),2)})),Lr("a",!0),Lr("A",!1),ye("hour","h"),Ne("hour",13),Ge("a",Ir),Ge("A",Ir),Ge("H",We),Ge("h",We),Ge("k",We),Ge("HH",We,Ee),Ge("hh",We,Ee),Ge("kk",We,Ee),Ge("hmm",De),Ge("hmmss",Le),Ge("Hmm",De),Ge("Hmmss",Le),je(["H","HH"],tr),je(["k","kk"],(function(t,o,e){var r=Se(t);o[tr]=24===r?0:r})),je(["a","A"],(function(t,o,e){e._isPm=e._locale.isPM(t),e._meridiem=t})),je(["h","hh"],(function(t,o,e){o[tr]=Se(t),Ho(e).bigHour=!0})),je("hmm",(function(t,o,e){var r=t.length-2;o[tr]=Se(t.substr(0,r)),o[or]=Se(t.substr(r)),Ho(e).bigHour=!0})),je("hmmss",(function(t,o,e){var r=t.length-4,i=t.length-2;o[tr]=Se(t.substr(0,r)),o[or]=Se(t.substr(r,2)),o[er]=Se(t.substr(i)),Ho(e).bigHour=!0})),je("Hmm",(function(t,o,e){var r=t.length-2;o[tr]=Se(t.substr(0,r)),o[or]=Se(t.substr(r))})),je("Hmmss",(function(t,o,e){var r=t.length-4,i=t.length-2;o[tr]=Se(t.substr(0,r)),o[or]=Se(t.substr(r,2)),o[er]=Se(t.substr(i))}));var Zr=we("Hours",!0);var Kr,Ar={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:ar,monthsShort:cr,week:{dow:0,doy:6},weekdays:Cr,weekdaysMin:Rr,weekdaysShort:Mr,meridiemParse:/[ap]\.?m?\.?/i},Fr={},_r={};function $r(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 Tr(t){return t?t.toLowerCase().replace("_","-"):t}function Gr(t){var o=null;if(void 0===Fr[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(t))try{o=Kr._abbr,require("./locale/"+t),Hr(o)}catch(o){Fr[t]=null}return Fr[t]}function Hr(t,o){var e;return t&&((e=Ao(o)?zr(t):Br(t,o))?Kr=e:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Kr._abbr}function Br(t,o){if(null!==o){var e,r=Ar;if(o.abbr=t,null!=Fr[t])ee("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=Fr[t]._config;else if(null!=o.parentLocale)if(null!=Fr[o.parentLocale])r=Fr[o.parentLocale]._config;else{if(null==(e=Gr(o.parentLocale)))return _r[o.parentLocale]||(_r[o.parentLocale]=[]),_r[o.parentLocale].push({name:t,config:o}),null;r=e._config}return Fr[t]=new ne(ie(r,o)),_r[t]&&_r[t].forEach((function(t){Br(t.name,t.config)})),Hr(t),Fr[t]}return delete Fr[t],null}function zr(t){var o;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Kr;if(!Lo(t)){if(o=Gr(t))return o;t=[t]}return function(t){for(var o,e,r,i,n=0;n<t.length;){for(o=(i=Tr(t[n]).split("-")).length,e=(e=Tr(t[n+1]))?e.split("-"):null;o>0;){if(r=Gr(i.slice(0,o).join("-")))return r;if(e&&e.length>=o&&$r(i,e)>=o-1)break;o--}n++}return Kr}(t)}function jr(t){var o,e=t._a;return e&&-2===Ho(t).overflow&&(o=e[Ve]<0||e[Ve]>11?Ve:e[Xe]<1||e[Xe]>sr(e[Qe],e[Ve])?Xe:e[tr]<0||e[tr]>24||24===e[tr]&&(0!==e[or]||0!==e[er]||0!==e[rr])?tr:e[or]<0||e[or]>59?or:e[er]<0||e[er]>59?er:e[rr]<0||e[rr]>999?rr:-1,Ho(t)._overflowDayOfYear&&(o<Qe||o>Xe)&&(o=Xe),Ho(t)._overflowWeeks&&-1===o&&(o=ir),Ho(t)._overflowWeekday&&-1===o&&(o=nr),Ho(t).overflow=o),t}var Pr=/^\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)?)?$/,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=/Z|[+-]\d\d(?::?\d\d)?/,Qr=[["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]],Vr=[["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/]],Xr=/^\/?Date\((-?\d+)/i,ti=/^(?:(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}))$/,oi={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ei(t){var o,e,r,i,n,s,a=t._i,c=Pr.exec(a)||Jr.exec(a),l=Qr.length,h=Vr.length;if(c){for(Ho(t).iso=!0,o=0,e=l;o<e;o++)if(Qr[o][1].exec(c[1])){i=Qr[o][0],r=!1!==Qr[o][2];break}if(null==i)return void(t._isValid=!1);if(c[3]){for(o=0,e=h;o<e;o++)if(Vr[o][1].exec(c[3])){n=(c[2]||" ")+Vr[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||""),ai(t)}else t._isValid=!1}function ri(t){var o=parseInt(t,10);return o<=49?2e3+o:o<=999?1900+o:o}function ii(t){var o,e,r,i,n,s,a,c,l=ti.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=[ri(e),cr.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||Mr.indexOf(t)===new Date(o[0],o[1],o[2]).getDay()||(Ho(e).weekdayMismatch=!0,e._isValid=!1,!1)}(l[1],o,t))return;t._a=o,t._tzm=function(t,o,e){if(t)return oi[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=Nr.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),Ho(t).rfc2822=!0}else t._isValid=!1}function ni(t,o,e){return null!=t?t:null!=o?o:e}function si(t){var o,e,r,i,n,s=[];if(!t._d){for(r=function(t){var o=new Date(Do.now());return t._useUTC?[o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()]:[o.getFullYear(),o.getMonth(),o.getDate()]}(t),t._w&&null==t._a[Xe]&&null==t._a[Ve]&&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=ni(o.GG,t._a[Qe],Sr(hi(),1,4).year),r=ni(o.W,1),((i=ni(o.E,1))<1||i>7)&&(c=!0)):(n=t._locale._week.dow,s=t._locale._week.doy,l=Sr(hi(),n,s),e=ni(o.gg,t._a[Qe],l.year),r=ni(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)?Ho(t)._overflowWeeks=!0:null!=c?Ho(t)._overflowWeekday=!0:(a=vr(e,r,i,n,s),t._a[Qe]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(n=ni(t._a[Qe],r[Qe]),(t._dayOfYear>gr(n)||0===t._dayOfYear)&&(Ho(t)._overflowDayOfYear=!0),e=Nr(n,0,t._dayOfYear),t._a[Ve]=e.getUTCMonth(),t._a[Xe]=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[tr]&&0===t._a[or]&&0===t._a[er]&&0===t._a[rr]&&(t._nextDay=!0,t._a[tr]=0),t._d=(t._useUTC?Nr:br).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[tr]=24),t._w&&void 0!==t._w.d&&t._w.d!==i&&(Ho(t).weekdayMismatch=!0)}}function ai(t){if(t._f!==Do.ISO_8601)if(t._f!==Do.RFC_2822){t._a=[],Ho(t).empty=!0;var o,e,r,i,n,s,a,c=""+t._i,l=c.length,h=0;for(a=(r=de(t._f,t._locale).match(ae)||[]).length,o=0;o<a;o++)i=r[o],(e=(c.match(He(i,t))||[])[0])&&((n=c.substr(0,c.indexOf(e))).length>0&&Ho(t).unusedInput.push(n),c=c.slice(c.indexOf(e)+e.length),h+=e.length),he[i]?(e?Ho(t).empty=!1:Ho(t).unusedTokens.push(i),Je(i,e,t)):t._strict&&!e&&Ho(t).unusedTokens.push(i);Ho(t).charsLeftOver=l-h,c.length>0&&Ho(t).unusedInput.push(c),t._a[tr]<=12&&!0===Ho(t).bigHour&&t._a[tr]>0&&(Ho(t).bigHour=void 0),Ho(t).parsedDateParts=t._a.slice(0),Ho(t).meridiem=t._meridiem,t._a[tr]=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[tr],t._meridiem),null!==(s=Ho(t).era)&&(t._a[Qe]=t._locale.erasConvertYear(s,t._a[Qe])),si(t),jr(t)}else ii(t);else ei(t)}function ci(t){var o=t._i,e=t._f;return t._locale=t._locale||zr(t._l),null===o||void 0===e&&""===o?zo({nullInput:!0}):("string"==typeof o&&(t._i=o=t._locale.preparse(o)),Qo(o)?new qo(jr(o)):(_o(o)?t._d=o:Lo(e)?function(t){var o,e,r,i,n,s,a=!1,c=t._f.length;if(0===c)return Ho(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<c;i++)n=0,s=!1,o=Jo({},t),null!=t._useUTC&&(o._useUTC=t._useUTC),o._f=t._f[i],ai(o),Bo(o)&&(s=!0),n+=Ho(o).charsLeftOver,n+=10*Ho(o).unusedTokens.length,Ho(o).score=n,a?n<r&&(r=n,e=o):(null==r||n<r||s)&&(r=n,e=o,s&&(a=!0));To(t,e||o)}(t):e?ai(t):function(t){var o=t._i;Ao(o)?t._d=new Date(Do.now()):_o(o)?t._d=new Date(o.valueOf()):"string"==typeof o?function(t){var o=Xr.exec(t._i);null===o?(ei(t),!1===t._isValid&&(delete t._isValid,ii(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:Do.createFromInputFallback(t)))):t._d=new Date(+o[1])}(t):Lo(o)?(t._a=$o(o.slice(0),(function(t){return parseInt(t,10)})),si(t)):Io(o)?function(t){if(!t._d){var o=me(t._i),e=void 0===o.day?o.date:o.day;t._a=$o([o.year,o.month,e,o.hour,o.minute,o.second,o.millisecond],(function(t){return t&&parseInt(t,10)})),si(t)}}(t):Fo(o)?t._d=new Date(o):Do.createFromInputFallback(t)}(t),Bo(t)||(t._d=null),t))}function li(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),(Io(t)&&Ko(t)||Lo(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(jr(ci(s))))._nextDay&&(n.add(1,"d"),n._nextDay=void 0),n}function hi(t,o,e,r){return li(t,o,e,r,!1)}Do.createFromInputFallback=Xo("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":""))})),Do.ISO_8601=function(){},Do.RFC_2822=function(){};var fi=Xo("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=hi.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:zo()})),ui=Xo("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=hi.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:zo()}));function di(t,o){var e,r;if(1===o.length&&Lo(o[0])&&(o=o[0]),!o.length)return hi();for(e=o[0],r=1;r<o.length;++r)o[r].isValid()&&!o[r][t](e)||(e=o[r]);return e}var pi=["year","quarter","month","week","day","hour","minute","second","millisecond"];function yi(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=pi.length;for(o in t)if(Zo(t,o)&&(-1===qe.call(pi,o)||null!=t[o]&&isNaN(t[o])))return!1;for(e=0;e<i;++e)if(t[pi[e]]){if(r)return!1;parseFloat(t[pi[e]])!==Se(t[pi[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=zr(),this._bubble()}function gi(t){return t instanceof yi}function mi(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function bi(t,o){fe(t,0,0,(function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+se(~~(t/60),2)+o+se(~~t%60,2)}))}bi("Z",":"),bi("ZZ",""),Ge("Z",$e),Ge("ZZ",$e),je(["Z","ZZ"],(function(t,o,e){e._useUTC=!0,e._tzm=Oi($e,t)}));var Ni=/([\+\-]|\d\d)/gi;function Oi(t,o){var e,r,i=(o||"").match(t);return null===i?null:0===(r=60*(e=((i[i.length-1]||[])+"").match(Ni)||["-",0,0])[1]+Se(e[2]))?0:"+"===e[0]?r:-r}function vi(t,o){var e,r;return o._isUTC?(e=o.clone(),r=(Qo(t)||_o(t)?t.valueOf():hi(t).valueOf())-e.valueOf(),e._d.setTime(e._d.valueOf()+r),Do.updateOffset(e,!1),e):hi(t).local()}function Si(t){return-Math.round(t._d.getTimezoneOffset())}function wi(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}Do.updateOffset=function(){};var xi=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ci=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Mi(t,o){var e,r,i,n=t,s=null;return gi(t)?n={ms:t._milliseconds,d:t._days,M:t._months}:Fo(t)||!isNaN(+t)?(n={},o?n[o]=+t:n.milliseconds=+t):(s=xi.exec(t))?(e="-"===s[1]?-1:1,n={y:0,d:Se(s[Xe])*e,h:Se(s[tr])*e,m:Se(s[or])*e,s:Se(s[er])*e,ms:Se(mi(1e3*s[rr]))*e}):(s=Ci.exec(t))?(e="-"===s[1]?-1:1,n={y:Ri(s[2],e),M:Ri(s[3],e),w:Ri(s[4],e),d:Ri(s[5],e),h:Ri(s[6],e),m:Ri(s[7],e),s:Ri(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=vi(o,t),t.isBefore(o)?e=Ei(t,o):((e=Ei(o,t)).milliseconds=-e.milliseconds,e.months=-e.months);return e}(hi(n.from),hi(n.to)),(n={}).ms=i.milliseconds,n.M=i.months),r=new yi(n),gi(t)&&Zo(t,"_locale")&&(r._locale=t._locale),gi(t)&&Zo(t,"_isValid")&&(r._isValid=t._isValid),r}function Ri(t,o){var e=t&&parseFloat(t.replace(",","."));return(isNaN(e)?0:e)*o}function Ei(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 Ui(t,o){return function(e,r){var i;return null===r||isNaN(+r)||(ee(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),Yi(this,Mi(e,r),t),this}}function Yi(t,o,e,r){var i=o._milliseconds,n=mi(o._days),s=mi(o._months);t.isValid()&&(r=null==r||r,s&&dr(t,xe(t,"Month")+s*e),n&&Ce(t,"Date",xe(t,"Date")+n*e),i&&t._d.setTime(t._d.valueOf()+i*e),r&&Do.updateOffset(t,n||s))}Mi.fn=yi.prototype,Mi.invalid=function(){return Mi(NaN)};var ki=Ui(1,"add"),Wi=Ui(-1,"subtract");function Di(t){return"string"==typeof t||t instanceof String}function Li(t){return Qo(t)||_o(t)||Di(t)||Fo(t)||function(t){var o=Lo(t),e=!1;o&&(e=0===t.filter((function(o){return!Fo(o)&&Di(t)})).length);return o&&e}(t)||function(t){var o,e,r=Io(t)&&!Ko(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||Zo(t,e);return r&&i}(t)||null==t}function Ii(t,o){if(t.date()<o.date())return-Ii(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 Zi(t){var o;return void 0===t?this._locale._abbr:(null!=(o=zr(t))&&(this._locale=o),this)}Do.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",Do.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ki=Xo("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 Ai(){return this._locale}var Fi=1e3,_i=6e4,$i=36e5,Ti=126227808e5;function Gi(t,o){return(t%o+o)%o}function Hi(t,o,e){return t<100&&t>=0?new Date(t+400,o,e)-Ti:new Date(t,o,e).valueOf()}function Bi(t,o,e){return t<100&&t>=0?Date.UTC(t+400,o,e)-Ti:Date.UTC(t,o,e)}function zi(t,o){return o.erasAbbrRegex(t)}function ji(){var t,o,e=[],r=[],i=[],n=[],s=this.eras();for(t=0,o=s.length;t<o;++t)r.push(Be(s[t].name)),e.push(Be(s[t].abbr)),i.push(Be(s[t].narrow)),n.push(Be(s[t].name)),n.push(Be(s[t].abbr)),n.push(Be(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 Pi(t,o){fe(0,[t,t.length],0,o)}function Ji(t,o,e,r,i){var n;return null==t?Sr(this,r,i).year:(o>(n=wr(t,r,i))&&(o=n),qi.call(this,t,o,e,r,i))}function qi(t,o,e,r,i){var n=vr(t,o,e,r,i),s=Nr(n.year,0,n.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}fe("N",0,0,"eraAbbr"),fe("NN",0,0,"eraAbbr"),fe("NNN",0,0,"eraAbbr"),fe("NNNN",0,0,"eraName"),fe("NNNNN",0,0,"eraNarrow"),fe("y",["y",1],"yo","eraYear"),fe("y",["yy",2],0,"eraYear"),fe("y",["yyy",3],0,"eraYear"),fe("y",["yyyy",4],0,"eraYear"),Ge("N",zi),Ge("NN",zi),Ge("NNN",zi),Ge("NNNN",(function(t,o){return o.erasNameRegex(t)})),Ge("NNNNN",(function(t,o){return o.erasNarrowRegex(t)})),je(["N","NN","NNN","NNNN","NNNNN"],(function(t,o,e,r){var i=e._locale.erasParse(t,r,e._strict);i?Ho(e).era=i:Ho(e).invalidEra=t})),Ge("y",Ae),Ge("yy",Ae),Ge("yyy",Ae),Ge("yyyy",Ae),Ge("yo",(function(t,o){return o._eraYearOrdinalRegex||Ae})),je(["y","yy","yyy","yyyy"],Qe),je(["yo"],(function(t,o,e,r){var i;e._locale._eraYearOrdinalRegex&&(i=t.match(e._locale._eraYearOrdinalRegex)),e._locale.eraYearOrdinalParse?o[Qe]=e._locale.eraYearOrdinalParse(t,i):o[Qe]=parseInt(t,10)})),fe(0,["gg",2],0,(function(){return this.weekYear()%100})),fe(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Pi("gggg","weekYear"),Pi("ggggg","weekYear"),Pi("GGGG","isoWeekYear"),Pi("GGGGG","isoWeekYear"),ye("weekYear","gg"),ye("isoWeekYear","GG"),Ne("weekYear",1),Ne("isoWeekYear",1),Ge("G",Fe),Ge("g",Fe),Ge("GG",We,Ee),Ge("gg",We,Ee),Ge("GGGG",Ze,Ye),Ge("gggg",Ze,Ye),Ge("GGGGG",Ke,ke),Ge("ggggg",Ke,ke),Pe(["gggg","ggggg","GGGG","GGGGG"],(function(t,o,e,r){o[r.substr(0,2)]=Se(t)})),Pe(["gg","GG"],(function(t,o,e,r){o[r]=Do.parseTwoDigitYear(t)})),fe("Q",0,"Qo","quarter"),ye("quarter","Q"),Ne("quarter",7),Ge("Q",Re),je("Q",(function(t,o){o[Ve]=3*(Se(t)-1)})),fe("D",["DD",2],"Do","date"),ye("date","D"),Ne("date",9),Ge("D",We),Ge("DD",We,Ee),Ge("Do",(function(t,o){return t?o._dayOfMonthOrdinalParse||o._ordinalParse:o._dayOfMonthOrdinalParseLenient})),je(["D","DD"],Xe),je("Do",(function(t,o){o[Xe]=Se(t.match(We)[0])}));var Qi=we("Date",!0);fe("DDD",["DDDD",3],"DDDo","dayOfYear"),ye("dayOfYear","DDD"),Ne("dayOfYear",4),Ge("DDD",Ie),Ge("DDDD",Ue),je(["DDD","DDDD"],(function(t,o,e){e._dayOfYear=Se(t)})),fe("m",["mm",2],0,"minute"),ye("minute","m"),Ne("minute",14),Ge("m",We),Ge("mm",We,Ee),je(["m","mm"],or);var Vi=we("Minutes",!1);fe("s",["ss",2],0,"second"),ye("second","s"),Ne("second",15),Ge("s",We),Ge("ss",We,Ee),je(["s","ss"],er);var Xi,tn,on=we("Seconds",!1);for(fe("S",0,0,(function(){return~~(this.millisecond()/100)})),fe(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),fe(0,["SSS",3],0,"millisecond"),fe(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),fe(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),fe(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),fe(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),fe(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),fe(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),ye("millisecond","ms"),Ne("millisecond",16),Ge("S",Ie,Re),Ge("SS",Ie,Ee),Ge("SSS",Ie,Ue),Xi="SSSS";Xi.length<=9;Xi+="S")Ge(Xi,Ae);function en(t,o){o[rr]=Se(1e3*("0."+t))}for(Xi="S";Xi.length<=9;Xi+="S")je(Xi,en);tn=we("Milliseconds",!1),fe("z",0,0,"zoneAbbr"),fe("zz",0,0,"zoneName");var rn=qo.prototype;function nn(t){return t}rn.add=ki,rn.calendar=function(t,o){1===arguments.length&&(arguments[0]?Li(arguments[0])?(t=arguments[0],o=void 0):function(t){var o,e=Io(t)&&!Ko(t),r=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(o=0;o<i.length;o+=1)r=r||Zo(t,i[o]);return e&&r}(arguments[0])&&(o=arguments[0],t=void 0):(t=void 0,o=void 0));var e=t||hi(),r=vi(e,this).startOf("day"),i=Do.calendarFormat(this,r)||"sameElse",n=o&&(re(o[i])?o[i].call(this,e):o[i]);return this.format(n||this.localeData().calendar(i,this,hi(e)))},rn.clone=function(){return new qo(this)},rn.diff=function(t,o,e){var r,i,n;if(!this.isValid())return NaN;if(!(r=vi(t,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),o=ge(o)){case"year":n=Ii(this,r)/12;break;case"month":n=Ii(this,r);break;case"quarter":n=Ii(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:ve(n)},rn.endOf=function(t){var o,e;if(void 0===(t=ge(t))||"millisecond"===t||!this.isValid())return this;switch(e=this._isUTC?Bi:Hi,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+=$i-Gi(o+(this._isUTC?0:this.utcOffset()*_i),$i)-1;break;case"minute":o=this._d.valueOf(),o+=_i-Gi(o,_i)-1;break;case"second":o=this._d.valueOf(),o+=Fi-Gi(o,Fi)-1}return this._d.setTime(o),Do.updateOffset(this,!0),this},rn.format=function(t){t||(t=this.isUtc()?Do.defaultFormatUtc:Do.defaultFormat);var o=ue(this,t);return this.localeData().postformat(o)},rn.from=function(t,o){return this.isValid()&&(Qo(t)&&t.isValid()||hi(t).isValid())?Mi({to:this,from:t}).locale(this.locale()).humanize(!o):this.localeData().invalidDate()},rn.fromNow=function(t){return this.from(hi(),t)},rn.to=function(t,o){return this.isValid()&&(Qo(t)&&t.isValid()||hi(t).isValid())?Mi({from:this,to:t}).locale(this.locale()).humanize(!o):this.localeData().invalidDate()},rn.toNow=function(t){return this.to(hi(),t)},rn.get=function(t){return re(this[t=ge(t)])?this[t]():this},rn.invalidAt=function(){return Ho(this).overflow},rn.isAfter=function(t,o){var e=Qo(t)?t:hi(t);return!(!this.isValid()||!e.isValid())&&("millisecond"===(o=ge(o)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(o).valueOf())},rn.isBefore=function(t,o){var e=Qo(t)?t:hi(t);return!(!this.isValid()||!e.isValid())&&("millisecond"===(o=ge(o)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(o).valueOf()<e.valueOf())},rn.isBetween=function(t,o,e,r){var i=Qo(t)?t:hi(t),n=Qo(o)?o:hi(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)))},rn.isSame=function(t,o){var e,r=Qo(t)?t:hi(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(o=ge(o)||"millisecond")?this.valueOf()===r.valueOf():(e=r.valueOf(),this.clone().startOf(o).valueOf()<=e&&e<=this.clone().endOf(o).valueOf()))},rn.isSameOrAfter=function(t,o){return this.isSame(t,o)||this.isAfter(t,o)},rn.isSameOrBefore=function(t,o){return this.isSame(t,o)||this.isBefore(t,o)},rn.isValid=function(){return Bo(this)},rn.lang=Ki,rn.locale=Zi,rn.localeData=Ai,rn.max=ui,rn.min=fi,rn.parsingFlags=function(){return To({},Ho(this))},rn.set=function(t,o){if("object"==typeof t){var e,r=function(t){var o,e=[];for(o in t)Zo(t,o)&&e.push({unit:o,priority:be[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(re(this[t=ge(t)]))return this[t](o);return this},rn.startOf=function(t){var o,e;if(void 0===(t=ge(t))||"millisecond"===t||!this.isValid())return this;switch(e=this._isUTC?Bi:Hi,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-=Gi(o+(this._isUTC?0:this.utcOffset()*_i),$i);break;case"minute":o=this._d.valueOf(),o-=Gi(o,_i);break;case"second":o=this._d.valueOf(),o-=Gi(o,Fi)}return this._d.setTime(o),Do.updateOffset(this,!0),this},rn.subtract=Wi,rn.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},rn.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()}},rn.toDate=function(){return new Date(this.valueOf())},rn.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?ue(e,o?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):re(Date.prototype.toISOString)?o?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ue(e,"Z")):ue(e,o?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},rn.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&&(rn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),rn.toJSON=function(){return this.isValid()?this.toISOString():null},rn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},rn.unix=function(){return Math.floor(this.valueOf()/1e3)},rn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},rn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},rn.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""},rn.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""},rn.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""},rn.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()-Do(i[t].since).year())*e+i[t].offset;return this.year()},rn.year=mr,rn.isLeapYear=function(){return Oe(this.year())},rn.weekYear=function(t){return Ji.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},rn.isoWeekYear=function(t){return Ji.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},rn.quarter=rn.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},rn.month=pr,rn.daysInMonth=function(){return sr(this.year(),this.month())},rn.week=rn.weeks=function(t){var o=this.localeData().week(this);return null==t?o:this.add(7*(t-o),"d")},rn.isoWeek=rn.isoWeeks=function(t){var o=Sr(this,1,4).week;return null==t?o:this.add(7*(t-o),"d")},rn.weeksInYear=function(){var t=this.localeData()._week;return wr(this.year(),t.dow,t.doy)},rn.weeksInWeekYear=function(){var t=this.localeData()._week;return wr(this.weekYear(),t.dow,t.doy)},rn.isoWeeksInYear=function(){return wr(this.year(),1,4)},rn.isoWeeksInISOWeekYear=function(){return wr(this.isoWeekYear(),1,4)},rn.date=Qi,rn.day=rn.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},rn.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")},rn.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},rn.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")},rn.hour=rn.hours=Zr,rn.minute=rn.minutes=Vi,rn.second=rn.seconds=on,rn.millisecond=rn.milliseconds=tn,rn.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=Oi($e,t)))return this}else Math.abs(t)<16&&!e&&(t*=60);return!this._isUTC&&o&&(r=Si(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==t&&(!o||this._changeInProgress?Yi(this,Mi(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,Do.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Si(this)},rn.utc=function(t){return this.utcOffset(0,t)},rn.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Si(this),"m")),this},rn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Oi(_e,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},rn.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?hi(t).utcOffset():0,(this.utcOffset()-t)%60==0)},rn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},rn.isLocal=function(){return!!this.isValid()&&!this._isUTC},rn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},rn.isUtc=wi,rn.isUTC=wi,rn.zoneAbbr=function(){return this._isUTC?"UTC":""},rn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},rn.dates=Xo("dates accessor is deprecated. Use date instead.",Qi),rn.months=Xo("months accessor is deprecated. Use month instead",pr),rn.years=Xo("years accessor is deprecated. Use year instead",mr),rn.zone=Xo("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()})),rn.isDSTShifted=Xo("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!Ao(this._isDSTShifted))return this._isDSTShifted;var t,o={};return Jo(o,this),(o=ci(o))._a?(t=o._isUTC?Go(o._a):hi(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&&Se(t[r])!==Se(o[r]))&&s++;return s+n}(o._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var sn=ne.prototype;function an(t,o,e,r){var i=zr(),n=Go().set(r,o);return i[e](n,t)}function cn(t,o,e){if(Fo(t)&&(o=t,t=void 0),t=t||"",null!=o)return an(t,o,e,"month");var r,i=[];for(r=0;r<12;r++)i[r]=an(t,r,e,"month");return i}function ln(t,o,e,r){"boolean"==typeof t?(Fo(o)&&(e=o,o=void 0),o=o||""):(e=o=t,t=!1,Fo(o)&&(e=o,o=void 0),o=o||"");var i,n=zr(),s=t?n._week.dow:0,a=[];if(null!=e)return an(o,(e+s)%7,r,"day");for(i=0;i<7;i++)a[i]=an(o,(i+s)%7,r,"day");return a}sn.calendar=function(t,o,e){var r=this._calendar[t]||this._calendar.sameElse;return re(r)?r.call(o,e):r},sn.longDateFormat=function(t){var o=this._longDateFormat[t],e=this._longDateFormat[t.toUpperCase()];return o||!e?o:(this._longDateFormat[t]=e.match(ae).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},sn.invalidDate=function(){return this._invalidDate},sn.ordinal=function(t){return this._ordinal.replace("%d",t)},sn.preparse=nn,sn.postformat=nn,sn.relativeTime=function(t,o,e,r){var i=this._relativeTime[e];return re(i)?i(t,o,e,r):i.replace(/%d/i,t)},sn.pastFuture=function(t,o){var e=this._relativeTime[t>0?"future":"past"];return re(e)?e(o):e.replace(/%s/i,o)},sn.set=function(t){var o,e;for(e in t)Zo(t,e)&&(re(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)},sn.eras=function(t,o){var e,r,i,n=this._eras||zr("en")._eras;for(e=0,r=n.length;e<r;++e){if("string"==typeof n[e].since)i=Do(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=Do(n[e].until).startOf("day").valueOf(),n[e].until=i.valueOf()}}return n},sn.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]},sn.erasConvertYear=function(t,o){var e=t.since<=t.until?1:-1;return void 0===o?Do(t.since).year():Do(t.since).year()+(o-t.offset)*e},sn.erasAbbrRegex=function(t){return Zo(this,"_erasAbbrRegex")||ji.call(this),t?this._erasAbbrRegex:this._erasRegex},sn.erasNameRegex=function(t){return Zo(this,"_erasNameRegex")||ji.call(this),t?this._erasNameRegex:this._erasRegex},sn.erasNarrowRegex=function(t){return Zo(this,"_erasNarrowRegex")||ji.call(this),t?this._erasNarrowRegex:this._erasRegex},sn.months=function(t,o){return t?Lo(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||lr).test(o)?"format":"standalone"][t.month()]:Lo(this._months)?this._months:this._months.standalone},sn.monthsShort=function(t,o){return t?Lo(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[lr.test(o)?"format":"standalone"][t.month()]:Lo(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},sn.monthsParse=function(t,o,e){var r,i,n;if(this._monthsParseExact)return ur.call(this,t,o,e);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=Go([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}},sn.monthsRegex=function(t){return this._monthsParseExact?(Zo(this,"_monthsRegex")||yr.call(this),t?this._monthsStrictRegex:this._monthsRegex):(Zo(this,"_monthsRegex")||(this._monthsRegex=fr),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},sn.monthsShortRegex=function(t){return this._monthsParseExact?(Zo(this,"_monthsRegex")||yr.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(Zo(this,"_monthsShortRegex")||(this._monthsShortRegex=hr),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},sn.week=function(t){return Sr(t,this._week.dow,this._week.doy).week},sn.firstDayOfYear=function(){return this._week.doy},sn.firstDayOfWeek=function(){return this._week.dow},sn.weekdays=function(t,o){var e=Lo(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(o)?"format":"standalone"];return!0===t?xr(e,this._week.dow):t?e[t.day()]:e},sn.weekdaysMin=function(t){return!0===t?xr(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},sn.weekdaysShort=function(t){return!0===t?xr(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},sn.weekdaysParse=function(t,o,e){var r,i,n;if(this._weekdaysParseExact)return kr.call(this,t,o,e);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=Go([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}},sn.weekdaysRegex=function(t){return this._weekdaysParseExact?(Zo(this,"_weekdaysRegex")||Wr.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(Zo(this,"_weekdaysRegex")||(this._weekdaysRegex=Er),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},sn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(Zo(this,"_weekdaysRegex")||Wr.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Zo(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ur),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},sn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(Zo(this,"_weekdaysRegex")||Wr.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Zo(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Yr),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},sn.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},sn.meridiem=function(t,o,e){return t>11?e?"pm":"PM":e?"am":"AM"},Hr("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===Se(t%100/10)?"th":1===o?"st":2===o?"nd":3===o?"rd":"th")}}),Do.lang=Xo("moment.lang is deprecated. Use moment.locale instead.",Hr),Do.langData=Xo("moment.langData is deprecated. Use moment.localeData instead.",zr);var hn=Math.abs;function fn(t,o,e,r){var i=Mi(o,e);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function un(t){return t<0?Math.floor(t):Math.ceil(t)}function dn(t){return 4800*t/146097}function pn(t){return 146097*t/4800}function yn(t){return function(){return this.as(t)}}var gn=yn("ms"),mn=yn("s"),bn=yn("m"),Nn=yn("h"),On=yn("d"),vn=yn("w"),Sn=yn("M"),wn=yn("Q"),xn=yn("y");function Cn(t){return function(){return this.isValid()?this._data[t]:NaN}}var Mn=Cn("milliseconds"),Rn=Cn("seconds"),En=Cn("minutes"),Un=Cn("hours"),Yn=Cn("days"),kn=Cn("months"),Wn=Cn("years");var Dn=Math.round,Ln={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function In(t,o,e,r,i){return i.relativeTime(o||1,!!e,t,r)}var Zn=Math.abs;function Kn(t){return(t>0)-(t<0)||+t}function An(){if(!this.isValid())return this.localeData().invalidDate();var t,o,e,r,i,n,s,a,c=Zn(this._milliseconds)/1e3,l=Zn(this._days),h=Zn(this._months),f=this.asSeconds();return f?(t=ve(c/60),o=ve(t/60),c%=60,t%=60,e=ve(h/12),h%=12,r=c?c.toFixed(3).replace(/\.?0+$/,""):"",i=f<0?"-":"",n=Kn(this._months)!==Kn(f)?"-":"",s=Kn(this._days)!==Kn(f)?"-":"",a=Kn(this._milliseconds)!==Kn(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 Fn,_n=yi.prototype;_n.isValid=function(){return this._isValid},_n.abs=function(){var t=this._data;return this._milliseconds=hn(this._milliseconds),this._days=hn(this._days),this._months=hn(this._months),t.milliseconds=hn(t.milliseconds),t.seconds=hn(t.seconds),t.minutes=hn(t.minutes),t.hours=hn(t.hours),t.months=hn(t.months),t.years=hn(t.years),this},_n.add=function(t,o){return fn(this,t,o,1)},_n.subtract=function(t,o){return fn(this,t,o,-1)},_n.as=function(t){if(!this.isValid())return NaN;var o,e,r=this._milliseconds;if("month"===(t=ge(t))||"quarter"===t||"year"===t)switch(o=this._days+r/864e5,e=this._months+dn(o),t){case"month":return e;case"quarter":return e/3;case"year":return e/12}else switch(o=this._days+Math.round(pn(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=gn,_n.asSeconds=mn,_n.asMinutes=bn,_n.asHours=Nn,_n.asDays=On,_n.asWeeks=vn,_n.asMonths=Sn,_n.asQuarters=wn,_n.asYears=xn,_n.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Se(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*un(pn(a)+s),s=0,a=0),c.milliseconds=n%1e3,t=ve(n/1e3),c.seconds=t%60,o=ve(t/60),c.minutes=o%60,e=ve(o/60),c.hours=e%24,s+=ve(e/24),a+=i=ve(dn(s)),s-=un(pn(i)),r=ve(a/12),a%=12,c.days=s,c.months=a,c.years=r,this},_n.clone=function(){return Mi(this)},_n.get=function(t){return t=ge(t),this.isValid()?this[t+"s"]():NaN},_n.milliseconds=Mn,_n.seconds=Rn,_n.minutes=En,_n.hours=Un,_n.days=Yn,_n.weeks=function(){return ve(this.days()/7)},_n.months=kn,_n.years=Wn,_n.humanize=function(t,o){if(!this.isValid())return this.localeData().invalidDate();var e,r,i=!1,n=Ln;return"object"==typeof t&&(o=t,t=!1),"boolean"==typeof t&&(i=t),"object"==typeof o&&(n=Object.assign({},Ln,o),null!=o.s&&null==o.ss&&(n.ss=o.s-1)),r=function(t,o,e,r){var i=Mi(t).abs(),n=Dn(i.as("s")),s=Dn(i.as("m")),a=Dn(i.as("h")),c=Dn(i.as("d")),l=Dn(i.as("M")),h=Dn(i.as("w")),f=Dn(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,In.apply(null,u)}(this,!i,n,e=this.localeData()),i&&(r=e.pastFuture(+this,r)),e.postformat(r)},_n.toISOString=An,_n.toString=An,_n.toJSON=An,_n.locale=Zi,_n.localeData=Ai,_n.toIsoString=Xo("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",An),_n.lang=Ki,fe("X",0,0,"unix"),fe("x",0,0,"valueOf"),Ge("x",Fe),Ge("X",/[+-]?\d+(\.\d{1,3})?/),je("X",(function(t,o,e){e._d=new Date(1e3*parseFloat(t))})),je("x",(function(t,o,e){e._d=new Date(Se(t))})),
|
|
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))})),
|
|
108
112
|
//! moment.js
|
|
109
|
-
|
|
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`
|
|
110
114
|
.sessions-chart {
|
|
111
115
|
height: 100%;
|
|
112
116
|
width: 100%;
|
|
113
117
|
}
|
|
114
|
-
`;var
|
|
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`
|
|
115
119
|
<div class="sessions-chart"></div>
|
|
116
|
-
`}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?
|
|
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}({});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-chart",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
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.
|
|
22
|
+
"@fluid-topics/ft-wc-utils": "1.1.3",
|
|
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": "
|
|
32
|
+
"gitHead": "0d44a470e710f185c37e42ee87be4481a3bdf793"
|
|
33
33
|
}
|