@fluid-topics/ft-chart 1.1.60 → 1.1.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-chart.min.js +22 -23
- package/package.json +3 -3
package/build/ft-chart.min.js
CHANGED
|
@@ -12,24 +12,23 @@
|
|
|
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,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 b=(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}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(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(m(Element,"innerHTML"),m(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(Cn){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)}}}!function(){if("undefined"!=typeof document&&!("adoptedStyleSheets"in document)){var t="ShadyCSS"in window&&!ShadyCSS.nativeShadow,e=document.implementation.createHTMLDocument(""),o=new WeakMap,r="object"==typeof DOMException?Error:DOMException,n=Object.defineProperty,i=Array.prototype.forEach,a=/@import.+?;?$/gm,s=CSSStyleSheet.prototype;s.replace=function(){return Promise.reject(new r("Can't call replace on non-constructed CSSStyleSheets."))},s.replaceSync=function(){throw new r("Failed to execute 'replaceSync' on 'CSSStyleSheet': Can't call replaceSync on non-constructed CSSStyleSheets.")};var c=new WeakMap,l=new WeakMap,u=new WeakMap,f=new WeakMap,h=R.prototype;h.replace=function(t){try{return this.replaceSync(t),Promise.resolve(this)}catch(t){return Promise.reject(t)}},h.replaceSync=function(t){if(E(this),"string"==typeof t){var e=this;c.get(e).textContent=function(t){var e=t.replace(a,"");return e!==t&&console.warn("@import rules are not allowed here. See https://github.com/WICG/construct-stylesheets/issues/119#issuecomment-588352418"),e.trim()}(t),f.set(e,[]),l.get(e).forEach((function(t){t.isConnected()&&C(e,N(e,t))}))}},n(h,"cssRules",{configurable:!0,enumerable:!0,get:function(){return E(this),c.get(this).sheet.cssRules}}),n(h,"media",{configurable:!0,enumerable:!0,get:function(){return E(this),c.get(this).sheet.media}}),["addRule","deleteRule","insertRule","removeRule"].forEach((function(t){h[t]=function(){var e=this;E(e);var o=arguments;f.get(e).push({method:t,args:o}),l.get(e).forEach((function(r){if(r.isConnected()){var n=N(e,r).sheet;n[t].apply(n,o)}}));var r=c.get(e).sheet;return r[t].apply(r,o)}})),n(R,Symbol.hasInstance,{configurable:!0,value:w});var d={childList:!0,subtree:!0},p=new WeakMap,y=new WeakMap,g=new WeakMap,b=new WeakMap;if(D.prototype={isConnected:function(){var t=y.get(this);return t instanceof Document?"loading"!==t.readyState:function(t){return"isConnected"in t?t.isConnected:document.contains(t)}(t.host)},connect:function(){var t=W(this);b.get(this).observe(t,d),g.get(this).length>0&&L(this),k(t,(function(t){I(t).connect()}))},disconnect:function(){b.get(this).disconnect()},update:function(t){var e=this,o=y.get(e)===document?"Document":"ShadowRoot";if(!Array.isArray(t))throw new TypeError("Failed to set the 'adoptedStyleSheets' property on "+o+": Iterator getter is not callable.");if(!t.every(w))throw new TypeError("Failed to set the 'adoptedStyleSheets' property on "+o+": Failed to convert value to 'CSSStyleSheet'");if(t.some(x))throw new TypeError("Failed to set the 'adoptedStyleSheets' property on "+o+": Can't adopt non-constructed stylesheets");e.sheets=t;var r,n,i=g.get(e),a=(r=t).filter((function(t,e){return r.indexOf(t)===e}));(n=a,i.filter((function(t){return-1===n.indexOf(t)}))).forEach((function(t){var o;(o=N(t,e)).parentNode.removeChild(o),function(t,e){u.get(t).delete(e),l.set(t,l.get(t).filter((function(t){return t!==e})))}(t,e)})),g.set(e,a),e.isConnected()&&a.length>0&&L(e)}},window.CSSStyleSheet=R,M(Document),"ShadowRoot"in window){M(ShadowRoot);var m=Element.prototype,v=m.attachShadow;m.attachShadow=function(t){var e=v.call(this,t);return"closed"===t.mode&&o.set(this,e),e}}var S=I(document);S.isConnected()?S.connect():document.addEventListener("DOMContentLoaded",S.connect.bind(S))}function O(t){return t.shadowRoot||o.get(t)}function w(t){return"object"==typeof t&&(h.isPrototypeOf(t)||s.isPrototypeOf(t))}function x(t){return"object"==typeof t&&s.isPrototypeOf(t)}function N(t,e){return u.get(t).get(e)}function C(t,e){requestAnimationFrame((function(){e.textContent=c.get(t).textContent,f.get(t).forEach((function(t){return e.sheet[t.method].apply(e.sheet,t.args)}))}))}function E(t){if(!c.has(t))throw new TypeError("Illegal invocation")}function R(){var t=this,o=document.createElement("style");e.body.appendChild(o),c.set(t,o),l.set(t,[]),u.set(t,new WeakMap),f.set(t,[])}function I(t){var e=p.get(t);return e||(e=new D(t),p.set(t,e)),e}function M(t){n(t.prototype,"adoptedStyleSheets",{configurable:!0,enumerable:!0,get:function(){return I(this).sheets},set:function(t){I(this).update(t)}})}function k(t,e){for(var o=document.createNodeIterator(t,NodeFilter.SHOW_ELEMENT,(function(t){return O(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}),null,!1),r=void 0;r=o.nextNode();)e(O(r))}function W(t){var e=y.get(t);return e instanceof Document?e.body:e}function L(t){var e=document.createDocumentFragment(),o=g.get(t),r=b.get(t),n=W(t);r.disconnect(),o.forEach((function(o){e.appendChild(N(o,t)||function(t,e){var o=document.createElement("style");return u.get(t).set(e,o),l.get(t).push(e),o}(o,t))})),n.insertBefore(e,null),r.observe(n,d),o.forEach((function(e){C(e,N(e,t))}))}function D(e){var o=this;o.sheets=[],y.set(o,e),g.set(o,[]),b.set(o,new MutationObserver((function(e,r){document?e.forEach((function(e){t||i.call(e.addedNodes,(function(t){t instanceof Element&&k(t,(function(t){I(t).connect()}))})),i.call(e.removedNodes,(function(e){e instanceof Element&&(function(t,e){return e instanceof HTMLStyleElement&&g.get(t).some((function(e){return N(e,t)}))}(o,e)&&L(o),t||k(e,(function(t){I(t).disconnect()})))}))})):r.disconnect()})))}}();
|
|
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 b=(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}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(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(m(Element,"innerHTML"),m(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(Cn){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
|
-
*/
|
|
21
|
-
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
|
|
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
|
|
22
21
|
/**
|
|
23
22
|
* @license
|
|
24
23
|
* Copyright 2017 Google LLC
|
|
25
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
26
|
-
*/,{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,b=(t,e)=>t,m={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),
|
|
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,b=(t,e)=>t,m={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:m,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(b("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(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("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:m).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:m;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[b("elementProperties")]=new Map,S[b("finalized")]=new Map,g?.({ReactiveElement:S}),(d.reactiveElementVersions??=[]).push("2.0.2");
|
|
27
26
|
/**
|
|
28
27
|
* @license
|
|
29
28
|
* Copyright 2017 Google LLC
|
|
30
29
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
31
30
|
*/
|
|
32
|
-
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,k=()=>M.createComment(""),W=t=>null===t||"object"!=typeof t&&"function"!=typeof t,L=Array.isArray,D=t=>L(t)||"function"==typeof t?.[Symbol.iterator],U="[ \t\n\f\r]",_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
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,k=()=>M.createComment(""),W=t=>null===t||"object"!=typeof t&&"function"!=typeof t,L=Array.isArray,D=t=>L(t)||"function"==typeof t?.[Symbol.iterator],U="[ \t\n\f\r]",_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Y=/-->/g,F=/>/g,A=RegExp(`>|${U}(?:([^\\s"'>=/]+)(${U}*=${U}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),H=/'/g,z=/"/g,B=/^(?:script|style|textarea|title)$/i,Z=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),P=new WeakMap,K=M.createTreeWalker(M,129);function $(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=(t,e)=>{const o=t.length-1,r=[];let n,i=2===e?"<svg>":"",a=_;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===_?"!--"===c[1]?a=Y:void 0!==c[1]?a=F:void 0!==c[2]?(B.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=A):void 0!==c[3]&&(a=A):a===A?">"===c[0]?(a=n??_,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===Y||a===F?a=_:(a=A,n=void 0);const f=a===A&&t[e+1].startsWith("/>")?" ":"";i+=a===_?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,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]=T(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(B.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],k()),K.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 o=M.createElement("template");return o.innerHTML=t,o}};function V(t,e,o=t,r){if(e===Z)return e;let n=void 0!==r?o._$Co?.[r]:o._$Cl;const i=W(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=j,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),W(t)?t===j||null==t||""===t?(this._$AH!==j&&this._$AR(),this._$AH=j):t!==this._$AH&&t!==Z&&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!==j&&W(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($(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){L(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(k()),this.k(k()),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=j,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=j}_$AI(t,e=this,o,r){const n=this.strings;let i=!1;if(void 0===n)t=V(this,t,e,0),i=!W(t)||t!==this._$AH&&t!==Z,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===Z&&(s=this._$AH[a]),i||=!W(s)||s!==this._$AH[a],s===j?t=j:t!==j&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!r&&this.O(t)}O(t){t===j?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===j?void 0:t}},tt=class extends X{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==j)}},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)??j)===Z)return;const o=this._$AH,r=t===j&&o!==j||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==j&&(o===j||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:T,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");
|
|
33
32
|
/**
|
|
34
33
|
* @license
|
|
35
34
|
* Copyright 2019 Google LLC
|
|
@@ -40,13 +39,13 @@ const it=globalThis,at=it.ShadowRoot&&(void 0===it.ShadyCSS||it.ShadyCSS.nativeS
|
|
|
40
39
|
* @license
|
|
41
40
|
* Copyright 2017 Google LLC
|
|
42
41
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
43
|
-
*/,{is:pt,defineProperty:yt,getOwnPropertyDescriptor:gt,getOwnPropertyNames:bt,getOwnPropertySymbols:mt,getPrototypeOf:vt}=Object,
|
|
42
|
+
*/,{is:pt,defineProperty:yt,getOwnPropertyDescriptor:gt,getOwnPropertyNames:bt,getOwnPropertySymbols:mt,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=[...bt(t),...mt(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");
|
|
44
43
|
/**
|
|
45
44
|
* @license
|
|
46
45
|
* Copyright 2017 Google LLC
|
|
47
46
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
48
47
|
*/
|
|
49
|
-
const Mt=globalThis,kt=Mt.trustedTypes,Wt=kt?kt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Lt="$lit$",Dt=`lit$${(Math.random()+"").slice(9)}$`,Ut="?"+Dt,_t=`<${Ut}>`,
|
|
48
|
+
const Mt=globalThis,kt=Mt.trustedTypes,Wt=kt?kt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Lt="$lit$",Dt=`lit$${(Math.random()+"").slice(9)}$`,Ut="?"+Dt,_t=`<${Ut}>`,Yt=document,Ft=()=>Yt.createComment(""),At=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Ht=Array.isArray,zt=t=>Ht(t)||"function"==typeof t?.[Symbol.iterator],Bt="[ \t\n\f\r]",Zt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,jt=/-->/g,Pt=/>/g,Kt=RegExp(`>|${Bt}(?:([^\\s"'>=/]+)(${Bt}*=${Bt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),$t=/'/g,Tt=/"/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=Yt.createTreeWalker(Yt,129);function oe(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Wt?Wt.createHTML(e):e}const re=(t,e)=>{const o=t.length-1,r=[];let n,i=2===e?"<svg>":"",a=Zt;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===Zt?"!--"===c[1]?a=jt: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??Zt,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]?Tt:$t):a===Tt||a===$t?a=Kt:a===jt||a===Pt?a=Zt:(a=Kt,n=void 0);const f=a===Kt&&t[e+1].startsWith("/>")?" ":"";i+=a===Zt?o+_t:l>=0?(r.push(s),o.slice(0,l)+Lt+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(Lt)){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=kt?kt.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=Yt.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??Yt).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=Yt,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.$(Yt.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:Lt,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
|
|
50
49
|
/**
|
|
51
50
|
* @license
|
|
52
51
|
* Copyright 2017 Google LLC
|
|
@@ -56,12 +55,12 @@ const Mt=globalThis,kt=Mt.trustedTypes,Wt=kt?kt.createPolicy("lit-html",{createH
|
|
|
56
55
|
* @license
|
|
57
56
|
* Copyright 2017 Google LLC
|
|
58
57
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
59
|
-
*/const ve={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v},
|
|
58
|
+
*/const ve={attribute:!0,type:String,converter:m,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)};
|
|
60
59
|
/**
|
|
61
60
|
* @license
|
|
62
61
|
* Copyright 2017 Google LLC
|
|
63
62
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
64
|
-
*/function
|
|
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)
|
|
65
64
|
/**
|
|
66
65
|
* @license
|
|
67
66
|
* Copyright 2017 Google LLC
|
|
@@ -88,7 +87,7 @@ const we=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
|
|
|
88
87
|
* Copyright 2017 Google LLC
|
|
89
88
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
90
89
|
*/
|
|
91
|
-
function(t){return(e,o)=>{const r="function"==typeof e?e:e[o];Object.assign(r,t)}},property:
|
|
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)}})
|
|
92
91
|
/**
|
|
93
92
|
* @license
|
|
94
93
|
* Copyright 2017 Google LLC
|
|
@@ -104,7 +103,7 @@ function(t){return(e,o)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
|
|
|
104
103
|
* @license
|
|
105
104
|
* Copyright 2017 Google LLC
|
|
106
105
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
107
|
-
*/,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:
|
|
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})}});
|
|
108
107
|
/**
|
|
109
108
|
* @license
|
|
110
109
|
* Copyright 2017 Google LLC
|
|
@@ -114,36 +113,36 @@ function(t){return(e,o)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
|
|
|
114
113
|
* @license
|
|
115
114
|
* Copyright 2020 Google LLC
|
|
116
115
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
117
|
-
*/const{D:ke}=rt,We=()=>document.createComment(""),Le=(t,e,o)=>{const r=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=r.insertBefore(We(),n),i=r.insertBefore(We(),n);o=new ke(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={},_e=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}},
|
|
116
|
+
*/const{D:ke}=rt,We=()=>document.createComment(""),Le=(t,e,o)=>{const r=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=r.insertBefore(We(),n),i=r.insertBefore(We(),n);o=new ke(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={},_e=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}},Ye=(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]),Le(t,c[p+1],n[f]),f++,p--;else if(s[h]===a[d])c[d]=De(n[h],i[d]),Le(t,n[f],n[h]),h--,d++;else if(void 0===l&&(l=Ye(a,d,p),u=Ye(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=Le(t,n[f]);De(e,i[d]),c[d]=e}else c[d]=De(o,i[d]),Le(t,n[f],o),n[e]=null;d++}else _e(n[h]),h--;else _e(n[f]),f++;for(;d<=p;){const e=Le(t,c[p+1]);De(e,i[d]),c[d++]=e}for(;f<=h;){const t=n[f++];null!==t&&_e(t)}return this.dt=a,((t,e=Ue)=>{t._$AH=e})(t,c),Z}});
|
|
118
117
|
/**
|
|
119
118
|
* @license
|
|
120
119
|
* Copyright 2017 Google LLC
|
|
121
120
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
122
|
-
*/var Ae=Object.freeze({__proto__:null,repeat:
|
|
121
|
+
*/var Ae=Object.freeze({__proto__:null,repeat:Fe});
|
|
123
122
|
/**
|
|
124
123
|
* @license
|
|
125
124
|
* Copyright 2018 Google LLC
|
|
126
125
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
127
|
-
*/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
|
|
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 Z}});var ze=Object.freeze({__proto__:null,classMap:He});
|
|
128
127
|
/**
|
|
129
128
|
* @license
|
|
130
129
|
* Copyright 2018 Google LLC
|
|
131
130
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
132
|
-
*/const Be="important",
|
|
131
|
+
*/const Be="important",Ze=" !"+Be,je=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(Ze);t.includes("-")||e?o.setProperty(t,e?r.slice(0,-11):r,e?Be:""):o[t]=r}}return Z}});var Pe=Object.freeze({__proto__:null,styleMap:je});
|
|
133
132
|
/**
|
|
134
133
|
* @license
|
|
135
134
|
* Copyright 2017 Google LLC
|
|
136
135
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
137
|
-
*/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===j)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,e){var o,r;let n=(null!==(r=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==r?r:null==t?void 0:t.topic).metadata.map((t=>Qe.flattenMetadata(t)));return null==e?n:n.find((t=>t.key===e))}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,label:t.label,value:e.join(", "),displayValue:o.join(", ")}}{const e=t.values.join(", ");return{key:t.key,label:t.label,value:e,displayValue:e}}}computeClustersItemsForMetadata(t,e,o="No value"){var r,n;let i=Qe.extractResultMetadata(this.selectedResult,t),a=null!==(r=null==i?void 0:i.label)&&void 0!==r?r:null===(n=this.getMetadataDescriptor(t))||void 0===n?void 0:n.label;const s=this.allResults.map((e=>Qe.extractResultMetadata(e,t))).map((e=>null!=e?e:{key:t,label:a,value:void 0,displayValue:o})).filter((t=>t.value!=(null==i?void 0:i.value))).filter(((t,e,o)=>o.findIndex((e=>e.value===t.value))===e));return s.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){if(null==t)return-1;if(null==e)return 1;let n=this.getMetadataDescriptor(o),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}getMetadataDescriptor(t){return this.metadataDescriptors.find((e=>t==e.key))}findBestResultForMetadataValue(t,e){const o=this.allResults.filter((o=>{var r;return(null===(r=Qe.extractResultMetadata(o,t))||void 0===r?void 0:r.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 Oe({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 Oe({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)")},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")},bo={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")},mo={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")},So={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")},Oo={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")},ko={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")},Wo={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")},Lo={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")},_o={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")},Fo={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")},Yo={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")},Bo={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")},jo={display:go,"title-1":bo,"title-2":mo,"title-3":vo,"body-1-regular":So,"body-1-medium":Oo,"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":ko,"label-2-semibold":Wo,"label-2-bold":Lo,"caption-1-medium":Do,"caption-1-semibold":Uo,"caption-1-bold":_o,"caption-2-medium":Fo,"caption-2-semibold":Yo,"caption-2-bold":Ao,"caption-3-medium":Ho,"caption-3-semibold":zo,"caption-3-bold":Bo},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={horizontalGap:po.extend("--ft-breadcrumb-horizontal-gap","",yo.spacing1),verticalGap:po.extend("--ft-breadcrumb-vertical-gap","",yo.spacing2),currentElementColor:po.extend("--ft-breadcrumb-current-element-color","",Zo.contentGlobalPrimary),iconColor:po.extend("--ft-breadcrumb-icon-color","",Zo.contentGlobalSubtle)},$o={horizontalPadding:po.extend("--ft-page-header-horizontal-padding","",yo.spacing12),horizontalGap:po.extend("--ft-page-header-horizontal-gap","",yo.spacing4),verticalGap:po.extend("--ft-page-header-vertical-gap","",yo.spacing2),classicVerticalPadding:po.extend("--ft-page-header-classic-vertical-padding","",yo.spacing6),multilineVerticalPadding:po.extend("--ft-page-header-multiline-vertical-padding","",yo.spacing4),inlineVerticalPadding:po.extend("--ft-page-header-inline-vertical-padding","",yo.spacing2),backgroundColor:po.extend("--ft-page-header-background-color","",yo.colorWhite),bottomBorderColor:po.extend("--ft-page-header-bottom-border-color","",Zo.borderGlobalSubtle),titleColor:po.extend("--ft-page-header-title-color","",Zo.contentGlobalPrimary),subtitleColor:po.extend("--ft-page-header-subtitle-color","",Zo.contentGlobalSecondary)},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={overlayOpacity:po.extend("--ft-drawer-overlay-opacity","",yo.opacity40),shadow:po.extend("--ft-drawer-shadow","",yo.shadowElevation03),bodyColor:po.extend("--ft-drawer-body-color","",Zo.contentGlobalPrimary),bodyHorizontalPadding:po.extend("--ft-drawer-body-horizontal-padding","",yo.spacing6),bodyVerticalPadding:po.extend("--ft-drawer-body-vertical-padding","",yo.spacing6),bodyGap:po.extend("--ft-drawer-body-gap","",yo.spacing6),bodyBackgroundColor:po.extend("--ft-drawer-body-background-color","",yo.colorWhite),headerBackgroundColor:po.extend("--ft-drawer-header-background-color","",Zo.backgroundGlobalOnSurface),headerBorderColor:po.extend("--ft-drawer-header-border-color","",Zo.borderGlobalSubtle),headerColor:po.extend("--ft-drawer-header-color","",Zo.contentGlobalPrimary),headerTrailingIconColor:po.extend("--ft-drawer-header-trailing-icon-color","",Zo.contentGlobalSecondary),headerHeight:po.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:po.extend("--ft-drawer-header-horizontal-padding","",yo.spacing2),headerBorderWidth:po.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:po.extend("--ft-drawer-header-gap","",yo.spacing3),buttonsBarBackgroundColor:po.extend("--ft-drawer-buttons-bar-background-color","",Zo.backgroundGlobalOnSurface),buttonsBarBorderColor:po.extend("--ft-drawer-buttons-bar-border-color","",Zo.borderGlobalSubtle),buttonsBarColor:po.extend("--ft-drawer-buttons-bar-color","",Zo.contentGlobalPrimary),buttonsBarHorizontalPadding:po.extend("--ft-drawer-buttons-bar-horizontal-padding","",yo.spacing4),buttonsBarVerticalPadding:po.extend("--ft-drawer-buttons-bar-vertical-padding","",yo.spacing4),buttonsBarGap:po.extend("--ft-drawer-buttons-bar-gap","",yo.spacing3),buttonsBarBorderWidth:po.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:po.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:po.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:po.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:po.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:po.extend("--ft-drawer-overlay-background-color","",yo.colorGray700)},qo={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)},Jo={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)},Xo={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)},Qo={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)},tr={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)},er={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)},or={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)},rr={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)},nr={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)},ir={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)},ar={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)},sr={infoBorderColor:po.extend("--ft-border-info-border-color","",Zo.borderInfoSubtle)},cr={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),errorBackgroundColor:po.extend("--ft-notice-error-background-color","",Zo.backgroundErrorSubtle),errorBorderColor:po.extend("--ft-notice-error-border-color","",Zo.borderErrorSubtle),errorColor:po.extend("--ft-notice-error-color","",Zo.contentErrorPrimary),errorIconColor:po.extend("--ft-notice-error-icon-color","",Zo.contentErrorIconOnly),successBackgroundColor:po.extend("--ft-notice-success-background-color","",Zo.backgroundSuccessSubtle),successBorderColor:po.extend("--ft-notice-success-border-color","",Zo.borderSuccessSubtle),successColor:po.extend("--ft-notice-success-color","",Zo.contentSuccessPrimary),successIconColor:po.extend("--ft-notice-success-icon-color","",Zo.contentSuccessIconOnly)},lr={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)},ur={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)},fr={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)},hr={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)},dr={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 pr=Object.freeze({__proto__:null,FtCssVariableFactory:po,banner:Ko,border:sr,breadcrumb:To,button:Po,chart:ir,checkbox:lr,chip:ar,collapsible:rr,comboboxMultiSelect:tr,comboboxSingleSelect:Qo,drawer:Vo,floatingMenu:Xo,foundation:yo,modal:Go,notice:cr,notification:hr,pageHeader:$o,popover:er,radio:fr,semantic:Zo,setVariable:function(t,e){return ho(`${t.name}: ${e}`)},switch_:nr,tabs:or,textArea:Jo,textInput:qo,toggle:ur,tooltip:dr,typographies:jo,typographyBody1Medium:Oo,typographyBody1Regular:So,typographyBody1Semibold:wo,typographyBody2Medium:No,typographyBody2MediumUnderline:Co,typographyBody2Regular:xo,typographyBody2Semibold:Eo,typographyCaption1Bold:_o,typographyCaption1Medium:Do,typographyCaption1Semibold:Uo,typographyCaption2Bold:Ao,typographyCaption2Medium:Fo,typographyCaption2Semibold:Yo,typographyCaption3Bold:Bo,typographyCaption3Medium:Ho,typographyCaption3Semibold:zo,typographyDisplay:go,typographyLabel1Bold:Mo,typographyLabel1Medium:Ro,typographyLabel1Semibold:Io,typographyLabel2Bold:Lo,typographyLabel2Medium:ko,typographyLabel2Semibold:Wo,typographyTitle1:bo,typographyTitle2:mo,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 yr={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 gr=Object.freeze({__proto__:null,designSystemVariables:yr});class br 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 vr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var Sr=Object.freeze({__proto__:null,FtNotificationEvent:br,PostResizeEvent:vr,PreResizeEvent:mr});const Or=["start","end"],wr=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Or[0],e+"-"+Or[1])),[]),xr=Math.min,Nr=Math.max,Cr=Math.round,Er=t=>({x:t,y:t}),Rr={left:"right",right:"left",bottom:"top",top:"bottom"},Ir={start:"end",end:"start"};function Mr(t,e,o){return Nr(t,xr(e,o))}function kr(t,e){return"function"==typeof t?t(e):t}function Wr(t){return t.split("-")[0]}function Lr(t){return t.split("-")[1]}function Dr(t){return"x"===t?"y":"x"}function Ur(t){return"y"===t?"height":"width"}function _r(t){return["top","bottom"].includes(Wr(t))?"y":"x"}function Fr(t){return Dr(_r(t))}function Yr(t){return t.replace(/left|right|bottom|top/g,(t=>Rr[t]))}function Ar(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Hr(t,e,o){let{reference:r,floating:n}=t;const i=_r(e),a=Fr(e),s=Ur(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 zr(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}=kr(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=Ar(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})),b="floating"===f?{...a.floating,x:r,y:n}:a.reference,m=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),v=await(null==i.isElement?void 0:i.isElement(m))&&await(null==i.getScale?void 0:i.getScale(m))||{x:1,y:1},S=Ar(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(g.top-S.top+p.top)/v.y,bottom:(S.bottom-g.bottom+p.bottom)/v.y,left:(g.left-S.left+p.left)/v.x,right:(S.right-g.right+p.right)/v.x}}function Br(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=>Ir[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=wr,autoAlignment:d=!0,...p}=kr(t,e),y=void 0!==f||h===wr?Br(f||null,d,h):h,g=await zr(e,p),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const r=Lr(t),n=Fr(t),i=Ur(n);let a="x"===n?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[i]>e.floating[i]&&(a=Yr(a)),[a,Yr(a)]}(m,i,await(null==c.isRTL?void 0:c.isRTL(l.floating)));if(s!==m)return{reset:{placement:y[0]}};const S=[g[Wr(m)],g[v[0]],g[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:S}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const x=O.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:b+1,overflows:O},reset:{placement:C}}:{}}}};function Zr(t){return Tr(t)?(t.nodeName||"").toLowerCase():"#document"}function Pr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Kr(t){var e;return null==(e=(Tr(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Tr(t){return t instanceof Node||t instanceof Pr(t).Node}function $r(t){return t instanceof Element||t instanceof Pr(t).Element}function Gr(t){return t instanceof HTMLElement||t instanceof Pr(t).HTMLElement}function Vr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Pr(t).ShadowRoot)}function qr(t){const{overflow:e,overflowX:o,overflowY:r,display:n}=en(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(n)}function Jr(t){return["table","td","th"].includes(Zr(t))}function Xr(t){const e=Qr(),o=en(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 Qr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function tn(t){return["html","body","#document"].includes(Zr(t))}function en(t){return Pr(t).getComputedStyle(t)}function on(t){return $r(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function rn(t){if("html"===Zr(t))return t;const e=t.assignedSlot||t.parentNode||Vr(t)&&t.host||Kr(t);return Vr(e)?e.host:e}function nn(t){const e=rn(t);return tn(e)?t.ownerDocument?t.ownerDocument.body:t.body:Gr(e)&&qr(e)?e:nn(e)}function an(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const n=nn(t),i=n===(null==(r=t.ownerDocument)?void 0:r.body),a=Pr(n);return i?e.concat(a,a.visualViewport||[],qr(n)?n:[],a.frameElement&&o?an(a.frameElement):[]):e.concat(n,an(n,[],o))}function sn(t){const e=en(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const n=Gr(t),i=n?t.offsetWidth:o,a=n?t.offsetHeight:r,s=Cr(o)!==i||Cr(r)!==a;return s&&(o=i,r=a),{width:o,height:r,$:s}}function cn(t){return $r(t)?t:t.contextElement}function ln(t){const e=cn(t);if(!Gr(e))return Er(1);const o=e.getBoundingClientRect(),{width:r,height:n,$:i}=sn(e);let a=(i?Cr(o.width):o.width)/r,s=(i?Cr(o.height):o.height)/n;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const un=Er(0);function fn(t){const e=Pr(t);return Qr()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:un}function hn(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const n=t.getBoundingClientRect(),i=cn(t);let a=Er(1);e&&(r?$r(r)&&(a=ln(r)):a=ln(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Pr(t))&&e}(i,o,r)?fn(i):Er(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=Pr(i),e=r&&$r(r)?Pr(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=ln(o),e=o.getBoundingClientRect(),r=en(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=Pr(o).frameElement}}return Ar({width:u,height:f,x:c,y:l})}function dn(t){return hn(Kr(t)).left+on(t).scrollLeft}function pn(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=Pr(t),r=Kr(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=Qr();(!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=Kr(t),o=on(t),r=t.ownerDocument.body,n=Nr(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=Nr(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+dn(t);const s=-o.scrollTop;return"rtl"===en(r).direction&&(a+=Nr(e.clientWidth,r.clientWidth)-n),{width:n,height:i,x:a,y:s}}(Kr(t));else if($r(e))r=function(t,e){const o=hn(t,!0,"fixed"===e),r=o.top+t.clientTop,n=o.left+t.clientLeft,i=Gr(t)?ln(t):Er(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=fn(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return Ar(r)}function yn(t,e){const o=rn(t);return!(o===e||!$r(o)||tn(o))&&("fixed"===en(o).position||yn(o,e))}function gn(t,e,o){const r=Gr(e),n=Kr(e),i="fixed"===o,a=hn(t,!0,i,e);let s={scrollLeft:0,scrollTop:0};const c=Er(0);if(r||!r&&!i)if(("body"!==Zr(e)||qr(n))&&(s=on(e)),r){const t=hn(e,!0,i,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else n&&(c.x=dn(n));return{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function bn(t,e){return Gr(t)&&"fixed"!==en(t).position?e?e(t):t.offsetParent:null}function mn(t,e){const o=Pr(t);if(!Gr(t))return o;let r=bn(t,e);for(;r&&Jr(r)&&"static"===en(r).position;)r=bn(r,e);return r&&("html"===Zr(r)||"body"===Zr(r)&&"static"===en(r).position&&!Xr(r))?o:r||function(t){let e=rn(t);for(;Gr(e)&&!tn(e);){if(Xr(e))return e;e=rn(e)}return null}(t)||o}const vn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const n=Gr(o),i=Kr(o);if(o===i)return e;let a={scrollLeft:0,scrollTop:0},s=Er(1);const c=Er(0);if((n||!n&&"fixed"!==r)&&(("body"!==Zr(o)||qr(i))&&(a=on(o)),Gr(o))){const t=hn(o);s=ln(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:Kr,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=an(t,[],!1).filter((t=>$r(t)&&"body"!==Zr(t))),n=null;const i="fixed"===en(t).position;let a=i?rn(t):t;for(;$r(a)&&!tn(a);){const e=en(a),o=Xr(a);o||"fixed"!==e.position||(n=null),(i?!o&&!n:!o&&"static"===e.position&&n&&["absolute","fixed"].includes(n.position)||qr(a)&&!o&&yn(t,a))?r=r.filter((t=>t!==a)):n=e,a=rn(a)}return e.set(t,r),r}(e,this._c):[].concat(o),r],a=i[0],s=i.reduce(((t,o)=>{const r=pn(e,o,n);return t.top=Nr(r.top,t.top),t.right=xr(r.right,t.right),t.bottom=xr(r.bottom,t.bottom),t.left=Nr(r.left,t.left),t}),pn(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:gn(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 sn(t)},getScale:ln,isElement:$r,isRTL:function(t){return"rtl"===en(t).direction}},Sn=(t,e,o)=>{const r=new Map,n={platform:vn,...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}=Hr(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:b,data:m,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!=b?b:f,d={...d,[i]:{...d[i],...m}},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}=Hr(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=wn(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=wn(t);e;e=wn(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 wn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var xn=Object.freeze({__proto__:null,computeOffsetPosition:async function(t,e,o){return Sn(t,e,{platform:{...vn,getOffsetParent:t=>vn.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}=kr(r,t),l={x:e,y:o},u=await zr(t,c),f=_r(Wr(n)),h=Dr(f);let d=l[h],p=l[f];if(i){const t="y"===h?"bottom":"right";d=Mr(d+u["y"===h?"top":"left"],d,d-u[t])}if(a){const t="y"===f?"bottom":"right";p=Mr(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}});
|
|
136
|
+
*/let Ke=class extends Me{constructor(t){if(super(t),this.et=j,t.type!==Re)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===j||null==t)return this.vt=void 0,this.et=t;if(t===Z)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 $e=Ie(Ke);var Te=Object.freeze({__proto__:null,UnsafeHTMLDirective:Ke,unsafeHTML:$e});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,e){var o,r;let n=(null!==(r=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==r?r:null==t?void 0:t.topic).metadata.map((t=>Qe.flattenMetadata(t)));return null==e?n:n.find((t=>t.key===e))}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,label:t.label,value:e.join(", "),displayValue:o.join(", ")}}{const e=t.values.join(", ");return{key:t.key,label:t.label,value:e,displayValue:e}}}computeClustersItemsForMetadata(t,e,o="No value"){var r,n;let i=Qe.extractResultMetadata(this.selectedResult,t),a=null!==(r=null==i?void 0:i.label)&&void 0!==r?r:null===(n=this.getMetadataDescriptor(t))||void 0===n?void 0:n.label;const s=this.allResults.map((e=>Qe.extractResultMetadata(e,t))).map((e=>null!=e?e:{key:t,label:a,value:void 0,displayValue:o})).filter((t=>t.value!=(null==i?void 0:i.value))).filter(((t,e,o)=>o.findIndex((e=>e.value===t.value))===e));return s.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){if(null==t)return-1;if(null==e)return 1;let n=this.getMetadataDescriptor(o),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}getMetadataDescriptor(t){return this.metadataDescriptors.find((e=>t==e.key))}findBestResultForMetadataValue(t,e){const o=this.allResults.filter((o=>{var r;return(null===(r=Qe.extractResultMetadata(o,t))||void 0===r?void 0:r.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)")},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")},bo={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")},mo={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")},ko={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")},Wo={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")},Lo={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")},_o={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")},Yo={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")},Bo={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")},Zo={display:go,"title-1":bo,"title-2":mo,"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":ko,"label-2-semibold":Wo,"label-2-bold":Lo,"caption-1-medium":Do,"caption-1-semibold":Uo,"caption-1-bold":_o,"caption-2-medium":Yo,"caption-2-semibold":Fo,"caption-2-bold":Ao,"caption-3-medium":Ho,"caption-3-semibold":zo,"caption-3-bold":Bo},jo={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","",jo.backgroundActionPrimary),primaryColor:po.extend("--ft-button-primary-color","",jo.contentGlobalOnColor),primaryIconColor:po.extend("--ft-button-primary-icon-color","",jo.contentGlobalOnColor),primaryStateLayerColor:po.extend("--ft-button-primary-state-layer-color","",jo.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","",jo.borderActionFocusRing),tertiaryBackgroundColor:po.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:po.extend("--ft-button-tertiary-color","",jo.contentActionPrimary),tertiaryIconColor:po.extend("--ft-button-tertiary-icon-color","",jo.contentActionPrimary),tertiaryStateLayerColor:po.extend("--ft-button-tertiary-state-layer-color","",jo.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","",jo.contentActionPrimary),secondaryIconColor:po.extend("--ft-button-secondary-icon-color","",jo.contentActionPrimary),secondaryStateLayerColor:po.extend("--ft-button-secondary-state-layer-color","",jo.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","",jo.borderActionPrimary),neutralBackgroundColor:po.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:po.extend("--ft-button-neutral-icon-color","",jo.contentGlobalSecondary),neutralColor:po.extend("--ft-button-neutral-color","",jo.contentGlobalSecondary),neutralStateLayerColor:po.extend("--ft-button-neutral-state-layer-color","",jo.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","",jo.backgroundInfoSubtle),infoColor:po.extend("--ft-banner-info-color","",jo.contentInfoPrimary),infoIconColor:po.extend("--ft-banner-info-icon-color","",jo.contentInfoIconOnly)},$o={horizontalGap:po.extend("--ft-breadcrumb-horizontal-gap","",yo.spacing1),verticalGap:po.extend("--ft-breadcrumb-vertical-gap","",yo.spacing2),currentElementColor:po.extend("--ft-breadcrumb-current-element-color","",jo.contentGlobalPrimary),iconColor:po.extend("--ft-breadcrumb-icon-color","",jo.contentGlobalSubtle)},To={horizontalPadding:po.extend("--ft-page-header-horizontal-padding","",yo.spacing12),horizontalGap:po.extend("--ft-page-header-horizontal-gap","",yo.spacing4),verticalGap:po.extend("--ft-page-header-vertical-gap","",yo.spacing2),classicVerticalPadding:po.extend("--ft-page-header-classic-vertical-padding","",yo.spacing6),multilineVerticalPadding:po.extend("--ft-page-header-multiline-vertical-padding","",yo.spacing4),inlineVerticalPadding:po.extend("--ft-page-header-inline-vertical-padding","",yo.spacing2),backgroundColor:po.extend("--ft-page-header-background-color","",yo.colorWhite),bottomBorderColor:po.extend("--ft-page-header-bottom-border-color","",jo.borderGlobalSubtle),titleColor:po.extend("--ft-page-header-title-color","",jo.contentGlobalPrimary),subtitleColor:po.extend("--ft-page-header-subtitle-color","",jo.contentGlobalSecondary)},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","",jo.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","",jo.backgroundGlobalOnSurface),headerBorderColor:po.extend("--ft-modal-header-border-color","",jo.borderGlobalSubtle),headerColor:po.extend("--ft-modal-header-color","",jo.contentGlobalPrimary),headerTrailingIconColor:po.extend("--ft-modal-header-trailing-icon-color","",jo.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={overlayOpacity:po.extend("--ft-drawer-overlay-opacity","",yo.opacity40),shadow:po.extend("--ft-drawer-shadow","",yo.shadowElevation03),bodyColor:po.extend("--ft-drawer-body-color","",jo.contentGlobalPrimary),bodyHorizontalPadding:po.extend("--ft-drawer-body-horizontal-padding","",yo.spacing6),bodyVerticalPadding:po.extend("--ft-drawer-body-vertical-padding","",yo.spacing6),bodyGap:po.extend("--ft-drawer-body-gap","",yo.spacing6),bodyBackgroundColor:po.extend("--ft-drawer-body-background-color","",yo.colorWhite),headerBackgroundColor:po.extend("--ft-drawer-header-background-color","",jo.backgroundGlobalOnSurface),headerBorderColor:po.extend("--ft-drawer-header-border-color","",jo.borderGlobalSubtle),headerColor:po.extend("--ft-drawer-header-color","",jo.contentGlobalPrimary),headerTrailingIconColor:po.extend("--ft-drawer-header-trailing-icon-color","",jo.contentGlobalSecondary),headerHeight:po.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:po.extend("--ft-drawer-header-horizontal-padding","",yo.spacing2),headerBorderWidth:po.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:po.extend("--ft-drawer-header-gap","",yo.spacing3),buttonsBarBackgroundColor:po.extend("--ft-drawer-buttons-bar-background-color","",jo.backgroundGlobalOnSurface),buttonsBarBorderColor:po.extend("--ft-drawer-buttons-bar-border-color","",jo.borderGlobalSubtle),buttonsBarColor:po.extend("--ft-drawer-buttons-bar-color","",jo.contentGlobalPrimary),buttonsBarHorizontalPadding:po.extend("--ft-drawer-buttons-bar-horizontal-padding","",yo.spacing4),buttonsBarVerticalPadding:po.extend("--ft-drawer-buttons-bar-vertical-padding","",yo.spacing4),buttonsBarGap:po.extend("--ft-drawer-buttons-bar-gap","",yo.spacing3),buttonsBarBorderWidth:po.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:po.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:po.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:po.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:po.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:po.extend("--ft-drawer-overlay-background-color","",yo.colorGray700)},qo={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","",jo.contentGlobalPrimary),trailingIconColor:po.extend("--ft-text-input-trailing-icon-color","",jo.contentGlobalSubtle),labelColor:po.extend("--ft-text-input-label-color","",jo.contentGlobalSubtle),defaultBorderColor:po.extend("--ft-text-input-default-border-color","",jo.borderInputPrimary),defaultHelperTextColor:po.extend("--ft-text-input-default-helper-text-color","",jo.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","",jo.borderErrorPrimary),errorHelperTextColor:po.extend("--ft-text-input-error-helper-text-color","",jo.contentErrorPrimary),errorHelperIconColor:po.extend("--ft-text-input-error-helper-icon-color","",jo.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","",jo.borderActionFocusRing),focusOutlineOffset:po.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:po.extend("--ft-text-input-disabled-component-opacity","",yo.opacity40)},Jo={backgroundColor:po.extend("--ft-text-area-background-color","",yo.colorWhite),contentValueColor:po.extend("--ft-text-area-content-value-color","",jo.contentGlobalPrimary),labelColor:po.extend("--ft-text-area-label-color","",jo.contentGlobalSubtle),defaultBorderColor:po.extend("--ft-text-area-default-border-color","",jo.borderInputPrimary),defaultHelperTextColor:po.extend("--ft-text-area-default-helper-text-color","",jo.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","",jo.borderErrorPrimary),errorHelperTextColor:po.extend("--ft-text-area-error-helper-text-color","",jo.contentErrorPrimary),errorHelperIconColor:po.extend("--ft-text-area-error-helper-icon-color","",jo.contentErrorIconOnly),focusFocusRingColor:po.extend("--ft-text-area-focus-focus-ring-color","",jo.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)},Xo={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","",jo.contentGlobalPrimary),offColor:po.extend("--ft-floating-menu-off-color","",jo.contentGlobalPrimary),onColor:po.extend("--ft-floating-menu-on-color","",jo.contentActionPrimary),onStateLayerColor:po.extend("--ft-floating-menu-on-state-layer-color","",jo.contentActionPrimary),gap:po.extend("--ft-floating-menu-gap","",yo.spacing3),focusFocusRingColor:po.extend("--ft-floating-menu-focus-focus-ring-color","",jo.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","",jo.backgroundGlobalOnSurface)},Qo={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","",jo.contentGlobalSubtle),contentValueColor:po.extend("--ft-combobox-single-select-content-value-color","",jo.contentGlobalPrimary),trailingIconColor:po.extend("--ft-combobox-single-select-trailing-icon-color","",jo.contentGlobalSubtle),defaultBorderColor:po.extend("--ft-combobox-single-select-default-border-color","",jo.borderInputPrimary),defaultHelperTextColor:po.extend("--ft-combobox-single-select-default-helper-text-color","",jo.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","",jo.borderErrorPrimary),errorHelperTextColor:po.extend("--ft-combobox-single-select-error-helper-text-color","",jo.contentErrorPrimary),warningBorderWidth:po.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:po.extend("--ft-combobox-single-select-warning-border-color","",jo.borderWarningPrimary),warningHelperTextColor:po.extend("--ft-combobox-single-select-warning-helper-text-color","",jo.contentWarningPrimary),warningHelperIconColor:po.extend("--ft-combobox-single-select-warning-helper-icon-color","",jo.contentWarningIconOnly),focusOutlineWidth:po.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:po.extend("--ft-combobox-single-select-focus-focus-ring-color","",jo.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)},tr={backgroundColor:po.extend("--ft-combobox-multi-select-background-color","",yo.colorWhite),labelColor:po.extend("--ft-combobox-multi-select-label-color","",jo.contentGlobalSubtle),trailingIconColor:po.extend("--ft-combobox-multi-select-trailing-icon-color","",jo.contentGlobalSubtle),defaultBorderColor:po.extend("--ft-combobox-multi-select-default-border-color","",jo.borderInputPrimary),defaultHelperTextColor:po.extend("--ft-combobox-multi-select-default-helper-text-color","",jo.contentGlobalSubtle),defaultBorderWidth:po.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:po.extend("--ft-combobox-multi-select-error-border-color","",jo.borderErrorPrimary),errorHelperTextColor:po.extend("--ft-combobox-multi-select-error-helper-text-color","",jo.contentErrorPrimary),errorHelperIcon:po.extend("--ft-combobox-multi-select-error-helper-icon","",jo.contentErrorIconOnly),errorBorderWidth:po.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:po.extend("--ft-combobox-multi-select-warning-border-color","",jo.borderWarningPrimary),warningHelperTextColor:po.extend("--ft-combobox-multi-select-warning-helper-text-color","",jo.contentWarningPrimary),warningHelperIconColor:po.extend("--ft-combobox-multi-select-warning-helper-icon-color","",jo.contentWarningIconOnly),warningBorderWidth:po.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:po.extend("--ft-combobox-multi-select-focus-focus-ring-color","",jo.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)},er={backgroundColor:po.extend("--ft-popover-background-color","",jo.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","",jo.contentGlobalSecondary),iconSize:po.extend("--ft-popover-icon-size","",yo.iconSize2),titleColor:po.extend("--ft-popover-title-color","",jo.contentGlobalPrimary),bodyColor:po.extend("--ft-popover-body-color","",jo.contentGlobalSecondary),linkColor:po.extend("--ft-popover-link-color","",jo.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)},or={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","",jo.contentGlobalSubtle),offStateLayerColor:po.extend("--ft-tabs-off-state-layer-color","",jo.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","",jo.contentActionPrimary),onStateLayerColor:po.extend("--ft-tabs-on-state-layer-color","",jo.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","",jo.borderActionFocusRing)},rr={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","",jo.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","",jo.contentGlobalPrimary),stateLayerColor:po.extend("--ft-collapsible-state-layer-color","",jo.contentGlobalPrimary),backgroundColor:po.extend("--ft-collapsible-background-color","",jo.backgroundGlobalOnSurface),borderColor:po.extend("--ft-collapsible-border-color","",jo.borderGlobalSubtle),iconSize:po.extend("--ft-collapsible-icon-size","",yo.iconSize3)},nr={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","",jo.backgroundGlobalSurface),groupBorderColor:po.extend("--ft-switch-group-border-color","",jo.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","",jo.contentGlobalSubtle),offStateLayerColor:po.extend("--ft-switch-off-state-layer-color","",jo.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","",jo.contentActionPrimary),onStateLayerColor:po.extend("--ft-switch-on-state-layer-color","",jo.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","",jo.borderActionFocusRing),optionBorderRadius:po.extend("--ft-switch-option-border-radius","",yo.borderRadiusS)},ir={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)},ar={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","",jo.backgroundGlobalOnSurface),neutralColor:po.extend("--ft-chip-neutral-color","",jo.contentGlobalPrimary),neutralIconColor:po.extend("--ft-chip-neutral-icon-color","",jo.contentGlobalPrimary),neutralBorderColor:po.extend("--ft-chip-neutral-border-color","",jo.borderGlobalSubtle),infoBackgroundColor:po.extend("--ft-chip-info-background-color","",jo.backgroundInfoSubtle),infoColor:po.extend("--ft-chip-info-color","",jo.contentInfoPrimary),infoIconColor:po.extend("--ft-chip-info-icon-color","",jo.contentInfoIconOnly),infoBorderColor:po.extend("--ft-chip-info-border-color","",jo.borderInfoSubtle),successBackgroundColor:po.extend("--ft-chip-success-background-color","",jo.backgroundSuccessSubtle),successColor:po.extend("--ft-chip-success-color","",jo.contentSuccessPrimary),successIconColor:po.extend("--ft-chip-success-icon-color","",jo.contentSuccessIconOnly),successBorderColor:po.extend("--ft-chip-success-border-color","",jo.borderSuccessSubtle),warningBackgroundColor:po.extend("--ft-chip-warning-background-color","",jo.backgroundWarningSubtle),warningColor:po.extend("--ft-chip-warning-color","",jo.contentWarningPrimary),warningIconColor:po.extend("--ft-chip-warning-icon-color","",jo.contentWarningIconOnly),warningBorderColor:po.extend("--ft-chip-warning-border-color","",jo.borderWarningSubtle),errorBackgroundColor:po.extend("--ft-chip-error-background-color","",jo.backgroundErrorSubtle),errorColor:po.extend("--ft-chip-error-color","",jo.contentErrorPrimary),errorIconColor:po.extend("--ft-chip-error-icon-color","",jo.contentErrorIconOnly),errorBorderColor:po.extend("--ft-chip-error-border-color","",jo.borderErrorSubtle)},sr={infoBorderColor:po.extend("--ft-border-info-border-color","",jo.borderInfoSubtle)},cr={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","",jo.backgroundInfoSubtle),infoBorderColor:po.extend("--ft-notice-info-border-color","",jo.borderInfoSubtle),infoColor:po.extend("--ft-notice-info-color","",jo.contentInfoPrimary),infoIconColor:po.extend("--ft-notice-info-icon-color","",jo.contentInfoIconOnly),warningBackgroundColor:po.extend("--ft-notice-warning-background-color","",jo.backgroundWarningSubtle),warningBorderColor:po.extend("--ft-notice-warning-border-color","",jo.borderWarningSubtle),warningColor:po.extend("--ft-notice-warning-color","",jo.contentWarningPrimary),warningIconColor:po.extend("--ft-notice-warning-icon-color","",jo.contentWarningIconOnly),errorBackgroundColor:po.extend("--ft-notice-error-background-color","",jo.backgroundErrorSubtle),errorBorderColor:po.extend("--ft-notice-error-border-color","",jo.borderErrorSubtle),errorColor:po.extend("--ft-notice-error-color","",jo.contentErrorPrimary),errorIconColor:po.extend("--ft-notice-error-icon-color","",jo.contentErrorIconOnly),successBackgroundColor:po.extend("--ft-notice-success-background-color","",jo.backgroundSuccessSubtle),successBorderColor:po.extend("--ft-notice-success-border-color","",jo.borderSuccessSubtle),successColor:po.extend("--ft-notice-success-color","",jo.contentSuccessPrimary),successIconColor:po.extend("--ft-notice-success-icon-color","",jo.contentSuccessIconOnly)},lr={color:po.extend("--ft-checkbox-color","",jo.contentGlobalPrimary),checkedBackgroundColor:po.extend("--ft-checkbox-checked-background-color","",jo.contentActionPrimary),checkedStateLayerColor:po.extend("--ft-checkbox-checked-state-layer-color","",jo.contentActionPrimary),checkedIconColor:po.extend("--ft-checkbox-checked-icon-color","",jo.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","",jo.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)},ur={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","",jo.contentGlobalSubtle),offIconColor:po.extend("--ft-toggle-off-icon-color","",jo.contentGlobalSubtle),offStateLayerColor:po.extend("--ft-toggle-off-state-layer-color","",jo.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","",jo.contentActionPrimary),onStateLayerColor:po.extend("--ft-toggle-on-state-layer-color","",jo.contentActionPrimary),onIconColor:po.extend("--ft-toggle-on-icon-color","",jo.contentActionPrimary),color:po.extend("--ft-toggle-color","",jo.contentGlobalPrimary),focusFocusRingColor:po.extend("--ft-toggle-focus-focus-ring-color","",jo.borderActionFocusRing),gap:po.extend("--ft-toggle-gap","",yo.spacing3)},fr={color:po.extend("--ft-radio-color","",jo.contentGlobalPrimary),selectedRadioColor:po.extend("--ft-radio-selected-radio-color","",jo.contentActionPrimary),selectedStateLayerColor:po.extend("--ft-radio-selected-state-layer-color","",jo.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","",jo.borderInputPrimary),unselectedBorderColor:po.extend("--ft-radio-unselected-border-color","",jo.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","",jo.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)},hr={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","",jo.backgroundInfoSubtle),infoColor:po.extend("--ft-notification-info-color","",jo.contentInfoPrimary),infoIconColor:po.extend("--ft-notification-info-icon-color","",jo.contentInfoIconOnly),infoBorderColor:po.extend("--ft-notification-info-border-color","",jo.borderInfoSubtle),successBackgroundColor:po.extend("--ft-notification-success-background-color","",jo.backgroundSuccessSubtle),successColor:po.extend("--ft-notification-success-color","",jo.contentSuccessPrimary),successIconColor:po.extend("--ft-notification-success-icon-color","",jo.contentSuccessIconOnly),successBorderColor:po.extend("--ft-notification-success-border-color","",jo.borderSuccessSubtle),warningBackgroundColor:po.extend("--ft-notification-warning-background-color","",jo.backgroundWarningSubtle),warningColor:po.extend("--ft-notification-warning-color","",jo.contentWarningPrimary),warningIconColor:po.extend("--ft-notification-warning-icon-color","",jo.contentWarningIconOnly),warningBorderColor:po.extend("--ft-notification-warning-border-color","",jo.borderWarningSubtle),errorBackgroundColor:po.extend("--ft-notification-error-background-color","",jo.backgroundErrorSubtle),errorColor:po.extend("--ft-notification-error-color","",jo.contentErrorPrimary),errorIconColor:po.extend("--ft-notification-error-icon-color","",jo.contentErrorIconOnly),errorBorderColor:po.extend("--ft-notification-error-border-color","",jo.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)},dr={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","",jo.contentGlobalOnColor),backgroundColor:po.extend("--ft-tooltip-background-color","",jo.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 pr=Object.freeze({__proto__:null,FtCssVariableFactory:po,banner:Ko,border:sr,breadcrumb:$o,button:Po,chart:ir,checkbox:lr,chip:ar,collapsible:rr,comboboxMultiSelect:tr,comboboxSingleSelect:Qo,drawer:Vo,floatingMenu:Xo,foundation:yo,modal:Go,notice:cr,notification:hr,pageHeader:To,popover:er,radio:fr,semantic:jo,setVariable:function(t,e){return ho(`${t.name}: ${e}`)},switch_:nr,tabs:or,textArea:Jo,textInput:qo,toggle:ur,tooltip:dr,typographies:Zo,typographyBody1Medium:So,typographyBody1Regular:Oo,typographyBody1Semibold:wo,typographyBody2Medium:No,typographyBody2MediumUnderline:Co,typographyBody2Regular:xo,typographyBody2Semibold:Eo,typographyCaption1Bold:_o,typographyCaption1Medium:Do,typographyCaption1Semibold:Uo,typographyCaption2Bold:Ao,typographyCaption2Medium:Yo,typographyCaption2Semibold:Fo,typographyCaption3Bold:Bo,typographyCaption3Medium:Ho,typographyCaption3Semibold:zo,typographyDisplay:go,typographyLabel1Bold:Mo,typographyLabel1Medium:Ro,typographyLabel1Semibold:Io,typographyLabel2Bold:Lo,typographyLabel2Medium:ko,typographyLabel2Semibold:Wo,typographyTitle1:bo,typographyTitle2:mo,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 yr={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 gr=Object.freeze({__proto__:null,designSystemVariables:yr});class br 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 vr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var Or=Object.freeze({__proto__:null,FtNotificationEvent:br,PostResizeEvent:vr,PreResizeEvent:mr});const Sr=["start","end"],wr=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Sr[0],e+"-"+Sr[1])),[]),xr=Math.min,Nr=Math.max,Cr=Math.round,Er=t=>({x:t,y:t}),Rr={left:"right",right:"left",bottom:"top",top:"bottom"},Ir={start:"end",end:"start"};function Mr(t,e,o){return Nr(t,xr(e,o))}function kr(t,e){return"function"==typeof t?t(e):t}function Wr(t){return t.split("-")[0]}function Lr(t){return t.split("-")[1]}function Dr(t){return"x"===t?"y":"x"}function Ur(t){return"y"===t?"height":"width"}function _r(t){return["top","bottom"].includes(Wr(t))?"y":"x"}function Yr(t){return Dr(_r(t))}function Fr(t){return t.replace(/left|right|bottom|top/g,(t=>Rr[t]))}function Ar(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Hr(t,e,o){let{reference:r,floating:n}=t;const i=_r(e),a=Yr(e),s=Ur(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 zr(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}=kr(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=Ar(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})),b="floating"===f?{...a.floating,x:r,y:n}:a.reference,m=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),v=await(null==i.isElement?void 0:i.isElement(m))&&await(null==i.getScale?void 0:i.getScale(m))||{x:1,y:1},O=Ar(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);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 Br(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=>Ir[t]))}(o)!==o)))}const Zr=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=wr,autoAlignment:d=!0,...p}=kr(t,e),y=void 0!==f||h===wr?Br(f||null,d,h):h,g=await zr(e,p),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const r=Lr(t),n=Yr(t),i=Ur(n);let a="x"===n?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[i]>e.floating[i]&&(a=Fr(a)),[a,Fr(a)]}(m,i,await(null==c.isRTL?void 0:c.isRTL(l.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[Wr(m)],g[v[0]],g[v[1]]],S=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],w=y[b+1];if(w)return{data:{index:b+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:b+1,overflows:S},reset:{placement:C}}:{}}}};function jr(t){return $r(t)?(t.nodeName||"").toLowerCase():"#document"}function Pr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Kr(t){var e;return null==(e=($r(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function $r(t){return t instanceof Node||t instanceof Pr(t).Node}function Tr(t){return t instanceof Element||t instanceof Pr(t).Element}function Gr(t){return t instanceof HTMLElement||t instanceof Pr(t).HTMLElement}function Vr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Pr(t).ShadowRoot)}function qr(t){const{overflow:e,overflowX:o,overflowY:r,display:n}=en(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(n)}function Jr(t){return["table","td","th"].includes(jr(t))}function Xr(t){const e=Qr(),o=en(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 Qr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function tn(t){return["html","body","#document"].includes(jr(t))}function en(t){return Pr(t).getComputedStyle(t)}function on(t){return Tr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function rn(t){if("html"===jr(t))return t;const e=t.assignedSlot||t.parentNode||Vr(t)&&t.host||Kr(t);return Vr(e)?e.host:e}function nn(t){const e=rn(t);return tn(e)?t.ownerDocument?t.ownerDocument.body:t.body:Gr(e)&&qr(e)?e:nn(e)}function an(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const n=nn(t),i=n===(null==(r=t.ownerDocument)?void 0:r.body),a=Pr(n);return i?e.concat(a,a.visualViewport||[],qr(n)?n:[],a.frameElement&&o?an(a.frameElement):[]):e.concat(n,an(n,[],o))}function sn(t){const e=en(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const n=Gr(t),i=n?t.offsetWidth:o,a=n?t.offsetHeight:r,s=Cr(o)!==i||Cr(r)!==a;return s&&(o=i,r=a),{width:o,height:r,$:s}}function cn(t){return Tr(t)?t:t.contextElement}function ln(t){const e=cn(t);if(!Gr(e))return Er(1);const o=e.getBoundingClientRect(),{width:r,height:n,$:i}=sn(e);let a=(i?Cr(o.width):o.width)/r,s=(i?Cr(o.height):o.height)/n;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const un=Er(0);function fn(t){const e=Pr(t);return Qr()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:un}function hn(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const n=t.getBoundingClientRect(),i=cn(t);let a=Er(1);e&&(r?Tr(r)&&(a=ln(r)):a=ln(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Pr(t))&&e}(i,o,r)?fn(i):Er(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=Pr(i),e=r&&Tr(r)?Pr(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=ln(o),e=o.getBoundingClientRect(),r=en(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=Pr(o).frameElement}}return Ar({width:u,height:f,x:c,y:l})}function dn(t){return hn(Kr(t)).left+on(t).scrollLeft}function pn(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=Pr(t),r=Kr(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=Qr();(!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=Kr(t),o=on(t),r=t.ownerDocument.body,n=Nr(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=Nr(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+dn(t);const s=-o.scrollTop;return"rtl"===en(r).direction&&(a+=Nr(e.clientWidth,r.clientWidth)-n),{width:n,height:i,x:a,y:s}}(Kr(t));else if(Tr(e))r=function(t,e){const o=hn(t,!0,"fixed"===e),r=o.top+t.clientTop,n=o.left+t.clientLeft,i=Gr(t)?ln(t):Er(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=fn(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return Ar(r)}function yn(t,e){const o=rn(t);return!(o===e||!Tr(o)||tn(o))&&("fixed"===en(o).position||yn(o,e))}function gn(t,e,o){const r=Gr(e),n=Kr(e),i="fixed"===o,a=hn(t,!0,i,e);let s={scrollLeft:0,scrollTop:0};const c=Er(0);if(r||!r&&!i)if(("body"!==jr(e)||qr(n))&&(s=on(e)),r){const t=hn(e,!0,i,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else n&&(c.x=dn(n));return{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function bn(t,e){return Gr(t)&&"fixed"!==en(t).position?e?e(t):t.offsetParent:null}function mn(t,e){const o=Pr(t);if(!Gr(t))return o;let r=bn(t,e);for(;r&&Jr(r)&&"static"===en(r).position;)r=bn(r,e);return r&&("html"===jr(r)||"body"===jr(r)&&"static"===en(r).position&&!Xr(r))?o:r||function(t){let e=rn(t);for(;Gr(e)&&!tn(e);){if(Xr(e))return e;e=rn(e)}return null}(t)||o}const vn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const n=Gr(o),i=Kr(o);if(o===i)return e;let a={scrollLeft:0,scrollTop:0},s=Er(1);const c=Er(0);if((n||!n&&"fixed"!==r)&&(("body"!==jr(o)||qr(i))&&(a=on(o)),Gr(o))){const t=hn(o);s=ln(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:Kr,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=an(t,[],!1).filter((t=>Tr(t)&&"body"!==jr(t))),n=null;const i="fixed"===en(t).position;let a=i?rn(t):t;for(;Tr(a)&&!tn(a);){const e=en(a),o=Xr(a);o||"fixed"!==e.position||(n=null),(i?!o&&!n:!o&&"static"===e.position&&n&&["absolute","fixed"].includes(n.position)||qr(a)&&!o&&yn(t,a))?r=r.filter((t=>t!==a)):n=e,a=rn(a)}return e.set(t,r),r}(e,this._c):[].concat(o),r],a=i[0],s=i.reduce(((t,o)=>{const r=pn(e,o,n);return t.top=Nr(r.top,t.top),t.right=xr(r.right,t.right),t.bottom=xr(r.bottom,t.bottom),t.left=Nr(r.left,t.left),t}),pn(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:gn(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 sn(t)},getScale:ln,isElement:Tr,isRTL:function(t){return"rtl"===en(t).direction}},On=(t,e,o)=>{const r=new Map,n={platform:vn,...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}=Hr(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:b,data:m,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!=b?b:f,d={...d,[i]:{...d[i],...m}},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}=Hr(l,h,c))),o=-1)}return{x:u,y:f,placement:h,strategy:n,middlewareData:d}})(t,e,{...n,platform:i})};function Sn(t){return function(t){for(let e=t;e;e=wn(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=wn(t);e;e=wn(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 wn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var xn=Object.freeze({__proto__:null,computeOffsetPosition:async function(t,e,o){return On(t,e,{platform:{...vn,getOffsetParent:t=>vn.getOffsetParent(t,Sn)},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}=kr(r,t),l={x:e,y:o},u=await zr(t,c),f=_r(Wr(n)),h=Dr(f);let d=l[h],p=l[f];if(i){const t="y"===h?"bottom":"right";d=Mr(d+u["y"===h?"top":"left"],d,d-u[t])}if(a){const t="y"===f?"bottom":"right";p=Mr(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}}}}),Zr({allowedPlacements:[o]})]});var r}});
|
|
138
137
|
/**
|
|
139
138
|
* @license
|
|
140
139
|
* Copyright 2019 Google LLC
|
|
141
140
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
142
|
-
*/const Nn=window,Cn=Nn.ShadowRoot&&(void 0===Nn.ShadyCSS||Nn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class En 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)=>{Cn?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=Nn.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Rn,In=Object.freeze({__proto__:null,ScopedRegistryLitElement:En}),Mn=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 kn=Symbol("constructorPrototype"),Wn=Symbol("constructorName"),Ln=Symbol("exportpartsDebouncer");class Dn extends En{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[Rn]=new eo(5),this[Wn]=this.constructor.name,this[kn]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Wn]&&Object.setPrototypeOf(this,this[kn])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}applyCustomStylesheet(t){var e,o,r;if(this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync(null!==(e=this.customStylesheet)&&void 0!==e?e:"")}catch(t){console.error(t,this.customStylesheet)}}else if((null!==(r=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==r?r:[]).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(", "))}}Rn=Ln,Mn([Oe()],Dn.prototype,"exportpartsPrefix",void 0),Mn([lo([])],Dn.prototype,"exportpartsPrefixes",void 0),Mn([Oe()],Dn.prototype,"customStylesheet",void 0);var Un=Object.freeze({__proto__:null,FtLitElement:Dn}),_n=Object.freeze({__proto__:null});class Fn{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=>{Fn.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 Fn(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 Yn=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 Fn(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 Fn.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=Fn.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},An=po.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Hn=ft`
|
|
141
|
+
*/const Nn=window,Cn=Nn.ShadowRoot&&(void 0===Nn.ShadyCSS||Nn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class En 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)=>{Cn?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=Nn.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Rn,In=Object.freeze({__proto__:null,ScopedRegistryLitElement:En}),Mn=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 kn=Symbol("constructorPrototype"),Wn=Symbol("constructorName"),Ln=Symbol("exportpartsDebouncer");class Dn extends En{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[Rn]=new eo(5),this[Wn]=this.constructor.name,this[kn]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Wn]&&Object.setPrototypeOf(this,this[kn])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}applyCustomStylesheet(t){var e,o,r;if(this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync(null!==(e=this.customStylesheet)&&void 0!==e?e:"")}catch(t){console.error(t,this.customStylesheet)}}else if((null!==(r=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==r?r:[]).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(", "))}}Rn=Ln,Mn([Se()],Dn.prototype,"exportpartsPrefix",void 0),Mn([lo([])],Dn.prototype,"exportpartsPrefixes",void 0),Mn([Se()],Dn.prototype,"customStylesheet",void 0);var Un=Object.freeze({__proto__:null,FtLitElement:Dn}),_n=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 Fn=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},An=po.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Hn=ft`
|
|
143
142
|
.highlight-html-match {
|
|
144
143
|
background: ${An};
|
|
145
144
|
}
|
|
146
|
-
`,zn={className:"highlight-html-match"};var Bn=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
|
|
145
|
+
`,zn={className:"highlight-html-match"};var Bn=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 Fn(t);if(r.unmark(zn),e&&e.trim()){r.mark(e.replace(/"[^"]+"/g,""),{...zn,separateWordSearch:!0});(null!==(o=e.match(/"[^"]+"/g))&&void 0!==o?o:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...zn,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=e?e:"")},highlightHtmlColorCssVariable:An,highlightHtmlStyles:Hn});const Zn=ft`
|
|
147
146
|
.ft-no-text-select {
|
|
148
147
|
-webkit-touch-callout: none;
|
|
149
148
|
-webkit-user-select: none;
|
|
@@ -152,7 +151,7 @@ function(t){return(e,o)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
|
|
|
152
151
|
-ms-user-select: none;
|
|
153
152
|
user-select: none;
|
|
154
153
|
}
|
|
155
|
-
`,
|
|
154
|
+
`,jn=ft`
|
|
156
155
|
.ft-word-wrap {
|
|
157
156
|
white-space: normal;
|
|
158
157
|
word-wrap: break-word;
|
|
@@ -175,19 +174,19 @@ function(t){return(e,o)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
|
|
|
175
174
|
display: inline-block;
|
|
176
175
|
width: 0;
|
|
177
176
|
}
|
|
178
|
-
`;var Kn=Object.freeze({__proto__:null,noTextSelect:jn,safariEllipsisFix:Pn,wordWrap:Zn}),Tn=Object.freeze({__proto__:null});var $n=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 Gn{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 Vn(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var qn,Jn,Xn;const Qn=Symbol("internalReduxEventsUnsubscribers"),ti=Symbol("internalStoresUnsubscribers"),ei=Symbol("internalStores");class oi extends Dn{constructor(){super(...arguments),this[qn]=new Map,this[Jn]=new Map,this[Xn]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[ei].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ei].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[ei].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Vn(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[ei].delete(e)}setupStore(t,e){this[ei].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ei].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[ti].has(t.store):this[ti].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[ti].set(t,e.subscribe((()=>this.updateFromStores()))),Vn(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[Qn].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[ti].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Qn].forEach((t=>t())),this[Qn]=[]}unsubscribeFromStore(t){this[ti].has(t)&&this[ti].get(t)(),this[ti].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function ri(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 ni(t){return!!t&&!!t[Pi]}function ii(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)===Ki}(t)||Array.isArray(t)||!!t[Zi]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Zi])||fi(t)||hi(t))}function ai(t,e,o){void 0===o&&(o=!1),0===si(t)?(o?Object.keys:Ti)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function si(t){var e=t[Pi];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:fi(t)?2:hi(t)?3:0}function ci(t,e){return 2===si(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function li(t,e,o){var r=si(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function ui(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function fi(t){return Hi&&t instanceof Map}function hi(t){return zi&&t instanceof Set}function di(t){return t.o||t.t}function pi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=$i(t);delete e[Pi];for(var o=Ti(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 yi(t,e){return void 0===e&&(e=!1),bi(t)||ni(t)||!ii(t)||(si(t)>1&&(t.set=t.add=t.clear=t.delete=gi),Object.freeze(t),e&&ai(t,(function(t,e){return yi(e,!0)}),!0)),t}function gi(){ri(2)}function bi(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function mi(t){var e=Gi[t];return e||ri(18,t),e}function vi(){return Yi}function Si(t,e){e&&(mi("Patches"),t.u=[],t.s=[],t.v=e)}function Oi(t){wi(t),t.p.forEach(Ni),t.p=null}function wi(t){t===Yi&&(Yi=t.l)}function xi(t){return Yi={p:[],l:Yi,h:t,m:!0,_:0}}function Ni(t){var e=t[Pi];0===e.i||1===e.i?e.j():e.g=!0}function Ci(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[Pi].P&&(Oi(e),ri(4)),ii(t)&&(t=Ei(e,t),e.l||Ii(e,t)),e.u&&mi("Patches").M(o[Pi].t,t,e.u,e.s)):t=Ei(e,o,[]),Oi(e),e.u&&e.v(e.u,e.s),t!==ji?t:void 0}function Ei(t,e,o){if(bi(e))return e;var r=e[Pi];if(!r)return ai(e,(function(n,i){return Ri(t,r,e,n,i,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return Ii(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=pi(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),ai(i,(function(e,i){return Ri(t,r,n,e,i,o,a)})),Ii(t,n,!1),o&&t.u&&mi("Patches").N(r,o,t.u,t.s)}return r.o}function Ri(t,e,o,r,n,i,a){if(ni(n)){var s=Ei(t,n,i&&e&&3!==e.i&&!ci(e.R,r)?i.concat(r):void 0);if(li(o,r,s),!ni(s))return;t.m=!1}else a&&o.add(n);if(ii(n)&&!bi(n)){if(!t.h.D&&t._<1)return;Ei(t,n),e&&e.A.l||Ii(t,n)}}function Ii(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&yi(e,o)}function Mi(t,e){var o=t[Pi];return(o?di(o):t)[e]}function ki(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=pi(t.t))}function Di(t,e,o){var r=fi(e)?mi("MapSet").F(e,o):hi(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:vi(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},n=r,i=Vi;o&&(n=[r],i=qi);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:vi()).p.push(r),r}function Ui(t){return ni(t)||ri(22,t),function t(e){if(!ii(e))return e;var o,r=e[Pi],n=si(e);if(r){if(!r.P&&(r.i<4||!mi("ES5").K(r)))return r.t;r.I=!0,o=_i(e,n),r.I=!1}else o=_i(e,n);return ai(o,(function(e,n){r&&function(t,e){return 2===si(t)?t.get(e):t[e]}(r.t,e)===n||li(o,e,t(n))})),3===n?new Set(o):o}(t)}function _i(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return pi(t)}qn=ti,Jn=ei,Xn=Qn,oi.reduxProperties=new Map,oi.reduxReactiveProperties=new Set,oi.reduxEventListeners=new Map;var Fi,Yi,Ai="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Hi="undefined"!=typeof Map,zi="undefined"!=typeof Set,Bi="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,ji=Ai?Symbol.for("immer-nothing"):((Fi={})["immer-nothing"]=!0,Fi),Zi=Ai?Symbol.for("immer-draftable"):"__$immer_draftable",Pi=Ai?Symbol.for("immer-state"):"__$immer_state",Ki=""+Object.prototype.constructor,Ti="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,$i=Object.getOwnPropertyDescriptors||function(t){var e={};return Ti(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Gi={},Vi={get:function(t,e){if(e===Pi)return t;var o=di(t);if(!ci(o,e))return function(t,e,o){var r,n=ki(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||!ii(r)?r:r===Mi(t.t,e)?(Li(t),t.o[e]=Di(t.A.h,r,t)):r},has:function(t,e){return e in di(t)},ownKeys:function(t){return Reflect.ownKeys(di(t))},set:function(t,e,o){var r=ki(di(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var n=Mi(di(t),e),i=null==n?void 0:n[Pi];if(i&&i.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(ui(o,n)&&(void 0!==o||ci(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!==Mi(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=di(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(){ri(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){ri(12)}},qi={};ai(Vi,(function(t,e){qi[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),qi.deleteProperty=function(t,e){return qi.set.call(this,t,e,void 0)},qi.set=function(t,e,o){return Vi.set.call(this,t[0],e,o,t[0])};var Ji=function(){function t(t){var e=this;this.O=Bi,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&&ri(6),void 0!==r&&"function"!=typeof r&&ri(7),ii(t)){var s=xi(e),c=Di(e,t,void 0),l=!0;try{a=o(c),l=!1}finally{l?Oi(s):wi(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Si(s,r),Ci(t,s)}),(function(t){throw Oi(s),t})):(Si(s,r),Ci(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===ji&&(a=void 0),e.D&&yi(a,!0),r){var u=[],f=[];mi("Patches").M(t,a,u,f),r(u,f)}return a}ri(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){ii(t)||ri(8),ni(t)&&(t=Ui(t));var e=xi(this),o=Di(this,t,void 0);return o[Pi].C=!0,wi(e),o},e.finishDraft=function(t,e){var o=(t&&t[Pi]).A;return Si(o,e),Ci(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Bi&&ri(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 ni(t)?n(t,e):this.produce(t,(function(t){return n(t,e)}))},t}(),Xi=new Ji,Qi=Xi.produce;function ta(t){return ta="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},ta(t)}function ea(t){var e=function(t,e){if("object"!==ta(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==ta(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===ta(e)?e:String(e)}function oa(t,e,o){return(e=ea(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function ra(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 na(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?ra(Object(o),!0).forEach((function(e){oa(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ra(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function ia(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. "}Xi.produceWithPatches.bind(Xi),Xi.setAutoFreeze.bind(Xi),Xi.setUseProxies.bind(Xi),Xi.applyPatches.bind(Xi),Xi.createDraft.bind(Xi),Xi.finishDraft.bind(Xi);var aa="function"==typeof Symbol&&Symbol.observable||"@@observable",sa=function(){return Math.random().toString(36).substring(7).split("").join(".")},ca={INIT:"@@redux/INIT"+sa(),REPLACE:"@@redux/REPLACE"+sa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+sa()}};function la(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(ia(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(ia(1));return o(la)(t,e)}if("function"!=typeof t)throw new Error(ia(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(ia(3));return i}function f(t){if("function"!=typeof t)throw new Error(ia(4));if(c)throw new Error(ia(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(ia(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(ia(7));if(void 0===t.type)throw new Error(ia(8));if(c)throw new Error(ia(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:ca.INIT}),(r={dispatch:h,subscribe:f,getState:u,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ia(10));n=t,h({type:ca.REPLACE})}})[aa]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ia(11));function o(){t.next&&t.next(u())}return o(),{unsubscribe:e(o)}}})[aa]=function(){return this},t},r}function ua(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:ca.INIT}))throw new Error(ia(12));if(void 0===o(void 0,{type:ca.PROBE_UNKNOWN_ACTION()}))throw new Error(ia(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(ia(14));n[c]=f,r=r||f!==u}return(r=r||a.length!==Object.keys(t).length)?n:t}}function fa(){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 ha(){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(ia(15))},n={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=e.map((function(t){return t(n)}));return r=fa.apply(void 0,i)(o.dispatch),na(na({},o),{},{dispatch:r})}}}function da(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 pa=da();pa.withExtraArgument=da;var ya,ga=pa,ba=(ya=function(t,e){return ya=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])},ya(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}ya(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])}}},va=function(t,e){for(var o=0,r=e.length,n=t.length;o<r;o++,n++)t[n]=e[o];return t},Sa=Object.defineProperty,Oa=Object.defineProperties,wa=Object.getOwnPropertyDescriptors,xa=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,Ca=Object.prototype.propertyIsEnumerable,Ea=function(t,e,o){return e in t?Sa(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Ra=function(t,e){for(var o in e||(e={}))Na.call(e,o)&&Ea(t,o,e[o]);if(xa)for(var r=0,n=xa(e);r<n.length;r++){o=n[r];Ca.call(e,o)&&Ea(t,o,e[o])}return t},Ia=function(t,e){return Oa(t,wa(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]?fa:fa.apply(null,arguments)};var ka=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 ba(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,va([void 0],t[0].concat(this)))):new(e.bind.apply(e,va([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 ba(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,va([void 0],t[0].concat(this)))):new(e.bind.apply(e,va([void 0],t.concat(this))))},e}(Array);function La(t){return ii(t)?Qi(t,(function(){})):t}function Da(){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 ka;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(ga.withExtraArgument(o.extraArgument)):r.push(ga));return r}(t)}}function Ua(t){var e,o=Da(),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=ua(i)}var p=s;"function"==typeof p&&(p=p(o));var y=ha.apply(void 0,p),g=fa;l&&(g=Ma(Ra({trace:!1},"object"==typeof l&&l)));var b=new Wa(y),m=b;return Array.isArray(d)?m=va([y],d):"function"==typeof d&&(m=d(b)),la(e,f,g.apply(void 0,m))}function _a(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 Ra(Ra({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 Fa(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 Ya(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?Fa(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=Ra(Ra({},n),s);return function(t,e,o,r){void 0===o&&(o=[]);var n,i="function"==typeof e?Fa(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=va([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(ni(t))return void 0===(r=o(t,e))?t:r;if(ii(t))return Qi(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?_a(l,r):_a(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 Aa=["name","message","stack","code"],Ha=function(t,e){this.payload=t,this.meta=e},za=function(t,e){this.payload=t,this.meta=e},Ba=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Aa;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=_a(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:Ia(Ra({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),n=_a(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Ia(Ra({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),i=_a(t+"/rejected",(function(t,e,r,n,i){return{payload:n,error:(o&&o.serializeError||Ba)(t||"Rejected"),meta:Ia(Ra({},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,b,m;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===(S=g)||"object"!=typeof S||"function"!=typeof S.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 b=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([b,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:f,signal:h.signal,abort:d,rejectWithValue:function(t,e){return new Ha(t,e)},fulfillWithValue:function(t,e){return new za(t,e)}})).then((function(e){if(e instanceof Ha)throw e;return e instanceof za?r(e.payload,f,t,e.meta):r(e,f,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Ha?i(null,f,t,m.payload,m.meta):i(m,f,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&i.match(y)&&y.meta.condition||s(y),[2,y]}var S}))},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 Za="listenerMiddleware";_a(Za+"/add"),_a(Za+"/removeAll"),_a(Za+"/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[Pi];return Vi.get(e,t)},set:function(e){var o=this[Pi];Vi.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var n=t[e][Pi];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=Ti(o),n=r.length-1;n>=0;n--){var i=r[n];if(i!==Pi){var a=e[i];if(void 0===a&&!ci(e,i))return!0;var s=o[i],c=s&&s[Pi];if(c?c.t!==a:!ui(s,a))return!0}}var l=!!e[Pi];return r.length!==Ti(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){Gi[t]||(Gi[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=$i(o);delete i[Pi];for(var a=Ti(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:vi(),P:!1,I:!1,R:{},l:o,t:e,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,Pi,{value:i,writable:!0}),n},S:function(t,o,n){n?ni(o)&&o[Pi].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Pi];if(o){var n=o.t,i=o.k,a=o.R,s=o.i;if(4===s)ai(i,(function(e){e!==Pi&&(void 0!==n[e]||ci(n,e)?a[e]||t(i[e]):(a[e]=!0,Wi(o)))})),ai(n,(function(t){void 0!==i[t]||ci(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 Pa{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(Vn(n))return n;if(null==r)return;const i=Ya({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=Ua({reducer:(t,e)=>"CLEAR_FT_REDUX_STORE"===e.type?i.getInitialState():"string"==typeof e.type&&e.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...e.overwrites}:i.reducer(t,e)});return window.ftReduxStores[r.name]=new Pa(i,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Gn,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_VALUE_SETTER__"+Object.keys(t).join("_"),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 Ka=Object.freeze({__proto__:null,FtCommandQueue:Gn,FtLitElementRedux:oi,FtReduxStore:Pa,clearAllStores:function(){var t;for(let e of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))Vn(e)&&e.clear()},isFtReduxStore:Vn,redux:t=>{const e=null!=t?t:{};return(t,o)=>{var r;const n={hasChanged:(t,e)=>!ao(t,e),attribute:!1,...e};Oe(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 Ta=Object.freeze({__proto__:null,serializeRequest:function(t,e){var o,r,n,i;const a=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all"});if((null===(r=e.query)||void 0===r?void 0:r.length)>0&&a.append("query",e.query),e.scope&&"DEFAULT"!==e.scope&&a.append("scope",e.scope.toLowerCase()),e.virtualField&&a.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let t=e.periodFilter.period;const o=t?`_${t.from}_${t.to}`:"";a.append("period",e.periodFilter.periodType.toLowerCase()+o)}if((null===(n=e.sort)||void 0===n?void 0:n.length)>0&&"ft:lastEdition"===e.sort[0].key&&a.append("sort","last_update"),(null===(i=e.filters)||void 0===i?void 0:i.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("*");a.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${a.toString()}`).href}});const $a=Symbol("elementInternals");var Ga,Va,qa,Ja,Xa=Object.freeze({__proto__:null,toFtFormComponent:function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[$a].form}constructor(...t){super(t),this[$a]=this.attachInternals(),this[$a].role=e}setFormValue(t){this[$a].setFormValue(t)}}}});const Qa=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(qa=null===(Va=null===(Ga=window.safari)||void 0===Ga?void 0:Ga.pushNotification)||void 0===Va?void 0:Va.toString())&&void 0!==qa?qa:""),ts="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;
|
|
177
|
+
`;var Kn=Object.freeze({__proto__:null,noTextSelect:Zn,safariEllipsisFix:Pn,wordWrap:jn}),$n=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 Gn{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 Vn(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var qn,Jn,Xn;const Qn=Symbol("internalReduxEventsUnsubscribers"),ti=Symbol("internalStoresUnsubscribers"),ei=Symbol("internalStores");class oi extends Dn{constructor(){super(...arguments),this[qn]=new Map,this[Jn]=new Map,this[Xn]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[ei].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ei].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[ei].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Vn(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[ei].delete(e)}setupStore(t,e){this[ei].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ei].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[ti].has(t.store):this[ti].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[ti].set(t,e.subscribe((()=>this.updateFromStores()))),Vn(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[Qn].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[ti].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Qn].forEach((t=>t())),this[Qn]=[]}unsubscribeFromStore(t){this[ti].has(t)&&this[ti].get(t)(),this[ti].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function ri(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 ni(t){return!!t&&!!t[Pi]}function ii(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)===Ki}(t)||Array.isArray(t)||!!t[ji]||!!(null===(e=t.constructor)||void 0===e?void 0:e[ji])||fi(t)||hi(t))}function ai(t,e,o){void 0===o&&(o=!1),0===si(t)?(o?Object.keys:$i)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function si(t){var e=t[Pi];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:fi(t)?2:hi(t)?3:0}function ci(t,e){return 2===si(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function li(t,e,o){var r=si(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function ui(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function fi(t){return Hi&&t instanceof Map}function hi(t){return zi&&t instanceof Set}function di(t){return t.o||t.t}function pi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Ti(t);delete e[Pi];for(var o=$i(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 yi(t,e){return void 0===e&&(e=!1),bi(t)||ni(t)||!ii(t)||(si(t)>1&&(t.set=t.add=t.clear=t.delete=gi),Object.freeze(t),e&&ai(t,(function(t,e){return yi(e,!0)}),!0)),t}function gi(){ri(2)}function bi(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function mi(t){var e=Gi[t];return e||ri(18,t),e}function vi(){return Fi}function Oi(t,e){e&&(mi("Patches"),t.u=[],t.s=[],t.v=e)}function Si(t){wi(t),t.p.forEach(Ni),t.p=null}function wi(t){t===Fi&&(Fi=t.l)}function xi(t){return Fi={p:[],l:Fi,h:t,m:!0,_:0}}function Ni(t){var e=t[Pi];0===e.i||1===e.i?e.j():e.g=!0}function Ci(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[Pi].P&&(Si(e),ri(4)),ii(t)&&(t=Ei(e,t),e.l||Ii(e,t)),e.u&&mi("Patches").M(o[Pi].t,t,e.u,e.s)):t=Ei(e,o,[]),Si(e),e.u&&e.v(e.u,e.s),t!==Zi?t:void 0}function Ei(t,e,o){if(bi(e))return e;var r=e[Pi];if(!r)return ai(e,(function(n,i){return Ri(t,r,e,n,i,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return Ii(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=pi(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),ai(i,(function(e,i){return Ri(t,r,n,e,i,o,a)})),Ii(t,n,!1),o&&t.u&&mi("Patches").N(r,o,t.u,t.s)}return r.o}function Ri(t,e,o,r,n,i,a){if(ni(n)){var s=Ei(t,n,i&&e&&3!==e.i&&!ci(e.R,r)?i.concat(r):void 0);if(li(o,r,s),!ni(s))return;t.m=!1}else a&&o.add(n);if(ii(n)&&!bi(n)){if(!t.h.D&&t._<1)return;Ei(t,n),e&&e.A.l||Ii(t,n)}}function Ii(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&yi(e,o)}function Mi(t,e){var o=t[Pi];return(o?di(o):t)[e]}function ki(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=pi(t.t))}function Di(t,e,o){var r=fi(e)?mi("MapSet").F(e,o):hi(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:vi(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},n=r,i=Vi;o&&(n=[r],i=qi);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:vi()).p.push(r),r}function Ui(t){return ni(t)||ri(22,t),function t(e){if(!ii(e))return e;var o,r=e[Pi],n=si(e);if(r){if(!r.P&&(r.i<4||!mi("ES5").K(r)))return r.t;r.I=!0,o=_i(e,n),r.I=!1}else o=_i(e,n);return ai(o,(function(e,n){r&&function(t,e){return 2===si(t)?t.get(e):t[e]}(r.t,e)===n||li(o,e,t(n))})),3===n?new Set(o):o}(t)}function _i(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return pi(t)}qn=ti,Jn=ei,Xn=Qn,oi.reduxProperties=new Map,oi.reduxReactiveProperties=new Set,oi.reduxEventListeners=new Map;var Yi,Fi,Ai="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Hi="undefined"!=typeof Map,zi="undefined"!=typeof Set,Bi="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Zi=Ai?Symbol.for("immer-nothing"):((Yi={})["immer-nothing"]=!0,Yi),ji=Ai?Symbol.for("immer-draftable"):"__$immer_draftable",Pi=Ai?Symbol.for("immer-state"):"__$immer_state",Ki=""+Object.prototype.constructor,$i="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 $i(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Gi={},Vi={get:function(t,e){if(e===Pi)return t;var o=di(t);if(!ci(o,e))return function(t,e,o){var r,n=ki(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||!ii(r)?r:r===Mi(t.t,e)?(Li(t),t.o[e]=Di(t.A.h,r,t)):r},has:function(t,e){return e in di(t)},ownKeys:function(t){return Reflect.ownKeys(di(t))},set:function(t,e,o){var r=ki(di(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var n=Mi(di(t),e),i=null==n?void 0:n[Pi];if(i&&i.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(ui(o,n)&&(void 0!==o||ci(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!==Mi(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=di(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(){ri(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){ri(12)}},qi={};ai(Vi,(function(t,e){qi[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),qi.deleteProperty=function(t,e){return qi.set.call(this,t,e,void 0)},qi.set=function(t,e,o){return Vi.set.call(this,t[0],e,o,t[0])};var Ji=function(){function t(t){var e=this;this.O=Bi,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&&ri(6),void 0!==r&&"function"!=typeof r&&ri(7),ii(t)){var s=xi(e),c=Di(e,t,void 0),l=!0;try{a=o(c),l=!1}finally{l?Si(s):wi(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Oi(s,r),Ci(t,s)}),(function(t){throw Si(s),t})):(Oi(s,r),Ci(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Zi&&(a=void 0),e.D&&yi(a,!0),r){var u=[],f=[];mi("Patches").M(t,a,u,f),r(u,f)}return a}ri(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){ii(t)||ri(8),ni(t)&&(t=Ui(t));var e=xi(this),o=Di(this,t,void 0);return o[Pi].C=!0,wi(e),o},e.finishDraft=function(t,e){var o=(t&&t[Pi]).A;return Oi(o,e),Ci(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Bi&&ri(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 ni(t)?n(t,e):this.produce(t,(function(t){return n(t,e)}))},t}(),Xi=new Ji,Qi=Xi.produce;function ta(t){return ta="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},ta(t)}function ea(t){var e=function(t,e){if("object"!==ta(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==ta(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===ta(e)?e:String(e)}function oa(t,e,o){return(e=ea(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function ra(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 na(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?ra(Object(o),!0).forEach((function(e){oa(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ra(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function ia(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. "}Xi.produceWithPatches.bind(Xi),Xi.setAutoFreeze.bind(Xi),Xi.setUseProxies.bind(Xi),Xi.applyPatches.bind(Xi),Xi.createDraft.bind(Xi),Xi.finishDraft.bind(Xi);var aa="function"==typeof Symbol&&Symbol.observable||"@@observable",sa=function(){return Math.random().toString(36).substring(7).split("").join(".")},ca={INIT:"@@redux/INIT"+sa(),REPLACE:"@@redux/REPLACE"+sa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+sa()}};function la(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(ia(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(ia(1));return o(la)(t,e)}if("function"!=typeof t)throw new Error(ia(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(ia(3));return i}function f(t){if("function"!=typeof t)throw new Error(ia(4));if(c)throw new Error(ia(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(ia(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(ia(7));if(void 0===t.type)throw new Error(ia(8));if(c)throw new Error(ia(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:ca.INIT}),(r={dispatch:h,subscribe:f,getState:u,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ia(10));n=t,h({type:ca.REPLACE})}})[aa]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ia(11));function o(){t.next&&t.next(u())}return o(),{unsubscribe:e(o)}}})[aa]=function(){return this},t},r}function ua(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:ca.INIT}))throw new Error(ia(12));if(void 0===o(void 0,{type:ca.PROBE_UNKNOWN_ACTION()}))throw new Error(ia(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(ia(14));n[c]=f,r=r||f!==u}return(r=r||a.length!==Object.keys(t).length)?n:t}}function fa(){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 ha(){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(ia(15))},n={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=e.map((function(t){return t(n)}));return r=fa.apply(void 0,i)(o.dispatch),na(na({},o),{},{dispatch:r})}}}function da(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 pa=da();pa.withExtraArgument=da;var ya,ga=pa,ba=(ya=function(t,e){return ya=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])},ya(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}ya(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])}}},va=function(t,e){for(var o=0,r=e.length,n=t.length;o<r;o++,n++)t[n]=e[o];return t},Oa=Object.defineProperty,Sa=Object.defineProperties,wa=Object.getOwnPropertyDescriptors,xa=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,Ca=Object.prototype.propertyIsEnumerable,Ea=function(t,e,o){return e in t?Oa(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Ra=function(t,e){for(var o in e||(e={}))Na.call(e,o)&&Ea(t,o,e[o]);if(xa)for(var r=0,n=xa(e);r<n.length;r++){o=n[r];Ca.call(e,o)&&Ea(t,o,e[o])}return t},Ia=function(t,e){return Sa(t,wa(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]?fa:fa.apply(null,arguments)};var ka=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 ba(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,va([void 0],t[0].concat(this)))):new(e.bind.apply(e,va([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 ba(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,va([void 0],t[0].concat(this)))):new(e.bind.apply(e,va([void 0],t.concat(this))))},e}(Array);function La(t){return ii(t)?Qi(t,(function(){})):t}function Da(){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 ka;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(ga.withExtraArgument(o.extraArgument)):r.push(ga));return r}(t)}}function Ua(t){var e,o=Da(),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=ua(i)}var p=s;"function"==typeof p&&(p=p(o));var y=ha.apply(void 0,p),g=fa;l&&(g=Ma(Ra({trace:!1},"object"==typeof l&&l)));var b=new Wa(y),m=b;return Array.isArray(d)?m=va([y],d):"function"==typeof d&&(m=d(b)),la(e,f,g.apply(void 0,m))}function _a(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 Ra(Ra({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 Fa(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=Ra(Ra({},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=va([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(ni(t))return void 0===(r=o(t,e))?t:r;if(ii(t))return Qi(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?_a(l,r):_a(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 Aa=["name","message","stack","code"],Ha=function(t,e){this.payload=t,this.meta=e},za=function(t,e){this.payload=t,this.meta=e},Ba=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Aa;o<r.length;o++){var n=r[o];"string"==typeof t[n]&&(e[n]=t[n])}return e}return{message:String(t)}};function Za(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=_a(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:Ia(Ra({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),n=_a(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Ia(Ra({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),i=_a(t+"/rejected",(function(t,e,r,n,i){return{payload:n,error:(o&&o.serializeError||Ba)(t||"Rejected"),meta:Ia(Ra({},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,b,m;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 b=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([b,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:f,signal:h.signal,abort:d,rejectWithValue:function(t,e){return new Ha(t,e)},fulfillWithValue:function(t,e){return new za(t,e)}})).then((function(e){if(e instanceof Ha)throw e;return e instanceof za?r(e.payload,f,t,e.meta):r(e,f,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Ha?i(null,f,t,m.payload,m.meta):i(m,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(Za)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var ja="listenerMiddleware";_a(ja+"/add"),_a(ja+"/removeAll"),_a(ja+"/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[Pi];return Vi.get(e,t)},set:function(e){var o=this[Pi];Vi.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var n=t[e][Pi];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=$i(o),n=r.length-1;n>=0;n--){var i=r[n];if(i!==Pi){var a=e[i];if(void 0===a&&!ci(e,i))return!0;var s=o[i],c=s&&s[Pi];if(c?c.t!==a:!ui(s,a))return!0}}var l=!!e[Pi];return r.length!==$i(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){Gi[t]||(Gi[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[Pi];for(var a=$i(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:vi(),P:!1,I:!1,R:{},l:o,t:e,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,Pi,{value:i,writable:!0}),n},S:function(t,o,n){n?ni(o)&&o[Pi].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Pi];if(o){var n=o.t,i=o.k,a=o.R,s=o.i;if(4===s)ai(i,(function(e){e!==Pi&&(void 0!==n[e]||ci(n,e)?a[e]||t(i[e]):(a[e]=!0,Wi(o)))})),ai(n,(function(t){void 0!==i[t]||ci(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 Pa{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(Vn(n))return n;if(null==r)return;const i=Fa({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=Ua({reducer:(t,e)=>"CLEAR_FT_REDUX_STORE"===e.type?i.getInitialState():"string"==typeof e.type&&e.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...e.overwrites}:i.reducer(t,e)});return window.ftReduxStores[r.name]=new Pa(i,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Gn,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_VALUE_SETTER__"+Object.keys(t).join("_"),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 Ka=Object.freeze({__proto__:null,FtCommandQueue:Gn,FtLitElementRedux:oi,FtReduxStore:Pa,clearAllStores:function(){var t;for(let e of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))Vn(e)&&e.clear()},isFtReduxStore:Vn,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 $a=Object.freeze({__proto__:null,serializeRequest:function(t,e){var o,r,n,i;const a=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all"});if((null===(r=e.query)||void 0===r?void 0:r.length)>0&&a.append("query",e.query),e.scope&&"DEFAULT"!==e.scope&&a.append("scope",e.scope.toLowerCase()),e.virtualField&&a.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let t=e.periodFilter.period;const o=t?`_${t.from}_${t.to}`:"";a.append("period",e.periodFilter.periodType.toLowerCase()+o)}if((null===(n=e.sort)||void 0===n?void 0:n.length)>0&&"ft:lastEdition"===e.sort[0].key&&a.append("sort","last_update"),(null===(i=e.filters)||void 0===i?void 0:i.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("*");a.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${a.toString()}`).href}});const Ta=Symbol("elementInternals");var Ga,Va,qa,Ja,Xa=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 Qa=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(qa=null===(Va=null===(Ga=window.safari)||void 0===Ga?void 0:Ga.pushNotification)||void 0===Va?void 0:Va.toString())&&void 0!==qa?qa:""),ts="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;
|
|
179
178
|
//! moment.js
|
|
180
179
|
//! version : 2.29.4
|
|
181
180
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
182
181
|
//! license : MIT
|
|
183
182
|
//! momentjs.com
|
|
184
|
-
var es,os;function rs(){return es.apply(null,arguments)}function ns(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function is(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function as(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function ss(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(as(t,e))return!1;return!0}function cs(t){return void 0===t}function ls(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function us(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function fs(t,e){var o,r=[],n=t.length;for(o=0;o<n;++o)r.push(e(t[o],o));return r}function hs(t,e){for(var o in e)as(e,o)&&(t[o]=e[o]);return as(e,"toString")&&(t.toString=e.toString),as(e,"valueOf")&&(t.valueOf=e.valueOf),t}function ds(t,e,o,r){return Dl(t,e,o,r,!0).utc()}function ps(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 ys(t){if(null==t._isValid){var e=ps(t),o=os.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 gs(t){var e=ds(NaN);return null!=t?hs(ps(e),t):ps(e).userInvalidated=!0,e}window.ftGlobals=null!==(Ja=window.ftGlobals)&&void 0!==Ja?Ja:{lit:me,litDecorators:Ce,litRepeat:Ae,litClassMap:ze,litStyleMap:Pe,litUnsafeHTML:$e,wcUtils:{...Xe,...Je,...to,...oo,...fo,...gr,...Sr,...xn,...pr,...Un,..._n,...so,...Bn,...Kn,...Tn,...$n,...Ka,...In,...Ta,...Xa,isSafari:Qa,isTouchScreen:ts}},os=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 bs=rs.momentProperties=[],ms=!1;function vs(t,e){var o,r,n,i=bs.length;if(cs(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),cs(e._i)||(t._i=e._i),cs(e._f)||(t._f=e._f),cs(e._l)||(t._l=e._l),cs(e._strict)||(t._strict=e._strict),cs(e._tzm)||(t._tzm=e._tzm),cs(e._isUTC)||(t._isUTC=e._isUTC),cs(e._offset)||(t._offset=e._offset),cs(e._pf)||(t._pf=ps(e)),cs(e._locale)||(t._locale=e._locale),i>0)for(o=0;o<i;o++)cs(n=e[r=bs[o]])||(t[r]=n);return t}function Ss(t){vs(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===ms&&(ms=!0,rs.updateOffset(this),ms=!1)}function Os(t){return t instanceof Ss||null!=t&&null!=t._isAMomentObject}function ws(t){!1===rs.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function xs(t,e){var o=!0;return hs((function(){if(null!=rs.deprecationHandler&&rs.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])as(arguments[0],i)&&(r+=i+": "+arguments[0][i]+", ");r=r.slice(0,-2)}else r=arguments[n];a.push(r)}ws(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),o=!1}return e.apply(this,arguments)}),e)}var Ns,Cs={};function Es(t,e){null!=rs.deprecationHandler&&rs.deprecationHandler(t,e),Cs[t]||(ws(e),Cs[t]=!0)}function Rs(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function Is(t,e){var o,r=hs({},t);for(o in e)as(e,o)&&(is(t[o])&&is(e[o])?(r[o]={},hs(r[o],t[o]),hs(r[o],e[o])):null!=e[o]?r[o]=e[o]:delete r[o]);for(o in t)as(t,o)&&!as(e,o)&&is(t[o])&&(r[o]=hs({},r[o]));return r}function Ms(t){null!=t&&this.set(t)}rs.suppressDeprecationWarnings=!1,rs.deprecationHandler=null,Ns=Object.keys?Object.keys:function(t){var e,o=[];for(e in t)as(t,e)&&o.push(e);return o};function ks(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,Ds={},Us={};function _s(t,e,o,r){var n=r;"string"==typeof r&&(n=function(){return this[r]()}),t&&(Us[t]=n),e&&(Us[e[0]]=function(){return ks(n.apply(this,arguments),e[1],e[2])}),o&&(Us[o]=function(){return this.localeData().ordinal(n.apply(this,arguments),t)})}function Fs(t,e){return t.isValid()?(e=Ys(e,t.localeData()),Ds[e]=Ds[e]||function(t){var e,o,r,n=t.match(Ws);for(e=0,o=n.length;e<o;e++)Us[n[e]]?n[e]=Us[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+=Rs(n[r])?n[r].call(e,t):n[r];return i}}(e),Ds[e](t)):t.localeData().invalidDate()}function Ys(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 As={};function Hs(t,e){var o=t.toLowerCase();As[o]=As[o+"s"]=As[e]=t}function zs(t){return"string"==typeof t?As[t]||As[t.toLowerCase()]:void 0}function Bs(t){var e,o,r={};for(o in t)as(t,o)&&(e=zs(o))&&(r[e]=t[o]);return r}var js={};function Zs(t,e){js[t]=e}function Ps(t){return t%4==0&&t%100!=0||t%400==0}function Ks(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function Ts(t){var e=+t,o=0;return 0!==e&&isFinite(e)&&(o=Ks(e)),o}function $s(t,e){return function(o){return null!=o?(Vs(this,t,o),rs.updateOffset(this,e),this):Gs(this,t)}}function Gs(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Vs(t,e,o){t.isValid()&&!isNaN(o)&&("FullYear"===e&&Ps(t.year())&&1===t.month()&&29===t.date()?(o=Ts(o),t._d["set"+(t._isUTC?"UTC":"")+e](o,t.month(),kc(o,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](o))}var qs,Js=/\d/,Xs=/\d\d/,Qs=/\d{3}/,tc=/\d{4}/,ec=/[+-]?\d{6}/,oc=/\d\d?/,rc=/\d\d\d\d?/,nc=/\d\d\d\d\d\d?/,ic=/\d{1,3}/,ac=/\d{1,4}/,sc=/[+-]?\d{1,6}/,cc=/\d+/,lc=/[+-]?\d+/,uc=/Z|[+-]\d\d:?\d\d/gi,fc=/Z|[+-]\d\d(?::?\d\d)?/gi,hc=/[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 dc(t,e,o){qs[t]=Rs(e)?e:function(t,r){return t&&o?o:e}}function pc(t,e){return as(qs,t)?qs[t](e._strict,e._locale):new RegExp(function(t){return yc(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,o,r,n){return e||o||r||n})))}(t))}function yc(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}qs={};var gc={};function bc(t,e){var o,r,n=e;for("string"==typeof t&&(t=[t]),ls(e)&&(n=function(t,o){o[e]=Ts(t)}),r=t.length,o=0;o<r;o++)gc[t[o]]=n}function mc(t,e){bc(t,(function(t,o,r,n){r._w=r._w||{},e(t,r._w,r,n)}))}function vc(t,e,o){null!=e&&as(gc,t)&&gc[t](e,o._a,o,t)}var Sc,Oc=0,wc=1,xc=2,Nc=3,Cc=4,Ec=5,Rc=6,Ic=7,Mc=8;function kc(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?Ps(t)?29:28:31-o%7%2}Sc=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},_s("M",["MM",2],"Mo",(function(){return this.month()+1})),_s("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),_s("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),Hs("month","M"),Zs("month",8),dc("M",oc),dc("MM",oc,Xs),dc("MMM",(function(t,e){return e.monthsShortRegex(t)})),dc("MMMM",(function(t,e){return e.monthsRegex(t)})),bc(["M","MM"],(function(t,e){e[wc]=Ts(t)-1})),bc(["MMM","MMMM"],(function(t,e,o,r){var n=o._locale.monthsParse(t,r,o._strict);null!=n?e[wc]=n:ps(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("_"),Dc=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Uc=hc,_c=hc;function Fc(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=ds([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return o?"MMM"===e?-1!==(n=Sc.call(this._shortMonthsParse,a))?n:null:-1!==(n=Sc.call(this._longMonthsParse,a))?n:null:"MMM"===e?-1!==(n=Sc.call(this._shortMonthsParse,a))||-1!==(n=Sc.call(this._longMonthsParse,a))?n:null:-1!==(n=Sc.call(this._longMonthsParse,a))||-1!==(n=Sc.call(this._shortMonthsParse,a))?n:null}function Yc(t,e){var o;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=Ts(e);else if(!ls(e=t.localeData().monthsParse(e)))return t;return o=Math.min(t.date(),kc(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,o),t}function Ac(t){return null!=t?(Yc(this,t),rs.updateOffset(this,!0),this):Gs(this,"Month")}function Hc(){function t(t,e){return e.length-t.length}var e,o,r=[],n=[],i=[];for(e=0;e<12;e++)o=ds([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]=yc(r[e]),n[e]=yc(n[e]);for(e=0;e<24;e++)i[e]=yc(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 zc(t){return Ps(t)?366:365}_s("Y",0,0,(function(){var t=this.year();return t<=9999?ks(t,4):"+"+t})),_s(0,["YY",2],0,(function(){return this.year()%100})),_s(0,["YYYY",4],0,"year"),_s(0,["YYYYY",5],0,"year"),_s(0,["YYYYYY",6,!0],0,"year"),Hs("year","y"),Zs("year",1),dc("Y",lc),dc("YY",oc,Xs),dc("YYYY",ac,tc),dc("YYYYY",sc,ec),dc("YYYYYY",sc,ec),bc(["YYYYY","YYYYYY"],Oc),bc("YYYY",(function(t,e){e[Oc]=2===t.length?rs.parseTwoDigitYear(t):Ts(t)})),bc("YY",(function(t,e){e[Oc]=rs.parseTwoDigitYear(t)})),bc("Y",(function(t,e){e[Oc]=parseInt(t,10)})),rs.parseTwoDigitYear=function(t){return Ts(t)+(Ts(t)>68?1900:2e3)};var Bc=$s("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 Zc(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 Pc(t,e,o){var r=7+e-o;return-((7+Zc(t,0,r).getUTCDay()-e)%7)+r-1}function Kc(t,e,o,r,n){var i,a,s=1+7*(e-1)+(7+o-r)%7+Pc(t,r,n);return s<=0?a=zc(i=t-1)+s:s>zc(t)?(i=t+1,a=s-zc(t)):(i=t,a=s),{year:i,dayOfYear:a}}function Tc(t,e,o){var r,n,i=Pc(t.year(),e,o),a=Math.floor((t.dayOfYear()-i-1)/7)+1;return a<1?r=a+$c(n=t.year()-1,e,o):a>$c(t.year(),e,o)?(r=a-$c(t.year(),e,o),n=t.year()+1):(n=t.year(),r=a),{week:r,year:n}}function $c(t,e,o){var r=Pc(t,e,o),n=Pc(t+1,e,o);return(zc(t)-r+n)/7}_s("w",["ww",2],"wo","week"),_s("W",["WW",2],"Wo","isoWeek"),Hs("week","w"),Hs("isoWeek","W"),Zs("week",5),Zs("isoWeek",5),dc("w",oc),dc("ww",oc,Xs),dc("W",oc),dc("WW",oc,Xs),mc(["w","ww","W","WW"],(function(t,e,o,r){e[r.substr(0,1)]=Ts(t)}));function Gc(t,e){return t.slice(e,7).concat(t.slice(0,e))}_s("d",0,"do","day"),_s("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),_s("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),_s("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),_s("e",0,0,"weekday"),_s("E",0,0,"isoWeekday"),Hs("day","d"),Hs("weekday","e"),Hs("isoWeekday","E"),Zs("day",11),Zs("weekday",11),Zs("isoWeekday",11),dc("d",oc),dc("e",oc),dc("E",oc),dc("dd",(function(t,e){return e.weekdaysMinRegex(t)})),dc("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),dc("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:ps(o).invalidWeekday=t})),mc(["d","e","E"],(function(t,e,o,r){e[r]=Ts(t)}));var Vc="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qc="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Jc="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xc=hc,Qc=hc,tl=hc;function el(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=ds([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=Sc.call(this._weekdaysParse,a))?n:null:"ddd"===e?-1!==(n=Sc.call(this._shortWeekdaysParse,a))?n:null:-1!==(n=Sc.call(this._minWeekdaysParse,a))?n:null:"dddd"===e?-1!==(n=Sc.call(this._weekdaysParse,a))||-1!==(n=Sc.call(this._shortWeekdaysParse,a))||-1!==(n=Sc.call(this._minWeekdaysParse,a))?n:null:"ddd"===e?-1!==(n=Sc.call(this._shortWeekdaysParse,a))||-1!==(n=Sc.call(this._weekdaysParse,a))||-1!==(n=Sc.call(this._minWeekdaysParse,a))?n:null:-1!==(n=Sc.call(this._minWeekdaysParse,a))||-1!==(n=Sc.call(this._weekdaysParse,a))||-1!==(n=Sc.call(this._shortWeekdaysParse,a))?n:null}function ol(){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=ds([2e3,1]).day(e),r=yc(this.weekdaysMin(o,"")),n=yc(this.weekdaysShort(o,"")),i=yc(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 rl(){return this.hours()%12||12}function nl(t,e){_s(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function il(t,e){return e._meridiemParse}_s("H",["HH",2],0,"hour"),_s("h",["hh",2],0,rl),_s("k",["kk",2],0,(function(){return this.hours()||24})),_s("hmm",0,0,(function(){return""+rl.apply(this)+ks(this.minutes(),2)})),_s("hmmss",0,0,(function(){return""+rl.apply(this)+ks(this.minutes(),2)+ks(this.seconds(),2)})),_s("Hmm",0,0,(function(){return""+this.hours()+ks(this.minutes(),2)})),_s("Hmmss",0,0,(function(){return""+this.hours()+ks(this.minutes(),2)+ks(this.seconds(),2)})),nl("a",!0),nl("A",!1),Hs("hour","h"),Zs("hour",13),dc("a",il),dc("A",il),dc("H",oc),dc("h",oc),dc("k",oc),dc("HH",oc,Xs),dc("hh",oc,Xs),dc("kk",oc,Xs),dc("hmm",rc),dc("hmmss",nc),dc("Hmm",rc),dc("Hmmss",nc),bc(["H","HH"],Nc),bc(["k","kk"],(function(t,e,o){var r=Ts(t);e[Nc]=24===r?0:r})),bc(["a","A"],(function(t,e,o){o._isPm=o._locale.isPM(t),o._meridiem=t})),bc(["h","hh"],(function(t,e,o){e[Nc]=Ts(t),ps(o).bigHour=!0})),bc("hmm",(function(t,e,o){var r=t.length-2;e[Nc]=Ts(t.substr(0,r)),e[Cc]=Ts(t.substr(r)),ps(o).bigHour=!0})),bc("hmmss",(function(t,e,o){var r=t.length-4,n=t.length-2;e[Nc]=Ts(t.substr(0,r)),e[Cc]=Ts(t.substr(r,2)),e[Ec]=Ts(t.substr(n)),ps(o).bigHour=!0})),bc("Hmm",(function(t,e,o){var r=t.length-2;e[Nc]=Ts(t.substr(0,r)),e[Cc]=Ts(t.substr(r))})),bc("Hmmss",(function(t,e,o){var r=t.length-4,n=t.length-2;e[Nc]=Ts(t.substr(0,r)),e[Cc]=Ts(t.substr(r,2)),e[Ec]=Ts(t.substr(n))}));var al=$s("Hours",!0);var sl,cl={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:Vc,weekdaysMin:Jc,weekdaysShort:qc,meridiemParse:/[ap]\.?m?\.?/i},ll={},ul={};function fl(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 hl(t){return t?t.toLowerCase().replace("_","-"):t}function dl(t){var e=null;if(void 0===ll[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(t))try{e=sl._abbr,require("./locale/"+t),pl(e)}catch(e){ll[t]=null}return ll[t]}function pl(t,e){var o;return t&&((o=cs(e)?gl(t):yl(t,e))?sl=o:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),sl._abbr}function yl(t,e){if(null!==e){var o,r=cl;if(e.abbr=t,null!=ll[t])Es("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=ll[t]._config;else if(null!=e.parentLocale)if(null!=ll[e.parentLocale])r=ll[e.parentLocale]._config;else{if(null==(o=dl(e.parentLocale)))return ul[e.parentLocale]||(ul[e.parentLocale]=[]),ul[e.parentLocale].push({name:t,config:e}),null;r=o._config}return ll[t]=new Ms(Is(r,e)),ul[t]&&ul[t].forEach((function(t){yl(t.name,t.config)})),pl(t),ll[t]}return delete ll[t],null}function gl(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return sl;if(!ns(t)){if(e=dl(t))return e;t=[t]}return function(t){for(var e,o,r,n,i=0;i<t.length;){for(e=(n=hl(t[i]).split("-")).length,o=(o=hl(t[i+1]))?o.split("-"):null;e>0;){if(r=dl(n.slice(0,e).join("-")))return r;if(o&&o.length>=e&&fl(n,o)>=e-1)break;e--}i++}return sl}(t)}function bl(t){var e,o=t._a;return o&&-2===ps(t).overflow&&(e=o[wc]<0||o[wc]>11?wc:o[xc]<1||o[xc]>kc(o[Oc],o[wc])?xc:o[Nc]<0||o[Nc]>24||24===o[Nc]&&(0!==o[Cc]||0!==o[Ec]||0!==o[Rc])?Nc:o[Cc]<0||o[Cc]>59?Cc:o[Ec]<0||o[Ec]>59?Ec:o[Rc]<0||o[Rc]>999?Rc:-1,ps(t)._overflowDayOfYear&&(e<Oc||e>xc)&&(e=xc),ps(t)._overflowWeeks&&-1===e&&(e=Ic),ps(t)._overflowWeekday&&-1===e&&(e=Mc),ps(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)?)?$/,vl=/^\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=/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]],wl=[["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/]],xl=/^\/?Date\((-?\d+)/i,Nl=/^(?:(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}))$/,Cl={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function El(t){var e,o,r,n,i,a,s=t._i,c=ml.exec(s)||vl.exec(s),l=Ol.length,u=wl.length;if(c){for(ps(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(wl[e][1].exec(c[3])){i=(c[2]||" ")+wl[e][0];break}if(null==i)return void(t._isValid=!1)}if(!r&&null!=i)return void(t._isValid=!1);if(c[4]){if(!Sl.exec(c[4]))return void(t._isValid=!1);a="Z"}t._f=n+(i||"")+(a||""),Wl(t)}else t._isValid=!1}function Rl(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function Il(t){var e,o,r,n,i,a,s,c,l=Nl.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=[Rl(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||qc.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(ps(o).weekdayMismatch=!0,o._isValid=!1,!1)}(l[1],e,t))return;t._a=e,t._tzm=function(t,e,o){if(t)return Cl[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=Zc.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),ps(t).rfc2822=!0}else t._isValid=!1}function Ml(t,e,o){return null!=t?t:null!=e?e:o}function kl(t){var e,o,r,n,i,a=[];if(!t._d){for(r=function(t){var e=new Date(rs.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[xc]&&null==t._a[wc]&&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=Ml(e.GG,t._a[Oc],Tc(Ul(),1,4).year),r=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=Tc(Ul(),i,a),o=Ml(e.gg,t._a[Oc],l.year),r=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);r<1||r>$c(o,i,a)?ps(t)._overflowWeeks=!0:null!=c?ps(t)._overflowWeekday=!0:(s=Kc(o,r,n,i,a),t._a[Oc]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(i=Ml(t._a[Oc],r[Oc]),(t._dayOfYear>zc(i)||0===t._dayOfYear)&&(ps(t)._overflowDayOfYear=!0),o=Zc(i,0,t._dayOfYear),t._a[wc]=o.getUTCMonth(),t._a[xc]=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[Nc]&&0===t._a[Cc]&&0===t._a[Ec]&&0===t._a[Rc]&&(t._nextDay=!0,t._a[Nc]=0),t._d=(t._useUTC?Zc: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[Nc]=24),t._w&&void 0!==t._w.d&&t._w.d!==n&&(ps(t).weekdayMismatch=!0)}}function Wl(t){if(t._f!==rs.ISO_8601)if(t._f!==rs.RFC_2822){t._a=[],ps(t).empty=!0;var e,o,r,n,i,a,s,c=""+t._i,l=c.length,u=0;for(s=(r=Ys(t._f,t._locale).match(Ws)||[]).length,e=0;e<s;e++)n=r[e],(o=(c.match(pc(n,t))||[])[0])&&((i=c.substr(0,c.indexOf(o))).length>0&&ps(t).unusedInput.push(i),c=c.slice(c.indexOf(o)+o.length),u+=o.length),Us[n]?(o?ps(t).empty=!1:ps(t).unusedTokens.push(n),vc(n,o,t)):t._strict&&!o&&ps(t).unusedTokens.push(n);ps(t).charsLeftOver=l-u,c.length>0&&ps(t).unusedInput.push(c),t._a[Nc]<=12&&!0===ps(t).bigHour&&t._a[Nc]>0&&(ps(t).bigHour=void 0),ps(t).parsedDateParts=t._a.slice(0),ps(t).meridiem=t._meridiem,t._a[Nc]=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[Nc],t._meridiem),null!==(a=ps(t).era)&&(t._a[Oc]=t._locale.erasConvertYear(a,t._a[Oc])),kl(t),bl(t)}else Il(t);else El(t)}function Ll(t){var e=t._i,o=t._f;return t._locale=t._locale||gl(t._l),null===e||void 0===o&&""===e?gs({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),Os(e)?new Ss(bl(e)):(us(e)?t._d=e:ns(o)?function(t){var e,o,r,n,i,a,s=!1,c=t._f.length;if(0===c)return ps(t).invalidFormat=!0,void(t._d=new Date(NaN));for(n=0;n<c;n++)i=0,a=!1,e=vs({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[n],Wl(e),ys(e)&&(a=!0),i+=ps(e).charsLeftOver,i+=10*ps(e).unusedTokens.length,ps(e).score=i,s?i<r&&(r=i,o=e):(null==r||i<r||a)&&(r=i,o=e,a&&(s=!0));hs(t,o||e)}(t):o?Wl(t):function(t){var e=t._i;cs(e)?t._d=new Date(rs.now()):us(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=xl.exec(t._i);null===e?(El(t),!1===t._isValid&&(delete t._isValid,Il(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:rs.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):ns(e)?(t._a=fs(e.slice(0),(function(t){return parseInt(t,10)})),kl(t)):is(e)?function(t){if(!t._d){var e=Bs(t._i),o=void 0===e.day?e.date:e.day;t._a=fs([e.year,e.month,o,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),kl(t)}}(t):ls(e)?t._d=new Date(e):rs.createFromInputFallback(t)}(t),ys(t)||(t._d=null),t))}function Dl(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),(is(t)&&ss(t)||ns(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 Ss(bl(Ll(a))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function Ul(t,e,o,r){return Dl(t,e,o,r,!1)}rs.createFromInputFallback=xs("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":""))})),rs.ISO_8601=function(){},rs.RFC_2822=function(){};var _l=xs("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Ul.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:gs()})),Fl=xs("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Ul.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:gs()}));function Yl(t,e){var o,r;if(1===e.length&&ns(e[0])&&(e=e[0]),!e.length)return Ul();for(o=e[0],r=1;r<e.length;++r)e[r].isValid()&&!e[r][t](o)||(o=e[r]);return o}var Al=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Hl(t){var e=Bs(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=Al.length;for(e in t)if(as(t,e)&&(-1===Sc.call(Al,e)||null!=t[e]&&isNaN(t[e])))return!1;for(o=0;o<n;++o)if(t[Al[o]]){if(r)return!1;parseFloat(t[Al[o]])!==Ts(t[Al[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=gl(),this._bubble()}function zl(t){return t instanceof Hl}function Bl(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function jl(t,e){_s(t,0,0,(function(){var t=this.utcOffset(),o="+";return t<0&&(t=-t,o="-"),o+ks(~~(t/60),2)+e+ks(~~t%60,2)}))}jl("Z",":"),jl("ZZ",""),dc("Z",fc),dc("ZZ",fc),bc(["Z","ZZ"],(function(t,e,o){o._useUTC=!0,o._tzm=Pl(fc,t)}));var Zl=/([\+\-]|\d\d)/gi;function Pl(t,e){var o,r,n=(e||"").match(t);return null===n?null:0===(r=60*(o=((n[n.length-1]||[])+"").match(Zl)||["-",0,0])[1]+Ts(o[2]))?0:"+"===o[0]?r:-r}function Kl(t,e){var o,r;return e._isUTC?(o=e.clone(),r=(Os(t)||us(t)?t.valueOf():Ul(t).valueOf())-o.valueOf(),o._d.setTime(o._d.valueOf()+r),rs.updateOffset(o,!1),o):Ul(t).local()}function Tl(t){return-Math.round(t._d.getTimezoneOffset())}function $l(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}rs.updateOffset=function(){};var Gl=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Vl=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ql(t,e){var o,r,n,i=t,a=null;return zl(t)?i={ms:t._milliseconds,d:t._days,M:t._months}:ls(t)||!isNaN(+t)?(i={},e?i[e]=+t:i.milliseconds=+t):(a=Gl.exec(t))?(o="-"===a[1]?-1:1,i={y:0,d:Ts(a[xc])*o,h:Ts(a[Nc])*o,m:Ts(a[Cc])*o,s:Ts(a[Ec])*o,ms:Ts(Bl(1e3*a[Rc]))*o}):(a=Vl.exec(t))?(o="-"===a[1]?-1:1,i={y:Jl(a[2],o),M:Jl(a[3],o),w:Jl(a[4],o),d:Jl(a[5],o),h:Jl(a[6],o),m:Jl(a[7],o),s:Jl(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=Kl(e,t),t.isBefore(e)?o=Xl(t,e):((o=Xl(e,t)).milliseconds=-o.milliseconds,o.months=-o.months);return o}(Ul(i.from),Ul(i.to)),(i={}).ms=n.milliseconds,i.M=n.months),r=new Hl(i),zl(t)&&as(t,"_locale")&&(r._locale=t._locale),zl(t)&&as(t,"_isValid")&&(r._isValid=t._isValid),r}function Jl(t,e){var o=t&&parseFloat(t.replace(",","."));return(isNaN(o)?0:o)*e}function Xl(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 Ql(t,e){return function(o,r){var n;return null===r||isNaN(+r)||(Es(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),tu(this,ql(o,r),t),this}}function tu(t,e,o,r){var n=e._milliseconds,i=Bl(e._days),a=Bl(e._months);t.isValid()&&(r=null==r||r,a&&Yc(t,Gs(t,"Month")+a*o),i&&Vs(t,"Date",Gs(t,"Date")+i*o),n&&t._d.setTime(t._d.valueOf()+n*o),r&&rs.updateOffset(t,i||a))}ql.fn=Hl.prototype,ql.invalid=function(){return ql(NaN)};var eu=Ql(1,"add"),ou=Ql(-1,"subtract");function ru(t){return"string"==typeof t||t instanceof String}function nu(t){return Os(t)||us(t)||ru(t)||ls(t)||function(t){var e=ns(t),o=!1;e&&(o=0===t.filter((function(e){return!ls(e)&&ru(t)})).length);return e&&o}(t)||function(t){var e,o,r=is(t)&&!ss(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||as(t,o);return r&&n}(t)||null==t}function iu(t,e){if(t.date()<e.date())return-iu(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 au(t){var e;return void 0===t?this._locale._abbr:(null!=(e=gl(t))&&(this._locale=e),this)}rs.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",rs.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var su=xs("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 cu(){return this._locale}var lu=1e3,uu=6e4,fu=36e5,hu=126227808e5;function du(t,e){return(t%e+e)%e}function pu(t,e,o){return t<100&&t>=0?new Date(t+400,e,o)-hu:new Date(t,e,o).valueOf()}function yu(t,e,o){return t<100&&t>=0?Date.UTC(t+400,e,o)-hu:Date.UTC(t,e,o)}function gu(t,e){return e.erasAbbrRegex(t)}function bu(){var t,e,o=[],r=[],n=[],i=[],a=this.eras();for(t=0,e=a.length;t<e;++t)r.push(yc(a[t].name)),o.push(yc(a[t].abbr)),n.push(yc(a[t].narrow)),i.push(yc(a[t].name)),i.push(yc(a[t].abbr)),i.push(yc(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){_s(0,[t,t.length],0,e)}function vu(t,e,o,r,n){var i;return null==t?Tc(this,r,n).year:(e>(i=$c(t,r,n))&&(e=i),Su.call(this,t,e,o,r,n))}function Su(t,e,o,r,n){var i=Kc(t,e,o,r,n),a=Zc(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}_s("N",0,0,"eraAbbr"),_s("NN",0,0,"eraAbbr"),_s("NNN",0,0,"eraAbbr"),_s("NNNN",0,0,"eraName"),_s("NNNNN",0,0,"eraNarrow"),_s("y",["y",1],"yo","eraYear"),_s("y",["yy",2],0,"eraYear"),_s("y",["yyy",3],0,"eraYear"),_s("y",["yyyy",4],0,"eraYear"),dc("N",gu),dc("NN",gu),dc("NNN",gu),dc("NNNN",(function(t,e){return e.erasNameRegex(t)})),dc("NNNNN",(function(t,e){return e.erasNarrowRegex(t)})),bc(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,o,r){var n=o._locale.erasParse(t,r,o._strict);n?ps(o).era=n:ps(o).invalidEra=t})),dc("y",cc),dc("yy",cc),dc("yyy",cc),dc("yyyy",cc),dc("yo",(function(t,e){return e._eraYearOrdinalRegex||cc})),bc(["y","yy","yyy","yyyy"],Oc),bc(["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)})),_s(0,["gg",2],0,(function(){return this.weekYear()%100})),_s(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),mu("gggg","weekYear"),mu("ggggg","weekYear"),mu("GGGG","isoWeekYear"),mu("GGGGG","isoWeekYear"),Hs("weekYear","gg"),Hs("isoWeekYear","GG"),Zs("weekYear",1),Zs("isoWeekYear",1),dc("G",lc),dc("g",lc),dc("GG",oc,Xs),dc("gg",oc,Xs),dc("GGGG",ac,tc),dc("gggg",ac,tc),dc("GGGGG",sc,ec),dc("ggggg",sc,ec),mc(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,o,r){e[r.substr(0,2)]=Ts(t)})),mc(["gg","GG"],(function(t,e,o,r){e[r]=rs.parseTwoDigitYear(t)})),_s("Q",0,"Qo","quarter"),Hs("quarter","Q"),Zs("quarter",7),dc("Q",Js),bc("Q",(function(t,e){e[wc]=3*(Ts(t)-1)})),_s("D",["DD",2],"Do","date"),Hs("date","D"),Zs("date",9),dc("D",oc),dc("DD",oc,Xs),dc("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),bc(["D","DD"],xc),bc("Do",(function(t,e){e[xc]=Ts(t.match(oc)[0])}));var Ou=$s("Date",!0);_s("DDD",["DDDD",3],"DDDo","dayOfYear"),Hs("dayOfYear","DDD"),Zs("dayOfYear",4),dc("DDD",ic),dc("DDDD",Qs),bc(["DDD","DDDD"],(function(t,e,o){o._dayOfYear=Ts(t)})),_s("m",["mm",2],0,"minute"),Hs("minute","m"),Zs("minute",14),dc("m",oc),dc("mm",oc,Xs),bc(["m","mm"],Cc);var wu=$s("Minutes",!1);_s("s",["ss",2],0,"second"),Hs("second","s"),Zs("second",15),dc("s",oc),dc("ss",oc,Xs),bc(["s","ss"],Ec);var xu,Nu,Cu=$s("Seconds",!1);for(_s("S",0,0,(function(){return~~(this.millisecond()/100)})),_s(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),_s(0,["SSS",3],0,"millisecond"),_s(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),_s(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),_s(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),_s(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),_s(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),_s(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),Hs("millisecond","ms"),Zs("millisecond",16),dc("S",ic,Js),dc("SS",ic,Xs),dc("SSS",ic,Qs),xu="SSSS";xu.length<=9;xu+="S")dc(xu,cc);function Eu(t,e){e[Rc]=Ts(1e3*("0."+t))}for(xu="S";xu.length<=9;xu+="S")bc(xu,Eu);Nu=$s("Milliseconds",!1),_s("z",0,0,"zoneAbbr"),_s("zz",0,0,"zoneName");var Ru=Ss.prototype;function Iu(t){return t}Ru.add=eu,Ru.calendar=function(t,e){1===arguments.length&&(arguments[0]?nu(arguments[0])?(t=arguments[0],e=void 0):function(t){var e,o=is(t)&&!ss(t),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<n.length;e+=1)r=r||as(t,n[e]);return o&&r}(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var o=t||Ul(),r=Kl(o,this).startOf("day"),n=rs.calendarFormat(this,r)||"sameElse",i=e&&(Rs(e[n])?e[n].call(this,o):e[n]);return this.format(i||this.localeData().calendar(n,this,Ul(o)))},Ru.clone=function(){return new Ss(this)},Ru.diff=function(t,e,o){var r,n,i;if(!this.isValid())return NaN;if(!(r=Kl(t,this)).isValid())return NaN;switch(n=6e4*(r.utcOffset()-this.utcOffset()),e=zs(e)){case"year":i=iu(this,r)/12;break;case"month":i=iu(this,r);break;case"quarter":i=iu(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:Ks(i)},Ru.endOf=function(t){var e,o;if(void 0===(t=zs(t))||"millisecond"===t||!this.isValid())return this;switch(o=this._isUTC?yu:pu,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+=fu-du(e+(this._isUTC?0:this.utcOffset()*uu),fu)-1;break;case"minute":e=this._d.valueOf(),e+=uu-du(e,uu)-1;break;case"second":e=this._d.valueOf(),e+=lu-du(e,lu)-1}return this._d.setTime(e),rs.updateOffset(this,!0),this},Ru.format=function(t){t||(t=this.isUtc()?rs.defaultFormatUtc:rs.defaultFormat);var e=Fs(this,t);return this.localeData().postformat(e)},Ru.from=function(t,e){return this.isValid()&&(Os(t)&&t.isValid()||Ul(t).isValid())?ql({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Ru.fromNow=function(t){return this.from(Ul(),t)},Ru.to=function(t,e){return this.isValid()&&(Os(t)&&t.isValid()||Ul(t).isValid())?ql({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Ru.toNow=function(t){return this.to(Ul(),t)},Ru.get=function(t){return Rs(this[t=zs(t)])?this[t]():this},Ru.invalidAt=function(){return ps(this).overflow},Ru.isAfter=function(t,e){var o=Os(t)?t:Ul(t);return!(!this.isValid()||!o.isValid())&&("millisecond"===(e=zs(e)||"millisecond")?this.valueOf()>o.valueOf():o.valueOf()<this.clone().startOf(e).valueOf())},Ru.isBefore=function(t,e){var o=Os(t)?t:Ul(t);return!(!this.isValid()||!o.isValid())&&("millisecond"===(e=zs(e)||"millisecond")?this.valueOf()<o.valueOf():this.clone().endOf(e).valueOf()<o.valueOf())},Ru.isBetween=function(t,e,o,r){var n=Os(t)?t:Ul(t),i=Os(e)?e:Ul(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)))},Ru.isSame=function(t,e){var o,r=Os(t)?t:Ul(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(e=zs(e)||"millisecond")?this.valueOf()===r.valueOf():(o=r.valueOf(),this.clone().startOf(e).valueOf()<=o&&o<=this.clone().endOf(e).valueOf()))},Ru.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},Ru.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},Ru.isValid=function(){return ys(this)},Ru.lang=su,Ru.locale=au,Ru.localeData=cu,Ru.max=Fl,Ru.min=_l,Ru.parsingFlags=function(){return hs({},ps(this))},Ru.set=function(t,e){if("object"==typeof t){var o,r=function(t){var e,o=[];for(e in t)as(t,e)&&o.push({unit:e,priority:js[e]});return o.sort((function(t,e){return t.priority-e.priority})),o}(t=Bs(t)),n=r.length;for(o=0;o<n;o++)this[r[o].unit](t[r[o].unit])}else if(Rs(this[t=zs(t)]))return this[t](e);return this},Ru.startOf=function(t){var e,o;if(void 0===(t=zs(t))||"millisecond"===t||!this.isValid())return this;switch(o=this._isUTC?yu:pu,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-=du(e+(this._isUTC?0:this.utcOffset()*uu),fu);break;case"minute":e=this._d.valueOf(),e-=du(e,uu);break;case"second":e=this._d.valueOf(),e-=du(e,lu)}return this._d.setTime(e),rs.updateOffset(this,!0),this},Ru.subtract=ou,Ru.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},Ru.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()}},Ru.toDate=function(){return new Date(this.valueOf())},Ru.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?Fs(o,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Rs(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Fs(o,"Z")):Fs(o,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Ru.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&&(Ru[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Ru.toJSON=function(){return this.isValid()?this.toISOString():null},Ru.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Ru.unix=function(){return Math.floor(this.valueOf()/1e3)},Ru.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Ru.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Ru.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""},Ru.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""},Ru.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""},Ru.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()-rs(n[t].since).year())*o+n[t].offset;return this.year()},Ru.year=Bc,Ru.isLeapYear=function(){return Ps(this.year())},Ru.weekYear=function(t){return vu.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Ru.isoWeekYear=function(t){return vu.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},Ru.quarter=Ru.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},Ru.month=Ac,Ru.daysInMonth=function(){return kc(this.year(),this.month())},Ru.week=Ru.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},Ru.isoWeek=Ru.isoWeeks=function(t){var e=Tc(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},Ru.weeksInYear=function(){var t=this.localeData()._week;return $c(this.year(),t.dow,t.doy)},Ru.weeksInWeekYear=function(){var t=this.localeData()._week;return $c(this.weekYear(),t.dow,t.doy)},Ru.isoWeeksInYear=function(){return $c(this.year(),1,4)},Ru.isoWeeksInISOWeekYear=function(){return $c(this.isoWeekYear(),1,4)},Ru.date=Ou,Ru.day=Ru.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},Ru.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")},Ru.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},Ru.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")},Ru.hour=Ru.hours=al,Ru.minute=Ru.minutes=wu,Ru.second=Ru.seconds=Cu,Ru.millisecond=Ru.milliseconds=Nu,Ru.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=Pl(fc,t)))return this}else Math.abs(t)<16&&!o&&(t*=60);return!this._isUTC&&e&&(r=Tl(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),n!==t&&(!e||this._changeInProgress?tu(this,ql(t-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,rs.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?n:Tl(this)},Ru.utc=function(t){return this.utcOffset(0,t)},Ru.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Tl(this),"m")),this},Ru.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Pl(uc,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},Ru.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Ul(t).utcOffset():0,(this.utcOffset()-t)%60==0)},Ru.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Ru.isLocal=function(){return!!this.isValid()&&!this._isUTC},Ru.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Ru.isUtc=$l,Ru.isUTC=$l,Ru.zoneAbbr=function(){return this._isUTC?"UTC":""},Ru.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Ru.dates=xs("dates accessor is deprecated. Use date instead.",Ou),Ru.months=xs("months accessor is deprecated. Use month instead",Ac),Ru.years=xs("years accessor is deprecated. Use year instead",Bc),Ru.zone=xs("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()})),Ru.isDSTShifted=xs("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!cs(this._isDSTShifted))return this._isDSTShifted;var t,e={};return vs(e,this),(e=Ll(e))._a?(t=e._isUTC?ds(e._a):Ul(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&&Ts(t[r])!==Ts(e[r]))&&a++;return a+i}(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var Mu=Ms.prototype;function ku(t,e,o,r){var n=gl(),i=ds().set(r,e);return n[o](i,t)}function Wu(t,e,o){if(ls(t)&&(e=t,t=void 0),t=t||"",null!=e)return ku(t,e,o,"month");var r,n=[];for(r=0;r<12;r++)n[r]=ku(t,r,o,"month");return n}function Lu(t,e,o,r){"boolean"==typeof t?(ls(e)&&(o=e,e=void 0),e=e||""):(o=e=t,t=!1,ls(e)&&(o=e,e=void 0),e=e||"");var n,i=gl(),a=t?i._week.dow:0,s=[];if(null!=o)return ku(e,(o+a)%7,r,"day");for(n=0;n<7;n++)s[n]=ku(e,(n+a)%7,r,"day");return s}Mu.calendar=function(t,e,o){var r=this._calendar[t]||this._calendar.sameElse;return Rs(r)?r.call(e,o):r},Mu.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])},Mu.invalidDate=function(){return this._invalidDate},Mu.ordinal=function(t){return this._ordinal.replace("%d",t)},Mu.preparse=Iu,Mu.postformat=Iu,Mu.relativeTime=function(t,e,o,r){var n=this._relativeTime[o];return Rs(n)?n(t,e,o,r):n.replace(/%d/i,t)},Mu.pastFuture=function(t,e){var o=this._relativeTime[t>0?"future":"past"];return Rs(o)?o(e):o.replace(/%s/i,e)},Mu.set=function(t){var e,o;for(o in t)as(t,o)&&(Rs(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)},Mu.eras=function(t,e){var o,r,n,i=this._eras||gl("en")._eras;for(o=0,r=i.length;o<r;++o){if("string"==typeof i[o].since)n=rs(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=rs(i[o].until).startOf("day").valueOf(),i[o].until=n.valueOf()}}return i},Mu.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]},Mu.erasConvertYear=function(t,e){var o=t.since<=t.until?1:-1;return void 0===e?rs(t.since).year():rs(t.since).year()+(e-t.offset)*o},Mu.erasAbbrRegex=function(t){return as(this,"_erasAbbrRegex")||bu.call(this),t?this._erasAbbrRegex:this._erasRegex},Mu.erasNameRegex=function(t){return as(this,"_erasNameRegex")||bu.call(this),t?this._erasNameRegex:this._erasRegex},Mu.erasNarrowRegex=function(t){return as(this,"_erasNarrowRegex")||bu.call(this),t?this._erasNarrowRegex:this._erasRegex},Mu.months=function(t,e){return t?ns(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Dc).test(e)?"format":"standalone"][t.month()]:ns(this._months)?this._months:this._months.standalone},Mu.monthsShort=function(t,e){return t?ns(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Dc.test(e)?"format":"standalone"][t.month()]:ns(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Mu.monthsParse=function(t,e,o){var r,n,i;if(this._monthsParseExact)return Fc.call(this,t,e,o);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(n=ds([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}},Mu.monthsRegex=function(t){return this._monthsParseExact?(as(this,"_monthsRegex")||Hc.call(this),t?this._monthsStrictRegex:this._monthsRegex):(as(this,"_monthsRegex")||(this._monthsRegex=_c),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},Mu.monthsShortRegex=function(t){return this._monthsParseExact?(as(this,"_monthsRegex")||Hc.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(as(this,"_monthsShortRegex")||(this._monthsShortRegex=Uc),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},Mu.week=function(t){return Tc(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 o=ns(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Gc(o,this._week.dow):t?o[t.day()]:o},Mu.weekdaysMin=function(t){return!0===t?Gc(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},Mu.weekdaysShort=function(t){return!0===t?Gc(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},Mu.weekdaysParse=function(t,e,o){var r,n,i;if(this._weekdaysParseExact)return el.call(this,t,e,o);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(n=ds([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}},Mu.weekdaysRegex=function(t){return this._weekdaysParseExact?(as(this,"_weekdaysRegex")||ol.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(as(this,"_weekdaysRegex")||(this._weekdaysRegex=Xc),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},Mu.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(as(this,"_weekdaysRegex")||ol.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(as(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Qc),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Mu.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(as(this,"_weekdaysRegex")||ol.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(as(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=tl),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Mu.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},Mu.meridiem=function(t,e,o){return t>11?o?"pm":"PM":o?"am":"AM"},pl("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===Ts(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),rs.lang=xs("moment.lang is deprecated. Use moment.locale instead.",pl),rs.langData=xs("moment.langData is deprecated. Use moment.localeData instead.",gl);var Du=Math.abs;function Uu(t,e,o,r){var n=ql(e,o);return t._milliseconds+=r*n._milliseconds,t._days+=r*n._days,t._months+=r*n._months,t._bubble()}function _u(t){return t<0?Math.floor(t):Math.ceil(t)}function Fu(t){return 4800*t/146097}function Yu(t){return 146097*t/4800}function Au(t){return function(){return this.as(t)}}var Hu=Au("ms"),zu=Au("s"),Bu=Au("m"),ju=Au("h"),Zu=Au("d"),Pu=Au("w"),Ku=Au("M"),Tu=Au("Q"),$u=Au("y");function Gu(t){return function(){return this.isValid()?this._data[t]:NaN}}var Vu=Gu("milliseconds"),qu=Gu("seconds"),Ju=Gu("minutes"),Xu=Gu("hours"),Qu=Gu("days"),tf=Gu("months"),ef=Gu("years");var of=Math.round,rf={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function nf(t,e,o,r,n){return n.relativeTime(e||1,!!o,t,r)}var af=Math.abs;function sf(t){return(t>0)-(t<0)||+t}function cf(){if(!this.isValid())return this.localeData().invalidDate();var t,e,o,r,n,i,a,s,c=af(this._milliseconds)/1e3,l=af(this._days),u=af(this._months),f=this.asSeconds();return f?(t=Ks(c/60),e=Ks(t/60),c%=60,t%=60,o=Ks(u/12),u%=12,r=c?c.toFixed(3).replace(/\.?0+$/,""):"",n=f<0?"-":"",i=sf(this._months)!==sf(f)?"-":"",a=sf(this._days)!==sf(f)?"-":"",s=sf(this._milliseconds)!==sf(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 lf,uf=Hl.prototype;uf.isValid=function(){return this._isValid},uf.abs=function(){var t=this._data;return this._milliseconds=Du(this._milliseconds),this._days=Du(this._days),this._months=Du(this._months),t.milliseconds=Du(t.milliseconds),t.seconds=Du(t.seconds),t.minutes=Du(t.minutes),t.hours=Du(t.hours),t.months=Du(t.months),t.years=Du(t.years),this},uf.add=function(t,e){return Uu(this,t,e,1)},uf.subtract=function(t,e){return Uu(this,t,e,-1)},uf.as=function(t){if(!this.isValid())return NaN;var e,o,r=this._milliseconds;if("month"===(t=zs(t))||"quarter"===t||"year"===t)switch(e=this._days+r/864e5,o=this._months+Fu(e),t){case"month":return o;case"quarter":return o/3;case"year":return o/12}else switch(e=this._days+Math.round(Yu(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)}},uf.asMilliseconds=Hu,uf.asSeconds=zu,uf.asMinutes=Bu,uf.asHours=ju,uf.asDays=Zu,uf.asWeeks=Pu,uf.asMonths=Ku,uf.asQuarters=Tu,uf.asYears=$u,uf.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Ts(this._months/12):NaN},uf._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*_u(Yu(s)+a),a=0,s=0),c.milliseconds=i%1e3,t=Ks(i/1e3),c.seconds=t%60,e=Ks(t/60),c.minutes=e%60,o=Ks(e/60),c.hours=o%24,a+=Ks(o/24),s+=n=Ks(Fu(a)),a-=_u(Yu(n)),r=Ks(s/12),s%=12,c.days=a,c.months=s,c.years=r,this},uf.clone=function(){return ql(this)},uf.get=function(t){return t=zs(t),this.isValid()?this[t+"s"]():NaN},uf.milliseconds=Vu,uf.seconds=qu,uf.minutes=Ju,uf.hours=Xu,uf.days=Qu,uf.weeks=function(){return Ks(this.days()/7)},uf.months=tf,uf.years=ef,uf.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var o,r,n=!1,i=rf;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(n=t),"object"==typeof e&&(i=Object.assign({},rf,e),null!=e.s&&null==e.ss&&(i.ss=e.s-1)),r=function(t,e,o,r){var n=ql(t).abs(),i=of(n.as("s")),a=of(n.as("m")),s=of(n.as("h")),c=of(n.as("d")),l=of(n.as("M")),u=of(n.as("w")),f=of(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,nf.apply(null,h)}(this,!n,i,o=this.localeData()),n&&(r=o.pastFuture(+this,r)),o.postformat(r)},uf.toISOString=cf,uf.toString=cf,uf.toJSON=cf,uf.locale=au,uf.localeData=cu,uf.toIsoString=xs("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",cf),uf.lang=su,_s("X",0,0,"unix"),_s("x",0,0,"valueOf"),dc("x",lc),dc("X",/[+-]?\d+(\.\d{1,3})?/),bc("X",(function(t,e,o){o._d=new Date(1e3*parseFloat(t))})),bc("x",(function(t,e,o){o._d=new Date(Ts(t))})),
|
|
183
|
+
var es,os;function rs(){return es.apply(null,arguments)}function ns(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function is(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function as(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function ss(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(as(t,e))return!1;return!0}function cs(t){return void 0===t}function ls(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function us(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function fs(t,e){var o,r=[],n=t.length;for(o=0;o<n;++o)r.push(e(t[o],o));return r}function hs(t,e){for(var o in e)as(e,o)&&(t[o]=e[o]);return as(e,"toString")&&(t.toString=e.toString),as(e,"valueOf")&&(t.valueOf=e.valueOf),t}function ds(t,e,o,r){return Dl(t,e,o,r,!0).utc()}function ps(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 ys(t){if(null==t._isValid){var e=ps(t),o=os.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 gs(t){var e=ds(NaN);return null!=t?hs(ps(e),t):ps(e).userInvalidated=!0,e}window.ftGlobals=null!==(Ja=window.ftGlobals)&&void 0!==Ja?Ja:{lit:me,litDecorators:Ce,litRepeat:Ae,litClassMap:ze,litStyleMap:Pe,litUnsafeHTML:Te,wcUtils:{...Xe,...Je,...to,...oo,...fo,...gr,...Or,...xn,...pr,...Un,..._n,...so,...Bn,...Kn,...$n,...Tn,...Ka,...In,...$a,...Xa,isSafari:Qa,isTouchScreen:ts}},os=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 bs=rs.momentProperties=[],ms=!1;function vs(t,e){var o,r,n,i=bs.length;if(cs(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),cs(e._i)||(t._i=e._i),cs(e._f)||(t._f=e._f),cs(e._l)||(t._l=e._l),cs(e._strict)||(t._strict=e._strict),cs(e._tzm)||(t._tzm=e._tzm),cs(e._isUTC)||(t._isUTC=e._isUTC),cs(e._offset)||(t._offset=e._offset),cs(e._pf)||(t._pf=ps(e)),cs(e._locale)||(t._locale=e._locale),i>0)for(o=0;o<i;o++)cs(n=e[r=bs[o]])||(t[r]=n);return t}function Os(t){vs(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===ms&&(ms=!0,rs.updateOffset(this),ms=!1)}function Ss(t){return t instanceof Os||null!=t&&null!=t._isAMomentObject}function ws(t){!1===rs.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function xs(t,e){var o=!0;return hs((function(){if(null!=rs.deprecationHandler&&rs.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])as(arguments[0],i)&&(r+=i+": "+arguments[0][i]+", ");r=r.slice(0,-2)}else r=arguments[n];a.push(r)}ws(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),o=!1}return e.apply(this,arguments)}),e)}var Ns,Cs={};function Es(t,e){null!=rs.deprecationHandler&&rs.deprecationHandler(t,e),Cs[t]||(ws(e),Cs[t]=!0)}function Rs(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function Is(t,e){var o,r=hs({},t);for(o in e)as(e,o)&&(is(t[o])&&is(e[o])?(r[o]={},hs(r[o],t[o]),hs(r[o],e[o])):null!=e[o]?r[o]=e[o]:delete r[o]);for(o in t)as(t,o)&&!as(e,o)&&is(t[o])&&(r[o]=hs({},r[o]));return r}function Ms(t){null!=t&&this.set(t)}rs.suppressDeprecationWarnings=!1,rs.deprecationHandler=null,Ns=Object.keys?Object.keys:function(t){var e,o=[];for(e in t)as(t,e)&&o.push(e);return o};function ks(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,Ds={},Us={};function _s(t,e,o,r){var n=r;"string"==typeof r&&(n=function(){return this[r]()}),t&&(Us[t]=n),e&&(Us[e[0]]=function(){return ks(n.apply(this,arguments),e[1],e[2])}),o&&(Us[o]=function(){return this.localeData().ordinal(n.apply(this,arguments),t)})}function Ys(t,e){return t.isValid()?(e=Fs(e,t.localeData()),Ds[e]=Ds[e]||function(t){var e,o,r,n=t.match(Ws);for(e=0,o=n.length;e<o;e++)Us[n[e]]?n[e]=Us[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+=Rs(n[r])?n[r].call(e,t):n[r];return i}}(e),Ds[e](t)):t.localeData().invalidDate()}function Fs(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 As={};function Hs(t,e){var o=t.toLowerCase();As[o]=As[o+"s"]=As[e]=t}function zs(t){return"string"==typeof t?As[t]||As[t.toLowerCase()]:void 0}function Bs(t){var e,o,r={};for(o in t)as(t,o)&&(e=zs(o))&&(r[e]=t[o]);return r}var Zs={};function js(t,e){Zs[t]=e}function Ps(t){return t%4==0&&t%100!=0||t%400==0}function Ks(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function $s(t){var e=+t,o=0;return 0!==e&&isFinite(e)&&(o=Ks(e)),o}function Ts(t,e){return function(o){return null!=o?(Vs(this,t,o),rs.updateOffset(this,e),this):Gs(this,t)}}function Gs(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Vs(t,e,o){t.isValid()&&!isNaN(o)&&("FullYear"===e&&Ps(t.year())&&1===t.month()&&29===t.date()?(o=$s(o),t._d["set"+(t._isUTC?"UTC":"")+e](o,t.month(),kc(o,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](o))}var qs,Js=/\d/,Xs=/\d\d/,Qs=/\d{3}/,tc=/\d{4}/,ec=/[+-]?\d{6}/,oc=/\d\d?/,rc=/\d\d\d\d?/,nc=/\d\d\d\d\d\d?/,ic=/\d{1,3}/,ac=/\d{1,4}/,sc=/[+-]?\d{1,6}/,cc=/\d+/,lc=/[+-]?\d+/,uc=/Z|[+-]\d\d:?\d\d/gi,fc=/Z|[+-]\d\d(?::?\d\d)?/gi,hc=/[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 dc(t,e,o){qs[t]=Rs(e)?e:function(t,r){return t&&o?o:e}}function pc(t,e){return as(qs,t)?qs[t](e._strict,e._locale):new RegExp(function(t){return yc(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,o,r,n){return e||o||r||n})))}(t))}function yc(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}qs={};var gc={};function bc(t,e){var o,r,n=e;for("string"==typeof t&&(t=[t]),ls(e)&&(n=function(t,o){o[e]=$s(t)}),r=t.length,o=0;o<r;o++)gc[t[o]]=n}function mc(t,e){bc(t,(function(t,o,r,n){r._w=r._w||{},e(t,r._w,r,n)}))}function vc(t,e,o){null!=e&&as(gc,t)&&gc[t](e,o._a,o,t)}var Oc,Sc=0,wc=1,xc=2,Nc=3,Cc=4,Ec=5,Rc=6,Ic=7,Mc=8;function kc(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?Ps(t)?29:28:31-o%7%2}Oc=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},_s("M",["MM",2],"Mo",(function(){return this.month()+1})),_s("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),_s("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),Hs("month","M"),js("month",8),dc("M",oc),dc("MM",oc,Xs),dc("MMM",(function(t,e){return e.monthsShortRegex(t)})),dc("MMMM",(function(t,e){return e.monthsRegex(t)})),bc(["M","MM"],(function(t,e){e[wc]=$s(t)-1})),bc(["MMM","MMMM"],(function(t,e,o,r){var n=o._locale.monthsParse(t,r,o._strict);null!=n?e[wc]=n:ps(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("_"),Dc=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Uc=hc,_c=hc;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=ds([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return o?"MMM"===e?-1!==(n=Oc.call(this._shortMonthsParse,a))?n:null:-1!==(n=Oc.call(this._longMonthsParse,a))?n:null:"MMM"===e?-1!==(n=Oc.call(this._shortMonthsParse,a))||-1!==(n=Oc.call(this._longMonthsParse,a))?n:null:-1!==(n=Oc.call(this._longMonthsParse,a))||-1!==(n=Oc.call(this._shortMonthsParse,a))?n:null}function Fc(t,e){var o;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=$s(e);else if(!ls(e=t.localeData().monthsParse(e)))return t;return o=Math.min(t.date(),kc(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,o),t}function Ac(t){return null!=t?(Fc(this,t),rs.updateOffset(this,!0),this):Gs(this,"Month")}function Hc(){function t(t,e){return e.length-t.length}var e,o,r=[],n=[],i=[];for(e=0;e<12;e++)o=ds([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]=yc(r[e]),n[e]=yc(n[e]);for(e=0;e<24;e++)i[e]=yc(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 zc(t){return Ps(t)?366:365}_s("Y",0,0,(function(){var t=this.year();return t<=9999?ks(t,4):"+"+t})),_s(0,["YY",2],0,(function(){return this.year()%100})),_s(0,["YYYY",4],0,"year"),_s(0,["YYYYY",5],0,"year"),_s(0,["YYYYYY",6,!0],0,"year"),Hs("year","y"),js("year",1),dc("Y",lc),dc("YY",oc,Xs),dc("YYYY",ac,tc),dc("YYYYY",sc,ec),dc("YYYYYY",sc,ec),bc(["YYYYY","YYYYYY"],Sc),bc("YYYY",(function(t,e){e[Sc]=2===t.length?rs.parseTwoDigitYear(t):$s(t)})),bc("YY",(function(t,e){e[Sc]=rs.parseTwoDigitYear(t)})),bc("Y",(function(t,e){e[Sc]=parseInt(t,10)})),rs.parseTwoDigitYear=function(t){return $s(t)+($s(t)>68?1900:2e3)};var Bc=Ts("FullYear",!0);function Zc(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 jc(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 Pc(t,e,o){var r=7+e-o;return-((7+jc(t,0,r).getUTCDay()-e)%7)+r-1}function Kc(t,e,o,r,n){var i,a,s=1+7*(e-1)+(7+o-r)%7+Pc(t,r,n);return s<=0?a=zc(i=t-1)+s:s>zc(t)?(i=t+1,a=s-zc(t)):(i=t,a=s),{year:i,dayOfYear:a}}function $c(t,e,o){var r,n,i=Pc(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=Pc(t,e,o),n=Pc(t+1,e,o);return(zc(t)-r+n)/7}_s("w",["ww",2],"wo","week"),_s("W",["WW",2],"Wo","isoWeek"),Hs("week","w"),Hs("isoWeek","W"),js("week",5),js("isoWeek",5),dc("w",oc),dc("ww",oc,Xs),dc("W",oc),dc("WW",oc,Xs),mc(["w","ww","W","WW"],(function(t,e,o,r){e[r.substr(0,1)]=$s(t)}));function Gc(t,e){return t.slice(e,7).concat(t.slice(0,e))}_s("d",0,"do","day"),_s("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),_s("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),_s("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),_s("e",0,0,"weekday"),_s("E",0,0,"isoWeekday"),Hs("day","d"),Hs("weekday","e"),Hs("isoWeekday","E"),js("day",11),js("weekday",11),js("isoWeekday",11),dc("d",oc),dc("e",oc),dc("E",oc),dc("dd",(function(t,e){return e.weekdaysMinRegex(t)})),dc("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),dc("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:ps(o).invalidWeekday=t})),mc(["d","e","E"],(function(t,e,o,r){e[r]=$s(t)}));var Vc="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qc="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Jc="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xc=hc,Qc=hc,tl=hc;function el(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=ds([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=Oc.call(this._weekdaysParse,a))?n:null:"ddd"===e?-1!==(n=Oc.call(this._shortWeekdaysParse,a))?n:null:-1!==(n=Oc.call(this._minWeekdaysParse,a))?n:null:"dddd"===e?-1!==(n=Oc.call(this._weekdaysParse,a))||-1!==(n=Oc.call(this._shortWeekdaysParse,a))||-1!==(n=Oc.call(this._minWeekdaysParse,a))?n:null:"ddd"===e?-1!==(n=Oc.call(this._shortWeekdaysParse,a))||-1!==(n=Oc.call(this._weekdaysParse,a))||-1!==(n=Oc.call(this._minWeekdaysParse,a))?n:null:-1!==(n=Oc.call(this._minWeekdaysParse,a))||-1!==(n=Oc.call(this._weekdaysParse,a))||-1!==(n=Oc.call(this._shortWeekdaysParse,a))?n:null}function ol(){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=ds([2e3,1]).day(e),r=yc(this.weekdaysMin(o,"")),n=yc(this.weekdaysShort(o,"")),i=yc(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 rl(){return this.hours()%12||12}function nl(t,e){_s(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function il(t,e){return e._meridiemParse}_s("H",["HH",2],0,"hour"),_s("h",["hh",2],0,rl),_s("k",["kk",2],0,(function(){return this.hours()||24})),_s("hmm",0,0,(function(){return""+rl.apply(this)+ks(this.minutes(),2)})),_s("hmmss",0,0,(function(){return""+rl.apply(this)+ks(this.minutes(),2)+ks(this.seconds(),2)})),_s("Hmm",0,0,(function(){return""+this.hours()+ks(this.minutes(),2)})),_s("Hmmss",0,0,(function(){return""+this.hours()+ks(this.minutes(),2)+ks(this.seconds(),2)})),nl("a",!0),nl("A",!1),Hs("hour","h"),js("hour",13),dc("a",il),dc("A",il),dc("H",oc),dc("h",oc),dc("k",oc),dc("HH",oc,Xs),dc("hh",oc,Xs),dc("kk",oc,Xs),dc("hmm",rc),dc("hmmss",nc),dc("Hmm",rc),dc("Hmmss",nc),bc(["H","HH"],Nc),bc(["k","kk"],(function(t,e,o){var r=$s(t);e[Nc]=24===r?0:r})),bc(["a","A"],(function(t,e,o){o._isPm=o._locale.isPM(t),o._meridiem=t})),bc(["h","hh"],(function(t,e,o){e[Nc]=$s(t),ps(o).bigHour=!0})),bc("hmm",(function(t,e,o){var r=t.length-2;e[Nc]=$s(t.substr(0,r)),e[Cc]=$s(t.substr(r)),ps(o).bigHour=!0})),bc("hmmss",(function(t,e,o){var r=t.length-4,n=t.length-2;e[Nc]=$s(t.substr(0,r)),e[Cc]=$s(t.substr(r,2)),e[Ec]=$s(t.substr(n)),ps(o).bigHour=!0})),bc("Hmm",(function(t,e,o){var r=t.length-2;e[Nc]=$s(t.substr(0,r)),e[Cc]=$s(t.substr(r))})),bc("Hmmss",(function(t,e,o){var r=t.length-4,n=t.length-2;e[Nc]=$s(t.substr(0,r)),e[Cc]=$s(t.substr(r,2)),e[Ec]=$s(t.substr(n))}));var al=Ts("Hours",!0);var sl,cl={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:Vc,weekdaysMin:Jc,weekdaysShort:qc,meridiemParse:/[ap]\.?m?\.?/i},ll={},ul={};function fl(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 hl(t){return t?t.toLowerCase().replace("_","-"):t}function dl(t){var e=null;if(void 0===ll[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(t))try{e=sl._abbr,require("./locale/"+t),pl(e)}catch(e){ll[t]=null}return ll[t]}function pl(t,e){var o;return t&&((o=cs(e)?gl(t):yl(t,e))?sl=o:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),sl._abbr}function yl(t,e){if(null!==e){var o,r=cl;if(e.abbr=t,null!=ll[t])Es("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=ll[t]._config;else if(null!=e.parentLocale)if(null!=ll[e.parentLocale])r=ll[e.parentLocale]._config;else{if(null==(o=dl(e.parentLocale)))return ul[e.parentLocale]||(ul[e.parentLocale]=[]),ul[e.parentLocale].push({name:t,config:e}),null;r=o._config}return ll[t]=new Ms(Is(r,e)),ul[t]&&ul[t].forEach((function(t){yl(t.name,t.config)})),pl(t),ll[t]}return delete ll[t],null}function gl(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return sl;if(!ns(t)){if(e=dl(t))return e;t=[t]}return function(t){for(var e,o,r,n,i=0;i<t.length;){for(e=(n=hl(t[i]).split("-")).length,o=(o=hl(t[i+1]))?o.split("-"):null;e>0;){if(r=dl(n.slice(0,e).join("-")))return r;if(o&&o.length>=e&&fl(n,o)>=e-1)break;e--}i++}return sl}(t)}function bl(t){var e,o=t._a;return o&&-2===ps(t).overflow&&(e=o[wc]<0||o[wc]>11?wc:o[xc]<1||o[xc]>kc(o[Sc],o[wc])?xc:o[Nc]<0||o[Nc]>24||24===o[Nc]&&(0!==o[Cc]||0!==o[Ec]||0!==o[Rc])?Nc:o[Cc]<0||o[Cc]>59?Cc:o[Ec]<0||o[Ec]>59?Ec:o[Rc]<0||o[Rc]>999?Rc:-1,ps(t)._overflowDayOfYear&&(e<Sc||e>xc)&&(e=xc),ps(t)._overflowWeeks&&-1===e&&(e=Ic),ps(t)._overflowWeekday&&-1===e&&(e=Mc),ps(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)?)?$/,vl=/^\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)?)?$/,Ol=/Z|[+-]\d\d(?::?\d\d)?/,Sl=[["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]],wl=[["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/]],xl=/^\/?Date\((-?\d+)/i,Nl=/^(?:(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}))$/,Cl={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function El(t){var e,o,r,n,i,a,s=t._i,c=ml.exec(s)||vl.exec(s),l=Sl.length,u=wl.length;if(c){for(ps(t).iso=!0,e=0,o=l;e<o;e++)if(Sl[e][1].exec(c[1])){n=Sl[e][0],r=!1!==Sl[e][2];break}if(null==n)return void(t._isValid=!1);if(c[3]){for(e=0,o=u;e<o;e++)if(wl[e][1].exec(c[3])){i=(c[2]||" ")+wl[e][0];break}if(null==i)return void(t._isValid=!1)}if(!r&&null!=i)return void(t._isValid=!1);if(c[4]){if(!Ol.exec(c[4]))return void(t._isValid=!1);a="Z"}t._f=n+(i||"")+(a||""),Wl(t)}else t._isValid=!1}function Rl(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function Il(t){var e,o,r,n,i,a,s,c,l=Nl.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=[Rl(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||qc.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(ps(o).weekdayMismatch=!0,o._isValid=!1,!1)}(l[1],e,t))return;t._a=e,t._tzm=function(t,e,o){if(t)return Cl[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=jc.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),ps(t).rfc2822=!0}else t._isValid=!1}function Ml(t,e,o){return null!=t?t:null!=e?e:o}function kl(t){var e,o,r,n,i,a=[];if(!t._d){for(r=function(t){var e=new Date(rs.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[xc]&&null==t._a[wc]&&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=Ml(e.GG,t._a[Sc],$c(Ul(),1,4).year),r=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=$c(Ul(),i,a),o=Ml(e.gg,t._a[Sc],l.year),r=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);r<1||r>Tc(o,i,a)?ps(t)._overflowWeeks=!0:null!=c?ps(t)._overflowWeekday=!0:(s=Kc(o,r,n,i,a),t._a[Sc]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(i=Ml(t._a[Sc],r[Sc]),(t._dayOfYear>zc(i)||0===t._dayOfYear)&&(ps(t)._overflowDayOfYear=!0),o=jc(i,0,t._dayOfYear),t._a[wc]=o.getUTCMonth(),t._a[xc]=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[Nc]&&0===t._a[Cc]&&0===t._a[Ec]&&0===t._a[Rc]&&(t._nextDay=!0,t._a[Nc]=0),t._d=(t._useUTC?jc:Zc).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[Nc]=24),t._w&&void 0!==t._w.d&&t._w.d!==n&&(ps(t).weekdayMismatch=!0)}}function Wl(t){if(t._f!==rs.ISO_8601)if(t._f!==rs.RFC_2822){t._a=[],ps(t).empty=!0;var e,o,r,n,i,a,s,c=""+t._i,l=c.length,u=0;for(s=(r=Fs(t._f,t._locale).match(Ws)||[]).length,e=0;e<s;e++)n=r[e],(o=(c.match(pc(n,t))||[])[0])&&((i=c.substr(0,c.indexOf(o))).length>0&&ps(t).unusedInput.push(i),c=c.slice(c.indexOf(o)+o.length),u+=o.length),Us[n]?(o?ps(t).empty=!1:ps(t).unusedTokens.push(n),vc(n,o,t)):t._strict&&!o&&ps(t).unusedTokens.push(n);ps(t).charsLeftOver=l-u,c.length>0&&ps(t).unusedInput.push(c),t._a[Nc]<=12&&!0===ps(t).bigHour&&t._a[Nc]>0&&(ps(t).bigHour=void 0),ps(t).parsedDateParts=t._a.slice(0),ps(t).meridiem=t._meridiem,t._a[Nc]=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[Nc],t._meridiem),null!==(a=ps(t).era)&&(t._a[Sc]=t._locale.erasConvertYear(a,t._a[Sc])),kl(t),bl(t)}else Il(t);else El(t)}function Ll(t){var e=t._i,o=t._f;return t._locale=t._locale||gl(t._l),null===e||void 0===o&&""===e?gs({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),Ss(e)?new Os(bl(e)):(us(e)?t._d=e:ns(o)?function(t){var e,o,r,n,i,a,s=!1,c=t._f.length;if(0===c)return ps(t).invalidFormat=!0,void(t._d=new Date(NaN));for(n=0;n<c;n++)i=0,a=!1,e=vs({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[n],Wl(e),ys(e)&&(a=!0),i+=ps(e).charsLeftOver,i+=10*ps(e).unusedTokens.length,ps(e).score=i,s?i<r&&(r=i,o=e):(null==r||i<r||a)&&(r=i,o=e,a&&(s=!0));hs(t,o||e)}(t):o?Wl(t):function(t){var e=t._i;cs(e)?t._d=new Date(rs.now()):us(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=xl.exec(t._i);null===e?(El(t),!1===t._isValid&&(delete t._isValid,Il(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:rs.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):ns(e)?(t._a=fs(e.slice(0),(function(t){return parseInt(t,10)})),kl(t)):is(e)?function(t){if(!t._d){var e=Bs(t._i),o=void 0===e.day?e.date:e.day;t._a=fs([e.year,e.month,o,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),kl(t)}}(t):ls(e)?t._d=new Date(e):rs.createFromInputFallback(t)}(t),ys(t)||(t._d=null),t))}function Dl(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),(is(t)&&ss(t)||ns(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 Os(bl(Ll(a))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function Ul(t,e,o,r){return Dl(t,e,o,r,!1)}rs.createFromInputFallback=xs("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":""))})),rs.ISO_8601=function(){},rs.RFC_2822=function(){};var _l=xs("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Ul.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:gs()})),Yl=xs("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Ul.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:gs()}));function Fl(t,e){var o,r;if(1===e.length&&ns(e[0])&&(e=e[0]),!e.length)return Ul();for(o=e[0],r=1;r<e.length;++r)e[r].isValid()&&!e[r][t](o)||(o=e[r]);return o}var Al=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Hl(t){var e=Bs(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=Al.length;for(e in t)if(as(t,e)&&(-1===Oc.call(Al,e)||null!=t[e]&&isNaN(t[e])))return!1;for(o=0;o<n;++o)if(t[Al[o]]){if(r)return!1;parseFloat(t[Al[o]])!==$s(t[Al[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=gl(),this._bubble()}function zl(t){return t instanceof Hl}function Bl(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Zl(t,e){_s(t,0,0,(function(){var t=this.utcOffset(),o="+";return t<0&&(t=-t,o="-"),o+ks(~~(t/60),2)+e+ks(~~t%60,2)}))}Zl("Z",":"),Zl("ZZ",""),dc("Z",fc),dc("ZZ",fc),bc(["Z","ZZ"],(function(t,e,o){o._useUTC=!0,o._tzm=Pl(fc,t)}));var jl=/([\+\-]|\d\d)/gi;function Pl(t,e){var o,r,n=(e||"").match(t);return null===n?null:0===(r=60*(o=((n[n.length-1]||[])+"").match(jl)||["-",0,0])[1]+$s(o[2]))?0:"+"===o[0]?r:-r}function Kl(t,e){var o,r;return e._isUTC?(o=e.clone(),r=(Ss(t)||us(t)?t.valueOf():Ul(t).valueOf())-o.valueOf(),o._d.setTime(o._d.valueOf()+r),rs.updateOffset(o,!1),o):Ul(t).local()}function $l(t){return-Math.round(t._d.getTimezoneOffset())}function Tl(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}rs.updateOffset=function(){};var Gl=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Vl=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ql(t,e){var o,r,n,i=t,a=null;return zl(t)?i={ms:t._milliseconds,d:t._days,M:t._months}:ls(t)||!isNaN(+t)?(i={},e?i[e]=+t:i.milliseconds=+t):(a=Gl.exec(t))?(o="-"===a[1]?-1:1,i={y:0,d:$s(a[xc])*o,h:$s(a[Nc])*o,m:$s(a[Cc])*o,s:$s(a[Ec])*o,ms:$s(Bl(1e3*a[Rc]))*o}):(a=Vl.exec(t))?(o="-"===a[1]?-1:1,i={y:Jl(a[2],o),M:Jl(a[3],o),w:Jl(a[4],o),d:Jl(a[5],o),h:Jl(a[6],o),m:Jl(a[7],o),s:Jl(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=Kl(e,t),t.isBefore(e)?o=Xl(t,e):((o=Xl(e,t)).milliseconds=-o.milliseconds,o.months=-o.months);return o}(Ul(i.from),Ul(i.to)),(i={}).ms=n.milliseconds,i.M=n.months),r=new Hl(i),zl(t)&&as(t,"_locale")&&(r._locale=t._locale),zl(t)&&as(t,"_isValid")&&(r._isValid=t._isValid),r}function Jl(t,e){var o=t&&parseFloat(t.replace(",","."));return(isNaN(o)?0:o)*e}function Xl(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 Ql(t,e){return function(o,r){var n;return null===r||isNaN(+r)||(Es(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),tu(this,ql(o,r),t),this}}function tu(t,e,o,r){var n=e._milliseconds,i=Bl(e._days),a=Bl(e._months);t.isValid()&&(r=null==r||r,a&&Fc(t,Gs(t,"Month")+a*o),i&&Vs(t,"Date",Gs(t,"Date")+i*o),n&&t._d.setTime(t._d.valueOf()+n*o),r&&rs.updateOffset(t,i||a))}ql.fn=Hl.prototype,ql.invalid=function(){return ql(NaN)};var eu=Ql(1,"add"),ou=Ql(-1,"subtract");function ru(t){return"string"==typeof t||t instanceof String}function nu(t){return Ss(t)||us(t)||ru(t)||ls(t)||function(t){var e=ns(t),o=!1;e&&(o=0===t.filter((function(e){return!ls(e)&&ru(t)})).length);return e&&o}(t)||function(t){var e,o,r=is(t)&&!ss(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||as(t,o);return r&&n}(t)||null==t}function iu(t,e){if(t.date()<e.date())return-iu(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 au(t){var e;return void 0===t?this._locale._abbr:(null!=(e=gl(t))&&(this._locale=e),this)}rs.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",rs.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var su=xs("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 cu(){return this._locale}var lu=1e3,uu=6e4,fu=36e5,hu=126227808e5;function du(t,e){return(t%e+e)%e}function pu(t,e,o){return t<100&&t>=0?new Date(t+400,e,o)-hu:new Date(t,e,o).valueOf()}function yu(t,e,o){return t<100&&t>=0?Date.UTC(t+400,e,o)-hu:Date.UTC(t,e,o)}function gu(t,e){return e.erasAbbrRegex(t)}function bu(){var t,e,o=[],r=[],n=[],i=[],a=this.eras();for(t=0,e=a.length;t<e;++t)r.push(yc(a[t].name)),o.push(yc(a[t].abbr)),n.push(yc(a[t].narrow)),i.push(yc(a[t].name)),i.push(yc(a[t].abbr)),i.push(yc(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){_s(0,[t,t.length],0,e)}function vu(t,e,o,r,n){var i;return null==t?$c(this,r,n).year:(e>(i=Tc(t,r,n))&&(e=i),Ou.call(this,t,e,o,r,n))}function Ou(t,e,o,r,n){var i=Kc(t,e,o,r,n),a=jc(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}_s("N",0,0,"eraAbbr"),_s("NN",0,0,"eraAbbr"),_s("NNN",0,0,"eraAbbr"),_s("NNNN",0,0,"eraName"),_s("NNNNN",0,0,"eraNarrow"),_s("y",["y",1],"yo","eraYear"),_s("y",["yy",2],0,"eraYear"),_s("y",["yyy",3],0,"eraYear"),_s("y",["yyyy",4],0,"eraYear"),dc("N",gu),dc("NN",gu),dc("NNN",gu),dc("NNNN",(function(t,e){return e.erasNameRegex(t)})),dc("NNNNN",(function(t,e){return e.erasNarrowRegex(t)})),bc(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,o,r){var n=o._locale.erasParse(t,r,o._strict);n?ps(o).era=n:ps(o).invalidEra=t})),dc("y",cc),dc("yy",cc),dc("yyy",cc),dc("yyyy",cc),dc("yo",(function(t,e){return e._eraYearOrdinalRegex||cc})),bc(["y","yy","yyy","yyyy"],Sc),bc(["yo"],(function(t,e,o,r){var n;o._locale._eraYearOrdinalRegex&&(n=t.match(o._locale._eraYearOrdinalRegex)),o._locale.eraYearOrdinalParse?e[Sc]=o._locale.eraYearOrdinalParse(t,n):e[Sc]=parseInt(t,10)})),_s(0,["gg",2],0,(function(){return this.weekYear()%100})),_s(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),mu("gggg","weekYear"),mu("ggggg","weekYear"),mu("GGGG","isoWeekYear"),mu("GGGGG","isoWeekYear"),Hs("weekYear","gg"),Hs("isoWeekYear","GG"),js("weekYear",1),js("isoWeekYear",1),dc("G",lc),dc("g",lc),dc("GG",oc,Xs),dc("gg",oc,Xs),dc("GGGG",ac,tc),dc("gggg",ac,tc),dc("GGGGG",sc,ec),dc("ggggg",sc,ec),mc(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,o,r){e[r.substr(0,2)]=$s(t)})),mc(["gg","GG"],(function(t,e,o,r){e[r]=rs.parseTwoDigitYear(t)})),_s("Q",0,"Qo","quarter"),Hs("quarter","Q"),js("quarter",7),dc("Q",Js),bc("Q",(function(t,e){e[wc]=3*($s(t)-1)})),_s("D",["DD",2],"Do","date"),Hs("date","D"),js("date",9),dc("D",oc),dc("DD",oc,Xs),dc("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),bc(["D","DD"],xc),bc("Do",(function(t,e){e[xc]=$s(t.match(oc)[0])}));var Su=Ts("Date",!0);_s("DDD",["DDDD",3],"DDDo","dayOfYear"),Hs("dayOfYear","DDD"),js("dayOfYear",4),dc("DDD",ic),dc("DDDD",Qs),bc(["DDD","DDDD"],(function(t,e,o){o._dayOfYear=$s(t)})),_s("m",["mm",2],0,"minute"),Hs("minute","m"),js("minute",14),dc("m",oc),dc("mm",oc,Xs),bc(["m","mm"],Cc);var wu=Ts("Minutes",!1);_s("s",["ss",2],0,"second"),Hs("second","s"),js("second",15),dc("s",oc),dc("ss",oc,Xs),bc(["s","ss"],Ec);var xu,Nu,Cu=Ts("Seconds",!1);for(_s("S",0,0,(function(){return~~(this.millisecond()/100)})),_s(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),_s(0,["SSS",3],0,"millisecond"),_s(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),_s(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),_s(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),_s(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),_s(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),_s(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),Hs("millisecond","ms"),js("millisecond",16),dc("S",ic,Js),dc("SS",ic,Xs),dc("SSS",ic,Qs),xu="SSSS";xu.length<=9;xu+="S")dc(xu,cc);function Eu(t,e){e[Rc]=$s(1e3*("0."+t))}for(xu="S";xu.length<=9;xu+="S")bc(xu,Eu);Nu=Ts("Milliseconds",!1),_s("z",0,0,"zoneAbbr"),_s("zz",0,0,"zoneName");var Ru=Os.prototype;function Iu(t){return t}Ru.add=eu,Ru.calendar=function(t,e){1===arguments.length&&(arguments[0]?nu(arguments[0])?(t=arguments[0],e=void 0):function(t){var e,o=is(t)&&!ss(t),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<n.length;e+=1)r=r||as(t,n[e]);return o&&r}(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var o=t||Ul(),r=Kl(o,this).startOf("day"),n=rs.calendarFormat(this,r)||"sameElse",i=e&&(Rs(e[n])?e[n].call(this,o):e[n]);return this.format(i||this.localeData().calendar(n,this,Ul(o)))},Ru.clone=function(){return new Os(this)},Ru.diff=function(t,e,o){var r,n,i;if(!this.isValid())return NaN;if(!(r=Kl(t,this)).isValid())return NaN;switch(n=6e4*(r.utcOffset()-this.utcOffset()),e=zs(e)){case"year":i=iu(this,r)/12;break;case"month":i=iu(this,r);break;case"quarter":i=iu(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:Ks(i)},Ru.endOf=function(t){var e,o;if(void 0===(t=zs(t))||"millisecond"===t||!this.isValid())return this;switch(o=this._isUTC?yu:pu,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+=fu-du(e+(this._isUTC?0:this.utcOffset()*uu),fu)-1;break;case"minute":e=this._d.valueOf(),e+=uu-du(e,uu)-1;break;case"second":e=this._d.valueOf(),e+=lu-du(e,lu)-1}return this._d.setTime(e),rs.updateOffset(this,!0),this},Ru.format=function(t){t||(t=this.isUtc()?rs.defaultFormatUtc:rs.defaultFormat);var e=Ys(this,t);return this.localeData().postformat(e)},Ru.from=function(t,e){return this.isValid()&&(Ss(t)&&t.isValid()||Ul(t).isValid())?ql({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Ru.fromNow=function(t){return this.from(Ul(),t)},Ru.to=function(t,e){return this.isValid()&&(Ss(t)&&t.isValid()||Ul(t).isValid())?ql({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Ru.toNow=function(t){return this.to(Ul(),t)},Ru.get=function(t){return Rs(this[t=zs(t)])?this[t]():this},Ru.invalidAt=function(){return ps(this).overflow},Ru.isAfter=function(t,e){var o=Ss(t)?t:Ul(t);return!(!this.isValid()||!o.isValid())&&("millisecond"===(e=zs(e)||"millisecond")?this.valueOf()>o.valueOf():o.valueOf()<this.clone().startOf(e).valueOf())},Ru.isBefore=function(t,e){var o=Ss(t)?t:Ul(t);return!(!this.isValid()||!o.isValid())&&("millisecond"===(e=zs(e)||"millisecond")?this.valueOf()<o.valueOf():this.clone().endOf(e).valueOf()<o.valueOf())},Ru.isBetween=function(t,e,o,r){var n=Ss(t)?t:Ul(t),i=Ss(e)?e:Ul(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)))},Ru.isSame=function(t,e){var o,r=Ss(t)?t:Ul(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(e=zs(e)||"millisecond")?this.valueOf()===r.valueOf():(o=r.valueOf(),this.clone().startOf(e).valueOf()<=o&&o<=this.clone().endOf(e).valueOf()))},Ru.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},Ru.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},Ru.isValid=function(){return ys(this)},Ru.lang=su,Ru.locale=au,Ru.localeData=cu,Ru.max=Yl,Ru.min=_l,Ru.parsingFlags=function(){return hs({},ps(this))},Ru.set=function(t,e){if("object"==typeof t){var o,r=function(t){var e,o=[];for(e in t)as(t,e)&&o.push({unit:e,priority:Zs[e]});return o.sort((function(t,e){return t.priority-e.priority})),o}(t=Bs(t)),n=r.length;for(o=0;o<n;o++)this[r[o].unit](t[r[o].unit])}else if(Rs(this[t=zs(t)]))return this[t](e);return this},Ru.startOf=function(t){var e,o;if(void 0===(t=zs(t))||"millisecond"===t||!this.isValid())return this;switch(o=this._isUTC?yu:pu,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-=du(e+(this._isUTC?0:this.utcOffset()*uu),fu);break;case"minute":e=this._d.valueOf(),e-=du(e,uu);break;case"second":e=this._d.valueOf(),e-=du(e,lu)}return this._d.setTime(e),rs.updateOffset(this,!0),this},Ru.subtract=ou,Ru.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},Ru.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()}},Ru.toDate=function(){return new Date(this.valueOf())},Ru.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"):Rs(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")},Ru.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&&(Ru[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Ru.toJSON=function(){return this.isValid()?this.toISOString():null},Ru.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Ru.unix=function(){return Math.floor(this.valueOf()/1e3)},Ru.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Ru.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Ru.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""},Ru.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""},Ru.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""},Ru.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()-rs(n[t].since).year())*o+n[t].offset;return this.year()},Ru.year=Bc,Ru.isLeapYear=function(){return Ps(this.year())},Ru.weekYear=function(t){return vu.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Ru.isoWeekYear=function(t){return vu.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},Ru.quarter=Ru.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},Ru.month=Ac,Ru.daysInMonth=function(){return kc(this.year(),this.month())},Ru.week=Ru.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},Ru.isoWeek=Ru.isoWeeks=function(t){var e=$c(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},Ru.weeksInYear=function(){var t=this.localeData()._week;return Tc(this.year(),t.dow,t.doy)},Ru.weeksInWeekYear=function(){var t=this.localeData()._week;return Tc(this.weekYear(),t.dow,t.doy)},Ru.isoWeeksInYear=function(){return Tc(this.year(),1,4)},Ru.isoWeeksInISOWeekYear=function(){return Tc(this.isoWeekYear(),1,4)},Ru.date=Su,Ru.day=Ru.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},Ru.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")},Ru.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},Ru.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")},Ru.hour=Ru.hours=al,Ru.minute=Ru.minutes=wu,Ru.second=Ru.seconds=Cu,Ru.millisecond=Ru.milliseconds=Nu,Ru.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=Pl(fc,t)))return this}else Math.abs(t)<16&&!o&&(t*=60);return!this._isUTC&&e&&(r=$l(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),n!==t&&(!e||this._changeInProgress?tu(this,ql(t-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,rs.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?n:$l(this)},Ru.utc=function(t){return this.utcOffset(0,t)},Ru.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract($l(this),"m")),this},Ru.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Pl(uc,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},Ru.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Ul(t).utcOffset():0,(this.utcOffset()-t)%60==0)},Ru.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Ru.isLocal=function(){return!!this.isValid()&&!this._isUTC},Ru.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Ru.isUtc=Tl,Ru.isUTC=Tl,Ru.zoneAbbr=function(){return this._isUTC?"UTC":""},Ru.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Ru.dates=xs("dates accessor is deprecated. Use date instead.",Su),Ru.months=xs("months accessor is deprecated. Use month instead",Ac),Ru.years=xs("years accessor is deprecated. Use year instead",Bc),Ru.zone=xs("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()})),Ru.isDSTShifted=xs("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!cs(this._isDSTShifted))return this._isDSTShifted;var t,e={};return vs(e,this),(e=Ll(e))._a?(t=e._isUTC?ds(e._a):Ul(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&&$s(t[r])!==$s(e[r]))&&a++;return a+i}(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var Mu=Ms.prototype;function ku(t,e,o,r){var n=gl(),i=ds().set(r,e);return n[o](i,t)}function Wu(t,e,o){if(ls(t)&&(e=t,t=void 0),t=t||"",null!=e)return ku(t,e,o,"month");var r,n=[];for(r=0;r<12;r++)n[r]=ku(t,r,o,"month");return n}function Lu(t,e,o,r){"boolean"==typeof t?(ls(e)&&(o=e,e=void 0),e=e||""):(o=e=t,t=!1,ls(e)&&(o=e,e=void 0),e=e||"");var n,i=gl(),a=t?i._week.dow:0,s=[];if(null!=o)return ku(e,(o+a)%7,r,"day");for(n=0;n<7;n++)s[n]=ku(e,(n+a)%7,r,"day");return s}Mu.calendar=function(t,e,o){var r=this._calendar[t]||this._calendar.sameElse;return Rs(r)?r.call(e,o):r},Mu.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])},Mu.invalidDate=function(){return this._invalidDate},Mu.ordinal=function(t){return this._ordinal.replace("%d",t)},Mu.preparse=Iu,Mu.postformat=Iu,Mu.relativeTime=function(t,e,o,r){var n=this._relativeTime[o];return Rs(n)?n(t,e,o,r):n.replace(/%d/i,t)},Mu.pastFuture=function(t,e){var o=this._relativeTime[t>0?"future":"past"];return Rs(o)?o(e):o.replace(/%s/i,e)},Mu.set=function(t){var e,o;for(o in t)as(t,o)&&(Rs(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)},Mu.eras=function(t,e){var o,r,n,i=this._eras||gl("en")._eras;for(o=0,r=i.length;o<r;++o){if("string"==typeof i[o].since)n=rs(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=rs(i[o].until).startOf("day").valueOf(),i[o].until=n.valueOf()}}return i},Mu.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]},Mu.erasConvertYear=function(t,e){var o=t.since<=t.until?1:-1;return void 0===e?rs(t.since).year():rs(t.since).year()+(e-t.offset)*o},Mu.erasAbbrRegex=function(t){return as(this,"_erasAbbrRegex")||bu.call(this),t?this._erasAbbrRegex:this._erasRegex},Mu.erasNameRegex=function(t){return as(this,"_erasNameRegex")||bu.call(this),t?this._erasNameRegex:this._erasRegex},Mu.erasNarrowRegex=function(t){return as(this,"_erasNarrowRegex")||bu.call(this),t?this._erasNarrowRegex:this._erasRegex},Mu.months=function(t,e){return t?ns(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Dc).test(e)?"format":"standalone"][t.month()]:ns(this._months)?this._months:this._months.standalone},Mu.monthsShort=function(t,e){return t?ns(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Dc.test(e)?"format":"standalone"][t.month()]:ns(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Mu.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=ds([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}},Mu.monthsRegex=function(t){return this._monthsParseExact?(as(this,"_monthsRegex")||Hc.call(this),t?this._monthsStrictRegex:this._monthsRegex):(as(this,"_monthsRegex")||(this._monthsRegex=_c),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},Mu.monthsShortRegex=function(t){return this._monthsParseExact?(as(this,"_monthsRegex")||Hc.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(as(this,"_monthsShortRegex")||(this._monthsShortRegex=Uc),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},Mu.week=function(t){return $c(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 o=ns(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Gc(o,this._week.dow):t?o[t.day()]:o},Mu.weekdaysMin=function(t){return!0===t?Gc(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},Mu.weekdaysShort=function(t){return!0===t?Gc(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},Mu.weekdaysParse=function(t,e,o){var r,n,i;if(this._weekdaysParseExact)return el.call(this,t,e,o);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(n=ds([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}},Mu.weekdaysRegex=function(t){return this._weekdaysParseExact?(as(this,"_weekdaysRegex")||ol.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(as(this,"_weekdaysRegex")||(this._weekdaysRegex=Xc),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},Mu.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(as(this,"_weekdaysRegex")||ol.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(as(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Qc),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Mu.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(as(this,"_weekdaysRegex")||ol.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(as(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=tl),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Mu.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},Mu.meridiem=function(t,e,o){return t>11?o?"pm":"PM":o?"am":"AM"},pl("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===$s(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),rs.lang=xs("moment.lang is deprecated. Use moment.locale instead.",pl),rs.langData=xs("moment.langData is deprecated. Use moment.localeData instead.",gl);var Du=Math.abs;function Uu(t,e,o,r){var n=ql(e,o);return t._milliseconds+=r*n._milliseconds,t._days+=r*n._days,t._months+=r*n._months,t._bubble()}function _u(t){return t<0?Math.floor(t):Math.ceil(t)}function Yu(t){return 4800*t/146097}function Fu(t){return 146097*t/4800}function Au(t){return function(){return this.as(t)}}var Hu=Au("ms"),zu=Au("s"),Bu=Au("m"),Zu=Au("h"),ju=Au("d"),Pu=Au("w"),Ku=Au("M"),$u=Au("Q"),Tu=Au("y");function Gu(t){return function(){return this.isValid()?this._data[t]:NaN}}var Vu=Gu("milliseconds"),qu=Gu("seconds"),Ju=Gu("minutes"),Xu=Gu("hours"),Qu=Gu("days"),tf=Gu("months"),ef=Gu("years");var of=Math.round,rf={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function nf(t,e,o,r,n){return n.relativeTime(e||1,!!o,t,r)}var af=Math.abs;function sf(t){return(t>0)-(t<0)||+t}function cf(){if(!this.isValid())return this.localeData().invalidDate();var t,e,o,r,n,i,a,s,c=af(this._milliseconds)/1e3,l=af(this._days),u=af(this._months),f=this.asSeconds();return f?(t=Ks(c/60),e=Ks(t/60),c%=60,t%=60,o=Ks(u/12),u%=12,r=c?c.toFixed(3).replace(/\.?0+$/,""):"",n=f<0?"-":"",i=sf(this._months)!==sf(f)?"-":"",a=sf(this._days)!==sf(f)?"-":"",s=sf(this._milliseconds)!==sf(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 lf,uf=Hl.prototype;uf.isValid=function(){return this._isValid},uf.abs=function(){var t=this._data;return this._milliseconds=Du(this._milliseconds),this._days=Du(this._days),this._months=Du(this._months),t.milliseconds=Du(t.milliseconds),t.seconds=Du(t.seconds),t.minutes=Du(t.minutes),t.hours=Du(t.hours),t.months=Du(t.months),t.years=Du(t.years),this},uf.add=function(t,e){return Uu(this,t,e,1)},uf.subtract=function(t,e){return Uu(this,t,e,-1)},uf.as=function(t){if(!this.isValid())return NaN;var e,o,r=this._milliseconds;if("month"===(t=zs(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(Fu(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)}},uf.asMilliseconds=Hu,uf.asSeconds=zu,uf.asMinutes=Bu,uf.asHours=Zu,uf.asDays=ju,uf.asWeeks=Pu,uf.asMonths=Ku,uf.asQuarters=$u,uf.asYears=Tu,uf.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*$s(this._months/12):NaN},uf._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*_u(Fu(s)+a),a=0,s=0),c.milliseconds=i%1e3,t=Ks(i/1e3),c.seconds=t%60,e=Ks(t/60),c.minutes=e%60,o=Ks(e/60),c.hours=o%24,a+=Ks(o/24),s+=n=Ks(Yu(a)),a-=_u(Fu(n)),r=Ks(s/12),s%=12,c.days=a,c.months=s,c.years=r,this},uf.clone=function(){return ql(this)},uf.get=function(t){return t=zs(t),this.isValid()?this[t+"s"]():NaN},uf.milliseconds=Vu,uf.seconds=qu,uf.minutes=Ju,uf.hours=Xu,uf.days=Qu,uf.weeks=function(){return Ks(this.days()/7)},uf.months=tf,uf.years=ef,uf.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var o,r,n=!1,i=rf;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(n=t),"object"==typeof e&&(i=Object.assign({},rf,e),null!=e.s&&null==e.ss&&(i.ss=e.s-1)),r=function(t,e,o,r){var n=ql(t).abs(),i=of(n.as("s")),a=of(n.as("m")),s=of(n.as("h")),c=of(n.as("d")),l=of(n.as("M")),u=of(n.as("w")),f=of(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,nf.apply(null,h)}(this,!n,i,o=this.localeData()),n&&(r=o.pastFuture(+this,r)),o.postformat(r)},uf.toISOString=cf,uf.toString=cf,uf.toJSON=cf,uf.locale=au,uf.localeData=cu,uf.toIsoString=xs("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",cf),uf.lang=su,_s("X",0,0,"unix"),_s("x",0,0,"valueOf"),dc("x",lc),dc("X",/[+-]?\d+(\.\d{1,3})?/),bc("X",(function(t,e,o){o._d=new Date(1e3*parseFloat(t))})),bc("x",(function(t,e,o){o._d=new Date($s(t))})),
|
|
185
184
|
//! moment.js
|
|
186
|
-
rs.version="2.29.4",es=Ul,rs.fn=Ru,rs.min=function(){return
|
|
185
|
+
rs.version="2.29.4",es=Ul,rs.fn=Ru,rs.min=function(){return Fl("isBefore",[].slice.call(arguments,0))},rs.max=function(){return Fl("isAfter",[].slice.call(arguments,0))},rs.now=function(){return Date.now?Date.now():+new Date},rs.utc=ds,rs.unix=function(t){return Ul(1e3*t)},rs.months=function(t,e){return Wu(t,e,"months")},rs.isDate=us,rs.locale=pl,rs.invalid=gs,rs.duration=ql,rs.isMoment=Ss,rs.weekdays=function(t,e,o){return Lu(t,e,o,"weekdays")},rs.parseZone=function(){return Ul.apply(null,arguments).parseZone()},rs.localeData=gl,rs.isDuration=zl,rs.monthsShort=function(t,e){return Wu(t,e,"monthsShort")},rs.weekdaysMin=function(t,e,o){return Lu(t,e,o,"weekdaysMin")},rs.defineLocale=yl,rs.updateLocale=function(t,e){if(null!=e){var o,r,n=cl;null!=ll[t]&&null!=ll[t].parentLocale?ll[t].set(Is(ll[t]._config,e)):(null!=(r=dl(t))&&(n=r._config),e=Is(n,e),null==r&&(e.abbr=t),(o=new Ms(e)).parentLocale=ll[t],ll[t]=o),pl(t)}else null!=ll[t]&&(null!=ll[t].parentLocale?(ll[t]=ll[t].parentLocale,t===pl()&&pl(t)):null!=ll[t]&&delete ll[t]);return ll[t]},rs.locales=function(){return Ns(ll)},rs.weekdaysShort=function(t,e,o){return Lu(t,e,o,"weekdaysShort")},rs.normalizeUnits=zs,rs.relativeTimeRounding=function(t){return void 0===t?of:"function"==typeof t&&(of=t,!0)},rs.relativeTimeThreshold=function(t,e){return void 0!==rf[t]&&(void 0===e?rf[t]:(rf[t]=e,"s"===t&&(rf.ss=e-1),!0))},rs.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"},rs.prototype=Ru,rs.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,(lf=t.Period||(t.Period={})).DAY="DAY",lf.WEEK="WEEK",lf.MONTH="MONTH";const ff=ft`
|
|
187
186
|
.sessions-chart {
|
|
188
187
|
height: 100%;
|
|
189
188
|
width: 100%;
|
|
190
189
|
}
|
|
191
190
|
`;var hf=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 Dn{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`
|
|
192
191
|
<div class="sessions-chart"></div>
|
|
193
|
-
`}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?rs.utc(1e3*o).format("DD MMM YYYY"):(e.period,t.Period.MONTH,rs.utc(1e3*o).format("MMMM YYYY"))}},yAxis:{type:"value",name:this.yAxisName.toUpperCase()},color:this.graphColor,series:this.getSeries()}}getTooltip(e){const o=rs.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=rs.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(rs.unix(e[0]),this.period)?{value:[e[0],e[t+1]],itemStyle:{opacity:.5}}:{value:[e[0],e[t+1]]}))}},t.FtChart.styles=ff,hf([
|
|
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?rs.utc(1e3*o).format("DD MMM YYYY"):(e.period,t.Period.MONTH,rs.utc(1e3*o).format("MMMM YYYY"))}},yAxis:{type:"value",name:this.yAxisName.toUpperCase()},color:this.graphColor,series:this.getSeries()}}getTooltip(e){const o=rs.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=rs.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(rs.unix(e[0]),this.period)?{value:[e[0],e[t+1]],itemStyle:{opacity:.5}}:{value:[e[0],e[t+1]]}))}},t.FtChart.styles=ff,hf([Se({type:String})],t.FtChart.prototype,"xAxisName",void 0),hf([Se({type:String})],t.FtChart.prototype,"yAxisName",void 0),hf([Se({type:String})],t.FtChart.prototype,"graphColor",void 0),hf([Se({type:String})],t.FtChart.prototype,"hoverColor",void 0),hf([Se({type:String})],t.FtChart.prototype,"tooltipBackgroundColor",void 0),hf([Se({type:String})],t.FtChart.prototype,"tooltipBorderColor",void 0),hf([Se({type:String})],t.FtChart.prototype,"tooltipTextColor",void 0),hf([Se({type:String})],t.FtChart.prototype,"tooltipBorderRadius",void 0),hf([lo(void 0)],t.FtChart.prototype,"valueLabels",void 0),hf([lo(void 0)],t.FtChart.prototype,"valueLabelsSingular",void 0),hf([Se({type:Boolean})],t.FtChart.prototype,"barChart",void 0),hf([Se({type:String})],t.FtChart.prototype,"period",void 0),hf([lo([])],t.FtChart.prototype,"data",void 0),hf([xe(".sessions-chart")],t.FtChart.prototype,"container",void 0),t.FtChart=hf([co("ft-chart")],t.FtChart),co("ft-chart")(t.FtChart),t.styles=ff}({});
|