@fluid-topics/ft-filterable-table 1.0.63 → 1.1.1

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.
@@ -1,73 +1,94 @@
1
1
  !function(t){
2
2
  /**
3
- * @license
4
- * Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
5
- * This code may only be used under the BSD style license found at
6
- * http://polymer.github.io/LICENSE.txt
7
- * The complete set of authors may be found at
8
- * http://polymer.github.io/AUTHORS.txt
9
- * The complete set of contributors may be found at
10
- * http://polymer.github.io/CONTRIBUTORS.txt
11
- * Code distributed by Google as part of the polymer project is also
12
- * subject to an additional IP rights grant found at
13
- * http://polymer.github.io/PATENTS.txt
14
- *
15
- * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
- */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,l=new WeakMap;let s;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){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(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=r.prototype.attributeChangedCallback,s=new Set(r.observedAttributes||[]);d(r,s,l);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:s};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=o.call(i,t);p||(p=f(t),e.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,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 i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=s;if(e)return s=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),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=l.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 i=p(o)||window.customElements,r=i._getDefinition(e);return r?u(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)})},h=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t||"HTMLElement"===o?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):h(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),s=t;try{new e.elementClass}catch(t){h(e.elementClass),new e.elementClass}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 i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&l.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 i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0!==r.get(o).formAssociated)throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`);i?.call(this,...e)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(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=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(re){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}class e{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 i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
3
+ * @license
4
+ * Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
5
+ * This code may only be used under the BSD style license found at
6
+ * http://polymer.github.io/LICENSE.txt
7
+ * The complete set of authors may be found at
8
+ * http://polymer.github.io/AUTHORS.txt
9
+ * The complete set of contributors may be found at
10
+ * http://polymer.github.io/CONTRIBUTORS.txt
11
+ * Code distributed by Google as part of the polymer project is also
12
+ * subject to an additional IP rights grant found at
13
+ * http://polymer.github.io/PATENTS.txt
14
+ */
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){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(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);d(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=o.call(i,t);p||(p=f(t),e.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,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 i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=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),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(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 i=p(o)||window.customElements,r=i._getDefinition(e);return r?u(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},h=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):h(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){h(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 i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.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 i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(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=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(lo){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}class e{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 i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
18
16
  /**
19
- * @license
20
- * Copyright 2017 Google LLC
21
- * SPDX-License-Identifier: BSD-3-Clause
22
- */const o=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(o){o.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(o){o.createProperty(e.key,t)}};function i(t){return(e,i)=>void 0!==i?((t,e,o)=>{e.constructor.createProperty(o,t)})(t,e,i):o(t,e)
17
+ * @license
18
+ * Copyright 2019 Google LLC
19
+ * SPDX-License-Identifier: BSD-3-Clause
20
+ */const o=globalThis,i=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;const a=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(i&&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),s=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return a(e)})(t):t
23
21
  /**
24
- * @license
25
- * Copyright 2017 Google LLC
26
- * SPDX-License-Identifier: BSD-3-Clause
27
- */}function r(t){return i({...t,state:!0})}
22
+ * @license
23
+ * Copyright 2017 Google LLC
24
+ * SPDX-License-Identifier: BSD-3-Clause
25
+ */,{is:l,defineProperty:c,getOwnPropertyDescriptor:p,getOwnPropertyNames:f,getOwnPropertySymbols:d,getPrototypeOf:h}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,e)=>t,x={toAttribute(t,e){switch(e){case Boolean:t=t?g: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)=>!l(t,e),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let $=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(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&c(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=p(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=h(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,e=[...f(t),...d(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(s(t))}else void 0!==t&&e.push(s(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,e)=>{if(i)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),r=o.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=i.cssText,t.appendChild(e)}})(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),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:x).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:x;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??v)(i?r: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){}};$.elementStyles=[],$.shadowRootOptions={mode:"open"},$[m("elementProperties")]=new Map,$[m("finalized")]=new Map,b?.({ReactiveElement:$}),(u.reactiveElementVersions??=[]).push("2.0.2");
28
26
  /**
29
- * @license
30
- * Copyright 2017 Google LLC
31
- * SPDX-License-Identifier: BSD-3-Clause
32
- */const n=({finisher:t,descriptor:e})=>(o,i)=>{var r;if(void 0===i){const i=null!==(r=o.originalKey)&&void 0!==r?r:o.key,n=null!=e?{kind:"method",placement:"prototype",key:i,descriptor:e(o.key)}:{...o,key:i};return null!=t&&(n.finisher=function(e){t(e,i)}),n}{const r=o.constructor;void 0!==e&&Object.defineProperty(o,i,e(i)),null==t||t(r,i)}}
27
+ * @license
28
+ * Copyright 2017 Google LLC
29
+ * SPDX-License-Identifier: BSD-3-Clause
30
+ */
31
+ const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},w=(t=S,e,o)=>{const{kind:i,metadata:r}=o;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(o.name,t),"accessor"===i){const{name:i}=o;return{set(o){const r=e.get.call(this);e.set.call(this,o),this.requestUpdate(i,r,t)},init(e){return void 0!==e&&this.C(i,void 0,t),e}}}if("setter"===i){const{name:i}=o;return function(o){const r=this[i];e.call(this,o),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function N(t){return(e,o)=>"object"==typeof o?w(t,e,o):((t,e,o)=>{const i=e.hasOwnProperty(o);return e.constructor.createProperty(o,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
33
32
  /**
34
- * @license
35
- * Copyright 2017 Google LLC
36
- * SPDX-License-Identifier: BSD-3-Clause
37
- */;function a(t,e){return n({descriptor:o=>{const i={get(){var e,o;return null!==(o=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==o?o:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof o?Symbol():"__"+o;i.get=function(){var o,i;return void 0===this[e]&&(this[e]=null!==(i=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(t))&&void 0!==i?i:null),this[e]}}return i}})}
33
+ * @license
34
+ * Copyright 2017 Google LLC
35
+ * SPDX-License-Identifier: BSD-3-Clause
36
+ */}function C(t){return N({...t,state:!0,attribute:!1})}
38
37
  /**
39
- * @license
40
- * Copyright 2021 Google LLC
41
- * SPDX-License-Identifier: BSD-3-Clause
42
- */var l;const s=null!=(null===(l=window.HTMLSlotElement)||void 0===l?void 0:l.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));function c(t){const{slot:e,selector:o}=null!=t?t:{};return n({descriptor:i=>({get(){var i;const r="slot"+(e?`[name=${e}]`:":not([name])"),n=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(r),a=null!=n?s(n,t):[];return o?a.filter((t=>t.matches(o))):a},enumerable:!0,configurable:!0})})}
38
+ * @license
39
+ * Copyright 2017 Google LLC
40
+ * SPDX-License-Identifier: BSD-3-Clause
41
+ */const E=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
43
42
  /**
44
- * @license
45
- * Copyright 2017 Google LLC
46
- * SPDX-License-Identifier: BSD-3-Clause
47
- */function p(t,e,o){let i,r=t;return"object"==typeof t?(r=t.slot,i=t):i={flatten:e},o?c({slot:r,flatten:e,selector:o}):n({descriptor:t=>({get(){var t,e;const o="slot"+(r?`[name=${r}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(o);return null!==(e=null==n?void 0:n.assignedNodes(i))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}function f(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,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!f(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!f(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[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=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!f(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const d=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
43
+ * @license
44
+ * Copyright 2017 Google LLC
45
+ * SPDX-License-Identifier: BSD-3-Clause
46
+ */;function k(t,e){return(o,i,r)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof i?o:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return E(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return E(0,0,{get(){return n(this)}})}}
48
47
  /**
49
- * @license
50
- * Copyright 2019 Google LLC
51
- * SPDX-License-Identifier: BSD-3-Clause
52
- */
53
- const h=window,u=h.ShadowRoot&&(void 0===h.ShadyCSS||h.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,y=Symbol(),g=new WeakMap;let b=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==y)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(u&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=g.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&g.set(e,t))}return t}toString(){return this.cssText}};const m=t=>new b("string"==typeof t?t:t+"",void 0,y),x=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[i+1]),t[0]);return new b(o,t,y)},v=(t,e)=>{u?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=h.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))},O=u?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return m(e)})(t):t
48
+ * @license
49
+ * Copyright 2021 Google LLC
50
+ * SPDX-License-Identifier: BSD-3-Clause
51
+ */
54
52
  /**
55
- * @license
56
- * Copyright 2017 Google LLC
57
- * SPDX-License-Identifier: BSD-3-Clause
58
- */;var N;const $=window,w=$.trustedTypes,S=w?w.emptyScript:"",C=$.reactiveElementPolyfillSupport,k={toAttribute(t,e){switch(e){case Boolean:t=t?S: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}},E=(t,e)=>e!==t&&(e==e||t==t),R={attribute:!0,type:String,converter:k,reflect:!1,hasChanged:E};let I=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,o)=>{const i=this._$Ep(o,e);void 0!==i&&(this._$Ev.set(i,o),t.push(i))})),t}static createProperty(t,e=R){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const o="symbol"==typeof t?Symbol():"__"+t,i=this.getPropertyDescriptor(t,o,e);void 0!==i&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){return{get(){return this[e]},set(i){const r=this[t];this[e]=i,this.requestUpdate(t,r,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||R}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const o of e)this.createProperty(o,t[o])}return this.elementStyles=this.finalizeStyles(this.styles),!0}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(O(t))}else void 0!==t&&e.push(O(t));return e}static _$Ep(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,o;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(o=t.hostConnected)||void 0===o||o.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return v(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e,o=R){var i;const r=this.constructor._$Ep(t,o);if(void 0!==r&&!0===o.reflect){const n=(void 0!==(null===(i=o.converter)||void 0===i?void 0:i.toAttribute)?o.converter:k).toAttribute(e,o.type);this._$El=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$El=null}}_$AK(t,e){var o;const i=this.constructor,r=i._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=i.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(o=t.converter)||void 0===o?void 0:o.fromAttribute)?t.converter:k;this._$El=r,this[r]=n.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,o){let i=!0;void 0!==t&&(((o=o||this.constructor.getPropertyOptions(t)).hasChanged||E)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,o))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(o)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(o)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
53
+ * @license
54
+ * Copyright 2017 Google LLC
55
+ * SPDX-License-Identifier: BSD-3-Clause
56
+ */
57
+ function R(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}function U(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,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!U(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!U(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[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=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!U(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const I=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
59
58
  /**
60
- * @license
61
- * Copyright 2017 Google LLC
62
- * SPDX-License-Identifier: BSD-3-Clause
63
- */
64
- var U;I.finalized=!0,I.elementProperties=new Map,I.elementStyles=[],I.shadowRootOptions={mode:"open"},null==C||C({ReactiveElement:I}),(null!==(N=$.reactiveElementVersions)&&void 0!==N?N:$.reactiveElementVersions=[]).push("1.6.1");const W=window,L=W.trustedTypes,z=L?L.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",K=`lit$${(Math.random()+"").slice(9)}$`,F="?"+K,D=`<${F}>`,B=document,M=()=>B.createComment(""),A=t=>null===t||"object"!=typeof t&&"function"!=typeof t,H=Array.isArray,j=t=>H(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),P="[ \t\n\f\r]",T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,G=/-->/g,_=/>/g,V=RegExp(`>|${P}(?:([^\\s"'>=/]+)(${P}*=${P}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,X=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),Q=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),et=new WeakMap,ot=B.createTreeWalker(B,129,null,!1),it=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=T;for(let e=0;e<o;e++){const o=t[e];let l,s,c=-1,p=0;for(;p<o.length&&(a.lastIndex=p,s=a.exec(o),null!==s);)p=a.lastIndex,a===T?"!--"===s[1]?a=G:void 0!==s[1]?a=_:void 0!==s[2]?(q.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=V):void 0!==s[3]&&(a=V):a===V?">"===s[0]?(a=null!=r?r:T,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?V:'"'===s[3]?J:Y):a===J||a===Y?a=V:a===G||a===_?a=T:(a=V,r=void 0);const f=a===V&&t[e+1].startsWith("/>")?" ":"";n+=a===T?o+D:c>=0?(i.push(l),o.slice(0,c)+Z+o.slice(c)+K+f):o+K+(-2===c?(i.push(void 0),e):f)}const l=n+(t[o]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==z?z.createHTML(l):l,i]};class rt{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[s,c]=it(t,e);if(this.el=rt.createElement(s,o),ot.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(i=ot.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const e of i.getAttributeNames())if(e.endsWith(Z)||e.startsWith(K)){const o=c[n++];if(t.push(e),void 0!==o){const t=i.getAttribute(o.toLowerCase()+Z).split(K),e=/([.?@])?(.*)/.exec(o);l.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?ct:"?"===e[1]?ft:"@"===e[1]?dt:st})}else l.push({type:6,index:r})}for(const e of t)i.removeAttribute(e)}if(q.test(i.tagName)){const t=i.textContent.split(K),e=t.length-1;if(e>0){i.textContent=L?L.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],M()),ot.nextNode(),l.push({type:2,index:++r});i.append(t[e],M())}}}else if(8===i.nodeType)if(i.data===F)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(K,t+1));)l.push({type:7,index:r}),t+=K.length-1}r++}}static createElement(t,e){const o=B.createElement("template");return o.innerHTML=t,o}}function nt(t,e,o=t,i){var r,n,a,l;if(e===Q)return e;let s=void 0!==i?null===(r=o._$Co)||void 0===r?void 0:r[i]:o._$Cl;const c=A(e)?void 0:e._$litDirective$;return(null==s?void 0:s.constructor)!==c&&(null===(n=null==s?void 0:s._$AO)||void 0===n||n.call(s,!1),void 0===c?s=void 0:(s=new c(t),s._$AT(t,o,i)),void 0!==i?(null!==(a=(l=o)._$Co)&&void 0!==a?a:l._$Co=[])[i]=s:o._$Cl=s),void 0!==s&&(e=nt(t,s._$AS(t,e.values),s,i)),e}class at{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){var e;const{el:{content:o},parts:i}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:B).importNode(o,!0);ot.currentNode=r;let n=ot.nextNode(),a=0,l=0,s=i[0];for(;void 0!==s;){if(a===s.index){let e;2===s.type?e=new lt(n,n.nextSibling,this,t):1===s.type?e=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(e=new ht(n,this,t)),this._$AV.push(e),s=i[++l]}a!==(null==s?void 0:s.index)&&(n=ot.nextNode(),a++)}return r}v(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++}}class lt{constructor(t,e,o,i){var r;this.type=2,this._$AH=tt,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cp=null===(r=null==i?void 0:i.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=nt(this,t,e),A(t)?t===tt||null==t||""===t?(this._$AH!==tt&&this._$AR(),this._$AH=tt):t!==this._$AH&&t!==Q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):j(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!==tt&&A(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.createTextNode(t)),this._$AH=t}g(t){var e;const{values:o,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=rt.createElement(i.h,this.options)),i);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.v(o);else{const t=new at(r,this),e=t.u(this.options);t.v(o),this.$(e),this._$AH=t}}_$AC(t){let e=et.get(t.strings);return void 0===e&&et.set(t.strings,e=new rt(t)),e}T(t){H(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,i=0;for(const r of t)i===e.length?e.push(o=new lt(this.k(M()),this.k(M()),this,this.options)):o=e[i],o._$AI(r),i++;i<e.length&&(this._$AR(o&&o._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var o;for(null===(o=this._$AP)||void 0===o||o.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class st{constructor(t,e,o,i,r){this.type=1,this._$AH=tt,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=tt}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=nt(this,t,e,0),n=!A(t)||t!==this._$AH&&t!==Q,n&&(this._$AH=t);else{const i=t;let a,l;for(t=r[0],a=0;a<r.length-1;a++)l=nt(this,i[o+a],e,a),l===Q&&(l=this._$AH[a]),n||(n=!A(l)||l!==this._$AH[a]),l===tt?t=tt:t!==tt&&(t+=(null!=l?l:"")+r[a+1]),this._$AH[a]=l}n&&!i&&this.j(t)}j(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class ct extends st{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===tt?void 0:t}}const pt=L?L.emptyScript:"";class ft extends st{constructor(){super(...arguments),this.type=4}j(t){t&&t!==tt?this.element.setAttribute(this.name,pt):this.element.removeAttribute(this.name)}}class dt extends st{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){var o;if((t=null!==(o=nt(this,t,e,0))&&void 0!==o?o:tt)===Q)return;const i=this._$AH,r=t===tt&&i!==tt||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==tt&&(i===tt||r);r&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,o;"function"==typeof this._$AH?this._$AH.call(null!==(o=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==o?o:this.element,t):this._$AH.handleEvent(t)}}class ht{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){nt(this,t)}}const ut={O:Z,P:K,A:F,C:1,M:it,L:at,D:j,R:nt,I:lt,V:st,H:ft,N:dt,U:ct,F:ht},yt=W.litHtmlPolyfillSupport;null==yt||yt(rt,lt),(null!==(U=W.litHtmlVersions)&&void 0!==U?U:W.litHtmlVersions=[]).push("2.7.3");
59
+ * @license
60
+ * Copyright 2017 Google LLC
61
+ * SPDX-License-Identifier: BSD-3-Clause
62
+ */
63
+ const W=globalThis,L=W.trustedTypes,z=L?L.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",K=`lit$${(Math.random()+"").slice(9)}$`,F="?"+K,D=`<${F}>`,B=document,A=()=>B.createComment(""),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,H=t=>P(t)||"function"==typeof t?.[Symbol.iterator],j="[ \t\n\f\r]",T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,G=/>/g,V=RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,X=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),Q=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),et=new WeakMap,ot=B.createTreeWalker(B,129);function it(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==z?z.createHTML(e):e}const rt=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=T;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,p=0;for(;p<o.length&&(a.lastIndex=p,l=a.exec(o),null!==l);)p=a.lastIndex,a===T?"!--"===l[1]?a=_:void 0!==l[1]?a=G:void 0!==l[2]?(q.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=V):void 0!==l[3]&&(a=V):a===V?">"===l[0]?(a=r??T,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?V:'"'===l[3]?J:Y):a===J||a===Y?a=V:a===_||a===G?a=T:(a=V,r=void 0);const f=a===V&&t[e+1].startsWith("/>")?" ":"";n+=a===T?o+D:c>=0?(i.push(s),o.slice(0,c)+Z+o.slice(c)+K+f):o+K+(-2===c?e:f)}return[it(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};let nt=class t{constructor({strings:e,_$litType$:o},i){let r;this.parts=[];let n=0,a=0;const s=e.length-1,l=this.parts,[c,p]=rt(e,o);if(this.el=t.createElement(c,i),ot.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ot.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Z)){const e=p[a++],o=r.getAttribute(t).split(K),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?pt:"?"===i[1]?ft:"@"===i[1]?dt:ct}),r.removeAttribute(t)}else t.startsWith(K)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(q.test(r.tagName)){const t=r.textContent.split(K),e=t.length-1;if(e>0){r.textContent=L?L.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],A()),ot.nextNode(),l.push({type:2,index:++n});r.append(t[e],A())}}}else if(8===r.nodeType)if(r.data===F)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(K,t+1));)l.push({type:7,index:n}),t+=K.length-1}n++}}static createElement(t,e){const o=B.createElement("template");return o.innerHTML=t,o}};function at(t,e,o=t,i){if(e===Q)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=M(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=at(t,r._$AS(t,e.values),r,i)),e}let st=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,i=(t?.creationScope??B).importNode(e,!0);ot.currentNode=i;let r=ot.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new lt(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new ht(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=ot.nextNode(),n++)}return ot.currentNode=B,i}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++}},lt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=tt,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.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=at(this,t,e),M(t)?t===tt||null==t||""===t?(this._$AH!==tt&&this._$AR(),this._$AH=tt):t!==this._$AH&&t!==Q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):H(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!==tt&&M(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=nt.createElement(it(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new st(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=et.get(t.strings);return void 0===e&&et.set(t.strings,e=new nt(t)),e}T(e){P(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(A()),this.k(A()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.length=r)}_$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))}},ct=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=tt,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=tt}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=at(this,t,e,0),n=!M(t)||t!==this._$AH&&t!==Q,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=at(this,i[o+a],e,a),s===Q&&(s=this._$AH[a]),n||=!M(s)||s!==this._$AH[a],s===tt?t=tt:t!==tt&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},pt=class extends ct{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===tt?void 0:t}},ft=class extends ct{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==tt)}},dt=class extends ct{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=at(this,t,e,0)??tt)===Q)return;const o=this._$AH,i=t===tt&&o!==tt||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==tt&&(o===tt||i);i&&this.element.removeEventListener(this.name,this,o),r&&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)}},ht=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){at(this,t)}};const ut={j:Z,P:K,A:F,C:1,M:rt,L:st,R:H,V:at,D:lt,I:ct,H:ft,N:dt,U:pt,B:ht},yt=W.litHtmlPolyfillSupport;yt?.(nt,lt),(W.litHtmlVersions??=[]).push("3.1.0");
65
64
  /**
66
- * @license
67
- * Copyright 2017 Google LLC
68
- * SPDX-License-Identifier: BSD-3-Clause
69
- */
70
- var gt,bt;let mt=class extends I{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const o=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=o.firstChild),o}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{var i,r;const n=null!==(i=null==o?void 0:o.renderBefore)&&void 0!==i?i:e;let a=n._$litPart$;if(void 0===a){const t=null!==(r=null==o?void 0:o.renderBefore)&&void 0!==r?r:null;n._$litPart$=a=new lt(e.insertBefore(M(),t),t,void 0,null!=o?o:{})}return a._$AI(t),a})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return Q}};mt.finalized=!0,mt._$litElement$=!0,null===(gt=globalThis.litElementHydrateSupport)||void 0===gt||gt.call(globalThis,{LitElement:mt});const xt=globalThis.litElementPolyfillSupport;null==xt||xt({LitElement:mt}),(null!==(bt=globalThis.litElementVersions)&&void 0!==bt?bt:globalThis.litElementVersions=[]).push("3.3.2");const vt=t=>"string"==typeof t?m(t):t;class Ot{static create(t,e,o,i){const r=t=>vt(null!=t?t:i),n=x`var(${vt(t)}, ${r(i)})`;return n.name=t,n.description=t,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>x`var(${vt(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=x`var(${vt(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>x`var(${vt(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):vt(null!=e?e:t.lastResortDefaultValue()),i=x`var(${vt(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>x`var(${vt(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Nt(t,e){return vt(`${t.name}: ${e}`)}const $t={colorWhite:Ot.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ot.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ot.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ot.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ot.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ot.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ot.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ot.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ot.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ot.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ot.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ot.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ot.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ot.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ot.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ot.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ot.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ot.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ot.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ot.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ot.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ot.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ot.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ot.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ot.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ot.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ot.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ot.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ot.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ot.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ot.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ot.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ot.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ot.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ot.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ot.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ot.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ot.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ot.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ot.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ot.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ot.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ot.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ot.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ot.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ot.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ot.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ot.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ot.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ot.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ot.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ot.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ot.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ot.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ot.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ot.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ot.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ot.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ot.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ot.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ot.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ot.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ot.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ot.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ot.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ot.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ot.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ot.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ot.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ot.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ot.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ot.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ot.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ot.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ot.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ot.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ot.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ot.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ot.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ot.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ot.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ot.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ot.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ot.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ot.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ot.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ot.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ot.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ot.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ot.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ot.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ot.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ot.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ot.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ot.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ot.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ot.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ot.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ot.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ot.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ot.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ot.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ot.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ot.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ot.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ot.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ot.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ot.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ot.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ot.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ot.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ot.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ot.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ot.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ot.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ot.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ot.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ot.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ot.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ot.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ot.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ot.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ot.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ot.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ot.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ot.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ot.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ot.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ot.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ot.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ot.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ot.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ot.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ot.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ot.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ot.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ot.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ot.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ot.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ot.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ot.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ot.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ot.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ot.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ot.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ot.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ot.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ot.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ot.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ot.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ot.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ot.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ot.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ot.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ot.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ot.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ot.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ot.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ot.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ot.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ot.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ot.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ot.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ot.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ot.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ot.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ot.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ot.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ot.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ot.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ot.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ot.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ot.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ot.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ot.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ot.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ot.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ot.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ot.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ot.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ot.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ot.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ot.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ot.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ot.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ot.create("--ft-opacity-80","","NUMBER","0.8")},wt={display:{fontFamily:Ot.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Ot.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Ot.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Ot.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ot.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Ot.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Ot.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Ot.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Ot.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Ot.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ot.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Ot.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Ot.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Ot.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ot.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Ot.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ot.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Ot.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Ot.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Ot.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ot.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Ot.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Ot.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Ot.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Ot.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ot.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Ot.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Ot.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ot.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Ot.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Ot.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ot.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Ot.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Ot.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ot.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Ot.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Ot.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ot.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Ot.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Ot.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ot.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Ot.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Ot.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ot.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Ot.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Ot.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ot.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Ot.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Ot.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ot.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Ot.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ot.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ot.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Ot.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Ot.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ot.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Ot.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ot.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ot.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Ot.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Ot.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ot.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Ot.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ot.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Ot.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ot.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Ot.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ot.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Ot.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ot.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ot.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ot.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Ot.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ot.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Ot.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Ot.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Ot.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ot.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Ot.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ot.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Ot.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ot.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Ot.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ot.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Ot.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ot.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Ot.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ot.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ot.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ot.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Ot.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ot.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Ot.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ot.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Ot.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ot.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Ot.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ot.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Ot.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ot.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Ot.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ot.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Ot.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ot.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Ot.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ot.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Ot.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ot.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Ot.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ot.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Ot.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ot.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Ot.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ot.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Ot.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ot.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Ot.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Ot.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Ot.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ot.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Ot.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ot.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Ot.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ot.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Ot.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ot.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Ot.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ot.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Ot.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ot.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Ot.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ot.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},St={backgroundActionPrimary:Ot.extend("--ft-background-action-primary","Used as backgorund of primary action components.",$t.colorBrand0),backgroundErrorPrimary:Ot.extend("--ft-background-error-primary","Used as background of error components.",$t.colorRed0),backgroundErrorSubtle:Ot.extend("--ft-background-error-subtle","Used as background of subtle error components.",$t.colorRed10),backgroundInfoPrimary:Ot.extend("--ft-background-info-primary","Used as background of information components.",$t.colorCyan200),backgroundInfoSubtle:Ot.extend("--ft-background-info-subtle","Used as background of subtle information components.",$t.colorCyan10),backgroundWarningPrimary:Ot.extend("--ft-background-warning-primary","Used as background of warning components.",$t.colorOrange300),backgroundWarningSubtle:Ot.extend("--ft-background-warning-subtle","Used as background of subtle information components.",$t.colorOrange10),backgroundSuccessPrimary:Ot.extend("--ft-background-success-primary","Used as background of success components.",$t.colorGreen200),backgroundSuccessSubtle:Ot.extend("--ft-background-success-subtle","Used as background of subtle success components.",$t.colorGreen10),backgroundGlobalSurface:Ot.extend("--ft-background-global-surface","Used as app background.",$t.colorWhite),backgroundGlobalOnSurface:Ot.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",$t.colorGray10),backgroundGlobalOnSurfaceDark:Ot.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",$t.colorGray30),contentActionPrimary:Ot.extend("--ft-content-action-primary","Used on label of primary action on light surface.",$t.colorBrand0),contentWarningPrimary:Ot.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",$t.colorOrange300),contentWarningIconOnly:Ot.extend("--ft-content-warning-icon-only","Used on warning status icons alone",$t.colorOrange0),contentErrorPrimary:Ot.extend("--ft-content-error-primary","Used on label of error messages on light surface.",$t.colorRed0),contentErrorIconOnly:Ot.extend("--ft-content-error-icon-only","Used on error status icons alone",$t.colorRed0),contentInfoPrimary:Ot.extend("--ft-content-info-primary","Used on label of information messages on light surface.",$t.colorCyan200),contentInfoIconOnly:Ot.extend("--ft-content-info-icon-only","Used on info status icons alone",$t.colorCyan0),contentSuccessIconOnly:Ot.extend("--ft-content-success-icon-only","Used on success status icons alone",$t.colorGreen0),contentSuccessPrimary:Ot.extend("--ft-content-success-primary","Used on label of success messages on light surface.",$t.colorGreen200),contentGlobalPrimary:Ot.extend("--ft-content-global-primary","Used for main content on the page.",$t.colorGray500),contentGlobalSecondary:Ot.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",$t.colorGray200),contentGlobalSubtle:Ot.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",$t.colorGray0),contentGlobalOnColor:Ot.extend("--ft-content-global-on-color","Used for content on a dominant color.",$t.colorWhite),borderActionPrimary:Ot.extend("--ft-border-action-primary","Used as border for primary action components.",$t.colorBrand0),borderActionFocusRing:Ot.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",$t.colorCyan0),borderWarningPrimary:Ot.extend("--ft-border-warning-primary","Used as border for warning components.",$t.colorOrange30),borderSuccessPrimary:Ot.extend("--ft-border-success-primary","Used as border for success components.",$t.colorGreen30),borderErrorPrimary:Ot.extend("--ft-border-error-primary","Used as border for error components.",$t.colorRed30),borderInfoPrimary:Ot.extend("--ft-border-info-primary","Used as border for information components.",$t.colorCyan30),borderGlobalSubtle:Ot.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",$t.colorGray30),borderGlobalPrimary:Ot.extend("--ft-border-global-primary","Used as border for element like input.",$t.colorGray50),borderInputPrimary:Ot.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",$t.colorGray80)},Ct={largeHeight:Ot.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Ot.extend("--ft-button-large-horizontal-padding","",$t.spacing4),largeGap:Ot.extend("--ft-button-large-gap","",$t.spacing2),largeBorderRadius:Ot.extend("--ft-button-large-border-radius","",$t.borderRadiusS),largeIconSize:Ot.extend("--ft-button-large-icon-size","",$t.iconSize3),largeBorderWidth:Ot.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Ot.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Ot.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Ot.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Ot.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Ot.extend("--ft-button-small-horizontal-padding","",$t.spacing3),smallGap:Ot.extend("--ft-button-small-gap","",$t.spacing2),smallBorderRadius:Ot.extend("--ft-button-small-border-radius","",$t.borderRadiusS),smallIconSize:Ot.extend("--ft-button-small-icon-size","",$t.iconSize2),smallBorderWidth:Ot.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Ot.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Ot.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Ot.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Ot.extend("--ft-button-primary-background-color","",St.backgroundActionPrimary),primaryColor:Ot.extend("--ft-button-primary-color","",St.contentGlobalOnColor),primaryIconColor:Ot.extend("--ft-button-primary-icon-color","",St.contentGlobalOnColor),primaryStateLayerColor:Ot.extend("--ft-button-primary-state-layer-color","",St.contentGlobalOnColor),primaryStateLayerOpacityHover:Ot.extend("--ft-button-primary-state-layer-opacity-hover","",$t.opacity16),primaryStateLayerOpacityFocus:Ot.extend("--ft-button-primary-state-layer-opacity-focus","",$t.opacity16),primaryStateLayerOpacityActive:Ot.extend("--ft-button-primary-state-layer-opacity-active","",$t.opacity24),primaryComponentOpacityDisabled:Ot.extend("--ft-button-primary-component-opacity-disabled","",$t.opacity40),focusFocusRingColor:Ot.extend("--ft-button-focus-focus-ring-color","",St.borderActionFocusRing),tertiaryBackgroundColor:Ot.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Ot.extend("--ft-button-tertiary-color","",St.contentActionPrimary),tertiaryIconColor:Ot.extend("--ft-button-tertiary-icon-color","",St.contentActionPrimary),tertiaryStateLayerColor:Ot.extend("--ft-button-tertiary-state-layer-color","",St.contentActionPrimary),tertiaryStateLayerOpacityHover:Ot.extend("--ft-button-tertiary-state-layer-opacity-hover","",$t.opacity8),tertiaryStateLayerOpacityFocus:Ot.extend("--ft-button-tertiary-state-layer-opacity-focus","",$t.opacity8),tertiaryStateLayerOpacityActive:Ot.extend("--ft-button-tertiary-state-layer-opacity-active","",$t.opacity16),tertiaryComponentOpacityDisabled:Ot.extend("--ft-button-tertiary-component-opacity-disabled","",$t.opacity40),secondaryBackgroundColor:Ot.extend("--ft-button-secondary-background-color","",$t.colorWhite),secondaryColor:Ot.extend("--ft-button-secondary-color","",St.contentActionPrimary),secondaryIconColor:Ot.extend("--ft-button-secondary-icon-color","",St.contentActionPrimary),secondaryStateLayerColor:Ot.extend("--ft-button-secondary-state-layer-color","",St.contentActionPrimary),secondaryStateLayerOpacityHover:Ot.extend("--ft-button-secondary-state-layer-opacity-hover","",$t.opacity8),secondaryStateLayerOpacityFocus:Ot.extend("--ft-button-secondary-state-layer-opacity-focus","",$t.opacity8),secondaryStateLayerOpacityActive:Ot.extend("--ft-button-secondary-state-layer-opacity-active","",$t.opacity16),secondaryComponentOpacityDisabled:Ot.extend("--ft-button-secondary-component-opacity-disabled","",$t.opacity40),secondaryBorderColor:Ot.extend("--ft-button-secondary-border-color","",St.borderActionPrimary),neutralBackgroundColor:Ot.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Ot.extend("--ft-button-neutral-icon-color","",St.contentGlobalSecondary),neutralColor:Ot.extend("--ft-button-neutral-color","",St.contentGlobalSecondary),neutralStateLayerColor:Ot.extend("--ft-button-neutral-state-layer-color","",St.contentGlobalSecondary),neutralStateLayerOpacityHover:Ot.extend("--ft-button-neutral-state-layer-opacity-hover","",$t.opacity8),neutralStateLayerOpacityFocus:Ot.extend("--ft-button-neutral-state-layer-opacity-focus","",$t.opacity8),neutralStateLayerOpacityActive:Ot.extend("--ft-button-neutral-state-layer-opacity-active","",$t.opacity16),neutralComponentOpacityDisabled:Ot.extend("--ft-button-neutral-component-opacity-disabled","",$t.opacity40)};Ot.extend("--ft-tabs-top-left-border-radius","",$t.borderRadiusS),Ot.extend("--ft-tabs-top-right-border-radius","",$t.borderRadiusS),Ot.extend("--ft-tabs-label-horizontal-padding","",$t.spacing4),Ot.extend("--ft-tabs-label-vertical-padding","",$t.spacing3),Ot.extend("--ft-tabs-label-gap","",$t.spacing1),Ot.extend("--ft-switch-group-horizontal-padding","",$t.spacing1),Ot.extend("--ft-switch-group-vertical-padding","",$t.spacing1),Ot.extend("--ft-switch-group-gap","",$t.spacing1),Ot.extend("--ft-switch-group-background-color","",St.backgroundGlobalSurface),Ot.extend("--ft-switch-group-border-color","",St.borderGlobalSubtle),Ot.create("--ft-switch-group-border-radius","","SIZE","6px"),Ot.extend("--ft-switch-label-horizontal-padding","",$t.spacing2),Ot.extend("--ft-switch-label-vertical-padding","",$t.spacing1),Ot.extend("--ft-switch-icon-horizontal-padding","",$t.spacing1),Ot.extend("--ft-switch-icon-vertical-padding","",$t.spacing1),Ot.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-switch-focus-focus-ring-color","",St.borderActionFocusRing),Ot.extend("--ft-switch-option-border-radius","",$t.borderRadiusS),Ot.extend("--ft-switch-off-state-layer-opacity-hover","",$t.opacity8),Ot.extend("--ft-switch-off-state-layer-opacity-focus","",$t.opacity8),Ot.extend("--ft-switch-off-state-layer-opacity-active","",$t.opacity16),Ot.extend("--ft-switch-off-component-opacity-disabled","",$t.opacity40),Ot.extend("--ft-switch-off-color","",St.contentGlobalSubtle),Ot.extend("--ft-switch-off-state-layer-color","",St.contentGlobalSubtle),Ot.extend("--ft-chart-1-light","for area color charts",$t.colorBrand40),Ot.extend("--ft-chart-1-base","for line charts",$t.colorBrand0),Ot.extend("--ft-chart-2-light","for area color charts",$t.colorYellow60),Ot.extend("--ft-chart-2-base","for line charts",$t.colorYellow100),Ot.extend("--ft-chart-3-light","",$t.colorUltramarine40),Ot.extend("--ft-chart-3-base","",$t.colorUltramarine70),Ot.extend("--ft-chart-4-light","",$t.colorCyan50),Ot.extend("--ft-chart-4-base","",$t.colorCyan100),Ot.extend("--ft-chart-5-light","",$t.colorRed40),Ot.extend("--ft-chart-5-base","",$t.colorRed60),Ot.extend("--ft-chart-6-light","",$t.colorGreen40),Ot.extend("--ft-chart-6-base","",$t.colorGreen70),Ot.extend("--ft-chart-7-light","",$t.colorOrange70),Ot.extend("--ft-chart-7-base","",$t.colorOrange100),Ot.extend("--ft-chart-8-light","",$t.colorAvocado70),Ot.extend("--ft-chart-8-base","",$t.colorAvocado200),Ot.extend("--ft-chart-9-light","",$t.colorBrown50),Ot.extend("--ft-chart-9-base","",$t.colorBrown200),Ot.extend("--ft-chart-10-light","",$t.colorGray50),Ot.extend("--ft-chart-10-base","",$t.colorGray80),Ot.extend("--ft-chart-monochrome-10","",$t.colorBrand10),Ot.extend("--ft-chart-monochrome-20","",$t.colorBrand20),Ot.extend("--ft-chart-monochrome-30","",$t.colorBrand40),Ot.extend("--ft-chart-monochrome-40","",$t.colorBrand60),Ot.extend("--ft-chart-monochrome-50","",$t.colorBrand0),Ot.extend("--ft-chart-monochrome-60","",$t.colorBrand200),Ot.extend("--ft-chip-large-horizontal-padding","",$t.spacing4),Ot.extend("--ft-chip-large-vertical-padding","",$t.spacing2),Ot.extend("--ft-chip-large-gap","",$t.spacing1),Ot.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ot.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-chip-large-border-radius","",$t.borderRadiusPill),Ot.create("--ft-chip-large-border-width","","SIZE","1px"),Ot.extend("--ft-chip-large-icon-size","",$t.iconSize3),Ot.extend("--ft-chip-medium-horizontal-padding","",$t.spacing3),Ot.extend("--ft-chip-medium-vertical-padding","",$t.spacing1),Ot.extend("--ft-chip-medium-gap","",$t.spacing1),Ot.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ot.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-chip-medium-border-radius","",$t.borderRadiusPill),Ot.create("--ft-chip-medium-border-width","","SIZE","1px"),Ot.extend("--ft-chip-medium-icon-size","",$t.iconSize2),Ot.extend("--ft-chip-small-horizontal-padding","",$t.spacing2),Ot.extend("--ft-chip-small-vertical-padding","",$t.spacing05),Ot.extend("--ft-chip-small-gap","",$t.spacing1),Ot.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ot.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-chip-small-border-radius","",$t.borderRadiusPill),Ot.create("--ft-chip-small-border-width","","SIZE","1px"),Ot.extend("--ft-chip-small-icon-size","",$t.iconSize1),Ot.extend("--ft-chip-neutral-background-color","",St.backgroundGlobalOnSurface),Ot.extend("--ft-chip-neutral-color","",St.contentGlobalPrimary),Ot.extend("--ft-chip-neutral-border-color","",St.borderGlobalSubtle),Ot.extend("--ft-chip-info-background-color","",St.backgroundInfoSubtle),Ot.extend("--ft-chip-info-color","",St.contentInfoPrimary),Ot.extend("--ft-chip-info-border-color","",St.borderInfoPrimary),Ot.extend("--ft-chip-success-background-color","",St.backgroundSuccessSubtle),Ot.extend("--ft-chip-success-color","",St.contentSuccessPrimary),Ot.extend("--ft-chip-success-border-color","",St.borderSuccessPrimary),Ot.extend("--ft-chip-warning-background-color","",St.backgroundWarningSubtle),Ot.extend("--ft-chip-warning-color","",St.contentWarningPrimary),Ot.extend("--ft-chip-warning-border-color","",St.borderWarningPrimary),Ot.extend("--ft-chip-error-background-color","",St.backgroundErrorSubtle),Ot.extend("--ft-chip-error-color","",St.contentErrorPrimary),Ot.extend("--ft-chip-error-border-color","",St.borderErrorPrimary),Ot.create("--ft-notice-border-width","","SIZE","1px"),Ot.extend("--ft-notice-horizontal-padding","",$t.spacing2),Ot.extend("--ft-notice-vertical-padding","",$t.spacing1),Ot.extend("--ft-notice-border-radius","",$t.borderRadiusS),Ot.extend("--ft-notice-gap","",$t.spacing2),Ot.extend("--ft-notice-icon-size","",$t.iconSize3),Ot.extend("--ft-notice-info-background-color","",St.backgroundInfoSubtle),Ot.extend("--ft-notice-info-border-color","",St.borderInfoPrimary),Ot.extend("--ft-notice-info-color","",St.contentInfoPrimary),Ot.extend("--ft-notice-warning-background-color","",St.backgroundWarningSubtle),Ot.extend("--ft-notice-warning-border-color","",St.borderWarningPrimary),Ot.extend("--ft-notice-warning-color","",St.contentWarningPrimary),Ot.extend("--ft-checkbox-label-color","",St.contentGlobalPrimary),Ot.extend("--ft-checkbox-checked-background-color","",St.contentActionPrimary),Ot.extend("--ft-checkbox-checked-state-layer-color","",St.contentActionPrimary),Ot.extend("--ft-checkbox-checked-color","",St.contentGlobalOnColor),Ot.extend("--ft-checkbox-checked-state-layer-opacity-hover","",$t.opacity16),Ot.extend("--ft-checkbox-checked-state-layer-opacity-focus","",$t.opacity16),Ot.extend("--ft-checkbox-checked-state-layer-opacity-active","",$t.opacity24),Ot.extend("--ft-checkbox-checked-component-opacity-disabled","",$t.opacity40),Ot.extend("--ft-checkbox-unchecked-border-color","",$t.colorGray80),Ot.extend("--ft-checkbox-unchecked-state-layer-color","",$t.colorGray80),Ot.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",$t.opacity16),Ot.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",$t.opacity16),Ot.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",$t.opacity24),Ot.extend("--ft-checkbox-unchecked-component-opacity-disabled","",$t.opacity40),Ot.extend("--ft-checkbox-focus-focus-ring-color","",St.borderActionFocusRing),Ot.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ot.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-checkbox-gap","",$t.spacing3),Ot.extend("--ft-toggle-off-state-layer-opacity-hover","",$t.opacity16),Ot.extend("--ft-toggle-off-state-layer-opacity-focus","",$t.opacity16),Ot.extend("--ft-toggle-off-state-layer-opacity-active","",$t.opacity24),Ot.extend("--ft-toggle-off-component-opacity-disabled","",$t.opacity40),Ot.extend("--ft-toggle-off-background-color","",St.contentGlobalSubtle),Ot.extend("--ft-toggle-off-icon-color","",St.contentGlobalSubtle),Ot.extend("--ft-toggle-off-state-layer-color","",St.contentGlobalSubtle),Ot.extend("--ft-toggle-on-state-layer-opacity-hover","",$t.opacity16),Ot.extend("--ft-toggle-on-state-layer-opacity-focus","",$t.opacity16),Ot.extend("--ft-toggle-on-state-layer-opacity-active","",$t.opacity24),Ot.extend("--ft-toggle-on-component-opacity-disabled","",$t.opacity40),Ot.extend("--ft-toggle-on-background-color","",St.contentActionPrimary),Ot.extend("--ft-toggle-on-icon-color","",St.contentActionPrimary),Ot.extend("--ft-toggle-on-state-layer-color","",St.contentActionPrimary),Ot.extend("--ft-toggle-label-color","",St.contentGlobalPrimary),Ot.extend("--ft-toggle-focus-focus-ring-color","",St.borderActionFocusRing),Ot.extend("--ft-toggle-gap","",$t.spacing3),Ot.extend("--ft-radio-label-color","",St.contentGlobalPrimary),Ot.extend("--ft-radio-selected-color","",St.contentActionPrimary),Ot.extend("--ft-radio-selected-state-layer-color","",St.contentActionPrimary),Ot.extend("--ft-radio-selected-state-layer-opacity-hover","",$t.opacity16),Ot.extend("--ft-radio-selected-state-layer-opacity-focus","",$t.opacity16),Ot.extend("--ft-radio-selected-state-layer-opacity-active","",$t.opacity24),Ot.extend("--ft-radio-selected-component-opacity-disabled","",$t.opacity40),Ot.extend("--ft-radio-unselected-state-layer-color","",$t.colorGray80),Ot.extend("--ft-radio-unselected-state-layer-opacity-hover","",$t.opacity16),Ot.extend("--ft-radio-unselected-state-layer-opacity-focus","",$t.opacity16),Ot.extend("--ft-radio-unselected-state-layer-opacity-active","",$t.opacity24),Ot.extend("--ft-radio-unselected-component-opacity-disabled","",$t.opacity40),Ot.extend("--ft-radio-focus-focus-ring-color","",St.borderActionFocusRing),Ot.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ot.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-radio-gap","",$t.spacing3),Ot.extend("--ft-notification-icon-size","",$t.iconSize4),Ot.extend("--ft-notification-horizontal-padding","",$t.spacing4),Ot.extend("--ft-notification-vertical-padding","",$t.spacing4),Ot.extend("--ft-notification-info-background-color","",St.backgroundInfoSubtle),Ot.extend("--ft-notification-info-color","",St.contentInfoPrimary),Ot.extend("--ft-notification-info-border-color","",St.borderInfoPrimary),Ot.extend("--ft-notification-success-background-color","",St.backgroundSuccessSubtle),Ot.extend("--ft-notification-success-color","",St.contentSuccessPrimary),Ot.extend("--ft-notification-success-border-color","",St.borderSuccessPrimary),Ot.extend("--ft-notification-warning-background-color","",St.backgroundWarningSubtle),Ot.extend("--ft-notification-warning-color","",St.contentWarningPrimary),Ot.extend("--ft-notification-warning-border-color","",St.borderWarningPrimary),Ot.extend("--ft-notification-error-background-color","",St.backgroundErrorSubtle),Ot.extend("--ft-notification-error-color","",St.contentErrorPrimary),Ot.extend("--ft-notification-error-border-color","",St.borderErrorPrimary),Ot.extend("--ft-notification-border-radius","",$t.borderRadiusPill),Ot.create("--ft-notification-border-width","","SIZE","1px"),Ot.extend("--ft-notification-gap-leading","",$t.spacing2),Ot.extend("--ft-notification-gap-trailing","",$t.spacing8);const kt={colorPrimary:Ot.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Ot.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Ot.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Ot.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Ot.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Ot.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ot.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Ot.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ot.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Ot.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Ot.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Ot.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ot.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ot.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ot.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ot.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ot.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ot.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ot.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ot.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ot.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ot.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ot.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ot.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Ot.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Ot.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ot.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Ot.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ot.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ot.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ot.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ot.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ot.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ot.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ot.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ot.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ot.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ot.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ot.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ot.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ot.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ot.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ot.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ot.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Ot.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:Ot.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:Ot.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:Ot.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:Ot.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:Ot.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:Ot.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:Ot.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:Ot.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:Ot.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:Ot.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Ot.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Ot.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Ot.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Ot.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ot.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ot.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Ot.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class Et extends mt{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 v(o,t.elementStyles),o}}var Rt,It=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ut=Symbol("constructorPrototype"),Wt=Symbol("constructorName"),Lt=Symbol("exportpartsDebouncer");class zt extends Et{constructor(){super(),this[Rt]=new e(5),this[Wt]=this.constructor.name,this[Ut]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Wt]&&Object.setPrototypeOf(this,this[Ut])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Lt].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,n,a;const l=t=>null!=t&&t.trim().length>0,s=t.filter(l).map((t=>t.trim()));if(0===s.length)return void this.removeAttribute("exportparts");const c=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!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(l).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>s.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Rt=Lt,It([i()],zt.prototype,"exportpartsPrefix",void 0),It([function(t,e){const o=()=>JSON.parse(JSON.stringify(t));return i({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)=>!f(t,e),...null!=e?e:{}})}([])],zt.prototype,"exportpartsPrefixes",void 0),It([i()],zt.prototype,"customStylesheet",void 0);const Zt=x`
65
+ * @license
66
+ * Copyright 2019 Google LLC
67
+ * SPDX-License-Identifier: BSD-3-Clause
68
+ */
69
+ const gt=globalThis,bt=gt.ShadowRoot&&(void 0===gt.ShadyCSS||gt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mt=Symbol(),xt=new WeakMap;let vt=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==mt)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(bt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=xt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&xt.set(e,t))}return t}toString(){return this.cssText}};const Ot=t=>new vt("string"==typeof t?t:t+"",void 0,mt),$t=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[i+1]),t[0]);return new vt(o,t,mt)},St=bt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return Ot(e)})(t):t
70
+ /**
71
+ * @license
72
+ * Copyright 2017 Google LLC
73
+ * SPDX-License-Identifier: BSD-3-Clause
74
+ */,{is:wt,defineProperty:Nt,getOwnPropertyDescriptor:Ct,getOwnPropertyNames:Et,getOwnPropertySymbols:kt,getPrototypeOf:Rt}=Object,Ut=globalThis,It=Ut.trustedTypes,Wt=It?It.emptyScript:"",Lt=Ut.reactiveElementPolyfillSupport,zt=(t,e)=>t,Zt={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}},Kt=(t,e)=>!wt(t,e),Ft={attribute:!0,type:String,converter:Zt,reflect:!1,hasChanged:Kt};Symbol.metadata??=Symbol("metadata"),Ut.litPropertyMetadata??=new WeakMap;class Dt 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=Ft){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&Nt(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=Ct(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ft}static _$Ei(){if(this.hasOwnProperty(zt("elementProperties")))return;const t=Rt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(zt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(zt("properties"))){const t=this.properties,e=[...Et(t),...kt(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(St(t))}else void 0!==t&&e.push(St(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,e)=>{if(bt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=gt.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}})(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),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:Zt).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Zt;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Kt)(i?r: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){}}Dt.elementStyles=[],Dt.shadowRootOptions={mode:"open"},Dt[zt("elementProperties")]=new Map,Dt[zt("finalized")]=new Map,Lt?.({ReactiveElement:Dt}),(Ut.reactiveElementVersions??=[]).push("2.0.2");
75
+ /**
76
+ * @license
77
+ * Copyright 2017 Google LLC
78
+ * SPDX-License-Identifier: BSD-3-Clause
79
+ */
80
+ const Bt=globalThis,At=Bt.trustedTypes,Mt=At?At.createPolicy("lit-html",{createHTML:t=>t}):void 0,Pt="$lit$",Ht=`lit$${(Math.random()+"").slice(9)}$`,jt="?"+Ht,Tt=`<${jt}>`,_t=document,Gt=()=>_t.createComment(""),Vt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Yt=Array.isArray,Jt="[ \t\n\f\r]",qt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Xt=/-->/g,Qt=/>/g,te=RegExp(`>|${Jt}(?:([^\\s"'>=/]+)(${Jt}*=${Jt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),ee=/'/g,oe=/"/g,ie=/^(?:script|style|textarea|title)$/i,re=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),ne=Symbol.for("lit-noChange"),ae=Symbol.for("lit-nothing"),se=new WeakMap,le=_t.createTreeWalker(_t,129);function ce(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Mt?Mt.createHTML(e):e}const pe=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=qt;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,p=0;for(;p<o.length&&(a.lastIndex=p,l=a.exec(o),null!==l);)p=a.lastIndex,a===qt?"!--"===l[1]?a=Xt:void 0!==l[1]?a=Qt:void 0!==l[2]?(ie.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=te):void 0!==l[3]&&(a=te):a===te?">"===l[0]?(a=r??qt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?te:'"'===l[3]?oe:ee):a===oe||a===ee?a=te:a===Xt||a===Qt?a=qt:(a=te,r=void 0);const f=a===te&&t[e+1].startsWith("/>")?" ":"";n+=a===qt?o+Tt:c>=0?(i.push(s),o.slice(0,c)+Pt+o.slice(c)+Ht+f):o+Ht+(-2===c?e:f)}return[ce(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class fe{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=pe(t,e);if(this.el=fe.createElement(l,o),le.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=le.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Pt)){const e=c[n++],o=i.getAttribute(t).split(Ht),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?ye:"?"===a[1]?ge:"@"===a[1]?be:ue}),i.removeAttribute(t)}else t.startsWith(Ht)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(ie.test(i.tagName)){const t=i.textContent.split(Ht),e=t.length-1;if(e>0){i.textContent=At?At.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],Gt()),le.nextNode(),s.push({type:2,index:++r});i.append(t[e],Gt())}}}else if(8===i.nodeType)if(i.data===jt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Ht,t+1));)s.push({type:7,index:r}),t+=Ht.length-1}r++}}static createElement(t,e){const o=_t.createElement("template");return o.innerHTML=t,o}}function de(t,e,o=t,i){if(e===ne)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=Vt(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=de(t,r._$AS(t,e.values),r,i)),e}class he{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=ae,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.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=de(this,t,e),Vt(t)?t===ae||null==t||""===t?(this._$AH!==ae&&this._$AR(),this._$AH=ae):t!==this._$AH&&t!==ne&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Yt(t)||"function"==typeof t?.[Symbol.iterator])(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!==ae&&Vt(this._$AH)?this._$AA.nextSibling.data=t:this.$(_t.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=fe.createElement(ce(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new 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,i=(t?.creationScope??_t).importNode(e,!0);le.currentNode=i;let r=le.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new he(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new me(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=le.nextNode(),n++)}return le.currentNode=_t,i}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++}}(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=se.get(t.strings);return void 0===e&&se.set(t.strings,e=new fe(t)),e}T(t){Yt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,i=0;for(const r of t)i===e.length?e.push(o=new he(this.k(Gt()),this.k(Gt()),this,this.options)):o=e[i],o._$AI(r),i++;i<e.length&&(this._$AR(o&&o._$AB.nextSibling,i),e.length=i)}_$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))}}class ue{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=ae,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ae}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=de(this,t,e,0),n=!Vt(t)||t!==this._$AH&&t!==ne,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=de(this,i[o+a],e,a),s===ne&&(s=this._$AH[a]),n||=!Vt(s)||s!==this._$AH[a],s===ae?t=ae:t!==ae&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===ae?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class ye extends ue{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ae?void 0:t}}class ge extends ue{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ae)}}class be extends ue{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=de(this,t,e,0)??ae)===ne)return;const o=this._$AH,i=t===ae&&o!==ae||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==ae&&(o===ae||i);i&&this.element.removeEventListener(this.name,this,o),r&&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)}}class me{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){de(this,t)}}const xe=Bt.litHtmlPolyfillSupport;xe?.(fe,he),(Bt.litHtmlVersions??=[]).push("3.1.0");
81
+ /**
82
+ * @license
83
+ * Copyright 2017 Google LLC
84
+ * SPDX-License-Identifier: BSD-3-Clause
85
+ */
86
+ let ve=class extends Dt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new he(e.insertBefore(Gt(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ne}};ve._$litElement$=!0,ve.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ve});const Oe=globalThis.litElementPolyfillSupport;Oe?.({LitElement:ve}),(globalThis.litElementVersions??=[]).push("4.0.2");const $e=t=>"string"==typeof t?Ot(t):t;class Se{static create(t,e,o,i){const r=t=>$e(null!=t?t:i),n=$t`var(${$e(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>$t`var(${$e(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=$t`var(${$e(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>$t`var(${$e(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):$e(null!=e?e:t.lastResortDefaultValue()),i=$t`var(${$e(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>$t`var(${$e(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function we(t,e){return $e(`${t.name}: ${e}`)}const Ne={colorWhite:Se.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Se.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Se.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Se.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Se.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Se.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Se.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Se.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Se.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Se.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Se.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Se.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Se.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Se.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Se.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Se.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Se.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Se.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Se.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Se.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Se.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Se.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Se.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Se.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Se.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Se.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Se.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Se.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Se.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Se.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Se.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Se.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Se.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Se.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Se.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Se.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Se.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Se.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Se.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Se.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Se.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Se.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Se.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Se.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Se.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Se.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Se.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Se.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Se.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Se.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Se.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Se.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Se.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Se.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Se.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Se.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Se.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Se.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Se.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Se.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Se.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Se.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Se.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Se.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Se.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Se.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Se.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Se.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Se.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Se.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Se.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Se.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Se.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Se.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Se.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Se.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Se.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Se.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Se.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Se.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Se.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Se.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Se.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Se.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Se.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Se.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Se.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Se.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Se.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Se.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Se.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Se.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Se.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Se.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Se.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Se.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Se.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Se.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Se.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Se.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Se.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Se.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Se.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Se.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Se.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Se.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Se.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Se.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Se.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Se.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Se.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Se.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Se.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Se.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Se.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Se.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Se.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Se.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Se.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Se.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Se.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Se.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Se.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Se.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Se.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Se.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Se.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Se.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Se.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Se.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Se.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Se.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Se.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Se.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Se.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Se.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Se.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Se.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Se.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Se.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Se.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Se.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Se.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Se.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Se.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Se.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Se.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Se.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Se.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Se.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Se.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Se.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Se.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Se.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Se.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Se.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Se.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Se.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Se.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Se.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Se.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Se.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Se.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Se.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Se.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Se.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Se.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Se.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Se.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Se.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Se.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Se.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Se.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Se.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Se.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Se.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Se.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Se.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Se.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Se.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Se.create("--ft-opacity-0","","NUMBER","0"),opacity8:Se.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Se.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Se.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Se.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Se.create("--ft-opacity-80","","NUMBER","0.8")},Ce={display:{fontFamily:Se.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Se.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Se.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Se.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Se.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Se.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Se.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Se.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Se.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Se.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Se.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Se.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Se.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Se.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Se.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Se.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Se.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Se.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Se.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Se.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Se.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Se.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Se.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Se.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Se.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Se.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Se.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Se.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Se.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Se.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Se.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Se.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Se.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Se.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Se.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Se.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Se.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Se.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Se.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Se.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Se.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Se.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Se.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Se.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Se.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Se.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ee={backgroundActionPrimary:Se.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ne.colorBrand0),backgroundErrorPrimary:Se.extend("--ft-background-error-primary","Used as background of error components.",Ne.colorRed0),backgroundErrorSubtle:Se.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ne.colorRed10),backgroundInfoPrimary:Se.extend("--ft-background-info-primary","Used as background of information components.",Ne.colorCyan200),backgroundInfoSubtle:Se.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ne.colorCyan10),backgroundWarningPrimary:Se.extend("--ft-background-warning-primary","Used as background of warning components.",Ne.colorOrange300),backgroundWarningSubtle:Se.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ne.colorOrange10),backgroundSuccessPrimary:Se.extend("--ft-background-success-primary","Used as background of success components.",Ne.colorGreen200),backgroundSuccessSubtle:Se.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ne.colorGreen10),backgroundGlobalSurface:Se.extend("--ft-background-global-surface","Used as app background.",Ne.colorWhite),backgroundGlobalOnSurface:Se.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ne.colorGray10),backgroundGlobalOnSurfaceDark:Se.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ne.colorGray30),contentActionPrimary:Se.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ne.colorBrand0),contentWarningPrimary:Se.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ne.colorOrange300),contentWarningIconOnly:Se.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ne.colorOrange0),contentErrorPrimary:Se.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ne.colorRed0),contentErrorIconOnly:Se.extend("--ft-content-error-icon-only","Used on error status icons alone",Ne.colorRed0),contentInfoPrimary:Se.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ne.colorCyan200),contentInfoIconOnly:Se.extend("--ft-content-info-icon-only","Used on info status icons alone",Ne.colorCyan0),contentSuccessIconOnly:Se.extend("--ft-content-success-icon-only","Used on success status icons alone",Ne.colorGreen0),contentSuccessPrimary:Se.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ne.colorGreen200),contentGlobalPrimary:Se.extend("--ft-content-global-primary","Used for main content on the page.",Ne.colorGray500),contentGlobalSecondary:Se.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ne.colorGray200),contentGlobalSubtle:Se.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ne.colorGray0),contentGlobalOnColor:Se.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ne.colorWhite),borderActionPrimary:Se.extend("--ft-border-action-primary","Used as border for primary action components.",Ne.colorBrand0),borderActionFocusRing:Se.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ne.colorCyan0),borderWarningPrimary:Se.extend("--ft-border-warning-primary","Used as border for warning components.",Ne.colorOrange30),borderSuccessPrimary:Se.extend("--ft-border-success-primary","Used as border for success components.",Ne.colorGreen30),borderErrorPrimary:Se.extend("--ft-border-error-primary","Used as border for error components.",Ne.colorRed30),borderInfoPrimary:Se.extend("--ft-border-info-primary","Used as border for information components.",Ne.colorCyan30),borderGlobalSubtle:Se.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ne.colorGray30),borderGlobalPrimary:Se.extend("--ft-border-global-primary","Used as border for element like input.",Ne.colorGray50),borderInputPrimary:Se.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ne.colorGray80)},ke={largeHeight:Se.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Se.extend("--ft-button-large-horizontal-padding","",Ne.spacing4),largeGap:Se.extend("--ft-button-large-gap","",Ne.spacing2),largeBorderRadius:Se.extend("--ft-button-large-border-radius","",Ne.borderRadiusS),largeIconSize:Se.extend("--ft-button-large-icon-size","",Ne.iconSize3),largeBorderWidth:Se.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Se.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Se.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Se.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Se.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Se.extend("--ft-button-small-horizontal-padding","",Ne.spacing3),smallGap:Se.extend("--ft-button-small-gap","",Ne.spacing2),smallBorderRadius:Se.extend("--ft-button-small-border-radius","",Ne.borderRadiusS),smallIconSize:Se.extend("--ft-button-small-icon-size","",Ne.iconSize2),smallBorderWidth:Se.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Se.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Se.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Se.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Se.extend("--ft-button-primary-background-color","",Ee.backgroundActionPrimary),primaryColor:Se.extend("--ft-button-primary-color","",Ee.contentGlobalOnColor),primaryIconColor:Se.extend("--ft-button-primary-icon-color","",Ee.contentGlobalOnColor),primaryStateLayerColor:Se.extend("--ft-button-primary-state-layer-color","",Ee.contentGlobalOnColor),primaryStateLayerOpacityHover:Se.extend("--ft-button-primary-state-layer-opacity-hover","",Ne.opacity16),primaryStateLayerOpacityFocus:Se.extend("--ft-button-primary-state-layer-opacity-focus","",Ne.opacity16),primaryStateLayerOpacityActive:Se.extend("--ft-button-primary-state-layer-opacity-active","",Ne.opacity24),primaryComponentOpacityDisabled:Se.extend("--ft-button-primary-component-opacity-disabled","",Ne.opacity40),focusFocusRingColor:Se.extend("--ft-button-focus-focus-ring-color","",Ee.borderActionFocusRing),tertiaryBackgroundColor:Se.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Se.extend("--ft-button-tertiary-color","",Ee.contentActionPrimary),tertiaryIconColor:Se.extend("--ft-button-tertiary-icon-color","",Ee.contentActionPrimary),tertiaryStateLayerColor:Se.extend("--ft-button-tertiary-state-layer-color","",Ee.contentActionPrimary),tertiaryStateLayerOpacityHover:Se.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ne.opacity8),tertiaryStateLayerOpacityFocus:Se.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ne.opacity8),tertiaryStateLayerOpacityActive:Se.extend("--ft-button-tertiary-state-layer-opacity-active","",Ne.opacity16),tertiaryComponentOpacityDisabled:Se.extend("--ft-button-tertiary-component-opacity-disabled","",Ne.opacity40),secondaryBackgroundColor:Se.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Se.extend("--ft-button-secondary-color","",Ee.contentActionPrimary),secondaryIconColor:Se.extend("--ft-button-secondary-icon-color","",Ee.contentActionPrimary),secondaryStateLayerColor:Se.extend("--ft-button-secondary-state-layer-color","",Ee.contentActionPrimary),secondaryStateLayerOpacityHover:Se.extend("--ft-button-secondary-state-layer-opacity-hover","",Ne.opacity8),secondaryStateLayerOpacityFocus:Se.extend("--ft-button-secondary-state-layer-opacity-focus","",Ne.opacity8),secondaryStateLayerOpacityActive:Se.extend("--ft-button-secondary-state-layer-opacity-active","",Ne.opacity16),secondaryComponentOpacityDisabled:Se.extend("--ft-button-secondary-component-opacity-disabled","",Ne.opacity40),secondaryBorderColor:Se.extend("--ft-button-secondary-border-color","",Ee.borderActionPrimary),neutralBackgroundColor:Se.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Se.extend("--ft-button-neutral-icon-color","",Ee.contentGlobalSecondary),neutralColor:Se.extend("--ft-button-neutral-color","",Ee.contentGlobalSecondary),neutralStateLayerColor:Se.extend("--ft-button-neutral-state-layer-color","",Ee.contentGlobalSecondary),neutralStateLayerOpacityHover:Se.extend("--ft-button-neutral-state-layer-opacity-hover","",Ne.opacity8),neutralStateLayerOpacityFocus:Se.extend("--ft-button-neutral-state-layer-opacity-focus","",Ne.opacity8),neutralStateLayerOpacityActive:Se.extend("--ft-button-neutral-state-layer-opacity-active","",Ne.opacity16),neutralComponentOpacityDisabled:Se.extend("--ft-button-neutral-component-opacity-disabled","",Ne.opacity40)};Se.extend("--ft-tabs-top-left-border-radius","",Ne.borderRadiusS),Se.extend("--ft-tabs-top-right-border-radius","",Ne.borderRadiusS),Se.extend("--ft-tabs-label-horizontal-padding","",Ne.spacing4),Se.extend("--ft-tabs-label-vertical-padding","",Ne.spacing3),Se.extend("--ft-tabs-label-gap","",Ne.spacing1),Se.extend("--ft-switch-group-horizontal-padding","",Ne.spacing1),Se.extend("--ft-switch-group-vertical-padding","",Ne.spacing1),Se.extend("--ft-switch-group-gap","",Ne.spacing1),Se.extend("--ft-switch-group-background-color","",Ee.backgroundGlobalSurface),Se.extend("--ft-switch-group-border-color","",Ee.borderGlobalSubtle),Se.create("--ft-switch-group-border-radius","","SIZE","6px"),Se.extend("--ft-switch-label-horizontal-padding","",Ne.spacing2),Se.extend("--ft-switch-label-vertical-padding","",Ne.spacing1),Se.extend("--ft-switch-icon-horizontal-padding","",Ne.spacing1),Se.extend("--ft-switch-icon-vertical-padding","",Ne.spacing1),Se.create("--ft-switch-focus-outline-width","","SIZE","2px"),Se.extend("--ft-switch-focus-focus-ring-color","",Ee.borderActionFocusRing),Se.extend("--ft-switch-option-border-radius","",Ne.borderRadiusS),Se.extend("--ft-switch-off-state-layer-opacity-hover","",Ne.opacity8),Se.extend("--ft-switch-off-state-layer-opacity-focus","",Ne.opacity8),Se.extend("--ft-switch-off-state-layer-opacity-active","",Ne.opacity16),Se.extend("--ft-switch-off-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-switch-off-color","",Ee.contentGlobalSubtle),Se.extend("--ft-switch-off-state-layer-color","",Ee.contentGlobalSubtle),Se.extend("--ft-chart-1-light","for area color charts",Ne.colorBrand40),Se.extend("--ft-chart-1-base","for line charts",Ne.colorBrand0),Se.extend("--ft-chart-2-light","for area color charts",Ne.colorYellow60),Se.extend("--ft-chart-2-base","for line charts",Ne.colorYellow100),Se.extend("--ft-chart-3-light","",Ne.colorUltramarine40),Se.extend("--ft-chart-3-base","",Ne.colorUltramarine70),Se.extend("--ft-chart-4-light","",Ne.colorCyan50),Se.extend("--ft-chart-4-base","",Ne.colorCyan100),Se.extend("--ft-chart-5-light","",Ne.colorRed40),Se.extend("--ft-chart-5-base","",Ne.colorRed60),Se.extend("--ft-chart-6-light","",Ne.colorGreen40),Se.extend("--ft-chart-6-base","",Ne.colorGreen70),Se.extend("--ft-chart-7-light","",Ne.colorOrange70),Se.extend("--ft-chart-7-base","",Ne.colorOrange100),Se.extend("--ft-chart-8-light","",Ne.colorAvocado70),Se.extend("--ft-chart-8-base","",Ne.colorAvocado200),Se.extend("--ft-chart-9-light","",Ne.colorBrown50),Se.extend("--ft-chart-9-base","",Ne.colorBrown200),Se.extend("--ft-chart-10-light","",Ne.colorGray50),Se.extend("--ft-chart-10-base","",Ne.colorGray80),Se.extend("--ft-chart-monochrome-10","",Ne.colorBrand10),Se.extend("--ft-chart-monochrome-20","",Ne.colorBrand20),Se.extend("--ft-chart-monochrome-30","",Ne.colorBrand40),Se.extend("--ft-chart-monochrome-40","",Ne.colorBrand60),Se.extend("--ft-chart-monochrome-50","",Ne.colorBrand0),Se.extend("--ft-chart-monochrome-60","",Ne.colorBrand200),Se.extend("--ft-chip-large-horizontal-padding","",Ne.spacing4),Se.extend("--ft-chip-large-vertical-padding","",Ne.spacing2),Se.extend("--ft-chip-large-gap","",Ne.spacing1),Se.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Se.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Se.extend("--ft-chip-large-border-radius","",Ne.borderRadiusPill),Se.create("--ft-chip-large-border-width","","SIZE","1px"),Se.extend("--ft-chip-large-icon-size","",Ne.iconSize3),Se.extend("--ft-chip-medium-horizontal-padding","",Ne.spacing3),Se.extend("--ft-chip-medium-vertical-padding","",Ne.spacing1),Se.extend("--ft-chip-medium-gap","",Ne.spacing1),Se.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Se.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Se.extend("--ft-chip-medium-border-radius","",Ne.borderRadiusPill),Se.create("--ft-chip-medium-border-width","","SIZE","1px"),Se.extend("--ft-chip-medium-icon-size","",Ne.iconSize2),Se.extend("--ft-chip-small-horizontal-padding","",Ne.spacing2),Se.extend("--ft-chip-small-vertical-padding","",Ne.spacing05),Se.extend("--ft-chip-small-gap","",Ne.spacing1),Se.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Se.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Se.extend("--ft-chip-small-border-radius","",Ne.borderRadiusPill),Se.create("--ft-chip-small-border-width","","SIZE","1px"),Se.extend("--ft-chip-small-icon-size","",Ne.iconSize1),Se.extend("--ft-chip-neutral-background-color","",Ee.backgroundGlobalOnSurface),Se.extend("--ft-chip-neutral-color","",Ee.contentGlobalPrimary),Se.extend("--ft-chip-neutral-border-color","",Ee.borderGlobalSubtle),Se.extend("--ft-chip-info-background-color","",Ee.backgroundInfoSubtle),Se.extend("--ft-chip-info-color","",Ee.contentInfoPrimary),Se.extend("--ft-chip-info-border-color","",Ee.borderInfoPrimary),Se.extend("--ft-chip-success-background-color","",Ee.backgroundSuccessSubtle),Se.extend("--ft-chip-success-color","",Ee.contentSuccessPrimary),Se.extend("--ft-chip-success-border-color","",Ee.borderSuccessPrimary),Se.extend("--ft-chip-warning-background-color","",Ee.backgroundWarningSubtle),Se.extend("--ft-chip-warning-color","",Ee.contentWarningPrimary),Se.extend("--ft-chip-warning-border-color","",Ee.borderWarningPrimary),Se.extend("--ft-chip-error-background-color","",Ee.backgroundErrorSubtle),Se.extend("--ft-chip-error-color","",Ee.contentErrorPrimary),Se.extend("--ft-chip-error-border-color","",Ee.borderErrorPrimary),Se.create("--ft-notice-border-width","","SIZE","1px"),Se.extend("--ft-notice-horizontal-padding","",Ne.spacing2),Se.extend("--ft-notice-vertical-padding","",Ne.spacing1),Se.extend("--ft-notice-border-radius","",Ne.borderRadiusS),Se.extend("--ft-notice-gap","",Ne.spacing2),Se.extend("--ft-notice-icon-size","",Ne.iconSize3),Se.extend("--ft-notice-info-background-color","",Ee.backgroundInfoSubtle),Se.extend("--ft-notice-info-border-color","",Ee.borderInfoPrimary),Se.extend("--ft-notice-info-color","",Ee.contentInfoPrimary),Se.extend("--ft-notice-warning-background-color","",Ee.backgroundWarningSubtle),Se.extend("--ft-notice-warning-border-color","",Ee.borderWarningPrimary),Se.extend("--ft-notice-warning-color","",Ee.contentWarningPrimary),Se.extend("--ft-checkbox-label-color","",Ee.contentGlobalPrimary),Se.extend("--ft-checkbox-checked-background-color","",Ee.contentActionPrimary),Se.extend("--ft-checkbox-checked-state-layer-color","",Ee.contentActionPrimary),Se.extend("--ft-checkbox-checked-color","",Ee.contentGlobalOnColor),Se.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ne.opacity16),Se.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ne.opacity16),Se.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ne.opacity24),Se.extend("--ft-checkbox-checked-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-checkbox-unchecked-border-color","",Ne.colorGray80),Se.extend("--ft-checkbox-unchecked-state-layer-color","",Ne.colorGray80),Se.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ne.opacity16),Se.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ne.opacity16),Se.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ne.opacity24),Se.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-checkbox-focus-focus-ring-color","",Ee.borderActionFocusRing),Se.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Se.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Se.extend("--ft-checkbox-gap","",Ne.spacing3),Se.extend("--ft-toggle-off-state-layer-opacity-hover","",Ne.opacity16),Se.extend("--ft-toggle-off-state-layer-opacity-focus","",Ne.opacity16),Se.extend("--ft-toggle-off-state-layer-opacity-active","",Ne.opacity24),Se.extend("--ft-toggle-off-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-toggle-off-background-color","",Ee.contentGlobalSubtle),Se.extend("--ft-toggle-off-icon-color","",Ee.contentGlobalSubtle),Se.extend("--ft-toggle-off-state-layer-color","",Ee.contentGlobalSubtle),Se.extend("--ft-toggle-on-state-layer-opacity-hover","",Ne.opacity16),Se.extend("--ft-toggle-on-state-layer-opacity-focus","",Ne.opacity16),Se.extend("--ft-toggle-on-state-layer-opacity-active","",Ne.opacity24),Se.extend("--ft-toggle-on-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-toggle-on-background-color","",Ee.contentActionPrimary),Se.extend("--ft-toggle-on-icon-color","",Ee.contentActionPrimary),Se.extend("--ft-toggle-on-state-layer-color","",Ee.contentActionPrimary),Se.extend("--ft-toggle-label-color","",Ee.contentGlobalPrimary),Se.extend("--ft-toggle-focus-focus-ring-color","",Ee.borderActionFocusRing),Se.extend("--ft-toggle-gap","",Ne.spacing3),Se.extend("--ft-radio-label-color","",Ee.contentGlobalPrimary),Se.extend("--ft-radio-selected-color","",Ee.contentActionPrimary),Se.extend("--ft-radio-selected-state-layer-color","",Ee.contentActionPrimary),Se.extend("--ft-radio-selected-state-layer-opacity-hover","",Ne.opacity16),Se.extend("--ft-radio-selected-state-layer-opacity-focus","",Ne.opacity16),Se.extend("--ft-radio-selected-state-layer-opacity-active","",Ne.opacity24),Se.extend("--ft-radio-selected-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-radio-unselected-state-layer-color","",Ne.colorGray80),Se.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ne.opacity16),Se.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ne.opacity16),Se.extend("--ft-radio-unselected-state-layer-opacity-active","",Ne.opacity24),Se.extend("--ft-radio-unselected-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-radio-focus-focus-ring-color","",Ee.borderActionFocusRing),Se.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Se.create("--ft-radio-focus-outline-width","","SIZE","2px"),Se.extend("--ft-radio-gap","",Ne.spacing3),Se.extend("--ft-notification-icon-size","",Ne.iconSize4),Se.extend("--ft-notification-horizontal-padding","",Ne.spacing4),Se.extend("--ft-notification-vertical-padding","",Ne.spacing4),Se.extend("--ft-notification-info-background-color","",Ee.backgroundInfoSubtle),Se.extend("--ft-notification-info-color","",Ee.contentInfoPrimary),Se.extend("--ft-notification-info-border-color","",Ee.borderInfoPrimary),Se.extend("--ft-notification-success-background-color","",Ee.backgroundSuccessSubtle),Se.extend("--ft-notification-success-color","",Ee.contentSuccessPrimary),Se.extend("--ft-notification-success-border-color","",Ee.borderSuccessPrimary),Se.extend("--ft-notification-warning-background-color","",Ee.backgroundWarningSubtle),Se.extend("--ft-notification-warning-color","",Ee.contentWarningPrimary),Se.extend("--ft-notification-warning-border-color","",Ee.borderWarningPrimary),Se.extend("--ft-notification-error-background-color","",Ee.backgroundErrorSubtle),Se.extend("--ft-notification-error-color","",Ee.contentErrorPrimary),Se.extend("--ft-notification-error-border-color","",Ee.borderErrorPrimary),Se.extend("--ft-notification-border-radius","",Ne.borderRadiusPill),Se.create("--ft-notification-border-width","","SIZE","1px"),Se.extend("--ft-notification-gap-leading","",Ne.spacing2),Se.extend("--ft-notification-gap-trailing","",Ne.spacing8);const Re={colorPrimary:Se.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Se.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Se.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Se.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Se.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Se.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Se.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Se.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Se.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Se.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Se.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Se.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Se.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Se.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Se.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Se.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Se.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Se.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Se.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Se.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Se.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Se.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Se.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Se.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Se.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Se.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Se.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Se.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Se.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Se.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Se.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Se.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Se.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Se.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Se.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Se.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Se.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Se.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Se.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Se.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Se.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Se.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Se.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Se.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Se.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:Se.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:Se.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:Se.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:Se.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:Se.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:Se.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:Se.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:Se.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:Se.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:Se.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Se.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Se.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Se.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Se.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Se.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Se.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Se.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ue=window,Ie=Ue.ShadowRoot&&(void 0===Ue.ShadyCSS||Ue.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
87
+ /**
88
+ * @license
89
+ * Copyright 2019 Google LLC
90
+ * SPDX-License-Identifier: BSD-3-Clause
91
+ */class We extends ve{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)=>{Ie?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Ue.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Le,ze=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ze=Symbol("constructorPrototype"),Ke=Symbol("constructorName"),Fe=Symbol("exportpartsDebouncer");class De extends We{constructor(){super(),this[Le]=new e(5),this[Ke]=this.constructor.name,this[Ze]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ke]&&Object.setPrototypeOf(this,this[Ze])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Fe].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=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!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Le=Fe,ze([N()],De.prototype,"exportpartsPrefix",void 0),ze([function(t,e){const o=()=>JSON.parse(JSON.stringify(t));return N({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)=>!U(t,e),...null!=e?e:{}})}([])],De.prototype,"exportpartsPrefixes",void 0),ze([N()],De.prototype,"customStylesheet",void 0);const Be=$t`
71
92
  .ft-no-text-select {
72
93
  -webkit-touch-callout: none;
73
94
  -webkit-user-select: none;
@@ -76,7 +97,7 @@ var gt,bt;let mt=class extends I{constructor(){super(...arguments),this.renderOp
76
97
  -ms-user-select: none;
77
98
  user-select: none;
78
99
  }
79
- `;x`
100
+ `;$t`
80
101
  .ft-word-wrap {
81
102
  white-space: normal;
82
103
  word-wrap: break-word;
@@ -88,7 +109,7 @@ var gt,bt;let mt=class extends I{constructor(){super(...arguments),this.renderOp
88
109
  -webkit-hyphens: auto;
89
110
  hyphens: auto
90
111
  }
91
- `;const Kt=x`
112
+ `;const Ae=$t`
92
113
  .ft-safari-ellipsis-fix {
93
114
  margin-right: 0;
94
115
 
@@ -99,129 +120,129 @@ var gt,bt;let mt=class extends I{constructor(){super(...arguments),this.renderOp
99
120
  display: inline-block;
100
121
  width: 0;
101
122
  }
102
- `;window.ftReduxStores||(window.ftReduxStores={});const Ft=Symbol("elementInternals");function Dt(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Ft].form}constructor(...t){super(t),this[Ft]=this.attachInternals(),this[Ft].role=e}setFormValue(t){this[Ft].setFormValue(t)}}}var Bt,Mt,At;const Ht=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(At=null===(Mt=null===(Bt=window.safari)||void 0===Bt?void 0:Bt.pushNotification)||void 0===Mt?void 0:Mt.toString())&&void 0!==At?At:""),jt=1,Pt=2,Tt=t=>(...e)=>({_$litDirective$:t,values:e});
123
+ `;window.ftReduxStores||(window.ftReduxStores={});const Me=Symbol("elementInternals");function Pe(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Me].form}constructor(...t){super(t),this[Me]=this.attachInternals(),this[Me].role=e}setFormValue(t){this[Me].setFormValue(t)}}}var He,je,Te;const _e=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Te=null===(je=null===(He=window.safari)||void 0===He?void 0:He.pushNotification)||void 0===je?void 0:je.toString())&&void 0!==Te?Te:""),Ge=1,Ve=2,Ye=t=>(...e)=>({_$litDirective$:t,values:e});
103
124
  /**
104
- * @license
105
- * Copyright 2017 Google LLC
106
- * SPDX-License-Identifier: BSD-3-Clause
107
- */class Gt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
125
+ * @license
126
+ * Copyright 2017 Google LLC
127
+ * SPDX-License-Identifier: BSD-3-Clause
128
+ */let Je=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
108
129
  /**
109
- * @license
110
- * Copyright 2020 Google LLC
111
- * SPDX-License-Identifier: BSD-3-Clause
112
- */const{I:_t}=ut,Vt=()=>document.createComment(""),Yt=(t,e,o)=>{var i;const r=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=r.insertBefore(Vt(),n),i=r.insertBefore(Vt(),n);o=new _t(e,i,t,t.options)}else{const e=o._$AB.nextSibling,a=o._$AM,l=a!==t;if(l){let e;null===(i=o._$AQ)||void 0===i||i.call(o,t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==a._$AU&&o._$AP(e)}if(e!==n||l){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;r.insertBefore(t,n),t=e}}}return o},Jt=(t,e,o=t)=>(t._$AI(e,o),t),qt={},Xt=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let o=t._$AA;const i=t._$AB.nextSibling;for(;o!==i;){const t=o.nextSibling;o.remove(),o=t}},Qt=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},te=Tt(class extends Gt{constructor(t){if(super(t),t.type!==Pt)throw Error("repeat() can only be used in text expressions")}dt(t,e,o){let i;void 0===o?o=e:void 0!==e&&(i=e);const r=[],n=[];let a=0;for(const e of t)r[a]=i?i(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:r}}render(t,e,o){return this.dt(t,e,o).values}update(t,[e,o,i]){var r;const n=(t=>t._$AH)(t),{values:a,keys:l}=this.dt(e,o,i);if(!Array.isArray(n))return this.ht=l,a;const s=null!==(r=this.ht)&&void 0!==r?r:this.ht=[],c=[];let p,f,d=0,h=n.length-1,u=0,y=a.length-1;for(;d<=h&&u<=y;)if(null===n[d])d++;else if(null===n[h])h--;else if(s[d]===l[u])c[u]=Jt(n[d],a[u]),d++,u++;else if(s[h]===l[y])c[y]=Jt(n[h],a[y]),h--,y--;else if(s[d]===l[y])c[y]=Jt(n[d],a[y]),Yt(t,c[y+1],n[d]),d++,y--;else if(s[h]===l[u])c[u]=Jt(n[h],a[u]),Yt(t,n[d],n[h]),h--,u++;else if(void 0===p&&(p=Qt(l,u,y),f=Qt(s,d,h)),p.has(s[d]))if(p.has(s[h])){const e=f.get(l[u]),o=void 0!==e?n[e]:null;if(null===o){const e=Yt(t,n[d]);Jt(e,a[u]),c[u]=e}else c[u]=Jt(o,a[u]),Yt(t,n[d],o),n[e]=null;u++}else Xt(n[h]),h--;else Xt(n[d]),d++;for(;u<=y;){const e=Yt(t,c[y+1]);Jt(e,a[u]),c[u++]=e}for(;d<=h;){const t=n[d++];null!==t&&Xt(t)}return this.ht=l,((t,e=qt)=>{t._$AH=e})(t,c),Q}});
130
+ * @license
131
+ * Copyright 2020 Google LLC
132
+ * SPDX-License-Identifier: BSD-3-Clause
133
+ */const{D:qe}=ut,Xe=()=>document.createComment(""),Qe=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(Xe(),r),n=i.insertBefore(Xe(),r);o=new qe(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==r||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,r),t=e}}}return o},to=(t,e,o=t)=>(t._$AI(e,o),t),eo={},oo=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}},io=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},ro=Ye(class extends Je{constructor(t){if(super(t),t.type!==Ve)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let i;void 0===o?o=e:void 0!==e&&(i=e);const r=[],n=[];let a=0;for(const e of t)r[a]=i?i(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:r}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,p,f=0,d=r.length-1,h=0,u=n.length-1;for(;f<=d&&h<=u;)if(null===r[f])f++;else if(null===r[d])d--;else if(s[f]===a[h])l[h]=to(r[f],n[h]),f++,h++;else if(s[d]===a[u])l[u]=to(r[d],n[u]),d--,u--;else if(s[f]===a[u])l[u]=to(r[f],n[u]),Qe(t,l[u+1],r[f]),f++,u--;else if(s[d]===a[h])l[h]=to(r[d],n[h]),Qe(t,r[f],r[d]),d--,h++;else if(void 0===c&&(c=io(a,h,u),p=io(s,f,d)),c.has(s[f]))if(c.has(s[d])){const e=p.get(a[h]),o=void 0!==e?r[e]:null;if(null===o){const e=Qe(t,r[f]);to(e,n[h]),l[h]=e}else l[h]=to(o,n[h]),Qe(t,r[f],o),r[e]=null;h++}else oo(r[d]),d--;else oo(r[f]),f++;for(;h<=u;){const e=Qe(t,l[u+1]);to(e,n[h]),l[h++]=e}for(;f<=d;){const t=r[f++];null!==t&&oo(t)}return this.dt=a,((t,e=eo)=>{t._$AH=e})(t,l),Q}});
113
134
  /**
114
- * @license
115
- * Copyright 2017 Google LLC
116
- * SPDX-License-Identifier: BSD-3-Clause
117
- */
135
+ * @license
136
+ * Copyright 2017 Google LLC
137
+ * SPDX-License-Identifier: BSD-3-Clause
138
+ */
118
139
  /**
119
- * @license
120
- * Copyright 2017 Google LLC
121
- * SPDX-License-Identifier: BSD-3-Clause
122
- */
123
- let ee=class extends Gt{constructor(t){if(super(t),this.et=tt,t.type!==Pt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||null==t)return this.ft=void 0,this.et=t;if(t===Q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}};ee.directiveName="unsafeHTML",ee.resultType=1;const oe=Tt(ee),ie=Tt(class extends Gt{constructor(t){var e;if(super(t),t.type!==jt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.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]){var o,i;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(o=this.nt)||void 0===o?void 0:o.has(t))&&this.it.add(t);return this.render(e)}const r=t.element.classList;this.it.forEach((t=>{t in e||(r.remove(t),this.it.delete(t))}));for(const t in e){const o=!!e[t];o===this.it.has(t)||(null===(i=this.nt)||void 0===i?void 0:i.has(t))||(o?(r.add(t),this.it.add(t)):(r.remove(t),this.it.delete(t)))}return Q}}),re=Symbol.for(""),ne=t=>{if((null==t?void 0:t.r)===re)return null==t?void 0:t._$litStatic$},ae=t=>({_$litStatic$:t,r:re}),le=new Map,se=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],l=[];let s,c=0,p=!1;for(;c<i;){for(s=e[c];c<i&&void 0!==(n=o[c],r=ne(n));)s+=r+e[++c],p=!0;c!==i&&l.push(n),a.push(s),c++}if(c===i&&a.push(e[i]),p){const t=a.join("$$lit$$");void 0===(e=le.get(t))&&(a.raw=a,le.set(t,e=a)),o=l}return t(e,...o)})(X);
140
+ * @license
141
+ * Copyright 2017 Google LLC
142
+ * SPDX-License-Identifier: BSD-3-Clause
143
+ */
144
+ let no=class extends Je{constructor(t){if(super(t),this.et=tt,t.type!==Ve)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||null==t)return this.vt=void 0,this.et=t;if(t===Q)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:[]}}};no.directiveName="unsafeHTML",no.resultType=1;const ao=Ye(no),so=Ye(class extends Je{constructor(t){if(super(t),t.type!==Ge||"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 i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return Q}}),lo=Symbol.for(""),co=t=>{if(t?.r===lo)return t?._$litStatic$},po=t=>({_$litStatic$:t,r:lo}),fo=new Map,ho=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=co(n));)l+=r+e[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),p){const t=a.join("$$lit$$");void 0===(e=fo.get(t))&&(a.raw=a,fo.set(t,e=a)),o=s}return t(e,...o)})(X);
124
145
  /**
125
- * @license
126
- * Copyright 2018 Google LLC
127
- * SPDX-License-Identifier: BSD-3-Clause
128
- */var ce;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(ce||(ce={}));const pe=Ot.extend("--ft-typography-font-family","",kt.titleFont),fe=Ot.extend("--ft-typography-font-family","",kt.contentFont),de={fontFamily:fe,fontSize:Ot.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Ot.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Ot.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Ot.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Ot.create("--ft-typography-text-transform","","UNKNOWN","inherit")},he=Ot.extend("--ft-typography-title-font-family","",pe),ue=Ot.extend("--ft-typography-title-font-size","",de.fontSize,"20px"),ye=Ot.extend("--ft-typography-title-font-weight","",de.fontWeight,"normal"),ge=Ot.extend("--ft-typography-title-letter-spacing","",de.letterSpacing,"0.15px"),be=Ot.extend("--ft-typography-title-line-height","",de.lineHeight,"1.2"),me=Ot.extend("--ft-typography-title-text-transform","",de.textTransform,"inherit"),xe=Ot.extend("--ft-typography-title-dense-font-family","",pe),ve=Ot.extend("--ft-typography-title-dense-font-size","",de.fontSize,"14px"),Oe=Ot.extend("--ft-typography-title-dense-font-weight","",de.fontWeight,"normal"),Ne=Ot.extend("--ft-typography-title-dense-letter-spacing","",de.letterSpacing,"0.105px"),$e=Ot.extend("--ft-typography-title-dense-line-height","",de.lineHeight,"1.7"),we=Ot.extend("--ft-typography-title-dense-text-transform","",de.textTransform,"inherit"),Se=Ot.extend("--ft-typography-subtitle1-font-family","",fe),Ce=Ot.extend("--ft-typography-subtitle1-font-size","",de.fontSize,"16px"),ke=Ot.extend("--ft-typography-subtitle1-font-weight","",de.fontWeight,"600"),Ee=Ot.extend("--ft-typography-subtitle1-letter-spacing","",de.letterSpacing,"0.144px"),Re=Ot.extend("--ft-typography-subtitle1-line-height","",de.lineHeight,"1.5"),Ie=Ot.extend("--ft-typography-subtitle1-text-transform","",de.textTransform,"inherit"),Ue=Ot.extend("--ft-typography-subtitle2-font-family","",fe),We=Ot.extend("--ft-typography-subtitle2-font-size","",de.fontSize,"14px"),Le=Ot.extend("--ft-typography-subtitle2-font-weight","",de.fontWeight,"normal"),ze=Ot.extend("--ft-typography-subtitle2-letter-spacing","",de.letterSpacing,"0.098px"),Ze=Ot.extend("--ft-typography-subtitle2-line-height","",de.lineHeight,"1.7"),Ke=Ot.extend("--ft-typography-subtitle2-text-transform","",de.textTransform,"inherit"),Fe={fontFamily:Ot.extend("--ft-typography-body1-font-family","",fe),fontSize:Ot.extend("--ft-typography-body1-font-size","",de.fontSize,"16px"),fontWeight:Ot.extend("--ft-typography-body1-font-weight","",de.fontWeight,"normal"),letterSpacing:Ot.extend("--ft-typography-body1-letter-spacing","",de.letterSpacing,"0.496px"),lineHeight:Ot.extend("--ft-typography-body1-line-height","",de.lineHeight,"1.5"),textTransform:Ot.extend("--ft-typography-body1-text-transform","",de.textTransform,"inherit")},De=Ot.extend("--ft-typography-body2-font-family","",fe),Be=Ot.extend("--ft-typography-body2-font-size","",de.fontSize,"14px"),Me=Ot.extend("--ft-typography-body2-font-weight","",de.fontWeight,"normal"),Ae=Ot.extend("--ft-typography-body2-letter-spacing","",de.letterSpacing,"0.252px"),He=Ot.extend("--ft-typography-body2-line-height","",de.lineHeight,"1.4"),je=Ot.extend("--ft-typography-body2-text-transform","",de.textTransform,"inherit"),Pe={fontFamily:Ot.extend("--ft-typography-caption-font-family","",fe),fontSize:Ot.extend("--ft-typography-caption-font-size","",de.fontSize,"12px"),fontWeight:Ot.extend("--ft-typography-caption-font-weight","",de.fontWeight,"normal"),letterSpacing:Ot.extend("--ft-typography-caption-letter-spacing","",de.letterSpacing,"0.396px"),lineHeight:Ot.extend("--ft-typography-caption-line-height","",de.lineHeight,"1.33"),textTransform:Ot.extend("--ft-typography-caption-text-transform","",de.textTransform,"inherit")},Te=Ot.extend("--ft-typography-breadcrumb-font-family","",fe),Ge=Ot.extend("--ft-typography-breadcrumb-font-size","",de.fontSize,"10px"),_e=Ot.extend("--ft-typography-breadcrumb-font-weight","",de.fontWeight,"normal"),Ve=Ot.extend("--ft-typography-breadcrumb-letter-spacing","",de.letterSpacing,"0.33px"),Ye=Ot.extend("--ft-typography-breadcrumb-line-height","",de.lineHeight,"1.6"),Je=Ot.extend("--ft-typography-breadcrumb-text-transform","",de.textTransform,"inherit"),qe=Ot.extend("--ft-typography-overline-font-family","",fe),Xe=Ot.extend("--ft-typography-overline-font-size","",de.fontSize,"10px"),Qe=Ot.extend("--ft-typography-overline-font-weight","",de.fontWeight,"normal"),to=Ot.extend("--ft-typography-overline-letter-spacing","",de.letterSpacing,"1.5px"),eo=Ot.extend("--ft-typography-overline-line-height","",de.lineHeight,"1.6"),oo=Ot.extend("--ft-typography-overline-text-transform","",de.textTransform,"uppercase"),io={fontFamily:Ot.extend("--ft-typography-button-font-family","",fe),fontSize:Ot.extend("--ft-typography-button-font-size","",de.fontSize,"14px"),fontWeight:Ot.extend("--ft-typography-button-font-weight","",de.fontWeight,"600"),letterSpacing:Ot.extend("--ft-typography-button-letter-spacing","",de.letterSpacing,"1.246px"),lineHeight:Ot.extend("--ft-typography-button-line-height","",de.lineHeight,"1.15"),textTransform:Ot.extend("--ft-typography-button-text-transform","",de.textTransform,"uppercase")},ro=x`
146
+ * @license
147
+ * Copyright 2018 Google LLC
148
+ * SPDX-License-Identifier: BSD-3-Clause
149
+ */var uo;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(uo||(uo={}));const yo=Se.extend("--ft-typography-font-family","",Re.titleFont),go=Se.extend("--ft-typography-font-family","",Re.contentFont),bo={fontFamily:go,fontSize:Se.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Se.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Se.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Se.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Se.create("--ft-typography-text-transform","","UNKNOWN","inherit")},mo=Se.extend("--ft-typography-title-font-family","",yo),xo=Se.extend("--ft-typography-title-font-size","",bo.fontSize,"20px"),vo=Se.extend("--ft-typography-title-font-weight","",bo.fontWeight,"normal"),Oo=Se.extend("--ft-typography-title-letter-spacing","",bo.letterSpacing,"0.15px"),$o=Se.extend("--ft-typography-title-line-height","",bo.lineHeight,"1.2"),So=Se.extend("--ft-typography-title-text-transform","",bo.textTransform,"inherit"),wo=Se.extend("--ft-typography-title-dense-font-family","",yo),No=Se.extend("--ft-typography-title-dense-font-size","",bo.fontSize,"14px"),Co=Se.extend("--ft-typography-title-dense-font-weight","",bo.fontWeight,"normal"),Eo=Se.extend("--ft-typography-title-dense-letter-spacing","",bo.letterSpacing,"0.105px"),ko=Se.extend("--ft-typography-title-dense-line-height","",bo.lineHeight,"1.7"),Ro=Se.extend("--ft-typography-title-dense-text-transform","",bo.textTransform,"inherit"),Uo=Se.extend("--ft-typography-subtitle1-font-family","",go),Io=Se.extend("--ft-typography-subtitle1-font-size","",bo.fontSize,"16px"),Wo=Se.extend("--ft-typography-subtitle1-font-weight","",bo.fontWeight,"600"),Lo=Se.extend("--ft-typography-subtitle1-letter-spacing","",bo.letterSpacing,"0.144px"),zo=Se.extend("--ft-typography-subtitle1-line-height","",bo.lineHeight,"1.5"),Zo=Se.extend("--ft-typography-subtitle1-text-transform","",bo.textTransform,"inherit"),Ko=Se.extend("--ft-typography-subtitle2-font-family","",go),Fo=Se.extend("--ft-typography-subtitle2-font-size","",bo.fontSize,"14px"),Do=Se.extend("--ft-typography-subtitle2-font-weight","",bo.fontWeight,"normal"),Bo=Se.extend("--ft-typography-subtitle2-letter-spacing","",bo.letterSpacing,"0.098px"),Ao=Se.extend("--ft-typography-subtitle2-line-height","",bo.lineHeight,"1.7"),Mo=Se.extend("--ft-typography-subtitle2-text-transform","",bo.textTransform,"inherit"),Po={fontFamily:Se.extend("--ft-typography-body1-font-family","",go),fontSize:Se.extend("--ft-typography-body1-font-size","",bo.fontSize,"16px"),fontWeight:Se.extend("--ft-typography-body1-font-weight","",bo.fontWeight,"normal"),letterSpacing:Se.extend("--ft-typography-body1-letter-spacing","",bo.letterSpacing,"0.496px"),lineHeight:Se.extend("--ft-typography-body1-line-height","",bo.lineHeight,"1.5"),textTransform:Se.extend("--ft-typography-body1-text-transform","",bo.textTransform,"inherit")},Ho=Se.extend("--ft-typography-body2-font-family","",go),jo=Se.extend("--ft-typography-body2-font-size","",bo.fontSize,"14px"),To=Se.extend("--ft-typography-body2-font-weight","",bo.fontWeight,"normal"),_o=Se.extend("--ft-typography-body2-letter-spacing","",bo.letterSpacing,"0.252px"),Go=Se.extend("--ft-typography-body2-line-height","",bo.lineHeight,"1.4"),Vo=Se.extend("--ft-typography-body2-text-transform","",bo.textTransform,"inherit"),Yo={fontFamily:Se.extend("--ft-typography-caption-font-family","",go),fontSize:Se.extend("--ft-typography-caption-font-size","",bo.fontSize,"12px"),fontWeight:Se.extend("--ft-typography-caption-font-weight","",bo.fontWeight,"normal"),letterSpacing:Se.extend("--ft-typography-caption-letter-spacing","",bo.letterSpacing,"0.396px"),lineHeight:Se.extend("--ft-typography-caption-line-height","",bo.lineHeight,"1.33"),textTransform:Se.extend("--ft-typography-caption-text-transform","",bo.textTransform,"inherit")},Jo=Se.extend("--ft-typography-breadcrumb-font-family","",go),qo=Se.extend("--ft-typography-breadcrumb-font-size","",bo.fontSize,"10px"),Xo=Se.extend("--ft-typography-breadcrumb-font-weight","",bo.fontWeight,"normal"),Qo=Se.extend("--ft-typography-breadcrumb-letter-spacing","",bo.letterSpacing,"0.33px"),ti=Se.extend("--ft-typography-breadcrumb-line-height","",bo.lineHeight,"1.6"),ei=Se.extend("--ft-typography-breadcrumb-text-transform","",bo.textTransform,"inherit"),oi=Se.extend("--ft-typography-overline-font-family","",go),ii=Se.extend("--ft-typography-overline-font-size","",bo.fontSize,"10px"),ri=Se.extend("--ft-typography-overline-font-weight","",bo.fontWeight,"normal"),ni=Se.extend("--ft-typography-overline-letter-spacing","",bo.letterSpacing,"1.5px"),ai=Se.extend("--ft-typography-overline-line-height","",bo.lineHeight,"1.6"),si=Se.extend("--ft-typography-overline-text-transform","",bo.textTransform,"uppercase"),li={fontFamily:Se.extend("--ft-typography-button-font-family","",go),fontSize:Se.extend("--ft-typography-button-font-size","",bo.fontSize,"14px"),fontWeight:Se.extend("--ft-typography-button-font-weight","",bo.fontWeight,"600"),letterSpacing:Se.extend("--ft-typography-button-letter-spacing","",bo.letterSpacing,"1.246px"),lineHeight:Se.extend("--ft-typography-button-line-height","",bo.lineHeight,"1.15"),textTransform:Se.extend("--ft-typography-button-text-transform","",bo.textTransform,"uppercase")},ci=$t`
129
150
  .ft-typography--title {
130
- font-family: ${he};
131
- font-size: ${ue};
132
- font-weight: ${ye};
133
- letter-spacing: ${ge};
134
- line-height: ${be};
135
- text-transform: ${me};
136
- }
137
- `,no=x`
151
+ font-family: ${mo};
152
+ font-size: ${xo};
153
+ font-weight: ${vo};
154
+ letter-spacing: ${Oo};
155
+ line-height: ${$o};
156
+ text-transform: ${So};
157
+ }
158
+ `,pi=$t`
138
159
  .ft-typography--title-dense {
139
- font-family: ${xe};
140
- font-size: ${ve};
141
- font-weight: ${Oe};
142
- letter-spacing: ${Ne};
143
- line-height: ${$e};
144
- text-transform: ${we};
145
- }
146
- `,ao=x`
160
+ font-family: ${wo};
161
+ font-size: ${No};
162
+ font-weight: ${Co};
163
+ letter-spacing: ${Eo};
164
+ line-height: ${ko};
165
+ text-transform: ${Ro};
166
+ }
167
+ `,fi=$t`
147
168
  .ft-typography--subtitle1 {
148
- font-family: ${Se};
149
- font-size: ${Ce};
150
- font-weight: ${ke};
151
- letter-spacing: ${Ee};
152
- line-height: ${Re};
153
- text-transform: ${Ie};
154
- }
155
- `,lo=x`
169
+ font-family: ${Uo};
170
+ font-size: ${Io};
171
+ font-weight: ${Wo};
172
+ letter-spacing: ${Lo};
173
+ line-height: ${zo};
174
+ text-transform: ${Zo};
175
+ }
176
+ `,di=$t`
156
177
  .ft-typography--subtitle2 {
157
- font-family: ${Ue};
158
- font-size: ${We};
159
- font-weight: ${Le};
160
- letter-spacing: ${ze};
161
- line-height: ${Ze};
162
- text-transform: ${Ke};
178
+ font-family: ${Ko};
179
+ font-size: ${Fo};
180
+ font-weight: ${Do};
181
+ letter-spacing: ${Bo};
182
+ line-height: ${Ao};
183
+ text-transform: ${Mo};
163
184
  }
164
185
 
165
- `,so=x`
186
+ `,hi=$t`
166
187
  .ft-typography--body1 {
167
- font-family: ${Fe.fontFamily};
168
- font-size: ${Fe.fontSize};
169
- font-weight: ${Fe.fontWeight};
170
- letter-spacing: ${Fe.letterSpacing};
171
- line-height: ${Fe.lineHeight};
172
- text-transform: ${Fe.textTransform};
173
- }
174
- `,co=x`
188
+ font-family: ${Po.fontFamily};
189
+ font-size: ${Po.fontSize};
190
+ font-weight: ${Po.fontWeight};
191
+ letter-spacing: ${Po.letterSpacing};
192
+ line-height: ${Po.lineHeight};
193
+ text-transform: ${Po.textTransform};
194
+ }
195
+ `,ui=$t`
175
196
  .ft-typography--body2 {
176
- font-family: ${De};
177
- font-size: ${Be};
178
- font-weight: ${Me};
179
- letter-spacing: ${Ae};
180
- line-height: ${He};
181
- text-transform: ${je};
182
- }
183
- `,po=x`
197
+ font-family: ${Ho};
198
+ font-size: ${jo};
199
+ font-weight: ${To};
200
+ letter-spacing: ${_o};
201
+ line-height: ${Go};
202
+ text-transform: ${Vo};
203
+ }
204
+ `,yi=$t`
184
205
  .ft-typography--caption {
185
- font-family: ${Pe.fontFamily};
186
- font-size: ${Pe.fontSize};
187
- font-weight: ${Pe.fontWeight};
188
- letter-spacing: ${Pe.letterSpacing};
189
- line-height: ${Pe.lineHeight};
190
- text-transform: ${Pe.textTransform};
191
- }
192
- `,fo=x`
206
+ font-family: ${Yo.fontFamily};
207
+ font-size: ${Yo.fontSize};
208
+ font-weight: ${Yo.fontWeight};
209
+ letter-spacing: ${Yo.letterSpacing};
210
+ line-height: ${Yo.lineHeight};
211
+ text-transform: ${Yo.textTransform};
212
+ }
213
+ `,gi=$t`
193
214
  .ft-typography--breadcrumb {
194
- font-family: ${Te};
195
- font-size: ${Ge};
196
- font-weight: ${_e};
197
- letter-spacing: ${Ve};
198
- line-height: ${Ye};
199
- text-transform: ${Je};
200
- }
201
- `,ho=x`
215
+ font-family: ${Jo};
216
+ font-size: ${qo};
217
+ font-weight: ${Xo};
218
+ letter-spacing: ${Qo};
219
+ line-height: ${ti};
220
+ text-transform: ${ei};
221
+ }
222
+ `,bi=$t`
202
223
  .ft-typography--overline {
203
- font-family: ${qe};
204
- font-size: ${Xe};
205
- font-weight: ${Qe};
206
- letter-spacing: ${to};
207
- line-height: ${eo};
208
- text-transform: ${oo};
209
- }
210
- `,uo=x`
224
+ font-family: ${oi};
225
+ font-size: ${ii};
226
+ font-weight: ${ri};
227
+ letter-spacing: ${ni};
228
+ line-height: ${ai};
229
+ text-transform: ${si};
230
+ }
231
+ `,mi=$t`
211
232
  .ft-typography--button {
212
- font-family: ${io.fontFamily};
213
- font-size: ${io.fontSize};
214
- font-weight: ${io.fontWeight};
215
- letter-spacing: ${io.letterSpacing};
216
- line-height: ${io.lineHeight};
217
- text-transform: ${io.textTransform};
218
- }
219
- `,yo=x`
233
+ font-family: ${li.fontFamily};
234
+ font-size: ${li.fontSize};
235
+ font-weight: ${li.fontWeight};
236
+ letter-spacing: ${li.letterSpacing};
237
+ line-height: ${li.lineHeight};
238
+ text-transform: ${li.textTransform};
239
+ }
240
+ `,xi=$t`
220
241
  .ft-typography {
221
242
  vertical-align: inherit;
222
243
  }
