@fluid-topics/ft-chart 1.1.42 → 1.1.43

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.
@@ -12,55 +12,55 @@
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,e=window.customElements.define,r=window.customElements.get,o=window.customElements,n=new WeakMap,i=new WeakMap,a=new WeakMap,s=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,n){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(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=n.prototype.attributeChangedCallback,c=new Set(n.observedAttributes||[]);h(n,c,s);const l={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(n,l);let u=r.call(o,t);u||(u=f(t),e.call(o,t,u)),this===window.customElements&&(a.set(n,l),l.standInClass=u);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)i.delete(t),p(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){g.push(this),o.upgrade.apply(o,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let r=this._whenDefinedPromises.get(t);return void 0===r&&(r={},r.promise=new Promise((t=>r.resolve=t)),this._whenDefinedPromises.set(t,r)),r.promise}_upgradeWhenDefined(t,e,r){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),r?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=c;if(e)return c=void 0,e;const r=a.get(this.constructor);if(!r)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],r.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,r),e},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,u=t=>{let e=t.getRootNode();if(!l(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),l(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const r=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(r,HTMLElement.prototype);const o=u(r)||window.customElements,n=o._getDefinition(e);return n?p(r,n):i.set(r,o),r}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,e,r)=>{if(0===e.size||void 0===r)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);o.call(this,i,n),r.call(this,i,t,n)}else o.call(this,i,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),r.call(this,o,t,null)}else n.call(this,o)});const i=t.prototype.toggleAttribute;i&&(t.prototype.toggleAttribute=function(t,o){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,o);const e=this.getAttribute(n);r.call(this,n,t,e)}else i.call(this,n,o)})},d=e=>{const r=Object.getPrototypeOf(e);if(r!==window.HTMLElement)return r===t?Object.setPrototypeOf(e,window.HTMLElement):d(r)},p=(t,e,r=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),c=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((r=>{t.hasAttribute(r)&&e.attributeChangedCallback.call(t,r,null,t.getAttribute(r))})),r&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const m=(t,e,r=void 0)=>{const o=(r?Object.getPrototypeOf(r):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=o.apply(r||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};m(ShadowRoot,"createElement",document),m(ShadowRoot,"importNode",document),m(Element,"insertAdjacentHTML");const b=(t,e)=>{const r=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...r,set(t){g.push(this),r.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,e=HTMLElement.prototype.attachInternals,r=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...r){const o=e.call(this,...r);return t.set(o,this),o},r.forEach((e=>{const r=window.ElementInternals.prototype,o=r[e];r[e]=function(...e){const r=t.get(this);if(!0===n.get(r).formAssociated)return o?.call(this,...e);throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class i{constructor(t){const e=new Map;t.forEach(((t,r)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+r]=t,n.push(t),e.set(o,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const r of t){const t=n.get(r);t&&!0!==t.formAssociated||e.push(r)}return new i(e)}})}}try{window.customElements.define("custom-element",null)}catch(dn){const t=window.customElements.define;window.customElements.define=(e,r,o)=>{if(null!==r)try{t.bind(window.customElements)(e,r,o)}catch(t){console.info(e,r,o,t)}}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,r=window.customElements,n=new WeakMap,i=new WeakMap,a=new WeakMap,s=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,n){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(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=n.prototype.attributeChangedCallback,c=new Set(n.observedAttributes||[]);h(n,c,s);const l={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(n,l);let u=o.call(r,t);u||(u=f(t),e.call(r,t,u)),this===window.customElements&&(a.set(n,l),l.standInClass=u);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)i.delete(t),p(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),o?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=c;if(e)return c=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,o),e},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,u=t=>{let e=t.getRootNode();if(!l(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),l(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const r=u(o)||window.customElements,n=r._getDefinition(e);return n?p(o,n):i.set(o,r),o}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,e,o)=>{if(0===e.size||void 0===o)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,n){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i,n),o.call(this,i,t,n)}else r.call(this,i,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r),o.call(this,r,t,null)}else n.call(this,r)});const i=t.prototype.toggleAttribute;i&&(t.prototype.toggleAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r);const e=this.getAttribute(n);o.call(this,n,t,e)}else i.call(this,n,r)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):d(o)},p=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),c=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const m=(t,e,o=void 0)=>{const r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=r.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};m(ShadowRoot,"createElement",document),m(ShadowRoot,"importNode",document),m(Element,"insertAdjacentHTML");const b=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.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,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const r=e.call(this,...o);return t.set(r,this),r},o.forEach((e=>{const o=window.ElementInternals.prototype,r=o[e];o[e]=function(...e){const o=t.get(this);if(!0===n.get(o).formAssociated)return r?.call(this,...e);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 i{constructor(t){const e=new Map;t.forEach(((t,o)=>{const r=t.getAttribute("name"),n=e.get(r)||[];this[+o]=t,n.push(t),e.set(r,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=n.get(o);t&&!0!==t.formAssociated||e.push(o)}return new i(e)}})}}try{window.customElements.define("custom-element",null)}catch(Nn){const t=window.customElements.define;window.customElements.define=(e,o,r)=>{if(null!==o)try{t.bind(window.customElements)(e,o,r)}catch(t){console.info(e,o,r,t)}}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
19
19
  * SPDX-License-Identifier: BSD-3-Clause
20
- */const e=globalThis,r=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,o=Symbol(),n=new WeakMap;const i=t=>new class{constructor(t,e,r){if(this._$cssResult$=!0,r!==o)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(r&&void 0===t){const r=void 0!==e&&1===e.length;r&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&n.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,o),a=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return i(e)})(t):t
20
+ */const e=globalThis,o=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;const i=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(o&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&n.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),a=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return i(e)})(t):t
21
21
  /**
22
22
  * @license
23
23
  * Copyright 2017 Google LLC
24
24
  * SPDX-License-Identifier: BSD-3-Clause
25
- */,{is:s,defineProperty:c,getOwnPropertyDescriptor:l,getOwnPropertyNames:u,getOwnPropertySymbols:f,getPrototypeOf:h}=Object,d=globalThis,p=d.trustedTypes,y=p?p.emptyScript:"",g=d.reactiveElementPolyfillSupport,m=(t,e)=>t,b={toAttribute(t,e){switch(e){case Boolean:t=t?y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},v=(t,e)=>!s(t,e),O={attribute:!0,type:String,converter:b,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),d.litPropertyMetadata??=new WeakMap;let S=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,e=O){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const r=Symbol(),o=this.getPropertyDescriptor(t,r,e);void 0!==o&&c(this.prototype,t,o)}}static getPropertyDescriptor(t,e,r){const{get:o,set:n}=l(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return o?.call(this)},set(e){const i=o?.call(this);n.call(this,e),this.requestUpdate(t,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=h(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,e=[...u(t),...f(t)];for(const r of e)this.createProperty(r,t[r])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,r]of e)this.elementProperties.set(t,r)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const r=this._$Eu(t,e);void 0!==r&&this._$Eh.set(r,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const r=new Set(t.flat(1/0).reverse());for(const t of r)e.unshift(a(t))}else void 0!==t&&e.push(a(t));return e}static _$Eu(t,e){const r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"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,e=this.constructor.elementProperties;for(const r of e.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(r)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const r of o){const o=document.createElement("style"),n=e.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=r.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$EO(t,e){const r=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,r);if(void 0!==o&&!0===r.reflect){const n=(void 0!==r.converter?.toAttribute?r.converter:b).toAttribute(e,r.type);this._$Em=t,null==n?this.removeAttribute(o):this.setAttribute(o,n),this._$Em=null}}_$AK(t,e){const r=this.constructor,o=r._$Eh.get(t);if(void 0!==o&&this._$Em!==o){const t=r.getPropertyOptions(o),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:b;this._$Em=o,this[o]=n.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,r,o=!1,n){if(void 0!==t){if(r??=this.constructor.getPropertyOptions(t),!(r.hasChanged??v)(o?n:this[t],e))return;this.C(t,e,r)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,r){this._$AL.has(t)||this._$AL.set(t,e),!0===r.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,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,r]of t)!0!==r.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],r)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}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){}};S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[m("elementProperties")]=new Map,S[m("finalized")]=new Map,g?.({ReactiveElement:S}),(d.reactiveElementVersions??=[]).push("2.0.2");
25
+ */,{is:s,defineProperty:c,getOwnPropertyDescriptor:l,getOwnPropertyNames:u,getOwnPropertySymbols:f,getPrototypeOf:h}=Object,d=globalThis,p=d.trustedTypes,y=p?p.emptyScript:"",g=d.reactiveElementPolyfillSupport,m=(t,e)=>t,b={toAttribute(t,e){switch(e){case Boolean:t=t?y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},v=(t,e)=>!s(t,e),O={attribute:!0,type:String,converter:b,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),d.litPropertyMetadata??=new WeakMap;let S=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,e=O){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&c(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:n}=l(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const i=r?.call(this);n.call(this,e),this.requestUpdate(t,i,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=h(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,e=[...u(t),...f(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(a(t))}else void 0!==t&&e.push(a(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"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,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,r)=>{if(o)t.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of r){const r=document.createElement("style"),n=e.litNonce;void 0!==n&&r.setAttribute("nonce",n),r.textContent=o.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,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const n=(void 0!==o.converter?.toAttribute?o.converter:b).toAttribute(e,o.type);this._$Em=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:b;this._$Em=r,this[r]=n.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,n){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??v)(r?n:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.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,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}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){}};S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[m("elementProperties")]=new Map,S[m("finalized")]=new Map,g?.({ReactiveElement:S}),(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 w=globalThis,N=w.trustedTypes,x=N?N.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,R="?"+E,M=`<${R}>`,L=document,k=()=>L.createComment(""),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,W=Array.isArray,I=t=>W(t)||"function"==typeof t?.[Symbol.iterator],U="[ \t\n\f\r]",Y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,A=/>/g,F=RegExp(`>|${U}(?:([^\\s"'>=/]+)(${U}*=${U}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),j=/'/g,H=/"/g,P=/^(?:script|style|textarea|title)$/i,$=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),Z=new WeakMap,T=L.createTreeWalker(L,129);function B(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==x?x.createHTML(e):e}const z=(t,e)=>{const r=t.length-1,o=[];let n,i=2===e?"<svg>":"",a=Y;for(let e=0;e<r;e++){const r=t[e];let s,c,l=-1,u=0;for(;u<r.length&&(a.lastIndex=u,c=a.exec(r),null!==c);)u=a.lastIndex,a===Y?"!--"===c[1]?a=_:void 0!==c[1]?a=A:void 0!==c[2]?(P.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=F):void 0!==c[3]&&(a=F):a===F?">"===c[0]?(a=n??Y,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?F:'"'===c[3]?H:j):a===H||a===j?a=F:a===_||a===A?a=Y:(a=F,n=void 0);const f=a===F&&t[e+1].startsWith("/>")?" ":"";i+=a===Y?r+M:l>=0?(o.push(s),r.slice(0,l)+C+r.slice(l)+E+f):r+E+(-2===l?e:f)}return[B(t,i+(t[r]||"<?>")+(2===e?"</svg>":"")),o]};let G=class t{constructor({strings:e,_$litType$:r},o){let n;this.parts=[];let i=0,a=0;const s=e.length-1,c=this.parts,[l,u]=z(e,r);if(this.el=t.createElement(l,o),T.currentNode=this.el.content,2===r){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=T.nextNode())&&c.length<s;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(C)){const e=u[a++],r=n.getAttribute(t).split(E),o=/([.?@])?(.*)/.exec(e);c.push({type:1,index:i,name:o[2],strings:r,ctor:"."===o[1]?Q:"?"===o[1]?tt:"@"===o[1]?et:X}),n.removeAttribute(t)}else t.startsWith(E)&&(c.push({type:6,index:i}),n.removeAttribute(t));if(P.test(n.tagName)){const t=n.textContent.split(E),e=t.length-1;if(e>0){n.textContent=N?N.emptyScript:"";for(let r=0;r<e;r++)n.append(t[r],k()),T.nextNode(),c.push({type:2,index:++i});n.append(t[e],k())}}}else if(8===n.nodeType)if(n.data===R)c.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(E,t+1));)c.push({type:7,index:i}),t+=E.length-1}i++}}static createElement(t,e){const r=L.createElement("template");return r.innerHTML=t,r}};function q(t,e,r=t,o){if(e===$)return e;let n=void 0!==o?r._$Co?.[o]:r._$Cl;const i=D(e)?void 0:e._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,r,o)),void 0!==o?(r._$Co??=[])[o]=n:r._$Cl=n),void 0!==n&&(e=q(t,n._$AS(t,e.values),n,o)),e}let V=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:r}=this._$AD,o=(t?.creationScope??L).importNode(e,!0);T.currentNode=o;let n=T.nextNode(),i=0,a=0,s=r[0];for(;void 0!==s;){if(i===s.index){let e;2===s.type?e=new J(n,n.nextSibling,this,t):1===s.type?e=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(e=new rt(n,this,t)),this._$AV.push(e),s=r[++a]}i!==s?.index&&(n=T.nextNode(),i++)}return T.currentNode=L,o}p(t){let e=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}},J=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,r,o){this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=q(this,t,e),D(t)?t===K||null==t||""===t?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==$&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):I(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==K&&D(this._$AH)?this._$AA.nextSibling.data=t:this.$(L.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:r}=t,o="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=G.createElement(B(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===o)this._$AH.p(e);else{const t=new V(o,this),r=t.u(this.options);t.p(e),this.$(r),this._$AH=t}}_$AC(t){let e=Z.get(t.strings);return void 0===e&&Z.set(t.strings,e=new G(t)),e}T(e){W(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let o,n=0;for(const i of e)n===r.length?r.push(o=new t(this.k(k()),this.k(k()),this,this.options)):o=r[n],o._$AI(i),n++;n<r.length&&(this._$AR(o&&o._$AB.nextSibling,n),r.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},X=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,r,o,n){this.type=1,this._$AH=K,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=K}_$AI(t,e=this,r,o){const n=this.strings;let i=!1;if(void 0===n)t=q(this,t,e,0),i=!D(t)||t!==this._$AH&&t!==$,i&&(this._$AH=t);else{const o=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=q(this,o[r+a],e,a),s===$&&(s=this._$AH[a]),i||=!D(s)||s!==this._$AH[a],s===K?t=K:t!==K&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!o&&this.O(t)}O(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Q=class extends X{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===K?void 0:t}},tt=class extends X{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==K)}},et=class extends X{constructor(t,e,r,o,n){super(t,e,r,o,n),this.type=5}_$AI(t,e=this){if((t=q(this,t,e,0)??K)===$)return;const r=this._$AH,o=t===K&&r!==K||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==K&&(r===K||o);o&&this.element.removeEventListener(this.name,this,r),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},rt=class{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){q(this,t)}};const ot={j:C,P:E,A:R,C:1,M:z,L:V,R:I,V:q,D:J,I:X,H:tt,N:et,U:Q,B:rt},nt=w.litHtmlPolyfillSupport;nt?.(G,J),(w.litHtmlVersions??=[]).push("3.1.0");
31
+ const w=globalThis,x=w.trustedTypes,N=x?x.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,R="?"+E,I=`<${R}>`,M=document,W=()=>M.createComment(""),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,D=t=>k(t)||"function"==typeof t?.[Symbol.iterator],U="[ \t\n\f\r]",Y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,F=/>/g,A=RegExp(`>|${U}(?:([^\\s"'>=/]+)(${U}*=${U}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),H=/'/g,z=/"/g,j=/^(?:script|style|textarea|title)$/i,B=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),P=new WeakMap,K=M.createTreeWalker(M,129);function T(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==N?N.createHTML(e):e}const $=(t,e)=>{const o=t.length-1,r=[];let n,i=2===e?"<svg>":"",a=Y;for(let e=0;e<o;e++){const o=t[e];let s,c,l=-1,u=0;for(;u<o.length&&(a.lastIndex=u,c=a.exec(o),null!==c);)u=a.lastIndex,a===Y?"!--"===c[1]?a=_:void 0!==c[1]?a=F:void 0!==c[2]?(j.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=A):void 0!==c[3]&&(a=A):a===A?">"===c[0]?(a=n??Y,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?A:'"'===c[3]?z:H):a===z||a===H?a=A:a===_||a===F?a=Y:(a=A,n=void 0);const f=a===A&&t[e+1].startsWith("/>")?" ":"";i+=a===Y?o+I:l>=0?(r.push(s),o.slice(0,l)+C+o.slice(l)+E+f):o+E+(-2===l?e:f)}return[T(t,i+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};let G=class t{constructor({strings:e,_$litType$:o},r){let n;this.parts=[];let i=0,a=0;const s=e.length-1,c=this.parts,[l,u]=$(e,o);if(this.el=t.createElement(l,r),K.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=K.nextNode())&&c.length<s;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(C)){const e=u[a++],o=n.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(e);c.push({type:1,index:i,name:r[2],strings:o,ctor:"."===r[1]?Q:"?"===r[1]?tt:"@"===r[1]?et:X}),n.removeAttribute(t)}else t.startsWith(E)&&(c.push({type:6,index:i}),n.removeAttribute(t));if(j.test(n.tagName)){const t=n.textContent.split(E),e=t.length-1;if(e>0){n.textContent=x?x.emptyScript:"";for(let o=0;o<e;o++)n.append(t[o],W()),K.nextNode(),c.push({type:2,index:++i});n.append(t[e],W())}}}else if(8===n.nodeType)if(n.data===R)c.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(E,t+1));)c.push({type:7,index:i}),t+=E.length-1}i++}}static createElement(t,e){const o=M.createElement("template");return o.innerHTML=t,o}};function V(t,e,o=t,r){if(e===B)return e;let n=void 0!==r?o._$Co?.[r]:o._$Cl;const i=L(e)?void 0:e._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=n:o._$Cl=n),void 0!==n&&(e=V(t,n._$AS(t,e.values),n,r)),e}let q=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??M).importNode(e,!0);K.currentNode=r;let n=K.nextNode(),i=0,a=0,s=o[0];for(;void 0!==s;){if(i===s.index){let e;2===s.type?e=new J(n,n.nextSibling,this,t):1===s.type?e=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(e=new ot(n,this,t)),this._$AV.push(e),s=o[++a]}i!==s?.index&&(n=K.nextNode(),i++)}return K.currentNode=M,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},J=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=V(this,t,e),L(t)?t===Z||null==t||""===t?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==B&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):D(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Z&&L(this._$AH)?this._$AA.nextSibling.data=t:this.$(M.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=G.createElement(T(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new q(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=P.get(t.strings);return void 0===e&&P.set(t.strings,e=new G(t)),e}T(e){k(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,n=0;for(const i of e)n===o.length?o.push(r=new t(this.k(W()),this.k(W()),this,this.options)):r=o[n],r._$AI(i),n++;n<o.length&&(this._$AR(r&&r._$AB.nextSibling,n),o.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},X=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,n){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=n,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=Z}_$AI(t,e=this,o,r){const n=this.strings;let i=!1;if(void 0===n)t=V(this,t,e,0),i=!L(t)||t!==this._$AH&&t!==B,i&&(this._$AH=t);else{const r=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=V(this,r[o+a],e,a),s===B&&(s=this._$AH[a]),i||=!L(s)||s!==this._$AH[a],s===Z?t=Z:t!==Z&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!r&&this.O(t)}O(t){t===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Q=class extends X{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Z?void 0:t}},tt=class extends X{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Z)}},et=class extends X{constructor(t,e,o,r,n){super(t,e,o,r,n),this.type=5}_$AI(t,e=this){if((t=V(this,t,e,0)??Z)===B)return;const o=this._$AH,r=t===Z&&o!==Z||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==Z&&(o===Z||r);r&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ot=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){V(this,t)}};const rt={j:C,P:E,A:R,C:1,M:$,L:q,R:D,V,D:J,I:X,H:tt,N:et,U:Q,B:ot},nt=w.litHtmlPolyfillSupport;nt?.(G,J),(w.litHtmlVersions??=[]).push("3.1.0");
32
32
  /**
33
33
  * @license
34
34
  * Copyright 2019 Google LLC
35
35
  * SPDX-License-Identifier: BSD-3-Clause
36
36
  */
37
- const it=globalThis,at=it.ShadowRoot&&(void 0===it.ShadyCSS||it.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,st=Symbol(),ct=new WeakMap;let lt=class{constructor(t,e,r){if(this._$cssResult$=!0,r!==st)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(at&&void 0===t){const r=void 0!==e&&1===e.length;r&&(t=ct.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&ct.set(e,t))}return t}toString(){return this.cssText}};const ut=t=>new lt("string"==typeof t?t:t+"",void 0,st),ft=(t,...e)=>{const r=1===t.length?t[0]:e.reduce(((e,r,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[o+1]),t[0]);return new lt(r,t,st)},ht=(t,e)=>{if(at)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const r of e){const e=document.createElement("style"),o=it.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=r.cssText,t.appendChild(e)}},dt=at?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return ut(e)})(t):t
37
+ const it=globalThis,at=it.ShadowRoot&&(void 0===it.ShadyCSS||it.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,st=Symbol(),ct=new WeakMap;let lt=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==st)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(at&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=ct.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&ct.set(e,t))}return t}toString(){return this.cssText}};const ut=t=>new lt("string"==typeof t?t:t+"",void 0,st),ft=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[r+1]),t[0]);return new lt(o,t,st)},ht=(t,e)=>{if(at)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),r=it.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}},dt=at?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return ut(e)})(t):t
38
38
  /**
39
39
  * @license
40
40
  * Copyright 2017 Google LLC
41
41
  * SPDX-License-Identifier: BSD-3-Clause
42
- */,{is:pt,defineProperty:yt,getOwnPropertyDescriptor:gt,getOwnPropertyNames:mt,getOwnPropertySymbols:bt,getPrototypeOf:vt}=Object,Ot=globalThis,St=Ot.trustedTypes,wt=St?St.emptyScript:"",Nt=Ot.reactiveElementPolyfillSupport,xt=(t,e)=>t,Ct={toAttribute(t,e){switch(e){case Boolean:t=t?wt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},Et=(t,e)=>!pt(t,e),Rt={attribute:!0,type:String,converter:Ct,reflect:!1,hasChanged:Et};Symbol.metadata??=Symbol("metadata"),Ot.litPropertyMetadata??=new WeakMap;let Mt=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,e=Rt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const r=Symbol(),o=this.getPropertyDescriptor(t,r,e);void 0!==o&&yt(this.prototype,t,o)}}static getPropertyDescriptor(t,e,r){const{get:o,set:n}=gt(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return o?.call(this)},set(e){const i=o?.call(this);n.call(this,e),this.requestUpdate(t,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Rt}static _$Ei(){if(this.hasOwnProperty(xt("elementProperties")))return;const t=vt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(xt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(xt("properties"))){const t=this.properties,e=[...mt(t),...bt(t)];for(const r of e)this.createProperty(r,t[r])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,r]of e)this.elementProperties.set(t,r)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const r=this._$Eu(t,e);void 0!==r&&this._$Eh.set(r,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const r=new Set(t.flat(1/0).reverse());for(const t of r)e.unshift(dt(t))}else void 0!==t&&e.push(dt(t));return e}static _$Eu(t,e){const r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"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,e=this.constructor.elementProperties;for(const r of e.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ht(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,e,r){this._$AK(t,r)}_$EO(t,e){const r=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,r);if(void 0!==o&&!0===r.reflect){const n=(void 0!==r.converter?.toAttribute?r.converter:Ct).toAttribute(e,r.type);this._$Em=t,null==n?this.removeAttribute(o):this.setAttribute(o,n),this._$Em=null}}_$AK(t,e){const r=this.constructor,o=r._$Eh.get(t);if(void 0!==o&&this._$Em!==o){const t=r.getPropertyOptions(o),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Ct;this._$Em=o,this[o]=n.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,r,o=!1,n){if(void 0!==t){if(r??=this.constructor.getPropertyOptions(t),!(r.hasChanged??Et)(o?n:this[t],e))return;this.C(t,e,r)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,r){this._$AL.has(t)||this._$AL.set(t,e),!0===r.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,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,r]of t)!0!==r.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],r)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}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){}};Mt.elementStyles=[],Mt.shadowRootOptions={mode:"open"},Mt[xt("elementProperties")]=new Map,Mt[xt("finalized")]=new Map,Nt?.({ReactiveElement:Mt}),(Ot.reactiveElementVersions??=[]).push("2.0.2");
42
+ */,{is:pt,defineProperty:yt,getOwnPropertyDescriptor:gt,getOwnPropertyNames:mt,getOwnPropertySymbols:bt,getPrototypeOf:vt}=Object,Ot=globalThis,St=Ot.trustedTypes,wt=St?St.emptyScript:"",xt=Ot.reactiveElementPolyfillSupport,Nt=(t,e)=>t,Ct={toAttribute(t,e){switch(e){case Boolean:t=t?wt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},Et=(t,e)=>!pt(t,e),Rt={attribute:!0,type:String,converter:Ct,reflect:!1,hasChanged:Et};Symbol.metadata??=Symbol("metadata"),Ot.litPropertyMetadata??=new WeakMap;let It=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,e=Rt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&yt(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:n}=gt(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const i=r?.call(this);n.call(this,e),this.requestUpdate(t,i,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Rt}static _$Ei(){if(this.hasOwnProperty(Nt("elementProperties")))return;const t=vt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Nt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Nt("properties"))){const t=this.properties,e=[...mt(t),...bt(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(dt(t))}else void 0!==t&&e.push(dt(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"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,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ht(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,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const n=(void 0!==o.converter?.toAttribute?o.converter:Ct).toAttribute(e,o.type);this._$Em=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Ct;this._$Em=r,this[r]=n.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,n){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Et)(r?n:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.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,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}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){}};It.elementStyles=[],It.shadowRootOptions={mode:"open"},It[Nt("elementProperties")]=new Map,It[Nt("finalized")]=new Map,xt?.({ReactiveElement:It}),(Ot.reactiveElementVersions??=[]).push("2.0.2");
43
43
  /**
44
44
  * @license
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const Lt=globalThis,kt=Lt.trustedTypes,Dt=kt?kt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Wt="$lit$",It=`lit$${(Math.random()+"").slice(9)}$`,Ut="?"+It,Yt=`<${Ut}>`,_t=document,At=()=>_t.createComment(""),Ft=t=>null===t||"object"!=typeof t&&"function"!=typeof t,jt=Array.isArray,Ht=t=>jt(t)||"function"==typeof t?.[Symbol.iterator],Pt="[ \t\n\f\r]",$t=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Kt=/-->/g,Zt=/>/g,Tt=RegExp(`>|${Pt}(?:([^\\s"'>=/]+)(${Pt}*=${Pt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Bt=/'/g,zt=/"/g,Gt=/^(?:script|style|textarea|title)$/i,qt=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Vt=qt(1),Jt=qt(2),Xt=Symbol.for("lit-noChange"),Qt=Symbol.for("lit-nothing"),te=new WeakMap,ee=_t.createTreeWalker(_t,129);function re(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Dt?Dt.createHTML(e):e}const oe=(t,e)=>{const r=t.length-1,o=[];let n,i=2===e?"<svg>":"",a=$t;for(let e=0;e<r;e++){const r=t[e];let s,c,l=-1,u=0;for(;u<r.length&&(a.lastIndex=u,c=a.exec(r),null!==c);)u=a.lastIndex,a===$t?"!--"===c[1]?a=Kt:void 0!==c[1]?a=Zt:void 0!==c[2]?(Gt.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=Tt):void 0!==c[3]&&(a=Tt):a===Tt?">"===c[0]?(a=n??$t,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?Tt:'"'===c[3]?zt:Bt):a===zt||a===Bt?a=Tt:a===Kt||a===Zt?a=$t:(a=Tt,n=void 0);const f=a===Tt&&t[e+1].startsWith("/>")?" ":"";i+=a===$t?r+Yt:l>=0?(o.push(s),r.slice(0,l)+Wt+r.slice(l)+It+f):r+It+(-2===l?e:f)}return[re(t,i+(t[r]||"<?>")+(2===e?"</svg>":"")),o]};class ne{constructor({strings:t,_$litType$:e},r){let o;this.parts=[];let n=0,i=0;const a=t.length-1,s=this.parts,[c,l]=oe(t,e);if(this.el=ne.createElement(c,r),ee.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(o=ee.nextNode())&&s.length<a;){if(1===o.nodeType){if(o.hasAttributes())for(const t of o.getAttributeNames())if(t.endsWith(Wt)){const e=l[i++],r=o.getAttribute(t).split(It),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:n,name:a[2],strings:r,ctor:"."===a[1]?le:"?"===a[1]?ue:"@"===a[1]?fe:ce}),o.removeAttribute(t)}else t.startsWith(It)&&(s.push({type:6,index:n}),o.removeAttribute(t));if(Gt.test(o.tagName)){const t=o.textContent.split(It),e=t.length-1;if(e>0){o.textContent=kt?kt.emptyScript:"";for(let r=0;r<e;r++)o.append(t[r],At()),ee.nextNode(),s.push({type:2,index:++n});o.append(t[e],At())}}}else if(8===o.nodeType)if(o.data===Ut)s.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(It,t+1));)s.push({type:7,index:n}),t+=It.length-1}n++}}static createElement(t,e){const r=_t.createElement("template");return r.innerHTML=t,r}}function ie(t,e,r=t,o){if(e===Xt)return e;let n=void 0!==o?r._$Co?.[o]:r._$Cl;const i=Ft(e)?void 0:e._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,r,o)),void 0!==o?(r._$Co??=[])[o]=n:r._$Cl=n),void 0!==n&&(e=ie(t,n._$AS(t,e.values),n,o)),e}let ae=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:r}=this._$AD,o=(t?.creationScope??_t).importNode(e,!0);ee.currentNode=o;let n=ee.nextNode(),i=0,a=0,s=r[0];for(;void 0!==s;){if(i===s.index){let e;2===s.type?e=new se(n,n.nextSibling,this,t):1===s.type?e=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(e=new he(n,this,t)),this._$AV.push(e),s=r[++a]}i!==s?.index&&(n=ee.nextNode(),i++)}return ee.currentNode=_t,o}p(t){let e=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}},se=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,r,o){this.type=2,this._$AH=Qt,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ie(this,t,e),Ft(t)?t===Qt||null==t||""===t?(this._$AH!==Qt&&this._$AR(),this._$AH=Qt):t!==this._$AH&&t!==Xt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Ht(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Qt&&Ft(this._$AH)?this._$AA.nextSibling.data=t:this.$(_t.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:r}=t,o="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=ne.createElement(re(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===o)this._$AH.p(e);else{const t=new ae(o,this),r=t.u(this.options);t.p(e),this.$(r),this._$AH=t}}_$AC(t){let e=te.get(t.strings);return void 0===e&&te.set(t.strings,e=new ne(t)),e}T(e){jt(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let o,n=0;for(const i of e)n===r.length?r.push(o=new t(this.k(At()),this.k(At()),this,this.options)):o=r[n],o._$AI(i),n++;n<r.length&&(this._$AR(o&&o._$AB.nextSibling,n),r.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},ce=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,r,o,n){this.type=1,this._$AH=Qt,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=Qt}_$AI(t,e=this,r,o){const n=this.strings;let i=!1;if(void 0===n)t=ie(this,t,e,0),i=!Ft(t)||t!==this._$AH&&t!==Xt,i&&(this._$AH=t);else{const o=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=ie(this,o[r+a],e,a),s===Xt&&(s=this._$AH[a]),i||=!Ft(s)||s!==this._$AH[a],s===Qt?t=Qt:t!==Qt&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!o&&this.O(t)}O(t){t===Qt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},le=class extends ce{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Qt?void 0:t}},ue=class extends ce{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Qt)}},fe=class extends ce{constructor(t,e,r,o,n){super(t,e,r,o,n),this.type=5}_$AI(t,e=this){if((t=ie(this,t,e,0)??Qt)===Xt)return;const r=this._$AH,o=t===Qt&&r!==Qt||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==Qt&&(r===Qt||o);o&&this.element.removeEventListener(this.name,this,r),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},he=class{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){ie(this,t)}};const de={j:Wt,P:It,A:Ut,C:1,M:oe,L:ae,R:Ht,V:ie,D:se,I:ce,H:ue,N:fe,U:le,B:he},pe=Lt.litHtmlPolyfillSupport;pe?.(ne,se),(Lt.litHtmlVersions??=[]).push("3.1.0");const ye=(t,e,r)=>{const o=r?.renderBefore??e;let n=o._$litPart$;if(void 0===n){const t=r?.renderBefore??null;o._$litPart$=n=new se(e.insertBefore(At(),t),t,void 0,r??{})}return n._$AI(t),n
48
+ const Mt=globalThis,Wt=Mt.trustedTypes,Lt=Wt?Wt.createPolicy("lit-html",{createHTML:t=>t}):void 0,kt="$lit$",Dt=`lit$${(Math.random()+"").slice(9)}$`,Ut="?"+Dt,Yt=`<${Ut}>`,_t=document,Ft=()=>_t.createComment(""),At=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Ht=Array.isArray,zt=t=>Ht(t)||"function"==typeof t?.[Symbol.iterator],jt="[ \t\n\f\r]",Bt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Zt=/-->/g,Pt=/>/g,Kt=RegExp(`>|${jt}(?:([^\\s"'>=/]+)(${jt}*=${jt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Tt=/'/g,$t=/"/g,Gt=/^(?:script|style|textarea|title)$/i,Vt=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),qt=Vt(1),Jt=Vt(2),Xt=Symbol.for("lit-noChange"),Qt=Symbol.for("lit-nothing"),te=new WeakMap,ee=_t.createTreeWalker(_t,129);function oe(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Lt?Lt.createHTML(e):e}const re=(t,e)=>{const o=t.length-1,r=[];let n,i=2===e?"<svg>":"",a=Bt;for(let e=0;e<o;e++){const o=t[e];let s,c,l=-1,u=0;for(;u<o.length&&(a.lastIndex=u,c=a.exec(o),null!==c);)u=a.lastIndex,a===Bt?"!--"===c[1]?a=Zt:void 0!==c[1]?a=Pt:void 0!==c[2]?(Gt.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=Kt):void 0!==c[3]&&(a=Kt):a===Kt?">"===c[0]?(a=n??Bt,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?Kt:'"'===c[3]?$t:Tt):a===$t||a===Tt?a=Kt:a===Zt||a===Pt?a=Bt:(a=Kt,n=void 0);const f=a===Kt&&t[e+1].startsWith("/>")?" ":"";i+=a===Bt?o+Yt:l>=0?(r.push(s),o.slice(0,l)+kt+o.slice(l)+Dt+f):o+Dt+(-2===l?e:f)}return[oe(t,i+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};class ne{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let n=0,i=0;const a=t.length-1,s=this.parts,[c,l]=re(t,e);if(this.el=ne.createElement(c,o),ee.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ee.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(kt)){const e=l[i++],o=r.getAttribute(t).split(Dt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:n,name:a[2],strings:o,ctor:"."===a[1]?le:"?"===a[1]?ue:"@"===a[1]?fe:ce}),r.removeAttribute(t)}else t.startsWith(Dt)&&(s.push({type:6,index:n}),r.removeAttribute(t));if(Gt.test(r.tagName)){const t=r.textContent.split(Dt),e=t.length-1;if(e>0){r.textContent=Wt?Wt.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],Ft()),ee.nextNode(),s.push({type:2,index:++n});r.append(t[e],Ft())}}}else if(8===r.nodeType)if(r.data===Ut)s.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(Dt,t+1));)s.push({type:7,index:n}),t+=Dt.length-1}n++}}static createElement(t,e){const o=_t.createElement("template");return o.innerHTML=t,o}}function ie(t,e,o=t,r){if(e===Xt)return e;let n=void 0!==r?o._$Co?.[r]:o._$Cl;const i=At(e)?void 0:e._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=n:o._$Cl=n),void 0!==n&&(e=ie(t,n._$AS(t,e.values),n,r)),e}let ae=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??_t).importNode(e,!0);ee.currentNode=r;let n=ee.nextNode(),i=0,a=0,s=o[0];for(;void 0!==s;){if(i===s.index){let e;2===s.type?e=new se(n,n.nextSibling,this,t):1===s.type?e=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(e=new he(n,this,t)),this._$AV.push(e),s=o[++a]}i!==s?.index&&(n=ee.nextNode(),i++)}return ee.currentNode=_t,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},se=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=Qt,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ie(this,t,e),At(t)?t===Qt||null==t||""===t?(this._$AH!==Qt&&this._$AR(),this._$AH=Qt):t!==this._$AH&&t!==Xt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):zt(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Qt&&At(this._$AH)?this._$AA.nextSibling.data=t:this.$(_t.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=ne.createElement(oe(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new ae(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=te.get(t.strings);return void 0===e&&te.set(t.strings,e=new ne(t)),e}T(e){Ht(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,n=0;for(const i of e)n===o.length?o.push(r=new t(this.k(Ft()),this.k(Ft()),this,this.options)):r=o[n],r._$AI(i),n++;n<o.length&&(this._$AR(r&&r._$AB.nextSibling,n),o.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},ce=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,n){this.type=1,this._$AH=Qt,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=n,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=Qt}_$AI(t,e=this,o,r){const n=this.strings;let i=!1;if(void 0===n)t=ie(this,t,e,0),i=!At(t)||t!==this._$AH&&t!==Xt,i&&(this._$AH=t);else{const r=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=ie(this,r[o+a],e,a),s===Xt&&(s=this._$AH[a]),i||=!At(s)||s!==this._$AH[a],s===Qt?t=Qt:t!==Qt&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!r&&this.O(t)}O(t){t===Qt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},le=class extends ce{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Qt?void 0:t}},ue=class extends ce{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Qt)}},fe=class extends ce{constructor(t,e,o,r,n){super(t,e,o,r,n),this.type=5}_$AI(t,e=this){if((t=ie(this,t,e,0)??Qt)===Xt)return;const o=this._$AH,r=t===Qt&&o!==Qt||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==Qt&&(o===Qt||r);r&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},he=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){ie(this,t)}};const de={j:kt,P:Dt,A:Ut,C:1,M:re,L:ae,R:zt,V:ie,D:se,I:ce,H:ue,N:fe,U:le,B:he},pe=Mt.litHtmlPolyfillSupport;pe?.(ne,se),(Mt.litHtmlVersions??=[]).push("3.1.0");const ye=(t,e,o)=>{const r=o?.renderBefore??e;let n=r._$litPart$;if(void 0===n){const t=o?.renderBefore??null;r._$litPart$=n=new se(e.insertBefore(Ft(),t),t,void 0,o??{})}return n._$AI(t),n
49
49
  /**
50
50
  * @license
51
51
  * Copyright 2017 Google LLC
52
52
  * SPDX-License-Identifier: BSD-3-Clause
53
- */};let ge=class extends Mt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=ye(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Xt}};ge._$litElement$=!0,ge.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ge});const me=globalThis.litElementPolyfillSupport;me?.({LitElement:ge});(globalThis.litElementVersions??=[]).push("4.0.2");var be=Object.freeze({__proto__:null,CSSResult:lt,LitElement:ge,ReactiveElement:Mt,_$LE:{_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL},_$LH:de,adoptStyles:ht,css:ft,defaultConverter:Ct,getCompatibleStyle:dt,html:Vt,isServer:!1,noChange:Xt,notEqual:Et,nothing:Qt,render:ye,supportsAdoptingStyleSheets:at,svg:Jt,unsafeCSS:ut});
53
+ */};let ge=class extends It{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=ye(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Xt}};ge._$litElement$=!0,ge.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ge});const me=globalThis.litElementPolyfillSupport;me?.({LitElement:ge});(globalThis.litElementVersions??=[]).push("4.0.2");var be=Object.freeze({__proto__:null,CSSResult:lt,LitElement:ge,ReactiveElement:It,_$LE:{_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL},_$LH:de,adoptStyles:ht,css:ft,defaultConverter:Ct,getCompatibleStyle:dt,html:qt,isServer:!1,noChange:Xt,notEqual:Et,nothing:Qt,render:ye,supportsAdoptingStyleSheets:at,svg:Jt,unsafeCSS:ut});
54
54
  /**
55
55
  * @license
56
56
  * Copyright 2017 Google LLC
57
57
  * SPDX-License-Identifier: BSD-3-Clause
58
- */const ve={attribute:!0,type:String,converter:b,reflect:!1,hasChanged:v},Oe=(t=ve,e,r)=>{const{kind:o,metadata:n}=r;let i=globalThis.litPropertyMetadata.get(n);if(void 0===i&&globalThis.litPropertyMetadata.set(n,i=new Map),i.set(r.name,t),"accessor"===o){const{name:o}=r;return{set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t)},init(e){return void 0!==e&&this.C(o,void 0,t),e}}}if("setter"===o){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t)}}throw Error("Unsupported decorator location: "+o)};
58
+ */const ve={attribute:!0,type:String,converter:b,reflect:!1,hasChanged:v},Oe=(t=ve,e,o)=>{const{kind:r,metadata:n}=o;let i=globalThis.litPropertyMetadata.get(n);if(void 0===i&&globalThis.litPropertyMetadata.set(n,i=new Map),i.set(o.name,t),"accessor"===r){const{name:r}=o;return{set(o){const n=e.get.call(this);e.set.call(this,o),this.requestUpdate(r,n,t)},init(e){return void 0!==e&&this.C(r,void 0,t),e}}}if("setter"===r){const{name:r}=o;return function(o){const n=this[r];e.call(this,o),this.requestUpdate(r,n,t)}}throw Error("Unsupported decorator location: "+r)};
59
59
  /**
60
60
  * @license
61
61
  * Copyright 2017 Google LLC
62
62
  * SPDX-License-Identifier: BSD-3-Clause
63
- */function Se(t){return(e,r)=>"object"==typeof r?Oe(t,e,r):((t,e,r)=>{const o=e.hasOwnProperty(r);return e.constructor.createProperty(r,o?{...t,wrapped:!0}:t),o?Object.getOwnPropertyDescriptor(e,r):void 0})(t,e,r)
63
+ */function Se(t){return(e,o)=>"object"==typeof o?Oe(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
64
64
  /**
65
65
  * @license
66
66
  * Copyright 2017 Google LLC
@@ -71,23 +71,23 @@ const Lt=globalThis,kt=Lt.trustedTypes,Dt=kt?kt.createPolicy("lit-html",{createH
71
71
  * Copyright 2017 Google LLC
72
72
  * SPDX-License-Identifier: BSD-3-Clause
73
73
  */
74
- const we=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,r)
74
+ const we=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
75
75
  /**
76
76
  * @license
77
77
  * Copyright 2017 Google LLC
78
78
  * SPDX-License-Identifier: BSD-3-Clause
79
- */;function Ne(t,e){return(r,o,n)=>{const i=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof o?r:n??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return we(0,0,{get(){let r=t.call(this);return void 0===r&&(r=i(this),(null!==r||this.hasUpdated)&&e.call(this,r)),r}})}return we(0,0,{get(){return i(this)}})}}
79
+ */;function xe(t,e){return(o,r,n)=>{const i=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof r?o:n??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return we(0,0,{get(){let o=t.call(this);return void 0===o&&(o=i(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return we(0,0,{get(){return i(this)}})}}
80
80
  /**
81
81
  * @license
82
82
  * Copyright 2017 Google LLC
83
83
  * SPDX-License-Identifier: BSD-3-Clause
84
- */let xe;var Ce=Object.freeze({__proto__:null,customElement:t=>(e,r)=>{void 0!==r?r.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)},eventOptions:
84
+ */let Ne;var Ce=Object.freeze({__proto__:null,customElement:t=>(e,o)=>{void 0!==o?o.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)},eventOptions:
85
85
  /**
86
86
  * @license
87
87
  * Copyright 2017 Google LLC
88
88
  * SPDX-License-Identifier: BSD-3-Clause
89
89
  */
90
- function(t){return(e,r)=>{const o="function"==typeof e?e:e[r];Object.assign(o,t)}},property:Se,query:Ne,queryAll:function(t){return(e,r)=>we(0,0,{get(){return(this.renderRoot??(xe??=document.createDocumentFragment())).querySelectorAll(t)}})
90
+ function(t){return(e,o)=>{const r="function"==typeof e?e:e[o];Object.assign(r,t)}},property:Se,query:xe,queryAll:function(t){return(e,o)=>we(0,0,{get(){return(this.renderRoot??(Ne??=document.createDocumentFragment())).querySelectorAll(t)}})
91
91
  /**
92
92
  * @license
93
93
  * Copyright 2017 Google LLC
@@ -98,51 +98,51 @@ function(t){return(e,r)=>{const o="function"==typeof e?e:e[r];Object.assign(o,t)
98
98
  * Copyright 2021 Google LLC
99
99
  * SPDX-License-Identifier: BSD-3-Clause
100
100
  */
101
- function(t){return(e,r)=>{const{slot:o,selector:n}=t??{},i="slot"+(o?`[name=${o}]`:":not([name])");return we(0,0,{get(){const e=this.renderRoot?.querySelector(i),r=e?.assignedElements(t)??[];return void 0===n?r:r.filter((t=>t.matches(n)))}})}}
101
+ function(t){return(e,o)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return we(0,0,{get(){const e=this.renderRoot?.querySelector(i),o=e?.assignedElements(t)??[];return void 0===n?o:o.filter((t=>t.matches(n)))}})}}
102
102
  /**
103
103
  * @license
104
104
  * Copyright 2017 Google LLC
105
105
  * SPDX-License-Identifier: BSD-3-Clause
106
- */,queryAssignedNodes:function(t){return(e,r)=>{const{slot:o}=t??{},n="slot"+(o?`[name=${o}]`:":not([name])");return we(0,0,{get(){const e=this.renderRoot?.querySelector(n);return e?.assignedNodes(t)??[]}})}},queryAsync:function(t){return(e,r)=>we(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:Oe,state:function(t){return Se({...t,state:!0,attribute:!1})}});
106
+ */,queryAssignedNodes:function(t){return(e,o)=>{const{slot:r}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return we(0,0,{get(){const e=this.renderRoot?.querySelector(n);return e?.assignedNodes(t)??[]}})}},queryAsync:function(t){return(e,o)=>we(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:Oe,state:function(t){return Se({...t,state:!0,attribute:!1})}});
107
107
  /**
108
108
  * @license
109
109
  * Copyright 2017 Google LLC
110
110
  * SPDX-License-Identifier: BSD-3-Clause
111
- */const Ee=1,Re=2,Me=t=>(...e)=>({_$litDirective$:t,values:e});let Le=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,r){this._$Ct=t,this._$AM=e,this._$Ci=r}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
111
+ */const Ee=1,Re=2,Ie=t=>(...e)=>({_$litDirective$:t,values:e});let Me=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
112
112
  /**
113
113
  * @license
114
114
  * Copyright 2020 Google LLC
115
115
  * SPDX-License-Identifier: BSD-3-Clause
116
- */const{D:ke}=ot,De=()=>document.createComment(""),We=(t,e,r)=>{const o=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===r){const e=o.insertBefore(De(),n),i=o.insertBefore(De(),n);r=new ke(e,i,t,t.options)}else{const e=r._$AB.nextSibling,i=r._$AM,a=i!==t;if(a){let e;r._$AQ?.(t),r._$AM=t,void 0!==r._$AP&&(e=t._$AU)!==i._$AU&&r._$AP(e)}if(e!==n||a){let t=r._$AA;for(;t!==e;){const e=t.nextSibling;o.insertBefore(t,n),t=e}}}return r},Ie=(t,e,r=t)=>(t._$AI(e,r),t),Ue={},Ye=t=>{t._$AP?.(!1,!0);let e=t._$AA;const r=t._$AB.nextSibling;for(;e!==r;){const t=e.nextSibling;e.remove(),e=t}},_e=(t,e,r)=>{const o=new Map;for(let n=e;n<=r;n++)o.set(t[n],n);return o},Ae=Me(class extends Le{constructor(t){if(super(t),t.type!==Re)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let o;void 0===r?r=e:void 0!==e&&(o=e);const n=[],i=[];let a=0;for(const e of t)n[a]=o?o(e,a):a,i[a]=r(e,a),a++;return{values:i,keys:n}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,o]){const n=(t=>t._$AH)(t),{values:i,keys:a}=this.ht(e,r,o);if(!Array.isArray(n))return this.dt=a,i;const s=this.dt??=[],c=[];let l,u,f=0,h=n.length-1,d=0,p=i.length-1;for(;f<=h&&d<=p;)if(null===n[f])f++;else if(null===n[h])h--;else if(s[f]===a[d])c[d]=Ie(n[f],i[d]),f++,d++;else if(s[h]===a[p])c[p]=Ie(n[h],i[p]),h--,p--;else if(s[f]===a[p])c[p]=Ie(n[f],i[p]),We(t,c[p+1],n[f]),f++,p--;else if(s[h]===a[d])c[d]=Ie(n[h],i[d]),We(t,n[f],n[h]),h--,d++;else if(void 0===l&&(l=_e(a,d,p),u=_e(s,f,h)),l.has(s[f]))if(l.has(s[h])){const e=u.get(a[d]),r=void 0!==e?n[e]:null;if(null===r){const e=We(t,n[f]);Ie(e,i[d]),c[d]=e}else c[d]=Ie(r,i[d]),We(t,n[f],r),n[e]=null;d++}else Ye(n[h]),h--;else Ye(n[f]),f++;for(;d<=p;){const e=We(t,c[p+1]);Ie(e,i[d]),c[d++]=e}for(;f<=h;){const t=n[f++];null!==t&&Ye(t)}return this.dt=a,((t,e=Ue)=>{t._$AH=e})(t,c),$}});
116
+ */const{D:We}=rt,Le=()=>document.createComment(""),ke=(t,e,o)=>{const r=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=r.insertBefore(Le(),n),i=r.insertBefore(Le(),n);o=new We(e,i,t,t.options)}else{const e=o._$AB.nextSibling,i=o._$AM,a=i!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==i._$AU&&o._$AP(e)}if(e!==n||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;r.insertBefore(t,n),t=e}}}return o},De=(t,e,o=t)=>(t._$AI(e,o),t),Ue={},Ye=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},_e=(t,e,o)=>{const r=new Map;for(let n=e;n<=o;n++)r.set(t[n],n);return r},Fe=Ie(class extends Me{constructor(t){if(super(t),t.type!==Re)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let r;void 0===o?o=e:void 0!==e&&(r=e);const n=[],i=[];let a=0;for(const e of t)n[a]=r?r(e,a):a,i[a]=o(e,a),a++;return{values:i,keys:n}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,r]){const n=(t=>t._$AH)(t),{values:i,keys:a}=this.ht(e,o,r);if(!Array.isArray(n))return this.dt=a,i;const s=this.dt??=[],c=[];let l,u,f=0,h=n.length-1,d=0,p=i.length-1;for(;f<=h&&d<=p;)if(null===n[f])f++;else if(null===n[h])h--;else if(s[f]===a[d])c[d]=De(n[f],i[d]),f++,d++;else if(s[h]===a[p])c[p]=De(n[h],i[p]),h--,p--;else if(s[f]===a[p])c[p]=De(n[f],i[p]),ke(t,c[p+1],n[f]),f++,p--;else if(s[h]===a[d])c[d]=De(n[h],i[d]),ke(t,n[f],n[h]),h--,d++;else if(void 0===l&&(l=_e(a,d,p),u=_e(s,f,h)),l.has(s[f]))if(l.has(s[h])){const e=u.get(a[d]),o=void 0!==e?n[e]:null;if(null===o){const e=ke(t,n[f]);De(e,i[d]),c[d]=e}else c[d]=De(o,i[d]),ke(t,n[f],o),n[e]=null;d++}else Ye(n[h]),h--;else Ye(n[f]),f++;for(;d<=p;){const e=ke(t,c[p+1]);De(e,i[d]),c[d++]=e}for(;f<=h;){const t=n[f++];null!==t&&Ye(t)}return this.dt=a,((t,e=Ue)=>{t._$AH=e})(t,c),B}});
117
117
  /**
118
118
  * @license
119
119
  * Copyright 2017 Google LLC
120
120
  * SPDX-License-Identifier: BSD-3-Clause
121
- */var Fe=Object.freeze({__proto__:null,repeat:Ae});
121
+ */var Ae=Object.freeze({__proto__:null,repeat:Fe});
122
122
  /**
123
123
  * @license
124
124
  * Copyright 2018 Google LLC
125
125
  * SPDX-License-Identifier: BSD-3-Clause
126
- */const je=Me(class extends Le{constructor(t){if(super(t),t.type!==Ee||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const r=t.element.classList;for(const t of this.it)t in e||(r.remove(t),this.it.delete(t));for(const t in e){const o=!!e[t];o===this.it.has(t)||this.st?.has(t)||(o?(r.add(t),this.it.add(t)):(r.remove(t),this.it.delete(t)))}return $}});var He=Object.freeze({__proto__:null,classMap:je});
126
+ */const He=Ie(class extends Me{constructor(t){if(super(t),t.type!==Ee||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const r=!!e[t];r===this.it.has(t)||this.st?.has(t)||(r?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return B}});var ze=Object.freeze({__proto__:null,classMap:He});
127
127
  /**
128
128
  * @license
129
129
  * Copyright 2018 Google LLC
130
130
  * SPDX-License-Identifier: BSD-3-Clause
131
- */const Pe="important",$e=" !"+Pe,Ke=Me(class extends Le{constructor(t){if(super(t),t.type!==Ee||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,r)=>{const o=t[r];return null==o?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`}),"")}update(t,[e]){const{style:r}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(e)),this.render(e);for(const t of this.ut)null==e[t]&&(this.ut.delete(t),t.includes("-")?r.removeProperty(t):r[t]=null);for(const t in e){const o=e[t];if(null!=o){this.ut.add(t);const e="string"==typeof o&&o.endsWith($e);t.includes("-")||e?r.setProperty(t,e?o.slice(0,-11):o,e?Pe:""):r[t]=o}}return $}});var Ze=Object.freeze({__proto__:null,styleMap:Ke});
131
+ */const je="important",Be=" !"+je,Ze=Ie(class extends Me{constructor(t){if(super(t),t.type!==Ee||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,o)=>{const r=t[o];return null==r?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[e]){const{style:o}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(e)),this.render(e);for(const t of this.ut)null==e[t]&&(this.ut.delete(t),t.includes("-")?o.removeProperty(t):o[t]=null);for(const t in e){const r=e[t];if(null!=r){this.ut.add(t);const e="string"==typeof r&&r.endsWith(Be);t.includes("-")||e?o.setProperty(t,e?r.slice(0,-11):r,e?je:""):o[t]=r}}return B}});var Pe=Object.freeze({__proto__:null,styleMap:Ze});
132
132
  /**
133
133
  * @license
134
134
  * Copyright 2017 Google LLC
135
135
  * SPDX-License-Identifier: BSD-3-Clause
136
- */let Te=class extends Le{constructor(t){if(super(t),this.et=K,t.type!==Re)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===K||null==t)return this.vt=void 0,this.et=t;if(t===$)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}};Te.directiveName="unsafeHTML",Te.resultType=1;const Be=Me(Te);var ze=Object.freeze({__proto__:null,UnsafeHTMLDirective:Te,unsafeHTML:Be});class Ge extends Error{constructor(t,e,r){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=r}}class qe extends Promise{constructor(t){super(((e,r)=>t((t=>{this.isCanceled?r(new Ge("Promise has been canceled",t)):e(t)}),(t=>{this.isCanceled?r(new Ge("Promise has been canceled",void 0,t)):r(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const Ve=t=>new qe(((e,r)=>t.then(e).catch(r)));var Je=Object.freeze({__proto__:null,CancelablePromise:qe,CanceledPromiseError:Ge,cancelable:Ve});var Xe=Object.freeze({__proto__:null,CacheRegistry:class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof qe&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,r){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const o=Ve(e());return this.content[t]=o,o.then((e=>(this.content[t]=e,null!=r&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),r)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}});class Qe{constructor(t,e,r,o){this.allResults=t,this.selectedResult=e,this.clusteringMetadata=r,this.metadataDescriptors=o}static extractResultMetadata(t){var e,r;return(null!==(r=null!==(e=null==t?void 0:t.map)&&void 0!==e?e:null==t?void 0:t.document)&&void 0!==r?r:null==t?void 0:t.topic).metadata.map((t=>Qe.flattenMetadata(t)))}static flattenMetadata(t){if(t.hierarchicalValues){const e=[],r=[];return t.hierarchicalValues.forEach((t=>{e.push(t.join(" > ")),t.length>2?r.push(`... > ${t[t.length-1]}`):r.push(t.join(" > "))})),{key:t.key,value:e.join(", "),displayValue:r.join(", ")}}{const e=t.values.join(", ");return{key:t.key,value:e,displayValue:e}}}computeClustersItemsForMetadata(t,e){let r=Qe.extractResultMetadata(this.selectedResult).find((e=>e.key===t));const o=this.allResults.flatMap((e=>Qe.extractResultMetadata(e).filter((e=>e.key===t)))).filter((t=>!(t.key===(null==r?void 0:r.key)&&t.value===(null==r?void 0:r.value)))).filter(((t,e,r)=>r.findIndex((e=>e.value===t.value))===e));return o.map((e=>({result:this.findBestResultForMetadataValue(t,e.value),metadata:e}))).sort(((r,o)=>this.compareMetadata(r.metadata.value,o.metadata.value,t,e)))}compareMetadata(t,e,r,o){let n=this.metadataDescriptors.find((t=>r==t.key)),i=(null==n?void 0:n.sortRule)||"NONE",a=(null==n?void 0:n.reverseSort)||!1;if("ALPHABET"==i||"VERSION"==i){let r=t.localeCompare(e,o,{numeric:!0});return a?-1*r:r}return 0}findBestResultForMetadataValue(t,e){const r=this.allResults.filter((r=>Qe.extractResultMetadata(r).find((r=>r.key===t&&r.value===e))));let o,n=Qe.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),i=[...n.filter((e=>e.key!==t))],a=-1;for(let t of r){let e=this.countMatchingMetadata(t,i);if(e>a&&(a=e,o=t,e===i.length))break}return o}countMatchingMetadata(t,e){return Qe.extractResultMetadata(t).filter((t=>e.some((e=>e.key===t.key&&e.value===t.value)))).length}}var tr=Object.freeze({__proto__:null,ClusteringHelper:Qe});class er{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const r=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of r)try{await t()}catch(t){return void o(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}var rr=Object.freeze({__proto__:null,Debouncer:er});const or=t=>new Promise((e=>setTimeout(e,t)));async function nr(t,e=10,r=2e4){let o,n,i=await t();for(o=n=performance.now();null==i&&(!r||n-o<r);)await or(e),i=await t(),n=performance.now();if(null==i)throw new Error("Timeout exceeded");return i}function ir(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,e,r,o)=>e+r+":"+o)),new Date(t)}function ar(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var r,o,n;if(Array.isArray(t)){if((r=t.length)!=e.length)return!1;for(o=r;0!=o--;)if(!ar(t[o],e[o]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;for(o of t.entries())if(!ar(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((r=(n=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(e,n[o]))return!1;for(o=r;0!=o--;){var i=n[o];if(!ar(t[i],e[i]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}var sr=Object.freeze({__proto__:null,dateReviver:function(...t){return function(e,r){return t.includes(e)?ir(r):r}},deepEqual:ar,delay:or,eventPathContainsMatchingElement:function(t,e,r=window.document.body){if(e.length>0){const o=t.composedPath();for(let t of o){if(t===r)return!1;if(t.matches&&e.some((e=>t.matches(e))))return!0}}return!1},flatDeep:function t(e,r){return e.flatMap((e=>[e,...t(r(e),r)]))},last:function(t){return t[t.length-1]},minmax:function(t,e,r){return Math.min(Math.max(t,e),r)},parseDate:ir,waitFor:nr,waitUntil:async function(t,e=10,r=2e4){await nr((async()=>await t()||void 0),e,r)}});const cr=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function lr(t,e){const r=()=>JSON.parse(JSON.stringify(t));return Se({type:Object,converter:{fromAttribute:t=>{if(null==t)return r();try{return JSON.parse(t)}catch{return r()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!ar(t,e),...null!=e?e:{}})}function ur(t){return!isNaN(parseFloat(t))}var fr=Object.freeze({__proto__:null,customElement:cr,isNumber:ur,jsonProperty:lr,optionalNumberProperty:function(t){return Se({type:Object,converter:{fromAttribute:t=>{if(null!=t)return ur(t)?+t:void 0},toAttribute:t=>""+t},...null!=t?t:{}})}});const hr=t=>"string"==typeof t?ut(t):t;class dr{static create(t,e,r,o){const n=t=>hr(null!=t?t:o),i=ft`var(${hr(t)}, ${n(o)})`;return i.name=t,i.description=e,i.category=r,i.defaultValue=o,i.defaultCssValue=n,i.get=e=>ft`var(${hr(t)}, ${n(e)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>o,i}static extend(t,e,r,o){const n=t=>r.get(null!=t?t:o),i=ft`var(${hr(t)}, ${n(o)})`;return i.name=t,i.description=e,i.category=r.category,i.fallbackVariable=r,i.defaultValue=o,i.defaultCssValue=n,i.get=e=>ft`var(${hr(t)}, ${n(e)})`,i.breadcrumb=()=>[r.name,...r.breadcrumb()],i.lastResortDefaultValue=()=>null!=o?o:r.lastResortDefaultValue(),i}static external(t,e){const r=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):hr(null!=e?e:t.lastResortDefaultValue()),o=ft`var(${hr(t.name)}, ${r(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=r,o.get=e=>ft`var(${hr(t.name)}, ${r(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>t.lastResortDefaultValue(),o}}const pr={colorWhite:dr.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:dr.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:dr.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:dr.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:dr.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:dr.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:dr.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:dr.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:dr.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:dr.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:dr.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:dr.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:dr.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:dr.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:dr.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:dr.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:dr.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:dr.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:dr.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:dr.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:dr.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:dr.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:dr.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:dr.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:dr.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:dr.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:dr.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:dr.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:dr.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:dr.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:dr.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:dr.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:dr.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:dr.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:dr.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:dr.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:dr.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:dr.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:dr.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:dr.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:dr.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:dr.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:dr.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:dr.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:dr.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:dr.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:dr.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:dr.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:dr.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:dr.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:dr.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:dr.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:dr.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:dr.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:dr.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:dr.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:dr.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:dr.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:dr.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:dr.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:dr.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:dr.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:dr.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:dr.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:dr.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:dr.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:dr.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:dr.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:dr.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:dr.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:dr.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:dr.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:dr.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:dr.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:dr.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:dr.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:dr.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:dr.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:dr.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:dr.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:dr.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:dr.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:dr.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:dr.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:dr.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:dr.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:dr.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:dr.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:dr.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:dr.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:dr.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:dr.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:dr.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:dr.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:dr.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:dr.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:dr.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:dr.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:dr.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:dr.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:dr.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:dr.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:dr.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:dr.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:dr.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:dr.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:dr.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:dr.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:dr.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:dr.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:dr.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:dr.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:dr.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:dr.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:dr.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:dr.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:dr.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:dr.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:dr.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:dr.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:dr.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:dr.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:dr.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:dr.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:dr.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:dr.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:dr.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:dr.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:dr.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:dr.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:dr.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:dr.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:dr.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:dr.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:dr.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:dr.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:dr.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:dr.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:dr.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:dr.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:dr.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:dr.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:dr.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:dr.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:dr.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:dr.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:dr.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:dr.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:dr.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:dr.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:dr.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:dr.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:dr.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:dr.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:dr.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:dr.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:dr.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:dr.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:dr.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:dr.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:dr.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:dr.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:dr.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:dr.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:dr.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:dr.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:dr.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:dr.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:dr.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:dr.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:dr.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:dr.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:dr.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:dr.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:dr.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:dr.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:dr.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:dr.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:dr.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:dr.create("--ft-icon-size-6","","SIZE","48px"),opacity0:dr.create("--ft-opacity-0","","NUMBER","0"),opacity8:dr.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:dr.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:dr.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:dr.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:dr.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:dr.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:dr.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:dr.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:dr.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:dr.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:dr.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:dr.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:dr.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:dr.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},yr={fontFamily:dr.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:dr.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:dr.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:dr.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:dr.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:dr.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:dr.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:dr.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:dr.create("--ft-typography-display-textCase","","UNKNOWN","none")},gr={fontFamily:dr.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:dr.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:dr.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:dr.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:dr.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:dr.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:dr.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:dr.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:dr.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},mr={fontFamily:dr.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:dr.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:dr.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:dr.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:dr.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:dr.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:dr.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:dr.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:dr.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},br={fontFamily:dr.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:dr.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:dr.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:dr.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:dr.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:dr.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:dr.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:dr.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:dr.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},vr={fontFamily:dr.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:dr.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:dr.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:dr.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:dr.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:dr.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:dr.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:dr.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:dr.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Or={fontFamily:dr.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:dr.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:dr.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:dr.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:dr.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:dr.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:dr.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:dr.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:dr.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Sr={fontFamily:dr.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:dr.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:dr.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:dr.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:dr.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:dr.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:dr.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:dr.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:dr.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},wr={fontFamily:dr.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:dr.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:dr.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:dr.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:dr.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:dr.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:dr.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:dr.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:dr.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Nr={fontFamily:dr.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:dr.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:dr.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:dr.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:dr.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:dr.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:dr.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:dr.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:dr.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},xr={fontFamily:dr.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:dr.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:dr.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:dr.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:dr.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:dr.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:dr.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:dr.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:dr.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Cr={fontFamily:dr.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:dr.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:dr.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:dr.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:dr.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:dr.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:dr.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:dr.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:dr.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Er={fontFamily:dr.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:dr.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:dr.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:dr.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:dr.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:dr.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:dr.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:dr.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:dr.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Rr={fontFamily:dr.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:dr.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:dr.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:dr.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:dr.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:dr.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:dr.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:dr.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:dr.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Mr={fontFamily:dr.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:dr.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:dr.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:dr.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:dr.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:dr.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:dr.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:dr.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:dr.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Lr={fontFamily:dr.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:dr.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:dr.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:dr.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:dr.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:dr.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:dr.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:dr.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:dr.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},kr={fontFamily:dr.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:dr.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:dr.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:dr.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:dr.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:dr.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:dr.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:dr.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:dr.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Dr={fontFamily:dr.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:dr.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:dr.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:dr.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:dr.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:dr.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:dr.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:dr.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:dr.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Wr={fontFamily:dr.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:dr.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:dr.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:dr.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:dr.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:dr.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:dr.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:dr.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:dr.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ir={fontFamily:dr.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:dr.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:dr.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:dr.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:dr.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:dr.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:dr.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:dr.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:dr.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ur={fontFamily:dr.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:dr.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:dr.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:dr.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:dr.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:dr.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:dr.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:dr.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:dr.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Yr={fontFamily:dr.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:dr.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:dr.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:dr.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:dr.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:dr.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:dr.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:dr.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:dr.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},_r={fontFamily:dr.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:dr.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:dr.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:dr.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:dr.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:dr.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:dr.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:dr.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:dr.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Ar={fontFamily:dr.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:dr.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:dr.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:dr.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:dr.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:dr.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:dr.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:dr.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:dr.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Fr={fontFamily:dr.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:dr.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:dr.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:dr.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:dr.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:dr.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:dr.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:dr.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:dr.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},jr={fontFamily:dr.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:dr.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:dr.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:dr.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:dr.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:dr.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:dr.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:dr.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:dr.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Hr={display:yr,"title-1":gr,"title-2":mr,"title-3":br,"body-1-regular":vr,"body-1-medium":Or,"body-1-semibold":Sr,"body-2-regular":wr,"body-2-medium":Nr,"body-2-semibold":xr,"label-1-medium":Cr,"label-1-semibold":Er,"label-1-bold":Rr,"label-2-medium":Mr,"label-2-semibold":Lr,"label-2-bold":kr,"caption-1-medium":Dr,"caption-1-semibold":Wr,"caption-1-bold":Ir,"caption-2-medium":Ur,"caption-2-semibold":Yr,"caption-2-bold":_r,"caption-3-medium":Ar,"caption-3-semibold":Fr,"caption-3-bold":jr},Pr={backgroundActionPrimary:dr.extend("--ft-background-action-primary","Used as backgorund of primary action components.",pr.colorBrand0),backgroundErrorPrimary:dr.extend("--ft-background-error-primary","Used as background of error components.",pr.colorRed0),backgroundErrorSubtle:dr.extend("--ft-background-error-subtle","Used as background of subtle error components.",pr.colorRed10),backgroundInfoPrimary:dr.extend("--ft-background-info-primary","Used as background of information components.",pr.colorCyan200),backgroundInfoSubtle:dr.extend("--ft-background-info-subtle","Used as background of subtle information components.",pr.colorCyan10),backgroundWarningPrimary:dr.extend("--ft-background-warning-primary","Used as background of warning components.",pr.colorOrange300),backgroundWarningSubtle:dr.extend("--ft-background-warning-subtle","Used as background of subtle information components.",pr.colorOrange10),backgroundSuccessPrimary:dr.extend("--ft-background-success-primary","Used as background of success components.",pr.colorGreen200),backgroundSuccessSubtle:dr.extend("--ft-background-success-subtle","Used as background of subtle success components.",pr.colorGreen10),backgroundGlobalSurface:dr.extend("--ft-background-global-surface","Used as app background.",pr.colorWhite),backgroundGlobalOnSurface:dr.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",pr.colorGray10),backgroundGlobalOnSurfaceDark:dr.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",pr.colorGray30),contentActionPrimary:dr.extend("--ft-content-action-primary","Used on label of primary action on light surface.",pr.colorBrand0),contentWarningPrimary:dr.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",pr.colorOrange300),contentWarningIconOnly:dr.extend("--ft-content-warning-icon-only","Used on warning status icons alone",pr.colorOrange0),contentErrorPrimary:dr.extend("--ft-content-error-primary","Used on label of error messages on light surface.",pr.colorRed0),contentErrorIconOnly:dr.extend("--ft-content-error-icon-only","Used on error status icons alone",pr.colorRed0),contentInfoPrimary:dr.extend("--ft-content-info-primary","Used on label of information messages on light surface.",pr.colorCyan200),contentInfoIconOnly:dr.extend("--ft-content-info-icon-only","Used on info status icons alone",pr.colorCyan0),contentSuccessPrimary:dr.extend("--ft-content-success-primary","Used on label of success messages on light surface.",pr.colorGreen200),contentSuccessIconOnly:dr.extend("--ft-content-success-icon-only","Used on success status icons alone",pr.colorGreen0),contentGlobalPrimary:dr.extend("--ft-content-global-primary","Used for main content on the page.",pr.colorGray500),contentGlobalSecondary:dr.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",pr.colorGray200),contentGlobalSubtle:dr.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",pr.colorGray0),contentGlobalOnColor:dr.extend("--ft-content-global-on-color","Used for content on a dominant color.",pr.colorWhite),borderActionPrimary:dr.extend("--ft-border-action-primary","Used as border for primary action components.",pr.colorBrand0),borderActionFocusRing:dr.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",pr.colorCyan0),borderWarningPrimary:dr.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",pr.colorOrange300),borderWarningSubtle:dr.extend("--ft-border-warning-subtle","Used as border for warning components.",pr.colorOrange30),borderSuccessPrimary:dr.extend("--ft-border-success-primary","Used as border for success buttons.",pr.colorGreen200),borderSuccessSubtle:dr.extend("--ft-border-success-subtle","Used as border for success components.",pr.colorGreen30),borderErrorPrimary:dr.extend("--ft-border-error-primary","Used as border for text fields in error states.",pr.colorRed0),borderErrorSubtle:dr.extend("--ft-border-error-subtle","Used as border for error components.",pr.colorRed30),borderInfoPrimary:dr.extend("--ft-border-info-primary","Used as border for buttons in info color.",pr.colorCyan200),borderInfoSubtle:dr.extend("--ft-border-info-subtle","Used as border for information components.",pr.colorCyan30),borderGlobalPrimary:dr.extend("--ft-border-global-primary","Used as border for element like input.",pr.colorGray50),borderGlobalSubtle:dr.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",pr.colorGray30),borderInputPrimary:dr.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",pr.colorGray80)},$r={largeHeight:dr.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:dr.extend("--ft-button-large-horizontal-padding","",pr.spacing4),largeGap:dr.extend("--ft-button-large-gap","",pr.spacing2),largeBorderRadius:dr.extend("--ft-button-large-border-radius","",pr.borderRadiusS),largeIconSize:dr.extend("--ft-button-large-icon-size","",pr.iconSize3),largeBorderWidth:dr.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:dr.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:dr.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:dr.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:dr.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:dr.extend("--ft-button-small-horizontal-padding","",pr.spacing3),smallGap:dr.extend("--ft-button-small-gap","",pr.spacing2),smallBorderRadius:dr.extend("--ft-button-small-border-radius","",pr.borderRadiusS),smallIconSize:dr.extend("--ft-button-small-icon-size","",pr.iconSize2),smallBorderWidth:dr.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:dr.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:dr.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:dr.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:dr.extend("--ft-button-primary-background-color","",Pr.backgroundActionPrimary),primaryColor:dr.extend("--ft-button-primary-color","",Pr.contentGlobalOnColor),primaryIconColor:dr.extend("--ft-button-primary-icon-color","",Pr.contentGlobalOnColor),primaryStateLayerColor:dr.extend("--ft-button-primary-state-layer-color","",Pr.contentGlobalOnColor),primaryStateLayerOpacityHover:dr.extend("--ft-button-primary-state-layer-opacity-hover","",pr.opacity16),primaryStateLayerOpacityFocus:dr.extend("--ft-button-primary-state-layer-opacity-focus","",pr.opacity16),primaryStateLayerOpacityActive:dr.extend("--ft-button-primary-state-layer-opacity-active","",pr.opacity24),primaryComponentOpacityDisabled:dr.extend("--ft-button-primary-component-opacity-disabled","",pr.opacity40),focusFocusRingColor:dr.extend("--ft-button-focus-focus-ring-color","",Pr.borderActionFocusRing),tertiaryBackgroundColor:dr.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:dr.extend("--ft-button-tertiary-color","",Pr.contentActionPrimary),tertiaryIconColor:dr.extend("--ft-button-tertiary-icon-color","",Pr.contentActionPrimary),tertiaryStateLayerColor:dr.extend("--ft-button-tertiary-state-layer-color","",Pr.contentActionPrimary),tertiaryStateLayerOpacityHover:dr.extend("--ft-button-tertiary-state-layer-opacity-hover","",pr.opacity8),tertiaryStateLayerOpacityFocus:dr.extend("--ft-button-tertiary-state-layer-opacity-focus","",pr.opacity8),tertiaryStateLayerOpacityActive:dr.extend("--ft-button-tertiary-state-layer-opacity-active","",pr.opacity16),tertiaryComponentOpacityDisabled:dr.extend("--ft-button-tertiary-component-opacity-disabled","",pr.opacity40),secondaryBackgroundColor:dr.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:dr.extend("--ft-button-secondary-color","",Pr.contentActionPrimary),secondaryIconColor:dr.extend("--ft-button-secondary-icon-color","",Pr.contentActionPrimary),secondaryStateLayerColor:dr.extend("--ft-button-secondary-state-layer-color","",Pr.contentActionPrimary),secondaryStateLayerOpacityHover:dr.extend("--ft-button-secondary-state-layer-opacity-hover","",pr.opacity8),secondaryStateLayerOpacityFocus:dr.extend("--ft-button-secondary-state-layer-opacity-focus","",pr.opacity8),secondaryStateLayerOpacityActive:dr.extend("--ft-button-secondary-state-layer-opacity-active","",pr.opacity16),secondaryComponentOpacityDisabled:dr.extend("--ft-button-secondary-component-opacity-disabled","",pr.opacity40),secondaryBorderColor:dr.extend("--ft-button-secondary-border-color","",Pr.borderActionPrimary),neutralBackgroundColor:dr.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:dr.extend("--ft-button-neutral-icon-color","",Pr.contentGlobalSecondary),neutralColor:dr.extend("--ft-button-neutral-color","",Pr.contentGlobalSecondary),neutralStateLayerColor:dr.extend("--ft-button-neutral-state-layer-color","",Pr.contentGlobalSecondary),neutralStateLayerOpacityHover:dr.extend("--ft-button-neutral-state-layer-opacity-hover","",pr.opacity8),neutralStateLayerOpacityFocus:dr.extend("--ft-button-neutral-state-layer-opacity-focus","",pr.opacity8),neutralStateLayerOpacityActive:dr.extend("--ft-button-neutral-state-layer-opacity-active","",pr.opacity16),neutralComponentOpacityDisabled:dr.extend("--ft-button-neutral-component-opacity-disabled","",pr.opacity40)},Kr={horizontalPadding:dr.extend("--ft-floating-menu-horizontal-padding","",pr.spacing4),verticalPadding:dr.extend("--ft-floating-menu-vertical-padding","",pr.spacing4),offIconColor:dr.extend("--ft-floating-menu-off-icon-color","",Pr.contentGlobalPrimary),offColor:dr.extend("--ft-floating-menu-off-color","",Pr.contentGlobalPrimary),onColor:dr.extend("--ft-floating-menu-on-color","",Pr.contentActionPrimary),onIconColor:dr.extend("--ft-floating-menu-on-icon-color","",Pr.contentActionPrimary),onStateLayerColor:dr.extend("--ft-floating-menu-on-state-layer-color","",Pr.contentActionPrimary),gap:dr.extend("--ft-floating-menu-gap","",pr.spacing3),focusFocusRingColor:dr.extend("--ft-floating-menu-focus-focus-ring-color","",Pr.borderActionFocusRing),focusOutlineWidth:dr.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),stateLayerOpacityHover:dr.extend("--ft-floating-menu-state-layer-opacity-hover","",pr.opacity8),stateLayerOpacityActive:dr.extend("--ft-floating-menu-state-layer-opacity-active","",pr.opacity16),stateLayerOpacityFocus:dr.extend("--ft-floating-menu-state-layer-opacity-focus","",pr.opacity8),componentOpacityDisabled:dr.extend("--ft-floating-menu-component-opacity-disabled","",pr.opacity40),iconSize:dr.extend("--ft-floating-menu-icon-size","",pr.iconSize3),backgroundColor:dr.extend("--ft-floating-menu-background-color","",Pr.backgroundGlobalOnSurface)},Zr={topLeftBorderRadius:dr.extend("--ft-tabs-top-left-border-radius","",pr.borderRadiusS),topRightBorderRadius:dr.extend("--ft-tabs-top-right-border-radius","",pr.borderRadiusS),labelHorizontalPadding:dr.extend("--ft-tabs-label-horizontal-padding","",pr.spacing4),labelVerticalPadding:dr.extend("--ft-tabs-label-vertical-padding","",pr.spacing3),labelGap:dr.extend("--ft-tabs-label-gap","",pr.spacing1),iconHorizontalPadding:dr.extend("--ft-tabs-icon-horizontal-padding","",pr.spacing1),iconVerticalPadding:dr.extend("--ft-tabs-icon-vertical-padding","",pr.spacing4),focusOutlineWidth:dr.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:dr.extend("--ft-tabs-focus-focus-ring-color","",Pr.borderActionFocusRing),offStateLayerOpacityHover:dr.extend("--ft-tabs-off-state-layer-opacity-hover","",pr.opacity8),offStateLayerOpacityFocus:dr.extend("--ft-tabs-off-state-layer-opacity-focus","",pr.opacity8),offStateLayerOpacityActive:dr.extend("--ft-tabs-off-state-layer-opacity-active","",pr.opacity16),offComponentOpacityDisabled:dr.extend("--ft-tabs-off-component-opacity-disabled","",pr.opacity40),offColor:dr.extend("--ft-tabs-off-color","",Pr.contentGlobalSubtle),offStateLayerColor:dr.extend("--ft-tabs-off-state-layer-color","",Pr.contentGlobalSubtle),onStateLayerOpacityHover:dr.extend("--ft-tabs-on-state-layer-opacity-hover","",pr.opacity8),onStateLayerOpacityFocus:dr.extend("--ft-tabs-on-state-layer-opacity-focus","",pr.opacity8),onStateLayerOpacityActive:dr.extend("--ft-tabs-on-state-layer-opacity-active","",pr.opacity16),onComponentOpacityDisabled:dr.extend("--ft-tabs-on-component-opacity-disabled","",pr.opacity40),onColor:dr.extend("--ft-tabs-on-color","",Pr.contentActionPrimary),onStateLayerColor:dr.extend("--ft-tabs-on-state-layer-color","",Pr.contentActionPrimary)},Tr={stateLayerOpacityHover:dr.extend("--ft-collapsible-state-layer-opacity-hover","",pr.opacity8),stateLayerOpacityFocus:dr.extend("--ft-collapsible-state-layer-opacity-focus","",pr.opacity8),stateLayerOpacityActive:dr.extend("--ft-collapsible-state-layer-opacity-active","",pr.opacity16),componentOpacityDisabled:dr.extend("--ft-collapsible-component-opacity-disabled","",pr.opacity40),horizontalPadding:dr.extend("--ft-collapsible-horizontal-padding","",pr.spacing4),verticalPadding:dr.extend("--ft-collapsible-vertical-padding","",pr.spacing3),focusOutlineWidth:dr.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:dr.extend("--ft-collapsible-focus-focus-ring-color","",Pr.borderActionFocusRing),color:dr.extend("--ft-collapsible-color","",Pr.contentGlobalPrimary),stateLayerColor:dr.extend("--ft-collapsible-state-layer-color","",Pr.contentGlobalPrimary),backgroundColor:dr.extend("--ft-collapsible-background-color","",Pr.backgroundGlobalOnSurface),borderColor:dr.extend("--ft-collapsible-border-color","",Pr.borderGlobalSubtle),iconSize:dr.extend("--ft-collapsible-icon-size","",pr.iconSize3)},Br={groupHorizontalPadding:dr.extend("--ft-switch-group-horizontal-padding","",pr.spacing1),groupVerticalPadding:dr.extend("--ft-switch-group-vertical-padding","",pr.spacing1),groupGap:dr.extend("--ft-switch-group-gap","",pr.spacing1),groupBackgroundColor:dr.extend("--ft-switch-group-background-color","",Pr.backgroundGlobalSurface),groupBorderColor:dr.extend("--ft-switch-group-border-color","",Pr.borderGlobalSubtle),groupBorderRadius:dr.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:dr.extend("--ft-switch-label-horizontal-padding","",pr.spacing2),labelVerticalPadding:dr.extend("--ft-switch-label-vertical-padding","",pr.spacing1),iconHorizontalPadding:dr.extend("--ft-switch-icon-horizontal-padding","",pr.spacing1),iconVerticalPadding:dr.extend("--ft-switch-icon-vertical-padding","",pr.spacing1),focusOutlineWidth:dr.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:dr.extend("--ft-switch-focus-focus-ring-color","",Pr.borderActionFocusRing),optionBorderRadius:dr.extend("--ft-switch-option-border-radius","",pr.borderRadiusS),offStateLayerOpacityHover:dr.extend("--ft-switch-off-state-layer-opacity-hover","",pr.opacity8),offStateLayerOpacityFocus:dr.extend("--ft-switch-off-state-layer-opacity-focus","",pr.opacity8),offStateLayerOpacityActive:dr.extend("--ft-switch-off-state-layer-opacity-active","",pr.opacity16),offComponentOpacityDisabled:dr.extend("--ft-switch-off-component-opacity-disabled","",pr.opacity40),offColor:dr.extend("--ft-switch-off-color","",Pr.contentGlobalSubtle),offStateLayerColor:dr.extend("--ft-switch-off-state-layer-color","",Pr.contentGlobalSubtle),onStateLayerOpacityHover:dr.extend("--ft-switch-on-state-layer-opacity-hover","",pr.opacity8),onStateLayerOpacityFocus:dr.extend("--ft-switch-on-state-layer-opacity-focus","",pr.opacity8),onStateLayerOpacityActive:dr.extend("--ft-switch-on-state-layer-opacity-active","",pr.opacity16),onComponentOpacityDisabled:dr.extend("--ft-switch-on-component-opacity-disabled","",pr.opacity40),onColor:dr.extend("--ft-switch-on-color","",Pr.contentActionPrimary),onStateLayerColor:dr.extend("--ft-switch-on-state-layer-color","",Pr.contentActionPrimary)},zr={color1Light:dr.extend("--ft-chart-1-light","for area color charts",pr.colorBrand40),color1Base:dr.extend("--ft-chart-1-base","for line charts",pr.colorBrand0),color2Light:dr.extend("--ft-chart-2-light","for area color charts",pr.colorYellow60),color2Base:dr.extend("--ft-chart-2-base","for line charts",pr.colorYellow100),color3Light:dr.extend("--ft-chart-3-light","",pr.colorUltramarine40),color3Base:dr.extend("--ft-chart-3-base","",pr.colorUltramarine70),color4Light:dr.extend("--ft-chart-4-light","",pr.colorCyan50),color4Base:dr.extend("--ft-chart-4-base","",pr.colorCyan100),color5Light:dr.extend("--ft-chart-5-light","",pr.colorRed40),color5Base:dr.extend("--ft-chart-5-base","",pr.colorRed60),color6Light:dr.extend("--ft-chart-6-light","",pr.colorGreen40),color6Base:dr.extend("--ft-chart-6-base","",pr.colorGreen70),color7Light:dr.extend("--ft-chart-7-light","",pr.colorOrange70),color7Base:dr.extend("--ft-chart-7-base","",pr.colorOrange100),color8Light:dr.extend("--ft-chart-8-light","",pr.colorAvocado70),color8Base:dr.extend("--ft-chart-8-base","",pr.colorAvocado200),color9Light:dr.extend("--ft-chart-9-light","",pr.colorBrown50),color9Base:dr.extend("--ft-chart-9-base","",pr.colorBrown200),color10Light:dr.extend("--ft-chart-10-light","",pr.colorGray50),color10Base:dr.extend("--ft-chart-10-base","",pr.colorGray80),monochrome10:dr.extend("--ft-chart-monochrome-10","",pr.colorBrand10),monochrome20:dr.extend("--ft-chart-monochrome-20","",pr.colorBrand20),monochrome30:dr.extend("--ft-chart-monochrome-30","",pr.colorBrand40),monochrome40:dr.extend("--ft-chart-monochrome-40","",pr.colorBrand60),monochrome50:dr.extend("--ft-chart-monochrome-50","",pr.colorBrand0),monochrome60:dr.extend("--ft-chart-monochrome-60","",pr.colorBrand200)},Gr={largeHorizontalPadding:dr.extend("--ft-chip-large-horizontal-padding","",pr.spacing4),largeVerticalPadding:dr.extend("--ft-chip-large-vertical-padding","",pr.spacing2),largeGap:dr.extend("--ft-chip-large-gap","",pr.spacing1),largeFocusOutlineOffset:dr.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:dr.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:dr.extend("--ft-chip-large-border-radius","",pr.borderRadiusPill),largeBorderWidth:dr.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:dr.extend("--ft-chip-large-icon-size","",pr.iconSize3),mediumHorizontalPadding:dr.extend("--ft-chip-medium-horizontal-padding","",pr.spacing3),mediumVerticalPadding:dr.extend("--ft-chip-medium-vertical-padding","",pr.spacing1),mediumGap:dr.extend("--ft-chip-medium-gap","",pr.spacing1),mediumFocusOutlineOffset:dr.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:dr.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:dr.extend("--ft-chip-medium-border-radius","",pr.borderRadiusPill),mediumBorderWidth:dr.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:dr.extend("--ft-chip-medium-icon-size","",pr.iconSize2),smallHorizontalPadding:dr.extend("--ft-chip-small-horizontal-padding","",pr.spacing2),smallVerticalPadding:dr.extend("--ft-chip-small-vertical-padding","",pr.spacing05),smallGap:dr.extend("--ft-chip-small-gap","",pr.spacing1),smallFocusOutlineOffset:dr.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:dr.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:dr.extend("--ft-chip-small-border-radius","",pr.borderRadiusPill),smallBorderWidth:dr.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:dr.extend("--ft-chip-small-icon-size","",pr.iconSize1),neutralBackgroundColor:dr.extend("--ft-chip-neutral-background-color","",Pr.backgroundGlobalOnSurface),neutralColor:dr.extend("--ft-chip-neutral-color","",Pr.contentGlobalPrimary),neutralBorderColor:dr.extend("--ft-chip-neutral-border-color","",Pr.borderGlobalSubtle),infoBackgroundColor:dr.extend("--ft-chip-info-background-color","",Pr.backgroundInfoSubtle),infoColor:dr.extend("--ft-chip-info-color","",Pr.contentInfoPrimary),infoBorderColor:dr.extend("--ft-chip-info-border-color","",Pr.borderInfoSubtle),successBackgroundColor:dr.extend("--ft-chip-success-background-color","",Pr.backgroundSuccessSubtle),successColor:dr.extend("--ft-chip-success-color","",Pr.contentSuccessPrimary),successBorderColor:dr.extend("--ft-chip-success-border-color","",Pr.borderSuccessSubtle),warningBackgroundColor:dr.extend("--ft-chip-warning-background-color","",Pr.backgroundWarningSubtle),warningColor:dr.extend("--ft-chip-warning-color","",Pr.contentWarningPrimary),warningBorderColor:dr.extend("--ft-chip-warning-border-color","",Pr.borderWarningSubtle),errorBackgroundColor:dr.extend("--ft-chip-error-background-color","",Pr.backgroundErrorSubtle),errorColor:dr.extend("--ft-chip-error-color","",Pr.contentErrorPrimary),errorBorderColor:dr.extend("--ft-chip-error-border-color","",Pr.borderErrorSubtle)},qr={borderWidth:dr.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:dr.extend("--ft-notice-horizontal-padding","",pr.spacing2),verticalPadding:dr.extend("--ft-notice-vertical-padding","",pr.spacing1),borderRadius:dr.extend("--ft-notice-border-radius","",pr.borderRadiusS),gap:dr.extend("--ft-notice-gap","",pr.spacing2),iconSize:dr.extend("--ft-notice-icon-size","",pr.iconSize3),infoBackgroundColor:dr.extend("--ft-notice-info-background-color","",Pr.backgroundInfoSubtle),infoBorderColor:dr.extend("--ft-notice-info-border-color","",Pr.borderInfoSubtle),infoColor:dr.extend("--ft-notice-info-color","",Pr.contentInfoPrimary),warningBackgroundColor:dr.extend("--ft-notice-warning-background-color","",Pr.backgroundWarningSubtle),warningBorderColor:dr.extend("--ft-notice-warning-border-color","",Pr.borderWarningSubtle),warningColor:dr.extend("--ft-notice-warning-color","",Pr.contentWarningPrimary)},Vr={labelColor:dr.extend("--ft-checkbox-label-color","",Pr.contentGlobalPrimary),checkedBackgroundColor:dr.extend("--ft-checkbox-checked-background-color","",Pr.contentActionPrimary),checkedStateLayerColor:dr.extend("--ft-checkbox-checked-state-layer-color","",Pr.contentActionPrimary),checkedColor:dr.extend("--ft-checkbox-checked-color","",Pr.contentGlobalOnColor),checkedStateLayerOpacityHover:dr.extend("--ft-checkbox-checked-state-layer-opacity-hover","",pr.opacity16),checkedStateLayerOpacityFocus:dr.extend("--ft-checkbox-checked-state-layer-opacity-focus","",pr.opacity16),checkedStateLayerOpacityActive:dr.extend("--ft-checkbox-checked-state-layer-opacity-active","",pr.opacity24),checkedComponentOpacityDisabled:dr.extend("--ft-checkbox-checked-component-opacity-disabled","",pr.opacity40),uncheckedBorderColor:dr.extend("--ft-checkbox-unchecked-border-color","",pr.colorGray80),uncheckedStateLayerColor:dr.extend("--ft-checkbox-unchecked-state-layer-color","",pr.colorGray80),uncheckedStateLayerOpacityHover:dr.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",pr.opacity16),uncheckedStateLayerOpacityFocus:dr.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",pr.opacity16),uncheckedStateLayerOpacityActive:dr.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",pr.opacity24),uncheckedComponentOpacityDisabled:dr.extend("--ft-checkbox-unchecked-component-opacity-disabled","",pr.opacity40),focusFocusRingColor:dr.extend("--ft-checkbox-focus-focus-ring-color","",Pr.borderActionFocusRing),focusOutlineOffset:dr.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:dr.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:dr.extend("--ft-checkbox-gap","",pr.spacing3)},Jr={offStateLayerOpacityHover:dr.extend("--ft-toggle-off-state-layer-opacity-hover","",pr.opacity16),offStateLayerOpacityFocus:dr.extend("--ft-toggle-off-state-layer-opacity-focus","",pr.opacity16),offStateLayerOpacityActive:dr.extend("--ft-toggle-off-state-layer-opacity-active","",pr.opacity24),offComponentOpacityDisabled:dr.extend("--ft-toggle-off-component-opacity-disabled","",pr.opacity40),offBackgroundColor:dr.extend("--ft-toggle-off-background-color","",Pr.contentGlobalSubtle),offIconColor:dr.extend("--ft-toggle-off-icon-color","",Pr.contentGlobalSubtle),offStateLayerColor:dr.extend("--ft-toggle-off-state-layer-color","",Pr.contentGlobalSubtle),onStateLayerOpacityHover:dr.extend("--ft-toggle-on-state-layer-opacity-hover","",pr.opacity16),onStateLayerOpacityFocus:dr.extend("--ft-toggle-on-state-layer-opacity-focus","",pr.opacity16),onStateLayerOpacityActive:dr.extend("--ft-toggle-on-state-layer-opacity-active","",pr.opacity24),onComponentOpacityDisabled:dr.extend("--ft-toggle-on-component-opacity-disabled","",pr.opacity40),onBackgroundColor:dr.extend("--ft-toggle-on-background-color","",Pr.contentActionPrimary),onIconColor:dr.extend("--ft-toggle-on-icon-color","",Pr.contentActionPrimary),onStateLayerColor:dr.extend("--ft-toggle-on-state-layer-color","",Pr.contentActionPrimary),labelColor:dr.extend("--ft-toggle-label-color","",Pr.contentGlobalPrimary),focusFocusRingColor:dr.extend("--ft-toggle-focus-focus-ring-color","",Pr.borderActionFocusRing),gap:dr.extend("--ft-toggle-gap","",pr.spacing3)},Xr={labelColor:dr.extend("--ft-radio-label-color","",Pr.contentGlobalPrimary),selectedColor:dr.extend("--ft-radio-selected-color","",Pr.contentActionPrimary),selectedStateLayerColor:dr.extend("--ft-radio-selected-state-layer-color","",Pr.contentActionPrimary),selectedStateLayerOpacityHover:dr.extend("--ft-radio-selected-state-layer-opacity-hover","",pr.opacity16),selectedStateLayerOpacityFocus:dr.extend("--ft-radio-selected-state-layer-opacity-focus","",pr.opacity16),selectedStateLayerOpacityActive:dr.extend("--ft-radio-selected-state-layer-opacity-active","",pr.opacity24),selectedComponentOpacityDisabled:dr.extend("--ft-radio-selected-component-opacity-disabled","",pr.opacity40),unselectedStateLayerColor:dr.extend("--ft-radio-unselected-state-layer-color","",pr.colorGray80),unselectedStateLayerOpacityHover:dr.extend("--ft-radio-unselected-state-layer-opacity-hover","",pr.opacity16),unselectedStateLayerOpacityFocus:dr.extend("--ft-radio-unselected-state-layer-opacity-focus","",pr.opacity16),unselectedStateLayerOpacityActive:dr.extend("--ft-radio-unselected-state-layer-opacity-active","",pr.opacity24),unselectedComponentOpacityDisabled:dr.extend("--ft-radio-unselected-component-opacity-disabled","",pr.opacity40),focusFocusRingColor:dr.extend("--ft-radio-focus-focus-ring-color","",Pr.borderActionFocusRing),focusOutlineOffset:dr.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:dr.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:dr.extend("--ft-radio-gap","",pr.spacing3)},Qr={iconSize:dr.extend("--ft-notification-icon-size","",pr.iconSize4),horizontalPadding:dr.extend("--ft-notification-horizontal-padding","",pr.spacing4),verticalPadding:dr.extend("--ft-notification-vertical-padding","",pr.spacing4),infoBackgroundColor:dr.extend("--ft-notification-info-background-color","",Pr.backgroundInfoSubtle),infoColor:dr.extend("--ft-notification-info-color","",Pr.contentInfoPrimary),infoBorderColor:dr.extend("--ft-notification-info-border-color","",Pr.borderInfoSubtle),successBackgroundColor:dr.extend("--ft-notification-success-background-color","",Pr.backgroundSuccessSubtle),successColor:dr.extend("--ft-notification-success-color","",Pr.contentSuccessPrimary),successBorderColor:dr.extend("--ft-notification-success-border-color","",Pr.borderSuccessSubtle),warningBackgroundColor:dr.extend("--ft-notification-warning-background-color","",Pr.backgroundWarningSubtle),warningColor:dr.extend("--ft-notification-warning-color","",Pr.contentWarningPrimary),warningBorderColor:dr.extend("--ft-notification-warning-border-color","",Pr.borderWarningSubtle),errorBackgroundColor:dr.extend("--ft-notification-error-background-color","",Pr.backgroundErrorSubtle),errorColor:dr.extend("--ft-notification-error-color","",Pr.contentErrorPrimary),errorBorderColor:dr.extend("--ft-notification-error-border-color","",Pr.borderErrorSubtle),borderRadius:dr.extend("--ft-notification-border-radius","",pr.borderRadiusPill),borderWidth:dr.create("--ft-notification-border-width","","SIZE","1px"),gapLeading:dr.extend("--ft-notification-gap-leading","",pr.spacing2),gapTrailing:dr.extend("--ft-notification-gap-trailing","",pr.spacing8)},to={horizontalPadding:dr.extend("--ft-tooltip-horizontal-padding","",pr.spacing2),verticalPadding:dr.extend("--ft-tooltip-vertical-padding","",pr.spacing2),borderRadius:dr.extend("--ft-tooltip-border-radius","",pr.borderRadiusS),label:dr.extend("--ft-tooltip-label","",Pr.contentGlobalOnColor),background:dr.extend("--ft-tooltip-background","",Pr.contentGlobalPrimary),backgroundOpacity:dr.extend("--ft-tooltip-background-opacity","",pr.opacity80),shadow:dr.extend("--ft-tooltip-shadow","",pr.shadowElevation03)};var eo=Object.freeze({__proto__:null,FtCssVariableFactory:dr,button:$r,chart:zr,checkbox:Vr,chip:Gr,collapsible:Tr,floatingMenu:Kr,foundation:pr,notice:qr,notification:Qr,radio:Xr,semantic:Pr,setVariable:function(t,e){return hr(`${t.name}: ${e}`)},switch_:Br,tabs:Zr,toggle:Jr,tooltip:to,typographies:Hr,typographyBody1Medium:Or,typographyBody1Regular:vr,typographyBody1Semibold:Sr,typographyBody2Medium:Nr,typographyBody2Regular:wr,typographyBody2Semibold:xr,typographyCaption1Bold:Ir,typographyCaption1Medium:Dr,typographyCaption1Semibold:Wr,typographyCaption2Bold:_r,typographyCaption2Medium:Ur,typographyCaption2Semibold:Yr,typographyCaption3Bold:jr,typographyCaption3Medium:Ar,typographyCaption3Semibold:Fr,typographyDisplay:yr,typographyLabel1Bold:Rr,typographyLabel1Medium:Cr,typographyLabel1Semibold:Er,typographyLabel2Bold:kr,typographyLabel2Medium:Mr,typographyLabel2Semibold:Lr,typographyTitle1:gr,typographyTitle2:mr,typographyTitle3:br,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","label-1","label-2","caption-1","caption-2","caption-3"]});const ro={colorPrimary:dr.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:dr.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:dr.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:dr.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:dr.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:dr.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:dr.create("--ft-color-error","","COLOR","#B00020"),colorOutline:dr.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:dr.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:dr.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:dr.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:dr.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:dr.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:dr.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:dr.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:dr.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:dr.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:dr.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:dr.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:dr.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:dr.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:dr.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:dr.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:dr.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:dr.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:dr.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:dr.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:dr.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:dr.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:dr.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:dr.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:dr.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:dr.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:dr.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:dr.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:dr.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:dr.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:dr.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:dr.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:dr.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:dr.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:dr.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:dr.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:dr.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:dr.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:dr.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:dr.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:dr.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:dr.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:dr.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:dr.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:dr.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:dr.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:dr.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:dr.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:dr.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:dr.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:dr.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:dr.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:dr.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:dr.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:dr.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var oo=Object.freeze({__proto__:null,designSystemVariables:ro});class no extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class io extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class ao extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var so=Object.freeze({__proto__:null,FtNotificationEvent:no,PostResizeEvent:ao,PreResizeEvent:io});const co=["start","end"],lo=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+co[0],e+"-"+co[1])),[]),uo=Math.min,fo=Math.max,ho=Math.round,po=t=>({x:t,y:t}),yo={left:"right",right:"left",bottom:"top",top:"bottom"},go={start:"end",end:"start"};function mo(t,e,r){return fo(t,uo(e,r))}function bo(t,e){return"function"==typeof t?t(e):t}function vo(t){return t.split("-")[0]}function Oo(t){return t.split("-")[1]}function So(t){return"x"===t?"y":"x"}function wo(t){return"y"===t?"height":"width"}function No(t){return["top","bottom"].includes(vo(t))?"y":"x"}function xo(t){return So(No(t))}function Co(t){return t.replace(/left|right|bottom|top/g,(t=>yo[t]))}function Eo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ro(t,e,r){let{reference:o,floating:n}=t;const i=No(e),a=xo(e),s=wo(a),c=vo(e),l="y"===i,u=o.x+o.width/2-n.width/2,f=o.y+o.height/2-n.height/2,h=o[s]/2-n[s]/2;let d;switch(c){case"top":d={x:u,y:o.y-n.height};break;case"bottom":d={x:u,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:f};break;case"left":d={x:o.x-n.width,y:f};break;default:d={x:o.x,y:o.y}}switch(Oo(e)){case"start":d[a]-=h*(r&&l?-1:1);break;case"end":d[a]+=h*(r&&l?-1:1)}return d}async function Mo(t,e){var r;void 0===e&&(e={});const{x:o,y:n,platform:i,rects:a,elements:s,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=bo(e,t),p=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=Eo(await i.getClippingRect({element:null==(r=await(null==i.isElement?void 0:i.isElement(y)))||r?y:y.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:l,rootBoundary:u,strategy:c})),m="floating"===f?{...a.floating,x:o,y:n}:a.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),v=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},O=Eo(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:m,offsetParent:b,strategy:c}):m);return{top:(g.top-O.top+p.top)/v.y,bottom:(O.bottom-g.bottom+p.bottom)/v.y,left:(g.left-O.left+p.left)/v.x,right:(O.right-g.right+p.right)/v.x}}function Lo(t,e,r){return(t?[...r.filter((e=>Oo(e)===t)),...r.filter((e=>Oo(e)!==t))]:r.filter((t=>vo(t)===t))).filter((r=>!t||(Oo(r)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>go[t]))}(r)!==r)))}const ko=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,o,n;const{rects:i,middlewareData:a,placement:s,platform:c,elements:l}=e,{crossAxis:u=!1,alignment:f,allowedPlacements:h=lo,autoAlignment:d=!0,...p}=bo(t,e),y=void 0!==f||h===lo?Lo(f||null,d,h):h,g=await Mo(e,p),m=(null==(r=a.autoPlacement)?void 0:r.index)||0,b=y[m];if(null==b)return{};const v=function(t,e,r){void 0===r&&(r=!1);const o=Oo(t),n=xo(t),i=wo(n);let a="x"===n?o===(r?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[i]>e.floating[i]&&(a=Co(a)),[a,Co(a)]}(b,i,await(null==c.isRTL?void 0:c.isRTL(l.floating)));if(s!==b)return{reset:{placement:y[0]}};const O=[g[vo(b)],g[v[0]],g[v[1]]],S=[...(null==(o=a.autoPlacement)?void 0:o.overflows)||[],{placement:b,overflows:O}],w=y[m+1];if(w)return{data:{index:m+1,overflows:S},reset:{placement:w}};const N=S.map((t=>{const e=Oo(t.placement);return[t.placement,e&&u?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),x=N.filter((t=>t[2].slice(0,Oo(t[0])?2:3).every((t=>t<=0)))),C=(null==(n=x[0])?void 0:n[0])||N[0][0];return C!==s?{data:{index:m+1,overflows:S},reset:{placement:C}}:{}}}};function Do(t){return Uo(t)?(t.nodeName||"").toLowerCase():"#document"}function Wo(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Io(t){var e;return null==(e=(Uo(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Uo(t){return t instanceof Node||t instanceof Wo(t).Node}function Yo(t){return t instanceof Element||t instanceof Wo(t).Element}function _o(t){return t instanceof HTMLElement||t instanceof Wo(t).HTMLElement}function Ao(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Wo(t).ShadowRoot)}function Fo(t){const{overflow:e,overflowX:r,overflowY:o,display:n}=Ko(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&!["inline","contents"].includes(n)}function jo(t){return["table","td","th"].includes(Do(t))}function Ho(t){const e=Po(),r=Ko(t);return"none"!==r.transform||"none"!==r.perspective||!!r.containerType&&"normal"!==r.containerType||!e&&!!r.backdropFilter&&"none"!==r.backdropFilter||!e&&!!r.filter&&"none"!==r.filter||["transform","perspective","filter"].some((t=>(r.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(r.contain||"").includes(t)))}function Po(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function $o(t){return["html","body","#document"].includes(Do(t))}function Ko(t){return Wo(t).getComputedStyle(t)}function Zo(t){return Yo(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function To(t){if("html"===Do(t))return t;const e=t.assignedSlot||t.parentNode||Ao(t)&&t.host||Io(t);return Ao(e)?e.host:e}function Bo(t){const e=To(t);return $o(e)?t.ownerDocument?t.ownerDocument.body:t.body:_o(e)&&Fo(e)?e:Bo(e)}function zo(t,e,r){var o;void 0===e&&(e=[]),void 0===r&&(r=!0);const n=Bo(t),i=n===(null==(o=t.ownerDocument)?void 0:o.body),a=Wo(n);return i?e.concat(a,a.visualViewport||[],Fo(n)?n:[],a.frameElement&&r?zo(a.frameElement):[]):e.concat(n,zo(n,[],r))}function Go(t){const e=Ko(t);let r=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const n=_o(t),i=n?t.offsetWidth:r,a=n?t.offsetHeight:o,s=ho(r)!==i||ho(o)!==a;return s&&(r=i,o=a),{width:r,height:o,$:s}}function qo(t){return Yo(t)?t:t.contextElement}function Vo(t){const e=qo(t);if(!_o(e))return po(1);const r=e.getBoundingClientRect(),{width:o,height:n,$:i}=Go(e);let a=(i?ho(r.width):r.width)/o,s=(i?ho(r.height):r.height)/n;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Jo=po(0);function Xo(t){const e=Wo(t);return Po()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Jo}function Qo(t,e,r,o){void 0===e&&(e=!1),void 0===r&&(r=!1);const n=t.getBoundingClientRect(),i=qo(t);let a=po(1);e&&(o?Yo(o)&&(a=Vo(o)):a=Vo(t));const s=function(t,e,r){return void 0===e&&(e=!1),!(!r||e&&r!==Wo(t))&&e}(i,r,o)?Xo(i):po(0);let c=(n.left+s.x)/a.x,l=(n.top+s.y)/a.y,u=n.width/a.x,f=n.height/a.y;if(i){const t=Wo(i),e=o&&Yo(o)?Wo(o):o;let r=t.frameElement;for(;r&&o&&e!==t;){const t=Vo(r),e=r.getBoundingClientRect(),o=Ko(r),n=e.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,i=e.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x,l*=t.y,u*=t.x,f*=t.y,c+=n,l+=i,r=Wo(r).frameElement}}return Eo({width:u,height:f,x:c,y:l})}function tn(t){return Qo(Io(t)).left+Zo(t).scrollLeft}function en(t,e,r){let o;if("viewport"===e)o=function(t,e){const r=Wo(t),o=Io(t),n=r.visualViewport;let i=o.clientWidth,a=o.clientHeight,s=0,c=0;if(n){i=n.width,a=n.height;const t=Po();(!t||t&&"fixed"===e)&&(s=n.offsetLeft,c=n.offsetTop)}return{width:i,height:a,x:s,y:c}}(t,r);else if("document"===e)o=function(t){const e=Io(t),r=Zo(t),o=t.ownerDocument.body,n=fo(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=fo(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let a=-r.scrollLeft+tn(t);const s=-r.scrollTop;return"rtl"===Ko(o).direction&&(a+=fo(e.clientWidth,o.clientWidth)-n),{width:n,height:i,x:a,y:s}}(Io(t));else if(Yo(e))o=function(t,e){const r=Qo(t,!0,"fixed"===e),o=r.top+t.clientTop,n=r.left+t.clientLeft,i=_o(t)?Vo(t):po(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:n*i.x,y:o*i.y}}(e,r);else{const r=Xo(t);o={...e,x:e.x-r.x,y:e.y-r.y}}return Eo(o)}function rn(t,e){const r=To(t);return!(r===e||!Yo(r)||$o(r))&&("fixed"===Ko(r).position||rn(r,e))}function on(t,e,r){const o=_o(e),n=Io(e),i="fixed"===r,a=Qo(t,!0,i,e);let s={scrollLeft:0,scrollTop:0};const c=po(0);if(o||!o&&!i)if(("body"!==Do(e)||Fo(n))&&(s=Zo(e)),o){const t=Qo(e,!0,i,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else n&&(c.x=tn(n));return{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function nn(t,e){return _o(t)&&"fixed"!==Ko(t).position?e?e(t):t.offsetParent:null}function an(t,e){const r=Wo(t);if(!_o(t))return r;let o=nn(t,e);for(;o&&jo(o)&&"static"===Ko(o).position;)o=nn(o,e);return o&&("html"===Do(o)||"body"===Do(o)&&"static"===Ko(o).position&&!Ho(o))?r:o||function(t){let e=To(t);for(;_o(e)&&!$o(e);){if(Ho(e))return e;e=To(e)}return null}(t)||r}const sn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:r,strategy:o}=t;const n=_o(r),i=Io(r);if(r===i)return e;let a={scrollLeft:0,scrollTop:0},s=po(1);const c=po(0);if((n||!n&&"fixed"!==o)&&(("body"!==Do(r)||Fo(i))&&(a=Zo(r)),_o(r))){const t=Qo(r);s=Vo(r),c.x=t.x+r.clientLeft,c.y=t.y+r.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+c.x,y:e.y*s.y-a.scrollTop*s.y+c.y}},getDocumentElement:Io,getClippingRect:function(t){let{element:e,boundary:r,rootBoundary:o,strategy:n}=t;const i=[..."clippingAncestors"===r?function(t,e){const r=e.get(t);if(r)return r;let o=zo(t,[],!1).filter((t=>Yo(t)&&"body"!==Do(t))),n=null;const i="fixed"===Ko(t).position;let a=i?To(t):t;for(;Yo(a)&&!$o(a);){const e=Ko(a),r=Ho(a);r||"fixed"!==e.position||(n=null),(i?!r&&!n:!r&&"static"===e.position&&n&&["absolute","fixed"].includes(n.position)||Fo(a)&&!r&&rn(t,a))?o=o.filter((t=>t!==a)):n=e,a=To(a)}return e.set(t,o),o}(e,this._c):[].concat(r),o],a=i[0],s=i.reduce(((t,r)=>{const o=en(e,r,n);return t.top=fo(o.top,t.top),t.right=uo(o.right,t.right),t.bottom=uo(o.bottom,t.bottom),t.left=fo(o.left,t.left),t}),en(e,a,n));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:an,getElementRects:async function(t){let{reference:e,floating:r,strategy:o}=t;const n=this.getOffsetParent||an,i=this.getDimensions;return{reference:on(e,await n(r),o),floating:{x:0,y:0,...await i(r)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Go(t)},getScale:Vo,isElement:Yo,isRTL:function(t){return"rtl"===Ko(t).direction}},cn=(t,e,r)=>{const o=new Map,n={platform:sn,...r},i={...n.platform,_c:o};return(async(t,e,r)=>{const{placement:o="bottom",strategy:n="absolute",middleware:i=[],platform:a}=r,s=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(e));let l=await a.getElementRects({reference:t,floating:e,strategy:n}),{x:u,y:f}=Ro(l,o,c),h=o,d={},p=0;for(let r=0;r<s.length;r++){const{name:i,fn:y}=s[r],{x:g,y:m,data:b,reset:v}=await y({x:u,y:f,initialPlacement:o,placement:h,strategy:n,middlewareData:d,rects:l,platform:a,elements:{reference:t,floating:e}});u=null!=g?g:u,f=null!=m?m:f,d={...d,[i]:{...d[i],...b}},v&&p<=50&&(p++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(l=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:n}):v.rects),({x:u,y:f}=Ro(l,h,c))),r=-1)}return{x:u,y:f,placement:h,strategy:n,middlewareData:d}})(t,e,{...n,platform:i})};function ln(t){return function(t){for(let e=t;e;e=un(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=un(t);e;e=un(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function un(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var fn=Object.freeze({__proto__:null,computeOffsetPosition:async function(t,e,r){return cn(t,e,{platform:{...sn,getOffsetParent:t=>sn.getOffsetParent(t,ln)},middleware:[(o={crossAxis:!0},void 0===o&&(o={}),{name:"shift",options:o,async fn(t){const{x:e,y:r,placement:n}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:r}=t;return{x:e,y:r}}},...c}=bo(o,t),l={x:e,y:r},u=await Mo(t,c),f=No(vo(n)),h=So(f);let d=l[h],p=l[f];if(i){const t="y"===h?"bottom":"right";d=mo(d+u["y"===h?"top":"left"],d,d-u[t])}if(a){const t="y"===f?"bottom":"right";p=mo(p+u["y"===f?"top":"left"],p,p-u[t])}const y=s.fn({...t,[h]:d,[f]:p});return{...y,data:{x:y.x-e,y:y.y-r}}}}),ko({allowedPlacements:[r]})]});var o}});
136
+ */let Ke=class extends Me{constructor(t){if(super(t),this.et=Z,t.type!==Re)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Z||null==t)return this.vt=void 0,this.et=t;if(t===B)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}};Ke.directiveName="unsafeHTML",Ke.resultType=1;const Te=Ie(Ke);var $e=Object.freeze({__proto__:null,UnsafeHTMLDirective:Ke,unsafeHTML:Te});class Ge extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class Ve extends Promise{constructor(t){super(((e,o)=>t((t=>{this.isCanceled?o(new Ge("Promise has been canceled",t)):e(t)}),(t=>{this.isCanceled?o(new Ge("Promise has been canceled",void 0,t)):o(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const qe=t=>new Ve(((e,o)=>t.then(e).catch(o)));var Je=Object.freeze({__proto__:null,CancelablePromise:Ve,CanceledPromiseError:Ge,cancelable:qe});var Xe=Object.freeze({__proto__:null,CacheRegistry:class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof Ve&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,o){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=qe(e());return this.content[t]=r,r.then((e=>(this.content[t]=e,null!=o&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),o)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}});class Qe{constructor(t,e,o,r){this.allResults=t,this.selectedResult=e,this.clusteringMetadata=o,this.metadataDescriptors=r}static extractResultMetadata(t){var e,o;return(null!==(o=null!==(e=null==t?void 0:t.map)&&void 0!==e?e:null==t?void 0:t.document)&&void 0!==o?o:null==t?void 0:t.topic).metadata.map((t=>Qe.flattenMetadata(t)))}static flattenMetadata(t){if(t.hierarchicalValues){const e=[],o=[];return t.hierarchicalValues.forEach((t=>{e.push(t.join(" > ")),t.length>2?o.push(`... > ${t[t.length-1]}`):o.push(t.join(" > "))})),{key:t.key,value:e.join(", "),displayValue:o.join(", ")}}{const e=t.values.join(", ");return{key:t.key,value:e,displayValue:e}}}computeClustersItemsForMetadata(t,e){let o=Qe.extractResultMetadata(this.selectedResult).find((e=>e.key===t));const r=this.allResults.flatMap((e=>Qe.extractResultMetadata(e).filter((e=>e.key===t)))).filter((t=>!(t.key===(null==o?void 0:o.key)&&t.value===(null==o?void 0:o.value)))).filter(((t,e,o)=>o.findIndex((e=>e.value===t.value))===e));return r.map((e=>({result:this.findBestResultForMetadataValue(t,e.value),metadata:e}))).sort(((o,r)=>this.compareMetadata(o.metadata.value,r.metadata.value,t,e)))}compareMetadata(t,e,o,r){let n=this.metadataDescriptors.find((t=>o==t.key)),i=(null==n?void 0:n.sortRule)||"NONE",a=(null==n?void 0:n.reverseSort)||!1;if("ALPHABET"==i||"VERSION"==i){let o=t.localeCompare(e,r,{numeric:!0});return a?-1*o:o}return 0}findBestResultForMetadataValue(t,e){const o=this.allResults.filter((o=>Qe.extractResultMetadata(o).find((o=>o.key===t&&o.value===e))));let r,n=Qe.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),i=[...n.filter((e=>e.key!==t))],a=-1;for(let t of o){let e=this.countMatchingMetadata(t,i);if(e>a&&(a=e,r=t,e===i.length))break}return r}countMatchingMetadata(t,e){return Qe.extractResultMetadata(t).filter((t=>e.some((e=>e.key===t.key&&e.value===t.value)))).length}}var to=Object.freeze({__proto__:null,ClusteringHelper:Qe});class eo{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void r(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}var oo=Object.freeze({__proto__:null,Debouncer:eo});const ro=t=>new Promise((e=>setTimeout(e,t)));async function no(t,e=10,o=2e4){let r,n,i=await t();for(r=n=performance.now();null==i&&(!o||n-r<o);)await ro(e),i=await t(),n=performance.now();if(null==i)throw new Error("Timeout exceeded");return i}function io(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,e,o,r)=>e+o+":"+r)),new Date(t)}function ao(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,r,n;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(r=o;0!=r--;)if(!ao(t[r],e[r]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;for(r of t.entries())if(!ao(r[1],e.get(r[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(n=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=o;0!=r--;)if(!Object.prototype.hasOwnProperty.call(e,n[r]))return!1;for(r=o;0!=r--;){var i=n[r];if(!ao(t[i],e[i]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}var so=Object.freeze({__proto__:null,dateReviver:function(...t){return function(e,o){return t.includes(e)?io(o):o}},deepEqual:ao,delay:ro,eventPathContainsMatchingElement:function(t,e,o=window.document.body){if(e.length>0){const r=t.composedPath();for(let t of r){if(t===o)return!1;if(t.matches&&e.some((e=>t.matches(e))))return!0}}return!1},flatDeep:function t(e,o){return e.flatMap((e=>[e,...t(o(e),o)]))},last:function(t){return t[t.length-1]},minmax:function(t,e,o){return Math.min(Math.max(t,e),o)},parseDate:io,waitFor:no,waitUntil:async function(t,e=10,o=2e4){await no((async()=>await t()||void 0),e,o)}});const co=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function lo(t,e){const o=()=>JSON.parse(JSON.stringify(t));return Se({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!ao(t,e),...null!=e?e:{}})}function uo(t){return!isNaN(parseFloat(t))}var fo=Object.freeze({__proto__:null,customElement:co,isNumber:uo,jsonProperty:lo,optionalNumberProperty:function(t){return Se({type:Object,converter:{fromAttribute:t=>{if(null!=t)return uo(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const ho=t=>"string"==typeof t?ut(t):t;class po{static create(t,e,o,r){const n=t=>ho(null!=t?t:r),i=ft`var(${ho(t)}, ${n(r)})`;return i.name=t,i.description=e,i.category=o,i.defaultValue=r,i.defaultCssValue=n,i.get=e=>ft`var(${ho(t)}, ${n(e)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>r,i}static extend(t,e,o,r){const n=t=>o.get(null!=t?t:r),i=ft`var(${ho(t)}, ${n(r)})`;return i.name=t,i.description=e,i.category=o.category,i.fallbackVariable=o,i.defaultValue=r,i.defaultCssValue=n,i.get=e=>ft`var(${ho(t)}, ${n(e)})`,i.breadcrumb=()=>[o.name,...o.breadcrumb()],i.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),i}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):ho(null!=e?e:t.lastResortDefaultValue()),r=ft`var(${ho(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>ft`var(${ho(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const yo={colorWhite:po.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:po.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:po.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:po.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:po.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:po.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:po.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:po.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:po.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:po.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:po.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:po.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:po.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:po.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:po.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:po.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:po.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:po.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:po.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:po.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:po.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:po.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:po.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:po.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:po.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:po.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:po.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:po.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:po.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:po.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:po.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:po.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:po.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:po.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:po.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:po.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:po.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:po.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:po.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:po.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:po.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:po.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:po.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:po.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:po.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:po.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:po.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:po.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:po.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:po.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:po.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:po.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:po.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:po.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:po.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:po.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:po.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:po.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:po.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:po.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:po.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:po.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:po.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:po.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:po.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:po.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:po.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:po.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:po.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:po.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:po.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:po.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:po.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:po.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:po.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:po.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:po.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:po.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:po.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:po.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:po.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:po.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:po.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:po.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:po.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:po.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:po.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:po.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:po.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:po.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:po.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:po.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:po.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:po.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:po.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:po.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:po.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:po.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:po.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:po.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:po.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:po.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:po.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:po.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:po.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:po.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:po.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:po.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:po.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:po.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:po.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:po.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:po.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:po.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:po.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:po.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:po.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:po.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:po.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:po.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:po.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:po.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:po.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:po.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:po.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:po.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:po.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:po.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:po.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:po.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:po.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:po.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:po.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:po.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:po.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:po.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:po.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:po.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:po.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:po.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:po.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:po.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:po.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:po.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:po.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:po.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:po.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:po.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:po.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:po.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:po.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:po.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:po.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:po.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:po.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:po.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:po.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:po.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:po.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:po.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:po.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:po.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:po.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:po.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:po.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:po.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:po.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:po.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:po.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:po.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:po.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:po.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:po.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:po.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:po.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:po.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:po.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:po.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:po.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:po.create("--ft-icon-size-6","","SIZE","48px"),opacity0:po.create("--ft-opacity-0","","NUMBER","0"),opacity8:po.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:po.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:po.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:po.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:po.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:po.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:po.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:po.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:po.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:po.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:po.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:po.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:po.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:po.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)"),underline:po.create("--ft-underline","","UNKNOWN","underline")},go={fontFamily:po.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:po.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:po.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:po.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:po.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:po.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:po.create("--ft-typography-display-textCase","","UNKNOWN","none")},mo={fontFamily:po.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:po.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:po.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:po.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:po.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:po.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:po.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},bo={fontFamily:po.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:po.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:po.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:po.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:po.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:po.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:po.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},vo={fontFamily:po.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:po.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:po.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:po.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:po.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:po.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:po.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Oo={fontFamily:po.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:po.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:po.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:po.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:po.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:po.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:po.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},So={fontFamily:po.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:po.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:po.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:po.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:po.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:po.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:po.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},wo={fontFamily:po.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:po.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:po.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:po.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:po.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:po.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:po.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},xo={fontFamily:po.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:po.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:po.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:po.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:po.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:po.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:po.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},No={fontFamily:po.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:po.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:po.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:po.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:po.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:po.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:po.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Co={fontFamily:po.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:po.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:po.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:po.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:po.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:po.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:po.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Eo={fontFamily:po.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:po.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:po.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:po.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:po.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:po.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:po.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ro={fontFamily:po.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:po.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:po.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:po.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:po.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:po.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:po.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Io={fontFamily:po.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:po.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:po.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:po.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:po.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:po.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:po.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Mo={fontFamily:po.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:po.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:po.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:po.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:po.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:po.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:po.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Wo={fontFamily:po.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:po.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:po.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:po.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:po.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:po.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:po.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Lo={fontFamily:po.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:po.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:po.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:po.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:po.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:po.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:po.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ko={fontFamily:po.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:po.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:po.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:po.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:po.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:po.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:po.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Do={fontFamily:po.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:po.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:po.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:po.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:po.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:po.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:po.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Uo={fontFamily:po.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:po.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:po.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:po.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:po.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:po.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:po.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Yo={fontFamily:po.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:po.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:po.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:po.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:po.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:po.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:po.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},_o={fontFamily:po.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:po.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:po.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:po.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:po.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:po.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:po.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Fo={fontFamily:po.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:po.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:po.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:po.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:po.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:po.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:po.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ao={fontFamily:po.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:po.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:po.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:po.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:po.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:po.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:po.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Ho={fontFamily:po.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:po.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:po.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:po.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:po.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:po.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:po.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},zo={fontFamily:po.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:po.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:po.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:po.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:po.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:po.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:po.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},jo={fontFamily:po.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:po.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:po.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:po.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:po.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:po.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:po.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:po.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:po.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Bo={display:go,"title-1":mo,"title-2":bo,"title-3":vo,"body-1-regular":Oo,"body-1-medium":So,"body-1-semibold":wo,"body-2-regular":xo,"body-2-medium":No,"body-2-medium-underline":Co,"body-2-semibold":Eo,"label-1-medium":Ro,"label-1-semibold":Io,"label-1-bold":Mo,"label-2-medium":Wo,"label-2-semibold":Lo,"label-2-bold":ko,"caption-1-medium":Do,"caption-1-semibold":Uo,"caption-1-bold":Yo,"caption-2-medium":_o,"caption-2-semibold":Fo,"caption-2-bold":Ao,"caption-3-medium":Ho,"caption-3-semibold":zo,"caption-3-bold":jo},Zo={backgroundActionPrimary:po.extend("--ft-background-action-primary","Used as backgorund of primary action components.",yo.colorBrand0),backgroundErrorSubtle:po.extend("--ft-background-error-subtle","Used as background of subtle error components.",yo.colorRed10),backgroundInfoSubtle:po.extend("--ft-background-info-subtle","Used as background of subtle information components.",yo.colorCyan10),backgroundWarningSubtle:po.extend("--ft-background-warning-subtle","Used as background of subtle information components.",yo.colorOrange10),backgroundSuccessSubtle:po.extend("--ft-background-success-subtle","Used as background of subtle success components.",yo.colorGreen10),backgroundGlobalSurface:po.extend("--ft-background-global-surface","Used as app background.",yo.colorWhite),backgroundGlobalOnSurface:po.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",yo.colorGray10),backgroundGlobalOnSurfaceDark:po.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",yo.colorGray30),contentActionPrimary:po.extend("--ft-content-action-primary","Used on label of primary action on light surface.",yo.colorBrand0),contentWarningPrimary:po.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",yo.colorOrange200),contentWarningIconOnly:po.extend("--ft-content-warning-icon-only","Used on warning status icons alone",yo.colorOrange0),contentErrorPrimary:po.extend("--ft-content-error-primary","Used on label of error messages on light surface.",yo.colorRed0),contentErrorIconOnly:po.extend("--ft-content-error-icon-only","Used on error status icons alone",yo.colorRed70),contentInfoPrimary:po.extend("--ft-content-info-primary","Used on label of information messages on light surface.",yo.colorCyan200),contentInfoIconOnly:po.extend("--ft-content-info-icon-only","Used on info status icons alone",yo.colorCyan0),contentSuccessPrimary:po.extend("--ft-content-success-primary","Used on label of success messages on light surface.",yo.colorGreen200),contentSuccessIconOnly:po.extend("--ft-content-success-icon-only","Used on success status icons alone",yo.colorGreen0),contentGlobalPrimary:po.extend("--ft-content-global-primary","Used for main content on the page.",yo.colorGray500),contentGlobalSecondary:po.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",yo.colorGray200),contentGlobalSubtle:po.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",yo.colorGray0),contentGlobalOnColor:po.extend("--ft-content-global-on-color","Used for content on a dominant color.",yo.colorWhite),borderActionPrimary:po.extend("--ft-border-action-primary","Used as border for primary action components.",yo.colorBrand0),borderActionFocusRing:po.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",yo.colorCyan0),borderWarningPrimary:po.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",yo.colorOrange200),borderWarningSubtle:po.extend("--ft-border-warning-subtle","Used as border for warning components.",yo.colorOrange30),borderSuccessPrimary:po.extend("--ft-border-success-primary","Used as border for success buttons.",yo.colorGreen200),borderSuccessSubtle:po.extend("--ft-border-success-subtle","Used as border for success components.",yo.colorGreen30),borderErrorPrimary:po.extend("--ft-border-error-primary","Used as border for text fields in error states.",yo.colorRed0),borderErrorSubtle:po.extend("--ft-border-error-subtle","Used as border for error components.",yo.colorRed30),borderInfoPrimary:po.extend("--ft-border-info-primary","Used as border for buttons in info color.",yo.colorCyan200),borderInfoSubtle:po.extend("--ft-border-info-subtle","Used as border for information components.",yo.colorCyan30),borderGlobalPrimary:po.extend("--ft-border-global-primary","Used as border for element like input.",yo.colorGray50),borderGlobalSubtle:po.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",yo.colorGray30),borderInputPrimary:po.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",yo.colorGray80)},Po={largeHeight:po.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:po.extend("--ft-button-large-horizontal-padding","",yo.spacing4),largeGap:po.extend("--ft-button-large-gap","",yo.spacing2),largeBorderRadius:po.extend("--ft-button-large-border-radius","",yo.borderRadiusS),largeIconSize:po.extend("--ft-button-large-icon-size","",yo.iconSize3),largeBorderWidth:po.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:po.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:po.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:po.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:po.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:po.extend("--ft-button-small-horizontal-padding","",yo.spacing3),smallGap:po.extend("--ft-button-small-gap","",yo.spacing2),smallBorderRadius:po.extend("--ft-button-small-border-radius","",yo.borderRadiusS),smallIconSize:po.extend("--ft-button-small-icon-size","",yo.iconSize2),smallBorderWidth:po.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:po.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:po.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:po.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:po.extend("--ft-button-primary-background-color","",Zo.backgroundActionPrimary),primaryColor:po.extend("--ft-button-primary-color","",Zo.contentGlobalOnColor),primaryIconColor:po.extend("--ft-button-primary-icon-color","",Zo.contentGlobalOnColor),primaryStateLayerColor:po.extend("--ft-button-primary-state-layer-color","",Zo.contentGlobalOnColor),primaryHoverStateLayerOpacity:po.extend("--ft-button-primary-hover-state-layer-opacity","",yo.opacity16),primaryFocusStateLayerOpacity:po.extend("--ft-button-primary-focus-state-layer-opacity","",yo.opacity16),primaryActiveStateLayerOpacity:po.extend("--ft-button-primary-active-state-layer-opacity","",yo.opacity24),primaryDisabledComponentOpacity:po.extend("--ft-button-primary-disabled-component-opacity","",yo.opacity40),focusFocusRingColor:po.extend("--ft-button-focus-focus-ring-color","",Zo.borderActionFocusRing),tertiaryBackgroundColor:po.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:po.extend("--ft-button-tertiary-color","",Zo.contentActionPrimary),tertiaryIconColor:po.extend("--ft-button-tertiary-icon-color","",Zo.contentActionPrimary),tertiaryStateLayerColor:po.extend("--ft-button-tertiary-state-layer-color","",Zo.contentActionPrimary),tertiaryHoverStateLayerOpacity:po.extend("--ft-button-tertiary-hover-state-layer-opacity","",yo.opacity8),tertiaryFocusStateLayerOpacity:po.extend("--ft-button-tertiary-focus-state-layer-opacity","",yo.opacity8),tertiaryActiveStateLayerOpacity:po.extend("--ft-button-tertiary-active-state-layer-opacity","",yo.opacity16),tertiaryDisabledComponentOpacity:po.extend("--ft-button-tertiary-disabled-component-opacity","",yo.opacity40),secondaryBackgroundColor:po.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:po.extend("--ft-button-secondary-color","",Zo.contentActionPrimary),secondaryIconColor:po.extend("--ft-button-secondary-icon-color","",Zo.contentActionPrimary),secondaryStateLayerColor:po.extend("--ft-button-secondary-state-layer-color","",Zo.contentActionPrimary),secondaryHoverStateLayerOpacity:po.extend("--ft-button-secondary-hover-state-layer-opacity","",yo.opacity8),secondaryFocusStateLayerOpacity:po.extend("--ft-button-secondary-focus-state-layer-opacity","",yo.opacity8),secondaryActiveStateLayerOpacity:po.extend("--ft-button-secondary-active-state-layer-opacity","",yo.opacity16),secondaryDisabledComponentOpacity:po.extend("--ft-button-secondary-disabled-component-opacity","",yo.opacity40),secondaryBorderColor:po.extend("--ft-button-secondary-border-color","",Zo.borderActionPrimary),neutralBackgroundColor:po.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:po.extend("--ft-button-neutral-icon-color","",Zo.contentGlobalSecondary),neutralColor:po.extend("--ft-button-neutral-color","",Zo.contentGlobalSecondary),neutralStateLayerColor:po.extend("--ft-button-neutral-state-layer-color","",Zo.contentGlobalSecondary),neutralHoverStateLayerOpacity:po.extend("--ft-button-neutral-hover-state-layer-opacity","",yo.opacity8),neutralFocusStateLayerOpacity:po.extend("--ft-button-neutral-focus-state-layer-opacity","",yo.opacity8),neutralActiveStateLayerOpacity:po.extend("--ft-button-neutral-active-state-layer-opacity","",yo.opacity16),neutralDisabledComponentOpacity:po.extend("--ft-button-neutral-disabled-component-opacity","",yo.opacity40)},Ko={iconSize:po.extend("--ft-banner-icon-size","",yo.iconSize5),borderWidth:po.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:po.extend("--ft-banner-horizontal-padding","",yo.spacing6),verticalPadding:po.extend("--ft-banner-vertical-padding","",yo.spacing6),horizontalSideGap:po.extend("--ft-banner-horizontal-side-gap","",yo.spacing6),horizontalMobileGap:po.extend("--ft-banner-horizontal-mobile-gap","",yo.spacing4),verticalMobileGap:po.extend("--ft-banner-vertical-mobile-gap","",yo.spacing6),horizontalMiddleGap:po.extend("--ft-banner-horizontal-middle-gap","",yo.spacing20),infoBackgroundColor:po.extend("--ft-banner-info-background-color","",Zo.backgroundInfoSubtle),infoColor:po.extend("--ft-banner-info-color","",Zo.contentInfoPrimary),infoIconColor:po.extend("--ft-banner-info-icon-color","",Zo.contentInfoIconOnly)},To={gap:po.extend("--ft-breadcrumb-gap","",yo.spacing1)},$o={horizontalPadding:po.extend("--ft-page-header-horizontal-padding","",yo.spacing12),verticalPadding:po.extend("--ft-page-header-vertical-padding","",yo.spacing6)},Go={smallContainerWidth:po.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:po.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:po.extend("--ft-modal-overlay-background-color","",yo.colorGray700),overlayOpacity:po.extend("--ft-modal-overlay-opacity","",yo.opacity40),shadow:po.extend("--ft-modal-shadow","",yo.shadowElevation03),bodyBackgroundColor:po.extend("--ft-modal-body-background-color","",yo.colorWhite),bodyColor:po.extend("--ft-modal-body-color","",Zo.contentGlobalPrimary),bodyHorizontalPadding:po.extend("--ft-modal-body-horizontal-padding","",yo.spacing6),bodyVerticalPadding:po.extend("--ft-modal-body-vertical-padding","",yo.spacing6),bodyVerticalGap:po.extend("--ft-modal-body-vertical-gap","",yo.spacing6),containerMargin:po.extend("--ft-modal-container-margin","",yo.spacing3),headerBackgroundColor:po.extend("--ft-modal-header-background-color","",Zo.backgroundGlobalOnSurface),headerBorderColor:po.extend("--ft-modal-header-border-color","",Zo.borderGlobalSubtle),headerColor:po.extend("--ft-modal-header-color","",Zo.contentGlobalPrimary),headerTrailingIconColor:po.extend("--ft-modal-header-trailing-icon-color","",Zo.contentGlobalSecondary),headerVerticalPadding:po.extend("--ft-modal-header-vertical-padding","",yo.spacing1),headerRightPadding:po.extend("--ft-modal-header-right-padding","",yo.spacing1),headerLeftPadding:po.extend("--ft-modal-header-left-padding","",yo.spacing6),headerGap:po.extend("--ft-modal-header-gap","",yo.spacing2),headerBorderBottom:po.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:po.extend("--ft-modal-border-radius","",yo.borderRadiusM)},Vo={fieldHorizontalPadding:po.extend("--ft-text-input-field-horizontal-padding","",yo.spacing4),fieldHorizontalGap:po.extend("--ft-text-input-field-horizontal-gap","",yo.spacing3),fieldVerticalGap:po.extend("--ft-text-input-field-vertical-gap","",yo.spacing05),fieldIconSize:po.extend("--ft-text-input-field-icon-size","",yo.iconSize3),fieldHeight:po.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:po.extend("--ft-text-input-helper-horizontal-padding","",yo.spacing4),helperHorizontalGap:po.extend("--ft-text-input-helper-horizontal-gap","",yo.spacing1),helperIconSize:po.extend("--ft-text-input-helper-icon-size","",yo.iconSize2),borderRadius:po.extend("--ft-text-input-border-radius","",yo.borderRadiusM),backgroundColor:po.extend("--ft-text-input-background-color","",yo.colorWhite),contentValueColor:po.extend("--ft-text-input-content-value-color","",Zo.contentGlobalPrimary),trailingIconColor:po.extend("--ft-text-input-trailing-icon-color","",Zo.contentGlobalSubtle),labelColor:po.extend("--ft-text-input-label-color","",Zo.contentGlobalSubtle),defaultBorderColor:po.extend("--ft-text-input-default-border-color","",Zo.borderInputPrimary),defaultHelperTextColor:po.extend("--ft-text-input-default-helper-text-color","",Zo.contentGlobalSubtle),defaultBorderWidth:po.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:po.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:po.extend("--ft-text-input-error-border-color","",Zo.borderErrorPrimary),errorHelperTextColor:po.extend("--ft-text-input-error-helper-text-color","",Zo.contentErrorPrimary),errorHelperIconColor:po.extend("--ft-text-input-error-helper-icon-color","",Zo.contentErrorIconOnly),warningBorderWidth:po.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:po.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:po.extend("--ft-text-input-focus-focus-ring-color","",Zo.borderActionFocusRing),focusOutlineOffset:po.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:po.extend("--ft-text-input-disabled-component-opacity","",yo.opacity40)},qo={backgroundColor:po.extend("--ft-text-area-background-color","",yo.colorWhite),contentValueColor:po.extend("--ft-text-area-content-value-color","",Zo.contentGlobalPrimary),labelColor:po.extend("--ft-text-area-label-color","",Zo.contentGlobalSubtle),defaultBorderColor:po.extend("--ft-text-area-default-border-color","",Zo.borderInputPrimary),defaultHelperTextColor:po.extend("--ft-text-area-default-helper-text-color","",Zo.contentGlobalSubtle),defaultBorderWidth:po.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:po.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:po.extend("--ft-text-area-error-border-color","",Zo.borderErrorPrimary),errorHelperTextColor:po.extend("--ft-text-area-error-helper-text-color","",Zo.contentErrorPrimary),errorHelperIconColor:po.extend("--ft-text-area-error-helper-icon-color","",Zo.contentErrorIconOnly),focusFocusRingColor:po.extend("--ft-text-area-focus-focus-ring-color","",Zo.borderActionFocusRing),focusOutlineWidth:po.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:po.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:po.extend("--ft-text-area-disabled-component-opacity","",yo.opacity40),fieldHorizontalLeftPadding:po.extend("--ft-text-area-field-horizontal-left-padding","",yo.spacing4),fieldHorizontalGap:po.extend("--ft-text-area-field-horizontal-gap","",yo.spacing3),fieldVerticalGap:po.extend("--ft-text-area-field-vertical-gap","",yo.spacing05),fieldMinHeight:po.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:po.extend("--ft-text-area-helper-horizontal-padding","",yo.spacing4),helperHorizontalGap:po.extend("--ft-text-area-helper-horizontal-gap","",yo.spacing1),helperIconSize:po.extend("--ft-text-area-helper-icon-size","",yo.iconSize2),borderRadius:po.extend("--ft-text-area-border-radius","",yo.borderRadiusM)},Jo={height:po.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:po.extend("--ft-floating-menu-horizontal-padding","",yo.spacing4),offIconColor:po.extend("--ft-floating-menu-off-icon-color","",Zo.contentGlobalPrimary),offColor:po.extend("--ft-floating-menu-off-color","",Zo.contentGlobalPrimary),onColor:po.extend("--ft-floating-menu-on-color","",Zo.contentActionPrimary),onStateLayerColor:po.extend("--ft-floating-menu-on-state-layer-color","",Zo.contentActionPrimary),gap:po.extend("--ft-floating-menu-gap","",yo.spacing3),focusFocusRingColor:po.extend("--ft-floating-menu-focus-focus-ring-color","",Zo.borderActionFocusRing),focusOutlineWidth:po.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:po.extend("--ft-floating-menu-focus-state-layer-opacity","",yo.opacity8),hoverStateLayerOpacity:po.extend("--ft-floating-menu-hover-state-layer-opacity","",yo.opacity8),activeStateLayerOpacity:po.extend("--ft-floating-menu-active-state-layer-opacity","",yo.opacity16),disabledComponentOpacity:po.extend("--ft-floating-menu-disabled-component-opacity","",yo.opacity40),iconSize:po.extend("--ft-floating-menu-icon-size","",yo.iconSize3),backgroundColor:po.extend("--ft-floating-menu-background-color","",Zo.backgroundGlobalOnSurface)},Xo={fieldHorizontalPadding:po.extend("--ft-combobox-single-select-field-horizontal-padding","",yo.spacing4),fieldHorizontalGap:po.extend("--ft-combobox-single-select-field-horizontal-gap","",yo.spacing3),fieldVerticalGap:po.extend("--ft-combobox-single-select-field-vertical-gap","",yo.spacing05),fieldIconSize:po.extend("--ft-combobox-single-select-field-icon-size","",yo.iconSize3),fieldHeight:po.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:po.extend("--ft-combobox-single-select-helper-horizontal-padding","",yo.spacing4),helperHorizontalGap:po.extend("--ft-combobox-single-select-helper-horizontal-gap","",yo.spacing1),helperVerticalGap:po.extend("--ft-combobox-single-select-helper-vertical-gap","",yo.spacing1),helperIconSize:po.extend("--ft-combobox-single-select-helper-icon-size","",yo.iconSize2),menuVerticalGap:po.extend("--ft-combobox-single-select-menu-vertical-gap","",yo.spacing2),borderRadius:po.extend("--ft-combobox-single-select-border-radius","",yo.borderRadiusM),backgroundColor:po.extend("--ft-combobox-single-select-background-color","",yo.colorWhite),labelColor:po.extend("--ft-combobox-single-select-label-color","",Zo.contentGlobalSubtle),contentValueColor:po.extend("--ft-combobox-single-select-content-value-color","",Zo.contentGlobalPrimary),trailingIconColor:po.extend("--ft-combobox-single-select-trailing-icon-color","",Zo.contentGlobalSubtle),defaultBorderColor:po.extend("--ft-combobox-single-select-default-border-color","",Zo.borderInputPrimary),defaultHelperTextColor:po.extend("--ft-combobox-single-select-default-helper-text-color","",Zo.contentGlobalSubtle),defaultBorderWidth:po.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:po.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:po.extend("--ft-combobox-single-select-error-border-color","",Zo.borderErrorPrimary),errorHelperTextColor:po.extend("--ft-combobox-single-select-error-helper-text-color","",Zo.contentErrorPrimary),warningBorderWidth:po.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:po.extend("--ft-combobox-single-select-warning-border-color","",Zo.borderWarningPrimary),warningHelperTextColor:po.extend("--ft-combobox-single-select-warning-helper-text-color","",Zo.contentWarningPrimary),warningHelperIconColor:po.extend("--ft-combobox-single-select-warning-helper-icon-color","",Zo.contentWarningIconOnly),focusOutlineWidth:po.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:po.extend("--ft-combobox-single-select-focus-focus-ring-color","",Zo.borderActionFocusRing),focusOutlineOffset:po.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:po.extend("--ft-combobox-single-select-disabled-component-opacity","",yo.opacity40)},Qo={backgroundColor:po.extend("--ft-combobox-multi-select-background-color","",yo.colorWhite),labelColor:po.extend("--ft-combobox-multi-select-label-color","",Zo.contentGlobalSubtle),trailingIconColor:po.extend("--ft-combobox-multi-select-trailing-icon-color","",Zo.contentGlobalSubtle),defaultBorderColor:po.extend("--ft-combobox-multi-select-default-border-color","",Zo.borderInputPrimary),defaultHelperTextColor:po.extend("--ft-combobox-multi-select-default-helper-text-color","",Zo.contentGlobalSubtle),defaultBorderWidth:po.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:po.extend("--ft-combobox-multi-select-error-border-color","",Zo.borderErrorPrimary),errorHelperTextColor:po.extend("--ft-combobox-multi-select-error-helper-text-color","",Zo.contentErrorPrimary),errorHelperIcon:po.extend("--ft-combobox-multi-select-error-helper-icon","",Zo.contentErrorIconOnly),errorBorderWidth:po.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:po.extend("--ft-combobox-multi-select-warning-border-color","",Zo.borderWarningPrimary),warningHelperTextColor:po.extend("--ft-combobox-multi-select-warning-helper-text-color","",Zo.contentWarningPrimary),warningHelperIconColor:po.extend("--ft-combobox-multi-select-warning-helper-icon-color","",Zo.contentWarningIconOnly),warningBorderWidth:po.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:po.extend("--ft-combobox-multi-select-focus-focus-ring-color","",Zo.borderActionFocusRing),focusOutlineWidth:po.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:po.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:po.extend("--ft-combobox-multi-select-disabled-component-opacity","",yo.opacity40),helperHorizontalPadding:po.extend("--ft-combobox-multi-select-helper-horizontal-padding","",yo.spacing4),helperHorizontalGap:po.extend("--ft-combobox-multi-select-helper-horizontal-gap","",yo.spacing1),helperVerticalGap:po.extend("--ft-combobox-multi-select-helper-vertical-gap","",yo.spacing1),helperIconSize:po.extend("--ft-combobox-multi-select-helper-icon-size","",yo.iconSize2),fieldHorizontalPadding:po.extend("--ft-combobox-multi-select-field-horizontal-padding","",yo.spacing4),fieldHorizontalGap:po.extend("--ft-combobox-multi-select-field-horizontal-gap","",yo.spacing3),fieldVerticalGap:po.extend("--ft-combobox-multi-select-field-vertical-gap","",yo.spacing05),fieldIconSize:po.extend("--ft-combobox-multi-select-field-icon-size","",yo.iconSize3),fieldMaxHeight:po.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:po.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",yo.spacing1),contentValuesVerticalGap:po.extend("--ft-combobox-multi-select-content-values-vertical-gap","",yo.spacing1),borderRadius:po.extend("--ft-combobox-multi-select-border-radius","",yo.borderRadiusM)},tr={backgroundColor:po.extend("--ft-popover-background-color","",Zo.backgroundGlobalOnSurface),horizontalPadding:po.extend("--ft-popover-horizontal-padding","",yo.spacing6),verticalPadding:po.extend("--ft-popover-vertical-padding","",yo.spacing6),iconColor:po.extend("--ft-popover-icon-color","",Zo.contentGlobalSecondary),iconSize:po.extend("--ft-popover-icon-size","",yo.iconSize2),titleColor:po.extend("--ft-popover-title-color","",Zo.contentGlobalPrimary),bodyColor:po.extend("--ft-popover-body-color","",Zo.contentGlobalSecondary),linkColor:po.extend("--ft-popover-link-color","",Zo.contentActionPrimary),gap:po.extend("--ft-popover-gap","",yo.spacing3),borderRadius:po.extend("--ft-popover-border-radius","",yo.borderRadiusM),shadow:po.extend("--ft-popover-shadow","",yo.shadowElevation02)},er={topLeftBorderRadius:po.extend("--ft-tabs-top-left-border-radius","",yo.borderRadiusS),topRightBorderRadius:po.extend("--ft-tabs-top-right-border-radius","",yo.borderRadiusS),labelHorizontalPadding:po.extend("--ft-tabs-label-horizontal-padding","",yo.spacing4),labelVerticalPadding:po.extend("--ft-tabs-label-vertical-padding","",yo.spacing3),labelGap:po.extend("--ft-tabs-label-gap","",yo.spacing1),offHoverStateLayerOpacity:po.extend("--ft-tabs-off-hover-state-layer-opacity","",yo.opacity8),offFocusStateLayerOpacity:po.extend("--ft-tabs-off-focus-state-layer-opacity","",yo.opacity8),offActiveStateLayerOpacity:po.extend("--ft-tabs-off-active-state-layer-opacity","",yo.opacity16),offDisabledComponentOpacity:po.extend("--ft-tabs-off-disabled-component-opacity","",yo.opacity40),offColor:po.extend("--ft-tabs-off-color","",Zo.contentGlobalSubtle),offStateLayerColor:po.extend("--ft-tabs-off-state-layer-color","",Zo.contentGlobalSubtle),onHoverStateLayerOpacity:po.extend("--ft-tabs-on-hover-state-layer-opacity","",yo.opacity8),onFocusStateLayerOpacity:po.extend("--ft-tabs-on-focus-state-layer-opacity","",yo.opacity8),onActiveStateLayerOpacity:po.extend("--ft-tabs-on-active-state-layer-opacity","",yo.opacity16),onDisabledComponentOpacity:po.extend("--ft-tabs-on-disabled-component-opacity","",yo.opacity40),onColor:po.extend("--ft-tabs-on-color","",Zo.contentActionPrimary),onStateLayerColor:po.extend("--ft-tabs-on-state-layer-color","",Zo.contentActionPrimary),iconHorizontalPadding:po.extend("--ft-tabs-icon-horizontal-padding","",yo.spacing1),iconVerticalPadding:po.extend("--ft-tabs-icon-vertical-padding","",yo.spacing4),focusOutlineWidth:po.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:po.extend("--ft-tabs-focus-focus-ring-color","",Zo.borderActionFocusRing)},or={hoverStateLayerOpacity:po.extend("--ft-collapsible-hover-state-layer-opacity","",yo.opacity8),focusStateLayerOpacity:po.extend("--ft-collapsible-focus-state-layer-opacity","",yo.opacity8),focusOutlineWidth:po.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:po.extend("--ft-collapsible-focus-focus-ring-color","",Zo.borderActionFocusRing),activeStateLayerOpacity:po.extend("--ft-collapsible-active-state-layer-opacity","",yo.opacity16),disabledComponentOpacity:po.extend("--ft-collapsible-disabled-component-opacity","",yo.opacity40),horizontalPadding:po.extend("--ft-collapsible-horizontal-padding","",yo.spacing4),verticalPadding:po.extend("--ft-collapsible-vertical-padding","",yo.spacing3),color:po.extend("--ft-collapsible-color","",Zo.contentGlobalPrimary),stateLayerColor:po.extend("--ft-collapsible-state-layer-color","",Zo.contentGlobalPrimary),backgroundColor:po.extend("--ft-collapsible-background-color","",Zo.backgroundGlobalOnSurface),borderColor:po.extend("--ft-collapsible-border-color","",Zo.borderGlobalSubtle),iconSize:po.extend("--ft-collapsible-icon-size","",yo.iconSize3)},rr={groupHorizontalPadding:po.extend("--ft-switch-group-horizontal-padding","",yo.spacing1),groupVerticalPadding:po.extend("--ft-switch-group-vertical-padding","",yo.spacing1),groupGap:po.extend("--ft-switch-group-gap","",yo.spacing1),groupBackgroundColor:po.extend("--ft-switch-group-background-color","",Zo.backgroundGlobalSurface),groupBorderColor:po.extend("--ft-switch-group-border-color","",Zo.borderGlobalSubtle),groupBorderRadius:po.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:po.extend("--ft-switch-label-horizontal-padding","",yo.spacing2),labelVerticalPadding:po.extend("--ft-switch-label-vertical-padding","",yo.spacing1),offHoverStateLayerOpacity:po.extend("--ft-switch-off-hover-state-layer-opacity","",yo.opacity8),offFocusStateLayerOpacity:po.extend("--ft-switch-off-focus-state-layer-opacity","",yo.opacity8),offActiveStateLayerOpacity:po.extend("--ft-switch-off-active-state-layer-opacity","",yo.opacity16),offDisabledComponentOpacity:po.extend("--ft-switch-off-disabled-component-opacity","",yo.opacity40),offColor:po.extend("--ft-switch-off-color","",Zo.contentGlobalSubtle),offStateLayerColor:po.extend("--ft-switch-off-state-layer-color","",Zo.contentGlobalSubtle),onHoverStateLayerOpacity:po.extend("--ft-switch-on-hover-state-layer-opacity","",yo.opacity8),onFocusStateLayerOpacity:po.extend("--ft-switch-on-focus-state-layer-opacity","",yo.opacity8),onActiveStateLayerOpacity:po.extend("--ft-switch-on-active-state-layer-opacity","",yo.opacity16),onDisabledComponentOpacity:po.extend("--ft-switch-on-disabled-component-opacity","",yo.opacity40),onColor:po.extend("--ft-switch-on-color","",Zo.contentActionPrimary),onStateLayerColor:po.extend("--ft-switch-on-state-layer-color","",Zo.contentActionPrimary),iconHorizontalPadding:po.extend("--ft-switch-icon-horizontal-padding","",yo.spacing1),iconVerticalPadding:po.extend("--ft-switch-icon-vertical-padding","",yo.spacing1),focusOutlineWidth:po.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:po.extend("--ft-switch-focus-focus-ring-color","",Zo.borderActionFocusRing),optionBorderRadius:po.extend("--ft-switch-option-border-radius","",yo.borderRadiusS)},nr={color1Light:po.extend("--ft-chart-1-light","for area color charts",yo.colorBrand40),color1Base:po.extend("--ft-chart-1-base","for line charts",yo.colorBrand0),color2Light:po.extend("--ft-chart-2-light","for area color charts",yo.colorYellow60),color2Base:po.extend("--ft-chart-2-base","for line charts",yo.colorYellow100),color3Light:po.extend("--ft-chart-3-light","",yo.colorUltramarine40),color3Base:po.extend("--ft-chart-3-base","",yo.colorUltramarine70),color4Light:po.extend("--ft-chart-4-light","",yo.colorCyan50),color4Base:po.extend("--ft-chart-4-base","",yo.colorCyan100),color5Light:po.extend("--ft-chart-5-light","",yo.colorRed40),color5Base:po.extend("--ft-chart-5-base","",yo.colorRed60),color6Light:po.extend("--ft-chart-6-light","",yo.colorGreen40),color6Base:po.extend("--ft-chart-6-base","",yo.colorGreen70),color7Light:po.extend("--ft-chart-7-light","",yo.colorOrange70),color7Base:po.extend("--ft-chart-7-base","",yo.colorOrange100),color8Light:po.extend("--ft-chart-8-light","",yo.colorAvocado70),color8Base:po.extend("--ft-chart-8-base","",yo.colorAvocado200),color9Light:po.extend("--ft-chart-9-light","",yo.colorBrown50),color9Base:po.extend("--ft-chart-9-base","",yo.colorBrown200),color10Light:po.extend("--ft-chart-10-light","",yo.colorGray50),color10Base:po.extend("--ft-chart-10-base","",yo.colorGray80),monochrome10:po.extend("--ft-chart-monochrome-10","",yo.colorBrand10),monochrome20:po.extend("--ft-chart-monochrome-20","",yo.colorBrand20),monochrome30:po.extend("--ft-chart-monochrome-30","",yo.colorBrand40),monochrome40:po.extend("--ft-chart-monochrome-40","",yo.colorBrand60),monochrome50:po.extend("--ft-chart-monochrome-50","",yo.colorBrand0),monochrome60:po.extend("--ft-chart-monochrome-60","",yo.colorBrand200)},ir={largeHorizontalPadding:po.extend("--ft-chip-large-horizontal-padding","",yo.spacing4),largeVerticalPadding:po.extend("--ft-chip-large-vertical-padding","",yo.spacing2),largeGap:po.extend("--ft-chip-large-gap","",yo.spacing1),largeFocusOutlineOffset:po.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:po.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:po.extend("--ft-chip-large-border-radius","",yo.borderRadiusPill),largeBorderWidth:po.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:po.extend("--ft-chip-large-icon-size","",yo.iconSize3),mediumHorizontalPadding:po.extend("--ft-chip-medium-horizontal-padding","",yo.spacing3),mediumVerticalPadding:po.extend("--ft-chip-medium-vertical-padding","",yo.spacing1),mediumGap:po.extend("--ft-chip-medium-gap","",yo.spacing1),mediumFocusOutlineOffset:po.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:po.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:po.extend("--ft-chip-medium-border-radius","",yo.borderRadiusPill),mediumBorderWidth:po.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:po.extend("--ft-chip-medium-icon-size","",yo.iconSize2),smallHorizontalPadding:po.extend("--ft-chip-small-horizontal-padding","",yo.spacing2),smallVerticalPadding:po.extend("--ft-chip-small-vertical-padding","",yo.spacing05),smallGap:po.extend("--ft-chip-small-gap","",yo.spacing1),smallFocusOutlineOffset:po.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:po.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:po.extend("--ft-chip-small-border-radius","",yo.borderRadiusPill),smallBorderWidth:po.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:po.extend("--ft-chip-small-icon-size","",yo.iconSize1),neutralBackgroundColor:po.extend("--ft-chip-neutral-background-color","",Zo.backgroundGlobalOnSurface),neutralColor:po.extend("--ft-chip-neutral-color","",Zo.contentGlobalPrimary),neutralIconColor:po.extend("--ft-chip-neutral-icon-color","",Zo.contentGlobalPrimary),neutralBorderColor:po.extend("--ft-chip-neutral-border-color","",Zo.borderGlobalSubtle),infoBackgroundColor:po.extend("--ft-chip-info-background-color","",Zo.backgroundInfoSubtle),infoColor:po.extend("--ft-chip-info-color","",Zo.contentInfoPrimary),infoIconColor:po.extend("--ft-chip-info-icon-color","",Zo.contentInfoIconOnly),infoBorderColor:po.extend("--ft-chip-info-border-color","",Zo.borderInfoSubtle),successBackgroundColor:po.extend("--ft-chip-success-background-color","",Zo.backgroundSuccessSubtle),successColor:po.extend("--ft-chip-success-color","",Zo.contentSuccessPrimary),successIconColor:po.extend("--ft-chip-success-icon-color","",Zo.contentSuccessIconOnly),successBorderColor:po.extend("--ft-chip-success-border-color","",Zo.borderSuccessSubtle),warningBackgroundColor:po.extend("--ft-chip-warning-background-color","",Zo.backgroundWarningSubtle),warningColor:po.extend("--ft-chip-warning-color","",Zo.contentWarningPrimary),warningIconColor:po.extend("--ft-chip-warning-icon-color","",Zo.contentWarningIconOnly),warningBorderColor:po.extend("--ft-chip-warning-border-color","",Zo.borderWarningSubtle),errorBackgroundColor:po.extend("--ft-chip-error-background-color","",Zo.backgroundErrorSubtle),errorColor:po.extend("--ft-chip-error-color","",Zo.contentErrorPrimary),errorIconColor:po.extend("--ft-chip-error-icon-color","",Zo.contentErrorIconOnly),errorBorderColor:po.extend("--ft-chip-error-border-color","",Zo.borderErrorSubtle)},ar={infoBorderColor:po.extend("--ft-border-info-border-color","",Zo.borderInfoSubtle)},sr={borderWidth:po.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:po.extend("--ft-notice-horizontal-padding","",yo.spacing2),verticalPadding:po.extend("--ft-notice-vertical-padding","",yo.spacing1),borderRadius:po.extend("--ft-notice-border-radius","",yo.borderRadiusS),gap:po.extend("--ft-notice-gap","",yo.spacing2),iconSize:po.extend("--ft-notice-icon-size","",yo.iconSize3),infoBackgroundColor:po.extend("--ft-notice-info-background-color","",Zo.backgroundInfoSubtle),infoBorderColor:po.extend("--ft-notice-info-border-color","",Zo.borderInfoSubtle),infoColor:po.extend("--ft-notice-info-color","",Zo.contentInfoPrimary),infoIconColor:po.extend("--ft-notice-info-icon-color","",Zo.contentInfoIconOnly),warningBackgroundColor:po.extend("--ft-notice-warning-background-color","",Zo.backgroundWarningSubtle),warningBorderColor:po.extend("--ft-notice-warning-border-color","",Zo.borderWarningSubtle),warningColor:po.extend("--ft-notice-warning-color","",Zo.contentWarningPrimary),warningIconColor:po.extend("--ft-notice-warning-icon-color","",Zo.contentWarningIconOnly)},cr={color:po.extend("--ft-checkbox-color","",Zo.contentGlobalPrimary),checkedBackgroundColor:po.extend("--ft-checkbox-checked-background-color","",Zo.contentActionPrimary),checkedStateLayerColor:po.extend("--ft-checkbox-checked-state-layer-color","",Zo.contentActionPrimary),checkedIconColor:po.extend("--ft-checkbox-checked-icon-color","",Zo.contentGlobalOnColor),checkedHoverStateLayerOpacity:po.extend("--ft-checkbox-checked-hover-state-layer-opacity","",yo.opacity16),checkedFocusStateLayerOpacity:po.extend("--ft-checkbox-checked-focus-state-layer-opacity","",yo.opacity16),checkedActiveStateLayerOpacity:po.extend("--ft-checkbox-checked-active-state-layer-opacity","",yo.opacity24),checkedDisabledComponentOpacity:po.extend("--ft-checkbox-checked-disabled-component-opacity","",yo.opacity40),uncheckedBorderColor:po.extend("--ft-checkbox-unchecked-border-color","",yo.colorGray80),uncheckedStateLayerColor:po.extend("--ft-checkbox-unchecked-state-layer-color","",yo.colorGray80),uncheckedHoverStateLayerOpacity:po.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",yo.opacity16),uncheckedFocusStateLayerOpacity:po.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",yo.opacity16),uncheckedActiveStateLayerOpacity:po.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",yo.opacity24),uncheckedDisabledComponentOpacity:po.extend("--ft-checkbox-unchecked-disabled-component-opacity","",yo.opacity40),focusFocusRingColor:po.extend("--ft-checkbox-focus-focus-ring-color","",Zo.borderActionFocusRing),focusOutlineOffset:po.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:po.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:po.extend("--ft-checkbox-gap","",yo.spacing3)},lr={offHoverStateLayerOpacity:po.extend("--ft-toggle-off-hover-state-layer-opacity","",yo.opacity16),offFocusStateLayerOpacity:po.extend("--ft-toggle-off-focus-state-layer-opacity","",yo.opacity16),offActiveStateLayerOpacity:po.extend("--ft-toggle-off-active-state-layer-opacity","",yo.opacity24),offDisabledComponentOpacity:po.extend("--ft-toggle-off-disabled-component-opacity","",yo.opacity40),offBackgroundColor:po.extend("--ft-toggle-off-background-color","",Zo.contentGlobalSubtle),offIconColor:po.extend("--ft-toggle-off-icon-color","",Zo.contentGlobalSubtle),offStateLayerColor:po.extend("--ft-toggle-off-state-layer-color","",Zo.contentGlobalSubtle),onHoverStateLayerOpacity:po.extend("--ft-toggle-on-hover-state-layer-opacity","",yo.opacity16),onFocusStateLayerOpacity:po.extend("--ft-toggle-on-focus-state-layer-opacity","",yo.opacity16),onActiveStateLayerOpacity:po.extend("--ft-toggle-on-active-state-layer-opacity","",yo.opacity24),onDisabledComponentOpacity:po.extend("--ft-toggle-on-disabled-component-opacity","",yo.opacity40),onBackgroundColor:po.extend("--ft-toggle-on-background-color","",Zo.contentActionPrimary),onStateLayerColor:po.extend("--ft-toggle-on-state-layer-color","",Zo.contentActionPrimary),onIconColor:po.extend("--ft-toggle-on-icon-color","",Zo.contentActionPrimary),color:po.extend("--ft-toggle-color","",Zo.contentGlobalPrimary),focusFocusRingColor:po.extend("--ft-toggle-focus-focus-ring-color","",Zo.borderActionFocusRing),gap:po.extend("--ft-toggle-gap","",yo.spacing3)},ur={color:po.extend("--ft-radio-color","",Zo.contentGlobalPrimary),selectedRadioColor:po.extend("--ft-radio-selected-radio-color","",Zo.contentActionPrimary),selectedStateLayerColor:po.extend("--ft-radio-selected-state-layer-color","",Zo.contentActionPrimary),selectedHoverStateLayerOpacity:po.extend("--ft-radio-selected-hover-state-layer-opacity","",yo.opacity16),selectedFocusStateLayerOpacity:po.extend("--ft-radio-selected-focus-state-layer-opacity","",yo.opacity16),selectedActiveStateLayerOpacity:po.extend("--ft-radio-selected-active-state-layer-opacity","",yo.opacity24),selectedDisabledComponentOpacity:po.extend("--ft-radio-selected-disabled-component-opacity","",yo.opacity40),unselectedStateLayerColor:po.extend("--ft-radio-unselected-state-layer-color","",Zo.borderInputPrimary),unselectedBorderColor:po.extend("--ft-radio-unselected-border-color","",Zo.borderInputPrimary),unselectedHoverStateLayerOpacity:po.extend("--ft-radio-unselected-hover-state-layer-opacity","",yo.opacity16),unselectedFocusStateLayerOpacity:po.extend("--ft-radio-unselected-focus-state-layer-opacity","",yo.opacity16),unselectedActiveStateLayerOpacity:po.extend("--ft-radio-unselected-active-state-layer-opacity","",yo.opacity24),unselectedDisabledComponentOpacity:po.extend("--ft-radio-unselected-disabled-component-opacity","",yo.opacity40),focusFocusRingColor:po.extend("--ft-radio-focus-focus-ring-color","",Zo.borderActionFocusRing),focusOutlineOffset:po.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:po.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:po.extend("--ft-radio-gap","",yo.spacing3)},fr={iconSize:po.extend("--ft-notification-icon-size","",yo.iconSize4),horizontalPadding:po.extend("--ft-notification-horizontal-padding","",yo.spacing4),verticalPadding:po.extend("--ft-notification-vertical-padding","",yo.spacing4),infoBackgroundColor:po.extend("--ft-notification-info-background-color","",Zo.backgroundInfoSubtle),infoColor:po.extend("--ft-notification-info-color","",Zo.contentInfoPrimary),infoIconColor:po.extend("--ft-notification-info-icon-color","",Zo.contentInfoIconOnly),infoBorderColor:po.extend("--ft-notification-info-border-color","",Zo.borderInfoSubtle),successBackgroundColor:po.extend("--ft-notification-success-background-color","",Zo.backgroundSuccessSubtle),successColor:po.extend("--ft-notification-success-color","",Zo.contentSuccessPrimary),successIconColor:po.extend("--ft-notification-success-icon-color","",Zo.contentSuccessIconOnly),successBorderColor:po.extend("--ft-notification-success-border-color","",Zo.borderSuccessSubtle),warningBackgroundColor:po.extend("--ft-notification-warning-background-color","",Zo.backgroundWarningSubtle),warningColor:po.extend("--ft-notification-warning-color","",Zo.contentWarningPrimary),warningIconColor:po.extend("--ft-notification-warning-icon-color","",Zo.contentWarningIconOnly),warningBorderColor:po.extend("--ft-notification-warning-border-color","",Zo.borderWarningSubtle),errorBackgroundColor:po.extend("--ft-notification-error-background-color","",Zo.backgroundErrorSubtle),errorColor:po.extend("--ft-notification-error-color","",Zo.contentErrorPrimary),errorIconColor:po.extend("--ft-notification-error-icon-color","",Zo.contentErrorIconOnly),errorBorderColor:po.extend("--ft-notification-error-border-color","",Zo.borderErrorSubtle),borderRadius:po.extend("--ft-notification-border-radius","",yo.borderRadiusPill),borderWidth:po.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:po.extend("--ft-notification-leading-gap","",yo.spacing2),trailingGap:po.extend("--ft-notification-trailing-gap","",yo.spacing8)},hr={horizontalPadding:po.extend("--ft-tooltip-horizontal-padding","",yo.spacing2),verticalPadding:po.extend("--ft-tooltip-vertical-padding","",yo.spacing2),borderRadius:po.extend("--ft-tooltip-border-radius","",yo.borderRadiusS),color:po.extend("--ft-tooltip-color","",Zo.contentGlobalOnColor),backgroundColor:po.extend("--ft-tooltip-background-color","",Zo.contentGlobalPrimary),backgroundOpacity:po.extend("--ft-tooltip-background-opacity","",yo.opacity80),shadow:po.extend("--ft-tooltip-shadow","",yo.shadowElevation03),maxWidth:po.create("--ft-tooltip-max-width","","SIZE","256px"),gap:po.extend("--ft-tooltip-gap","",yo.spacing05)};var dr=Object.freeze({__proto__:null,FtCssVariableFactory:po,banner:Ko,border:ar,breadcrumb:To,button:Po,chart:nr,checkbox:cr,chip:ir,collapsible:or,comboboxMultiSelect:Qo,comboboxSingleSelect:Xo,floatingMenu:Jo,foundation:yo,modal:Go,notice:sr,notification:fr,pageHeader:$o,popover:tr,radio:ur,semantic:Zo,setVariable:function(t,e){return ho(`${t.name}: ${e}`)},switch_:rr,tabs:er,textArea:qo,textInput:Vo,toggle:lr,tooltip:hr,typographies:Bo,typographyBody1Medium:So,typographyBody1Regular:Oo,typographyBody1Semibold:wo,typographyBody2Medium:No,typographyBody2MediumUnderline:Co,typographyBody2Regular:xo,typographyBody2Semibold:Eo,typographyCaption1Bold:Yo,typographyCaption1Medium:Do,typographyCaption1Semibold:Uo,typographyCaption2Bold:Ao,typographyCaption2Medium:_o,typographyCaption2Semibold:Fo,typographyCaption3Bold:jo,typographyCaption3Medium:Ho,typographyCaption3Semibold:zo,typographyDisplay:go,typographyLabel1Bold:Mo,typographyLabel1Medium:Ro,typographyLabel1Semibold:Io,typographyLabel2Bold:ko,typographyLabel2Medium:Wo,typographyLabel2Semibold:Lo,typographyTitle1:mo,typographyTitle2:bo,typographyTitle3:vo,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});const pr={colorPrimary:po.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:po.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:po.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:po.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:po.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:po.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:po.create("--ft-color-error","","COLOR","#B00020"),colorOutline:po.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:po.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:po.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:po.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:po.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:po.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:po.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:po.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:po.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:po.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:po.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:po.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:po.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:po.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:po.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:po.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:po.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:po.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:po.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:po.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:po.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:po.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:po.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:po.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:po.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:po.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:po.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:po.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:po.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:po.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:po.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:po.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:po.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:po.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:po.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:po.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:po.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:po.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:po.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:po.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:po.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:po.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:po.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:po.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:po.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:po.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:po.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:po.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:po.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:po.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:po.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:po.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:po.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:po.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:po.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var yr=Object.freeze({__proto__:null,designSystemVariables:pr});class gr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class mr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class br extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var vr=Object.freeze({__proto__:null,FtNotificationEvent:gr,PostResizeEvent:br,PreResizeEvent:mr});const Or=["start","end"],Sr=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Or[0],e+"-"+Or[1])),[]),wr=Math.min,xr=Math.max,Nr=Math.round,Cr=t=>({x:t,y:t}),Er={left:"right",right:"left",bottom:"top",top:"bottom"},Rr={start:"end",end:"start"};function Ir(t,e,o){return xr(t,wr(e,o))}function Mr(t,e){return"function"==typeof t?t(e):t}function Wr(t){return t.split("-")[0]}function Lr(t){return t.split("-")[1]}function kr(t){return"x"===t?"y":"x"}function Dr(t){return"y"===t?"height":"width"}function Ur(t){return["top","bottom"].includes(Wr(t))?"y":"x"}function Yr(t){return kr(Ur(t))}function _r(t){return t.replace(/left|right|bottom|top/g,(t=>Er[t]))}function Fr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ar(t,e,o){let{reference:r,floating:n}=t;const i=Ur(e),a=Yr(e),s=Dr(a),c=Wr(e),l="y"===i,u=r.x+r.width/2-n.width/2,f=r.y+r.height/2-n.height/2,h=r[s]/2-n[s]/2;let d;switch(c){case"top":d={x:u,y:r.y-n.height};break;case"bottom":d={x:u,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-n.width,y:f};break;default:d={x:r.x,y:r.y}}switch(Lr(e)){case"start":d[a]-=h*(o&&l?-1:1);break;case"end":d[a]+=h*(o&&l?-1:1)}return d}async function Hr(t,e){var o;void 0===e&&(e={});const{x:r,y:n,platform:i,rects:a,elements:s,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Mr(e,t),p=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=Fr(await i.getClippingRect({element:null==(o=await(null==i.isElement?void 0:i.isElement(y)))||o?y:y.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:l,rootBoundary:u,strategy:c})),m="floating"===f?{...a.floating,x:r,y:n}:a.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),v=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},O=Fr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:m,offsetParent:b,strategy:c}):m);return{top:(g.top-O.top+p.top)/v.y,bottom:(O.bottom-g.bottom+p.bottom)/v.y,left:(g.left-O.left+p.left)/v.x,right:(O.right-g.right+p.right)/v.x}}function zr(t,e,o){return(t?[...o.filter((e=>Lr(e)===t)),...o.filter((e=>Lr(e)!==t))]:o.filter((t=>Wr(t)===t))).filter((o=>!t||(Lr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Rr[t]))}(o)!==o)))}const jr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,r,n;const{rects:i,middlewareData:a,placement:s,platform:c,elements:l}=e,{crossAxis:u=!1,alignment:f,allowedPlacements:h=Sr,autoAlignment:d=!0,...p}=Mr(t,e),y=void 0!==f||h===Sr?zr(f||null,d,h):h,g=await Hr(e,p),m=(null==(o=a.autoPlacement)?void 0:o.index)||0,b=y[m];if(null==b)return{};const v=function(t,e,o){void 0===o&&(o=!1);const r=Lr(t),n=Yr(t),i=Dr(n);let a="x"===n?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[i]>e.floating[i]&&(a=_r(a)),[a,_r(a)]}(b,i,await(null==c.isRTL?void 0:c.isRTL(l.floating)));if(s!==b)return{reset:{placement:y[0]}};const O=[g[Wr(b)],g[v[0]],g[v[1]]],S=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:b,overflows:O}],w=y[m+1];if(w)return{data:{index:m+1,overflows:S},reset:{placement:w}};const x=S.map((t=>{const e=Lr(t.placement);return[t.placement,e&&u?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=x.filter((t=>t[2].slice(0,Lr(t[0])?2:3).every((t=>t<=0)))),C=(null==(n=N[0])?void 0:n[0])||x[0][0];return C!==s?{data:{index:m+1,overflows:S},reset:{placement:C}}:{}}}};function Br(t){return Kr(t)?(t.nodeName||"").toLowerCase():"#document"}function Zr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Pr(t){var e;return null==(e=(Kr(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Kr(t){return t instanceof Node||t instanceof Zr(t).Node}function Tr(t){return t instanceof Element||t instanceof Zr(t).Element}function $r(t){return t instanceof HTMLElement||t instanceof Zr(t).HTMLElement}function Gr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Zr(t).ShadowRoot)}function Vr(t){const{overflow:e,overflowX:o,overflowY:r,display:n}=tn(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(n)}function qr(t){return["table","td","th"].includes(Br(t))}function Jr(t){const e=Xr(),o=tn(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function Xr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Qr(t){return["html","body","#document"].includes(Br(t))}function tn(t){return Zr(t).getComputedStyle(t)}function en(t){return Tr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function on(t){if("html"===Br(t))return t;const e=t.assignedSlot||t.parentNode||Gr(t)&&t.host||Pr(t);return Gr(e)?e.host:e}function rn(t){const e=on(t);return Qr(e)?t.ownerDocument?t.ownerDocument.body:t.body:$r(e)&&Vr(e)?e:rn(e)}function nn(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const n=rn(t),i=n===(null==(r=t.ownerDocument)?void 0:r.body),a=Zr(n);return i?e.concat(a,a.visualViewport||[],Vr(n)?n:[],a.frameElement&&o?nn(a.frameElement):[]):e.concat(n,nn(n,[],o))}function an(t){const e=tn(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const n=$r(t),i=n?t.offsetWidth:o,a=n?t.offsetHeight:r,s=Nr(o)!==i||Nr(r)!==a;return s&&(o=i,r=a),{width:o,height:r,$:s}}function sn(t){return Tr(t)?t:t.contextElement}function cn(t){const e=sn(t);if(!$r(e))return Cr(1);const o=e.getBoundingClientRect(),{width:r,height:n,$:i}=an(e);let a=(i?Nr(o.width):o.width)/r,s=(i?Nr(o.height):o.height)/n;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const ln=Cr(0);function un(t){const e=Zr(t);return Xr()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:ln}function fn(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const n=t.getBoundingClientRect(),i=sn(t);let a=Cr(1);e&&(r?Tr(r)&&(a=cn(r)):a=cn(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Zr(t))&&e}(i,o,r)?un(i):Cr(0);let c=(n.left+s.x)/a.x,l=(n.top+s.y)/a.y,u=n.width/a.x,f=n.height/a.y;if(i){const t=Zr(i),e=r&&Tr(r)?Zr(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=cn(o),e=o.getBoundingClientRect(),r=tn(o),n=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,i=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,l*=t.y,u*=t.x,f*=t.y,c+=n,l+=i,o=Zr(o).frameElement}}return Fr({width:u,height:f,x:c,y:l})}function hn(t){return fn(Pr(t)).left+en(t).scrollLeft}function dn(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=Zr(t),r=Pr(t),n=o.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(n){i=n.width,a=n.height;const t=Xr();(!t||t&&"fixed"===e)&&(s=n.offsetLeft,c=n.offsetTop)}return{width:i,height:a,x:s,y:c}}(t,o);else if("document"===e)r=function(t){const e=Pr(t),o=en(t),r=t.ownerDocument.body,n=xr(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=xr(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+hn(t);const s=-o.scrollTop;return"rtl"===tn(r).direction&&(a+=xr(e.clientWidth,r.clientWidth)-n),{width:n,height:i,x:a,y:s}}(Pr(t));else if(Tr(e))r=function(t,e){const o=fn(t,!0,"fixed"===e),r=o.top+t.clientTop,n=o.left+t.clientLeft,i=$r(t)?cn(t):Cr(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:n*i.x,y:r*i.y}}(e,o);else{const o=un(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return Fr(r)}function pn(t,e){const o=on(t);return!(o===e||!Tr(o)||Qr(o))&&("fixed"===tn(o).position||pn(o,e))}function yn(t,e,o){const r=$r(e),n=Pr(e),i="fixed"===o,a=fn(t,!0,i,e);let s={scrollLeft:0,scrollTop:0};const c=Cr(0);if(r||!r&&!i)if(("body"!==Br(e)||Vr(n))&&(s=en(e)),r){const t=fn(e,!0,i,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else n&&(c.x=hn(n));return{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function gn(t,e){return $r(t)&&"fixed"!==tn(t).position?e?e(t):t.offsetParent:null}function mn(t,e){const o=Zr(t);if(!$r(t))return o;let r=gn(t,e);for(;r&&qr(r)&&"static"===tn(r).position;)r=gn(r,e);return r&&("html"===Br(r)||"body"===Br(r)&&"static"===tn(r).position&&!Jr(r))?o:r||function(t){let e=on(t);for(;$r(e)&&!Qr(e);){if(Jr(e))return e;e=on(e)}return null}(t)||o}const bn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const n=$r(o),i=Pr(o);if(o===i)return e;let a={scrollLeft:0,scrollTop:0},s=Cr(1);const c=Cr(0);if((n||!n&&"fixed"!==r)&&(("body"!==Br(o)||Vr(i))&&(a=en(o)),$r(o))){const t=fn(o);s=cn(o),c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+c.x,y:e.y*s.y-a.scrollTop*s.y+c.y}},getDocumentElement:Pr,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:r,strategy:n}=t;const i=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let r=nn(t,[],!1).filter((t=>Tr(t)&&"body"!==Br(t))),n=null;const i="fixed"===tn(t).position;let a=i?on(t):t;for(;Tr(a)&&!Qr(a);){const e=tn(a),o=Jr(a);o||"fixed"!==e.position||(n=null),(i?!o&&!n:!o&&"static"===e.position&&n&&["absolute","fixed"].includes(n.position)||Vr(a)&&!o&&pn(t,a))?r=r.filter((t=>t!==a)):n=e,a=on(a)}return e.set(t,r),r}(e,this._c):[].concat(o),r],a=i[0],s=i.reduce(((t,o)=>{const r=dn(e,o,n);return t.top=xr(r.top,t.top),t.right=wr(r.right,t.right),t.bottom=wr(r.bottom,t.bottom),t.left=xr(r.left,t.left),t}),dn(e,a,n));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:mn,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const n=this.getOffsetParent||mn,i=this.getDimensions;return{reference:yn(e,await n(o),r),floating:{x:0,y:0,...await i(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return an(t)},getScale:cn,isElement:Tr,isRTL:function(t){return"rtl"===tn(t).direction}},vn=(t,e,o)=>{const r=new Map,n={platform:bn,...o},i={...n.platform,_c:r};return(async(t,e,o)=>{const{placement:r="bottom",strategy:n="absolute",middleware:i=[],platform:a}=o,s=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(e));let l=await a.getElementRects({reference:t,floating:e,strategy:n}),{x:u,y:f}=Ar(l,r,c),h=r,d={},p=0;for(let o=0;o<s.length;o++){const{name:i,fn:y}=s[o],{x:g,y:m,data:b,reset:v}=await y({x:u,y:f,initialPlacement:r,placement:h,strategy:n,middlewareData:d,rects:l,platform:a,elements:{reference:t,floating:e}});u=null!=g?g:u,f=null!=m?m:f,d={...d,[i]:{...d[i],...b}},v&&p<=50&&(p++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(l=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:n}):v.rects),({x:u,y:f}=Ar(l,h,c))),o=-1)}return{x:u,y:f,placement:h,strategy:n,middlewareData:d}})(t,e,{...n,platform:i})};function On(t){return function(t){for(let e=t;e;e=Sn(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Sn(t);e;e=Sn(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Sn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var wn=Object.freeze({__proto__:null,computeOffsetPosition:async function(t,e,o){return vn(t,e,{platform:{...bn,getOffsetParent:t=>bn.getOffsetParent(t,On)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:e,y:o,placement:n}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...c}=Mr(r,t),l={x:e,y:o},u=await Hr(t,c),f=Ur(Wr(n)),h=kr(f);let d=l[h],p=l[f];if(i){const t="y"===h?"bottom":"right";d=Ir(d+u["y"===h?"top":"left"],d,d-u[t])}if(a){const t="y"===f?"bottom":"right";p=Ir(p+u["y"===f?"top":"left"],p,p-u[t])}const y=s.fn({...t,[h]:d,[f]:p});return{...y,data:{x:y.x-e,y:y.y-o}}}}),jr({allowedPlacements:[o]})]});var r}});
137
137
  /**
138
138
  * @license
139
139
  * Copyright 2019 Google LLC
140
140
  * SPDX-License-Identifier: BSD-3-Clause
141
- */const hn=window,dn=hn.ShadowRoot&&(void 0===hn.ShadyCSS||hn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class pn extends ge{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,r])=>t.registry.define(e,r))));const e={...t.shadowRootOptions,customElements:t.registry},r=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{dn?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const r=document.createElement("style"),o=hn.litNonce;void 0!==o&&r.setAttribute("nonce",o),r.textContent=e.cssText,t.appendChild(r)}))})(r,t.elementStyles),r}}var yn,gn=Object.freeze({__proto__:null,ScopedRegistryLitElement:pn}),mn=function(t,e,r,o){for(var n,i=arguments.length,a=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,r,a):n(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};const bn=Symbol("constructorPrototype"),vn=Symbol("constructorName"),On=Symbol("exportpartsDebouncer");class Sn extends pn{constructor(){super(),this[yn]=new er(5),this[vn]=this.constructor.name,this[bn]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[vn]&&Object.setPrototypeOf(this,this[bn])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.insertCustomStylesheet(),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}insertCustomStylesheet(){var t,e;if((null!==(e=null===(t=this.shadowRoot)||void 0===t?void 0:t.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(){var t,e,r;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(r=null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)&&void 0!==r&&r)&&this[On].run((()=>{var t,e;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,r,o,n,i,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(r=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==r?r:[]){const e=null!==(n=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],r=null!==(a=null===(i=t.getAttribute("exportparts"))||void 0===i?void 0:i.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...r).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const u=[...l.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...u].join(", "))}}yn=On,mn([Se()],Sn.prototype,"exportpartsPrefix",void 0),mn([lr([])],Sn.prototype,"exportpartsPrefixes",void 0),mn([Se()],Sn.prototype,"customStylesheet",void 0);var wn=Object.freeze({__proto__:null,FtLitElement:Sn}),Nn=Object.freeze({__proto__:null});class xn{constructor(t,e=!0,r=[],o=5e3){this.ctx=t,this.iframes=e,this.exclude=r,this.iframesTimeout=o}static matches(t,e){const r="string"==typeof e?[e]:e,o=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(o){let e=!1;return r.every((r=>!o.call(t,r)||(e=!0,!1))),e}return!1}getContexts(){let t,e=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const r=e.filter((e=>e.contains(t))).length>0;-1!==e.indexOf(t)||r||e.push(t)})),e}getIframeContents(t,e,r=(()=>{})){let o;try{const e=t.contentWindow;if(o=e.document,!e||!o)throw new Error("iframe inaccessible")}catch(t){r()}o&&e(o)}isIframeBlank(t){const e="about:blank",r=t.getAttribute("src").trim();return t.contentWindow.location.href===e&&r!==e&&r}observeIframeLoad(t,e,r){let o=!1,n=null;const i=()=>{if(!o){o=!0,clearTimeout(n);try{this.isIframeBlank(t)||(t.removeEventListener("load",i),this.getIframeContents(t,e,r))}catch(t){r()}}};t.addEventListener("load",i),n=setTimeout(i,this.iframesTimeout)}onIframeReady(t,e,r){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,e,r):this.getIframeContents(t,e,r):this.observeIframeLoad(t,e,r)}catch(t){r()}}waitForIframes(t,e){let r=0;this.forEachIframe(t,(()=>!0),(t=>{r++,this.waitForIframes(t.querySelector("html"),(()=>{--r||e()}))}),(t=>{t||e()}))}forEachIframe(t,e,r,o=(()=>{})){let n=t.querySelectorAll("iframe"),i=n.length,a=0;n=Array.prototype.slice.call(n);const s=()=>{--i<=0&&o(a)};i||s(),n.forEach((t=>{xn.matches(t,this.exclude)?s():this.onIframeReady(t,(o=>{e(t)&&(a++,r(o)),s()}),s)}))}createIterator(t,e,r){return document.createNodeIterator(t,e,r,!1)}createInstanceOnIframe(t){return new xn(t.querySelector("html"),this.iframes)}compareNodeIframe(t,e,r){if(t.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_PRECEDING){if(null===e)return!0;if(e.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const e=t.previousNode();let r;return r=(null===e||t.nextNode())&&t.nextNode(),{prevNode:e,node:r}}checkIframeFilter(t,e,r,o){let n=!1,i=!1;return o.forEach(((t,e)=>{t.val===r&&(n=e,i=t.handled)})),this.compareNodeIframe(t,e,r)?(!1!==n||i?!1===n||i||(o[n].handled=!0):o.push({val:r,handled:!0}),!0):(!1===n&&o.push({val:r,handled:!1}),!1)}handleOpenIframes(t,e,r,o){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(e,r,o)}))}))}iterateThroughNodes(t,e,r,o,n){const i=this.createIterator(e,t,o);let a,s,c=[],l=[],u=()=>(({prevNode:s,node:a}=this.getIteratorNode(i)),a);for(;u();)this.iframes&&this.forEachIframe(e,(t=>this.checkIframeFilter(a,s,t,c)),(e=>{this.createInstanceOnIframe(e).forEachNode(t,(t=>l.push(t)),o)})),l.push(a);l.forEach((t=>{r(t)})),this.iframes&&this.handleOpenIframes(c,t,r,o),n()}forEachNode(t,e,r,o=(()=>{})){const n=this.getContexts();let i=n.length;i||o(),n.forEach((n=>{const a=()=>{this.iterateThroughNodes(t,n,e,r,(()=>{--i<=0&&o()}))};this.iframes?this.waitForIframes(n,a):a()}))}}const Cn=function(t){const e=new class{constructor(t){this.ctx=t,this.ie=!1;const e=window.navigator.userAgent;(e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new xn(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,e="debug"){const r=this.opt.log;this.opt.debug&&"object"==typeof r&&"function"==typeof r[e]&&r[e](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const e=this.opt.synonyms,r=this.opt.caseSensitive?"":"i",o=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let n in e)if(e.hasOwnProperty(n)){const i=e[n],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i);""!==a&&""!==s&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(s)})`,`gm${r}`),o+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(s)})`+o))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let e="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,e?"[\\S\\s]?":"\\S?").replace(/\u0002/g,e?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,e,r)=>{let o=r.charAt(e+1);return/[(|)\\]/.test(o)||""===o?t:t+"\0"}))}createJoinersRegExp(t){let e=[];const r=this.opt.ignorePunctuation;return Array.isArray(r)&&r.length&&e.push(this.escapeStr(r.join(""))),this.opt.ignoreJoiners&&e.push("\\u00ad\\u200b\\u200c\\u200d"),e.length?t.split(/\u0000+/).join(`[${e.join("")}]*`):t}createDiacriticsRegExp(t){const e=this.opt.caseSensitive?"":"i",r=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let o=[];return t.split("").forEach((n=>{r.every((r=>{if(-1!==r.indexOf(n)){if(o.indexOf(r)>-1)return!1;t=t.replace(new RegExp(`[${r}]`,`gm${e}`),`[${r}]`),o.push(r)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let e=this.opt.accuracy,r="string"==typeof e?e:e.value,o="string"==typeof e?[]:e.limiters,n="";switch(o.forEach((t=>{n+=`|${this.escapeStr(t)}`})),r){case"partially":default:return`()(${t})`;case"complementary":return n="\\s"+(n||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${n}]*${t}[^${n}]*)`;case"exactly":return`(^|\\s${n})(${t})(?=$|\\s${n})`}}getSeparatedKeywords(t){let e=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===e.indexOf(t)&&e.push(t)})):t.trim()&&-1===e.indexOf(t)&&e.push(t)})),{keywords:e.sort(((t,e)=>e.length-t.length)),length:e.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const e=[];let r=0;return t.sort(((t,e)=>t.start-e.start)).forEach((t=>{let{start:o,end:n,valid:i}=this.callNoMatchOnInvalidRanges(t,r);i&&(t.start=o,t.length=n-o,e.push(t),r=n)})),e}callNoMatchOnInvalidRanges(t,e){let r,o,n=!1;return t&&void 0!==t.start?(r=parseInt(t.start,10),o=r+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&o-e>0&&o-r>0?n=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:r,end:o,valid:n}}checkWhitespaceRanges(t,e,r){let o,n=!0,i=r.length,a=e-i,s=parseInt(t.start,10)-a;return s=s>i?i:s,o=s+parseInt(t.length,10),o>i&&(o=i,this.log(`End range automatically set to the max value of ${i}`)),s<0||o-s<0||s>i||o>i?(n=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===r.substring(s,o).replace(/\s+/g,"")&&(n=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:s,end:o,valid:n}}getTextNodes(t){let e="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{r.push({start:e.length,end:(e+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:e,nodes:r})}))}matchesExclude(t){return xn.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,e,r){const o=this.opt.element?this.opt.element:"mark",n=t.splitText(e),i=n.splitText(r-e);let a=document.createElement(o);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=n.textContent,n.parentNode.replaceChild(a,n),i}wrapRangeInMappedTextNode(t,e,r,o,n){t.nodes.every(((i,a)=>{const s=t.nodes[a+1];if(void 0===s||s.start>e){if(!o(i.node))return!1;const s=e-i.start,c=(r>i.end?i.end:r)-i.start,l=t.value.substr(0,i.start),u=t.value.substr(c+i.start);if(i.node=this.wrapRangeInTextNode(i.node,s,c),t.value=l+u,t.nodes.forEach(((e,r)=>{r>=a&&(t.nodes[r].start>0&&r!==a&&(t.nodes[r].start-=c),t.nodes[r].end-=c)})),r-=c,n(i.node.previousSibling,i.start),!(r>i.end))return!1;e=i.end}return!0}))}wrapMatches(t,e,r,o,n){const i=0===e?0:e+1;this.getTextNodes((e=>{e.nodes.forEach((e=>{let n;for(e=e.node;null!==(n=t.exec(e.textContent))&&""!==n[i];){if(!r(n[i],e))continue;let a=n.index;if(0!==i)for(let t=1;t<i;t++)a+=n[t].length;e=this.wrapRangeInTextNode(e,a,a+n[i].length),o(e.previousSibling),t.lastIndex=0}})),n()}))}wrapMatchesAcrossElements(t,e,r,o,n){const i=0===e?0:e+1;this.getTextNodes((e=>{let a;for(;null!==(a=t.exec(e.value))&&""!==a[i];){let n=a.index;if(0!==i)for(let t=1;t<i;t++)n+=a[t].length;const s=n+a[i].length;this.wrapRangeInMappedTextNode(e,n,s,(t=>r(a[i],t)),((e,r)=>{t.lastIndex=r,o(e)}))}n()}))}wrapRangeFromIndex(t,e,r,o){this.getTextNodes((n=>{const i=n.value.length;t.forEach(((t,o)=>{let{start:a,end:s,valid:c}=this.checkWhitespaceRanges(t,i,n.value);c&&this.wrapRangeInMappedTextNode(n,a,s,(r=>e(r,t,n.value.substring(a,s),o)),(e=>{r(e,t)}))})),o()}))}unwrapMatches(t){const e=t.parentNode;let r=document.createDocumentFragment();for(;t.firstChild;)r.appendChild(t.removeChild(t.firstChild));e.replaceChild(r,t),this.ie?this.normalizeTextNode(e):e.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,e){this.opt=e,this.log(`Searching with expression "${t}"`);let r=0,o="wrapMatches";this.opt.acrossElements&&(o="wrapMatchesAcrossElements"),this[o](t,this.opt.ignoreGroups,((t,e)=>this.opt.filter(e,t,r)),(t=>{r++,this.opt.each(t)}),(()=>{0===r&&this.opt.noMatch(t),this.opt.done(r)}))}mark(t,e){this.opt=e;let r=0,o="wrapMatches";const{keywords:n,length:i}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",s=t=>{let e=new RegExp(this.createRegExp(t),`gm${a}`),c=0;this.log(`Searching with expression "${e}"`),this[o](e,1,((e,o)=>this.opt.filter(o,t,r,c)),(t=>{c++,r++,this.opt.each(t)}),(()=>{0===c&&this.opt.noMatch(t),n[i-1]===t?this.opt.done(r):s(n[n.indexOf(t)+1])}))};this.opt.acrossElements&&(o="wrapMatchesAcrossElements"),0===i?this.opt.done(r):s(n[0])}markRanges(t,e){this.opt=e;let r=0,o=this.checkRanges(t);o&&o.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(o)),this.wrapRangeFromIndex(o,((t,e,r,o)=>this.opt.filter(t,e,r,o)),((t,e)=>{r++,this.opt.each(t,e)}),(()=>{this.opt.done(r)}))):this.opt.done(r)}unmark(t){this.opt=t;let e=this.opt.element?this.opt.element:"*";e+="[data-markjs]",this.opt.className&&(e+=`.${this.opt.className}`),this.log(`Removal selector "${e}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const r=xn.matches(t,e),o=this.matchesExclude(t);return!r||o?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,r)=>(e.mark(t,r),this),this.markRegExp=(t,r)=>(e.markRegExp(t,r),this),this.markRanges=(t,r)=>(e.markRanges(t,r),this),this.unmark=t=>(e.unmark(t),this),this},En=dr.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Rn=ft`
141
+ */const xn=window,Nn=xn.ShadowRoot&&(void 0===xn.ShadyCSS||xn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Cn extends ge{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Nn?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=xn.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var En,Rn=Object.freeze({__proto__:null,ScopedRegistryLitElement:Cn}),In=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};const Mn=Symbol("constructorPrototype"),Wn=Symbol("constructorName"),Ln=Symbol("exportpartsDebouncer");class kn extends Cn{constructor(){super(),this[En]=new eo(5),this[Wn]=this.constructor.name,this[Mn]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Wn]&&Object.setPrototypeOf(this,this[Mn])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.insertCustomStylesheet(),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}insertCustomStylesheet(){var t,e;if((null!==(e=null===(t=this.shadowRoot)||void 0===t?void 0:t.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(){var t,e,o;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(o=null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)&&void 0!==o&&o)&&this[Ln].run((()=>{var t,e;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,r,n,i,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(n=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==n?n:[],o=null!==(a=null===(i=t.getAttribute("exportparts"))||void 0===i?void 0:i.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const u=[...l.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...u].join(", "))}}En=Ln,In([Se()],kn.prototype,"exportpartsPrefix",void 0),In([lo([])],kn.prototype,"exportpartsPrefixes",void 0),In([Se()],kn.prototype,"customStylesheet",void 0);var Dn=Object.freeze({__proto__:null,FtLitElement:kn}),Un=Object.freeze({__proto__:null});class Yn{constructor(t,e=!0,o=[],r=5e3){this.ctx=t,this.iframes=e,this.exclude=o,this.iframesTimeout=r}static matches(t,e){const o="string"==typeof e?[e]:e,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let e=!1;return o.every((o=>!r.call(t,o)||(e=!0,!1))),e}return!1}getContexts(){let t,e=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const o=e.filter((e=>e.contains(t))).length>0;-1!==e.indexOf(t)||o||e.push(t)})),e}getIframeContents(t,e,o=(()=>{})){let r;try{const e=t.contentWindow;if(r=e.document,!e||!r)throw new Error("iframe inaccessible")}catch(t){o()}r&&e(r)}isIframeBlank(t){const e="about:blank",o=t.getAttribute("src").trim();return t.contentWindow.location.href===e&&o!==e&&o}observeIframeLoad(t,e,o){let r=!1,n=null;const i=()=>{if(!r){r=!0,clearTimeout(n);try{this.isIframeBlank(t)||(t.removeEventListener("load",i),this.getIframeContents(t,e,o))}catch(t){o()}}};t.addEventListener("load",i),n=setTimeout(i,this.iframesTimeout)}onIframeReady(t,e,o){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,e,o):this.getIframeContents(t,e,o):this.observeIframeLoad(t,e,o)}catch(t){o()}}waitForIframes(t,e){let o=0;this.forEachIframe(t,(()=>!0),(t=>{o++,this.waitForIframes(t.querySelector("html"),(()=>{--o||e()}))}),(t=>{t||e()}))}forEachIframe(t,e,o,r=(()=>{})){let n=t.querySelectorAll("iframe"),i=n.length,a=0;n=Array.prototype.slice.call(n);const s=()=>{--i<=0&&r(a)};i||s(),n.forEach((t=>{Yn.matches(t,this.exclude)?s():this.onIframeReady(t,(r=>{e(t)&&(a++,o(r)),s()}),s)}))}createIterator(t,e,o){return document.createNodeIterator(t,e,o,!1)}createInstanceOnIframe(t){return new Yn(t.querySelector("html"),this.iframes)}compareNodeIframe(t,e,o){if(t.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_PRECEDING){if(null===e)return!0;if(e.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const e=t.previousNode();let o;return o=(null===e||t.nextNode())&&t.nextNode(),{prevNode:e,node:o}}checkIframeFilter(t,e,o,r){let n=!1,i=!1;return r.forEach(((t,e)=>{t.val===o&&(n=e,i=t.handled)})),this.compareNodeIframe(t,e,o)?(!1!==n||i?!1===n||i||(r[n].handled=!0):r.push({val:o,handled:!0}),!0):(!1===n&&r.push({val:o,handled:!1}),!1)}handleOpenIframes(t,e,o,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(e,o,r)}))}))}iterateThroughNodes(t,e,o,r,n){const i=this.createIterator(e,t,r);let a,s,c=[],l=[],u=()=>(({prevNode:s,node:a}=this.getIteratorNode(i)),a);for(;u();)this.iframes&&this.forEachIframe(e,(t=>this.checkIframeFilter(a,s,t,c)),(e=>{this.createInstanceOnIframe(e).forEachNode(t,(t=>l.push(t)),r)})),l.push(a);l.forEach((t=>{o(t)})),this.iframes&&this.handleOpenIframes(c,t,o,r),n()}forEachNode(t,e,o,r=(()=>{})){const n=this.getContexts();let i=n.length;i||r(),n.forEach((n=>{const a=()=>{this.iterateThroughNodes(t,n,e,o,(()=>{--i<=0&&r()}))};this.iframes?this.waitForIframes(n,a):a()}))}}const _n=function(t){const e=new class{constructor(t){this.ctx=t,this.ie=!1;const e=window.navigator.userAgent;(e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Yn(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,e="debug"){const o=this.opt.log;this.opt.debug&&"object"==typeof o&&"function"==typeof o[e]&&o[e](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const e=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let n in e)if(e.hasOwnProperty(n)){const i=e[n],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i);""!==a&&""!==s&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(s)})`,`gm${o}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(s)})`+r))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let e="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,e?"[\\S\\s]?":"\\S?").replace(/\u0002/g,e?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,e,o)=>{let r=o.charAt(e+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let e=[];const o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&e.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&e.push("\\u00ad\\u200b\\u200c\\u200d"),e.length?t.split(/\u0000+/).join(`[${e.join("")}]*`):t}createDiacriticsRegExp(t){const e=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let r=[];return t.split("").forEach((n=>{o.every((o=>{if(-1!==o.indexOf(n)){if(r.indexOf(o)>-1)return!1;t=t.replace(new RegExp(`[${o}]`,`gm${e}`),`[${o}]`),r.push(o)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let e=this.opt.accuracy,o="string"==typeof e?e:e.value,r="string"==typeof e?[]:e.limiters,n="";switch(r.forEach((t=>{n+=`|${this.escapeStr(t)}`})),o){case"partially":default:return`()(${t})`;case"complementary":return n="\\s"+(n||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${n}]*${t}[^${n}]*)`;case"exactly":return`(^|\\s${n})(${t})(?=$|\\s${n})`}}getSeparatedKeywords(t){let e=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===e.indexOf(t)&&e.push(t)})):t.trim()&&-1===e.indexOf(t)&&e.push(t)})),{keywords:e.sort(((t,e)=>e.length-t.length)),length:e.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const e=[];let o=0;return t.sort(((t,e)=>t.start-e.start)).forEach((t=>{let{start:r,end:n,valid:i}=this.callNoMatchOnInvalidRanges(t,o);i&&(t.start=r,t.length=n-r,e.push(t),o=n)})),e}callNoMatchOnInvalidRanges(t,e){let o,r,n=!1;return t&&void 0!==t.start?(o=parseInt(t.start,10),r=o+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-e>0&&r-o>0?n=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:o,end:r,valid:n}}checkWhitespaceRanges(t,e,o){let r,n=!0,i=o.length,a=e-i,s=parseInt(t.start,10)-a;return s=s>i?i:s,r=s+parseInt(t.length,10),r>i&&(r=i,this.log(`End range automatically set to the max value of ${i}`)),s<0||r-s<0||s>i||r>i?(n=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===o.substring(s,r).replace(/\s+/g,"")&&(n=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:s,end:r,valid:n}}getTextNodes(t){let e="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{o.push({start:e.length,end:(e+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:e,nodes:o})}))}matchesExclude(t){return Yn.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,e,o){const r=this.opt.element?this.opt.element:"mark",n=t.splitText(e),i=n.splitText(o-e);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=n.textContent,n.parentNode.replaceChild(a,n),i}wrapRangeInMappedTextNode(t,e,o,r,n){t.nodes.every(((i,a)=>{const s=t.nodes[a+1];if(void 0===s||s.start>e){if(!r(i.node))return!1;const s=e-i.start,c=(o>i.end?i.end:o)-i.start,l=t.value.substr(0,i.start),u=t.value.substr(c+i.start);if(i.node=this.wrapRangeInTextNode(i.node,s,c),t.value=l+u,t.nodes.forEach(((e,o)=>{o>=a&&(t.nodes[o].start>0&&o!==a&&(t.nodes[o].start-=c),t.nodes[o].end-=c)})),o-=c,n(i.node.previousSibling,i.start),!(o>i.end))return!1;e=i.end}return!0}))}wrapMatches(t,e,o,r,n){const i=0===e?0:e+1;this.getTextNodes((e=>{e.nodes.forEach((e=>{let n;for(e=e.node;null!==(n=t.exec(e.textContent))&&""!==n[i];){if(!o(n[i],e))continue;let a=n.index;if(0!==i)for(let t=1;t<i;t++)a+=n[t].length;e=this.wrapRangeInTextNode(e,a,a+n[i].length),r(e.previousSibling),t.lastIndex=0}})),n()}))}wrapMatchesAcrossElements(t,e,o,r,n){const i=0===e?0:e+1;this.getTextNodes((e=>{let a;for(;null!==(a=t.exec(e.value))&&""!==a[i];){let n=a.index;if(0!==i)for(let t=1;t<i;t++)n+=a[t].length;const s=n+a[i].length;this.wrapRangeInMappedTextNode(e,n,s,(t=>o(a[i],t)),((e,o)=>{t.lastIndex=o,r(e)}))}n()}))}wrapRangeFromIndex(t,e,o,r){this.getTextNodes((n=>{const i=n.value.length;t.forEach(((t,r)=>{let{start:a,end:s,valid:c}=this.checkWhitespaceRanges(t,i,n.value);c&&this.wrapRangeInMappedTextNode(n,a,s,(o=>e(o,t,n.value.substring(a,s),r)),(e=>{o(e,t)}))})),r()}))}unwrapMatches(t){const e=t.parentNode;let o=document.createDocumentFragment();for(;t.firstChild;)o.appendChild(t.removeChild(t.firstChild));e.replaceChild(o,t),this.ie?this.normalizeTextNode(e):e.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,e){this.opt=e,this.log(`Searching with expression "${t}"`);let o=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,e)=>this.opt.filter(e,t,o)),(t=>{o++,this.opt.each(t)}),(()=>{0===o&&this.opt.noMatch(t),this.opt.done(o)}))}mark(t,e){this.opt=e;let o=0,r="wrapMatches";const{keywords:n,length:i}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",s=t=>{let e=new RegExp(this.createRegExp(t),`gm${a}`),c=0;this.log(`Searching with expression "${e}"`),this[r](e,1,((e,r)=>this.opt.filter(r,t,o,c)),(t=>{c++,o++,this.opt.each(t)}),(()=>{0===c&&this.opt.noMatch(t),n[i-1]===t?this.opt.done(o):s(n[n.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===i?this.opt.done(o):s(n[0])}markRanges(t,e){this.opt=e;let o=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,e,o,r)=>this.opt.filter(t,e,o,r)),((t,e)=>{o++,this.opt.each(t,e)}),(()=>{this.opt.done(o)}))):this.opt.done(o)}unmark(t){this.opt=t;let e=this.opt.element?this.opt.element:"*";e+="[data-markjs]",this.opt.className&&(e+=`.${this.opt.className}`),this.log(`Removal selector "${e}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const o=Yn.matches(t,e),r=this.matchesExclude(t);return!o||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,o)=>(e.mark(t,o),this),this.markRegExp=(t,o)=>(e.markRegExp(t,o),this),this.markRanges=(t,o)=>(e.markRanges(t,o),this),this.unmark=t=>(e.unmark(t),this),this},Fn=po.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),An=ft`
142
142
  .highlight-html-match {
143
- background: ${En};
143
+ background: ${Fn};
144
144
  }
145
- `,Mn={className:"highlight-html-match"};var Ln=Object.freeze({__proto__:null,highlightHtml:function(t,e){var r;let o=t.getAttribute("data-highlight-html-query");if((null!=o?o:"")!==(null!=e?e:"")){const o=new Cn(t);if(o.unmark(Mn),e&&e.trim()){o.mark(e.replace(/"[^"]+"/g,""),{...Mn,separateWordSearch:!0});(null!==(r=e.match(/"[^"]+"/g))&&void 0!==r?r:[]).forEach((t=>o.mark(t.replace(/"/g,""),{...Mn,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=e?e:"")},highlightHtmlColorCssVariable:En,highlightHtmlStyles:Rn});const kn=ft`
145
+ `,Hn={className:"highlight-html-match"};var zn=Object.freeze({__proto__:null,highlightHtml:function(t,e){var o;let r=t.getAttribute("data-highlight-html-query");if((null!=r?r:"")!==(null!=e?e:"")){const r=new _n(t);if(r.unmark(Hn),e&&e.trim()){r.mark(e.replace(/"[^"]+"/g,""),{...Hn,separateWordSearch:!0});(null!==(o=e.match(/"[^"]+"/g))&&void 0!==o?o:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...Hn,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=e?e:"")},highlightHtmlColorCssVariable:Fn,highlightHtmlStyles:An});const jn=ft`
146
146
  .ft-no-text-select {
147
147
  -webkit-touch-callout: none;
148
148
  -webkit-user-select: none;
@@ -151,7 +151,7 @@ function(t){return(e,r)=>{const{slot:o,selector:n}=t??{},i="slot"+(o?`[name=${o}
151
151
  -ms-user-select: none;
152
152
  user-select: none;
153
153
  }
154
- `,Dn=ft`
154
+ `,Bn=ft`
155
155
  .ft-word-wrap {
156
156
  white-space: normal;
157
157
  word-wrap: break-word;
@@ -163,7 +163,7 @@ function(t){return(e,r)=>{const{slot:o,selector:n}=t??{},i="slot"+(o?`[name=${o}
163
163
  -webkit-hyphens: auto;
164
164
  hyphens: auto
165
165
  }
166
- `,Wn=ft`
166
+ `,Zn=ft`
167
167
  .ft-safari-ellipsis-fix {
168
168
  margin-right: 0;
169
169
 
@@ -174,19 +174,19 @@ function(t){return(e,r)=>{const{slot:o,selector:n}=t??{},i="slot"+(o?`[name=${o}
174
174
  display: inline-block;
175
175
  width: 0;
176
176
  }
177
- `;var In=Object.freeze({__proto__:null,noTextSelect:kn,safariEllipsisFix:Wn,wordWrap:Dn}),Un=Object.freeze({__proto__:null});var Yn=Object.freeze({__proto__:null,ParametrizedLabelResolver:class{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var r,o;t=this.resolvePluralKey(t,e);let n=null!==(o=null!==(r=this.labels[t])&&void 0!==r?r:this.defaultLabels[t])&&void 0!==o?o:"";return e.forEach(((t,e)=>n=n.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,r)=>this.formatValue(t,r))))),n}resolvePluralKey(t,e){for(let r of e)if("number"==typeof r){const e=`${String(t)}[\\=${r}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const r=r=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(r):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(r):t.toLocaleString(r);try{return r(document.documentElement.lang)}catch(t){return r()}}}});class _n{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function An(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Fn,jn,Hn;const Pn=Symbol("internalReduxEventsUnsubscribers"),$n=Symbol("internalStoresUnsubscribers"),Kn=Symbol("internalStores");class Zn extends Sn{constructor(){super(...arguments),this[Fn]=new Map,this[jn]=new Map,this[Hn]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[Kn].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Kn].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Kn].get(t)}addStore(t,e){var r;e=null!==(r=null!=e?e:An(t)?t.name:void 0)&&void 0!==r?r:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Kn].delete(e)}setupStore(t,e){this[Kn].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Kn].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const r=this.constructor.getPropertyOptions(e);if(!(null==r?void 0:r.attribute)||!this.hasAttribute("string"==typeof(null==r?void 0:r.attribute)?r.attribute:e)){const r=this.getStore(t.store);r&&(t.store?this[$n].has(t.store):this[$n].size>0)&&(this[e]=t.selector(r.getState(),this))}}))}subscribeToStore(t,e){var r;this[$n].set(t,e.subscribe((()=>this.updateFromStores()))),An(e)&&e.eventBus&&(null===(r=this.reduxConstructor.reduxEventListeners)||void 0===r||r.forEach(((t,r)=>{if("function"==typeof this[r]&&(!t.store||e.name===t.store)){const o=t=>this[r](t);e.eventBus.addEventListener(t.eventName,o),this[Pn].push((()=>e.eventBus.removeEventListener(t.eventName,o)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[$n].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Pn].forEach((t=>t())),this[Pn]=[]}unsubscribeFromStore(t){this[$n].has(t)&&this[$n].get(t)(),this[$n].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Tn(t){for(var e=arguments.length,r=Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Bn(t){return!!t&&!!t[Wi]}function zn(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var r=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===Ii}(t)||Array.isArray(t)||!!t[Di]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Di])||Qn(t)||ti(t))}function Gn(t,e,r){void 0===r&&(r=!1),0===qn(t)?(r?Object.keys:Ui)(t).forEach((function(o){r&&"symbol"==typeof o||e(o,t[o],t)})):t.forEach((function(r,o){return e(o,r,t)}))}function qn(t){var e=t[Wi];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Qn(t)?2:ti(t)?3:0}function Vn(t,e){return 2===qn(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Jn(t,e,r){var o=qn(t);2===o?t.set(e,r):3===o?t.add(r):t[e]=r}function Xn(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function Qn(t){return Ri&&t instanceof Map}function ti(t){return Mi&&t instanceof Set}function ei(t){return t.o||t.t}function ri(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Yi(t);delete e[Wi];for(var r=Ui(e),o=0;o<r.length;o++){var n=r[o],i=e[n];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function oi(t,e){return void 0===e&&(e=!1),ii(t)||Bn(t)||!zn(t)||(qn(t)>1&&(t.set=t.add=t.clear=t.delete=ni),Object.freeze(t),e&&Gn(t,(function(t,e){return oi(e,!0)}),!0)),t}function ni(){Tn(2)}function ii(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function ai(t){var e=_i[t];return e||Tn(18,t),e}function si(){return Ci}function ci(t,e){e&&(ai("Patches"),t.u=[],t.s=[],t.v=e)}function li(t){ui(t),t.p.forEach(hi),t.p=null}function ui(t){t===Ci&&(Ci=t.l)}function fi(t){return Ci={p:[],l:Ci,h:t,m:!0,_:0}}function hi(t){var e=t[Wi];0===e.i||1===e.i?e.j():e.g=!0}function di(t,e){e._=e.p.length;var r=e.p[0],o=void 0!==t&&t!==r;return e.h.O||ai("ES5").S(e,t,o),o?(r[Wi].P&&(li(e),Tn(4)),zn(t)&&(t=pi(e,t),e.l||gi(e,t)),e.u&&ai("Patches").M(r[Wi].t,t,e.u,e.s)):t=pi(e,r,[]),li(e),e.u&&e.v(e.u,e.s),t!==ki?t:void 0}function pi(t,e,r){if(ii(e))return e;var o=e[Wi];if(!o)return Gn(e,(function(n,i){return yi(t,o,e,n,i,r)}),!0),e;if(o.A!==t)return e;if(!o.P)return gi(t,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var n=4===o.i||5===o.i?o.o=ri(o.k):o.o,i=n,a=!1;3===o.i&&(i=new Set(n),n.clear(),a=!0),Gn(i,(function(e,i){return yi(t,o,n,e,i,r,a)})),gi(t,n,!1),r&&t.u&&ai("Patches").N(o,r,t.u,t.s)}return o.o}function yi(t,e,r,o,n,i,a){if(Bn(n)){var s=pi(t,n,i&&e&&3!==e.i&&!Vn(e.R,o)?i.concat(o):void 0);if(Jn(r,o,s),!Bn(s))return;t.m=!1}else a&&r.add(n);if(zn(n)&&!ii(n)){if(!t.h.D&&t._<1)return;pi(t,n),e&&e.A.l||gi(t,n)}}function gi(t,e,r){void 0===r&&(r=!1),!t.l&&t.h.D&&t.m&&oi(e,r)}function mi(t,e){var r=t[Wi];return(r?ei(r):t)[e]}function bi(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var o=Object.getOwnPropertyDescriptor(r,e);if(o)return o;r=Object.getPrototypeOf(r)}}function vi(t){t.P||(t.P=!0,t.l&&vi(t.l))}function Oi(t){t.o||(t.o=ri(t.t))}function Si(t,e,r){var o=Qn(e)?ai("MapSet").F(e,r):ti(e)?ai("MapSet").T(e,r):t.O?function(t,e){var r=Array.isArray(t),o={i:r?1:0,A:e?e.A:si(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},n=o,i=Ai;r&&(n=[o],i=Fi);var a=Proxy.revocable(n,i),s=a.revoke,c=a.proxy;return o.k=c,o.j=s,c}(e,r):ai("ES5").J(e,r);return(r?r.A:si()).p.push(o),o}function wi(t){return Bn(t)||Tn(22,t),function t(e){if(!zn(e))return e;var r,o=e[Wi],n=qn(e);if(o){if(!o.P&&(o.i<4||!ai("ES5").K(o)))return o.t;o.I=!0,r=Ni(e,n),o.I=!1}else r=Ni(e,n);return Gn(r,(function(e,n){o&&function(t,e){return 2===qn(t)?t.get(e):t[e]}(o.t,e)===n||Jn(r,e,t(n))})),3===n?new Set(r):r}(t)}function Ni(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ri(t)}Fn=$n,jn=Kn,Hn=Pn,Zn.reduxProperties=new Map,Zn.reduxReactiveProperties=new Set,Zn.reduxEventListeners=new Map;var xi,Ci,Ei="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ri="undefined"!=typeof Map,Mi="undefined"!=typeof Set,Li="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,ki=Ei?Symbol.for("immer-nothing"):((xi={})["immer-nothing"]=!0,xi),Di=Ei?Symbol.for("immer-draftable"):"__$immer_draftable",Wi=Ei?Symbol.for("immer-state"):"__$immer_state",Ii=""+Object.prototype.constructor,Ui="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Yi=Object.getOwnPropertyDescriptors||function(t){var e={};return Ui(t).forEach((function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)})),e},_i={},Ai={get:function(t,e){if(e===Wi)return t;var r=ei(t);if(!Vn(r,e))return function(t,e,r){var o,n=bi(e,r);return n?"value"in n?n.value:null===(o=n.get)||void 0===o?void 0:o.call(t.k):void 0}(t,r,e);var o=r[e];return t.I||!zn(o)?o:o===mi(t.t,e)?(Oi(t),t.o[e]=Si(t.A.h,o,t)):o},has:function(t,e){return e in ei(t)},ownKeys:function(t){return Reflect.ownKeys(ei(t))},set:function(t,e,r){var o=bi(ei(t),e);if(null==o?void 0:o.set)return o.set.call(t.k,r),!0;if(!t.P){var n=mi(ei(t),e),i=null==n?void 0:n[Wi];if(i&&i.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Xn(r,n)&&(void 0!==r||Vn(t.t,e)))return!0;Oi(t),vi(t)}return t.o[e]===r&&(void 0!==r||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==mi(t.t,e)||e in t.t?(t.R[e]=!1,Oi(t),vi(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=ei(t),o=Reflect.getOwnPropertyDescriptor(r,e);return o?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:o.enumerable,value:r[e]}:o},defineProperty:function(){Tn(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Tn(12)}},Fi={};Gn(Ai,(function(t,e){Fi[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Fi.deleteProperty=function(t,e){return Fi.set.call(this,t,e,void 0)},Fi.set=function(t,e,r){return Ai.set.call(this,t[0],e,r,t[0])};var ji=function(){function t(t){var e=this;this.O=Li,this.D=!0,this.produce=function(t,r,o){if("function"==typeof t&&"function"!=typeof r){var n=r;r=t;var i=e;return function(t){var e=this;void 0===t&&(t=n);for(var o=arguments.length,a=Array(o>1?o-1:0),s=1;s<o;s++)a[s-1]=arguments[s];return i.produce(t,(function(t){var o;return(o=r).call.apply(o,[e,t].concat(a))}))}}var a;if("function"!=typeof r&&Tn(6),void 0!==o&&"function"!=typeof o&&Tn(7),zn(t)){var s=fi(e),c=Si(e,t,void 0),l=!0;try{a=r(c),l=!1}finally{l?li(s):ui(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return ci(s,o),di(t,s)}),(function(t){throw li(s),t})):(ci(s,o),di(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=r(t))&&(a=t),a===ki&&(a=void 0),e.D&&oi(a,!0),o){var u=[],f=[];ai("Patches").M(t,a,u,f),o(u,f)}return a}Tn(21,t)},this.produceWithPatches=function(t,r){if("function"==typeof t)return function(r){for(var o=arguments.length,n=Array(o>1?o-1:0),i=1;i<o;i++)n[i-1]=arguments[i];return e.produceWithPatches(r,(function(e){return t.apply(void 0,[e].concat(n))}))};var o,n,i=e.produce(t,r,(function(t,e){o=t,n=e}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,o,n]})):[i,o,n]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){zn(t)||Tn(8),Bn(t)&&(t=wi(t));var e=fi(this),r=Si(this,t,void 0);return r[Wi].C=!0,ui(e),r},e.finishDraft=function(t,e){var r=(t&&t[Wi]).A;return ci(r,e),di(void 0,r)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Li&&Tn(20),this.O=t},e.applyPatches=function(t,e){var r;for(r=e.length-1;r>=0;r--){var o=e[r];if(0===o.path.length&&"replace"===o.op){t=o.value;break}}r>-1&&(e=e.slice(r+1));var n=ai("Patches").$;return Bn(t)?n(t,e):this.produce(t,(function(t){return n(t,e)}))},t}(),Hi=new ji,Pi=Hi.produce;function $i(t){return $i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$i(t)}function Ki(t){var e=function(t,e){if("object"!==$i(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!==$i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===$i(e)?e:String(e)}function Zi(t,e,r){return(e=Ki(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ti(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function Bi(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ti(Object(r),!0).forEach((function(e){Zi(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ti(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function zi(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}Hi.produceWithPatches.bind(Hi),Hi.setAutoFreeze.bind(Hi),Hi.setUseProxies.bind(Hi),Hi.applyPatches.bind(Hi),Hi.createDraft.bind(Hi),Hi.finishDraft.bind(Hi);var Gi="function"==typeof Symbol&&Symbol.observable||"@@observable",qi=function(){return Math.random().toString(36).substring(7).split("").join(".")},Vi={INIT:"@@redux/INIT"+qi(),REPLACE:"@@redux/REPLACE"+qi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+qi()}};function Ji(t,e,r){var o;if("function"==typeof e&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(zi(0));if("function"==typeof e&&void 0===r&&(r=e,e=void 0),void 0!==r){if("function"!=typeof r)throw new Error(zi(1));return r(Ji)(t,e)}if("function"!=typeof t)throw new Error(zi(2));var n=t,i=e,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function u(){if(c)throw new Error(zi(3));return i}function f(t){if("function"!=typeof t)throw new Error(zi(4));if(c)throw new Error(zi(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(zi(6));e=!1,l();var r=s.indexOf(t);s.splice(r,1),a=null}}}function h(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(zi(7));if(void 0===t.type)throw new Error(zi(8));if(c)throw new Error(zi(9));try{c=!0,i=n(i,t)}finally{c=!1}for(var e=a=s,r=0;r<e.length;r++){(0,e[r])()}return t}return h({type:Vi.INIT}),(o={dispatch:h,subscribe:f,getState:u,replaceReducer:function(t){if("function"!=typeof t)throw new Error(zi(10));n=t,h({type:Vi.REPLACE})}})[Gi]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(zi(11));function r(){t.next&&t.next(u())}return r(),{unsubscribe:e(r)}}})[Gi]=function(){return this},t},o}function Xi(t){for(var e=Object.keys(t),r={},o=0;o<e.length;o++){var n=e[o];"function"==typeof t[n]&&(r[n]=t[n])}var i,a=Object.keys(r);try{!function(t){Object.keys(t).forEach((function(e){var r=t[e];if(void 0===r(void 0,{type:Vi.INIT}))throw new Error(zi(12));if(void 0===r(void 0,{type:Vi.PROBE_UNKNOWN_ACTION()}))throw new Error(zi(13))}))}(r)}catch(t){i=t}return function(t,e){if(void 0===t&&(t={}),i)throw i;for(var o=!1,n={},s=0;s<a.length;s++){var c=a[s],l=r[c],u=t[c],f=l(u,e);if(void 0===f)throw e&&e.type,new Error(zi(14));n[c]=f,o=o||f!==u}return(o=o||a.length!==Object.keys(t).length)?n:t}}function Qi(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function ta(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return function(){var r=t.apply(void 0,arguments),o=function(){throw new Error(zi(15))},n={getState:r.getState,dispatch:function(){return o.apply(void 0,arguments)}},i=e.map((function(t){return t(n)}));return o=Qi.apply(void 0,i)(r.dispatch),Bi(Bi({},r),{},{dispatch:o})}}}function ea(t){return function(e){var r=e.dispatch,o=e.getState;return function(e){return function(n){return"function"==typeof n?n(r,o,t):e(n)}}}}var ra=ea();ra.withExtraArgument=ea;var oa,na=ra,ia=(oa=function(t,e){return oa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},oa(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}oa(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),aa=function(t,e){var r,o,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,o&&(n=2&i[0]?o.return:i[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,i[1])).done)return n;switch(o=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t],o=0}finally{r=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},sa=function(t,e){for(var r=0,o=e.length,n=t.length;r<o;r++,n++)t[n]=e[r];return t},ca=Object.defineProperty,la=Object.defineProperties,ua=Object.getOwnPropertyDescriptors,fa=Object.getOwnPropertySymbols,ha=Object.prototype.hasOwnProperty,da=Object.prototype.propertyIsEnumerable,pa=function(t,e,r){return e in t?ca(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},ya=function(t,e){for(var r in e||(e={}))ha.call(e,r)&&pa(t,r,e[r]);if(fa)for(var o=0,n=fa(e);o<n.length;o++){r=n[o];da.call(e,r)&&pa(t,r,e[r])}return t},ga=function(t,e){return la(t,ua(e))},ma="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Qi:Qi.apply(null,arguments)};var ba=function(t){function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return ia(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,sa([void 0],t[0].concat(this)))):new(e.bind.apply(e,sa([void 0],t.concat(this))))},e}(Array),va=function(t){function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return ia(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,sa([void 0],t[0].concat(this)))):new(e.bind.apply(e,sa([void 0],t.concat(this))))},e}(Array);function Oa(t){return zn(t)?Pi(t,(function(){})):t}function Sa(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,r=void 0===e||e;t.immutableCheck,t.serializableCheck;var o=new ba;r&&(!function(t){return"boolean"==typeof t}(r)?o.push(na.withExtraArgument(r.extraArgument)):o.push(na));return o}(t)}}function wa(t){var e,r=Sa(),o=t||{},n=o.reducer,i=void 0===n?void 0:n,a=o.middleware,s=void 0===a?r():a,c=o.devTools,l=void 0===c||c,u=o.preloadedState,f=void 0===u?void 0:u,h=o.enhancers,d=void 0===h?void 0:h;if("function"==typeof i)e=i;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var r=e;null!==Object.getPrototypeOf(r);)r=Object.getPrototypeOf(r);return e===r}(i))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=Xi(i)}var p=s;"function"==typeof p&&(p=p(r));var y=ta.apply(void 0,p),g=Qi;l&&(g=ma(ya({trace:!1},"object"==typeof l&&l)));var m=new va(y),b=m;return Array.isArray(d)?b=sa([y],d):"function"==typeof d&&(b=d(m)),Ji(e,f,g.apply(void 0,b))}function Na(t,e){function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(e){var n=e.apply(void 0,r);if(!n)throw new Error("prepareAction did not return an object");return ya(ya({type:t,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:t,payload:r[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(e){return e.type===t},r}function xa(t){var e,r={},o=[],n={addCase:function(t,e){var o="string"==typeof t?t:t.type;if(o in r)throw new Error("addCase cannot be called with two reducers for the same action type");return r[o]=e,n},addMatcher:function(t,e){return o.push({matcher:t,reducer:e}),n},addDefaultCase:function(t){return e=t,n}};return t(n),[r,o,e]}function Ca(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var r,o="function"==typeof t.initialState?t.initialState:Oa(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};function l(){var e="function"==typeof t.extraReducers?xa(t.extraReducers):[t.extraReducers],r=e[0],n=void 0===r?{}:r,i=e[1],a=void 0===i?[]:i,c=e[2],l=void 0===c?void 0:c,u=ya(ya({},n),s);return function(t,e,r,o){void 0===r&&(r=[]);var n,i="function"==typeof e?xa(e):[e,r,o],a=i[0],s=i[1],c=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return Oa(t())};else{var l=Oa(t);n=function(){return l}}function u(t,e){void 0===t&&(t=n());var r=sa([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===r.filter((function(t){return!!t})).length&&(r=[c]),r.reduce((function(t,r){if(r){var o;if(Bn(t))return void 0===(o=r(t,e))?t:o;if(zn(t))return Pi(t,(function(t){return r(t,e)}));if(void 0===(o=r(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return o}return t}),t)}return u.getInitialState=n,u}(o,(function(t){for(var e in u)t.addCase(e,u[e]);for(var r=0,o=a;r<o.length;r++){var n=o[r];t.addMatcher(n.matcher,n.reducer)}l&&t.addDefaultCase(l)}))}return i.forEach((function(t){var r,o,i=n[t],l=e+"/"+t;"reducer"in i?(r=i.reducer,o=i.prepare):r=i,a[t]=r,s[l]=r,c[t]=o?Na(l,o):Na(l)})),{name:e,reducer:function(t,e){return r||(r=l()),r(t,e)},actions:c,caseReducers:a,getInitialState:function(){return r||(r=l()),r.getInitialState()}}}var Ea=["name","message","stack","code"],Ra=function(t,e){this.payload=t,this.meta=e},Ma=function(t,e){this.payload=t,this.meta=e},La=function(t){if("object"==typeof t&&null!==t){for(var e={},r=0,o=Ea;r<o.length;r++){var n=o[r];"string"==typeof t[n]&&(e[n]=t[n])}return e}return{message:String(t)}};function ka(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,r){var o=Na(t+"/fulfilled",(function(t,e,r,o){return{payload:t,meta:ga(ya({},o||{}),{arg:r,requestId:e,requestStatus:"fulfilled"})}})),n=Na(t+"/pending",(function(t,e,r){return{payload:void 0,meta:ga(ya({},r||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),i=Na(t+"/rejected",(function(t,e,o,n,i){return{payload:n,error:(r&&r.serializeError||La)(t||"Rejected"),meta:ga(ya({},i||{}),{arg:o,requestId:e,rejectedWithValue:!!n,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var u,f=(null==r?void 0:r.idGenerator)?r.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",r=t;r--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),h=new a;function d(t){u=t,h.abort()}var p=function(){return a=this,p=null,y=function(){var a,p,y,g,m,b;return aa(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==r?void 0:r.condition)?void 0:a.call(r,t,{getState:c,extra:l}),null===(O=g)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return m=new Promise((function(t,e){return h.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:u||"Aborted"})}))})),s(n(f,t,null==(p=null==r?void 0:r.getPendingMeta)?void 0:p.call(r,{requestId:f,arg:t},{getState:c,extra:l}))),[4,Promise.race([m,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:f,signal:h.signal,abort:d,rejectWithValue:function(t,e){return new Ra(t,e)},fulfillWithValue:function(t,e){return new Ma(t,e)}})).then((function(e){if(e instanceof Ra)throw e;return e instanceof Ma?o(e.payload,f,t,e.meta):o(e,f,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return b=v.sent(),y=b instanceof Ra?i(null,f,t,b.payload,b.meta):i(b,f,t),[3,5];case 5:return r&&!r.dispatchConditionRejection&&i.match(y)&&y.meta.condition||s(y),[2,y]}var O}))},new Promise((function(t,e){var r=function(t){try{n(y.next(t))}catch(t){e(t)}},o=function(t){try{n(y.throw(t))}catch(t){e(t)}},n=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(r,o)};n((y=y.apply(a,p)).next())}));var a,p,y}();return Object.assign(p,{abort:d,requestId:f,arg:t,unwrap:function(){return p.then(ka)}})}}),{pending:n,rejected:i,fulfilled:o,typePrefix:t})}t.withTypes=function(){return t}}();var Da="listenerMiddleware";Na(Da+"/add"),Na(Da+"/removeAll"),Na(Da+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var r=n[t];return r?r.enumerable=e:n[t]=r={configurable:!0,enumerable:e,get:function(){var e=this[Wi];return Ai.get(e,t)},set:function(e){var r=this[Wi];Ai.set(r,t,e)}},r}function e(t){for(var e=t.length-1;e>=0;e--){var n=t[e][Wi];if(!n.P)switch(n.i){case 5:o(n)&&vi(n);break;case 4:r(n)&&vi(n)}}}function r(t){for(var e=t.t,r=t.k,o=Ui(r),n=o.length-1;n>=0;n--){var i=o[n];if(i!==Wi){var a=e[i];if(void 0===a&&!Vn(e,i))return!0;var s=r[i],c=s&&s[Wi];if(c?c.t!==a:!Xn(s,a))return!0}}var l=!!e[Wi];return o.length!==Ui(e).length+(l?0:1)}function o(t){var e=t.k;if(e.length!==t.t.length)return!0;var r=Object.getOwnPropertyDescriptor(e,e.length-1);if(r&&!r.get)return!0;for(var o=0;o<e.length;o++)if(!e.hasOwnProperty(o))return!0;return!1}var n={};!function(t,e){_i[t]||(_i[t]=e)}("ES5",{J:function(e,r){var o=Array.isArray(e),n=function(e,r){if(e){for(var o=Array(r.length),n=0;n<r.length;n++)Object.defineProperty(o,""+n,t(n,!0));return o}var i=Yi(r);delete i[Wi];for(var a=Ui(i),s=0;s<a.length;s++){var c=a[s];i[c]=t(c,e||!!i[c].enumerable)}return Object.create(Object.getPrototypeOf(r),i)}(o,e),i={i:o?5:4,A:r?r.A:si(),P:!1,I:!1,R:{},l:r,t:e,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,Wi,{value:i,writable:!0}),n},S:function(t,r,n){n?Bn(r)&&r[Wi].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var r=e[Wi];if(r){var n=r.t,i=r.k,a=r.R,s=r.i;if(4===s)Gn(i,(function(e){e!==Wi&&(void 0!==n[e]||Vn(n,e)?a[e]||t(i[e]):(a[e]=!0,vi(r)))})),Gn(n,(function(t){void 0!==i[t]||Vn(i,t)||(a[t]=!1,vi(r))}));else if(5===s){if(o(r)&&(vi(r),a.length=!0),i.length<n.length)for(var c=i.length;c<n.length;c++)a[c]=!1;else for(var l=n.length;l<i.length;l++)a[l]=!0;for(var u=Math.min(i.length,n.length),f=0;f<u;f++)i.hasOwnProperty(f)||(a[f]=!0),void 0===a[f]&&t(i[f])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?r(t):o(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Wa{static get(t){var e;const r="string"==typeof t?t:t.name,o="string"==typeof t?void 0:t,n=window.ftReduxStores[r];if(An(n))return n;if(null==o)return;const i=Ca({...o,reducers:null!==(e=o.reducers)&&void 0!==e?e:{}}),a=wa({reducer:(t,e)=>{var r;switch(e.type){case"CLEAR_FT_REDUX_STORE":return i.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(r=e.overwrites)&&void 0!==r?r:{}};default:return i.reducer(t,e)}}});return window.ftReduxStores[o.name]=new Wa(i,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new _n,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,r)=>{const o=e,n=t[o];return n?(...t)=>{const e=n(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[o]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Ia=Object.freeze({__proto__:null,FtCommandQueue:_n,FtLitElementRedux:Zn,FtReduxStore:Wa,clearAllStores:function(){var t;for(let e of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))An(e)&&e.clear()},isFtReduxStore:An,redux:t=>{const e=null!=t?t:{};return(t,r)=>{var o;const n={hasChanged:(t,e)=>!ar(t,e),attribute:!1,...e};Se(n)(t,r);const i=t.constructor;i.reduxProperties=new Map(i.reduxProperties),i.reduxProperties.set(r,{selector:null!==(o=e.selector)&&void 0!==o?o:t=>t[r],store:e.store})}},reduxEventListener:t=>(e,r)=>{const o=e.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,t)},reduxReactive:()=>(t,e)=>{var r;const o=t.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),null===(r=o.reduxReactiveProperties)||void 0===r||r.add(e)}});var Ua=Object.freeze({__proto__:null,serializeRequest:function(t,e){var r;const o=new URLSearchParams({"content-lang":null!==(r=e.contentLocale)&&void 0!==r?r:"all",query:e.query});if(e.filters.length>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");o.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${o.toString()}`).href}});const Ya=Symbol("elementInternals");var _a,Aa,Fa,ja,Ha=Object.freeze({__proto__:null,toFtFormComponent:function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Ya].form}constructor(...t){super(t),this[Ya]=this.attachInternals(),this[Ya].role=e}setFormValue(t){this[Ya].setFormValue(t)}}}});const Pa=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Fa=null===(Aa=null===(_a=window.safari)||void 0===_a?void 0:_a.pushNotification)||void 0===Aa?void 0:Aa.toString())&&void 0!==Fa?Fa:""),$a="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;
177
+ `;var Pn=Object.freeze({__proto__:null,noTextSelect:jn,safariEllipsisFix:Zn,wordWrap:Bn}),Kn=Object.freeze({__proto__:null});var Tn=Object.freeze({__proto__:null,ParametrizedLabelResolver:class{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let n=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>n=n.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),n}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}});class $n{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function Gn(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Vn,qn,Jn;const Xn=Symbol("internalReduxEventsUnsubscribers"),Qn=Symbol("internalStoresUnsubscribers"),ti=Symbol("internalStores");class ei extends kn{constructor(){super(...arguments),this[Vn]=new Map,this[qn]=new Map,this[Jn]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[ti].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ti].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[ti].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Gn(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[ti].delete(e)}setupStore(t,e){this[ti].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ti].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[Qn].has(t.store):this[Qn].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[Qn].set(t,e.subscribe((()=>this.updateFromStores()))),Gn(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[Xn].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Qn].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Xn].forEach((t=>t())),this[Xn]=[]}unsubscribeFromStore(t){this[Qn].has(t)&&this[Qn].get(t)(),this[Qn].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function oi(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ri(t){return!!t&&!!t[Zi]}function ni(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Pi}(t)||Array.isArray(t)||!!t[Bi]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Bi])||ui(t)||fi(t))}function ii(t,e,o){void 0===o&&(o=!1),0===ai(t)?(o?Object.keys:Ki)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function ai(t){var e=t[Zi];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ui(t)?2:fi(t)?3:0}function si(t,e){return 2===ai(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function ci(t,e,o){var r=ai(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function li(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function ui(t){return Ai&&t instanceof Map}function fi(t){return Hi&&t instanceof Set}function hi(t){return t.o||t.t}function di(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Ti(t);delete e[Zi];for(var o=Ki(e),r=0;r<o.length;r++){var n=o[r],i=e[n];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function pi(t,e){return void 0===e&&(e=!1),gi(t)||ri(t)||!ni(t)||(ai(t)>1&&(t.set=t.add=t.clear=t.delete=yi),Object.freeze(t),e&&ii(t,(function(t,e){return pi(e,!0)}),!0)),t}function yi(){oi(2)}function gi(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function mi(t){var e=$i[t];return e||oi(18,t),e}function bi(){return _i}function vi(t,e){e&&(mi("Patches"),t.u=[],t.s=[],t.v=e)}function Oi(t){Si(t),t.p.forEach(xi),t.p=null}function Si(t){t===_i&&(_i=t.l)}function wi(t){return _i={p:[],l:_i,h:t,m:!0,_:0}}function xi(t){var e=t[Zi];0===e.i||1===e.i?e.j():e.g=!0}function Ni(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||mi("ES5").S(e,t,r),r?(o[Zi].P&&(Oi(e),oi(4)),ni(t)&&(t=Ci(e,t),e.l||Ri(e,t)),e.u&&mi("Patches").M(o[Zi].t,t,e.u,e.s)):t=Ci(e,o,[]),Oi(e),e.u&&e.v(e.u,e.s),t!==ji?t:void 0}function Ci(t,e,o){if(gi(e))return e;var r=e[Zi];if(!r)return ii(e,(function(n,i){return Ei(t,r,e,n,i,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return Ri(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=di(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),ii(i,(function(e,i){return Ei(t,r,n,e,i,o,a)})),Ri(t,n,!1),o&&t.u&&mi("Patches").N(r,o,t.u,t.s)}return r.o}function Ei(t,e,o,r,n,i,a){if(ri(n)){var s=Ci(t,n,i&&e&&3!==e.i&&!si(e.R,r)?i.concat(r):void 0);if(ci(o,r,s),!ri(s))return;t.m=!1}else a&&o.add(n);if(ni(n)&&!gi(n)){if(!t.h.D&&t._<1)return;Ci(t,n),e&&e.A.l||Ri(t,n)}}function Ri(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&pi(e,o)}function Ii(t,e){var o=t[Zi];return(o?hi(o):t)[e]}function Mi(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}function Wi(t){t.P||(t.P=!0,t.l&&Wi(t.l))}function Li(t){t.o||(t.o=di(t.t))}function ki(t,e,o){var r=ui(e)?mi("MapSet").F(e,o):fi(e)?mi("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:bi(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},n=r,i=Gi;o&&(n=[r],i=Vi);var a=Proxy.revocable(n,i),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(e,o):mi("ES5").J(e,o);return(o?o.A:bi()).p.push(r),r}function Di(t){return ri(t)||oi(22,t),function t(e){if(!ni(e))return e;var o,r=e[Zi],n=ai(e);if(r){if(!r.P&&(r.i<4||!mi("ES5").K(r)))return r.t;r.I=!0,o=Ui(e,n),r.I=!1}else o=Ui(e,n);return ii(o,(function(e,n){r&&function(t,e){return 2===ai(t)?t.get(e):t[e]}(r.t,e)===n||ci(o,e,t(n))})),3===n?new Set(o):o}(t)}function Ui(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return di(t)}Vn=Qn,qn=ti,Jn=Xn,ei.reduxProperties=new Map,ei.reduxReactiveProperties=new Set,ei.reduxEventListeners=new Map;var Yi,_i,Fi="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ai="undefined"!=typeof Map,Hi="undefined"!=typeof Set,zi="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,ji=Fi?Symbol.for("immer-nothing"):((Yi={})["immer-nothing"]=!0,Yi),Bi=Fi?Symbol.for("immer-draftable"):"__$immer_draftable",Zi=Fi?Symbol.for("immer-state"):"__$immer_state",Pi=""+Object.prototype.constructor,Ki="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Ti=Object.getOwnPropertyDescriptors||function(t){var e={};return Ki(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},$i={},Gi={get:function(t,e){if(e===Zi)return t;var o=hi(t);if(!si(o,e))return function(t,e,o){var r,n=Mi(e,o);return n?"value"in n?n.value:null===(r=n.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!ni(r)?r:r===Ii(t.t,e)?(Li(t),t.o[e]=ki(t.A.h,r,t)):r},has:function(t,e){return e in hi(t)},ownKeys:function(t){return Reflect.ownKeys(hi(t))},set:function(t,e,o){var r=Mi(hi(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var n=Ii(hi(t),e),i=null==n?void 0:n[Zi];if(i&&i.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(li(o,n)&&(void 0!==o||si(t.t,e)))return!0;Li(t),Wi(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==Ii(t.t,e)||e in t.t?(t.R[e]=!1,Li(t),Wi(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=hi(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){oi(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){oi(12)}},Vi={};ii(Gi,(function(t,e){Vi[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Vi.deleteProperty=function(t,e){return Vi.set.call(this,t,e,void 0)},Vi.set=function(t,e,o){return Gi.set.call(this,t[0],e,o,t[0])};var qi=function(){function t(t){var e=this;this.O=zi,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var n=o;o=t;var i=e;return function(t){var e=this;void 0===t&&(t=n);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return i.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&oi(6),void 0!==r&&"function"!=typeof r&&oi(7),ni(t)){var s=wi(e),c=ki(e,t,void 0),l=!0;try{a=o(c),l=!1}finally{l?Oi(s):Si(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return vi(s,r),Ni(t,s)}),(function(t){throw Oi(s),t})):(vi(s,r),Ni(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===ji&&(a=void 0),e.D&&pi(a,!0),r){var u=[],f=[];mi("Patches").M(t,a,u,f),r(u,f)}return a}oi(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(n))}))};var r,n,i=e.produce(t,o,(function(t,e){r=t,n=e}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,r,n]})):[i,r,n]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){ni(t)||oi(8),ri(t)&&(t=Di(t));var e=wi(this),o=ki(this,t,void 0);return o[Zi].C=!0,Si(e),o},e.finishDraft=function(t,e){var o=(t&&t[Zi]).A;return vi(o,e),Ni(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!zi&&oi(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var n=mi("Patches").$;return ri(t)?n(t,e):this.produce(t,(function(t){return n(t,e)}))},t}(),Ji=new qi,Xi=Ji.produce;function Qi(t){return Qi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qi(t)}function ta(t){var e=function(t,e){if("object"!==Qi(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==Qi(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Qi(e)?e:String(e)}function ea(t,e,o){return(e=ta(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function oa(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function ra(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?oa(Object(o),!0).forEach((function(e){ea(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):oa(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function na(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}Ji.produceWithPatches.bind(Ji),Ji.setAutoFreeze.bind(Ji),Ji.setUseProxies.bind(Ji),Ji.applyPatches.bind(Ji),Ji.createDraft.bind(Ji),Ji.finishDraft.bind(Ji);var ia="function"==typeof Symbol&&Symbol.observable||"@@observable",aa=function(){return Math.random().toString(36).substring(7).split("").join(".")},sa={INIT:"@@redux/INIT"+aa(),REPLACE:"@@redux/REPLACE"+aa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+aa()}};function ca(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(na(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(na(1));return o(ca)(t,e)}if("function"!=typeof t)throw new Error(na(2));var n=t,i=e,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function u(){if(c)throw new Error(na(3));return i}function f(t){if("function"!=typeof t)throw new Error(na(4));if(c)throw new Error(na(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(na(6));e=!1,l();var o=s.indexOf(t);s.splice(o,1),a=null}}}function h(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(na(7));if(void 0===t.type)throw new Error(na(8));if(c)throw new Error(na(9));try{c=!0,i=n(i,t)}finally{c=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return h({type:sa.INIT}),(r={dispatch:h,subscribe:f,getState:u,replaceReducer:function(t){if("function"!=typeof t)throw new Error(na(10));n=t,h({type:sa.REPLACE})}})[ia]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(na(11));function o(){t.next&&t.next(u())}return o(),{unsubscribe:e(o)}}})[ia]=function(){return this},t},r}function la(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var n=e[r];"function"==typeof t[n]&&(o[n]=t[n])}var i,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:sa.INIT}))throw new Error(na(12));if(void 0===o(void 0,{type:sa.PROBE_UNKNOWN_ACTION()}))throw new Error(na(13))}))}(o)}catch(t){i=t}return function(t,e){if(void 0===t&&(t={}),i)throw i;for(var r=!1,n={},s=0;s<a.length;s++){var c=a[s],l=o[c],u=t[c],f=l(u,e);if(void 0===f)throw e&&e.type,new Error(na(14));n[c]=f,r=r||f!==u}return(r=r||a.length!==Object.keys(t).length)?n:t}}function ua(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function fa(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(na(15))},n={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=e.map((function(t){return t(n)}));return r=ua.apply(void 0,i)(o.dispatch),ra(ra({},o),{},{dispatch:r})}}}function ha(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(n){return"function"==typeof n?n(o,r,t):e(n)}}}}var da=ha();da.withExtraArgument=ha;var pa,ya=da,ga=(pa=function(t,e){return pa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},pa(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}pa(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),ma=function(t,e){var o,r,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,r&&(n=2&i[0]?r.return:i[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,i[1])).done)return n;switch(r=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t],r=0}finally{o=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},ba=function(t,e){for(var o=0,r=e.length,n=t.length;o<r;o++,n++)t[n]=e[o];return t},va=Object.defineProperty,Oa=Object.defineProperties,Sa=Object.getOwnPropertyDescriptors,wa=Object.getOwnPropertySymbols,xa=Object.prototype.hasOwnProperty,Na=Object.prototype.propertyIsEnumerable,Ca=function(t,e,o){return e in t?va(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Ea=function(t,e){for(var o in e||(e={}))xa.call(e,o)&&Ca(t,o,e[o]);if(wa)for(var r=0,n=wa(e);r<n.length;r++){o=n[r];Na.call(e,o)&&Ca(t,o,e[o])}return t},Ra=function(t,e){return Oa(t,Sa(e))},Ia="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ua:ua.apply(null,arguments)};var Ma=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var n=t.apply(this,o)||this;return Object.setPrototypeOf(n,e.prototype),n}return ga(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,ba([void 0],t[0].concat(this)))):new(e.bind.apply(e,ba([void 0],t.concat(this))))},e}(Array),Wa=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var n=t.apply(this,o)||this;return Object.setPrototypeOf(n,e.prototype),n}return ga(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,ba([void 0],t[0].concat(this)))):new(e.bind.apply(e,ba([void 0],t.concat(this))))},e}(Array);function La(t){return ni(t)?Xi(t,(function(){})):t}function ka(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new Ma;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(ya.withExtraArgument(o.extraArgument)):r.push(ya));return r}(t)}}function Da(t){var e,o=ka(),r=t||{},n=r.reducer,i=void 0===n?void 0:n,a=r.middleware,s=void 0===a?o():a,c=r.devTools,l=void 0===c||c,u=r.preloadedState,f=void 0===u?void 0:u,h=r.enhancers,d=void 0===h?void 0:h;if("function"==typeof i)e=i;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(i))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=la(i)}var p=s;"function"==typeof p&&(p=p(o));var y=fa.apply(void 0,p),g=ua;l&&(g=Ia(Ea({trace:!1},"object"==typeof l&&l)));var m=new Wa(y),b=m;return Array.isArray(d)?b=ba([y],d):"function"==typeof d&&(b=d(m)),ca(e,f,g.apply(void 0,b))}function Ua(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var n=e.apply(void 0,o);if(!n)throw new Error("prepareAction did not return an object");return Ea(Ea({type:t,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Ya(t){var e,o={},r=[],n={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,n},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),n},addDefaultCase:function(t){return e=t,n}};return t(n),[o,r,e]}function _a(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:La(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};function l(){var e="function"==typeof t.extraReducers?Ya(t.extraReducers):[t.extraReducers],o=e[0],n=void 0===o?{}:o,i=e[1],a=void 0===i?[]:i,c=e[2],l=void 0===c?void 0:c,u=Ea(Ea({},n),s);return function(t,e,o,r){void 0===o&&(o=[]);var n,i="function"==typeof e?Ya(e):[e,o,r],a=i[0],s=i[1],c=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return La(t())};else{var l=La(t);n=function(){return l}}function u(t,e){void 0===t&&(t=n());var o=ba([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[c]),o.reduce((function(t,o){if(o){var r;if(ri(t))return void 0===(r=o(t,e))?t:r;if(ni(t))return Xi(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return u.getInitialState=n,u}(r,(function(t){for(var e in u)t.addCase(e,u[e]);for(var o=0,r=a;o<r.length;o++){var n=r[o];t.addMatcher(n.matcher,n.reducer)}l&&t.addDefaultCase(l)}))}return i.forEach((function(t){var o,r,i=n[t],l=e+"/"+t;"reducer"in i?(o=i.reducer,r=i.prepare):o=i,a[t]=o,s[l]=o,c[t]=r?Ua(l,r):Ua(l)})),{name:e,reducer:function(t,e){return o||(o=l()),o(t,e)},actions:c,caseReducers:a,getInitialState:function(){return o||(o=l()),o.getInitialState()}}}var Fa=["name","message","stack","code"],Aa=function(t,e){this.payload=t,this.meta=e},Ha=function(t,e){this.payload=t,this.meta=e},za=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Fa;o<r.length;o++){var n=r[o];"string"==typeof t[n]&&(e[n]=t[n])}return e}return{message:String(t)}};function ja(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=Ua(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:Ra(Ea({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),n=Ua(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Ra(Ea({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),i=Ua(t+"/rejected",(function(t,e,r,n,i){return{payload:n,error:(o&&o.serializeError||za)(t||"Rejected"),meta:Ra(Ea({},i||{}),{arg:r,requestId:e,rejectedWithValue:!!n,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var u,f=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),h=new a;function d(t){u=t,h.abort()}var p=function(){return a=this,p=null,y=function(){var a,p,y,g,m,b;return ma(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:c,extra:l}),null===(O=g)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return m=new Promise((function(t,e){return h.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:u||"Aborted"})}))})),s(n(f,t,null==(p=null==o?void 0:o.getPendingMeta)?void 0:p.call(o,{requestId:f,arg:t},{getState:c,extra:l}))),[4,Promise.race([m,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:f,signal:h.signal,abort:d,rejectWithValue:function(t,e){return new Aa(t,e)},fulfillWithValue:function(t,e){return new Ha(t,e)}})).then((function(e){if(e instanceof Aa)throw e;return e instanceof Ha?r(e.payload,f,t,e.meta):r(e,f,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return b=v.sent(),y=b instanceof Aa?i(null,f,t,b.payload,b.meta):i(b,f,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&i.match(y)&&y.meta.condition||s(y),[2,y]}var O}))},new Promise((function(t,e){var o=function(t){try{n(y.next(t))}catch(t){e(t)}},r=function(t){try{n(y.throw(t))}catch(t){e(t)}},n=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};n((y=y.apply(a,p)).next())}));var a,p,y}();return Object.assign(p,{abort:d,requestId:f,arg:t,unwrap:function(){return p.then(ja)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ba="listenerMiddleware";Ua(Ba+"/add"),Ua(Ba+"/removeAll"),Ua(Ba+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=n[t];return o?o.enumerable=e:n[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Zi];return Gi.get(e,t)},set:function(e){var o=this[Zi];Gi.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var n=t[e][Zi];if(!n.P)switch(n.i){case 5:r(n)&&Wi(n);break;case 4:o(n)&&Wi(n)}}}function o(t){for(var e=t.t,o=t.k,r=Ki(o),n=r.length-1;n>=0;n--){var i=r[n];if(i!==Zi){var a=e[i];if(void 0===a&&!si(e,i))return!0;var s=o[i],c=s&&s[Zi];if(c?c.t!==a:!li(s,a))return!0}}var l=!!e[Zi];return r.length!==Ki(e).length+(l?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var n={};!function(t,e){$i[t]||($i[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),n=function(e,o){if(e){for(var r=Array(o.length),n=0;n<o.length;n++)Object.defineProperty(r,""+n,t(n,!0));return r}var i=Ti(o);delete i[Zi];for(var a=Ki(i),s=0;s<a.length;s++){var c=a[s];i[c]=t(c,e||!!i[c].enumerable)}return Object.create(Object.getPrototypeOf(o),i)}(r,e),i={i:r?5:4,A:o?o.A:bi(),P:!1,I:!1,R:{},l:o,t:e,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,Zi,{value:i,writable:!0}),n},S:function(t,o,n){n?ri(o)&&o[Zi].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Zi];if(o){var n=o.t,i=o.k,a=o.R,s=o.i;if(4===s)ii(i,(function(e){e!==Zi&&(void 0!==n[e]||si(n,e)?a[e]||t(i[e]):(a[e]=!0,Wi(o)))})),ii(n,(function(t){void 0!==i[t]||si(i,t)||(a[t]=!1,Wi(o))}));else if(5===s){if(r(o)&&(Wi(o),a.length=!0),i.length<n.length)for(var c=i.length;c<n.length;c++)a[c]=!1;else for(var l=n.length;l<i.length;l++)a[l]=!0;for(var u=Math.min(i.length,n.length),f=0;f<u;f++)i.hasOwnProperty(f)||(a[f]=!0),void 0===a[f]&&t(i[f])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Za{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,n=window.ftReduxStores[o];if(Gn(n))return n;if(null==r)return;const i=_a({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=Da({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return i.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return i.reducer(t,e)}}});return window.ftReduxStores[r.name]=new Za(i,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new $n,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,n=t[r];return n?(...t)=>{const e=n(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Pa=Object.freeze({__proto__:null,FtCommandQueue:$n,FtLitElementRedux:ei,FtReduxStore:Za,clearAllStores:function(){var t;for(let e of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))Gn(e)&&e.clear()},isFtReduxStore:Gn,redux:t=>{const e=null!=t?t:{};return(t,o)=>{var r;const n={hasChanged:(t,e)=>!ao(t,e),attribute:!1,...e};Se(n)(t,o);const i=t.constructor;i.reduxProperties=new Map(i.reduxProperties),i.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}},reduxEventListener:t=>(e,o)=>{const r=e.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(o,t)},reduxReactive:()=>(t,e)=>{var o;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(o=r.reduxReactiveProperties)||void 0===o||o.add(e)}});var Ka=Object.freeze({__proto__:null,serializeRequest:function(t,e){var o;const r=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all",query:e.query});if(e.filters.length>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");r.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${r.toString()}`).href}});const Ta=Symbol("elementInternals");var $a,Ga,Va,qa,Ja=Object.freeze({__proto__:null,toFtFormComponent:function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Ta].form}constructor(...t){super(t),this[Ta]=this.attachInternals(),this[Ta].role=e}setFormValue(t){this[Ta].setFormValue(t)}}}});const Xa=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Va=null===(Ga=null===($a=window.safari)||void 0===$a?void 0:$a.pushNotification)||void 0===Ga?void 0:Ga.toString())&&void 0!==Va?Va:""),Qa="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;
178
178
  //! moment.js
179
179
  //! version : 2.29.4
180
180
  //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
181
181
  //! license : MIT
182
182
  //! momentjs.com
183
- var Ka,Za;function Ta(){return Ka.apply(null,arguments)}function Ba(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function za(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function Ga(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function qa(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(Ga(t,e))return!1;return!0}function Va(t){return void 0===t}function Ja(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function Xa(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function Qa(t,e){var r,o=[],n=t.length;for(r=0;r<n;++r)o.push(e(t[r],r));return o}function ts(t,e){for(var r in e)Ga(e,r)&&(t[r]=e[r]);return Ga(e,"toString")&&(t.toString=e.toString),Ga(e,"valueOf")&&(t.valueOf=e.valueOf),t}function es(t,e,r,o){return Sl(t,e,r,o,!0).utc()}function rs(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 os(t){if(null==t._isValid){var e=rs(t),r=Za.call(e.parsedDateParts,(function(t){return null!=t})),o=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&r);if(t._strict&&(o=o&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return o;t._isValid=o}return t._isValid}function ns(t){var e=es(NaN);return null!=t?ts(rs(e),t):rs(e).userInvalidated=!0,e}window.ftGlobals=null!==(ja=window.ftGlobals)&&void 0!==ja?ja:{lit:be,litDecorators:Ce,litRepeat:Fe,litClassMap:He,litStyleMap:Ze,litUnsafeHTML:ze,wcUtils:{...Xe,...Je,...tr,...rr,...fr,...oo,...so,...fn,...eo,...wn,...Nn,...sr,...Ln,...In,...Un,...Yn,...Ia,...gn,...Ua,...Ha,isSafari:Pa,isTouchScreen:$a}},Za=Array.prototype.some?Array.prototype.some:function(t){var e,r=Object(this),o=r.length>>>0;for(e=0;e<o;e++)if(e in r&&t.call(this,r[e],e,r))return!0;return!1};var is=Ta.momentProperties=[],as=!1;function ss(t,e){var r,o,n,i=is.length;if(Va(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),Va(e._i)||(t._i=e._i),Va(e._f)||(t._f=e._f),Va(e._l)||(t._l=e._l),Va(e._strict)||(t._strict=e._strict),Va(e._tzm)||(t._tzm=e._tzm),Va(e._isUTC)||(t._isUTC=e._isUTC),Va(e._offset)||(t._offset=e._offset),Va(e._pf)||(t._pf=rs(e)),Va(e._locale)||(t._locale=e._locale),i>0)for(r=0;r<i;r++)Va(n=e[o=is[r]])||(t[o]=n);return t}function cs(t){ss(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===as&&(as=!0,Ta.updateOffset(this),as=!1)}function ls(t){return t instanceof cs||null!=t&&null!=t._isAMomentObject}function us(t){!1===Ta.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function fs(t,e){var r=!0;return ts((function(){if(null!=Ta.deprecationHandler&&Ta.deprecationHandler(null,t),r){var o,n,i,a=[],s=arguments.length;for(n=0;n<s;n++){if(o="","object"==typeof arguments[n]){for(i in o+="\n["+n+"] ",arguments[0])Ga(arguments[0],i)&&(o+=i+": "+arguments[0][i]+", ");o=o.slice(0,-2)}else o=arguments[n];a.push(o)}us(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),r=!1}return e.apply(this,arguments)}),e)}var hs,ds={};function ps(t,e){null!=Ta.deprecationHandler&&Ta.deprecationHandler(t,e),ds[t]||(us(e),ds[t]=!0)}function ys(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function gs(t,e){var r,o=ts({},t);for(r in e)Ga(e,r)&&(za(t[r])&&za(e[r])?(o[r]={},ts(o[r],t[r]),ts(o[r],e[r])):null!=e[r]?o[r]=e[r]:delete o[r]);for(r in t)Ga(t,r)&&!Ga(e,r)&&za(t[r])&&(o[r]=ts({},o[r]));return o}function ms(t){null!=t&&this.set(t)}Ta.suppressDeprecationWarnings=!1,Ta.deprecationHandler=null,hs=Object.keys?Object.keys:function(t){var e,r=[];for(e in t)Ga(t,e)&&r.push(e);return r};function bs(t,e,r){var o=""+Math.abs(t),n=e-o.length;return(t>=0?r?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+o}var vs=/(\[[^\[]*\])|(\\)?([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,Os=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ss={},ws={};function Ns(t,e,r,o){var n=o;"string"==typeof o&&(n=function(){return this[o]()}),t&&(ws[t]=n),e&&(ws[e[0]]=function(){return bs(n.apply(this,arguments),e[1],e[2])}),r&&(ws[r]=function(){return this.localeData().ordinal(n.apply(this,arguments),t)})}function xs(t,e){return t.isValid()?(e=Cs(e,t.localeData()),Ss[e]=Ss[e]||function(t){var e,r,o,n=t.match(vs);for(e=0,r=n.length;e<r;e++)ws[n[e]]?n[e]=ws[n[e]]:n[e]=(o=n[e]).match(/\[[\s\S]/)?o.replace(/^\[|\]$/g,""):o.replace(/\\/g,"");return function(e){var o,i="";for(o=0;o<r;o++)i+=ys(n[o])?n[o].call(e,t):n[o];return i}}(e),Ss[e](t)):t.localeData().invalidDate()}function Cs(t,e){var r=5;function o(t){return e.longDateFormat(t)||t}for(Os.lastIndex=0;r>=0&&Os.test(t);)t=t.replace(Os,o),Os.lastIndex=0,r-=1;return t}var Es={};function Rs(t,e){var r=t.toLowerCase();Es[r]=Es[r+"s"]=Es[e]=t}function Ms(t){return"string"==typeof t?Es[t]||Es[t.toLowerCase()]:void 0}function Ls(t){var e,r,o={};for(r in t)Ga(t,r)&&(e=Ms(r))&&(o[e]=t[r]);return o}var ks={};function Ds(t,e){ks[t]=e}function Ws(t){return t%4==0&&t%100!=0||t%400==0}function Is(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function Us(t){var e=+t,r=0;return 0!==e&&isFinite(e)&&(r=Is(e)),r}function Ys(t,e){return function(r){return null!=r?(As(this,t,r),Ta.updateOffset(this,e),this):_s(this,t)}}function _s(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function As(t,e,r){t.isValid()&&!isNaN(r)&&("FullYear"===e&&Ws(t.year())&&1===t.month()&&29===t.date()?(r=Us(r),t._d["set"+(t._isUTC?"UTC":"")+e](r,t.month(),bc(r,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](r))}var Fs,js=/\d/,Hs=/\d\d/,Ps=/\d{3}/,$s=/\d{4}/,Ks=/[+-]?\d{6}/,Zs=/\d\d?/,Ts=/\d\d\d\d?/,Bs=/\d\d\d\d\d\d?/,zs=/\d{1,3}/,Gs=/\d{1,4}/,qs=/[+-]?\d{1,6}/,Vs=/\d+/,Js=/[+-]?\d+/,Xs=/Z|[+-]\d\d:?\d\d/gi,Qs=/Z|[+-]\d\d(?::?\d\d)?/gi,tc=/[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 ec(t,e,r){Fs[t]=ys(e)?e:function(t,o){return t&&r?r:e}}function rc(t,e){return Ga(Fs,t)?Fs[t](e._strict,e._locale):new RegExp(function(t){return oc(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,r,o,n){return e||r||o||n})))}(t))}function oc(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Fs={};var nc={};function ic(t,e){var r,o,n=e;for("string"==typeof t&&(t=[t]),Ja(e)&&(n=function(t,r){r[e]=Us(t)}),o=t.length,r=0;r<o;r++)nc[t[r]]=n}function ac(t,e){ic(t,(function(t,r,o,n){o._w=o._w||{},e(t,o._w,o,n)}))}function sc(t,e,r){null!=e&&Ga(nc,t)&&nc[t](e,r._a,r,t)}var cc,lc=0,uc=1,fc=2,hc=3,dc=4,pc=5,yc=6,gc=7,mc=8;function bc(t,e){if(isNaN(t)||isNaN(e))return NaN;var r=function(t,e){return(t%e+e)%e}(e,12);return t+=(e-r)/12,1===r?Ws(t)?29:28:31-r%7%2}cc=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},Ns("M",["MM",2],"Mo",(function(){return this.month()+1})),Ns("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),Ns("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),Rs("month","M"),Ds("month",8),ec("M",Zs),ec("MM",Zs,Hs),ec("MMM",(function(t,e){return e.monthsShortRegex(t)})),ec("MMMM",(function(t,e){return e.monthsRegex(t)})),ic(["M","MM"],(function(t,e){e[uc]=Us(t)-1})),ic(["MMM","MMMM"],(function(t,e,r,o){var n=r._locale.monthsParse(t,o,r._strict);null!=n?e[uc]=n:rs(r).invalidMonth=t}));var vc="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Oc="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Sc=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,wc=tc,Nc=tc;function xc(t,e,r){var o,n,i,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],o=0;o<12;++o)i=es([2e3,o]),this._shortMonthsParse[o]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[o]=this.months(i,"").toLocaleLowerCase();return r?"MMM"===e?-1!==(n=cc.call(this._shortMonthsParse,a))?n:null:-1!==(n=cc.call(this._longMonthsParse,a))?n:null:"MMM"===e?-1!==(n=cc.call(this._shortMonthsParse,a))||-1!==(n=cc.call(this._longMonthsParse,a))?n:null:-1!==(n=cc.call(this._longMonthsParse,a))||-1!==(n=cc.call(this._shortMonthsParse,a))?n:null}function Cc(t,e){var r;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=Us(e);else if(!Ja(e=t.localeData().monthsParse(e)))return t;return r=Math.min(t.date(),bc(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,r),t}function Ec(t){return null!=t?(Cc(this,t),Ta.updateOffset(this,!0),this):_s(this,"Month")}function Rc(){function t(t,e){return e.length-t.length}var e,r,o=[],n=[],i=[];for(e=0;e<12;e++)r=es([2e3,e]),o.push(this.monthsShort(r,"")),n.push(this.months(r,"")),i.push(this.months(r,"")),i.push(this.monthsShort(r,""));for(o.sort(t),n.sort(t),i.sort(t),e=0;e<12;e++)o[e]=oc(o[e]),n[e]=oc(n[e]);for(e=0;e<24;e++)i[e]=oc(i[e]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Mc(t){return Ws(t)?366:365}Ns("Y",0,0,(function(){var t=this.year();return t<=9999?bs(t,4):"+"+t})),Ns(0,["YY",2],0,(function(){return this.year()%100})),Ns(0,["YYYY",4],0,"year"),Ns(0,["YYYYY",5],0,"year"),Ns(0,["YYYYYY",6,!0],0,"year"),Rs("year","y"),Ds("year",1),ec("Y",Js),ec("YY",Zs,Hs),ec("YYYY",Gs,$s),ec("YYYYY",qs,Ks),ec("YYYYYY",qs,Ks),ic(["YYYYY","YYYYYY"],lc),ic("YYYY",(function(t,e){e[lc]=2===t.length?Ta.parseTwoDigitYear(t):Us(t)})),ic("YY",(function(t,e){e[lc]=Ta.parseTwoDigitYear(t)})),ic("Y",(function(t,e){e[lc]=parseInt(t,10)})),Ta.parseTwoDigitYear=function(t){return Us(t)+(Us(t)>68?1900:2e3)};var Lc=Ys("FullYear",!0);function kc(t,e,r,o,n,i,a){var s;return t<100&&t>=0?(s=new Date(t+400,e,r,o,n,i,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,r,o,n,i,a),s}function Dc(t){var e,r;return t<100&&t>=0?((r=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,r)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Wc(t,e,r){var o=7+e-r;return-((7+Dc(t,0,o).getUTCDay()-e)%7)+o-1}function Ic(t,e,r,o,n){var i,a,s=1+7*(e-1)+(7+r-o)%7+Wc(t,o,n);return s<=0?a=Mc(i=t-1)+s:s>Mc(t)?(i=t+1,a=s-Mc(t)):(i=t,a=s),{year:i,dayOfYear:a}}function Uc(t,e,r){var o,n,i=Wc(t.year(),e,r),a=Math.floor((t.dayOfYear()-i-1)/7)+1;return a<1?o=a+Yc(n=t.year()-1,e,r):a>Yc(t.year(),e,r)?(o=a-Yc(t.year(),e,r),n=t.year()+1):(n=t.year(),o=a),{week:o,year:n}}function Yc(t,e,r){var o=Wc(t,e,r),n=Wc(t+1,e,r);return(Mc(t)-o+n)/7}Ns("w",["ww",2],"wo","week"),Ns("W",["WW",2],"Wo","isoWeek"),Rs("week","w"),Rs("isoWeek","W"),Ds("week",5),Ds("isoWeek",5),ec("w",Zs),ec("ww",Zs,Hs),ec("W",Zs),ec("WW",Zs,Hs),ac(["w","ww","W","WW"],(function(t,e,r,o){e[o.substr(0,1)]=Us(t)}));function _c(t,e){return t.slice(e,7).concat(t.slice(0,e))}Ns("d",0,"do","day"),Ns("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),Ns("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),Ns("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),Ns("e",0,0,"weekday"),Ns("E",0,0,"isoWeekday"),Rs("day","d"),Rs("weekday","e"),Rs("isoWeekday","E"),Ds("day",11),Ds("weekday",11),Ds("isoWeekday",11),ec("d",Zs),ec("e",Zs),ec("E",Zs),ec("dd",(function(t,e){return e.weekdaysMinRegex(t)})),ec("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),ec("dddd",(function(t,e){return e.weekdaysRegex(t)})),ac(["dd","ddd","dddd"],(function(t,e,r,o){var n=r._locale.weekdaysParse(t,o,r._strict);null!=n?e.d=n:rs(r).invalidWeekday=t})),ac(["d","e","E"],(function(t,e,r,o){e[o]=Us(t)}));var Ac="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Fc="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),jc="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Hc=tc,Pc=tc,$c=tc;function Kc(t,e,r){var o,n,i,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)i=es([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(i,"").toLocaleLowerCase();return r?"dddd"===e?-1!==(n=cc.call(this._weekdaysParse,a))?n:null:"ddd"===e?-1!==(n=cc.call(this._shortWeekdaysParse,a))?n:null:-1!==(n=cc.call(this._minWeekdaysParse,a))?n:null:"dddd"===e?-1!==(n=cc.call(this._weekdaysParse,a))||-1!==(n=cc.call(this._shortWeekdaysParse,a))||-1!==(n=cc.call(this._minWeekdaysParse,a))?n:null:"ddd"===e?-1!==(n=cc.call(this._shortWeekdaysParse,a))||-1!==(n=cc.call(this._weekdaysParse,a))||-1!==(n=cc.call(this._minWeekdaysParse,a))?n:null:-1!==(n=cc.call(this._minWeekdaysParse,a))||-1!==(n=cc.call(this._weekdaysParse,a))||-1!==(n=cc.call(this._shortWeekdaysParse,a))?n:null}function Zc(){function t(t,e){return e.length-t.length}var e,r,o,n,i,a=[],s=[],c=[],l=[];for(e=0;e<7;e++)r=es([2e3,1]).day(e),o=oc(this.weekdaysMin(r,"")),n=oc(this.weekdaysShort(r,"")),i=oc(this.weekdays(r,"")),a.push(o),s.push(n),c.push(i),l.push(o),l.push(n),l.push(i);a.sort(t),s.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("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Tc(){return this.hours()%12||12}function Bc(t,e){Ns(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function zc(t,e){return e._meridiemParse}Ns("H",["HH",2],0,"hour"),Ns("h",["hh",2],0,Tc),Ns("k",["kk",2],0,(function(){return this.hours()||24})),Ns("hmm",0,0,(function(){return""+Tc.apply(this)+bs(this.minutes(),2)})),Ns("hmmss",0,0,(function(){return""+Tc.apply(this)+bs(this.minutes(),2)+bs(this.seconds(),2)})),Ns("Hmm",0,0,(function(){return""+this.hours()+bs(this.minutes(),2)})),Ns("Hmmss",0,0,(function(){return""+this.hours()+bs(this.minutes(),2)+bs(this.seconds(),2)})),Bc("a",!0),Bc("A",!1),Rs("hour","h"),Ds("hour",13),ec("a",zc),ec("A",zc),ec("H",Zs),ec("h",Zs),ec("k",Zs),ec("HH",Zs,Hs),ec("hh",Zs,Hs),ec("kk",Zs,Hs),ec("hmm",Ts),ec("hmmss",Bs),ec("Hmm",Ts),ec("Hmmss",Bs),ic(["H","HH"],hc),ic(["k","kk"],(function(t,e,r){var o=Us(t);e[hc]=24===o?0:o})),ic(["a","A"],(function(t,e,r){r._isPm=r._locale.isPM(t),r._meridiem=t})),ic(["h","hh"],(function(t,e,r){e[hc]=Us(t),rs(r).bigHour=!0})),ic("hmm",(function(t,e,r){var o=t.length-2;e[hc]=Us(t.substr(0,o)),e[dc]=Us(t.substr(o)),rs(r).bigHour=!0})),ic("hmmss",(function(t,e,r){var o=t.length-4,n=t.length-2;e[hc]=Us(t.substr(0,o)),e[dc]=Us(t.substr(o,2)),e[pc]=Us(t.substr(n)),rs(r).bigHour=!0})),ic("Hmm",(function(t,e,r){var o=t.length-2;e[hc]=Us(t.substr(0,o)),e[dc]=Us(t.substr(o))})),ic("Hmmss",(function(t,e,r){var o=t.length-4,n=t.length-2;e[hc]=Us(t.substr(0,o)),e[dc]=Us(t.substr(o,2)),e[pc]=Us(t.substr(n))}));var Gc=Ys("Hours",!0);var qc,Vc={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:vc,monthsShort:Oc,week:{dow:0,doy:6},weekdays:Ac,weekdaysMin:jc,weekdaysShort:Fc,meridiemParse:/[ap]\.?m?\.?/i},Jc={},Xc={};function Qc(t,e){var r,o=Math.min(t.length,e.length);for(r=0;r<o;r+=1)if(t[r]!==e[r])return r;return o}function tl(t){return t?t.toLowerCase().replace("_","-"):t}function el(t){var e=null;if(void 0===Jc[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(t))try{e=qc._abbr,require("./locale/"+t),rl(e)}catch(e){Jc[t]=null}return Jc[t]}function rl(t,e){var r;return t&&((r=Va(e)?nl(t):ol(t,e))?qc=r:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),qc._abbr}function ol(t,e){if(null!==e){var r,o=Vc;if(e.abbr=t,null!=Jc[t])ps("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."),o=Jc[t]._config;else if(null!=e.parentLocale)if(null!=Jc[e.parentLocale])o=Jc[e.parentLocale]._config;else{if(null==(r=el(e.parentLocale)))return Xc[e.parentLocale]||(Xc[e.parentLocale]=[]),Xc[e.parentLocale].push({name:t,config:e}),null;o=r._config}return Jc[t]=new ms(gs(o,e)),Xc[t]&&Xc[t].forEach((function(t){ol(t.name,t.config)})),rl(t),Jc[t]}return delete Jc[t],null}function nl(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return qc;if(!Ba(t)){if(e=el(t))return e;t=[t]}return function(t){for(var e,r,o,n,i=0;i<t.length;){for(e=(n=tl(t[i]).split("-")).length,r=(r=tl(t[i+1]))?r.split("-"):null;e>0;){if(o=el(n.slice(0,e).join("-")))return o;if(r&&r.length>=e&&Qc(n,r)>=e-1)break;e--}i++}return qc}(t)}function il(t){var e,r=t._a;return r&&-2===rs(t).overflow&&(e=r[uc]<0||r[uc]>11?uc:r[fc]<1||r[fc]>bc(r[lc],r[uc])?fc:r[hc]<0||r[hc]>24||24===r[hc]&&(0!==r[dc]||0!==r[pc]||0!==r[yc])?hc:r[dc]<0||r[dc]>59?dc:r[pc]<0||r[pc]>59?pc:r[yc]<0||r[yc]>999?yc:-1,rs(t)._overflowDayOfYear&&(e<lc||e>fc)&&(e=fc),rs(t)._overflowWeeks&&-1===e&&(e=gc),rs(t)._overflowWeekday&&-1===e&&(e=mc),rs(t).overflow=e),t}var al=/^\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)?)?$/,sl=/^\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)?)?$/,cl=/Z|[+-]\d\d(?::?\d\d)?/,ll=[["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]],ul=[["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/]],fl=/^\/?Date\((-?\d+)/i,hl=/^(?:(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}))$/,dl={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function pl(t){var e,r,o,n,i,a,s=t._i,c=al.exec(s)||sl.exec(s),l=ll.length,u=ul.length;if(c){for(rs(t).iso=!0,e=0,r=l;e<r;e++)if(ll[e][1].exec(c[1])){n=ll[e][0],o=!1!==ll[e][2];break}if(null==n)return void(t._isValid=!1);if(c[3]){for(e=0,r=u;e<r;e++)if(ul[e][1].exec(c[3])){i=(c[2]||" ")+ul[e][0];break}if(null==i)return void(t._isValid=!1)}if(!o&&null!=i)return void(t._isValid=!1);if(c[4]){if(!cl.exec(c[4]))return void(t._isValid=!1);a="Z"}t._f=n+(i||"")+(a||""),vl(t)}else t._isValid=!1}function yl(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function gl(t){var e,r,o,n,i,a,s,c,l=hl.exec(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(t._i));if(l){if(r=l[4],o=l[3],n=l[2],i=l[5],a=l[6],s=l[7],c=[yl(r),Oc.indexOf(o),parseInt(n,10),parseInt(i,10),parseInt(a,10)],s&&c.push(parseInt(s,10)),e=c,!function(t,e,r){return!t||Fc.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(rs(r).weekdayMismatch=!0,r._isValid=!1,!1)}(l[1],e,t))return;t._a=e,t._tzm=function(t,e,r){if(t)return dl[t];if(e)return 0;var o=parseInt(r,10),n=o%100;return(o-n)/100*60+n}(l[8],l[9],l[10]),t._d=Dc.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),rs(t).rfc2822=!0}else t._isValid=!1}function ml(t,e,r){return null!=t?t:null!=e?e:r}function bl(t){var e,r,o,n,i,a=[];if(!t._d){for(o=function(t){var e=new Date(Ta.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[fc]&&null==t._a[uc]&&function(t){var e,r,o,n,i,a,s,c,l;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(i=1,a=4,r=ml(e.GG,t._a[lc],Uc(wl(),1,4).year),o=ml(e.W,1),((n=ml(e.E,1))<1||n>7)&&(c=!0)):(i=t._locale._week.dow,a=t._locale._week.doy,l=Uc(wl(),i,a),r=ml(e.gg,t._a[lc],l.year),o=ml(e.w,l.week),null!=e.d?((n=e.d)<0||n>6)&&(c=!0):null!=e.e?(n=e.e+i,(e.e<0||e.e>6)&&(c=!0)):n=i);o<1||o>Yc(r,i,a)?rs(t)._overflowWeeks=!0:null!=c?rs(t)._overflowWeekday=!0:(s=Ic(r,o,n,i,a),t._a[lc]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(i=ml(t._a[lc],o[lc]),(t._dayOfYear>Mc(i)||0===t._dayOfYear)&&(rs(t)._overflowDayOfYear=!0),r=Dc(i,0,t._dayOfYear),t._a[uc]=r.getUTCMonth(),t._a[fc]=r.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=o[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[hc]&&0===t._a[dc]&&0===t._a[pc]&&0===t._a[yc]&&(t._nextDay=!0,t._a[hc]=0),t._d=(t._useUTC?Dc:kc).apply(null,a),n=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[hc]=24),t._w&&void 0!==t._w.d&&t._w.d!==n&&(rs(t).weekdayMismatch=!0)}}function vl(t){if(t._f!==Ta.ISO_8601)if(t._f!==Ta.RFC_2822){t._a=[],rs(t).empty=!0;var e,r,o,n,i,a,s,c=""+t._i,l=c.length,u=0;for(s=(o=Cs(t._f,t._locale).match(vs)||[]).length,e=0;e<s;e++)n=o[e],(r=(c.match(rc(n,t))||[])[0])&&((i=c.substr(0,c.indexOf(r))).length>0&&rs(t).unusedInput.push(i),c=c.slice(c.indexOf(r)+r.length),u+=r.length),ws[n]?(r?rs(t).empty=!1:rs(t).unusedTokens.push(n),sc(n,r,t)):t._strict&&!r&&rs(t).unusedTokens.push(n);rs(t).charsLeftOver=l-u,c.length>0&&rs(t).unusedInput.push(c),t._a[hc]<=12&&!0===rs(t).bigHour&&t._a[hc]>0&&(rs(t).bigHour=void 0),rs(t).parsedDateParts=t._a.slice(0),rs(t).meridiem=t._meridiem,t._a[hc]=function(t,e,r){var o;if(null==r)return e;return null!=t.meridiemHour?t.meridiemHour(e,r):null!=t.isPM?((o=t.isPM(r))&&e<12&&(e+=12),o||12!==e||(e=0),e):e}(t._locale,t._a[hc],t._meridiem),null!==(a=rs(t).era)&&(t._a[lc]=t._locale.erasConvertYear(a,t._a[lc])),bl(t),il(t)}else gl(t);else pl(t)}function Ol(t){var e=t._i,r=t._f;return t._locale=t._locale||nl(t._l),null===e||void 0===r&&""===e?ns({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),ls(e)?new cs(il(e)):(Xa(e)?t._d=e:Ba(r)?function(t){var e,r,o,n,i,a,s=!1,c=t._f.length;if(0===c)return rs(t).invalidFormat=!0,void(t._d=new Date(NaN));for(n=0;n<c;n++)i=0,a=!1,e=ss({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[n],vl(e),os(e)&&(a=!0),i+=rs(e).charsLeftOver,i+=10*rs(e).unusedTokens.length,rs(e).score=i,s?i<o&&(o=i,r=e):(null==o||i<o||a)&&(o=i,r=e,a&&(s=!0));ts(t,r||e)}(t):r?vl(t):function(t){var e=t._i;Va(e)?t._d=new Date(Ta.now()):Xa(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=fl.exec(t._i);null===e?(pl(t),!1===t._isValid&&(delete t._isValid,gl(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:Ta.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):Ba(e)?(t._a=Qa(e.slice(0),(function(t){return parseInt(t,10)})),bl(t)):za(e)?function(t){if(!t._d){var e=Ls(t._i),r=void 0===e.day?e.date:e.day;t._a=Qa([e.year,e.month,r,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),bl(t)}}(t):Ja(e)?t._d=new Date(e):Ta.createFromInputFallback(t)}(t),os(t)||(t._d=null),t))}function Sl(t,e,r,o,n){var i,a={};return!0!==e&&!1!==e||(o=e,e=void 0),!0!==r&&!1!==r||(o=r,r=void 0),(za(t)&&qa(t)||Ba(t)&&0===t.length)&&(t=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=n,a._l=r,a._i=t,a._f=e,a._strict=o,(i=new cs(il(Ol(a))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function wl(t,e,r,o){return Sl(t,e,r,o,!1)}Ta.createFromInputFallback=fs("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":""))})),Ta.ISO_8601=function(){},Ta.RFC_2822=function(){};var Nl=fs("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=wl.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:ns()})),xl=fs("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=wl.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:ns()}));function Cl(t,e){var r,o;if(1===e.length&&Ba(e[0])&&(e=e[0]),!e.length)return wl();for(r=e[0],o=1;o<e.length;++o)e[o].isValid()&&!e[o][t](r)||(r=e[o]);return r}var El=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Rl(t){var e=Ls(t),r=e.year||0,o=e.quarter||0,n=e.month||0,i=e.week||e.isoWeek||0,a=e.day||0,s=e.hour||0,c=e.minute||0,l=e.second||0,u=e.millisecond||0;this._isValid=function(t){var e,r,o=!1,n=El.length;for(e in t)if(Ga(t,e)&&(-1===cc.call(El,e)||null!=t[e]&&isNaN(t[e])))return!1;for(r=0;r<n;++r)if(t[El[r]]){if(o)return!1;parseFloat(t[El[r]])!==Us(t[El[r]])&&(o=!0)}return!0}(e),this._milliseconds=+u+1e3*l+6e4*c+1e3*s*60*60,this._days=+a+7*i,this._months=+n+3*o+12*r,this._data={},this._locale=nl(),this._bubble()}function Ml(t){return t instanceof Rl}function Ll(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function kl(t,e){Ns(t,0,0,(function(){var t=this.utcOffset(),r="+";return t<0&&(t=-t,r="-"),r+bs(~~(t/60),2)+e+bs(~~t%60,2)}))}kl("Z",":"),kl("ZZ",""),ec("Z",Qs),ec("ZZ",Qs),ic(["Z","ZZ"],(function(t,e,r){r._useUTC=!0,r._tzm=Wl(Qs,t)}));var Dl=/([\+\-]|\d\d)/gi;function Wl(t,e){var r,o,n=(e||"").match(t);return null===n?null:0===(o=60*(r=((n[n.length-1]||[])+"").match(Dl)||["-",0,0])[1]+Us(r[2]))?0:"+"===r[0]?o:-o}function Il(t,e){var r,o;return e._isUTC?(r=e.clone(),o=(ls(t)||Xa(t)?t.valueOf():wl(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+o),Ta.updateOffset(r,!1),r):wl(t).local()}function Ul(t){return-Math.round(t._d.getTimezoneOffset())}function Yl(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}Ta.updateOffset=function(){};var _l=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Al=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Fl(t,e){var r,o,n,i=t,a=null;return Ml(t)?i={ms:t._milliseconds,d:t._days,M:t._months}:Ja(t)||!isNaN(+t)?(i={},e?i[e]=+t:i.milliseconds=+t):(a=_l.exec(t))?(r="-"===a[1]?-1:1,i={y:0,d:Us(a[fc])*r,h:Us(a[hc])*r,m:Us(a[dc])*r,s:Us(a[pc])*r,ms:Us(Ll(1e3*a[yc]))*r}):(a=Al.exec(t))?(r="-"===a[1]?-1:1,i={y:jl(a[2],r),M:jl(a[3],r),w:jl(a[4],r),d:jl(a[5],r),h:jl(a[6],r),m:jl(a[7],r),s:jl(a[8],r)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(n=function(t,e){var r;if(!t.isValid()||!e.isValid())return{milliseconds:0,months:0};e=Il(e,t),t.isBefore(e)?r=Hl(t,e):((r=Hl(e,t)).milliseconds=-r.milliseconds,r.months=-r.months);return r}(wl(i.from),wl(i.to)),(i={}).ms=n.milliseconds,i.M=n.months),o=new Rl(i),Ml(t)&&Ga(t,"_locale")&&(o._locale=t._locale),Ml(t)&&Ga(t,"_isValid")&&(o._isValid=t._isValid),o}function jl(t,e){var r=t&&parseFloat(t.replace(",","."));return(isNaN(r)?0:r)*e}function Hl(t,e){var r={};return r.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(r.months,"M").isAfter(e)&&--r.months,r.milliseconds=+e-+t.clone().add(r.months,"M"),r}function Pl(t,e){return function(r,o){var n;return null===o||isNaN(+o)||(ps(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=r,r=o,o=n),$l(this,Fl(r,o),t),this}}function $l(t,e,r,o){var n=e._milliseconds,i=Ll(e._days),a=Ll(e._months);t.isValid()&&(o=null==o||o,a&&Cc(t,_s(t,"Month")+a*r),i&&As(t,"Date",_s(t,"Date")+i*r),n&&t._d.setTime(t._d.valueOf()+n*r),o&&Ta.updateOffset(t,i||a))}Fl.fn=Rl.prototype,Fl.invalid=function(){return Fl(NaN)};var Kl=Pl(1,"add"),Zl=Pl(-1,"subtract");function Tl(t){return"string"==typeof t||t instanceof String}function Bl(t){return ls(t)||Xa(t)||Tl(t)||Ja(t)||function(t){var e=Ba(t),r=!1;e&&(r=0===t.filter((function(e){return!Ja(e)&&Tl(t)})).length);return e&&r}(t)||function(t){var e,r,o=za(t)&&!qa(t),n=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=i.length;for(e=0;e<a;e+=1)r=i[e],n=n||Ga(t,r);return o&&n}(t)||null==t}function zl(t,e){if(t.date()<e.date())return-zl(e,t);var r=12*(e.year()-t.year())+(e.month()-t.month()),o=t.clone().add(r,"months");return-(r+(e-o<0?(e-o)/(o-t.clone().add(r-1,"months")):(e-o)/(t.clone().add(r+1,"months")-o)))||0}function Gl(t){var e;return void 0===t?this._locale._abbr:(null!=(e=nl(t))&&(this._locale=e),this)}Ta.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",Ta.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ql=fs("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 Vl(){return this._locale}var Jl=1e3,Xl=6e4,Ql=36e5,tu=126227808e5;function eu(t,e){return(t%e+e)%e}function ru(t,e,r){return t<100&&t>=0?new Date(t+400,e,r)-tu:new Date(t,e,r).valueOf()}function ou(t,e,r){return t<100&&t>=0?Date.UTC(t+400,e,r)-tu:Date.UTC(t,e,r)}function nu(t,e){return e.erasAbbrRegex(t)}function iu(){var t,e,r=[],o=[],n=[],i=[],a=this.eras();for(t=0,e=a.length;t<e;++t)o.push(oc(a[t].name)),r.push(oc(a[t].abbr)),n.push(oc(a[t].narrow)),i.push(oc(a[t].name)),i.push(oc(a[t].abbr)),i.push(oc(a[t].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+o.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function au(t,e){Ns(0,[t,t.length],0,e)}function su(t,e,r,o,n){var i;return null==t?Uc(this,o,n).year:(e>(i=Yc(t,o,n))&&(e=i),cu.call(this,t,e,r,o,n))}function cu(t,e,r,o,n){var i=Ic(t,e,r,o,n),a=Dc(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}Ns("N",0,0,"eraAbbr"),Ns("NN",0,0,"eraAbbr"),Ns("NNN",0,0,"eraAbbr"),Ns("NNNN",0,0,"eraName"),Ns("NNNNN",0,0,"eraNarrow"),Ns("y",["y",1],"yo","eraYear"),Ns("y",["yy",2],0,"eraYear"),Ns("y",["yyy",3],0,"eraYear"),Ns("y",["yyyy",4],0,"eraYear"),ec("N",nu),ec("NN",nu),ec("NNN",nu),ec("NNNN",(function(t,e){return e.erasNameRegex(t)})),ec("NNNNN",(function(t,e){return e.erasNarrowRegex(t)})),ic(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,r,o){var n=r._locale.erasParse(t,o,r._strict);n?rs(r).era=n:rs(r).invalidEra=t})),ec("y",Vs),ec("yy",Vs),ec("yyy",Vs),ec("yyyy",Vs),ec("yo",(function(t,e){return e._eraYearOrdinalRegex||Vs})),ic(["y","yy","yyy","yyyy"],lc),ic(["yo"],(function(t,e,r,o){var n;r._locale._eraYearOrdinalRegex&&(n=t.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?e[lc]=r._locale.eraYearOrdinalParse(t,n):e[lc]=parseInt(t,10)})),Ns(0,["gg",2],0,(function(){return this.weekYear()%100})),Ns(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),au("gggg","weekYear"),au("ggggg","weekYear"),au("GGGG","isoWeekYear"),au("GGGGG","isoWeekYear"),Rs("weekYear","gg"),Rs("isoWeekYear","GG"),Ds("weekYear",1),Ds("isoWeekYear",1),ec("G",Js),ec("g",Js),ec("GG",Zs,Hs),ec("gg",Zs,Hs),ec("GGGG",Gs,$s),ec("gggg",Gs,$s),ec("GGGGG",qs,Ks),ec("ggggg",qs,Ks),ac(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,r,o){e[o.substr(0,2)]=Us(t)})),ac(["gg","GG"],(function(t,e,r,o){e[o]=Ta.parseTwoDigitYear(t)})),Ns("Q",0,"Qo","quarter"),Rs("quarter","Q"),Ds("quarter",7),ec("Q",js),ic("Q",(function(t,e){e[uc]=3*(Us(t)-1)})),Ns("D",["DD",2],"Do","date"),Rs("date","D"),Ds("date",9),ec("D",Zs),ec("DD",Zs,Hs),ec("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),ic(["D","DD"],fc),ic("Do",(function(t,e){e[fc]=Us(t.match(Zs)[0])}));var lu=Ys("Date",!0);Ns("DDD",["DDDD",3],"DDDo","dayOfYear"),Rs("dayOfYear","DDD"),Ds("dayOfYear",4),ec("DDD",zs),ec("DDDD",Ps),ic(["DDD","DDDD"],(function(t,e,r){r._dayOfYear=Us(t)})),Ns("m",["mm",2],0,"minute"),Rs("minute","m"),Ds("minute",14),ec("m",Zs),ec("mm",Zs,Hs),ic(["m","mm"],dc);var uu=Ys("Minutes",!1);Ns("s",["ss",2],0,"second"),Rs("second","s"),Ds("second",15),ec("s",Zs),ec("ss",Zs,Hs),ic(["s","ss"],pc);var fu,hu,du=Ys("Seconds",!1);for(Ns("S",0,0,(function(){return~~(this.millisecond()/100)})),Ns(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),Ns(0,["SSS",3],0,"millisecond"),Ns(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),Ns(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),Ns(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),Ns(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),Ns(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),Ns(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),Rs("millisecond","ms"),Ds("millisecond",16),ec("S",zs,js),ec("SS",zs,Hs),ec("SSS",zs,Ps),fu="SSSS";fu.length<=9;fu+="S")ec(fu,Vs);function pu(t,e){e[yc]=Us(1e3*("0."+t))}for(fu="S";fu.length<=9;fu+="S")ic(fu,pu);hu=Ys("Milliseconds",!1),Ns("z",0,0,"zoneAbbr"),Ns("zz",0,0,"zoneName");var yu=cs.prototype;function gu(t){return t}yu.add=Kl,yu.calendar=function(t,e){1===arguments.length&&(arguments[0]?Bl(arguments[0])?(t=arguments[0],e=void 0):function(t){var e,r=za(t)&&!qa(t),o=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<n.length;e+=1)o=o||Ga(t,n[e]);return r&&o}(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var r=t||wl(),o=Il(r,this).startOf("day"),n=Ta.calendarFormat(this,o)||"sameElse",i=e&&(ys(e[n])?e[n].call(this,r):e[n]);return this.format(i||this.localeData().calendar(n,this,wl(r)))},yu.clone=function(){return new cs(this)},yu.diff=function(t,e,r){var o,n,i;if(!this.isValid())return NaN;if(!(o=Il(t,this)).isValid())return NaN;switch(n=6e4*(o.utcOffset()-this.utcOffset()),e=Ms(e)){case"year":i=zl(this,o)/12;break;case"month":i=zl(this,o);break;case"quarter":i=zl(this,o)/3;break;case"second":i=(this-o)/1e3;break;case"minute":i=(this-o)/6e4;break;case"hour":i=(this-o)/36e5;break;case"day":i=(this-o-n)/864e5;break;case"week":i=(this-o-n)/6048e5;break;default:i=this-o}return r?i:Is(i)},yu.endOf=function(t){var e,r;if(void 0===(t=Ms(t))||"millisecond"===t||!this.isValid())return this;switch(r=this._isUTC?ou:ru,t){case"year":e=r(this.year()+1,0,1)-1;break;case"quarter":e=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=r(this.year(),this.month()+1,1)-1;break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=Ql-eu(e+(this._isUTC?0:this.utcOffset()*Xl),Ql)-1;break;case"minute":e=this._d.valueOf(),e+=Xl-eu(e,Xl)-1;break;case"second":e=this._d.valueOf(),e+=Jl-eu(e,Jl)-1}return this._d.setTime(e),Ta.updateOffset(this,!0),this},yu.format=function(t){t||(t=this.isUtc()?Ta.defaultFormatUtc:Ta.defaultFormat);var e=xs(this,t);return this.localeData().postformat(e)},yu.from=function(t,e){return this.isValid()&&(ls(t)&&t.isValid()||wl(t).isValid())?Fl({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},yu.fromNow=function(t){return this.from(wl(),t)},yu.to=function(t,e){return this.isValid()&&(ls(t)&&t.isValid()||wl(t).isValid())?Fl({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},yu.toNow=function(t){return this.to(wl(),t)},yu.get=function(t){return ys(this[t=Ms(t)])?this[t]():this},yu.invalidAt=function(){return rs(this).overflow},yu.isAfter=function(t,e){var r=ls(t)?t:wl(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(e=Ms(e)||"millisecond")?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(e).valueOf())},yu.isBefore=function(t,e){var r=ls(t)?t:wl(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(e=Ms(e)||"millisecond")?this.valueOf()<r.valueOf():this.clone().endOf(e).valueOf()<r.valueOf())},yu.isBetween=function(t,e,r,o){var n=ls(t)?t:wl(t),i=ls(e)?e:wl(e);return!!(this.isValid()&&n.isValid()&&i.isValid())&&(("("===(o=o||"()")[0]?this.isAfter(n,r):!this.isBefore(n,r))&&(")"===o[1]?this.isBefore(i,r):!this.isAfter(i,r)))},yu.isSame=function(t,e){var r,o=ls(t)?t:wl(t);return!(!this.isValid()||!o.isValid())&&("millisecond"===(e=Ms(e)||"millisecond")?this.valueOf()===o.valueOf():(r=o.valueOf(),this.clone().startOf(e).valueOf()<=r&&r<=this.clone().endOf(e).valueOf()))},yu.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},yu.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},yu.isValid=function(){return os(this)},yu.lang=ql,yu.locale=Gl,yu.localeData=Vl,yu.max=xl,yu.min=Nl,yu.parsingFlags=function(){return ts({},rs(this))},yu.set=function(t,e){if("object"==typeof t){var r,o=function(t){var e,r=[];for(e in t)Ga(t,e)&&r.push({unit:e,priority:ks[e]});return r.sort((function(t,e){return t.priority-e.priority})),r}(t=Ls(t)),n=o.length;for(r=0;r<n;r++)this[o[r].unit](t[o[r].unit])}else if(ys(this[t=Ms(t)]))return this[t](e);return this},yu.startOf=function(t){var e,r;if(void 0===(t=Ms(t))||"millisecond"===t||!this.isValid())return this;switch(r=this._isUTC?ou:ru,t){case"year":e=r(this.year(),0,1);break;case"quarter":e=r(this.year(),this.month()-this.month()%3,1);break;case"month":e=r(this.year(),this.month(),1);break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=r(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=eu(e+(this._isUTC?0:this.utcOffset()*Xl),Ql);break;case"minute":e=this._d.valueOf(),e-=eu(e,Xl);break;case"second":e=this._d.valueOf(),e-=eu(e,Jl)}return this._d.setTime(e),Ta.updateOffset(this,!0),this},yu.subtract=Zl,yu.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},yu.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()}},yu.toDate=function(){return new Date(this.valueOf())},yu.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,r=e?this.clone().utc():this;return r.year()<0||r.year()>9999?xs(r,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ys(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",xs(r,"Z")):xs(r,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},yu.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,r,o="moment",n="";return this.isLocal()||(o=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+o+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY","-MM-DD[T]HH:mm:ss.SSS",r=n+'[")]',this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+r)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(yu[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),yu.toJSON=function(){return this.isValid()?this.toISOString():null},yu.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},yu.unix=function(){return Math.floor(this.valueOf()/1e3)},yu.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},yu.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},yu.eraName=function(){var t,e,r,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t){if(r=this.clone().startOf("day").valueOf(),o[t].since<=r&&r<=o[t].until)return o[t].name;if(o[t].until<=r&&r<=o[t].since)return o[t].name}return""},yu.eraNarrow=function(){var t,e,r,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t){if(r=this.clone().startOf("day").valueOf(),o[t].since<=r&&r<=o[t].until)return o[t].narrow;if(o[t].until<=r&&r<=o[t].since)return o[t].narrow}return""},yu.eraAbbr=function(){var t,e,r,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t){if(r=this.clone().startOf("day").valueOf(),o[t].since<=r&&r<=o[t].until)return o[t].abbr;if(o[t].until<=r&&r<=o[t].since)return o[t].abbr}return""},yu.eraYear=function(){var t,e,r,o,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=n[t].since<=n[t].until?1:-1,o=this.clone().startOf("day").valueOf(),n[t].since<=o&&o<=n[t].until||n[t].until<=o&&o<=n[t].since)return(this.year()-Ta(n[t].since).year())*r+n[t].offset;return this.year()},yu.year=Lc,yu.isLeapYear=function(){return Ws(this.year())},yu.weekYear=function(t){return su.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},yu.isoWeekYear=function(t){return su.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},yu.quarter=yu.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},yu.month=Ec,yu.daysInMonth=function(){return bc(this.year(),this.month())},yu.week=yu.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},yu.isoWeek=yu.isoWeeks=function(t){var e=Uc(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},yu.weeksInYear=function(){var t=this.localeData()._week;return Yc(this.year(),t.dow,t.doy)},yu.weeksInWeekYear=function(){var t=this.localeData()._week;return Yc(this.weekYear(),t.dow,t.doy)},yu.isoWeeksInYear=function(){return Yc(this.year(),1,4)},yu.isoWeeksInISOWeekYear=function(){return Yc(this.isoWeekYear(),1,4)},yu.date=lu,yu.day=yu.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},yu.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},yu.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},yu.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},yu.hour=yu.hours=Gc,yu.minute=yu.minutes=uu,yu.second=yu.seconds=du,yu.millisecond=yu.milliseconds=hu,yu.utcOffset=function(t,e,r){var o,n=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Wl(Qs,t)))return this}else Math.abs(t)<16&&!r&&(t*=60);return!this._isUTC&&e&&(o=Ul(this)),this._offset=t,this._isUTC=!0,null!=o&&this.add(o,"m"),n!==t&&(!e||this._changeInProgress?$l(this,Fl(t-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,Ta.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?n:Ul(this)},yu.utc=function(t){return this.utcOffset(0,t)},yu.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ul(this),"m")),this},yu.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Wl(Xs,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},yu.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?wl(t).utcOffset():0,(this.utcOffset()-t)%60==0)},yu.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},yu.isLocal=function(){return!!this.isValid()&&!this._isUTC},yu.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},yu.isUtc=Yl,yu.isUTC=Yl,yu.zoneAbbr=function(){return this._isUTC?"UTC":""},yu.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},yu.dates=fs("dates accessor is deprecated. Use date instead.",lu),yu.months=fs("months accessor is deprecated. Use month instead",Ec),yu.years=fs("years accessor is deprecated. Use year instead",Lc),yu.zone=fs("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),yu.isDSTShifted=fs("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!Va(this._isDSTShifted))return this._isDSTShifted;var t,e={};return ss(e,this),(e=Ol(e))._a?(t=e._isUTC?es(e._a):wl(e._a),this._isDSTShifted=this.isValid()&&function(t,e,r){var o,n=Math.min(t.length,e.length),i=Math.abs(t.length-e.length),a=0;for(o=0;o<n;o++)(r&&t[o]!==e[o]||!r&&Us(t[o])!==Us(e[o]))&&a++;return a+i}(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var mu=ms.prototype;function bu(t,e,r,o){var n=nl(),i=es().set(o,e);return n[r](i,t)}function vu(t,e,r){if(Ja(t)&&(e=t,t=void 0),t=t||"",null!=e)return bu(t,e,r,"month");var o,n=[];for(o=0;o<12;o++)n[o]=bu(t,o,r,"month");return n}function Ou(t,e,r,o){"boolean"==typeof t?(Ja(e)&&(r=e,e=void 0),e=e||""):(r=e=t,t=!1,Ja(e)&&(r=e,e=void 0),e=e||"");var n,i=nl(),a=t?i._week.dow:0,s=[];if(null!=r)return bu(e,(r+a)%7,o,"day");for(n=0;n<7;n++)s[n]=bu(e,(n+a)%7,o,"day");return s}mu.calendar=function(t,e,r){var o=this._calendar[t]||this._calendar.sameElse;return ys(o)?o.call(e,r):o},mu.longDateFormat=function(t){var e=this._longDateFormat[t],r=this._longDateFormat[t.toUpperCase()];return e||!r?e:(this._longDateFormat[t]=r.match(vs).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},mu.invalidDate=function(){return this._invalidDate},mu.ordinal=function(t){return this._ordinal.replace("%d",t)},mu.preparse=gu,mu.postformat=gu,mu.relativeTime=function(t,e,r,o){var n=this._relativeTime[r];return ys(n)?n(t,e,r,o):n.replace(/%d/i,t)},mu.pastFuture=function(t,e){var r=this._relativeTime[t>0?"future":"past"];return ys(r)?r(e):r.replace(/%s/i,e)},mu.set=function(t){var e,r;for(r in t)Ga(t,r)&&(ys(e=t[r])?this[r]=e:this["_"+r]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},mu.eras=function(t,e){var r,o,n,i=this._eras||nl("en")._eras;for(r=0,o=i.length;r<o;++r){if("string"==typeof i[r].since)n=Ta(i[r].since).startOf("day"),i[r].since=n.valueOf();switch(typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":n=Ta(i[r].until).startOf("day").valueOf(),i[r].until=n.valueOf()}}return i},mu.erasParse=function(t,e,r){var o,n,i,a,s,c=this.eras();for(t=t.toUpperCase(),o=0,n=c.length;o<n;++o)if(i=c[o].name.toUpperCase(),a=c[o].abbr.toUpperCase(),s=c[o].narrow.toUpperCase(),r)switch(e){case"N":case"NN":case"NNN":if(a===t)return c[o];break;case"NNNN":if(i===t)return c[o];break;case"NNNNN":if(s===t)return c[o]}else if([i,a,s].indexOf(t)>=0)return c[o]},mu.erasConvertYear=function(t,e){var r=t.since<=t.until?1:-1;return void 0===e?Ta(t.since).year():Ta(t.since).year()+(e-t.offset)*r},mu.erasAbbrRegex=function(t){return Ga(this,"_erasAbbrRegex")||iu.call(this),t?this._erasAbbrRegex:this._erasRegex},mu.erasNameRegex=function(t){return Ga(this,"_erasNameRegex")||iu.call(this),t?this._erasNameRegex:this._erasRegex},mu.erasNarrowRegex=function(t){return Ga(this,"_erasNarrowRegex")||iu.call(this),t?this._erasNarrowRegex:this._erasRegex},mu.months=function(t,e){return t?Ba(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Sc).test(e)?"format":"standalone"][t.month()]:Ba(this._months)?this._months:this._months.standalone},mu.monthsShort=function(t,e){return t?Ba(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Sc.test(e)?"format":"standalone"][t.month()]:Ba(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},mu.monthsParse=function(t,e,r){var o,n,i;if(this._monthsParseExact)return xc.call(this,t,e,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(n=es([2e3,o]),r&&!this._longMonthsParse[o]&&(this._longMonthsParse[o]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[o]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),r||this._monthsParse[o]||(i="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[o]=new RegExp(i.replace(".",""),"i")),r&&"MMMM"===e&&this._longMonthsParse[o].test(t))return o;if(r&&"MMM"===e&&this._shortMonthsParse[o].test(t))return o;if(!r&&this._monthsParse[o].test(t))return o}},mu.monthsRegex=function(t){return this._monthsParseExact?(Ga(this,"_monthsRegex")||Rc.call(this),t?this._monthsStrictRegex:this._monthsRegex):(Ga(this,"_monthsRegex")||(this._monthsRegex=Nc),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},mu.monthsShortRegex=function(t){return this._monthsParseExact?(Ga(this,"_monthsRegex")||Rc.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(Ga(this,"_monthsShortRegex")||(this._monthsShortRegex=wc),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},mu.week=function(t){return Uc(t,this._week.dow,this._week.doy).week},mu.firstDayOfYear=function(){return this._week.doy},mu.firstDayOfWeek=function(){return this._week.dow},mu.weekdays=function(t,e){var r=Ba(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?_c(r,this._week.dow):t?r[t.day()]:r},mu.weekdaysMin=function(t){return!0===t?_c(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},mu.weekdaysShort=function(t){return!0===t?_c(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},mu.weekdaysParse=function(t,e,r){var o,n,i;if(this._weekdaysParseExact)return Kc.call(this,t,e,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(n=es([2e3,1]).day(o),r&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[o]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[o]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[o]||(i="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[o]=new RegExp(i.replace(".",""),"i")),r&&"dddd"===e&&this._fullWeekdaysParse[o].test(t))return o;if(r&&"ddd"===e&&this._shortWeekdaysParse[o].test(t))return o;if(r&&"dd"===e&&this._minWeekdaysParse[o].test(t))return o;if(!r&&this._weekdaysParse[o].test(t))return o}},mu.weekdaysRegex=function(t){return this._weekdaysParseExact?(Ga(this,"_weekdaysRegex")||Zc.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(Ga(this,"_weekdaysRegex")||(this._weekdaysRegex=Hc),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},mu.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(Ga(this,"_weekdaysRegex")||Zc.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Ga(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Pc),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},mu.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(Ga(this,"_weekdaysRegex")||Zc.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Ga(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=$c),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},mu.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},mu.meridiem=function(t,e,r){return t>11?r?"pm":"PM":r?"am":"AM"},rl("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===Us(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),Ta.lang=fs("moment.lang is deprecated. Use moment.locale instead.",rl),Ta.langData=fs("moment.langData is deprecated. Use moment.localeData instead.",nl);var Su=Math.abs;function wu(t,e,r,o){var n=Fl(e,r);return t._milliseconds+=o*n._milliseconds,t._days+=o*n._days,t._months+=o*n._months,t._bubble()}function Nu(t){return t<0?Math.floor(t):Math.ceil(t)}function xu(t){return 4800*t/146097}function Cu(t){return 146097*t/4800}function Eu(t){return function(){return this.as(t)}}var Ru=Eu("ms"),Mu=Eu("s"),Lu=Eu("m"),ku=Eu("h"),Du=Eu("d"),Wu=Eu("w"),Iu=Eu("M"),Uu=Eu("Q"),Yu=Eu("y");function _u(t){return function(){return this.isValid()?this._data[t]:NaN}}var Au=_u("milliseconds"),Fu=_u("seconds"),ju=_u("minutes"),Hu=_u("hours"),Pu=_u("days"),$u=_u("months"),Ku=_u("years");var Zu=Math.round,Tu={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Bu(t,e,r,o,n){return n.relativeTime(e||1,!!r,t,o)}var zu=Math.abs;function Gu(t){return(t>0)-(t<0)||+t}function qu(){if(!this.isValid())return this.localeData().invalidDate();var t,e,r,o,n,i,a,s,c=zu(this._milliseconds)/1e3,l=zu(this._days),u=zu(this._months),f=this.asSeconds();return f?(t=Is(c/60),e=Is(t/60),c%=60,t%=60,r=Is(u/12),u%=12,o=c?c.toFixed(3).replace(/\.?0+$/,""):"",n=f<0?"-":"",i=Gu(this._months)!==Gu(f)?"-":"",a=Gu(this._days)!==Gu(f)?"-":"",s=Gu(this._milliseconds)!==Gu(f)?"-":"",n+"P"+(r?i+r+"Y":"")+(u?i+u+"M":"")+(l?a+l+"D":"")+(e||t||c?"T":"")+(e?s+e+"H":"")+(t?s+t+"M":"")+(c?s+o+"S":"")):"P0D"}var Vu,Ju=Rl.prototype;Ju.isValid=function(){return this._isValid},Ju.abs=function(){var t=this._data;return this._milliseconds=Su(this._milliseconds),this._days=Su(this._days),this._months=Su(this._months),t.milliseconds=Su(t.milliseconds),t.seconds=Su(t.seconds),t.minutes=Su(t.minutes),t.hours=Su(t.hours),t.months=Su(t.months),t.years=Su(t.years),this},Ju.add=function(t,e){return wu(this,t,e,1)},Ju.subtract=function(t,e){return wu(this,t,e,-1)},Ju.as=function(t){if(!this.isValid())return NaN;var e,r,o=this._milliseconds;if("month"===(t=Ms(t))||"quarter"===t||"year"===t)switch(e=this._days+o/864e5,r=this._months+xu(e),t){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(e=this._days+Math.round(Cu(this._months)),t){case"week":return e/7+o/6048e5;case"day":return e+o/864e5;case"hour":return 24*e+o/36e5;case"minute":return 1440*e+o/6e4;case"second":return 86400*e+o/1e3;case"millisecond":return Math.floor(864e5*e)+o;default:throw new Error("Unknown unit "+t)}},Ju.asMilliseconds=Ru,Ju.asSeconds=Mu,Ju.asMinutes=Lu,Ju.asHours=ku,Ju.asDays=Du,Ju.asWeeks=Wu,Ju.asMonths=Iu,Ju.asQuarters=Uu,Ju.asYears=Yu,Ju.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Us(this._months/12):NaN},Ju._bubble=function(){var t,e,r,o,n,i=this._milliseconds,a=this._days,s=this._months,c=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*Nu(Cu(s)+a),a=0,s=0),c.milliseconds=i%1e3,t=Is(i/1e3),c.seconds=t%60,e=Is(t/60),c.minutes=e%60,r=Is(e/60),c.hours=r%24,a+=Is(r/24),s+=n=Is(xu(a)),a-=Nu(Cu(n)),o=Is(s/12),s%=12,c.days=a,c.months=s,c.years=o,this},Ju.clone=function(){return Fl(this)},Ju.get=function(t){return t=Ms(t),this.isValid()?this[t+"s"]():NaN},Ju.milliseconds=Au,Ju.seconds=Fu,Ju.minutes=ju,Ju.hours=Hu,Ju.days=Pu,Ju.weeks=function(){return Is(this.days()/7)},Ju.months=$u,Ju.years=Ku,Ju.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var r,o,n=!1,i=Tu;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(n=t),"object"==typeof e&&(i=Object.assign({},Tu,e),null!=e.s&&null==e.ss&&(i.ss=e.s-1)),o=function(t,e,r,o){var n=Fl(t).abs(),i=Zu(n.as("s")),a=Zu(n.as("m")),s=Zu(n.as("h")),c=Zu(n.as("d")),l=Zu(n.as("M")),u=Zu(n.as("w")),f=Zu(n.as("y")),h=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||a<=1&&["m"]||a<r.m&&["mm",a]||s<=1&&["h"]||s<r.h&&["hh",s]||c<=1&&["d"]||c<r.d&&["dd",c];return null!=r.w&&(h=h||u<=1&&["w"]||u<r.w&&["ww",u]),(h=h||l<=1&&["M"]||l<r.M&&["MM",l]||f<=1&&["y"]||["yy",f])[2]=e,h[3]=+t>0,h[4]=o,Bu.apply(null,h)}(this,!n,i,r=this.localeData()),n&&(o=r.pastFuture(+this,o)),r.postformat(o)},Ju.toISOString=qu,Ju.toString=qu,Ju.toJSON=qu,Ju.locale=Gl,Ju.localeData=Vl,Ju.toIsoString=fs("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",qu),Ju.lang=ql,Ns("X",0,0,"unix"),Ns("x",0,0,"valueOf"),ec("x",Js),ec("X",/[+-]?\d+(\.\d{1,3})?/),ic("X",(function(t,e,r){r._d=new Date(1e3*parseFloat(t))})),ic("x",(function(t,e,r){r._d=new Date(Us(t))})),
183
+ var ts,es;function os(){return ts.apply(null,arguments)}function rs(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function ns(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function is(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function as(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(is(t,e))return!1;return!0}function ss(t){return void 0===t}function cs(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function ls(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function us(t,e){var o,r=[],n=t.length;for(o=0;o<n;++o)r.push(e(t[o],o));return r}function fs(t,e){for(var o in e)is(e,o)&&(t[o]=e[o]);return is(e,"toString")&&(t.toString=e.toString),is(e,"valueOf")&&(t.valueOf=e.valueOf),t}function hs(t,e,o,r){return kl(t,e,o,r,!0).utc()}function ds(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 ps(t){if(null==t._isValid){var e=ds(t),o=es.call(e.parsedDateParts,(function(t){return null!=t})),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&o);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function ys(t){var e=hs(NaN);return null!=t?fs(ds(e),t):ds(e).userInvalidated=!0,e}window.ftGlobals=null!==(qa=window.ftGlobals)&&void 0!==qa?qa:{lit:be,litDecorators:Ce,litRepeat:Ae,litClassMap:ze,litStyleMap:Pe,litUnsafeHTML:$e,wcUtils:{...Xe,...Je,...to,...oo,...fo,...yr,...vr,...wn,...dr,...Dn,...Un,...so,...zn,...Pn,...Kn,...Tn,...Pa,...Rn,...Ka,...Ja,isSafari:Xa,isTouchScreen:Qa}},es=Array.prototype.some?Array.prototype.some:function(t){var e,o=Object(this),r=o.length>>>0;for(e=0;e<r;e++)if(e in o&&t.call(this,o[e],e,o))return!0;return!1};var gs=os.momentProperties=[],ms=!1;function bs(t,e){var o,r,n,i=gs.length;if(ss(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),ss(e._i)||(t._i=e._i),ss(e._f)||(t._f=e._f),ss(e._l)||(t._l=e._l),ss(e._strict)||(t._strict=e._strict),ss(e._tzm)||(t._tzm=e._tzm),ss(e._isUTC)||(t._isUTC=e._isUTC),ss(e._offset)||(t._offset=e._offset),ss(e._pf)||(t._pf=ds(e)),ss(e._locale)||(t._locale=e._locale),i>0)for(o=0;o<i;o++)ss(n=e[r=gs[o]])||(t[r]=n);return t}function vs(t){bs(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===ms&&(ms=!0,os.updateOffset(this),ms=!1)}function Os(t){return t instanceof vs||null!=t&&null!=t._isAMomentObject}function Ss(t){!1===os.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function ws(t,e){var o=!0;return fs((function(){if(null!=os.deprecationHandler&&os.deprecationHandler(null,t),o){var r,n,i,a=[],s=arguments.length;for(n=0;n<s;n++){if(r="","object"==typeof arguments[n]){for(i in r+="\n["+n+"] ",arguments[0])is(arguments[0],i)&&(r+=i+": "+arguments[0][i]+", ");r=r.slice(0,-2)}else r=arguments[n];a.push(r)}Ss(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),o=!1}return e.apply(this,arguments)}),e)}var xs,Ns={};function Cs(t,e){null!=os.deprecationHandler&&os.deprecationHandler(t,e),Ns[t]||(Ss(e),Ns[t]=!0)}function Es(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function Rs(t,e){var o,r=fs({},t);for(o in e)is(e,o)&&(ns(t[o])&&ns(e[o])?(r[o]={},fs(r[o],t[o]),fs(r[o],e[o])):null!=e[o]?r[o]=e[o]:delete r[o]);for(o in t)is(t,o)&&!is(e,o)&&ns(t[o])&&(r[o]=fs({},r[o]));return r}function Is(t){null!=t&&this.set(t)}os.suppressDeprecationWarnings=!1,os.deprecationHandler=null,xs=Object.keys?Object.keys:function(t){var e,o=[];for(e in t)is(t,e)&&o.push(e);return o};function Ms(t,e,o){var r=""+Math.abs(t),n=e-r.length;return(t>=0?o?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+r}var Ws=/(\[[^\[]*\])|(\\)?([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,Ls=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ks={},Ds={};function Us(t,e,o,r){var n=r;"string"==typeof r&&(n=function(){return this[r]()}),t&&(Ds[t]=n),e&&(Ds[e[0]]=function(){return Ms(n.apply(this,arguments),e[1],e[2])}),o&&(Ds[o]=function(){return this.localeData().ordinal(n.apply(this,arguments),t)})}function Ys(t,e){return t.isValid()?(e=_s(e,t.localeData()),ks[e]=ks[e]||function(t){var e,o,r,n=t.match(Ws);for(e=0,o=n.length;e<o;e++)Ds[n[e]]?n[e]=Ds[n[e]]:n[e]=(r=n[e]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(e){var r,i="";for(r=0;r<o;r++)i+=Es(n[r])?n[r].call(e,t):n[r];return i}}(e),ks[e](t)):t.localeData().invalidDate()}function _s(t,e){var o=5;function r(t){return e.longDateFormat(t)||t}for(Ls.lastIndex=0;o>=0&&Ls.test(t);)t=t.replace(Ls,r),Ls.lastIndex=0,o-=1;return t}var Fs={};function As(t,e){var o=t.toLowerCase();Fs[o]=Fs[o+"s"]=Fs[e]=t}function Hs(t){return"string"==typeof t?Fs[t]||Fs[t.toLowerCase()]:void 0}function zs(t){var e,o,r={};for(o in t)is(t,o)&&(e=Hs(o))&&(r[e]=t[o]);return r}var js={};function Bs(t,e){js[t]=e}function Zs(t){return t%4==0&&t%100!=0||t%400==0}function Ps(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function Ks(t){var e=+t,o=0;return 0!==e&&isFinite(e)&&(o=Ps(e)),o}function Ts(t,e){return function(o){return null!=o?(Gs(this,t,o),os.updateOffset(this,e),this):$s(this,t)}}function $s(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Gs(t,e,o){t.isValid()&&!isNaN(o)&&("FullYear"===e&&Zs(t.year())&&1===t.month()&&29===t.date()?(o=Ks(o),t._d["set"+(t._isUTC?"UTC":"")+e](o,t.month(),Mc(o,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](o))}var Vs,qs=/\d/,Js=/\d\d/,Xs=/\d{3}/,Qs=/\d{4}/,tc=/[+-]?\d{6}/,ec=/\d\d?/,oc=/\d\d\d\d?/,rc=/\d\d\d\d\d\d?/,nc=/\d{1,3}/,ic=/\d{1,4}/,ac=/[+-]?\d{1,6}/,sc=/\d+/,cc=/[+-]?\d+/,lc=/Z|[+-]\d\d:?\d\d/gi,uc=/Z|[+-]\d\d(?::?\d\d)?/gi,fc=/[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 hc(t,e,o){Vs[t]=Es(e)?e:function(t,r){return t&&o?o:e}}function dc(t,e){return is(Vs,t)?Vs[t](e._strict,e._locale):new RegExp(function(t){return pc(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,o,r,n){return e||o||r||n})))}(t))}function pc(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Vs={};var yc={};function gc(t,e){var o,r,n=e;for("string"==typeof t&&(t=[t]),cs(e)&&(n=function(t,o){o[e]=Ks(t)}),r=t.length,o=0;o<r;o++)yc[t[o]]=n}function mc(t,e){gc(t,(function(t,o,r,n){r._w=r._w||{},e(t,r._w,r,n)}))}function bc(t,e,o){null!=e&&is(yc,t)&&yc[t](e,o._a,o,t)}var vc,Oc=0,Sc=1,wc=2,xc=3,Nc=4,Cc=5,Ec=6,Rc=7,Ic=8;function Mc(t,e){if(isNaN(t)||isNaN(e))return NaN;var o=function(t,e){return(t%e+e)%e}(e,12);return t+=(e-o)/12,1===o?Zs(t)?29:28:31-o%7%2}vc=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},Us("M",["MM",2],"Mo",(function(){return this.month()+1})),Us("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),Us("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),As("month","M"),Bs("month",8),hc("M",ec),hc("MM",ec,Js),hc("MMM",(function(t,e){return e.monthsShortRegex(t)})),hc("MMMM",(function(t,e){return e.monthsRegex(t)})),gc(["M","MM"],(function(t,e){e[Sc]=Ks(t)-1})),gc(["MMM","MMMM"],(function(t,e,o,r){var n=o._locale.monthsParse(t,r,o._strict);null!=n?e[Sc]=n:ds(o).invalidMonth=t}));var Wc="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Lc="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),kc=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Dc=fc,Uc=fc;function Yc(t,e,o){var r,n,i,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=hs([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return o?"MMM"===e?-1!==(n=vc.call(this._shortMonthsParse,a))?n:null:-1!==(n=vc.call(this._longMonthsParse,a))?n:null:"MMM"===e?-1!==(n=vc.call(this._shortMonthsParse,a))||-1!==(n=vc.call(this._longMonthsParse,a))?n:null:-1!==(n=vc.call(this._longMonthsParse,a))||-1!==(n=vc.call(this._shortMonthsParse,a))?n:null}function _c(t,e){var o;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=Ks(e);else if(!cs(e=t.localeData().monthsParse(e)))return t;return o=Math.min(t.date(),Mc(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,o),t}function Fc(t){return null!=t?(_c(this,t),os.updateOffset(this,!0),this):$s(this,"Month")}function Ac(){function t(t,e){return e.length-t.length}var e,o,r=[],n=[],i=[];for(e=0;e<12;e++)o=hs([2e3,e]),r.push(this.monthsShort(o,"")),n.push(this.months(o,"")),i.push(this.months(o,"")),i.push(this.monthsShort(o,""));for(r.sort(t),n.sort(t),i.sort(t),e=0;e<12;e++)r[e]=pc(r[e]),n[e]=pc(n[e]);for(e=0;e<24;e++)i[e]=pc(i[e]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Hc(t){return Zs(t)?366:365}Us("Y",0,0,(function(){var t=this.year();return t<=9999?Ms(t,4):"+"+t})),Us(0,["YY",2],0,(function(){return this.year()%100})),Us(0,["YYYY",4],0,"year"),Us(0,["YYYYY",5],0,"year"),Us(0,["YYYYYY",6,!0],0,"year"),As("year","y"),Bs("year",1),hc("Y",cc),hc("YY",ec,Js),hc("YYYY",ic,Qs),hc("YYYYY",ac,tc),hc("YYYYYY",ac,tc),gc(["YYYYY","YYYYYY"],Oc),gc("YYYY",(function(t,e){e[Oc]=2===t.length?os.parseTwoDigitYear(t):Ks(t)})),gc("YY",(function(t,e){e[Oc]=os.parseTwoDigitYear(t)})),gc("Y",(function(t,e){e[Oc]=parseInt(t,10)})),os.parseTwoDigitYear=function(t){return Ks(t)+(Ks(t)>68?1900:2e3)};var zc=Ts("FullYear",!0);function jc(t,e,o,r,n,i,a){var s;return t<100&&t>=0?(s=new Date(t+400,e,o,r,n,i,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,o,r,n,i,a),s}function Bc(t){var e,o;return t<100&&t>=0?((o=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,o)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Zc(t,e,o){var r=7+e-o;return-((7+Bc(t,0,r).getUTCDay()-e)%7)+r-1}function Pc(t,e,o,r,n){var i,a,s=1+7*(e-1)+(7+o-r)%7+Zc(t,r,n);return s<=0?a=Hc(i=t-1)+s:s>Hc(t)?(i=t+1,a=s-Hc(t)):(i=t,a=s),{year:i,dayOfYear:a}}function Kc(t,e,o){var r,n,i=Zc(t.year(),e,o),a=Math.floor((t.dayOfYear()-i-1)/7)+1;return a<1?r=a+Tc(n=t.year()-1,e,o):a>Tc(t.year(),e,o)?(r=a-Tc(t.year(),e,o),n=t.year()+1):(n=t.year(),r=a),{week:r,year:n}}function Tc(t,e,o){var r=Zc(t,e,o),n=Zc(t+1,e,o);return(Hc(t)-r+n)/7}Us("w",["ww",2],"wo","week"),Us("W",["WW",2],"Wo","isoWeek"),As("week","w"),As("isoWeek","W"),Bs("week",5),Bs("isoWeek",5),hc("w",ec),hc("ww",ec,Js),hc("W",ec),hc("WW",ec,Js),mc(["w","ww","W","WW"],(function(t,e,o,r){e[r.substr(0,1)]=Ks(t)}));function $c(t,e){return t.slice(e,7).concat(t.slice(0,e))}Us("d",0,"do","day"),Us("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),Us("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),Us("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),Us("e",0,0,"weekday"),Us("E",0,0,"isoWeekday"),As("day","d"),As("weekday","e"),As("isoWeekday","E"),Bs("day",11),Bs("weekday",11),Bs("isoWeekday",11),hc("d",ec),hc("e",ec),hc("E",ec),hc("dd",(function(t,e){return e.weekdaysMinRegex(t)})),hc("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),hc("dddd",(function(t,e){return e.weekdaysRegex(t)})),mc(["dd","ddd","dddd"],(function(t,e,o,r){var n=o._locale.weekdaysParse(t,r,o._strict);null!=n?e.d=n:ds(o).invalidWeekday=t})),mc(["d","e","E"],(function(t,e,o,r){e[r]=Ks(t)}));var Gc="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Vc="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),qc="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Jc=fc,Xc=fc,Qc=fc;function tl(t,e,o){var r,n,i,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=hs([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return o?"dddd"===e?-1!==(n=vc.call(this._weekdaysParse,a))?n:null:"ddd"===e?-1!==(n=vc.call(this._shortWeekdaysParse,a))?n:null:-1!==(n=vc.call(this._minWeekdaysParse,a))?n:null:"dddd"===e?-1!==(n=vc.call(this._weekdaysParse,a))||-1!==(n=vc.call(this._shortWeekdaysParse,a))||-1!==(n=vc.call(this._minWeekdaysParse,a))?n:null:"ddd"===e?-1!==(n=vc.call(this._shortWeekdaysParse,a))||-1!==(n=vc.call(this._weekdaysParse,a))||-1!==(n=vc.call(this._minWeekdaysParse,a))?n:null:-1!==(n=vc.call(this._minWeekdaysParse,a))||-1!==(n=vc.call(this._weekdaysParse,a))||-1!==(n=vc.call(this._shortWeekdaysParse,a))?n:null}function el(){function t(t,e){return e.length-t.length}var e,o,r,n,i,a=[],s=[],c=[],l=[];for(e=0;e<7;e++)o=hs([2e3,1]).day(e),r=pc(this.weekdaysMin(o,"")),n=pc(this.weekdaysShort(o,"")),i=pc(this.weekdays(o,"")),a.push(r),s.push(n),c.push(i),l.push(r),l.push(n),l.push(i);a.sort(t),s.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("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function ol(){return this.hours()%12||12}function rl(t,e){Us(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function nl(t,e){return e._meridiemParse}Us("H",["HH",2],0,"hour"),Us("h",["hh",2],0,ol),Us("k",["kk",2],0,(function(){return this.hours()||24})),Us("hmm",0,0,(function(){return""+ol.apply(this)+Ms(this.minutes(),2)})),Us("hmmss",0,0,(function(){return""+ol.apply(this)+Ms(this.minutes(),2)+Ms(this.seconds(),2)})),Us("Hmm",0,0,(function(){return""+this.hours()+Ms(this.minutes(),2)})),Us("Hmmss",0,0,(function(){return""+this.hours()+Ms(this.minutes(),2)+Ms(this.seconds(),2)})),rl("a",!0),rl("A",!1),As("hour","h"),Bs("hour",13),hc("a",nl),hc("A",nl),hc("H",ec),hc("h",ec),hc("k",ec),hc("HH",ec,Js),hc("hh",ec,Js),hc("kk",ec,Js),hc("hmm",oc),hc("hmmss",rc),hc("Hmm",oc),hc("Hmmss",rc),gc(["H","HH"],xc),gc(["k","kk"],(function(t,e,o){var r=Ks(t);e[xc]=24===r?0:r})),gc(["a","A"],(function(t,e,o){o._isPm=o._locale.isPM(t),o._meridiem=t})),gc(["h","hh"],(function(t,e,o){e[xc]=Ks(t),ds(o).bigHour=!0})),gc("hmm",(function(t,e,o){var r=t.length-2;e[xc]=Ks(t.substr(0,r)),e[Nc]=Ks(t.substr(r)),ds(o).bigHour=!0})),gc("hmmss",(function(t,e,o){var r=t.length-4,n=t.length-2;e[xc]=Ks(t.substr(0,r)),e[Nc]=Ks(t.substr(r,2)),e[Cc]=Ks(t.substr(n)),ds(o).bigHour=!0})),gc("Hmm",(function(t,e,o){var r=t.length-2;e[xc]=Ks(t.substr(0,r)),e[Nc]=Ks(t.substr(r))})),gc("Hmmss",(function(t,e,o){var r=t.length-4,n=t.length-2;e[xc]=Ks(t.substr(0,r)),e[Nc]=Ks(t.substr(r,2)),e[Cc]=Ks(t.substr(n))}));var il=Ts("Hours",!0);var al,sl={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:Wc,monthsShort:Lc,week:{dow:0,doy:6},weekdays:Gc,weekdaysMin:qc,weekdaysShort:Vc,meridiemParse:/[ap]\.?m?\.?/i},cl={},ll={};function ul(t,e){var o,r=Math.min(t.length,e.length);for(o=0;o<r;o+=1)if(t[o]!==e[o])return o;return r}function fl(t){return t?t.toLowerCase().replace("_","-"):t}function hl(t){var e=null;if(void 0===cl[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(t))try{e=al._abbr,require("./locale/"+t),dl(e)}catch(e){cl[t]=null}return cl[t]}function dl(t,e){var o;return t&&((o=ss(e)?yl(t):pl(t,e))?al=o:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),al._abbr}function pl(t,e){if(null!==e){var o,r=sl;if(e.abbr=t,null!=cl[t])Cs("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=cl[t]._config;else if(null!=e.parentLocale)if(null!=cl[e.parentLocale])r=cl[e.parentLocale]._config;else{if(null==(o=hl(e.parentLocale)))return ll[e.parentLocale]||(ll[e.parentLocale]=[]),ll[e.parentLocale].push({name:t,config:e}),null;r=o._config}return cl[t]=new Is(Rs(r,e)),ll[t]&&ll[t].forEach((function(t){pl(t.name,t.config)})),dl(t),cl[t]}return delete cl[t],null}function yl(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return al;if(!rs(t)){if(e=hl(t))return e;t=[t]}return function(t){for(var e,o,r,n,i=0;i<t.length;){for(e=(n=fl(t[i]).split("-")).length,o=(o=fl(t[i+1]))?o.split("-"):null;e>0;){if(r=hl(n.slice(0,e).join("-")))return r;if(o&&o.length>=e&&ul(n,o)>=e-1)break;e--}i++}return al}(t)}function gl(t){var e,o=t._a;return o&&-2===ds(t).overflow&&(e=o[Sc]<0||o[Sc]>11?Sc:o[wc]<1||o[wc]>Mc(o[Oc],o[Sc])?wc:o[xc]<0||o[xc]>24||24===o[xc]&&(0!==o[Nc]||0!==o[Cc]||0!==o[Ec])?xc:o[Nc]<0||o[Nc]>59?Nc:o[Cc]<0||o[Cc]>59?Cc:o[Ec]<0||o[Ec]>999?Ec:-1,ds(t)._overflowDayOfYear&&(e<Oc||e>wc)&&(e=wc),ds(t)._overflowWeeks&&-1===e&&(e=Rc),ds(t)._overflowWeekday&&-1===e&&(e=Ic),ds(t).overflow=e),t}var ml=/^\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)?)?$/,bl=/^\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)?)?$/,vl=/Z|[+-]\d\d(?::?\d\d)?/,Ol=[["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]],Sl=[["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/]],wl=/^\/?Date\((-?\d+)/i,xl=/^(?:(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}))$/,Nl={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Cl(t){var e,o,r,n,i,a,s=t._i,c=ml.exec(s)||bl.exec(s),l=Ol.length,u=Sl.length;if(c){for(ds(t).iso=!0,e=0,o=l;e<o;e++)if(Ol[e][1].exec(c[1])){n=Ol[e][0],r=!1!==Ol[e][2];break}if(null==n)return void(t._isValid=!1);if(c[3]){for(e=0,o=u;e<o;e++)if(Sl[e][1].exec(c[3])){i=(c[2]||" ")+Sl[e][0];break}if(null==i)return void(t._isValid=!1)}if(!r&&null!=i)return void(t._isValid=!1);if(c[4]){if(!vl.exec(c[4]))return void(t._isValid=!1);a="Z"}t._f=n+(i||"")+(a||""),Wl(t)}else t._isValid=!1}function El(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function Rl(t){var e,o,r,n,i,a,s,c,l=xl.exec(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(t._i));if(l){if(o=l[4],r=l[3],n=l[2],i=l[5],a=l[6],s=l[7],c=[El(o),Lc.indexOf(r),parseInt(n,10),parseInt(i,10),parseInt(a,10)],s&&c.push(parseInt(s,10)),e=c,!function(t,e,o){return!t||Vc.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(ds(o).weekdayMismatch=!0,o._isValid=!1,!1)}(l[1],e,t))return;t._a=e,t._tzm=function(t,e,o){if(t)return Nl[t];if(e)return 0;var r=parseInt(o,10),n=r%100;return(r-n)/100*60+n}(l[8],l[9],l[10]),t._d=Bc.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),ds(t).rfc2822=!0}else t._isValid=!1}function Il(t,e,o){return null!=t?t:null!=e?e:o}function Ml(t){var e,o,r,n,i,a=[];if(!t._d){for(r=function(t){var e=new Date(os.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[wc]&&null==t._a[Sc]&&function(t){var e,o,r,n,i,a,s,c,l;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(i=1,a=4,o=Il(e.GG,t._a[Oc],Kc(Dl(),1,4).year),r=Il(e.W,1),((n=Il(e.E,1))<1||n>7)&&(c=!0)):(i=t._locale._week.dow,a=t._locale._week.doy,l=Kc(Dl(),i,a),o=Il(e.gg,t._a[Oc],l.year),r=Il(e.w,l.week),null!=e.d?((n=e.d)<0||n>6)&&(c=!0):null!=e.e?(n=e.e+i,(e.e<0||e.e>6)&&(c=!0)):n=i);r<1||r>Tc(o,i,a)?ds(t)._overflowWeeks=!0:null!=c?ds(t)._overflowWeekday=!0:(s=Pc(o,r,n,i,a),t._a[Oc]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(i=Il(t._a[Oc],r[Oc]),(t._dayOfYear>Hc(i)||0===t._dayOfYear)&&(ds(t)._overflowDayOfYear=!0),o=Bc(i,0,t._dayOfYear),t._a[Sc]=o.getUTCMonth(),t._a[wc]=o.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=r[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[xc]&&0===t._a[Nc]&&0===t._a[Cc]&&0===t._a[Ec]&&(t._nextDay=!0,t._a[xc]=0),t._d=(t._useUTC?Bc:jc).apply(null,a),n=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[xc]=24),t._w&&void 0!==t._w.d&&t._w.d!==n&&(ds(t).weekdayMismatch=!0)}}function Wl(t){if(t._f!==os.ISO_8601)if(t._f!==os.RFC_2822){t._a=[],ds(t).empty=!0;var e,o,r,n,i,a,s,c=""+t._i,l=c.length,u=0;for(s=(r=_s(t._f,t._locale).match(Ws)||[]).length,e=0;e<s;e++)n=r[e],(o=(c.match(dc(n,t))||[])[0])&&((i=c.substr(0,c.indexOf(o))).length>0&&ds(t).unusedInput.push(i),c=c.slice(c.indexOf(o)+o.length),u+=o.length),Ds[n]?(o?ds(t).empty=!1:ds(t).unusedTokens.push(n),bc(n,o,t)):t._strict&&!o&&ds(t).unusedTokens.push(n);ds(t).charsLeftOver=l-u,c.length>0&&ds(t).unusedInput.push(c),t._a[xc]<=12&&!0===ds(t).bigHour&&t._a[xc]>0&&(ds(t).bigHour=void 0),ds(t).parsedDateParts=t._a.slice(0),ds(t).meridiem=t._meridiem,t._a[xc]=function(t,e,o){var r;if(null==o)return e;return null!=t.meridiemHour?t.meridiemHour(e,o):null!=t.isPM?((r=t.isPM(o))&&e<12&&(e+=12),r||12!==e||(e=0),e):e}(t._locale,t._a[xc],t._meridiem),null!==(a=ds(t).era)&&(t._a[Oc]=t._locale.erasConvertYear(a,t._a[Oc])),Ml(t),gl(t)}else Rl(t);else Cl(t)}function Ll(t){var e=t._i,o=t._f;return t._locale=t._locale||yl(t._l),null===e||void 0===o&&""===e?ys({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),Os(e)?new vs(gl(e)):(ls(e)?t._d=e:rs(o)?function(t){var e,o,r,n,i,a,s=!1,c=t._f.length;if(0===c)return ds(t).invalidFormat=!0,void(t._d=new Date(NaN));for(n=0;n<c;n++)i=0,a=!1,e=bs({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[n],Wl(e),ps(e)&&(a=!0),i+=ds(e).charsLeftOver,i+=10*ds(e).unusedTokens.length,ds(e).score=i,s?i<r&&(r=i,o=e):(null==r||i<r||a)&&(r=i,o=e,a&&(s=!0));fs(t,o||e)}(t):o?Wl(t):function(t){var e=t._i;ss(e)?t._d=new Date(os.now()):ls(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=wl.exec(t._i);null===e?(Cl(t),!1===t._isValid&&(delete t._isValid,Rl(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:os.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):rs(e)?(t._a=us(e.slice(0),(function(t){return parseInt(t,10)})),Ml(t)):ns(e)?function(t){if(!t._d){var e=zs(t._i),o=void 0===e.day?e.date:e.day;t._a=us([e.year,e.month,o,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),Ml(t)}}(t):cs(e)?t._d=new Date(e):os.createFromInputFallback(t)}(t),ps(t)||(t._d=null),t))}function kl(t,e,o,r,n){var i,a={};return!0!==e&&!1!==e||(r=e,e=void 0),!0!==o&&!1!==o||(r=o,o=void 0),(ns(t)&&as(t)||rs(t)&&0===t.length)&&(t=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=n,a._l=o,a._i=t,a._f=e,a._strict=r,(i=new vs(gl(Ll(a))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function Dl(t,e,o,r){return kl(t,e,o,r,!1)}os.createFromInputFallback=ws("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":""))})),os.ISO_8601=function(){},os.RFC_2822=function(){};var Ul=ws("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Dl.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:ys()})),Yl=ws("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Dl.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:ys()}));function _l(t,e){var o,r;if(1===e.length&&rs(e[0])&&(e=e[0]),!e.length)return Dl();for(o=e[0],r=1;r<e.length;++r)e[r].isValid()&&!e[r][t](o)||(o=e[r]);return o}var Fl=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Al(t){var e=zs(t),o=e.year||0,r=e.quarter||0,n=e.month||0,i=e.week||e.isoWeek||0,a=e.day||0,s=e.hour||0,c=e.minute||0,l=e.second||0,u=e.millisecond||0;this._isValid=function(t){var e,o,r=!1,n=Fl.length;for(e in t)if(is(t,e)&&(-1===vc.call(Fl,e)||null!=t[e]&&isNaN(t[e])))return!1;for(o=0;o<n;++o)if(t[Fl[o]]){if(r)return!1;parseFloat(t[Fl[o]])!==Ks(t[Fl[o]])&&(r=!0)}return!0}(e),this._milliseconds=+u+1e3*l+6e4*c+1e3*s*60*60,this._days=+a+7*i,this._months=+n+3*r+12*o,this._data={},this._locale=yl(),this._bubble()}function Hl(t){return t instanceof Al}function zl(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function jl(t,e){Us(t,0,0,(function(){var t=this.utcOffset(),o="+";return t<0&&(t=-t,o="-"),o+Ms(~~(t/60),2)+e+Ms(~~t%60,2)}))}jl("Z",":"),jl("ZZ",""),hc("Z",uc),hc("ZZ",uc),gc(["Z","ZZ"],(function(t,e,o){o._useUTC=!0,o._tzm=Zl(uc,t)}));var Bl=/([\+\-]|\d\d)/gi;function Zl(t,e){var o,r,n=(e||"").match(t);return null===n?null:0===(r=60*(o=((n[n.length-1]||[])+"").match(Bl)||["-",0,0])[1]+Ks(o[2]))?0:"+"===o[0]?r:-r}function Pl(t,e){var o,r;return e._isUTC?(o=e.clone(),r=(Os(t)||ls(t)?t.valueOf():Dl(t).valueOf())-o.valueOf(),o._d.setTime(o._d.valueOf()+r),os.updateOffset(o,!1),o):Dl(t).local()}function Kl(t){return-Math.round(t._d.getTimezoneOffset())}function Tl(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}os.updateOffset=function(){};var $l=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Gl=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Vl(t,e){var o,r,n,i=t,a=null;return Hl(t)?i={ms:t._milliseconds,d:t._days,M:t._months}:cs(t)||!isNaN(+t)?(i={},e?i[e]=+t:i.milliseconds=+t):(a=$l.exec(t))?(o="-"===a[1]?-1:1,i={y:0,d:Ks(a[wc])*o,h:Ks(a[xc])*o,m:Ks(a[Nc])*o,s:Ks(a[Cc])*o,ms:Ks(zl(1e3*a[Ec]))*o}):(a=Gl.exec(t))?(o="-"===a[1]?-1:1,i={y:ql(a[2],o),M:ql(a[3],o),w:ql(a[4],o),d:ql(a[5],o),h:ql(a[6],o),m:ql(a[7],o),s:ql(a[8],o)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(n=function(t,e){var o;if(!t.isValid()||!e.isValid())return{milliseconds:0,months:0};e=Pl(e,t),t.isBefore(e)?o=Jl(t,e):((o=Jl(e,t)).milliseconds=-o.milliseconds,o.months=-o.months);return o}(Dl(i.from),Dl(i.to)),(i={}).ms=n.milliseconds,i.M=n.months),r=new Al(i),Hl(t)&&is(t,"_locale")&&(r._locale=t._locale),Hl(t)&&is(t,"_isValid")&&(r._isValid=t._isValid),r}function ql(t,e){var o=t&&parseFloat(t.replace(",","."));return(isNaN(o)?0:o)*e}function Jl(t,e){var o={};return o.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(o.months,"M").isAfter(e)&&--o.months,o.milliseconds=+e-+t.clone().add(o.months,"M"),o}function Xl(t,e){return function(o,r){var n;return null===r||isNaN(+r)||(Cs(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=o,o=r,r=n),Ql(this,Vl(o,r),t),this}}function Ql(t,e,o,r){var n=e._milliseconds,i=zl(e._days),a=zl(e._months);t.isValid()&&(r=null==r||r,a&&_c(t,$s(t,"Month")+a*o),i&&Gs(t,"Date",$s(t,"Date")+i*o),n&&t._d.setTime(t._d.valueOf()+n*o),r&&os.updateOffset(t,i||a))}Vl.fn=Al.prototype,Vl.invalid=function(){return Vl(NaN)};var tu=Xl(1,"add"),eu=Xl(-1,"subtract");function ou(t){return"string"==typeof t||t instanceof String}function ru(t){return Os(t)||ls(t)||ou(t)||cs(t)||function(t){var e=rs(t),o=!1;e&&(o=0===t.filter((function(e){return!cs(e)&&ou(t)})).length);return e&&o}(t)||function(t){var e,o,r=ns(t)&&!as(t),n=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=i.length;for(e=0;e<a;e+=1)o=i[e],n=n||is(t,o);return r&&n}(t)||null==t}function nu(t,e){if(t.date()<e.date())return-nu(e,t);var o=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(o,"months");return-(o+(e-r<0?(e-r)/(r-t.clone().add(o-1,"months")):(e-r)/(t.clone().add(o+1,"months")-r)))||0}function iu(t){var e;return void 0===t?this._locale._abbr:(null!=(e=yl(t))&&(this._locale=e),this)}os.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",os.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var au=ws("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 su(){return this._locale}var cu=1e3,lu=6e4,uu=36e5,fu=126227808e5;function hu(t,e){return(t%e+e)%e}function du(t,e,o){return t<100&&t>=0?new Date(t+400,e,o)-fu:new Date(t,e,o).valueOf()}function pu(t,e,o){return t<100&&t>=0?Date.UTC(t+400,e,o)-fu:Date.UTC(t,e,o)}function yu(t,e){return e.erasAbbrRegex(t)}function gu(){var t,e,o=[],r=[],n=[],i=[],a=this.eras();for(t=0,e=a.length;t<e;++t)r.push(pc(a[t].name)),o.push(pc(a[t].abbr)),n.push(pc(a[t].narrow)),i.push(pc(a[t].name)),i.push(pc(a[t].abbr)),i.push(pc(a[t].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function mu(t,e){Us(0,[t,t.length],0,e)}function bu(t,e,o,r,n){var i;return null==t?Kc(this,r,n).year:(e>(i=Tc(t,r,n))&&(e=i),vu.call(this,t,e,o,r,n))}function vu(t,e,o,r,n){var i=Pc(t,e,o,r,n),a=Bc(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}Us("N",0,0,"eraAbbr"),Us("NN",0,0,"eraAbbr"),Us("NNN",0,0,"eraAbbr"),Us("NNNN",0,0,"eraName"),Us("NNNNN",0,0,"eraNarrow"),Us("y",["y",1],"yo","eraYear"),Us("y",["yy",2],0,"eraYear"),Us("y",["yyy",3],0,"eraYear"),Us("y",["yyyy",4],0,"eraYear"),hc("N",yu),hc("NN",yu),hc("NNN",yu),hc("NNNN",(function(t,e){return e.erasNameRegex(t)})),hc("NNNNN",(function(t,e){return e.erasNarrowRegex(t)})),gc(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,o,r){var n=o._locale.erasParse(t,r,o._strict);n?ds(o).era=n:ds(o).invalidEra=t})),hc("y",sc),hc("yy",sc),hc("yyy",sc),hc("yyyy",sc),hc("yo",(function(t,e){return e._eraYearOrdinalRegex||sc})),gc(["y","yy","yyy","yyyy"],Oc),gc(["yo"],(function(t,e,o,r){var n;o._locale._eraYearOrdinalRegex&&(n=t.match(o._locale._eraYearOrdinalRegex)),o._locale.eraYearOrdinalParse?e[Oc]=o._locale.eraYearOrdinalParse(t,n):e[Oc]=parseInt(t,10)})),Us(0,["gg",2],0,(function(){return this.weekYear()%100})),Us(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),mu("gggg","weekYear"),mu("ggggg","weekYear"),mu("GGGG","isoWeekYear"),mu("GGGGG","isoWeekYear"),As("weekYear","gg"),As("isoWeekYear","GG"),Bs("weekYear",1),Bs("isoWeekYear",1),hc("G",cc),hc("g",cc),hc("GG",ec,Js),hc("gg",ec,Js),hc("GGGG",ic,Qs),hc("gggg",ic,Qs),hc("GGGGG",ac,tc),hc("ggggg",ac,tc),mc(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,o,r){e[r.substr(0,2)]=Ks(t)})),mc(["gg","GG"],(function(t,e,o,r){e[r]=os.parseTwoDigitYear(t)})),Us("Q",0,"Qo","quarter"),As("quarter","Q"),Bs("quarter",7),hc("Q",qs),gc("Q",(function(t,e){e[Sc]=3*(Ks(t)-1)})),Us("D",["DD",2],"Do","date"),As("date","D"),Bs("date",9),hc("D",ec),hc("DD",ec,Js),hc("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),gc(["D","DD"],wc),gc("Do",(function(t,e){e[wc]=Ks(t.match(ec)[0])}));var Ou=Ts("Date",!0);Us("DDD",["DDDD",3],"DDDo","dayOfYear"),As("dayOfYear","DDD"),Bs("dayOfYear",4),hc("DDD",nc),hc("DDDD",Xs),gc(["DDD","DDDD"],(function(t,e,o){o._dayOfYear=Ks(t)})),Us("m",["mm",2],0,"minute"),As("minute","m"),Bs("minute",14),hc("m",ec),hc("mm",ec,Js),gc(["m","mm"],Nc);var Su=Ts("Minutes",!1);Us("s",["ss",2],0,"second"),As("second","s"),Bs("second",15),hc("s",ec),hc("ss",ec,Js),gc(["s","ss"],Cc);var wu,xu,Nu=Ts("Seconds",!1);for(Us("S",0,0,(function(){return~~(this.millisecond()/100)})),Us(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),Us(0,["SSS",3],0,"millisecond"),Us(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),Us(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),Us(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),Us(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),Us(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),Us(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),As("millisecond","ms"),Bs("millisecond",16),hc("S",nc,qs),hc("SS",nc,Js),hc("SSS",nc,Xs),wu="SSSS";wu.length<=9;wu+="S")hc(wu,sc);function Cu(t,e){e[Ec]=Ks(1e3*("0."+t))}for(wu="S";wu.length<=9;wu+="S")gc(wu,Cu);xu=Ts("Milliseconds",!1),Us("z",0,0,"zoneAbbr"),Us("zz",0,0,"zoneName");var Eu=vs.prototype;function Ru(t){return t}Eu.add=tu,Eu.calendar=function(t,e){1===arguments.length&&(arguments[0]?ru(arguments[0])?(t=arguments[0],e=void 0):function(t){var e,o=ns(t)&&!as(t),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<n.length;e+=1)r=r||is(t,n[e]);return o&&r}(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var o=t||Dl(),r=Pl(o,this).startOf("day"),n=os.calendarFormat(this,r)||"sameElse",i=e&&(Es(e[n])?e[n].call(this,o):e[n]);return this.format(i||this.localeData().calendar(n,this,Dl(o)))},Eu.clone=function(){return new vs(this)},Eu.diff=function(t,e,o){var r,n,i;if(!this.isValid())return NaN;if(!(r=Pl(t,this)).isValid())return NaN;switch(n=6e4*(r.utcOffset()-this.utcOffset()),e=Hs(e)){case"year":i=nu(this,r)/12;break;case"month":i=nu(this,r);break;case"quarter":i=nu(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-n)/864e5;break;case"week":i=(this-r-n)/6048e5;break;default:i=this-r}return o?i:Ps(i)},Eu.endOf=function(t){var e,o;if(void 0===(t=Hs(t))||"millisecond"===t||!this.isValid())return this;switch(o=this._isUTC?pu:du,t){case"year":e=o(this.year()+1,0,1)-1;break;case"quarter":e=o(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=o(this.year(),this.month()+1,1)-1;break;case"week":e=o(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=o(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=o(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=uu-hu(e+(this._isUTC?0:this.utcOffset()*lu),uu)-1;break;case"minute":e=this._d.valueOf(),e+=lu-hu(e,lu)-1;break;case"second":e=this._d.valueOf(),e+=cu-hu(e,cu)-1}return this._d.setTime(e),os.updateOffset(this,!0),this},Eu.format=function(t){t||(t=this.isUtc()?os.defaultFormatUtc:os.defaultFormat);var e=Ys(this,t);return this.localeData().postformat(e)},Eu.from=function(t,e){return this.isValid()&&(Os(t)&&t.isValid()||Dl(t).isValid())?Vl({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Eu.fromNow=function(t){return this.from(Dl(),t)},Eu.to=function(t,e){return this.isValid()&&(Os(t)&&t.isValid()||Dl(t).isValid())?Vl({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Eu.toNow=function(t){return this.to(Dl(),t)},Eu.get=function(t){return Es(this[t=Hs(t)])?this[t]():this},Eu.invalidAt=function(){return ds(this).overflow},Eu.isAfter=function(t,e){var o=Os(t)?t:Dl(t);return!(!this.isValid()||!o.isValid())&&("millisecond"===(e=Hs(e)||"millisecond")?this.valueOf()>o.valueOf():o.valueOf()<this.clone().startOf(e).valueOf())},Eu.isBefore=function(t,e){var o=Os(t)?t:Dl(t);return!(!this.isValid()||!o.isValid())&&("millisecond"===(e=Hs(e)||"millisecond")?this.valueOf()<o.valueOf():this.clone().endOf(e).valueOf()<o.valueOf())},Eu.isBetween=function(t,e,o,r){var n=Os(t)?t:Dl(t),i=Os(e)?e:Dl(e);return!!(this.isValid()&&n.isValid()&&i.isValid())&&(("("===(r=r||"()")[0]?this.isAfter(n,o):!this.isBefore(n,o))&&(")"===r[1]?this.isBefore(i,o):!this.isAfter(i,o)))},Eu.isSame=function(t,e){var o,r=Os(t)?t:Dl(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(e=Hs(e)||"millisecond")?this.valueOf()===r.valueOf():(o=r.valueOf(),this.clone().startOf(e).valueOf()<=o&&o<=this.clone().endOf(e).valueOf()))},Eu.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},Eu.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},Eu.isValid=function(){return ps(this)},Eu.lang=au,Eu.locale=iu,Eu.localeData=su,Eu.max=Yl,Eu.min=Ul,Eu.parsingFlags=function(){return fs({},ds(this))},Eu.set=function(t,e){if("object"==typeof t){var o,r=function(t){var e,o=[];for(e in t)is(t,e)&&o.push({unit:e,priority:js[e]});return o.sort((function(t,e){return t.priority-e.priority})),o}(t=zs(t)),n=r.length;for(o=0;o<n;o++)this[r[o].unit](t[r[o].unit])}else if(Es(this[t=Hs(t)]))return this[t](e);return this},Eu.startOf=function(t){var e,o;if(void 0===(t=Hs(t))||"millisecond"===t||!this.isValid())return this;switch(o=this._isUTC?pu:du,t){case"year":e=o(this.year(),0,1);break;case"quarter":e=o(this.year(),this.month()-this.month()%3,1);break;case"month":e=o(this.year(),this.month(),1);break;case"week":e=o(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=o(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=o(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=hu(e+(this._isUTC?0:this.utcOffset()*lu),uu);break;case"minute":e=this._d.valueOf(),e-=hu(e,lu);break;case"second":e=this._d.valueOf(),e-=hu(e,cu)}return this._d.setTime(e),os.updateOffset(this,!0),this},Eu.subtract=eu,Eu.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},Eu.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()}},Eu.toDate=function(){return new Date(this.valueOf())},Eu.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,o=e?this.clone().utc():this;return o.year()<0||o.year()>9999?Ys(o,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Es(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Ys(o,"Z")):Ys(o,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Eu.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,o,r="moment",n="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+r+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY","-MM-DD[T]HH:mm:ss.SSS",o=n+'[")]',this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+o)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Eu[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Eu.toJSON=function(){return this.isValid()?this.toISOString():null},Eu.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Eu.unix=function(){return Math.floor(this.valueOf()/1e3)},Eu.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Eu.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Eu.eraName=function(){var t,e,o,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t){if(o=this.clone().startOf("day").valueOf(),r[t].since<=o&&o<=r[t].until)return r[t].name;if(r[t].until<=o&&o<=r[t].since)return r[t].name}return""},Eu.eraNarrow=function(){var t,e,o,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t){if(o=this.clone().startOf("day").valueOf(),r[t].since<=o&&o<=r[t].until)return r[t].narrow;if(r[t].until<=o&&o<=r[t].since)return r[t].narrow}return""},Eu.eraAbbr=function(){var t,e,o,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t){if(o=this.clone().startOf("day").valueOf(),r[t].since<=o&&o<=r[t].until)return r[t].abbr;if(r[t].until<=o&&o<=r[t].since)return r[t].abbr}return""},Eu.eraYear=function(){var t,e,o,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(o=n[t].since<=n[t].until?1:-1,r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return(this.year()-os(n[t].since).year())*o+n[t].offset;return this.year()},Eu.year=zc,Eu.isLeapYear=function(){return Zs(this.year())},Eu.weekYear=function(t){return bu.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Eu.isoWeekYear=function(t){return bu.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},Eu.quarter=Eu.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},Eu.month=Fc,Eu.daysInMonth=function(){return Mc(this.year(),this.month())},Eu.week=Eu.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},Eu.isoWeek=Eu.isoWeeks=function(t){var e=Kc(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},Eu.weeksInYear=function(){var t=this.localeData()._week;return Tc(this.year(),t.dow,t.doy)},Eu.weeksInWeekYear=function(){var t=this.localeData()._week;return Tc(this.weekYear(),t.dow,t.doy)},Eu.isoWeeksInYear=function(){return Tc(this.year(),1,4)},Eu.isoWeeksInISOWeekYear=function(){return Tc(this.isoWeekYear(),1,4)},Eu.date=Ou,Eu.day=Eu.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},Eu.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},Eu.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},Eu.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},Eu.hour=Eu.hours=il,Eu.minute=Eu.minutes=Su,Eu.second=Eu.seconds=Nu,Eu.millisecond=Eu.milliseconds=xu,Eu.utcOffset=function(t,e,o){var r,n=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Zl(uc,t)))return this}else Math.abs(t)<16&&!o&&(t*=60);return!this._isUTC&&e&&(r=Kl(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),n!==t&&(!e||this._changeInProgress?Ql(this,Vl(t-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,os.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?n:Kl(this)},Eu.utc=function(t){return this.utcOffset(0,t)},Eu.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Kl(this),"m")),this},Eu.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Zl(lc,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},Eu.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Dl(t).utcOffset():0,(this.utcOffset()-t)%60==0)},Eu.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Eu.isLocal=function(){return!!this.isValid()&&!this._isUTC},Eu.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Eu.isUtc=Tl,Eu.isUTC=Tl,Eu.zoneAbbr=function(){return this._isUTC?"UTC":""},Eu.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Eu.dates=ws("dates accessor is deprecated. Use date instead.",Ou),Eu.months=ws("months accessor is deprecated. Use month instead",Fc),Eu.years=ws("years accessor is deprecated. Use year instead",zc),Eu.zone=ws("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),Eu.isDSTShifted=ws("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!ss(this._isDSTShifted))return this._isDSTShifted;var t,e={};return bs(e,this),(e=Ll(e))._a?(t=e._isUTC?hs(e._a):Dl(e._a),this._isDSTShifted=this.isValid()&&function(t,e,o){var r,n=Math.min(t.length,e.length),i=Math.abs(t.length-e.length),a=0;for(r=0;r<n;r++)(o&&t[r]!==e[r]||!o&&Ks(t[r])!==Ks(e[r]))&&a++;return a+i}(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var Iu=Is.prototype;function Mu(t,e,o,r){var n=yl(),i=hs().set(r,e);return n[o](i,t)}function Wu(t,e,o){if(cs(t)&&(e=t,t=void 0),t=t||"",null!=e)return Mu(t,e,o,"month");var r,n=[];for(r=0;r<12;r++)n[r]=Mu(t,r,o,"month");return n}function Lu(t,e,o,r){"boolean"==typeof t?(cs(e)&&(o=e,e=void 0),e=e||""):(o=e=t,t=!1,cs(e)&&(o=e,e=void 0),e=e||"");var n,i=yl(),a=t?i._week.dow:0,s=[];if(null!=o)return Mu(e,(o+a)%7,r,"day");for(n=0;n<7;n++)s[n]=Mu(e,(n+a)%7,r,"day");return s}Iu.calendar=function(t,e,o){var r=this._calendar[t]||this._calendar.sameElse;return Es(r)?r.call(e,o):r},Iu.longDateFormat=function(t){var e=this._longDateFormat[t],o=this._longDateFormat[t.toUpperCase()];return e||!o?e:(this._longDateFormat[t]=o.match(Ws).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},Iu.invalidDate=function(){return this._invalidDate},Iu.ordinal=function(t){return this._ordinal.replace("%d",t)},Iu.preparse=Ru,Iu.postformat=Ru,Iu.relativeTime=function(t,e,o,r){var n=this._relativeTime[o];return Es(n)?n(t,e,o,r):n.replace(/%d/i,t)},Iu.pastFuture=function(t,e){var o=this._relativeTime[t>0?"future":"past"];return Es(o)?o(e):o.replace(/%s/i,e)},Iu.set=function(t){var e,o;for(o in t)is(t,o)&&(Es(e=t[o])?this[o]=e:this["_"+o]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Iu.eras=function(t,e){var o,r,n,i=this._eras||yl("en")._eras;for(o=0,r=i.length;o<r;++o){if("string"==typeof i[o].since)n=os(i[o].since).startOf("day"),i[o].since=n.valueOf();switch(typeof i[o].until){case"undefined":i[o].until=1/0;break;case"string":n=os(i[o].until).startOf("day").valueOf(),i[o].until=n.valueOf()}}return i},Iu.erasParse=function(t,e,o){var r,n,i,a,s,c=this.eras();for(t=t.toUpperCase(),r=0,n=c.length;r<n;++r)if(i=c[r].name.toUpperCase(),a=c[r].abbr.toUpperCase(),s=c[r].narrow.toUpperCase(),o)switch(e){case"N":case"NN":case"NNN":if(a===t)return c[r];break;case"NNNN":if(i===t)return c[r];break;case"NNNNN":if(s===t)return c[r]}else if([i,a,s].indexOf(t)>=0)return c[r]},Iu.erasConvertYear=function(t,e){var o=t.since<=t.until?1:-1;return void 0===e?os(t.since).year():os(t.since).year()+(e-t.offset)*o},Iu.erasAbbrRegex=function(t){return is(this,"_erasAbbrRegex")||gu.call(this),t?this._erasAbbrRegex:this._erasRegex},Iu.erasNameRegex=function(t){return is(this,"_erasNameRegex")||gu.call(this),t?this._erasNameRegex:this._erasRegex},Iu.erasNarrowRegex=function(t){return is(this,"_erasNarrowRegex")||gu.call(this),t?this._erasNarrowRegex:this._erasRegex},Iu.months=function(t,e){return t?rs(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||kc).test(e)?"format":"standalone"][t.month()]:rs(this._months)?this._months:this._months.standalone},Iu.monthsShort=function(t,e){return t?rs(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[kc.test(e)?"format":"standalone"][t.month()]:rs(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Iu.monthsParse=function(t,e,o){var r,n,i;if(this._monthsParseExact)return Yc.call(this,t,e,o);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(n=hs([2e3,r]),o&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),o||this._monthsParse[r]||(i="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),o&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(o&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!o&&this._monthsParse[r].test(t))return r}},Iu.monthsRegex=function(t){return this._monthsParseExact?(is(this,"_monthsRegex")||Ac.call(this),t?this._monthsStrictRegex:this._monthsRegex):(is(this,"_monthsRegex")||(this._monthsRegex=Uc),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},Iu.monthsShortRegex=function(t){return this._monthsParseExact?(is(this,"_monthsRegex")||Ac.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(is(this,"_monthsShortRegex")||(this._monthsShortRegex=Dc),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},Iu.week=function(t){return Kc(t,this._week.dow,this._week.doy).week},Iu.firstDayOfYear=function(){return this._week.doy},Iu.firstDayOfWeek=function(){return this._week.dow},Iu.weekdays=function(t,e){var o=rs(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?$c(o,this._week.dow):t?o[t.day()]:o},Iu.weekdaysMin=function(t){return!0===t?$c(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},Iu.weekdaysShort=function(t){return!0===t?$c(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},Iu.weekdaysParse=function(t,e,o){var r,n,i;if(this._weekdaysParseExact)return tl.call(this,t,e,o);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(n=hs([2e3,1]).day(r),o&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),o&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(o&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(o&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!o&&this._weekdaysParse[r].test(t))return r}},Iu.weekdaysRegex=function(t){return this._weekdaysParseExact?(is(this,"_weekdaysRegex")||el.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(is(this,"_weekdaysRegex")||(this._weekdaysRegex=Jc),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},Iu.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(is(this,"_weekdaysRegex")||el.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(is(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Xc),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Iu.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(is(this,"_weekdaysRegex")||el.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(is(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Qc),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Iu.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},Iu.meridiem=function(t,e,o){return t>11?o?"pm":"PM":o?"am":"AM"},dl("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===Ks(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),os.lang=ws("moment.lang is deprecated. Use moment.locale instead.",dl),os.langData=ws("moment.langData is deprecated. Use moment.localeData instead.",yl);var ku=Math.abs;function Du(t,e,o,r){var n=Vl(e,o);return t._milliseconds+=r*n._milliseconds,t._days+=r*n._days,t._months+=r*n._months,t._bubble()}function Uu(t){return t<0?Math.floor(t):Math.ceil(t)}function Yu(t){return 4800*t/146097}function _u(t){return 146097*t/4800}function Fu(t){return function(){return this.as(t)}}var Au=Fu("ms"),Hu=Fu("s"),zu=Fu("m"),ju=Fu("h"),Bu=Fu("d"),Zu=Fu("w"),Pu=Fu("M"),Ku=Fu("Q"),Tu=Fu("y");function $u(t){return function(){return this.isValid()?this._data[t]:NaN}}var Gu=$u("milliseconds"),Vu=$u("seconds"),qu=$u("minutes"),Ju=$u("hours"),Xu=$u("days"),Qu=$u("months"),tf=$u("years");var ef=Math.round,of={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function rf(t,e,o,r,n){return n.relativeTime(e||1,!!o,t,r)}var nf=Math.abs;function af(t){return(t>0)-(t<0)||+t}function sf(){if(!this.isValid())return this.localeData().invalidDate();var t,e,o,r,n,i,a,s,c=nf(this._milliseconds)/1e3,l=nf(this._days),u=nf(this._months),f=this.asSeconds();return f?(t=Ps(c/60),e=Ps(t/60),c%=60,t%=60,o=Ps(u/12),u%=12,r=c?c.toFixed(3).replace(/\.?0+$/,""):"",n=f<0?"-":"",i=af(this._months)!==af(f)?"-":"",a=af(this._days)!==af(f)?"-":"",s=af(this._milliseconds)!==af(f)?"-":"",n+"P"+(o?i+o+"Y":"")+(u?i+u+"M":"")+(l?a+l+"D":"")+(e||t||c?"T":"")+(e?s+e+"H":"")+(t?s+t+"M":"")+(c?s+r+"S":"")):"P0D"}var cf,lf=Al.prototype;lf.isValid=function(){return this._isValid},lf.abs=function(){var t=this._data;return this._milliseconds=ku(this._milliseconds),this._days=ku(this._days),this._months=ku(this._months),t.milliseconds=ku(t.milliseconds),t.seconds=ku(t.seconds),t.minutes=ku(t.minutes),t.hours=ku(t.hours),t.months=ku(t.months),t.years=ku(t.years),this},lf.add=function(t,e){return Du(this,t,e,1)},lf.subtract=function(t,e){return Du(this,t,e,-1)},lf.as=function(t){if(!this.isValid())return NaN;var e,o,r=this._milliseconds;if("month"===(t=Hs(t))||"quarter"===t||"year"===t)switch(e=this._days+r/864e5,o=this._months+Yu(e),t){case"month":return o;case"quarter":return o/3;case"year":return o/12}else switch(e=this._days+Math.round(_u(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}},lf.asMilliseconds=Au,lf.asSeconds=Hu,lf.asMinutes=zu,lf.asHours=ju,lf.asDays=Bu,lf.asWeeks=Zu,lf.asMonths=Pu,lf.asQuarters=Ku,lf.asYears=Tu,lf.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Ks(this._months/12):NaN},lf._bubble=function(){var t,e,o,r,n,i=this._milliseconds,a=this._days,s=this._months,c=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*Uu(_u(s)+a),a=0,s=0),c.milliseconds=i%1e3,t=Ps(i/1e3),c.seconds=t%60,e=Ps(t/60),c.minutes=e%60,o=Ps(e/60),c.hours=o%24,a+=Ps(o/24),s+=n=Ps(Yu(a)),a-=Uu(_u(n)),r=Ps(s/12),s%=12,c.days=a,c.months=s,c.years=r,this},lf.clone=function(){return Vl(this)},lf.get=function(t){return t=Hs(t),this.isValid()?this[t+"s"]():NaN},lf.milliseconds=Gu,lf.seconds=Vu,lf.minutes=qu,lf.hours=Ju,lf.days=Xu,lf.weeks=function(){return Ps(this.days()/7)},lf.months=Qu,lf.years=tf,lf.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var o,r,n=!1,i=of;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(n=t),"object"==typeof e&&(i=Object.assign({},of,e),null!=e.s&&null==e.ss&&(i.ss=e.s-1)),r=function(t,e,o,r){var n=Vl(t).abs(),i=ef(n.as("s")),a=ef(n.as("m")),s=ef(n.as("h")),c=ef(n.as("d")),l=ef(n.as("M")),u=ef(n.as("w")),f=ef(n.as("y")),h=i<=o.ss&&["s",i]||i<o.s&&["ss",i]||a<=1&&["m"]||a<o.m&&["mm",a]||s<=1&&["h"]||s<o.h&&["hh",s]||c<=1&&["d"]||c<o.d&&["dd",c];return null!=o.w&&(h=h||u<=1&&["w"]||u<o.w&&["ww",u]),(h=h||l<=1&&["M"]||l<o.M&&["MM",l]||f<=1&&["y"]||["yy",f])[2]=e,h[3]=+t>0,h[4]=r,rf.apply(null,h)}(this,!n,i,o=this.localeData()),n&&(r=o.pastFuture(+this,r)),o.postformat(r)},lf.toISOString=sf,lf.toString=sf,lf.toJSON=sf,lf.locale=iu,lf.localeData=su,lf.toIsoString=ws("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",sf),lf.lang=au,Us("X",0,0,"unix"),Us("x",0,0,"valueOf"),hc("x",cc),hc("X",/[+-]?\d+(\.\d{1,3})?/),gc("X",(function(t,e,o){o._d=new Date(1e3*parseFloat(t))})),gc("x",(function(t,e,o){o._d=new Date(Ks(t))})),
184
184
  //! moment.js
185
- Ta.version="2.29.4",Ka=wl,Ta.fn=yu,Ta.min=function(){return Cl("isBefore",[].slice.call(arguments,0))},Ta.max=function(){return Cl("isAfter",[].slice.call(arguments,0))},Ta.now=function(){return Date.now?Date.now():+new Date},Ta.utc=es,Ta.unix=function(t){return wl(1e3*t)},Ta.months=function(t,e){return vu(t,e,"months")},Ta.isDate=Xa,Ta.locale=rl,Ta.invalid=ns,Ta.duration=Fl,Ta.isMoment=ls,Ta.weekdays=function(t,e,r){return Ou(t,e,r,"weekdays")},Ta.parseZone=function(){return wl.apply(null,arguments).parseZone()},Ta.localeData=nl,Ta.isDuration=Ml,Ta.monthsShort=function(t,e){return vu(t,e,"monthsShort")},Ta.weekdaysMin=function(t,e,r){return Ou(t,e,r,"weekdaysMin")},Ta.defineLocale=ol,Ta.updateLocale=function(t,e){if(null!=e){var r,o,n=Vc;null!=Jc[t]&&null!=Jc[t].parentLocale?Jc[t].set(gs(Jc[t]._config,e)):(null!=(o=el(t))&&(n=o._config),e=gs(n,e),null==o&&(e.abbr=t),(r=new ms(e)).parentLocale=Jc[t],Jc[t]=r),rl(t)}else null!=Jc[t]&&(null!=Jc[t].parentLocale?(Jc[t]=Jc[t].parentLocale,t===rl()&&rl(t)):null!=Jc[t]&&delete Jc[t]);return Jc[t]},Ta.locales=function(){return hs(Jc)},Ta.weekdaysShort=function(t,e,r){return Ou(t,e,r,"weekdaysShort")},Ta.normalizeUnits=Ms,Ta.relativeTimeRounding=function(t){return void 0===t?Zu:"function"==typeof t&&(Zu=t,!0)},Ta.relativeTimeThreshold=function(t,e){return void 0!==Tu[t]&&(void 0===e?Tu[t]:(Tu[t]=e,"s"===t&&(Tu.ss=e-1),!0))},Ta.calendarFormat=function(t,e){var r=t.diff(e,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"},Ta.prototype=yu,Ta.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,(Vu=t.Period||(t.Period={})).DAY="DAY",Vu.WEEK="WEEK",Vu.MONTH="MONTH";const Xu=ft`
185
+ os.version="2.29.4",ts=Dl,os.fn=Eu,os.min=function(){return _l("isBefore",[].slice.call(arguments,0))},os.max=function(){return _l("isAfter",[].slice.call(arguments,0))},os.now=function(){return Date.now?Date.now():+new Date},os.utc=hs,os.unix=function(t){return Dl(1e3*t)},os.months=function(t,e){return Wu(t,e,"months")},os.isDate=ls,os.locale=dl,os.invalid=ys,os.duration=Vl,os.isMoment=Os,os.weekdays=function(t,e,o){return Lu(t,e,o,"weekdays")},os.parseZone=function(){return Dl.apply(null,arguments).parseZone()},os.localeData=yl,os.isDuration=Hl,os.monthsShort=function(t,e){return Wu(t,e,"monthsShort")},os.weekdaysMin=function(t,e,o){return Lu(t,e,o,"weekdaysMin")},os.defineLocale=pl,os.updateLocale=function(t,e){if(null!=e){var o,r,n=sl;null!=cl[t]&&null!=cl[t].parentLocale?cl[t].set(Rs(cl[t]._config,e)):(null!=(r=hl(t))&&(n=r._config),e=Rs(n,e),null==r&&(e.abbr=t),(o=new Is(e)).parentLocale=cl[t],cl[t]=o),dl(t)}else null!=cl[t]&&(null!=cl[t].parentLocale?(cl[t]=cl[t].parentLocale,t===dl()&&dl(t)):null!=cl[t]&&delete cl[t]);return cl[t]},os.locales=function(){return xs(cl)},os.weekdaysShort=function(t,e,o){return Lu(t,e,o,"weekdaysShort")},os.normalizeUnits=Hs,os.relativeTimeRounding=function(t){return void 0===t?ef:"function"==typeof t&&(ef=t,!0)},os.relativeTimeThreshold=function(t,e){return void 0!==of[t]&&(void 0===e?of[t]:(of[t]=e,"s"===t&&(of.ss=e-1),!0))},os.calendarFormat=function(t,e){var o=t.diff(e,"days",!0);return o<-6?"sameElse":o<-1?"lastWeek":o<0?"lastDay":o<1?"sameDay":o<2?"nextDay":o<7?"nextWeek":"sameElse"},os.prototype=Eu,os.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,(cf=t.Period||(t.Period={})).DAY="DAY",cf.WEEK="WEEK",cf.MONTH="MONTH";const uf=ft`
186
186
  .sessions-chart {
187
187
  height: 100%;
188
188
  width: 100%;
189
189
  }
190
- `;var Qu=function(t,e,r,o){for(var n,i=arguments.length,a=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,r,a):n(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};null==window.echarts&&console.warn("Echarts is not available"),t.FtChart=class extends Sn{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 Vt`
190
+ `;var ff=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};null==window.echarts&&console.warn("Echarts is not available"),t.FtChart=class extends kn{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`
191
191
  <div class="sessions-chart"></div>
192
- `}firstUpdated(t){var e;super.firstUpdated(t),this.myChart=null===(e=window.echarts)||void 0===e?void 0:e.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 e=this.getOptions();e&&this.myChart&&this.myChart.setOption(e)}getOptions(){const e=this;return{tooltip:{axisPointer:{type:"shadow",shadowStyle:{color:e.hoverColor}},trigger:"axis",formatter:t=>e.getTooltip(t),backgroundColor:e.tooltipBackgroundColor,borderColor:e.tooltipBorderColor,textStyle:{color:e.tooltipTextColor},borderRadius:e.tooltipBorderRadius},grid:{left:"80px",right:"100px",top:"50px",bottom:"20px"},xAxis:{type:"category",name:this.xAxisName.toUpperCase(),axisTick:{alignWithLabel:!0},axisLabel:{formatter:r=>e.period===t.Period.DAY||e.period===t.Period.WEEK?Ta.utc(1e3*r).format("DD MMM YYYY"):(e.period,t.Period.MONTH,Ta.utc(1e3*r).format("MMMM YYYY"))}},yAxis:{type:"value",name:this.yAxisName.toUpperCase()},color:this.graphColor,series:this.getSeries()}}getTooltip(e){const r=Ta.utc(1e3*e[0].data.value[0]),o=e.map((t=>t.data.value[1]));let n,i,a="";switch(this.period){case t.Period.DAY:n=r.format("DD MMM YYYY"),i="on",this.isThisPeriod(r,t.Period.DAY)&&(a=" so far");break;case t.Period.WEEK:n=r.format("DD MMM YYYY"),i="during the week of",this.isThisPeriod(r,t.Period.WEEK)&&(a=" so far");break;case t.Period.MONTH:i="in",n=r.format("MMMM YYYY"),this.isThisPeriod(r,t.Period.MONTH)&&(a=" so far")}let s="";for(let t=0;t<o.length;t++){let e=this.valueLabels?this.valueLabels[t]:this.yAxisName,r=this.valueLabelsSingular?this.valueLabelsSingular[t]:e;const c=1===o[t]?r:e;s+=`${o[t].toLocaleString()} ${c} ${i} ${n}${a}</br>`}return s.substring(0,s.length-5)}isThisPeriod(e,r,o=Ta.utc()){switch(r){case t.Period.DAY:return e.format("YYYY-MM-DD")===o.clone().startOf("day").format("YYYY-MM-DD");case t.Period.WEEK:return e.clone().startOf("isoWeek").format("YYYY-MM-DD")===o.clone().startOf("isoWeek").format("YYYY-MM-DD");case t.Period.MONTH:return e.month()===o.month()&&e.year()===o.year()}return!1}getSeries(){if(0==this.data.length)return[];const t=this.data[0].length-1;if(0==t)return[];let e=[];for(let r=0;r<t;r++)e[r]={type:this.barChart?"bar":"line",data:this.getData(r)};return e}getData(t){return this.data.map((e=>this.isThisPeriod(Ta.unix(e[0]),this.period)?{value:[e[0],e[t+1]],itemStyle:{opacity:.5}}:{value:[e[0],e[t+1]]}))}},t.FtChart.styles=Xu,Qu([Se({type:String})],t.FtChart.prototype,"xAxisName",void 0),Qu([Se({type:String})],t.FtChart.prototype,"yAxisName",void 0),Qu([Se({type:String})],t.FtChart.prototype,"graphColor",void 0),Qu([Se({type:String})],t.FtChart.prototype,"hoverColor",void 0),Qu([Se({type:String})],t.FtChart.prototype,"tooltipBackgroundColor",void 0),Qu([Se({type:String})],t.FtChart.prototype,"tooltipBorderColor",void 0),Qu([Se({type:String})],t.FtChart.prototype,"tooltipTextColor",void 0),Qu([Se({type:String})],t.FtChart.prototype,"tooltipBorderRadius",void 0),Qu([lr(void 0)],t.FtChart.prototype,"valueLabels",void 0),Qu([lr(void 0)],t.FtChart.prototype,"valueLabelsSingular",void 0),Qu([Se({type:Boolean})],t.FtChart.prototype,"barChart",void 0),Qu([Se({type:String})],t.FtChart.prototype,"period",void 0),Qu([lr([])],t.FtChart.prototype,"data",void 0),Qu([Ne(".sessions-chart")],t.FtChart.prototype,"container",void 0),t.FtChart=Qu([cr("ft-chart")],t.FtChart),cr("ft-chart")(t.FtChart),t.styles=Xu}({});
192
+ `}firstUpdated(t){var e;super.firstUpdated(t),this.myChart=null===(e=window.echarts)||void 0===e?void 0:e.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 e=this.getOptions();e&&this.myChart&&this.myChart.setOption(e)}getOptions(){const e=this;return{tooltip:{axisPointer:{type:"shadow",shadowStyle:{color:e.hoverColor}},trigger:"axis",formatter:t=>e.getTooltip(t),backgroundColor:e.tooltipBackgroundColor,borderColor:e.tooltipBorderColor,textStyle:{color:e.tooltipTextColor},borderRadius:e.tooltipBorderRadius},grid:{left:"80px",right:"100px",top:"50px",bottom:"20px"},xAxis:{type:"category",name:this.xAxisName.toUpperCase(),axisTick:{alignWithLabel:!0},axisLabel:{formatter:o=>e.period===t.Period.DAY||e.period===t.Period.WEEK?os.utc(1e3*o).format("DD MMM YYYY"):(e.period,t.Period.MONTH,os.utc(1e3*o).format("MMMM YYYY"))}},yAxis:{type:"value",name:this.yAxisName.toUpperCase()},color:this.graphColor,series:this.getSeries()}}getTooltip(e){const o=os.utc(1e3*e[0].data.value[0]),r=e.map((t=>t.data.value[1]));let n,i,a="";switch(this.period){case t.Period.DAY:n=o.format("DD MMM YYYY"),i="on",this.isThisPeriod(o,t.Period.DAY)&&(a=" so far");break;case t.Period.WEEK:n=o.format("DD MMM YYYY"),i="during the week of",this.isThisPeriod(o,t.Period.WEEK)&&(a=" so far");break;case t.Period.MONTH:i="in",n=o.format("MMMM YYYY"),this.isThisPeriod(o,t.Period.MONTH)&&(a=" so far")}let s="";for(let t=0;t<r.length;t++){let e=this.valueLabels?this.valueLabels[t]:this.yAxisName,o=this.valueLabelsSingular?this.valueLabelsSingular[t]:e;const c=1===r[t]?o:e;s+=`${r[t].toLocaleString()} ${c} ${i} ${n}${a}</br>`}return s.substring(0,s.length-5)}isThisPeriod(e,o,r=os.utc()){switch(o){case t.Period.DAY:return e.format("YYYY-MM-DD")===r.clone().startOf("day").format("YYYY-MM-DD");case t.Period.WEEK:return e.clone().startOf("isoWeek").format("YYYY-MM-DD")===r.clone().startOf("isoWeek").format("YYYY-MM-DD");case t.Period.MONTH:return e.month()===r.month()&&e.year()===r.year()}return!1}getSeries(){if(0==this.data.length)return[];const t=this.data[0].length-1;if(0==t)return[];let e=[];for(let o=0;o<t;o++)e[o]={type:this.barChart?"bar":"line",data:this.getData(o)};return e}getData(t){return this.data.map((e=>this.isThisPeriod(os.unix(e[0]),this.period)?{value:[e[0],e[t+1]],itemStyle:{opacity:.5}}:{value:[e[0],e[t+1]]}))}},t.FtChart.styles=uf,ff([Se({type:String})],t.FtChart.prototype,"xAxisName",void 0),ff([Se({type:String})],t.FtChart.prototype,"yAxisName",void 0),ff([Se({type:String})],t.FtChart.prototype,"graphColor",void 0),ff([Se({type:String})],t.FtChart.prototype,"hoverColor",void 0),ff([Se({type:String})],t.FtChart.prototype,"tooltipBackgroundColor",void 0),ff([Se({type:String})],t.FtChart.prototype,"tooltipBorderColor",void 0),ff([Se({type:String})],t.FtChart.prototype,"tooltipTextColor",void 0),ff([Se({type:String})],t.FtChart.prototype,"tooltipBorderRadius",void 0),ff([lo(void 0)],t.FtChart.prototype,"valueLabels",void 0),ff([lo(void 0)],t.FtChart.prototype,"valueLabelsSingular",void 0),ff([Se({type:Boolean})],t.FtChart.prototype,"barChart",void 0),ff([Se({type:String})],t.FtChart.prototype,"period",void 0),ff([lo([])],t.FtChart.prototype,"data",void 0),ff([xe(".sessions-chart")],t.FtChart.prototype,"container",void 0),t.FtChart=ff([co("ft-chart")],t.FtChart),co("ft-chart")(t.FtChart),t.styles=uf}({});