223
- `,go=[Object.keys(wt).map((t=>function(t){const e=wt[t];return x`
224
- .ft-typography--${m(t)} {
244
+ `,vi=[Object.keys(Ce).map((t=>function(t){const e=Ce[t];return $t`
245
+ .ft-typography--${Ot(t)} {
225
246
  font-family: ${e.fontFamily};
226
247
  font-size: ${e.fontSize};
227
248
  font-weight: ${e.fontWeight};
@@ -229,32 +250,32 @@ let ee=class extends Gt{constructor(t){if(super(t),this.et=tt,t.type!==Pt)throw
229
250
  line-height: ${e.lineHeight};
230
251
  text-transform: ${e.textCase};
231
252
  }
232
- `}(t)))];var bo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class mo extends zt{constructor(){super(...arguments),this.variant=ce.body1}render(){return this.element?se`
233
- <${ae(this.element)}
253
+ `}(t)))];var Oi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class $i extends De{constructor(){super(...arguments),this.variant=uo.body1}render(){return this.element?ho`
254
+ <${po(this.element)}
234
255
  class="ft-typography ft-typography--${this.variant}">
235
256
  <slot></slot>
236
- </${ae(this.element)}>
237
- `:se`
257
+ </${po(this.element)}>
258
+ `:ho`
238
259
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
239
- `}}mo.styles=[ro,no,ao,lo,so,co,po,fo,ho,uo,yo,...go],bo([i()],mo.prototype,"element",void 0),bo([i()],mo.prototype,"variant",void 0),d("ft-typography")(mo);const xo={fontSize:Ot.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:Ot.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:Ot.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:Ot.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:Ot.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:Ot.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:Ot.extend("--ft-input-label-border-color","",kt.colorOutline),textColor:Ot.extend("--ft-input-label-text-color","",kt.colorOnSurfaceMedium),disabledTextColor:Ot.extend("--ft-input-label-disabled-text-color","",kt.colorOnSurfaceDisabled),colorSurface:Ot.external(kt.colorSurface,"Design system"),borderRadiusS:Ot.external(kt.borderRadiusS,"Design system"),colorError:Ot.external(kt.colorError,"Design system")},vo=x`
260
+ `}}$i.styles=[ci,pi,fi,di,hi,ui,yi,gi,bi,mi,xi,...vi],Oi([N()],$i.prototype,"element",void 0),Oi([N()],$i.prototype,"variant",void 0),I("ft-typography")($i);const Si={fontSize:Se.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:Se.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:Se.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:Se.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:Se.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:Se.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:Se.extend("--ft-input-label-border-color","",Re.colorOutline),textColor:Se.extend("--ft-input-label-text-color","",Re.colorOnSurfaceMedium),disabledTextColor:Se.extend("--ft-input-label-disabled-text-color","",Re.colorOnSurfaceDisabled),colorSurface:Se.external(Re.colorSurface,"Design system"),borderRadiusS:Se.external(Re.borderRadiusS,"Design system"),colorError:Se.external(Re.colorError,"Design system")},wi=$t`
240
261
  .ft-input-label {
241
262
  position: absolute;
242
263
  inset: 0;
243
264
  display: flex;
244
- background-color: ${xo.colorSurface};
245
- border-radius: ${xo.borderRadiusS} ${xo.borderRadiusS} 0 0;
265
+ background-color: ${Si.colorSurface};
266
+ border-radius: ${Si.borderRadiusS} ${Si.borderRadiusS} 0 0;
246
267
  }
247
268
 
248
269
  .ft-input-label--outlined {
249
- border-radius: ${xo.borderRadiusS};
270
+ border-radius: ${Si.borderRadiusS};
250
271
  }
251
272
 
252
273
  .ft-input-label {
253
- border-color: ${xo.borderColor};
274
+ border-color: ${Si.borderColor};
254
275
  }
255
276
 
256
277
  .ft-input-label.ft-input-label--in-error {
257
- border-color: ${xo.colorError}
278
+ border-color: ${Si.colorError}
258
279
  }
259
280
 
260
281
  .ft-input-label:before,
@@ -267,7 +288,7 @@ let ee=class extends Gt{constructor(t){if(super(t),this.et=tt,t.type!==Pt)throw
267
288
  }
268
289
 
269
290
  .ft-input-label:before {
270
- width: calc(${xo.horizontalSpacing} - 4px);
291
+ width: calc(${Si.horizontalSpacing} - 4px);
271
292
  flex-shrink: 0;
272
293
  }
273
294
 
@@ -283,20 +304,20 @@ let ee=class extends Gt{constructor(t){if(super(t),this.et=tt,t.type!==Pt)throw
283
304
  border-bottom-width: 1px;
284
305
  border-bottom-style: solid;
285
306
  border-color: inherit;
286
- color: ${xo.textColor};
307
+ color: ${Si.textColor};
287
308
  transition: font-size 250ms, line-height 250ms, color 250ms;
288
- max-width: calc(${xo.labelMaxWidth} - 2 * (${xo.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
309
+ max-width: calc(${Si.labelMaxWidth} - 2 * (${Si.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
289
310
  text-overflow: ellipsis;
290
- ${Nt(Pe.fontSize,xo.fontSize)};
291
- ${Nt(Pe.lineHeight,xo.fontSize)};
311
+ ${we(Yo.fontSize,Si.fontSize)};
312
+ ${we(Yo.lineHeight,Si.fontSize)};
292
313
  }
293
314
 
294
315
  .ft-input-label--in-error .ft-input-label--text {
295
- color: ${xo.colorError}
316
+ color: ${Si.colorError}
296
317
  }
297
318
 
298
319
  .ft-input-label--disabled .ft-input-label--text {
299
- color: ${xo.disabledTextColor};
320
+ color: ${Si.disabledTextColor};
300
321
  }
301
322
 
302
323
  .ft-input-label--hidden-text {
@@ -313,19 +334,19 @@ let ee=class extends Gt{constructor(t){if(super(t),this.et=tt,t.type!==Pt)throw
313
334
  overflow: hidden;
314
335
  white-space: nowrap;
315
336
  text-overflow: ellipsis;
316
- padding: ${xo.verticalSpacing} 4px;
317
- margin: calc(${xo.verticalSpacing} * -1) 0;
337
+ padding: ${Si.verticalSpacing} 4px;
338
+ margin: calc(${Si.verticalSpacing} * -1) 0;
318
339
  max-width: 100%;
319
340
  box-sizing: border-box;
320
341
  }
321
342
 
322
343
  .ft-input-label--raised .ft-input-label--text {
323
- ${Nt(Pe.fontSize,xo.raisedFontSize)};
324
- ${Nt(Pe.lineHeight,xo.raisedFontSize)};
344
+ ${we(Yo.fontSize,Si.raisedFontSize)};
345
+ ${we(Yo.lineHeight,Si.raisedFontSize)};
325
346
  }
326
347
 
327
348
  .ft-input-label--raised .ft-input-label--floating-text {
328
- top: ${xo.verticalSpacing};
349
+ top: ${Si.verticalSpacing};
329
350
  }
330
351
 
331
352
  .ft-input-label--outlined .ft-input-label--text,
@@ -338,36 +359,36 @@ let ee=class extends Gt{constructor(t){if(super(t),this.et=tt,t.type!==Pt)throw
338
359
  .ft-input-label--outlined:before {
339
360
  border-left-width: 1px;
340
361
  border-left-style: solid;
341
- border-radius: ${xo.borderRadiusS} 0 0 ${xo.borderRadiusS};
362
+ border-radius: ${Si.borderRadiusS} 0 0 ${Si.borderRadiusS};
342
363
  }
343
364
 
344
365
  .ft-input-label--outlined:after {
345
366
  border-right-width: 1px;
346
367
  border-right-style: solid;
347
- border-radius: 0 ${xo.borderRadiusS} ${xo.borderRadiusS} 0;
368
+ border-radius: 0 ${Si.borderRadiusS} ${Si.borderRadiusS} 0;
348
369
  }
349
370
 
350
371
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
351
372
  padding: 2px 4px;
352
- z-index: ${xo.raisedZIndex};
353
- background-color: ${xo.colorSurface};
354
- border-radius: ${xo.borderRadiusS};
373
+ z-index: ${Si.raisedZIndex};
374
+ background-color: ${Si.colorSurface};
375
+ border-radius: ${Si.borderRadiusS};
355
376
  top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
356
377
  }
357
378
 
358
379
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
359
380
  border-top: none;
360
381
  }
361
- `;var Oo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class No extends zt{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return X`
362
- <div class="${ie(t)}">
363
- ${this.text?X`
382
+ `;var Ni=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ci extends De{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return re`
383
+ <div class="${so(t)}">
384
+ ${this.text?re`
364
385
  <div class="ft-input-label--text ft-typography--caption">
365
386
  <span class="ft-input-label--floating-text">${this.text}</span>
366
387
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
367
388
  </div>
368
389
  `:null}
369
390
  </div>
370
- `}}No.elementDefinitions={},No.styles=[po,vo],Oo([i({type:String})],No.prototype,"text",void 0),Oo([i({type:Boolean})],No.prototype,"raised",void 0),Oo([i({type:Boolean})],No.prototype,"outlined",void 0),Oo([i({type:Boolean})],No.prototype,"disabled",void 0),Oo([i({type:Boolean})],No.prototype,"error",void 0),d("ft-input-label")(No);const $o=Ot.extend("--ft-ripple-color","",kt.colorContent),wo={color:$o,backgroundColor:Ot.extend("--ft-ripple-background-color","",$o),opacityContentOnSurfacePressed:Ot.external(kt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Ot.external(kt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Ot.external(kt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Ot.external(kt.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Ot.create("--ft-ripple-border-radius","","SIZE","0px")},So=Ot.extend("--ft-ripple-color","",kt.colorPrimary),Co=So,ko=Ot.extend("--ft-ripple-background-color","",So),Eo=Ot.extend("--ft-ripple-color","",kt.colorSecondary),Ro=Eo,Io=Ot.extend("--ft-ripple-background-color","",Eo),Uo=x`
391
+ `}}Ci.elementDefinitions={},Ci.styles=[yi,wi],Ni([N({type:String})],Ci.prototype,"text",void 0),Ni([N({type:Boolean})],Ci.prototype,"raised",void 0),Ni([N({type:Boolean})],Ci.prototype,"outlined",void 0),Ni([N({type:Boolean})],Ci.prototype,"disabled",void 0),Ni([N({type:Boolean})],Ci.prototype,"error",void 0),I("ft-input-label")(Ci);const Ei=Se.extend("--ft-ripple-color","",Re.colorContent),ki={color:Ei,backgroundColor:Se.extend("--ft-ripple-background-color","",Ei),opacityContentOnSurfacePressed:Se.external(Re.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Se.external(Re.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Se.external(Re.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Se.external(Re.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Se.create("--ft-ripple-border-radius","","SIZE","0px")},Ri=Se.extend("--ft-ripple-color","",Re.colorPrimary),Ui=Ri,Ii=Se.extend("--ft-ripple-background-color","",Ri),Wi=Se.extend("--ft-ripple-color","",Re.colorSecondary),Li=Wi,zi=Se.extend("--ft-ripple-background-color","",Wi),Zi=$t`
371
392
  :host {
372
393
  display: contents;
373
394
  }
@@ -380,7 +401,7 @@ let ee=class extends Gt{constructor(t){if(super(t),this.et=tt,t.type!==Pt)throw
380
401
 
381
402
  .ft-ripple:not(.ft-ripple--unbounded) {
382
403
  overflow: hidden;
383
- border-radius: ${wo.borderRadius};
404
+ border-radius: ${ki.borderRadius};
384
405
  }
385
406
 
386
407
  .ft-ripple .ft-ripple--background,
@@ -414,27 +435,27 @@ let ee=class extends Gt{constructor(t){if(super(t),this.et=tt,t.type!==Pt)throw
414
435
  }
415
436
 
416
437
  .ft-ripple .ft-ripple--background {
417
- background-color: ${wo.backgroundColor};
438
+ background-color: ${ki.backgroundColor};
418
439
  }
419
440
 
420
441
  .ft-ripple .ft-ripple--effect {
421
- background-color: ${wo.color};
442
+ background-color: ${ki.color};
422
443
  }
423
444
 
424
445
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
425
- background-color: ${Io};
446
+ background-color: ${zi};
426
447
  }
427
448
 
428
449
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
429
- background-color: ${Ro};
450
+ background-color: ${Li};
430
451
  }
431
452
 
432
453
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
433
- background-color: ${ko};
454
+ background-color: ${Ii};
434
455
  }
435
456
 
436
457
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
437
- background-color: ${Co};
458
+ background-color: ${Ui};
438
459
  }
439
460
 
440
461
  .ft-ripple .ft-ripple--background {
@@ -464,33 +485,33 @@ let ee=class extends Gt{constructor(t){if(super(t),this.et=tt,t.type!==Pt)throw
464
485
  }
465
486
 
466
487
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
467
- opacity: ${wo.opacityContentOnSurfaceHover};
488
+ opacity: ${ki.opacityContentOnSurfaceHover};
468
489
  }
469
490
 
470
491
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
471
- opacity: ${wo.opacityContentOnSurfaceSelected};
492
+ opacity: ${ki.opacityContentOnSurfaceSelected};
472
493
  }
473
494
 
474
495
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
475
- opacity: ${wo.opacityContentOnSurfaceFocused};
496
+ opacity: ${ki.opacityContentOnSurfaceFocused};
476
497
  }
477
498
 
478
499
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
479
- opacity: ${wo.opacityContentOnSurfacePressed};
500
+ opacity: ${ki.opacityContentOnSurfacePressed};
480
501
  transform: translate(-50%, -50%) scale(1);
481
502
  }
482
- `;var Wo,Lo,zo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Zo extends zt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return X`
503
+ `;var Ki,Fi,Di=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Bi extends De{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return re`
483
504
  <style>
484
505
  .ft-ripple .ft-ripple--effect {
485
506
  left: ${this.originX}px;
486
507
  top: ${this.originY}px;
487
508
  }
488
509
  </style>
489
- <div class="${ie(t)}">
510
+ <div class="${so(t)}">
490
511
  <div class="ft-ripple--background"></div>
491
512
  <div class="ft-ripple--effect"></div>
492
513
  </div>
493
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",o),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",o),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Zo.elementDefinitions={},Zo.styles=Uo,zo([i({type:Boolean})],Zo.prototype,"primary",void 0),zo([i({type:Boolean})],Zo.prototype,"secondary",void 0),zo([i({type:Boolean})],Zo.prototype,"unbounded",void 0),zo([i({type:Boolean})],Zo.prototype,"activated",void 0),zo([i({type:Boolean})],Zo.prototype,"selected",void 0),zo([i({type:Boolean})],Zo.prototype,"disabled",void 0),zo([r()],Zo.prototype,"hovered",void 0),zo([r()],Zo.prototype,"focused",void 0),zo([r()],Zo.prototype,"pressed",void 0),zo([r()],Zo.prototype,"rippling",void 0),zo([r()],Zo.prototype,"originX",void 0),zo([r()],Zo.prototype,"originY",void 0),zo([a(".ft-ripple")],Zo.prototype,"ripple",void 0),zo([a(".ft-ripple--effect")],Zo.prototype,"rippleEffect",void 0),d("ft-ripple")(Zo),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Wo||(Wo={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Lo||(Lo={})),new Map([...["abw"].map((t=>[t,Lo.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Lo.AUDIO])),...["avi"].map((t=>[t,Lo.AVI])),...["chm","xhs"].map((t=>[t,Lo.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Lo.CODE])),...["csv"].map((t=>[t,Lo.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Lo.DITA])),...["epub"].map((t=>[t,Lo.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Lo.EXCEL])),...["flac"].map((t=>[t,Lo.FLAC])),...["gif"].map((t=>[t,Lo.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Lo.GZIP])),...["html","htm","xhtml"].map((t=>[t,Lo.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Lo.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Lo.JPEG])),...["json"].map((t=>[t,Lo.JSON])),...["m4a","m4p"].map((t=>[t,Lo.M4A])),...["mov","qt"].map((t=>[t,Lo.MOV])),...["mp3"].map((t=>[t,Lo.MP3])),...["mp4","m4v"].map((t=>[t,Lo.MP4])),...["ogg","oga"].map((t=>[t,Lo.OGG])),...["pdf","ps"].map((t=>[t,Lo.PDF])),...["png"].map((t=>[t,Lo.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Lo.POWERPOINT])),...["rar"].map((t=>[t,Lo.RAR])),...["stp"].map((t=>[t,Lo.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Lo.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Lo.VIDEO])),...["wav"].map((t=>[t,Lo.WAV])),...["wma"].map((t=>[t,Lo.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Lo.WORD])),...["xml","xsl","rdf"].map((t=>[t,Lo.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Lo.YAML])),...["zip"].map((t=>[t,Lo.ZIP]))]);const Ko={size:Ot.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ot.extend("--ft-icon-fluid-topics-font-family","",Ot.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ot.extend("--ft-icon-file-format-font-family","",Ot.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ot.extend("--ft-icon-material-font-family","",Ot.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ot.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Fo=x`
514
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",o),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",o),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Bi.elementDefinitions={},Bi.styles=Zi,Di([N({type:Boolean})],Bi.prototype,"primary",void 0),Di([N({type:Boolean})],Bi.prototype,"secondary",void 0),Di([N({type:Boolean})],Bi.prototype,"unbounded",void 0),Di([N({type:Boolean})],Bi.prototype,"activated",void 0),Di([N({type:Boolean})],Bi.prototype,"selected",void 0),Di([N({type:Boolean})],Bi.prototype,"disabled",void 0),Di([C()],Bi.prototype,"hovered",void 0),Di([C()],Bi.prototype,"focused",void 0),Di([C()],Bi.prototype,"pressed",void 0),Di([C()],Bi.prototype,"rippling",void 0),Di([C()],Bi.prototype,"originX",void 0),Di([C()],Bi.prototype,"originY",void 0),Di([k(".ft-ripple")],Bi.prototype,"ripple",void 0),Di([k(".ft-ripple--effect")],Bi.prototype,"rippleEffect",void 0),I("ft-ripple")(Bi),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Ki||(Ki={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Fi||(Fi={})),new Map([...["abw"].map((t=>[t,Fi.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Fi.AUDIO])),...["avi"].map((t=>[t,Fi.AVI])),...["chm","xhs"].map((t=>[t,Fi.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Fi.CODE])),...["csv"].map((t=>[t,Fi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Fi.DITA])),...["epub"].map((t=>[t,Fi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Fi.EXCEL])),...["flac"].map((t=>[t,Fi.FLAC])),...["gif"].map((t=>[t,Fi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Fi.GZIP])),...["html","htm","xhtml"].map((t=>[t,Fi.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Fi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Fi.JPEG])),...["json"].map((t=>[t,Fi.JSON])),...["m4a","m4p"].map((t=>[t,Fi.M4A])),...["mov","qt"].map((t=>[t,Fi.MOV])),...["mp3"].map((t=>[t,Fi.MP3])),...["mp4","m4v"].map((t=>[t,Fi.MP4])),...["ogg","oga"].map((t=>[t,Fi.OGG])),...["pdf","ps"].map((t=>[t,Fi.PDF])),...["png"].map((t=>[t,Fi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Fi.POWERPOINT])),...["rar"].map((t=>[t,Fi.RAR])),...["stp"].map((t=>[t,Fi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Fi.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Fi.VIDEO])),...["wav"].map((t=>[t,Fi.WAV])),...["wma"].map((t=>[t,Fi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Fi.WORD])),...["xml","xsl","rdf"].map((t=>[t,Fi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Fi.YAML])),...["zip"].map((t=>[t,Fi.ZIP]))]);const Ai={size:Se.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Se.extend("--ft-icon-fluid-topics-font-family","",Se.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Se.extend("--ft-icon-file-format-font-family","",Se.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Se.extend("--ft-icon-material-font-family","",Se.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Se.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Mi=$t`
494
515
  :host, i.ft-icon {
495
516
  display: inline-flex;
496
517
  align-items: center;
@@ -499,14 +520,14 @@ let ee=class extends Gt{constructor(t){if(super(t),this.et=tt,t.type!==Pt)throw
499
520
  }
500
521
 
501
522
  :host {
502
- width: ${Ko.size};
503
- height: ${Ko.size};
523
+ width: ${Ai.size};
524
+ height: ${Ai.size};
504
525
  }
505
526
 
506
527
  i.ft-icon {
507
528
  width: 100%;
508
529
  height: 100%;
509
- font-size: ${Ko.size};
530
+ font-size: ${Ai.size};
510
531
  line-height: 1;
511
532
  font-weight: normal;
512
533
  text-transform: none;
@@ -517,33 +538,33 @@ let ee=class extends Gt{constructor(t){if(super(t),this.et=tt,t.type!==Pt)throw
517
538
  text-rendering: auto;
518
539
  -webkit-font-smoothing: antialiased;
519
540
  -moz-osx-font-smoothing: grayscale;
520
- vertical-align: ${Ko.verticalAlign};
541
+ vertical-align: ${Ai.verticalAlign};
521
542
  }
522
543
 
523
544
  i.ft-icon.ft-icon--fluid-topics {
524
- font-family: ${Ko.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
545
+ font-family: ${Ai.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
525
546
 
526
547
  /* Ugly fix because font is broken */
527
- font-size: calc(0.75 * ${Ko.size});
528
- line-height: ${Ko.size};
548
+ font-size: calc(0.75 * ${Ai.size});
549
+ line-height: ${Ai.size};
529
550
  position: relative;
530
551
  top: -4%;
531
552
  justify-content: center;
532
553
  }
533
554
 
534
555
  .ft-icon--file-format {
535
- font-family: ${Ko.fileFormatFontFamily}, ft-mime, sans-serif;
556
+ font-family: ${Ai.fileFormatFontFamily}, ft-mime, sans-serif;
536
557
  }
537
558
 
538
559
  .ft-icon--material {
539
- font-family: ${Ko.materialFontFamily}, "Material Icons", sans-serif;
560
+ font-family: ${Ai.materialFontFamily}, "Material Icons", sans-serif;
540
561
  }
541
- `;var Do;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Do||(Do={}));var Bo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Mo extends zt{constructor(){super(...arguments),this.resolvedIcon=tt}render(){const t=this.variant&&Object.values(Do).includes(this.variant)?this.variant:Do.fluid_topics,e=t!==Do.material||!!this.value;return X`
562
+ `;var Pi;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Pi||(Pi={}));var Hi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ji extends De{constructor(){super(...arguments),this.resolvedIcon=ae}render(){const t=this.variant&&Object.values(Pi).includes(this.variant)?this.variant:Pi.fluid_topics,e=t!==Pi.material||!!this.value;return re`
542
563
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
543
- ${oe(this.resolvedIcon)}
564
+ ${ao(this.resolvedIcon)}
544
565
  <slot ?hidden=${e}></slot>
545
566
  </i>
546
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case Do.file_format:this.resolvedIcon=null!==(t=Lo[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Do.material:this.resolvedIcon=this.value||tt;break;default:this.resolvedIcon=null!==(e=Wo[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Mo.elementDefinitions={},Mo.styles=Fo,Bo([i()],Mo.prototype,"variant",void 0),Bo([i()],Mo.prototype,"value",void 0),Bo([r()],Mo.prototype,"resolvedIcon",void 0),Bo([a("slot")],Mo.prototype,"slottedContent",void 0),d("ft-icon")(Mo);const Ao={labelSize:Ot.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:Ot.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:Ot.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:Ot.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:Ot.create("--ft-select-options-height","","SIZE","unset"),selectedOptionColor:Ot.extend("--ft-select-selected-option-color","",kt.colorOnSurface),helperColor:Ot.extend("--ft-select-helper-color","",kt.colorOnSurfaceMedium),optionsColor:Ot.extend("--ft-select-options-color","",kt.colorOnSurface),optionsZIndex:Ot.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:Ot.external(kt.colorSurface,"Design system"),colorOnSurfaceDisabled:Ot.external(kt.colorOnSurfaceDisabled,"Design system"),colorPrimary:Ot.external(kt.colorPrimary,"Design system"),borderRadiusS:Ot.external(kt.borderRadiusS,"Design system"),elevation02:Ot.external(kt.elevation02,"Design system"),colorError:Ot.external(kt.colorError,"Design system")},Ho=x`
567
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case Pi.file_format:this.resolvedIcon=null!==(t=Fi[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Pi.material:this.resolvedIcon=this.value||ae;break;default:this.resolvedIcon=null!==(e=Ki[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ji.elementDefinitions={},ji.styles=Mi,Hi([N()],ji.prototype,"variant",void 0),Hi([N()],ji.prototype,"value",void 0),Hi([C()],ji.prototype,"resolvedIcon",void 0),Hi([k("slot")],ji.prototype,"slottedContent",void 0),I("ft-icon")(ji);const Ti={labelSize:Se.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:Se.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:Se.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:Se.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:Se.create("--ft-select-options-height","","SIZE","unset"),selectedOptionColor:Se.extend("--ft-select-selected-option-color","",Re.colorOnSurface),helperColor:Se.extend("--ft-select-helper-color","",Re.colorOnSurfaceMedium),optionsColor:Se.extend("--ft-select-options-color","",Re.colorOnSurface),optionsZIndex:Se.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:Se.external(Re.colorSurface,"Design system"),colorOnSurfaceDisabled:Se.external(Re.colorOnSurfaceDisabled,"Design system"),colorPrimary:Se.external(Re.colorPrimary,"Design system"),borderRadiusS:Se.external(Re.borderRadiusS,"Design system"),elevation02:Se.external(Re.elevation02,"Design system"),colorError:Se.external(Re.colorError,"Design system")},_i=$t`
547
568
  *:focus {
548
569
  outline: none;
549
570
  }
@@ -557,7 +578,7 @@ let ee=class extends Gt{constructor(t){if(super(t),this.et=tt,t.type!==Pt)throw
557
578
  .ft-select--main-panel {
558
579
  position: relative;
559
580
  display: flex;
560
- height: calc(4 * ${Ao.verticalSpacing} + ${Ao.labelSize} + ${Ao.selectedOptionSize});
581
+ height: calc(4 * ${Ti.verticalSpacing} + ${Ti.labelSize} + ${Ti.selectedOptionSize});
561
582
  }
562
583
 
563
584
  .ft-select--input-panel {
@@ -566,17 +587,17 @@ let ee=class extends Gt{constructor(t){if(super(t),this.et=tt,t.type!==Pt)throw
566
587
  display: flex;
567
588
  align-items: center;
568
589
  overflow: hidden;
569
- padding-left: ${Ao.horizontalSpacing};
570
- padding-right: ${Ao.horizontalSpacing};
590
+ padding-left: ${Ti.horizontalSpacing};
591
+ padding-right: ${Ti.horizontalSpacing};
571
592
  gap: 8px;
572
- color: ${Ao.selectedOptionColor};
573
- ${Nt(wo.color,Ao.selectedOptionColor)};
593
+ color: ${Ti.selectedOptionColor};
594
+ ${we(ki.color,Ti.selectedOptionColor)};
574
595
  }
575
596
 
576
597
  .ft-select--input-panel,
577
598
  .ft-select--option {
578
- ${Nt(wo.opacityContentOnSurfaceHover,"0.08")};
579
- ${Nt(wo.opacityContentOnSurfacePressed,"0.04")};
599
+ ${we(ki.opacityContentOnSurfaceHover,"0.08")};
600
+ ${we(ki.opacityContentOnSurfacePressed,"0.04")};
580
601
  }
581
602
 
582
603
  .ft-select--input-panel > *:not(ft-ripple),
@@ -586,7 +607,7 @@ let ee=class extends Gt{constructor(t){if(super(t),this.et=tt,t.type!==Pt)throw
586
607
 
587
608
  .ft-select--disabled .ft-select--input-panel,
588
609
  .ft-select--disabled .ft-select--option {
589
- color: ${Ao.colorOnSurfaceDisabled};
610
+ color: ${Ti.colorOnSurfaceDisabled};
590
611
  }
591
612
 
592
613
  .ft-select:not(.ft-select--disabled) .ft-select--input-panel,
@@ -595,20 +616,20 @@ let ee=class extends Gt{constructor(t){if(super(t),this.et=tt,t.type!==Pt)throw
595
616
  }
596
617
 
597
618
  ft-input-label {
598
- ${Nt(xo.fontSize,Ao.selectedOptionSize)};
599
- ${Nt(xo.raisedFontSize,Ao.labelSize)};
600
- ${Nt(xo.verticalSpacing,Ao.verticalSpacing)};
601
- ${Nt(xo.horizontalSpacing,Ao.horizontalSpacing)};
602
- ${Nt(xo.labelMaxWidth,`calc(100% - ${Ko.size} - 8px)`)};
619
+ ${we(Si.fontSize,Ti.selectedOptionSize)};
620
+ ${we(Si.raisedFontSize,Ti.labelSize)};
621
+ ${we(Si.verticalSpacing,Ti.verticalSpacing)};
622
+ ${we(Si.horizontalSpacing,Ti.horizontalSpacing)};
623
+ ${we(Si.labelMaxWidth,`calc(100% - ${Ai.size} - 8px)`)};
603
624
  }
604
625
 
605
626
  .ft-select:not(.ft-select--disabled):focus-within ft-icon {
606
- color: ${Ao.colorPrimary};
627
+ color: ${Ti.colorPrimary};
607
628
  }
608
629
 
609
630
  .ft-select:not(.ft-select--disabled):focus-within ft-input-label {
610
- ${Nt(xo.borderColor,Ao.colorPrimary)};
611
- ${Nt(xo.textColor,Ao.colorPrimary)};
631
+ ${we(Si.borderColor,Ti.colorPrimary)};
632
+ ${we(Si.textColor,Ti.colorPrimary)};
612
633
  }
613
634
 
614
635
  .ft-select--selected-option {
@@ -618,12 +639,12 @@ let ee=class extends Gt{constructor(t){if(super(t),this.et=tt,t.type!==Pt)throw
618
639
  overflow: hidden;
619
640
  white-space: nowrap;
620
641
  text-overflow: ellipsis;
621
- ${Nt(Fe.fontSize,Ao.selectedOptionSize)};
622
- ${Nt(Fe.lineHeight,Ao.selectedOptionSize)};
642
+ ${we(Po.fontSize,Ti.selectedOptionSize)};
643
+ ${we(Po.lineHeight,Ti.selectedOptionSize)};
623
644
  }
624
645
 
625
646
  .ft-select--in-error .ft-select--selected-option {
626
- color: ${Ao.colorError};
647
+ color: ${Ti.colorError};
627
648
  }
628
649
 
629
650
  ft-icon {
@@ -635,16 +656,16 @@ let ee=class extends Gt{constructor(t){if(super(t),this.et=tt,t.type!==Pt)throw
635
656
  }
636
657
 
637
658
  .ft-select--filled .ft-select--input-panel {
638
- border-radius: ${Ao.borderRadiusS} ${Ao.borderRadiusS} 0 0;
659
+ border-radius: ${Ti.borderRadiusS} ${Ti.borderRadiusS} 0 0;
639
660
  }
640
661
 
641
662
  .ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
642
663
  align-self: stretch;
643
- padding-top: calc(${Ao.labelSize} + 2 * ${Ao.verticalSpacing});
664
+ padding-top: calc(${Ti.labelSize} + 2 * ${Ti.verticalSpacing});
644
665
  }
645
666
 
646
667
  .ft-select--outlined .ft-select--input-panel {
647
- border-radius: ${Ao.borderRadiusS};
668
+ border-radius: ${Ti.borderRadiusS};
648
669
  }
649
670
 
650
671
  .ft-select--options {
@@ -653,10 +674,10 @@ let ee=class extends Gt{constructor(t){if(super(t),this.et=tt,t.type!==Pt)throw
653
674
  top: 100%;
654
675
  left: 0;
655
676
  right: 0;
656
- color: ${Ao.optionsColor};
657
- background: ${Ao.colorSurface};
658
- z-index: ${Ao.optionsZIndex};
659
- box-shadow: ${Ao.elevation02};
677
+ color: ${Ti.optionsColor};
678
+ background: ${Ti.colorSurface};
679
+ z-index: ${Ti.optionsZIndex};
680
+ box-shadow: ${Ti.elevation02};
660
681
  }
661
682
 
662
683
  .ft-select--fixed .ft-select--options {
@@ -667,13 +688,13 @@ let ee=class extends Gt{constructor(t){if(super(t),this.et=tt,t.type!==Pt)throw
667
688
 
668
689
  .ft-select--options-displayed .ft-select--options {
669
690
  display: block;
670
- max-height: ${Ao.optionsHeight};
691
+ max-height: ${Ti.optionsHeight};
671
692
  overflow-y: auto;
672
693
  }
673
694
 
674
695
  .ft-select--option {
675
696
  position: relative;
676
- padding: 4px ${Ao.horizontalSpacing};
697
+ padding: 4px ${Ti.horizontalSpacing};
677
698
  min-height: 32px;
678
699
  display: flex;
679
700
  align-items: center;
@@ -685,21 +706,21 @@ let ee=class extends Gt{constructor(t){if(super(t),this.et=tt,t.type!==Pt)throw
685
706
  }
686
707
 
687
708
  .ft-select--helper-text {
688
- padding: 0 ${Ao.horizontalSpacing};
689
- color: ${Ao.helperColor};
709
+ padding: 0 ${Ti.horizontalSpacing};
710
+ color: ${Ti.helperColor};
690
711
  }
691
712
 
692
713
  .ft-select--in-error .ft-select--helper-text {
693
- color: ${Ao.colorError};
714
+ color: ${Ti.colorError};
694
715
  }
695
- `;var jo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Po extends zt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return X``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Po.elementDefinitions={},jo([i({type:String})],Po.prototype,"label",void 0),jo([i({type:Object,converter:t=>t})],Po.prototype,"value",void 0),jo([i({type:Boolean,reflect:!0})],Po.prototype,"selected",void 0);class To extends zt{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,o,i,r;let n=this.hasOptionsMenuOpen,a=this.disabled||!this.hasOptions;const l=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(o=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==o?o:"").length>0,s={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":a,"ft-select--options-displayed":n,"ft-select--has-option-selected":l,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return X`
696
- <div class="${ie(s)}" part="container">
716
+ `;var Gi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Vi extends De{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return re``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Vi.elementDefinitions={},Gi([N({type:String})],Vi.prototype,"label",void 0),Gi([N({type:Object,converter:t=>t})],Vi.prototype,"value",void 0),Gi([N({type:Boolean,reflect:!0})],Vi.prototype,"selected",void 0);class Yi extends De{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,o,i,r;let n=this.hasOptionsMenuOpen,a=this.disabled||!this.hasOptions;const s=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(o=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==o?o:"").length>0,l={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":a,"ft-select--options-displayed":n,"ft-select--has-option-selected":s,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return re`
717
+ <div class="${so(l)}" part="container">
697
718
  <div class="ft-select--main-panel" part="main-panel">
698
719
  <ft-input-label text="${this.label}"
699
720
  part="label"
700
721
  ?disabled=${a}
701
722
  ?outlined=${this.outlined}
702
- ?raised=${l||n}
723
+ ?raised=${s||n}
703
724
  ?error=${this.error}
704
725
  ></ft-input-label>
705
726
  <div class="ft-select--input-panel"
@@ -720,18 +741,18 @@ let ee=class extends Gt{constructor(t){if(super(t),this.et=tt,t.type!==Pt)throw
720
741
  part="options"
721
742
  @keydown=${this.onOptionsKeyDown}
722
743
  innerrole="listbox">
723
- ${te(this.options,(t=>t.value),(t=>this.renderOption(t)))}
744
+ ${ro(this.options,(t=>t.value),(t=>this.renderOption(t)))}
724
745
  </div>
725
746
  </div>
726
- ${this.helper?X`
747
+ ${this.helper?re`
727
748
  <ft-typography class="ft-select--helper-text" variant="caption">${this.helper}
728
749
  </ft-typography>`:void 0}
729
750
  </div>
730
751
  <slot @slotchange=${this.updateOptionsFromSlot}
731
752
  @option-change=${this.updateOptionsFromSlot}
732
753
  ></slot>
733
- `}renderOption(t){let e=this.selectedOption===t;return X`
734
- <div class="${ie({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
754
+ `}renderOption(t){let e=this.selectedOption===t;return re`
755
+ <div class="${so({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
735
756
  part="option"
736
757
  tabindex="0"
737
758
  data-value="${t.value}"
@@ -740,13 +761,13 @@ let ee=class extends Gt{constructor(t){if(super(t),this.et=tt,t.type!==Pt)throw
740
761
  <ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
741
762
  <span>${t.label}</span>
742
763
  </div>
743
- `}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,o;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(o=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===o||o.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let o=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,o,i,r,n;let a;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),a=null!==(i=null===(o=this.focusedOption)||void 0===o?void 0:o.previousElementSibling)&&void 0!==i?i:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),a=null!==(n=null===(r=this.focusedOption)||void 0===r?void 0:r.nextElementSibling)&&void 0!==n?n:this.firstOption}null==a||a.focus()}onOptionKeyDown(t,e){var o;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(o=this.mainPanel)||void 0===o||o.focus())}selectOption(t){var e,o;if(!f(null===(e=this.selectedOption)||void 0===e?void 0:e.value,t.value)){this.selectedOption=t;for(let e of this.options)e.selected=e===t;this.dispatchEvent(new CustomEvent("change",{detail:null===(o=this.selectedOption)||void 0===o?void 0:o.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}To.elementDefinitions={"ft-input-label":No,"ft-typography":mo,"ft-ripple":Zo,"ft-icon":Mo},To.styles=[co,po,Ho],jo([i({type:String})],To.prototype,"label",void 0),jo([i({type:String})],To.prototype,"helper",void 0),jo([i({type:Boolean})],To.prototype,"outlined",void 0),jo([i({type:Boolean})],To.prototype,"disabled",void 0),jo([i({type:Boolean})],To.prototype,"error",void 0),jo([i({type:Boolean})],To.prototype,"fixedMenuPosition",void 0),jo([i({type:Array})],To.prototype,"options",void 0),jo([r()],To.prototype,"selectedOption",void 0),jo([r()],To.prototype,"optionsDisplayed",void 0),jo([r()],To.prototype,"focusOptions",void 0),jo([a(".ft-select")],To.prototype,"container",void 0),jo([a(".ft-select--options")],To.prototype,"optionsMenu",void 0),jo([a(".ft-select--input-panel")],To.prototype,"mainPanel",void 0),jo([a(".ft-select--option:first-child")],To.prototype,"firstOption",void 0),jo([a(".ft-select--option:focus")],To.prototype,"focusedOption",void 0),jo([a(".ft-select--option.ft-select--option-selected")],To.prototype,"selectedOptionElement",void 0),jo([a(".ft-select--option:last-child")],To.prototype,"lastOption",void 0),jo([a("slot")],To.prototype,"optionsSlot",void 0),d("ft-select")(To),d("ft-select-option")(Po);
764
+ `}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,o;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(o=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===o||o.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let o=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,o,i,r,n;let a;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),a=null!==(i=null===(o=this.focusedOption)||void 0===o?void 0:o.previousElementSibling)&&void 0!==i?i:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),a=null!==(n=null===(r=this.focusedOption)||void 0===r?void 0:r.nextElementSibling)&&void 0!==n?n:this.firstOption}null==a||a.focus()}onOptionKeyDown(t,e){var o;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(o=this.mainPanel)||void 0===o||o.focus())}selectOption(t){var e,o;if(!U(null===(e=this.selectedOption)||void 0===e?void 0:e.value,t.value)){this.selectedOption=t;for(let e of this.options)e.selected=e===t;this.dispatchEvent(new CustomEvent("change",{detail:null===(o=this.selectedOption)||void 0===o?void 0:o.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}Yi.elementDefinitions={"ft-input-label":Ci,"ft-typography":$i,"ft-ripple":Bi,"ft-icon":ji},Yi.styles=[ui,yi,_i],Gi([N({type:String})],Yi.prototype,"label",void 0),Gi([N({type:String})],Yi.prototype,"helper",void 0),Gi([N({type:Boolean})],Yi.prototype,"outlined",void 0),Gi([N({type:Boolean})],Yi.prototype,"disabled",void 0),Gi([N({type:Boolean})],Yi.prototype,"error",void 0),Gi([N({type:Boolean})],Yi.prototype,"fixedMenuPosition",void 0),Gi([N({type:Array})],Yi.prototype,"options",void 0),Gi([C()],Yi.prototype,"selectedOption",void 0),Gi([C()],Yi.prototype,"optionsDisplayed",void 0),Gi([C()],Yi.prototype,"focusOptions",void 0),Gi([k(".ft-select")],Yi.prototype,"container",void 0),Gi([k(".ft-select--options")],Yi.prototype,"optionsMenu",void 0),Gi([k(".ft-select--input-panel")],Yi.prototype,"mainPanel",void 0),Gi([k(".ft-select--option:first-child")],Yi.prototype,"firstOption",void 0),Gi([k(".ft-select--option:focus")],Yi.prototype,"focusedOption",void 0),Gi([k(".ft-select--option.ft-select--option-selected")],Yi.prototype,"selectedOptionElement",void 0),Gi([k(".ft-select--option:last-child")],Yi.prototype,"lastOption",void 0),Gi([k("slot")],Yi.prototype,"optionsSlot",void 0),I("ft-select")(Yi),I("ft-select-option")(Vi);
744
765
  /**
745
- * @license
746
- * Copyright 2018 Google LLC
747
- * SPDX-License-Identifier: BSD-3-Clause
748
- */
749
- const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:Ot.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:Ot.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:Ot.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:Ot.extend("--ft-text-field-helper-color","",kt.colorOnSurfaceMedium),colorPrimary:Ot.external(kt.colorPrimary,"Design system"),colorOnSurface:Ot.external(kt.colorOnSurface,"Design system"),colorOnSurfaceDisabled:Ot.external(kt.colorOnSurfaceDisabled,"Design system"),borderRadiusS:Ot.external(kt.borderRadiusS,"Design system"),colorError:Ot.external(kt.colorError,"Design system"),prefixColor:Ot.extend("--ft-text-field-prefix-color","",kt.colorOnSurfaceMedium),iconColor:Ot.extend("--ft-text-field-icon-color","",kt.colorOnSurfaceMedium),floatingZIndex:Ot.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:Ot.external(kt.colorSurface,"Design system"),colorOutline:Ot.external(kt.colorOutline,"Design system"),elevation02:Ot.external(kt.elevation02,"Design system"),suggestSize:Ot.create("--ft-text-field-suggest-size","","SIZE","300px")},_o=x`
766
+ * @license
767
+ * Copyright 2018 Google LLC
768
+ * SPDX-License-Identifier: BSD-3-Clause
769
+ */
770
+ const Ji={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:Se.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:Se.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:Se.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:Se.extend("--ft-text-field-helper-color","",Re.colorOnSurfaceMedium),colorPrimary:Se.external(Re.colorPrimary,"Design system"),colorOnSurface:Se.external(Re.colorOnSurface,"Design system"),colorOnSurfaceDisabled:Se.external(Re.colorOnSurfaceDisabled,"Design system"),borderRadiusS:Se.external(Re.borderRadiusS,"Design system"),colorError:Se.external(Re.colorError,"Design system"),prefixColor:Se.extend("--ft-text-field-prefix-color","",Re.colorOnSurfaceMedium),iconColor:Se.extend("--ft-text-field-icon-color","",Re.colorOnSurfaceMedium),floatingZIndex:Se.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:Se.external(Re.colorSurface,"Design system"),colorOutline:Se.external(Re.colorOutline,"Design system"),elevation02:Se.external(Re.elevation02,"Design system"),suggestSize:Se.create("--ft-text-field-suggest-size","","SIZE","300px")},qi=$t`
750
771
  *:focus {
751
772
  outline: none;
752
773
  }
@@ -759,16 +780,16 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
759
780
  }
760
781
 
761
782
  ft-input-label {
762
- ${Nt(xo.fontSize,Go.fontSize)};
763
- ${Nt(xo.raisedFontSize,Go.labelSize)};
764
- ${Nt(xo.verticalSpacing,Go.verticalSpacing)};
765
- ${Nt(xo.horizontalSpacing,Go.horizontalSpacing)};
783
+ ${we(Si.fontSize,Ji.fontSize)};
784
+ ${we(Si.raisedFontSize,Ji.labelSize)};
785
+ ${we(Si.verticalSpacing,Ji.verticalSpacing)};
786
+ ${we(Si.horizontalSpacing,Ji.horizontalSpacing)};
766
787
  }
767
788
 
768
789
  .ft-text-field--main-panel {
769
790
  position: relative;
770
791
  display: flex;
771
- height: calc(4 * ${Go.verticalSpacing} + ${Go.labelSize} + ${Go.fontSize});
792
+ height: calc(4 * ${Ji.verticalSpacing} + ${Ji.labelSize} + ${Ji.fontSize});
772
793
  }
773
794
 
774
795
  .ft-text-field--input-panel {
@@ -777,24 +798,24 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
777
798
  display: flex;
778
799
  align-items: center;
779
800
  overflow: hidden;
780
- padding: 0 ${Go.horizontalSpacing};
801
+ padding: 0 ${Ji.horizontalSpacing};
781
802
 
782
- ${Nt(Fe.fontSize,Go.fontSize)};
783
- ${Nt(Fe.lineHeight,Go.fontSize)};
803
+ ${we(Po.fontSize,Ji.fontSize)};
804
+ ${we(Po.lineHeight,Ji.fontSize)};
784
805
  }
785
806
 
786
807
  .ft-text-field--input-panel ft-ripple {
787
- ${Nt(wo.opacityContentOnSurfaceHover,"0.08")};
788
- ${Nt(wo.opacityContentOnSurfacePressed,"0.04")};
808
+ ${we(ki.opacityContentOnSurfaceHover,"0.08")};
809
+ ${we(ki.opacityContentOnSurfacePressed,"0.04")};
789
810
  }
790
811
 
791
812
  .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
792
813
  align-items: flex-end;
793
- padding: 0 ${Go.horizontalSpacing} ${Go.verticalSpacing} ${Go.horizontalSpacing};
814
+ padding: 0 ${Ji.horizontalSpacing} ${Ji.verticalSpacing} ${Ji.horizontalSpacing};
794
815
  }
795
816
 
796
817
  .ft-text-field--prefix {
797
- color: ${Go.prefixColor};
818
+ color: ${Ji.prefixColor};
798
819
  margin-right: 2px;
799
820
  flex-shrink: 1;
800
821
  overflow: hidden;
@@ -813,15 +834,15 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
813
834
  flex-shrink: 1;
814
835
  min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
815
836
 
816
- color: ${Go.colorOnSurface};
817
- padding: calc(2 * ${Go.verticalSpacing}) 0;
837
+ color: ${Ji.colorOnSurface};
838
+ padding: calc(2 * ${Ji.verticalSpacing}) 0;
818
839
  border: none;
819
840
  background: none;
820
841
  }
821
842
 
822
843
  .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
823
844
  padding-bottom: 0;
824
- padding-top: calc(${Go.labelSize} + 2 * ${Go.verticalSpacing});
845
+ padding-top: calc(${Ji.labelSize} + 2 * ${Ji.verticalSpacing});
825
846
  }
826
847
 
827
848
  .ft-text-field--input::-webkit-calendar-picker-indicator,
@@ -830,37 +851,37 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
830
851
  }
831
852
 
832
853
  .ft-text-field--disabled .ft-text-field--input {
833
- color: ${Go.colorOnSurfaceDisabled};
854
+ color: ${Ji.colorOnSurfaceDisabled};
834
855
  }
835
856
 
836
857
  .ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
837
- ${Nt(xo.borderColor,Go.colorPrimary)};
838
- ${Nt(xo.textColor,Go.colorPrimary)};
858
+ ${we(Si.borderColor,Ji.colorPrimary)};
859
+ ${we(Si.textColor,Ji.colorPrimary)};
839
860
  }
840
861
 
841
862
  .ft-text-field--filled .ft-text-field--input-panel {
842
- border-radius: ${Go.borderRadiusS} ${Go.borderRadiusS} 0 0;
863
+ border-radius: ${Ji.borderRadiusS} ${Ji.borderRadiusS} 0 0;
843
864
  }
844
865
 
845
866
  .ft-text-field--outlined .ft-text-field--input-panel {
846
- border-radius: ${Go.borderRadiusS};
867
+ border-radius: ${Ji.borderRadiusS};
847
868
  }
848
869
 
849
870
  .ft-text-field--helper-text {
850
- padding: 0 12px 0 ${Go.horizontalSpacing};
851
- color: ${Go.helperColor};
871
+ padding: 0 12px 0 ${Ji.horizontalSpacing};
872
+ color: ${Ji.helperColor};
852
873
  }
853
874
 
854
875
  .ft-text-field--in-error .ft-text-field--input,
855
876
  .ft-text-field--in-error .ft-text-field--helper-text,
856
877
  .ft-text-field--in-error .ft-text-field--prefix {
857
- color: ${Go.colorError};
878
+ color: ${Ji.colorError};
858
879
  }
859
880
 
860
881
  .ft-text-field--icon {
861
882
  align-self: center;
862
883
  margin-left: 8px;
863
- color: ${Go.iconColor};
884
+ color: ${Ji.iconColor};
864
885
  }
865
886
 
866
887
  .ft-text-field--container {
@@ -873,13 +894,13 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
873
894
  position: absolute;
874
895
  left: 0;
875
896
  right: 0;
876
- z-index: ${Go.floatingZIndex};
877
- background: ${Go.colorSurface};
878
- border: 1px solid ${Go.colorOutline};
879
- border-radius: 0 0 ${Go.borderRadiusS} ${Go.borderRadiusS};
880
- box-shadow: ${Go.elevation02};
897
+ z-index: ${Ji.floatingZIndex};
898
+ background: ${Ji.colorSurface};
899
+ border: 1px solid ${Ji.colorOutline};
900
+ border-radius: 0 0 ${Ji.borderRadiusS} ${Ji.borderRadiusS};
901
+ box-shadow: ${Ji.elevation02};
881
902
  outline: none;
882
- max-height: ${Go.suggestSize};
903
+ max-height: ${Ji.suggestSize};
883
904
  overflow-y: auto;
884
905
  }
885
906
 
@@ -896,14 +917,14 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
896
917
  }
897
918
 
898
919
  .ft-text-field--with-icon {
899
- ${Nt(xo.labelMaxWidth,`calc(100% - ${Ko.size} - ${xo.horizontalSpacing})`)};
920
+ ${we(Si.labelMaxWidth,`calc(100% - ${Ai.size} - ${Si.horizontalSpacing})`)};
900
921
  }
901
922
 
902
923
  .ft-text-field--with-password ft-icon:hover {
903
924
  cursor: pointer;
904
925
  }
905
- `;var Vo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Yo extends(Dt(zt,"textbox")){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.passwordHiddenIcon=Wo.EYE_SLASH,this.passwordRevealedIcon=Wo.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.suggestionsOnTop=!1,this.hideSuggestions=!1,this.visibleSuggestions=[]}get value(){return this._value||""}set value(t){this.setInternalValue(t||""),this.dispatchedValue=t||""}setInternalValue(t){const e=this._value;this._value=t||"",this.setFormValue(this._value),this.requestUpdate("value",e)}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":0===this.visibleSuggestions.length||this.hideSuggestions,"ft-text-field--raised-label":this.focused||""!=this.value,"ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.password};return X`
906
- <div class="${ie(t)}">
926
+ `;var Xi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Qi extends(Pe(De,"textbox")){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.passwordHiddenIcon=Ki.EYE_SLASH,this.passwordRevealedIcon=Ki.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.suggestionsOnTop=!1,this.hideSuggestions=!1,this.visibleSuggestions=[]}get value(){return this._value||""}set value(t){this.setInternalValue(t||""),this.dispatchedValue=t||""}setInternalValue(t){const e=this._value;this._value=t||"",this.setFormValue(this._value),this.requestUpdate("value",e)}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":0===this.visibleSuggestions.length||this.hideSuggestions,"ft-text-field--raised-label":this.focused||""!=this.value,"ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.password};return re`
927
+ <div class="${so(t)}">
907
928
  <div class="ft-text-field--main-panel"
908
929
  @keydown=${this.handleKeyboardNavigation}
909
930
  @focusout=${this.onMainPanelBlur}>
@@ -913,16 +934,16 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
913
934
  ?raised=${this.focused||""!=this.value}
914
935
  ?error=${this.error}></ft-input-label>
915
936
  <div class="ft-text-field--input-panel">
916
- ${this.outlined?tt:X`
937
+ ${this.outlined?ae:re`
917
938
  <ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
918
939
  `}
919
- ${this.prefix?X`
940
+ ${this.prefix?re`
920
941
  <ft-typography class="ft-text-field--prefix" vaiant="body1">
921
942
  ${this.prefix}
922
943
  </ft-typography>
923
- `:tt}
944
+ `:ae}
924
945
  <input type=${this.password&&this.hidePassword?"password":"text"}
925
- maxlength=${(t=>null!=t?t:tt)(this.maxLength||void 0)}
946
+ maxlength=${(t=>t??tt)(this.maxLength||void 0)}
926
947
  aria-label="${this.label}"
927
948
  class="ft-typography--body1 ft-text-field--input"
928
949
  ?disabled=${this.disabled}
@@ -937,23 +958,23 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
937
958
  <slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
938
959
  </div>
939
960
  </div>
940
- ${this.helper?X`
961
+ ${this.helper?re`
941
962
  <ft-typography class="ft-text-field--helper-text" variant="caption">
942
963
  ${this.helper}
943
964
  </ft-typography>
944
- `:tt}
965
+ `:ae}
945
966
  </div>
946
- `}renderPasswordIcon(){return X`
967
+ `}renderPasswordIcon(){return re`
947
968
  <ft-icon class="ft-text-field--icon"
948
969
  .variant=${this.iconVariant}
949
970
  .value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
950
971
  @click=${()=>this.togglePasswordVisibility()}></ft-icon>
951
- `}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?X`
972
+ `}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?re`
952
973
  <ft-icon class="ft-text-field--icon"
953
974
  .variant=${this.iconVariant}
954
975
  .value=${this.icon}
955
976
  @click=${()=>{var t;return null===(t=this.input)||void 0===t?void 0:t.focus()}}></ft-icon>
956
- `:tt}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&null!=t.get("value")&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&null!=t.get("dispatchedValue")&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var e,o;if(super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),i=null===(o=this.suggestionsContainer)||void 0===o?void 0:o.getBoundingClientRect();t&&i&&(this.suggestionsOnTop=t.bottom+i.height>window.innerHeight&&t.top-i.height>0)}}setValue(t,e=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),e&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var e;const o=(null===(e=this.input)||void 0===e?void 0:e.value)||"";this.setValue(o,"Escape"==t.key||"Enter"==t.key)}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var e;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const o=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let i;i="ArrowDown"===t.key?o<this.visibleSuggestions.length-1?o+1:0:o>0?o-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[i])||void 0===e||e.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,e;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1,this.setValue((null===(e=this.input)||void 0===e?void 0:e.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}}Yo.elementDefinitions={"ft-input-label":No,"ft-ripple":Zo,"ft-typography":mo,"ft-icon":Mo},Yo.styles=[so,_o],Vo([i()],Yo.prototype,"label",void 0),Vo([i({noAccessor:!0})],Yo.prototype,"value",null),Vo([r()],Yo.prototype,"dispatchedValue",void 0),Vo([i()],Yo.prototype,"helper",void 0),Vo([i({type:Boolean})],Yo.prototype,"outlined",void 0),Vo([i({type:Boolean})],Yo.prototype,"disabled",void 0),Vo([i({type:Boolean})],Yo.prototype,"error",void 0),Vo([i()],Yo.prototype,"prefix",void 0),Vo([i()],Yo.prototype,"icon",void 0),Vo([i()],Yo.prototype,"passwordHiddenIcon",void 0),Vo([i()],Yo.prototype,"passwordRevealedIcon",void 0),Vo([i()],Yo.prototype,"iconVariant",void 0),Vo([i({type:Boolean})],Yo.prototype,"filterSuggestions",void 0),Vo([i({type:Number})],Yo.prototype,"maxLength",void 0),Vo([i({type:Boolean})],Yo.prototype,"password",void 0),Vo([r()],Yo.prototype,"focused",void 0),Vo([r()],Yo.prototype,"hidePassword",void 0),Vo([r()],Yo.prototype,"suggestionsOnTop",void 0),Vo([r()],Yo.prototype,"hideSuggestions",void 0),Vo([r()],Yo.prototype,"visibleSuggestions",void 0),Vo([a(".ft-text-field--main-panel")],Yo.prototype,"mainPanel",void 0),Vo([a(".ft-text-field--input")],Yo.prototype,"input",void 0),Vo([a(".ft-text-field--suggestions")],Yo.prototype,"suggestionsContainer",void 0),Vo([c({selector:"ft-text-field-suggestion"})],Yo.prototype,"suggestions",void 0);const Jo=x`
977
+ `:ae}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&null!=t.get("value")&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&null!=t.get("dispatchedValue")&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var e,o;if(super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),i=null===(o=this.suggestionsContainer)||void 0===o?void 0:o.getBoundingClientRect();t&&i&&(this.suggestionsOnTop=t.bottom+i.height>window.innerHeight&&t.top-i.height>0)}}setValue(t,e=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),e&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var e;const o=(null===(e=this.input)||void 0===e?void 0:e.value)||"";this.setValue(o,"Escape"==t.key||"Enter"==t.key)}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var e;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const o=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let i;i="ArrowDown"===t.key?o<this.visibleSuggestions.length-1?o+1:0:o>0?o-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[i])||void 0===e||e.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,e;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1,this.setValue((null===(e=this.input)||void 0===e?void 0:e.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}}Qi.elementDefinitions={"ft-input-label":Ci,"ft-ripple":Bi,"ft-typography":$i,"ft-icon":ji},Qi.styles=[hi,qi],Xi([N()],Qi.prototype,"label",void 0),Xi([N({noAccessor:!0})],Qi.prototype,"value",null),Xi([C()],Qi.prototype,"dispatchedValue",void 0),Xi([N()],Qi.prototype,"helper",void 0),Xi([N({type:Boolean})],Qi.prototype,"outlined",void 0),Xi([N({type:Boolean})],Qi.prototype,"disabled",void 0),Xi([N({type:Boolean})],Qi.prototype,"error",void 0),Xi([N()],Qi.prototype,"prefix",void 0),Xi([N()],Qi.prototype,"icon",void 0),Xi([N()],Qi.prototype,"passwordHiddenIcon",void 0),Xi([N()],Qi.prototype,"passwordRevealedIcon",void 0),Xi([N()],Qi.prototype,"iconVariant",void 0),Xi([N({type:Boolean})],Qi.prototype,"filterSuggestions",void 0),Xi([N({type:Number})],Qi.prototype,"maxLength",void 0),Xi([N({type:Boolean})],Qi.prototype,"password",void 0),Xi([C()],Qi.prototype,"focused",void 0),Xi([C()],Qi.prototype,"hidePassword",void 0),Xi([C()],Qi.prototype,"suggestionsOnTop",void 0),Xi([C()],Qi.prototype,"hideSuggestions",void 0),Xi([C()],Qi.prototype,"visibleSuggestions",void 0),Xi([k(".ft-text-field--main-panel")],Qi.prototype,"mainPanel",void 0),Xi([k(".ft-text-field--input")],Qi.prototype,"input",void 0),Xi([k(".ft-text-field--suggestions")],Qi.prototype,"suggestionsContainer",void 0),Xi([function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}({selector:"ft-text-field-suggestion"})],Qi.prototype,"suggestions",void 0);const tr=$t`
957
978
  .ft-text-field-suggestion {
958
979
  position: relative;
959
980
  padding: 8px 16px;
@@ -978,7 +999,7 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
978
999
  slot {
979
1000
  pointer-events: none;
980
1001
  }
981
- `;var qo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Xo extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class Qo extends zt{render(){return X`
1002
+ `;var er=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class or extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class ir extends De{render(){return re`
982
1003
  <div class="ft-text-field-suggestion"
983
1004
  tabindex="-1"
984
1005
  @keydown=${this.onKeyDown}
@@ -990,7 +1011,7 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
990
1011
  <slot></slot>
991
1012
  </ft-typography>
992
1013
  </div>
993
- `}focus(t){var e;null===(e=this.container)||void 0===e||e.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new Xo(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map((t=>t.textContent)).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}}Qo.elementDefinitions={"ft-ripple":Zo,"ft-typography":mo,"ft-icon":Mo},Qo.styles=Jo,qo([i()],Qo.prototype,"value",void 0),qo([a(".ft-text-field-suggestion")],Qo.prototype,"container",void 0),qo([p()],Qo.prototype,"assignedNodes",void 0),d("ft-text-field")(Yo),d("ft-text-field-suggestion")(Qo);const ti={color:Ot.extend("--ft-loader-color","",kt.colorPrimary),size:Ot.create("--ft-loader-size","","SIZE","80px")},ei=x`
1014
+ `}focus(t){var e;null===(e=this.container)||void 0===e||e.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new or(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map((t=>t.textContent)).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}}ir.elementDefinitions={"ft-ripple":Bi,"ft-typography":$i,"ft-icon":ji},ir.styles=tr,er([N()],ir.prototype,"value",void 0),er([k(".ft-text-field-suggestion")],ir.prototype,"container",void 0),er([R()],ir.prototype,"assignedNodes",void 0),I("ft-text-field")(Qi),I("ft-text-field-suggestion")(ir);const rr={color:Se.extend("--ft-loader-color","",Re.colorPrimary),size:Se.create("--ft-loader-size","","SIZE","80px")},nr=$t`
994
1015
  :host {
995
1016
  line-height: 0;
996
1017
  }
@@ -999,8 +1020,8 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
999
1020
  display: inline-block;
1000
1021
  position: relative;
1001
1022
 
1002
- width: ${ti.size};
1003
- height: ${ti.size};
1023
+ width: ${rr.size};
1024
+ height: ${rr.size};
1004
1025
  }
1005
1026
 
1006
1027
  .ft-loader div {
@@ -1009,7 +1030,7 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
1009
1030
  width: 25%;
1010
1031
  height: 25%;
1011
1032
  border-radius: 50%;
1012
- background: ${ti.color};
1033
+ background: ${rr.color};
1013
1034
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
1014
1035
  }
1015
1036
 
@@ -1056,10 +1077,10 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
1056
1077
  transform: translate(0, 0);
1057
1078
  }
1058
1079
  100% {
1059
- transform: translate(calc(0.35 * ${ti.size}), 0);
1080
+ transform: translate(calc(0.35 * ${rr.size}), 0);
1060
1081
  }
1061
1082
  }
1062
- `,oi=Ot.extend("--ft-button-color","",kt.colorPrimary),ii={backgroundColor:Ot.extend("--ft-button-background-color","",kt.colorSurface),borderRadius:Ot.extend("--ft-button-border-radius","",kt.borderRadiusL),color:oi,fontSize:Ot.extend("--ft-button-font-size","",io.fontSize),iconSize:Ot.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Ot.extend("--ft-button-ripple-color","",oi),verticalPadding:Ot.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Ot.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Ot.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Ot.external(kt.colorOpacityDisabled,"Design system")},ri=Ot.extend("--ft-button-primary-color","",Ot.extend("--ft-button-color","",kt.colorOnPrimary)),ni={backgroundColor:Ot.extend("--ft-button-primary-background-color","",Ot.extend("--ft-button-background-color","",kt.colorPrimary)),color:ri,rippleColor:Ot.extend("--ft-button-primary-ripple-color","",ri)},ai=Ot.extend("--ft-button-dense-border-radius","",Ot.extend("--ft-button-border-radius","",kt.borderRadiusM)),li=Ot.create("--ft-button-dense-vertical-padding","","SIZE","2px"),si=Ot.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),ci=Ot.create("--ft-button-dense-icon-padding","","SIZE","4px"),pi=[x`
1083
+ `,ar=Se.extend("--ft-button-color","",Re.colorPrimary),sr={backgroundColor:Se.extend("--ft-button-background-color","",Re.colorSurface),borderRadius:Se.extend("--ft-button-border-radius","",Re.borderRadiusL),color:ar,fontSize:Se.extend("--ft-button-font-size","",li.fontSize),iconSize:Se.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Se.extend("--ft-button-ripple-color","",ar),verticalPadding:Se.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Se.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Se.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Se.external(Re.colorOpacityDisabled,"Design system")},lr=Se.extend("--ft-button-primary-color","",Se.extend("--ft-button-color","",Re.colorOnPrimary)),cr={backgroundColor:Se.extend("--ft-button-primary-background-color","",Se.extend("--ft-button-background-color","",Re.colorPrimary)),color:lr,rippleColor:Se.extend("--ft-button-primary-ripple-color","",lr)},pr=Se.extend("--ft-button-dense-border-radius","",Se.extend("--ft-button-border-radius","",Re.borderRadiusM)),fr=Se.create("--ft-button-dense-vertical-padding","","SIZE","2px"),dr=Se.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),hr=Se.create("--ft-button-dense-icon-padding","","SIZE","4px"),ur=[$t`
1063
1084
  :host {
1064
1085
  display: inline-block;
1065
1086
  max-width: 100%;
@@ -1070,7 +1091,7 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
1070
1091
  box-shadow: 0px 0px 0px transparent;
1071
1092
  border: 0px solid transparent;
1072
1093
  text-shadow: 0px 0px 0px transparent;
1073
- font-size: ${ii.fontSize};
1094
+ font-size: ${sr.fontSize};
1074
1095
  }
1075
1096
 
1076
1097
  button:hover {
@@ -1099,31 +1120,31 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
1099
1120
  border: none;
1100
1121
  pointer-events: auto;
1101
1122
 
1102
- --ft-button-internal-line-height: max(calc(${ii.fontSize} + 2px), ${ii.iconSize});
1103
- --ft-button-internal-color: ${ii.color};
1104
- ${Nt(Ko.size,ii.iconSize)};
1105
- ${Nt(wo.color,ii.rippleColor)};
1123
+ --ft-button-internal-line-height: max(calc(${sr.fontSize} + 2px), ${sr.iconSize});
1124
+ --ft-button-internal-color: ${sr.color};
1125
+ ${we(Ai.size,sr.iconSize)};
1126
+ ${we(ki.color,sr.rippleColor)};
1106
1127
 
1107
- border-radius: ${ii.borderRadius};
1108
- padding: ${ii.verticalPadding} ${ii.horizontalPadding};
1109
- background-color: ${ii.backgroundColor};
1128
+ border-radius: ${sr.borderRadius};
1129
+ padding: ${sr.verticalPadding} ${sr.horizontalPadding};
1130
+ background-color: ${sr.backgroundColor};
1110
1131
  color: var(--ft-button-internal-color);
1111
1132
  -webkit-mask-image: radial-gradient(white, black);
1112
1133
  }
1113
1134
 
1114
1135
  .ft-button.ft-button--outlined {
1115
1136
  border: 1px solid var(--ft-button-internal-color);
1116
- padding: calc(${ii.verticalPadding} - 1px) calc(${ii.horizontalPadding} - 1px);
1137
+ padding: calc(${sr.verticalPadding} - 1px) calc(${sr.horizontalPadding} - 1px);
1117
1138
  }
1118
1139
 
1119
1140
  .ft-button.ft-button--dense {
1120
- padding: ${li} ${si};
1121
- border-radius: ${ai};
1122
- gap: ${ci};
1141
+ padding: ${fr} ${dr};
1142
+ border-radius: ${pr};
1143
+ gap: ${hr};
1123
1144
  }
1124
1145
 
1125
1146
  .ft-button.ft-button--dense.ft-button--outlined {
1126
- padding: calc(${li} - 1px) calc(${si} - 1px);
1147
+ padding: calc(${fr} - 1px) calc(${dr} - 1px);
1127
1148
  }
1128
1149
 
1129
1150
  .ft-button:not([disabled]):hover {
@@ -1131,22 +1152,22 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
1131
1152
  }
1132
1153
 
1133
1154
  .ft-button--round {
1134
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ii.verticalPadding});
1155
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${sr.verticalPadding});
1135
1156
  }
1136
1157
 
1137
1158
  .ft-button--round.ft-button--dense {
1138
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${li});
1159
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${fr});
1139
1160
  }
1140
1161
 
1141
1162
  .ft-button[disabled] {
1142
1163
  filter: grayscale(1);
1143
- opacity: ${ii.opacityDisabled};
1164
+ opacity: ${sr.opacityDisabled};
1144
1165
  }
1145
1166
 
1146
1167
  .ft-button.ft-button--primary {
1147
- background-color: ${ni.backgroundColor};
1148
- --ft-button-internal-color: ${ni.color};
1149
- ${Nt(wo.color,ni.rippleColor)};
1168
+ background-color: ${cr.backgroundColor};
1169
+ --ft-button-internal-color: ${cr.color};
1170
+ ${we(ki.color,cr.rippleColor)};
1150
1171
  }
1151
1172
 
1152
1173
  .ft-button:focus {
@@ -1159,13 +1180,13 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
1159
1180
  white-space: nowrap;
1160
1181
  text-overflow: ellipsis;
1161
1182
  display: block;
1162
- margin: 0 ${ii.iconPadding};
1163
- ${Nt(io.fontSize,"1em")};
1164
- ${Nt(io.lineHeight,"var(--ft-button-internal-line-height)")};
1183
+ margin: 0 ${sr.iconPadding};
1184
+ ${we(li.fontSize,"1em")};
1185
+ ${we(li.lineHeight,"var(--ft-button-internal-line-height)")};
1165
1186
  }
1166
1187
 
1167
1188
  .ft-button--dense .ft-button--label {
1168
- margin: 0 ${ci};
1189
+ margin: 0 ${hr};
1169
1190
  }
1170
1191
 
1171
1192
  .ft-button--label[hidden] {
@@ -1178,13 +1199,13 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
1178
1199
  }
1179
1200
 
1180
1201
  .ft-button--label[hidden] + ft-icon {
1181
- margin: 0 calc(${ii.horizontalPadding} * -1);
1182
- padding: 0 ${ii.verticalPadding};
1202
+ margin: 0 calc(${sr.horizontalPadding} * -1);
1203
+ padding: 0 ${sr.verticalPadding};
1183
1204
  }
1184
1205
 
1185
1206
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
1186
- margin: 0 calc(${si} * -1);
1187
- padding: 0 ${li};
1207
+ margin: 0 calc(${dr} * -1);
1208
+ padding: 0 ${fr};
1188
1209
  }
1189
1210
 
1190
1211
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -1193,10 +1214,10 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
1193
1214
  }
1194
1215
 
1195
1216
  ft-loader {
1196
- ${Nt(ti.size,ii.iconSize)};
1197
- ${Nt(ti.color,"var(--ft-button-internal-color)")};
1217
+ ${we(rr.size,sr.iconSize)};
1218
+ ${we(rr.color,"var(--ft-button-internal-color)")};
1198
1219
  }
1199
- `,Zt],fi=Ot.create("--ft-tooltip-distance","","SIZE","4px"),di=Ot.create("--ft-tooltip-color","","COLOR","#FFFFFF"),hi=Ot.create("--ft-tooltip-background-color","","COLOR","#666666"),ui=Ot.create("--ft-tooltip-z-index","","NUMBER","100"),yi=Ot.external(kt.borderRadiusS,"Design system"),gi=Ot.create("--ft-tooltip-max-width","","SIZE","150px"),bi=x`
1220
+ `,Be],yr=Se.create("--ft-tooltip-distance","","SIZE","4px"),gr=Se.create("--ft-tooltip-color","","COLOR","#FFFFFF"),br=Se.create("--ft-tooltip-background-color","","COLOR","#666666"),mr=Se.create("--ft-tooltip-z-index","","NUMBER","100"),xr=Se.external(Re.borderRadiusS,"Design system"),vr=Se.create("--ft-tooltip-max-width","","SIZE","150px"),Or=$t`
1200
1221
  .ft-tooltip--container {
1201
1222
  display: block;
1202
1223
  }
@@ -1211,21 +1232,21 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
1211
1232
  box-sizing: border-box;
1212
1233
  overflow: hidden;
1213
1234
  width: max-content;
1214
- max-width: ${gi};
1235
+ max-width: ${vr};
1215
1236
  text-align: center;
1216
- padding: ${fi};
1217
- z-index: ${ui};
1237
+ padding: ${yr};
1238
+ z-index: ${mr};
1218
1239
  }
1219
1240
 
1220
1241
  .ft-tooltip--content {
1221
1242
  padding: 4px 8px;
1222
- border-radius: ${yi};
1223
- background-color: ${hi};
1224
- color: ${di};
1243
+ border-radius: ${xr};
1244
+ background-color: ${br};
1245
+ color: ${gr};
1225
1246
  position: relative;
1226
1247
  word-break: break-word;
1227
1248
  }
1228
- `;var mi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class xi extends zt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return X`
1249
+ `;var $r=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Sr extends De{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return re`
1229
1250
  <div part="container"
1230
1251
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
1231
1252
  @mouseenter=${this.onHover}
@@ -1243,37 +1264,37 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
1243
1264
  </div>
1244
1265
  </div>
1245
1266
  </div>
1246
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=this.tooltip.offsetWidth,o=this.tooltip.offsetHeight,i=(t.offsetHeight-o)/2,r=(t.offsetWidth-e)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-o-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft-e-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=n+"px",l.top=a+"px";const s=this.tooltip.getBoundingClientRect();let c=-s.x,p=s.x+s.width-window.innerWidth;l.left=n+Math.round(this.correctOutOfWindowPixels(c,p))+"px";let f=-s.y,d=s.y+s.height-window.innerHeight;l.top=a+Math.round(this.correctOutOfWindowPixels(f,d))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${gi})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}xi.elementDefinitions={"ft-typography":mo},xi.styles=bi,mi([i()],xi.prototype,"text",void 0),mi([i({type:Boolean})],xi.prototype,"manual",void 0),mi([i({type:Boolean})],xi.prototype,"inline",void 0),mi([i({type:Number})],xi.prototype,"delay",void 0),mi([i()],xi.prototype,"position",void 0),mi([p("",!0)],xi.prototype,"slotNodes",void 0),mi([a(".ft-tooltip--container")],xi.prototype,"container",void 0),mi([a(".ft-tooltip")],xi.prototype,"tooltip",void 0),mi([a(".ft-tooltip--content")],xi.prototype,"tooltipContent",void 0),mi([r()],xi.prototype,"visible",void 0),d("ft-tooltip")(xi);class vi extends zt{render(){return X`
1267
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=this.tooltip.offsetWidth,o=this.tooltip.offsetHeight,i=(t.offsetHeight-o)/2,r=(t.offsetWidth-e)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-o-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft-e-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const s=this.tooltip.style;s.left=n+"px",s.top=a+"px";const l=this.tooltip.getBoundingClientRect();let c=-l.x,p=l.x+l.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(c,p))+"px";let f=-l.y,d=l.y+l.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(f,d))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${vr})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Sr.elementDefinitions={"ft-typography":$i},Sr.styles=Or,$r([N()],Sr.prototype,"text",void 0),$r([N({type:Boolean})],Sr.prototype,"manual",void 0),$r([N({type:Boolean})],Sr.prototype,"inline",void 0),$r([N({type:Number})],Sr.prototype,"delay",void 0),$r([N()],Sr.prototype,"position",void 0),$r([R()],Sr.prototype,"slotNodes",void 0),$r([k(".ft-tooltip--container")],Sr.prototype,"container",void 0),$r([k(".ft-tooltip")],Sr.prototype,"tooltip",void 0),$r([k(".ft-tooltip--content")],Sr.prototype,"tooltipContent",void 0),$r([C()],Sr.prototype,"visible",void 0),I("ft-tooltip")(Sr);class wr extends De{render(){return re`
1247
1268
  <div class="ft-loader">
1248
1269
  <div></div>
1249
1270
  <div></div>
1250
1271
  <div></div>
1251
1272
  <div></div>
1252
1273
  </div>
1253
- `}}vi.styles=ei,d("ft-loader")(vi);var Oi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ni extends(Dt(zt,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(X`
1274
+ `}}wr.styles=nr,I("ft-loader")(wr);var Nr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Cr extends(Pe(De,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(re`
1254
1275
  <button part="button"
1255
- class="${ie(this.buttonClasses)}"
1276
+ class="${so(this.buttonClasses)}"
1256
1277
  aria-label="${this.getLabel()}"
1257
1278
  ?disabled=${this.isDisabled()}>
1258
1279
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
1259
1280
  <ft-typography part="label"
1260
1281
  variant=${this.typographyVariant}
1261
1282
  element="span"
1262
- class="ft-button--label ${Ht?"ft-safari-ellipsis-fix":""}"
1283
+ class="ft-button--label ${_e?"ft-safari-ellipsis-fix":""}"
1263
1284
  ?hidden=${!this.hasTextContent()}>
1264
1285
  <slot @slotchange=${this.onSlotchange}></slot>
1265
1286
  </ft-typography>
1266
1287
  ${this.resolveIcon()}
1267
1288
  </button>
1268
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?X`
1289
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?re`
1269
1290
  <ft-tooltip part="tooltip"
1270
1291
  text="${this.getLabel()}"
1271
1292
  position="${this.tooltipPosition}">
1272
1293
  ${t}
1273
1294
  </ft-tooltip>
1274
- `:t}resolveIcon(){return this.loading?X`
1275
- <ft-loader part="loader icon"></ft-loader> `:this.icon?X`
1276
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:tt}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Ni.elementDefinitions={"ft-ripple":Zo,"ft-tooltip":xi,"ft-typography":mo,"ft-icon":Mo,"ft-loader":vi},Oi([i({type:String,reflect:!0})],Ni.prototype,"role",void 0),Oi([i()],Ni.prototype,"type",void 0),Oi([i({type:Boolean})],Ni.prototype,"disabled",void 0),Oi([i()],Ni.prototype,"label",void 0),Oi([i()],Ni.prototype,"icon",void 0),Oi([i()],Ni.prototype,"iconVariant",void 0),Oi([i({type:Boolean})],Ni.prototype,"trailingIcon",void 0),Oi([i({type:Boolean})],Ni.prototype,"loading",void 0),Oi([i()],Ni.prototype,"tooltipPosition",void 0),Oi([i({type:Boolean})],Ni.prototype,"hideTooltip",void 0),Oi([i({type:Boolean})],Ni.prototype,"forceTooltip",void 0),Oi([a(".ft-button")],Ni.prototype,"button",void 0),Oi([a(".ft-button--label slot")],Ni.prototype,"slottedContent",void 0);var $i=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class wi extends Ni{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}wi.styles=[Kt,pi],$i([i({type:Boolean})],wi.prototype,"primary",void 0),$i([i({type:Boolean})],wi.prototype,"outlined",void 0),$i([i({type:Boolean})],wi.prototype,"dense",void 0),$i([i({type:Boolean})],wi.prototype,"round",void 0);const Si=[x`
1295
+ `:t}resolveIcon(){return this.loading?re`
1296
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?re`
1297
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ae}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Cr.elementDefinitions={"ft-ripple":Bi,"ft-tooltip":Sr,"ft-typography":$i,"ft-icon":ji,"ft-loader":wr},Nr([N({type:String,reflect:!0})],Cr.prototype,"role",void 0),Nr([N()],Cr.prototype,"type",void 0),Nr([N({type:Boolean})],Cr.prototype,"disabled",void 0),Nr([N()],Cr.prototype,"label",void 0),Nr([N()],Cr.prototype,"icon",void 0),Nr([N()],Cr.prototype,"iconVariant",void 0),Nr([N({type:Boolean})],Cr.prototype,"trailingIcon",void 0),Nr([N({type:Boolean})],Cr.prototype,"loading",void 0),Nr([N()],Cr.prototype,"tooltipPosition",void 0),Nr([N({type:Boolean})],Cr.prototype,"hideTooltip",void 0),Nr([N({type:Boolean})],Cr.prototype,"forceTooltip",void 0),Nr([k(".ft-button")],Cr.prototype,"button",void 0),Nr([k(".ft-button--label slot")],Cr.prototype,"slottedContent",void 0);var Er=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class kr extends Cr{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}kr.styles=[Ae,ur],Er([N({type:Boolean})],kr.prototype,"primary",void 0),Er([N({type:Boolean})],kr.prototype,"outlined",void 0),Er([N({type:Boolean})],kr.prototype,"dense",void 0),Er([N({type:Boolean})],kr.prototype,"round",void 0);const Rr=[$t`
1277
1298
  :host {
1278
1299
  display: inline-block;
1279
1300
  max-width: 100%;
@@ -1323,7 +1344,7 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
1323
1344
  }
1324
1345
 
1325
1346
  .ft-button:focus-visible {
1326
- outline-color: ${Ct.focusFocusRingColor};
1347
+ outline-color: ${ke.focusFocusRingColor};
1327
1348
  outline-style: solid;
1328
1349
  }
1329
1350
 
@@ -1352,146 +1373,146 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
1352
1373
  /** Primary styles **/
1353
1374
 
1354
1375
  .ft-button--primary {
1355
- ${Nt(ti.color,Ct.primaryIconColor)};
1376
+ ${we(rr.color,ke.primaryIconColor)};
1356
1377
 
1357
- ${Nt(wo.color,Ct.primaryStateLayerColor)};
1358
- ${Nt(wo.opacityContentOnSurfaceHover,Ct.primaryStateLayerOpacityHover)};
1359
- ${Nt(wo.opacityContentOnSurfaceFocused,Ct.primaryStateLayerOpacityFocus)};
1360
- ${Nt(wo.opacityContentOnSurfaceSelected,Ct.primaryStateLayerOpacityActive)};
1361
- ${Nt(wo.opacityContentOnSurfacePressed,Ct.primaryStateLayerOpacityActive)};
1378
+ ${we(ki.color,ke.primaryStateLayerColor)};
1379
+ ${we(ki.opacityContentOnSurfaceHover,ke.primaryStateLayerOpacityHover)};
1380
+ ${we(ki.opacityContentOnSurfaceFocused,ke.primaryStateLayerOpacityFocus)};
1381
+ ${we(ki.opacityContentOnSurfaceSelected,ke.primaryStateLayerOpacityActive)};
1382
+ ${we(ki.opacityContentOnSurfacePressed,ke.primaryStateLayerOpacityActive)};
1362
1383
 
1363
- background-color: ${Ct.primaryBackgroundColor};
1364
- color: ${Ct.primaryColor};
1384
+ background-color: ${ke.primaryBackgroundColor};
1385
+ color: ${ke.primaryColor};
1365
1386
  border-style: none;
1366
1387
  }
1367
1388
 
1368
1389
  .ft-button--primary[disabled] {
1369
- opacity: ${Ct.primaryComponentOpacityDisabled};
1390
+ opacity: ${ke.primaryComponentOpacityDisabled};
1370
1391
  }
1371
1392
 
1372
1393
  .ft-button--primary ft-icon {
1373
- color: ${Ct.primaryIconColor};
1394
+ color: ${ke.primaryIconColor};
1374
1395
  }
1375
1396
 
1376
1397
  /** Secondary styles **/
1377
1398
 
1378
1399
  .ft-button--secondary {
1379
- ${Nt(ti.color,Ct.secondaryIconColor)};
1400
+ ${we(rr.color,ke.secondaryIconColor)};
1380
1401
 
1381
- ${Nt(wo.color,Ct.secondaryStateLayerColor)};
1382
- ${Nt(wo.opacityContentOnSurfaceHover,Ct.secondaryStateLayerOpacityHover)};
1383
- ${Nt(wo.opacityContentOnSurfaceFocused,Ct.secondaryStateLayerOpacityFocus)};
1384
- ${Nt(wo.opacityContentOnSurfaceSelected,Ct.secondaryStateLayerOpacityActive)};
1385
- ${Nt(wo.opacityContentOnSurfacePressed,Ct.secondaryStateLayerOpacityActive)};
1402
+ ${we(ki.color,ke.secondaryStateLayerColor)};
1403
+ ${we(ki.opacityContentOnSurfaceHover,ke.secondaryStateLayerOpacityHover)};
1404
+ ${we(ki.opacityContentOnSurfaceFocused,ke.secondaryStateLayerOpacityFocus)};
1405
+ ${we(ki.opacityContentOnSurfaceSelected,ke.secondaryStateLayerOpacityActive)};
1406
+ ${we(ki.opacityContentOnSurfacePressed,ke.secondaryStateLayerOpacityActive)};
1386
1407
 
1387
- background-color: ${Ct.secondaryBackgroundColor};
1388
- color: ${Ct.secondaryColor};
1389
- border-color: ${Ct.secondaryBorderColor};
1408
+ background-color: ${ke.secondaryBackgroundColor};
1409
+ color: ${ke.secondaryColor};
1410
+ border-color: ${ke.secondaryBorderColor};
1390
1411
  border-style: solid;
1391
1412
  }
1392
1413
 
1393
1414
  .ft-button--secondary[disabled] {
1394
- opacity: ${Ct.secondaryComponentOpacityDisabled};
1415
+ opacity: ${ke.secondaryComponentOpacityDisabled};
1395
1416
  }
1396
1417
 
1397
1418
  .ft-button--secondary ft-icon {
1398
- color: ${Ct.secondaryIconColor};
1419
+ color: ${ke.secondaryIconColor};
1399
1420
  }
1400
1421
 
1401
1422
  /** Tertiary styles **/
1402
1423
 
1403
1424
  .ft-button--tertiary {
1404
- ${Nt(ti.color,Ct.tertiaryIconColor)};
1425
+ ${we(rr.color,ke.tertiaryIconColor)};
1405
1426
 
1406
- ${Nt(wo.color,Ct.tertiaryStateLayerColor)};
1407
- ${Nt(wo.opacityContentOnSurfaceHover,Ct.tertiaryStateLayerOpacityHover)};
1408
- ${Nt(wo.opacityContentOnSurfaceFocused,Ct.tertiaryStateLayerOpacityFocus)};
1409
- ${Nt(wo.opacityContentOnSurfaceSelected,Ct.tertiaryStateLayerOpacityActive)};
1410
- ${Nt(wo.opacityContentOnSurfacePressed,Ct.tertiaryStateLayerOpacityActive)};
1427
+ ${we(ki.color,ke.tertiaryStateLayerColor)};
1428
+ ${we(ki.opacityContentOnSurfaceHover,ke.tertiaryStateLayerOpacityHover)};
1429
+ ${we(ki.opacityContentOnSurfaceFocused,ke.tertiaryStateLayerOpacityFocus)};
1430
+ ${we(ki.opacityContentOnSurfaceSelected,ke.tertiaryStateLayerOpacityActive)};
1431
+ ${we(ki.opacityContentOnSurfacePressed,ke.tertiaryStateLayerOpacityActive)};
1411
1432
 
1412
- background-color: ${Ct.tertiaryBackgroundColor};
1413
- color: ${Ct.tertiaryColor};
1433
+ background-color: ${ke.tertiaryBackgroundColor};
1434
+ color: ${ke.tertiaryColor};
1414
1435
  border-style: none;
1415
1436
  }
1416
1437
 
1417
1438
  .ft-button--tertiary[disabled] {
1418
- opacity: ${Ct.tertiaryComponentOpacityDisabled};
1439
+ opacity: ${ke.tertiaryComponentOpacityDisabled};
1419
1440
  }
1420
1441
 
1421
1442
  .ft-button--tertiary ft-icon {
1422
- color: ${Ct.tertiaryIconColor};
1443
+ color: ${ke.tertiaryIconColor};
1423
1444
  }
1424
1445
 
1425
1446
  /** Neutral styles **/
1426
1447
 
1427
1448
  .ft-button--neutral {
1428
- ${Nt(ti.color,Ct.neutralIconColor)};
1449
+ ${we(rr.color,ke.neutralIconColor)};
1429
1450
 
1430
- ${Nt(wo.backgroundColor,Ct.neutralStateLayerColor)};
1431
- ${Nt(wo.opacityContentOnSurfaceHover,Ct.neutralStateLayerOpacityHover)};
1432
- ${Nt(wo.opacityContentOnSurfaceFocused,Ct.neutralStateLayerOpacityFocus)};
1433
- ${Nt(wo.opacityContentOnSurfaceSelected,Ct.neutralStateLayerOpacityActive)};
1434
- ${Nt(wo.opacityContentOnSurfacePressed,Ct.neutralStateLayerOpacityActive)};
1451
+ ${we(ki.backgroundColor,ke.neutralStateLayerColor)};
1452
+ ${we(ki.opacityContentOnSurfaceHover,ke.neutralStateLayerOpacityHover)};
1453
+ ${we(ki.opacityContentOnSurfaceFocused,ke.neutralStateLayerOpacityFocus)};
1454
+ ${we(ki.opacityContentOnSurfaceSelected,ke.neutralStateLayerOpacityActive)};
1455
+ ${we(ki.opacityContentOnSurfacePressed,ke.neutralStateLayerOpacityActive)};
1435
1456
 
1436
- background-color: ${Ct.neutralBackgroundColor};
1437
- color: ${Ct.neutralColor};
1457
+ background-color: ${ke.neutralBackgroundColor};
1458
+ color: ${ke.neutralColor};
1438
1459
  border-style: none;
1439
1460
  }
1440
1461
 
1441
1462
  .ft-button--neutral[disabled] {
1442
- opacity: ${Ct.neutralComponentOpacityDisabled};
1463
+ opacity: ${ke.neutralComponentOpacityDisabled};
1443
1464
  }
1444
1465
 
1445
1466
  .ft-button--neutral ft-icon {
1446
- color: ${Ct.neutralIconColor};
1467
+ color: ${ke.neutralIconColor};
1447
1468
  }
1448
1469
 
1449
1470
  /** Large styles **/
1450
1471
 
1451
1472
  .ft-button--large {
1452
- ${Nt(Ko.size,Ct.largeIconSize)};
1453
- ${Nt(ti.size,Ct.largeIconSize)};
1454
-
1455
- height: ${Ct.largeHeight};
1456
- padding: 0 ${Ct.largeHorizontalPadding};
1457
- gap: ${Ct.largeGap};
1458
- border-radius: ${Ct.largeBorderRadius};
1459
- border-width: ${Ct.largeBorderWidth};
1473
+ ${we(Ai.size,ke.largeIconSize)};
1474
+ ${we(rr.size,ke.largeIconSize)};
1475
+
1476
+ height: ${ke.largeHeight};
1477
+ padding: 0 ${ke.largeHorizontalPadding};
1478
+ gap: ${ke.largeGap};
1479
+ border-radius: ${ke.largeBorderRadius};
1480
+ border-width: ${ke.largeBorderWidth};
1460
1481
  }
1461
1482
 
1462
1483
  .ft-button--large:focus-visible {
1463
- outline-width: ${Ct.largeFocusOutlineWidth};
1464
- outline-offset: ${Ct.largeFocusOutlineOffset};
1484
+ outline-width: ${ke.largeFocusOutlineWidth};
1485
+ outline-offset: ${ke.largeFocusOutlineOffset};
1465
1486
  }
1466
1487
 
1467
1488
  .ft-button--large.ft-button--icon-only {
1468
- width: ${Ct.largeIconOnlyWidth};
1489
+ width: ${ke.largeIconOnlyWidth};
1469
1490
  padding: unset;
1470
1491
  }
1471
1492
 
1472
1493
  /** Small styles **/
1473
1494
 
1474
1495
  .ft-button--small {
1475
- ${Nt(Ko.size,Ct.smallIconSize)};
1476
- ${Nt(ti.size,Ct.smallIconSize)};
1477
-
1478
- height: ${Ct.smallHeight};
1479
- padding: 0 ${Ct.smallHorizontalPadding};
1480
- gap: ${Ct.smallGap};
1481
- border-radius: ${Ct.smallBorderRadius};
1482
- border-width: ${Ct.smallBorderWidth};
1496
+ ${we(Ai.size,ke.smallIconSize)};
1497
+ ${we(rr.size,ke.smallIconSize)};
1498
+
1499
+ height: ${ke.smallHeight};
1500
+ padding: 0 ${ke.smallHorizontalPadding};
1501
+ gap: ${ke.smallGap};
1502
+ border-radius: ${ke.smallBorderRadius};
1503
+ border-width: ${ke.smallBorderWidth};
1483
1504
  }
1484
1505
 
1485
1506
  .ft-button--small:focus-visible {
1486
- outline-width: ${Ct.smallFocusOutlineWidth};
1487
- outline-offset: ${Ct.smallFocusOutlineOffset};
1507
+ outline-width: ${ke.smallFocusOutlineWidth};
1508
+ outline-offset: ${ke.smallFocusOutlineOffset};
1488
1509
  }
1489
1510
 
1490
1511
  .ft-button--small.ft-button--icon-only {
1491
- width: ${Ct.smallIconOnlyWidth};
1512
+ width: ${ke.smallIconOnlyWidth};
1492
1513
  padding: unset;
1493
1514
  }
1494
- `,Zt];var Ci=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ki extends Ni{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?ce.caption1medium:ce.body2medium}}ki.styles=[Kt,Si],Ci([i({type:Boolean})],ki.prototype,"primary",void 0),Ci([i({type:Boolean})],ki.prototype,"secondary",void 0),Ci([i({type:Boolean})],ki.prototype,"tertiary",void 0),Ci([i({type:Boolean})],ki.prototype,"neutral",void 0),Ci([i({type:Boolean})],ki.prototype,"small",void 0),d("ft-button")(wi),d("ftds-button")(ki);class Ei extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const Ri={headerBackground:Ot.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:Ot.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:Ot.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:Ot.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:Ot.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","100"),cellVerticalBorderWidth:Ot.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),colorOnSurfaceHigh:Ot.external(kt.colorOnSurfaceHigh,"Design system"),titleFont:Ot.external(kt.titleFont,"Design system"),contentFont:Ot.external(kt.contentFont,"Design system")},Ii=x`
1515
+ `,Be];var Ur=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ir extends Cr{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?uo.caption1medium:uo.body2medium}}Ir.styles=[Ae,Rr],Ur([N({type:Boolean})],Ir.prototype,"primary",void 0),Ur([N({type:Boolean})],Ir.prototype,"secondary",void 0),Ur([N({type:Boolean})],Ir.prototype,"tertiary",void 0),Ur([N({type:Boolean})],Ir.prototype,"neutral",void 0),Ur([N({type:Boolean})],Ir.prototype,"small",void 0),I("ft-button")(kr),I("ftds-button")(Ir);class Wr extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const Lr={headerBackground:Se.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:Se.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:Se.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:Se.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:Se.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","100"),cellVerticalBorderWidth:Se.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),colorOnSurfaceHigh:Se.external(Re.colorOnSurfaceHigh,"Design system"),titleFont:Se.external(Re.titleFont,"Design system"),contentFont:Se.external(Re.contentFont,"Design system")},zr=$t`
1495
1516
  :host {
1496
1517
  display: block;
1497
1518
  }
@@ -1507,15 +1528,15 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
1507
1528
  .header-cell {
1508
1529
  display: flex;
1509
1530
  flex-direction: column;
1510
- background: ${Ri.headerBackground};
1511
- color: ${Ri.colorOnSurfaceHigh};
1531
+ background: ${Lr.headerBackground};
1532
+ color: ${Lr.colorOnSurfaceHigh};
1512
1533
  padding: .5rem 1rem;
1513
- font-family: ${Ri.titleFont};
1534
+ font-family: ${Lr.titleFont};
1514
1535
  }
1515
1536
 
1516
1537
  .header-cell--sticky {
1517
1538
  top: 0;
1518
- z-index: ${Ri.stickyHeaderZIndex};
1539
+ z-index: ${Lr.stickyHeaderZIndex};
1519
1540
  position: sticky;
1520
1541
  }
1521
1542
 
@@ -1533,8 +1554,8 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
1533
1554
  }
1534
1555
 
1535
1556
  .column-title-container ft-button {
1536
- ${Nt(ii.backgroundColor,Ri.headerBackground)};
1537
- ${Nt(ii.color,Ri.colorOnSurfaceHigh)};
1557
+ ${we(sr.backgroundColor,Lr.headerBackground)};
1558
+ ${we(sr.color,Lr.colorOnSurfaceHigh)};
1538
1559
  }
1539
1560
 
1540
1561
  .column-title {
@@ -1563,31 +1584,31 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
1563
1584
 
1564
1585
  .cell {
1565
1586
  padding: 1rem;
1566
- border-left-color: ${Ri.headerBackground};
1587
+ border-left-color: ${Lr.headerBackground};
1567
1588
  border-left-style: solid;
1568
- border-left-width: ${Ri.cellVerticalBorderWidth};
1569
- border-bottom: 1px solid ${Ri.headerBackground};
1589
+ border-left-width: ${Lr.cellVerticalBorderWidth};
1590
+ border-bottom: 1px solid ${Lr.headerBackground};
1570
1591
  overflow-x: auto;
1571
1592
  display: flex;
1572
1593
  align-items: center;
1573
- font-family: ${Ri.contentFont};
1594
+ font-family: ${Lr.contentFont};
1574
1595
  }
1575
1596
 
1576
1597
  /* Even is 2n+1 and odd is 2n because of the header */
1577
1598
  .row:nth-child(2n) > .cell {
1578
- background: ${Ri.oddRowBackground};
1599
+ background: ${Lr.oddRowBackground};
1579
1600
  }
1580
1601
 
1581
1602
  .row:nth-child(2n + 1) > .cell {
1582
- background: ${Ri.evenRowBackground};
1603
+ background: ${Lr.evenRowBackground};
1583
1604
  }
1584
1605
 
1585
1606
  .row:hover > .cell {
1586
- background: ${Ri.rowHoverBackground};
1607
+ background: ${Lr.rowHoverBackground};
1587
1608
  }
1588
1609
 
1589
1610
  .cell:last-of-type {
1590
- border-right: 1px solid ${Ri.headerBackground};
1611
+ border-right: 1px solid ${Lr.headerBackground};
1591
1612
  }
1592
1613
 
1593
1614
  .row:last-of-type .cell:first-of-type {
@@ -1601,7 +1622,7 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
1601
1622
  .hidden {
1602
1623
  visibility: hidden;
1603
1624
  }
1604
- `;var Ui=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Wi=t=>X`${t}`,Li=(t,e)=>t-e;class zi extends zt{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.filters=[],this.selectData=[]}init(t,e,o){this.data=t,this.columns=e,this.sort=o}render(){let t=this.sortData(this.filterData());return X`
1625
+ `;var Zr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Kr=t=>re`${t}`,Fr=(t,e)=>t-e;class Dr extends De{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.filters=[],this.selectData=[]}init(t,e,o){this.data=t,this.columns=e,this.sort=o}render(){let t=this.sortData(this.filterData());return re`
1605
1626
  <style>
1606
1627
  .table {
1607
1628
  grid-template-columns: repeat(${this.columns.length}, minmax(min-content, auto));
@@ -1609,17 +1630,17 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
1609
1630
  </style>
1610
1631
  <div class="table">
1611
1632
  <div class="header">
1612
- ${te(this.columns,((t,e)=>"header-cell-"+e),((t,e)=>this.renderHeader(t,e)))}
1633
+ ${ro(this.columns,((t,e)=>"header-cell-"+e),((t,e)=>this.renderHeader(t,e)))}
1613
1634
  </div>
1614
- ${te(t,((t,e)=>"row-"+e),((t,e)=>X`
1635
+ ${ro(t,((t,e)=>"row-"+e),((t,e)=>re`
1615
1636
  <div class="row"
1616
- @click=${()=>this.dispatchEvent(new Ei(t))}>
1617
- ${te(this.columns,((t,o)=>"cell-"+o+"-"+e),((o,i)=>this.renderCell(o,i,t,e)))}
1637
+ @click=${()=>this.dispatchEvent(new Wr(t))}>
1638
+ ${ro(this.columns,((t,o)=>"cell-"+o+"-"+e),((o,i)=>this.renderCell(o,i,t,e)))}
1618
1639
  </div>
1619
1640
  `))}
1620
1641
  </div>
1621
- `}filterData(){return this.filters.reduce(((t,e,o)=>{var i;const r=this.columns[o];if(e&&e.value)switch(null!==(i=r.filter)&&void 0!==i?i:"text"){case"text":return t.filter((t=>this.getValueAsString(r,t,o).toLowerCase().includes(e.value.toLowerCase())));case"select":return t.filter((t=>this.getValueAsString(r,t,o)===e.value))}return t}),this.data)}sortData(t){var e;if(this.currentSort){const o=this.columns[this.currentSort.column],i=null!==(e=o.comparator)&&void 0!==e?e:Li,r="asc"===this.currentSort.order?i:(t,e)=>-i(t,e);return[...t].sort(((t,e)=>r(this.getValue(o,t),this.getValue(o,e))))}return t}update(t){super.update(t),t.has("sort")&&(this.currentSort=this.sort),(t.has("data")||t.has("columns"))&&this.updateSelectData()}updateSelectData(){this.selectData=[];const t=this.data,e=this.columns;for(let o in e){const i=e[o];"select"===i.filter&&(this.selectData[o]=[...new Set(t.map(((t,e)=>this.getValueAsString(i,t,e))))].sort(((t,e)=>t.localeCompare(e))))}this.requestUpdate()}renderHeader(t,e){const o={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return X`
1622
- <div class="${ie(o)}"
1642
+ `}filterData(){return this.filters.reduce(((t,e,o)=>{var i;const r=this.columns[o];if(e&&e.value)switch(null!==(i=r.filter)&&void 0!==i?i:"text"){case"text":return t.filter((t=>this.getValueAsString(r,t,o).toLowerCase().includes(e.value.toLowerCase())));case"select":return t.filter((t=>this.getValueAsString(r,t,o)===e.value))}return t}),this.data)}sortData(t){var e;if(this.currentSort){const o=this.columns[this.currentSort.column],i=null!==(e=o.comparator)&&void 0!==e?e:Fr,r="asc"===this.currentSort.order?i:(t,e)=>-i(t,e);return[...t].sort(((t,e)=>r(this.getValue(o,t),this.getValue(o,e))))}return t}update(t){super.update(t),t.has("sort")&&(this.currentSort=this.sort),(t.has("data")||t.has("columns"))&&this.updateSelectData()}updateSelectData(){this.selectData=[];const t=this.data,e=this.columns;for(let o in e){const i=e[o];"select"===i.filter&&(this.selectData[o]=[...new Set(t.map(((t,e)=>this.getValueAsString(i,t,e))))].sort(((t,e)=>t.localeCompare(e))))}this.requestUpdate()}renderHeader(t,e){const o={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return re`
1643
+ <div class="${so(o)}"
1623
1644
  part="${this.columnPart("header-cell",e)}">
1624
1645
  <div class="column-title-container">
1625
1646
  <span class="column-title"
@@ -1630,7 +1651,7 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
1630
1651
  </div>
1631
1652
  ${this.renderColumnFilter(t,e)}
1632
1653
  </div>
1633
- `}renderColumnSort(t,e){var o;const i=this.currentSort&&this.currentSort.column===e,r=i?"asc"===this.currentSort.order?"expand_more":"expand_less":"unfold_more";return X`
1654
+ `}renderColumnSort(t,e){var o;const i=this.currentSort&&this.currentSort.column===e,r=i?"asc"===this.currentSort.order?"expand_more":"expand_less":"unfold_more";return re`
1634
1655
  <ft-button
1635
1656
  round
1636
1657
  dense
@@ -1641,7 +1662,7 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
1641
1662
  @click=${()=>{var t;i?"asc"===(null===(t=this.currentSort)||void 0===t?void 0:t.order)?this.currentSort={column:e,order:"desc"}:this.currentSort=void 0:this.currentSort={column:e,order:"asc"}}}
1642
1663
  part="${this.columnPart("sort-button",e)}"
1643
1664
  ></ft-button>
1644
- `}renderColumnFilter(t,e){var o,i;const r=t=>{this.filters[e]={value:t.detail},this.requestUpdate()};switch(null!==(o=t.filter)&&void 0!==o?o:"text"){case"text":return X`
1665
+ `}renderColumnFilter(t,e){var o,i;const r=t=>{this.filters[e]={value:t.detail},this.requestUpdate()};switch(null!==(o=t.filter)&&void 0!==o?o:"text"){case"text":return re`
1645
1666
  <div class="column-filter" part="${this.columnPart("filter-container",e)}">
1646
1667
  <ft-text-field
1647
1668
  label="Search ${t.title}"
@@ -1649,20 +1670,20 @@ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),label
1649
1670
  part="${this.columnPart("filter",e)}"
1650
1671
  ></ft-text-field>
1651
1672
  </div>
1652
- `;case"select":const o=null!==(i=this.selectData[e])&&void 0!==i?i:[];return o.length?X`
1673
+ `;case"select":const o=null!==(i=this.selectData[e])&&void 0!==i?i:[];return o.length?re`
1653
1674
  <div class="column-filter" part="${this.columnPart("filter-container",e)}">
1654
1675
  <ft-select label="Filter ${t.title}"
1655
1676
  @change=${r}
1656
1677
  part="${this.columnPart("filter",e)}">
1657
1678
  <ft-select-option></ft-select-option>
1658
- ${o.map((t=>X`
1679
+ ${o.map((t=>re`
1659
1680
  <ft-select-option value="${t}" label="${t}"></ft-select-option>
1660
1681
  `))}
1661
1682
  </ft-select>
1662
1683
  </div>
1663
- `:tt}return tt}columnPart(t,e){return`${t} ${t}-column-${e}`}renderCell(t,e,o,i){var r;const n=null!==(r=t.render)&&void 0!==r?r:Wi;return X`
1684
+ `:ae}return ae}columnPart(t,e){return`${t} ${t}-column-${e}`}renderCell(t,e,o,i){var r;const n=null!==(r=t.render)&&void 0!==r?r:Kr;return re`
1664
1685
  <div class="cell"
1665
1686
  part="${this.columnPart("cell",e)} cell-row-${i} cell-column-${e}-row-${i}">
1666
- ${(t=>{const e=n(t,i);return"string"==typeof e?oe(e):e})(this.getValue(t,o))}
1687
+ ${(t=>{const e=n(t,i);return"string"==typeof e?ao(e):e})(this.getValue(t,o))}
1667
1688
  </div>
1668
- `}getValue(t,e){return"string"==typeof t.getter?e[t.getter]:t.getter(e)}getValueAsString(t,e,o){const i=this.getValue(t,e);return"function"==typeof t.stringify?t.stringify(i,o):(t=>""+t)(i)}}zi.styles=Ii,Ui([i({attribute:!1})],zi.prototype,"data",void 0),Ui([i({attribute:!1})],zi.prototype,"columns",void 0),Ui([i({attribute:!1})],zi.prototype,"sort",void 0),Ui([i()],zi.prototype,"stickyHeaders",void 0),Ui([r()],zi.prototype,"currentSort",void 0),d("ft-filterable-table")(zi),t.FtFilterableTable=zi,t.FtFilterableTableCssVariables=Ri,t.RowClickEvent=Ei,t.styles=Ii}({});
1689
+ `}getValue(t,e){return"string"==typeof t.getter?e[t.getter]:t.getter(e)}getValueAsString(t,e,o){const i=this.getValue(t,e);return"function"==typeof t.stringify?t.stringify(i,o):(t=>""+t)(i)}}Dr.styles=zr,Zr([N({attribute:!1})],Dr.prototype,"data",void 0),Zr([N({attribute:!1})],Dr.prototype,"columns",void 0),Zr([N({attribute:!1})],Dr.prototype,"sort",void 0),Zr([N()],Dr.prototype,"stickyHeaders",void 0),Zr([C()],Dr.prototype,"currentSort",void 0),I("ft-filterable-table")(Dr),t.FtFilterableTable=Dr,t.FtFilterableTableCssVariables=Lr,t.RowClickEvent=Wr,t.styles=zr}({});