@fluid-topics/ft-filterable-table 1.1.22 → 1.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* subject to an additional IP rights grant found at
|
|
13
13
|
* http://polymer.github.io/PATENTS.txt
|
|
14
14
|
*/
|
|
15
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,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 f=o.call(i,t);f||(f=p(t),e.call(i,t,f)),this===window.customElements&&(a.set(r,c),c.standInClass=f);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,f=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},p=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=f(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(
|
|
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 f=o.call(i,t);f||(f=p(t),e.call(i,t,f)),this===window.customElements&&(a.set(r,c),c.standInClass=f);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,f=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},p=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=f(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(vi){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}}
|
|
16
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2019 Google LLC
|
|
@@ -88,16 +88,17 @@ const At=globalThis,Mt=At.trustedTypes,Pt=Mt?Mt.createPolicy("lit-html",{createH
|
|
|
88
88
|
* Copyright 2017 Google LLC
|
|
89
89
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
90
90
|
*/
|
|
91
|
-
let Oe=class extends Bt{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 ue(e.insertBefore(Vt(),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 ae}};Oe._$litElement$=!0,Oe.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Oe});const we=globalThis.litElementPolyfillSupport;we?.({LitElement:Oe}),(globalThis.litElementVersions??=[]).push("4.0.2");const Se=t=>"string"==typeof t?wt(t):t;class $e{static create(t,e,o,i){const r=t=>Se(null!=t?t:i),n=St`var(${Se(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>St`var(${Se(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=St`var(${Se(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=>St`var(${Se(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):Se(null!=e?e:t.lastResortDefaultValue()),i=St`var(${Se(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=>St`var(${Se(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Ne(t,e){return Se(`${t.name}: ${e}`)}const Ce={colorWhite:$e.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:$e.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:$e.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:$e.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:$e.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:$e.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:$e.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:$e.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:$e.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:$e.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:$e.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:$e.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:$e.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:$e.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:$e.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:$e.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:$e.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:$e.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:$e.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:$e.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:$e.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:$e.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:$e.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:$e.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:$e.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:$e.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:$e.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:$e.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:$e.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:$e.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:$e.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:$e.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:$e.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:$e.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:$e.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:$e.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:$e.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:$e.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:$e.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:$e.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:$e.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:$e.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:$e.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:$e.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:$e.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:$e.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:$e.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:$e.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:$e.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:$e.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:$e.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:$e.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:$e.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:$e.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:$e.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:$e.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:$e.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:$e.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:$e.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:$e.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:$e.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:$e.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:$e.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:$e.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:$e.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:$e.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:$e.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:$e.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:$e.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:$e.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:$e.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:$e.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:$e.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:$e.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:$e.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:$e.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:$e.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:$e.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:$e.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:$e.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:$e.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:$e.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:$e.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:$e.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:$e.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:$e.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:$e.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:$e.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:$e.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:$e.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:$e.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:$e.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:$e.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:$e.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:$e.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:$e.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:$e.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:$e.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:$e.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:$e.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:$e.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:$e.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:$e.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:$e.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:$e.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:$e.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:$e.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:$e.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:$e.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:$e.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:$e.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:$e.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:$e.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:$e.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:$e.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:$e.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:$e.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:$e.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:$e.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:$e.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:$e.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:$e.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:$e.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:$e.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:$e.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:$e.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:$e.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:$e.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:$e.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:$e.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:$e.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:$e.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:$e.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:$e.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:$e.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:$e.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:$e.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:$e.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:$e.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:$e.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:$e.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:$e.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:$e.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:$e.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:$e.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:$e.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:$e.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:$e.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:$e.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:$e.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:$e.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:$e.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:$e.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:$e.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:$e.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:$e.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:$e.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:$e.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:$e.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:$e.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:$e.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:$e.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:$e.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:$e.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:$e.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:$e.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:$e.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:$e.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:$e.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:$e.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:$e.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:$e.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:$e.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:$e.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:$e.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:$e.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:$e.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:$e.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:$e.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:$e.create("--ft-icon-size-6","","SIZE","48px"),opacity0:$e.create("--ft-opacity-0","","NUMBER","0"),opacity8:$e.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:$e.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:$e.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:$e.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:$e.create("--ft-opacity-80","","NUMBER","0.8")},Ee={display:{fontFamily:$e.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:$e.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:$e.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:$e.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:$e.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:$e.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:$e.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:$e.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:$e.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:$e.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:$e.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:$e.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:$e.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:$e.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:$e.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:$e.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:$e.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:$e.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:$e.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:$e.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:$e.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:$e.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:$e.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:$e.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:$e.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:$e.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:$e.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:$e.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:$e.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:$e.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:$e.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:$e.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:$e.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:$e.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:$e.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:$e.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:$e.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:$e.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:$e.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:$e.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:$e.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:$e.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:$e.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:$e.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:$e.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:$e.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},ke={backgroundActionPrimary:$e.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ce.colorBrand0),backgroundErrorPrimary:$e.extend("--ft-background-error-primary","Used as background of error components.",Ce.colorRed0),backgroundErrorSubtle:$e.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ce.colorRed10),backgroundInfoPrimary:$e.extend("--ft-background-info-primary","Used as background of information components.",Ce.colorCyan200),backgroundInfoSubtle:$e.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ce.colorCyan10),backgroundWarningPrimary:$e.extend("--ft-background-warning-primary","Used as background of warning components.",Ce.colorOrange300),backgroundWarningSubtle:$e.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ce.colorOrange10),backgroundSuccessPrimary:$e.extend("--ft-background-success-primary","Used as background of success components.",Ce.colorGreen200),backgroundSuccessSubtle:$e.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ce.colorGreen10),backgroundGlobalSurface:$e.extend("--ft-background-global-surface","Used as app background.",Ce.colorWhite),backgroundGlobalOnSurface:$e.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ce.colorGray10),backgroundGlobalOnSurfaceDark:$e.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ce.colorGray30),contentActionPrimary:$e.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ce.colorBrand0),contentWarningPrimary:$e.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ce.colorOrange300),contentWarningIconOnly:$e.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ce.colorOrange0),contentErrorPrimary:$e.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ce.colorRed0),contentErrorIconOnly:$e.extend("--ft-content-error-icon-only","Used on error status icons alone",Ce.colorRed0),contentInfoPrimary:$e.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ce.colorCyan200),contentInfoIconOnly:$e.extend("--ft-content-info-icon-only","Used on info status icons alone",Ce.colorCyan0),contentSuccessIconOnly:$e.extend("--ft-content-success-icon-only","Used on success status icons alone",Ce.colorGreen0),contentSuccessPrimary:$e.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ce.colorGreen200),contentGlobalPrimary:$e.extend("--ft-content-global-primary","Used for main content on the page.",Ce.colorGray500),contentGlobalSecondary:$e.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ce.colorGray200),contentGlobalSubtle:$e.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ce.colorGray0),contentGlobalOnColor:$e.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ce.colorWhite),borderActionPrimary:$e.extend("--ft-border-action-primary","Used as border for primary action components.",Ce.colorBrand0),borderActionFocusRing:$e.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ce.colorCyan0),borderWarningPrimary:$e.extend("--ft-border-warning-primary","Used as border for warning components.",Ce.colorOrange30),borderSuccessPrimary:$e.extend("--ft-border-success-primary","Used as border for success components.",Ce.colorGreen30),borderErrorPrimary:$e.extend("--ft-border-error-primary","Used as border for error components.",Ce.colorRed30),borderInfoPrimary:$e.extend("--ft-border-info-primary","Used as border for information components.",Ce.colorCyan30),borderGlobalSubtle:$e.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ce.colorGray30),borderGlobalPrimary:$e.extend("--ft-border-global-primary","Used as border for element like input.",Ce.colorGray50),borderInputPrimary:$e.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ce.colorGray80)},Re={largeHeight:$e.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:$e.extend("--ft-button-large-horizontal-padding","",Ce.spacing4),largeGap:$e.extend("--ft-button-large-gap","",Ce.spacing2),largeBorderRadius:$e.extend("--ft-button-large-border-radius","",Ce.borderRadiusS),largeIconSize:$e.extend("--ft-button-large-icon-size","",Ce.iconSize3),largeBorderWidth:$e.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:$e.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:$e.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:$e.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:$e.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:$e.extend("--ft-button-small-horizontal-padding","",Ce.spacing3),smallGap:$e.extend("--ft-button-small-gap","",Ce.spacing2),smallBorderRadius:$e.extend("--ft-button-small-border-radius","",Ce.borderRadiusS),smallIconSize:$e.extend("--ft-button-small-icon-size","",Ce.iconSize2),smallBorderWidth:$e.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:$e.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:$e.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:$e.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:$e.extend("--ft-button-primary-background-color","",ke.backgroundActionPrimary),primaryColor:$e.extend("--ft-button-primary-color","",ke.contentGlobalOnColor),primaryIconColor:$e.extend("--ft-button-primary-icon-color","",ke.contentGlobalOnColor),primaryStateLayerColor:$e.extend("--ft-button-primary-state-layer-color","",ke.contentGlobalOnColor),primaryStateLayerOpacityHover:$e.extend("--ft-button-primary-state-layer-opacity-hover","",Ce.opacity16),primaryStateLayerOpacityFocus:$e.extend("--ft-button-primary-state-layer-opacity-focus","",Ce.opacity16),primaryStateLayerOpacityActive:$e.extend("--ft-button-primary-state-layer-opacity-active","",Ce.opacity24),primaryComponentOpacityDisabled:$e.extend("--ft-button-primary-component-opacity-disabled","",Ce.opacity40),focusFocusRingColor:$e.extend("--ft-button-focus-focus-ring-color","",ke.borderActionFocusRing),tertiaryBackgroundColor:$e.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:$e.extend("--ft-button-tertiary-color","",ke.contentActionPrimary),tertiaryIconColor:$e.extend("--ft-button-tertiary-icon-color","",ke.contentActionPrimary),tertiaryStateLayerColor:$e.extend("--ft-button-tertiary-state-layer-color","",ke.contentActionPrimary),tertiaryStateLayerOpacityHover:$e.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ce.opacity8),tertiaryStateLayerOpacityFocus:$e.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ce.opacity8),tertiaryStateLayerOpacityActive:$e.extend("--ft-button-tertiary-state-layer-opacity-active","",Ce.opacity16),tertiaryComponentOpacityDisabled:$e.extend("--ft-button-tertiary-component-opacity-disabled","",Ce.opacity40),secondaryBackgroundColor:$e.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:$e.extend("--ft-button-secondary-color","",ke.contentActionPrimary),secondaryIconColor:$e.extend("--ft-button-secondary-icon-color","",ke.contentActionPrimary),secondaryStateLayerColor:$e.extend("--ft-button-secondary-state-layer-color","",ke.contentActionPrimary),secondaryStateLayerOpacityHover:$e.extend("--ft-button-secondary-state-layer-opacity-hover","",Ce.opacity8),secondaryStateLayerOpacityFocus:$e.extend("--ft-button-secondary-state-layer-opacity-focus","",Ce.opacity8),secondaryStateLayerOpacityActive:$e.extend("--ft-button-secondary-state-layer-opacity-active","",Ce.opacity16),secondaryComponentOpacityDisabled:$e.extend("--ft-button-secondary-component-opacity-disabled","",Ce.opacity40),secondaryBorderColor:$e.extend("--ft-button-secondary-border-color","",ke.borderActionPrimary),neutralBackgroundColor:$e.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:$e.extend("--ft-button-neutral-icon-color","",ke.contentGlobalSecondary),neutralColor:$e.extend("--ft-button-neutral-color","",ke.contentGlobalSecondary),neutralStateLayerColor:$e.extend("--ft-button-neutral-state-layer-color","",ke.contentGlobalSecondary),neutralStateLayerOpacityHover:$e.extend("--ft-button-neutral-state-layer-opacity-hover","",Ce.opacity8),neutralStateLayerOpacityFocus:$e.extend("--ft-button-neutral-state-layer-opacity-focus","",Ce.opacity8),neutralStateLayerOpacityActive:$e.extend("--ft-button-neutral-state-layer-opacity-active","",Ce.opacity16),neutralComponentOpacityDisabled:$e.extend("--ft-button-neutral-component-opacity-disabled","",Ce.opacity40)};$e.extend("--ft-tabs-top-left-border-radius","",Ce.borderRadiusS),$e.extend("--ft-tabs-top-right-border-radius","",Ce.borderRadiusS),$e.extend("--ft-tabs-label-horizontal-padding","",Ce.spacing4),$e.extend("--ft-tabs-label-vertical-padding","",Ce.spacing3),$e.extend("--ft-tabs-label-gap","",Ce.spacing1),$e.extend("--ft-switch-group-horizontal-padding","",Ce.spacing1),$e.extend("--ft-switch-group-vertical-padding","",Ce.spacing1),$e.extend("--ft-switch-group-gap","",Ce.spacing1),$e.extend("--ft-switch-group-background-color","",ke.backgroundGlobalSurface),$e.extend("--ft-switch-group-border-color","",ke.borderGlobalSubtle),$e.create("--ft-switch-group-border-radius","","SIZE","6px"),$e.extend("--ft-switch-label-horizontal-padding","",Ce.spacing2),$e.extend("--ft-switch-label-vertical-padding","",Ce.spacing1),$e.extend("--ft-switch-icon-horizontal-padding","",Ce.spacing1),$e.extend("--ft-switch-icon-vertical-padding","",Ce.spacing1),$e.create("--ft-switch-focus-outline-width","","SIZE","2px"),$e.extend("--ft-switch-focus-focus-ring-color","",ke.borderActionFocusRing),$e.extend("--ft-switch-option-border-radius","",Ce.borderRadiusS),$e.extend("--ft-switch-off-state-layer-opacity-hover","",Ce.opacity8),$e.extend("--ft-switch-off-state-layer-opacity-focus","",Ce.opacity8),$e.extend("--ft-switch-off-state-layer-opacity-active","",Ce.opacity16),$e.extend("--ft-switch-off-component-opacity-disabled","",Ce.opacity40),$e.extend("--ft-switch-off-color","",ke.contentGlobalSubtle),$e.extend("--ft-switch-off-state-layer-color","",ke.contentGlobalSubtle),$e.extend("--ft-chart-1-light","for area color charts",Ce.colorBrand40),$e.extend("--ft-chart-1-base","for line charts",Ce.colorBrand0),$e.extend("--ft-chart-2-light","for area color charts",Ce.colorYellow60),$e.extend("--ft-chart-2-base","for line charts",Ce.colorYellow100),$e.extend("--ft-chart-3-light","",Ce.colorUltramarine40),$e.extend("--ft-chart-3-base","",Ce.colorUltramarine70),$e.extend("--ft-chart-4-light","",Ce.colorCyan50),$e.extend("--ft-chart-4-base","",Ce.colorCyan100),$e.extend("--ft-chart-5-light","",Ce.colorRed40),$e.extend("--ft-chart-5-base","",Ce.colorRed60),$e.extend("--ft-chart-6-light","",Ce.colorGreen40),$e.extend("--ft-chart-6-base","",Ce.colorGreen70),$e.extend("--ft-chart-7-light","",Ce.colorOrange70),$e.extend("--ft-chart-7-base","",Ce.colorOrange100),$e.extend("--ft-chart-8-light","",Ce.colorAvocado70),$e.extend("--ft-chart-8-base","",Ce.colorAvocado200),$e.extend("--ft-chart-9-light","",Ce.colorBrown50),$e.extend("--ft-chart-9-base","",Ce.colorBrown200),$e.extend("--ft-chart-10-light","",Ce.colorGray50),$e.extend("--ft-chart-10-base","",Ce.colorGray80),$e.extend("--ft-chart-monochrome-10","",Ce.colorBrand10),$e.extend("--ft-chart-monochrome-20","",Ce.colorBrand20),$e.extend("--ft-chart-monochrome-30","",Ce.colorBrand40),$e.extend("--ft-chart-monochrome-40","",Ce.colorBrand60),$e.extend("--ft-chart-monochrome-50","",Ce.colorBrand0),$e.extend("--ft-chart-monochrome-60","",Ce.colorBrand200),$e.extend("--ft-chip-large-horizontal-padding","",Ce.spacing4),$e.extend("--ft-chip-large-vertical-padding","",Ce.spacing2),$e.extend("--ft-chip-large-gap","",Ce.spacing1),$e.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),$e.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),$e.extend("--ft-chip-large-border-radius","",Ce.borderRadiusPill),$e.create("--ft-chip-large-border-width","","SIZE","1px"),$e.extend("--ft-chip-large-icon-size","",Ce.iconSize3),$e.extend("--ft-chip-medium-horizontal-padding","",Ce.spacing3),$e.extend("--ft-chip-medium-vertical-padding","",Ce.spacing1),$e.extend("--ft-chip-medium-gap","",Ce.spacing1),$e.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),$e.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),$e.extend("--ft-chip-medium-border-radius","",Ce.borderRadiusPill),$e.create("--ft-chip-medium-border-width","","SIZE","1px"),$e.extend("--ft-chip-medium-icon-size","",Ce.iconSize2),$e.extend("--ft-chip-small-horizontal-padding","",Ce.spacing2),$e.extend("--ft-chip-small-vertical-padding","",Ce.spacing05),$e.extend("--ft-chip-small-gap","",Ce.spacing1),$e.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),$e.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),$e.extend("--ft-chip-small-border-radius","",Ce.borderRadiusPill),$e.create("--ft-chip-small-border-width","","SIZE","1px"),$e.extend("--ft-chip-small-icon-size","",Ce.iconSize1),$e.extend("--ft-chip-neutral-background-color","",ke.backgroundGlobalOnSurface),$e.extend("--ft-chip-neutral-color","",ke.contentGlobalPrimary),$e.extend("--ft-chip-neutral-border-color","",ke.borderGlobalSubtle),$e.extend("--ft-chip-info-background-color","",ke.backgroundInfoSubtle),$e.extend("--ft-chip-info-color","",ke.contentInfoPrimary),$e.extend("--ft-chip-info-border-color","",ke.borderInfoPrimary),$e.extend("--ft-chip-success-background-color","",ke.backgroundSuccessSubtle),$e.extend("--ft-chip-success-color","",ke.contentSuccessPrimary),$e.extend("--ft-chip-success-border-color","",ke.borderSuccessPrimary),$e.extend("--ft-chip-warning-background-color","",ke.backgroundWarningSubtle),$e.extend("--ft-chip-warning-color","",ke.contentWarningPrimary),$e.extend("--ft-chip-warning-border-color","",ke.borderWarningPrimary),$e.extend("--ft-chip-error-background-color","",ke.backgroundErrorSubtle),$e.extend("--ft-chip-error-color","",ke.contentErrorPrimary),$e.extend("--ft-chip-error-border-color","",ke.borderErrorPrimary),$e.create("--ft-notice-border-width","","SIZE","1px"),$e.extend("--ft-notice-horizontal-padding","",Ce.spacing2),$e.extend("--ft-notice-vertical-padding","",Ce.spacing1),$e.extend("--ft-notice-border-radius","",Ce.borderRadiusS),$e.extend("--ft-notice-gap","",Ce.spacing2),$e.extend("--ft-notice-icon-size","",Ce.iconSize3),$e.extend("--ft-notice-info-background-color","",ke.backgroundInfoSubtle),$e.extend("--ft-notice-info-border-color","",ke.borderInfoPrimary),$e.extend("--ft-notice-info-color","",ke.contentInfoPrimary),$e.extend("--ft-notice-warning-background-color","",ke.backgroundWarningSubtle),$e.extend("--ft-notice-warning-border-color","",ke.borderWarningPrimary),$e.extend("--ft-notice-warning-color","",ke.contentWarningPrimary),$e.extend("--ft-checkbox-label-color","",ke.contentGlobalPrimary),$e.extend("--ft-checkbox-checked-background-color","",ke.contentActionPrimary),$e.extend("--ft-checkbox-checked-state-layer-color","",ke.contentActionPrimary),$e.extend("--ft-checkbox-checked-color","",ke.contentGlobalOnColor),$e.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ce.opacity16),$e.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ce.opacity16),$e.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ce.opacity24),$e.extend("--ft-checkbox-checked-component-opacity-disabled","",Ce.opacity40),$e.extend("--ft-checkbox-unchecked-border-color","",Ce.colorGray80),$e.extend("--ft-checkbox-unchecked-state-layer-color","",Ce.colorGray80),$e.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ce.opacity16),$e.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ce.opacity16),$e.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ce.opacity24),$e.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ce.opacity40),$e.extend("--ft-checkbox-focus-focus-ring-color","",ke.borderActionFocusRing),$e.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),$e.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),$e.extend("--ft-checkbox-gap","",Ce.spacing3),$e.extend("--ft-toggle-off-state-layer-opacity-hover","",Ce.opacity16),$e.extend("--ft-toggle-off-state-layer-opacity-focus","",Ce.opacity16),$e.extend("--ft-toggle-off-state-layer-opacity-active","",Ce.opacity24),$e.extend("--ft-toggle-off-component-opacity-disabled","",Ce.opacity40),$e.extend("--ft-toggle-off-background-color","",ke.contentGlobalSubtle),$e.extend("--ft-toggle-off-icon-color","",ke.contentGlobalSubtle),$e.extend("--ft-toggle-off-state-layer-color","",ke.contentGlobalSubtle),$e.extend("--ft-toggle-on-state-layer-opacity-hover","",Ce.opacity16),$e.extend("--ft-toggle-on-state-layer-opacity-focus","",Ce.opacity16),$e.extend("--ft-toggle-on-state-layer-opacity-active","",Ce.opacity24),$e.extend("--ft-toggle-on-component-opacity-disabled","",Ce.opacity40),$e.extend("--ft-toggle-on-background-color","",ke.contentActionPrimary),$e.extend("--ft-toggle-on-icon-color","",ke.contentActionPrimary),$e.extend("--ft-toggle-on-state-layer-color","",ke.contentActionPrimary),$e.extend("--ft-toggle-label-color","",ke.contentGlobalPrimary),$e.extend("--ft-toggle-focus-focus-ring-color","",ke.borderActionFocusRing),$e.extend("--ft-toggle-gap","",Ce.spacing3),$e.extend("--ft-radio-label-color","",ke.contentGlobalPrimary),$e.extend("--ft-radio-selected-color","",ke.contentActionPrimary),$e.extend("--ft-radio-selected-state-layer-color","",ke.contentActionPrimary),$e.extend("--ft-radio-selected-state-layer-opacity-hover","",Ce.opacity16),$e.extend("--ft-radio-selected-state-layer-opacity-focus","",Ce.opacity16),$e.extend("--ft-radio-selected-state-layer-opacity-active","",Ce.opacity24),$e.extend("--ft-radio-selected-component-opacity-disabled","",Ce.opacity40),$e.extend("--ft-radio-unselected-state-layer-color","",Ce.colorGray80),$e.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ce.opacity16),$e.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ce.opacity16),$e.extend("--ft-radio-unselected-state-layer-opacity-active","",Ce.opacity24),$e.extend("--ft-radio-unselected-component-opacity-disabled","",Ce.opacity40),$e.extend("--ft-radio-focus-focus-ring-color","",ke.borderActionFocusRing),$e.create("--ft-radio-focus-outline-offset","","SIZE","3px"),$e.create("--ft-radio-focus-outline-width","","SIZE","2px"),$e.extend("--ft-radio-gap","",Ce.spacing3),$e.extend("--ft-notification-icon-size","",Ce.iconSize4),$e.extend("--ft-notification-horizontal-padding","",Ce.spacing4),$e.extend("--ft-notification-vertical-padding","",Ce.spacing4),$e.extend("--ft-notification-info-background-color","",ke.backgroundInfoSubtle),$e.extend("--ft-notification-info-color","",ke.contentInfoPrimary),$e.extend("--ft-notification-info-border-color","",ke.borderInfoPrimary),$e.extend("--ft-notification-success-background-color","",ke.backgroundSuccessSubtle),$e.extend("--ft-notification-success-color","",ke.contentSuccessPrimary),$e.extend("--ft-notification-success-border-color","",ke.borderSuccessPrimary),$e.extend("--ft-notification-warning-background-color","",ke.backgroundWarningSubtle),$e.extend("--ft-notification-warning-color","",ke.contentWarningPrimary),$e.extend("--ft-notification-warning-border-color","",ke.borderWarningPrimary),$e.extend("--ft-notification-error-background-color","",ke.backgroundErrorSubtle),$e.extend("--ft-notification-error-color","",ke.contentErrorPrimary),$e.extend("--ft-notification-error-border-color","",ke.borderErrorPrimary),$e.extend("--ft-notification-border-radius","",Ce.borderRadiusPill),$e.create("--ft-notification-border-width","","SIZE","1px"),$e.extend("--ft-notification-gap-leading","",Ce.spacing2),$e.extend("--ft-notification-gap-trailing","",Ce.spacing8);const Ue={colorPrimary:$e.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:$e.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:$e.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:$e.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:$e.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:$e.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:$e.create("--ft-color-error","","COLOR","#B00020"),colorOutline:$e.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:$e.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:$e.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:$e.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:$e.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:$e.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:$e.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:$e.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:$e.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:$e.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:$e.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:$e.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:$e.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:$e.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:$e.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:$e.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:$e.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:$e.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:$e.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:$e.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:$e.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:$e.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:$e.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:$e.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:$e.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:$e.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:$e.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:$e.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:$e.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:$e.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:$e.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:$e.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:$e.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:$e.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:$e.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:$e.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:$e.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:$e.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:$e.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:$e.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:$e.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:$e.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:$e.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:$e.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ie=window,Le=Ie.ShadowRoot&&(void 0===Ie.ShadyCSS||Ie.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
91
|
+
let Oe=class extends Bt{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 ue(e.insertBefore(Vt(),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 ae}};Oe._$litElement$=!0,Oe.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Oe});const we=globalThis.litElementPolyfillSupport;we?.({LitElement:Oe}),(globalThis.litElementVersions??=[]).push("4.0.2");const Se=t=>"string"==typeof t?wt(t):t;class $e{static create(t,e,o,i){const r=t=>Se(null!=t?t:i),n=St`var(${Se(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>St`var(${Se(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=St`var(${Se(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=>St`var(${Se(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):Se(null!=e?e:t.lastResortDefaultValue()),i=St`var(${Se(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=>St`var(${Se(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Ne(t,e){return Se(`${t.name}: ${e}`)}const Ce={colorWhite:$e.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:$e.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:$e.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:$e.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:$e.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:$e.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:$e.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:$e.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:$e.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:$e.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:$e.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:$e.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:$e.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:$e.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:$e.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:$e.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:$e.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:$e.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:$e.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:$e.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:$e.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:$e.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:$e.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:$e.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:$e.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:$e.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:$e.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:$e.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:$e.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:$e.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:$e.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:$e.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:$e.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:$e.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:$e.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:$e.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:$e.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:$e.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:$e.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:$e.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:$e.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:$e.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:$e.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:$e.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:$e.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:$e.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:$e.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:$e.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:$e.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:$e.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:$e.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:$e.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:$e.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:$e.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:$e.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:$e.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:$e.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:$e.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:$e.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:$e.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:$e.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:$e.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:$e.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:$e.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:$e.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:$e.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:$e.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:$e.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:$e.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:$e.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:$e.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:$e.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:$e.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:$e.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:$e.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:$e.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:$e.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:$e.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:$e.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:$e.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:$e.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:$e.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:$e.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:$e.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:$e.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:$e.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:$e.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:$e.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:$e.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:$e.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:$e.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:$e.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:$e.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:$e.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:$e.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:$e.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:$e.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:$e.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:$e.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:$e.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:$e.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:$e.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:$e.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:$e.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:$e.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:$e.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:$e.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:$e.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:$e.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:$e.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:$e.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:$e.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:$e.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:$e.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:$e.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:$e.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:$e.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:$e.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:$e.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:$e.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:$e.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:$e.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:$e.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:$e.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:$e.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:$e.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:$e.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:$e.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:$e.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:$e.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:$e.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:$e.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:$e.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:$e.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:$e.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:$e.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:$e.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:$e.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:$e.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:$e.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:$e.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:$e.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:$e.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:$e.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:$e.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:$e.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:$e.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:$e.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:$e.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:$e.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:$e.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:$e.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:$e.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:$e.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:$e.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:$e.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:$e.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:$e.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:$e.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:$e.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:$e.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:$e.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:$e.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:$e.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:$e.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:$e.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:$e.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:$e.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:$e.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:$e.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:$e.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:$e.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:$e.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:$e.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:$e.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:$e.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:$e.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:$e.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:$e.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:$e.create("--ft-icon-size-6","","SIZE","48px"),opacity0:$e.create("--ft-opacity-0","","NUMBER","0"),opacity8:$e.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:$e.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:$e.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:$e.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:$e.create("--ft-opacity-80","","NUMBER","0.8")},Ee={display:{fontFamily:$e.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:$e.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:$e.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:$e.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:$e.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:$e.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:$e.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:$e.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:$e.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:$e.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:$e.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:$e.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:$e.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:$e.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:$e.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:$e.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:$e.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:$e.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:$e.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:$e.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:$e.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:$e.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:$e.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:$e.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:$e.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:$e.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:$e.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:$e.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:$e.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:$e.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:$e.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:$e.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:$e.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:$e.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:$e.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:$e.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:$e.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:$e.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:$e.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:$e.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:$e.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:$e.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:$e.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:$e.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:$e.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:$e.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},ke={backgroundActionPrimary:$e.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ce.colorBrand0),backgroundErrorPrimary:$e.extend("--ft-background-error-primary","Used as background of error components.",Ce.colorRed0),backgroundErrorSubtle:$e.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ce.colorRed10),backgroundInfoPrimary:$e.extend("--ft-background-info-primary","Used as background of information components.",Ce.colorCyan200),backgroundInfoSubtle:$e.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ce.colorCyan10),backgroundWarningPrimary:$e.extend("--ft-background-warning-primary","Used as background of warning components.",Ce.colorOrange300),backgroundWarningSubtle:$e.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ce.colorOrange10),backgroundSuccessPrimary:$e.extend("--ft-background-success-primary","Used as background of success components.",Ce.colorGreen200),backgroundSuccessSubtle:$e.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ce.colorGreen10),backgroundGlobalSurface:$e.extend("--ft-background-global-surface","Used as app background.",Ce.colorWhite),backgroundGlobalOnSurface:$e.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ce.colorGray10),backgroundGlobalOnSurfaceDark:$e.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ce.colorGray30),contentActionPrimary:$e.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ce.colorBrand0),contentWarningPrimary:$e.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ce.colorOrange300),contentWarningIconOnly:$e.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ce.colorOrange0),contentErrorPrimary:$e.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ce.colorRed0),contentErrorIconOnly:$e.extend("--ft-content-error-icon-only","Used on error status icons alone",Ce.colorRed0),contentInfoPrimary:$e.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ce.colorCyan200),contentInfoIconOnly:$e.extend("--ft-content-info-icon-only","Used on info status icons alone",Ce.colorCyan0),contentSuccessIconOnly:$e.extend("--ft-content-success-icon-only","Used on success status icons alone",Ce.colorGreen0),contentSuccessPrimary:$e.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ce.colorGreen200),contentGlobalPrimary:$e.extend("--ft-content-global-primary","Used for main content on the page.",Ce.colorGray500),contentGlobalSecondary:$e.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ce.colorGray200),contentGlobalSubtle:$e.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ce.colorGray0),contentGlobalOnColor:$e.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ce.colorWhite),borderActionPrimary:$e.extend("--ft-border-action-primary","Used as border for primary action components.",Ce.colorBrand0),borderActionFocusRing:$e.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ce.colorCyan0),borderWarningPrimary:$e.extend("--ft-border-warning-primary","Used as border for warning components.",Ce.colorOrange30),borderSuccessPrimary:$e.extend("--ft-border-success-primary","Used as border for success components.",Ce.colorGreen30),borderErrorPrimary:$e.extend("--ft-border-error-primary","Used as border for error components.",Ce.colorRed30),borderInfoPrimary:$e.extend("--ft-border-info-primary","Used as border for information components.",Ce.colorCyan30),borderGlobalSubtle:$e.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ce.colorGray30),borderGlobalPrimary:$e.extend("--ft-border-global-primary","Used as border for element like input.",Ce.colorGray50),borderInputPrimary:$e.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ce.colorGray80)},Re={largeHeight:$e.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:$e.extend("--ft-button-large-horizontal-padding","",Ce.spacing4),largeGap:$e.extend("--ft-button-large-gap","",Ce.spacing2),largeBorderRadius:$e.extend("--ft-button-large-border-radius","",Ce.borderRadiusS),largeIconSize:$e.extend("--ft-button-large-icon-size","",Ce.iconSize3),largeBorderWidth:$e.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:$e.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:$e.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:$e.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:$e.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:$e.extend("--ft-button-small-horizontal-padding","",Ce.spacing3),smallGap:$e.extend("--ft-button-small-gap","",Ce.spacing2),smallBorderRadius:$e.extend("--ft-button-small-border-radius","",Ce.borderRadiusS),smallIconSize:$e.extend("--ft-button-small-icon-size","",Ce.iconSize2),smallBorderWidth:$e.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:$e.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:$e.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:$e.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:$e.extend("--ft-button-primary-background-color","",ke.backgroundActionPrimary),primaryColor:$e.extend("--ft-button-primary-color","",ke.contentGlobalOnColor),primaryIconColor:$e.extend("--ft-button-primary-icon-color","",ke.contentGlobalOnColor),primaryStateLayerColor:$e.extend("--ft-button-primary-state-layer-color","",ke.contentGlobalOnColor),primaryStateLayerOpacityHover:$e.extend("--ft-button-primary-state-layer-opacity-hover","",Ce.opacity16),primaryStateLayerOpacityFocus:$e.extend("--ft-button-primary-state-layer-opacity-focus","",Ce.opacity16),primaryStateLayerOpacityActive:$e.extend("--ft-button-primary-state-layer-opacity-active","",Ce.opacity24),primaryComponentOpacityDisabled:$e.extend("--ft-button-primary-component-opacity-disabled","",Ce.opacity40),focusFocusRingColor:$e.extend("--ft-button-focus-focus-ring-color","",ke.borderActionFocusRing),tertiaryBackgroundColor:$e.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:$e.extend("--ft-button-tertiary-color","",ke.contentActionPrimary),tertiaryIconColor:$e.extend("--ft-button-tertiary-icon-color","",ke.contentActionPrimary),tertiaryStateLayerColor:$e.extend("--ft-button-tertiary-state-layer-color","",ke.contentActionPrimary),tertiaryStateLayerOpacityHover:$e.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ce.opacity8),tertiaryStateLayerOpacityFocus:$e.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ce.opacity8),tertiaryStateLayerOpacityActive:$e.extend("--ft-button-tertiary-state-layer-opacity-active","",Ce.opacity16),tertiaryComponentOpacityDisabled:$e.extend("--ft-button-tertiary-component-opacity-disabled","",Ce.opacity40),secondaryBackgroundColor:$e.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:$e.extend("--ft-button-secondary-color","",ke.contentActionPrimary),secondaryIconColor:$e.extend("--ft-button-secondary-icon-color","",ke.contentActionPrimary),secondaryStateLayerColor:$e.extend("--ft-button-secondary-state-layer-color","",ke.contentActionPrimary),secondaryStateLayerOpacityHover:$e.extend("--ft-button-secondary-state-layer-opacity-hover","",Ce.opacity8),secondaryStateLayerOpacityFocus:$e.extend("--ft-button-secondary-state-layer-opacity-focus","",Ce.opacity8),secondaryStateLayerOpacityActive:$e.extend("--ft-button-secondary-state-layer-opacity-active","",Ce.opacity16),secondaryComponentOpacityDisabled:$e.extend("--ft-button-secondary-component-opacity-disabled","",Ce.opacity40),secondaryBorderColor:$e.extend("--ft-button-secondary-border-color","",ke.borderActionPrimary),neutralBackgroundColor:$e.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:$e.extend("--ft-button-neutral-icon-color","",ke.contentGlobalSecondary),neutralColor:$e.extend("--ft-button-neutral-color","",ke.contentGlobalSecondary),neutralStateLayerColor:$e.extend("--ft-button-neutral-state-layer-color","",ke.contentGlobalSecondary),neutralStateLayerOpacityHover:$e.extend("--ft-button-neutral-state-layer-opacity-hover","",Ce.opacity8),neutralStateLayerOpacityFocus:$e.extend("--ft-button-neutral-state-layer-opacity-focus","",Ce.opacity8),neutralStateLayerOpacityActive:$e.extend("--ft-button-neutral-state-layer-opacity-active","",Ce.opacity16),neutralComponentOpacityDisabled:$e.extend("--ft-button-neutral-component-opacity-disabled","",Ce.opacity40)};$e.extend("--ft-tabs-top-left-border-radius","",Ce.borderRadiusS),$e.extend("--ft-tabs-top-right-border-radius","",Ce.borderRadiusS),$e.extend("--ft-tabs-label-horizontal-padding","",Ce.spacing4),$e.extend("--ft-tabs-label-vertical-padding","",Ce.spacing3),$e.extend("--ft-tabs-label-gap","",Ce.spacing1),$e.extend("--ft-switch-group-horizontal-padding","",Ce.spacing1),$e.extend("--ft-switch-group-vertical-padding","",Ce.spacing1),$e.extend("--ft-switch-group-gap","",Ce.spacing1),$e.extend("--ft-switch-group-background-color","",ke.backgroundGlobalSurface),$e.extend("--ft-switch-group-border-color","",ke.borderGlobalSubtle),$e.create("--ft-switch-group-border-radius","","SIZE","6px"),$e.extend("--ft-switch-label-horizontal-padding","",Ce.spacing2),$e.extend("--ft-switch-label-vertical-padding","",Ce.spacing1),$e.extend("--ft-switch-icon-horizontal-padding","",Ce.spacing1),$e.extend("--ft-switch-icon-vertical-padding","",Ce.spacing1),$e.create("--ft-switch-focus-outline-width","","SIZE","2px"),$e.extend("--ft-switch-focus-focus-ring-color","",ke.borderActionFocusRing),$e.extend("--ft-switch-option-border-radius","",Ce.borderRadiusS),$e.extend("--ft-switch-off-state-layer-opacity-hover","",Ce.opacity8),$e.extend("--ft-switch-off-state-layer-opacity-focus","",Ce.opacity8),$e.extend("--ft-switch-off-state-layer-opacity-active","",Ce.opacity16),$e.extend("--ft-switch-off-component-opacity-disabled","",Ce.opacity40),$e.extend("--ft-switch-off-color","",ke.contentGlobalSubtle),$e.extend("--ft-switch-off-state-layer-color","",ke.contentGlobalSubtle),$e.extend("--ft-chart-1-light","for area color charts",Ce.colorBrand40),$e.extend("--ft-chart-1-base","for line charts",Ce.colorBrand0),$e.extend("--ft-chart-2-light","for area color charts",Ce.colorYellow60),$e.extend("--ft-chart-2-base","for line charts",Ce.colorYellow100),$e.extend("--ft-chart-3-light","",Ce.colorUltramarine40),$e.extend("--ft-chart-3-base","",Ce.colorUltramarine70),$e.extend("--ft-chart-4-light","",Ce.colorCyan50),$e.extend("--ft-chart-4-base","",Ce.colorCyan100),$e.extend("--ft-chart-5-light","",Ce.colorRed40),$e.extend("--ft-chart-5-base","",Ce.colorRed60),$e.extend("--ft-chart-6-light","",Ce.colorGreen40),$e.extend("--ft-chart-6-base","",Ce.colorGreen70),$e.extend("--ft-chart-7-light","",Ce.colorOrange70),$e.extend("--ft-chart-7-base","",Ce.colorOrange100),$e.extend("--ft-chart-8-light","",Ce.colorAvocado70),$e.extend("--ft-chart-8-base","",Ce.colorAvocado200),$e.extend("--ft-chart-9-light","",Ce.colorBrown50),$e.extend("--ft-chart-9-base","",Ce.colorBrown200),$e.extend("--ft-chart-10-light","",Ce.colorGray50),$e.extend("--ft-chart-10-base","",Ce.colorGray80),$e.extend("--ft-chart-monochrome-10","",Ce.colorBrand10),$e.extend("--ft-chart-monochrome-20","",Ce.colorBrand20),$e.extend("--ft-chart-monochrome-30","",Ce.colorBrand40),$e.extend("--ft-chart-monochrome-40","",Ce.colorBrand60),$e.extend("--ft-chart-monochrome-50","",Ce.colorBrand0),$e.extend("--ft-chart-monochrome-60","",Ce.colorBrand200),$e.extend("--ft-chip-large-horizontal-padding","",Ce.spacing4),$e.extend("--ft-chip-large-vertical-padding","",Ce.spacing2),$e.extend("--ft-chip-large-gap","",Ce.spacing1),$e.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),$e.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),$e.extend("--ft-chip-large-border-radius","",Ce.borderRadiusPill),$e.create("--ft-chip-large-border-width","","SIZE","1px"),$e.extend("--ft-chip-large-icon-size","",Ce.iconSize3),$e.extend("--ft-chip-medium-horizontal-padding","",Ce.spacing3),$e.extend("--ft-chip-medium-vertical-padding","",Ce.spacing1),$e.extend("--ft-chip-medium-gap","",Ce.spacing1),$e.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),$e.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),$e.extend("--ft-chip-medium-border-radius","",Ce.borderRadiusPill),$e.create("--ft-chip-medium-border-width","","SIZE","1px"),$e.extend("--ft-chip-medium-icon-size","",Ce.iconSize2),$e.extend("--ft-chip-small-horizontal-padding","",Ce.spacing2),$e.extend("--ft-chip-small-vertical-padding","",Ce.spacing05),$e.extend("--ft-chip-small-gap","",Ce.spacing1),$e.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),$e.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),$e.extend("--ft-chip-small-border-radius","",Ce.borderRadiusPill),$e.create("--ft-chip-small-border-width","","SIZE","1px"),$e.extend("--ft-chip-small-icon-size","",Ce.iconSize1),$e.extend("--ft-chip-neutral-background-color","",ke.backgroundGlobalOnSurface),$e.extend("--ft-chip-neutral-color","",ke.contentGlobalPrimary),$e.extend("--ft-chip-neutral-border-color","",ke.borderGlobalSubtle),$e.extend("--ft-chip-info-background-color","",ke.backgroundInfoSubtle),$e.extend("--ft-chip-info-color","",ke.contentInfoPrimary),$e.extend("--ft-chip-info-border-color","",ke.borderInfoPrimary),$e.extend("--ft-chip-success-background-color","",ke.backgroundSuccessSubtle),$e.extend("--ft-chip-success-color","",ke.contentSuccessPrimary),$e.extend("--ft-chip-success-border-color","",ke.borderSuccessPrimary),$e.extend("--ft-chip-warning-background-color","",ke.backgroundWarningSubtle),$e.extend("--ft-chip-warning-color","",ke.contentWarningPrimary),$e.extend("--ft-chip-warning-border-color","",ke.borderWarningPrimary),$e.extend("--ft-chip-error-background-color","",ke.backgroundErrorSubtle),$e.extend("--ft-chip-error-color","",ke.contentErrorPrimary),$e.extend("--ft-chip-error-border-color","",ke.borderErrorPrimary),$e.create("--ft-notice-border-width","","SIZE","1px"),$e.extend("--ft-notice-horizontal-padding","",Ce.spacing2),$e.extend("--ft-notice-vertical-padding","",Ce.spacing1),$e.extend("--ft-notice-border-radius","",Ce.borderRadiusS),$e.extend("--ft-notice-gap","",Ce.spacing2),$e.extend("--ft-notice-icon-size","",Ce.iconSize3),$e.extend("--ft-notice-info-background-color","",ke.backgroundInfoSubtle),$e.extend("--ft-notice-info-border-color","",ke.borderInfoPrimary),$e.extend("--ft-notice-info-color","",ke.contentInfoPrimary),$e.extend("--ft-notice-warning-background-color","",ke.backgroundWarningSubtle),$e.extend("--ft-notice-warning-border-color","",ke.borderWarningPrimary),$e.extend("--ft-notice-warning-color","",ke.contentWarningPrimary),$e.extend("--ft-checkbox-label-color","",ke.contentGlobalPrimary),$e.extend("--ft-checkbox-checked-background-color","",ke.contentActionPrimary),$e.extend("--ft-checkbox-checked-state-layer-color","",ke.contentActionPrimary),$e.extend("--ft-checkbox-checked-color","",ke.contentGlobalOnColor),$e.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ce.opacity16),$e.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ce.opacity16),$e.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ce.opacity24),$e.extend("--ft-checkbox-checked-component-opacity-disabled","",Ce.opacity40),$e.extend("--ft-checkbox-unchecked-border-color","",Ce.colorGray80),$e.extend("--ft-checkbox-unchecked-state-layer-color","",Ce.colorGray80),$e.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ce.opacity16),$e.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ce.opacity16),$e.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ce.opacity24),$e.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ce.opacity40),$e.extend("--ft-checkbox-focus-focus-ring-color","",ke.borderActionFocusRing),$e.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),$e.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),$e.extend("--ft-checkbox-gap","",Ce.spacing3),$e.extend("--ft-toggle-off-state-layer-opacity-hover","",Ce.opacity16),$e.extend("--ft-toggle-off-state-layer-opacity-focus","",Ce.opacity16),$e.extend("--ft-toggle-off-state-layer-opacity-active","",Ce.opacity24),$e.extend("--ft-toggle-off-component-opacity-disabled","",Ce.opacity40),$e.extend("--ft-toggle-off-background-color","",ke.contentGlobalSubtle),$e.extend("--ft-toggle-off-icon-color","",ke.contentGlobalSubtle),$e.extend("--ft-toggle-off-state-layer-color","",ke.contentGlobalSubtle),$e.extend("--ft-toggle-on-state-layer-opacity-hover","",Ce.opacity16),$e.extend("--ft-toggle-on-state-layer-opacity-focus","",Ce.opacity16),$e.extend("--ft-toggle-on-state-layer-opacity-active","",Ce.opacity24),$e.extend("--ft-toggle-on-component-opacity-disabled","",Ce.opacity40),$e.extend("--ft-toggle-on-background-color","",ke.contentActionPrimary),$e.extend("--ft-toggle-on-icon-color","",ke.contentActionPrimary),$e.extend("--ft-toggle-on-state-layer-color","",ke.contentActionPrimary),$e.extend("--ft-toggle-label-color","",ke.contentGlobalPrimary),$e.extend("--ft-toggle-focus-focus-ring-color","",ke.borderActionFocusRing),$e.extend("--ft-toggle-gap","",Ce.spacing3),$e.extend("--ft-radio-label-color","",ke.contentGlobalPrimary),$e.extend("--ft-radio-selected-color","",ke.contentActionPrimary),$e.extend("--ft-radio-selected-state-layer-color","",ke.contentActionPrimary),$e.extend("--ft-radio-selected-state-layer-opacity-hover","",Ce.opacity16),$e.extend("--ft-radio-selected-state-layer-opacity-focus","",Ce.opacity16),$e.extend("--ft-radio-selected-state-layer-opacity-active","",Ce.opacity24),$e.extend("--ft-radio-selected-component-opacity-disabled","",Ce.opacity40),$e.extend("--ft-radio-unselected-state-layer-color","",Ce.colorGray80),$e.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ce.opacity16),$e.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ce.opacity16),$e.extend("--ft-radio-unselected-state-layer-opacity-active","",Ce.opacity24),$e.extend("--ft-radio-unselected-component-opacity-disabled","",Ce.opacity40),$e.extend("--ft-radio-focus-focus-ring-color","",ke.borderActionFocusRing),$e.create("--ft-radio-focus-outline-offset","","SIZE","3px"),$e.create("--ft-radio-focus-outline-width","","SIZE","2px"),$e.extend("--ft-radio-gap","",Ce.spacing3),$e.extend("--ft-notification-icon-size","",Ce.iconSize4),$e.extend("--ft-notification-horizontal-padding","",Ce.spacing4),$e.extend("--ft-notification-vertical-padding","",Ce.spacing4),$e.extend("--ft-notification-info-background-color","",ke.backgroundInfoSubtle),$e.extend("--ft-notification-info-color","",ke.contentInfoPrimary),$e.extend("--ft-notification-info-border-color","",ke.borderInfoPrimary),$e.extend("--ft-notification-success-background-color","",ke.backgroundSuccessSubtle),$e.extend("--ft-notification-success-color","",ke.contentSuccessPrimary),$e.extend("--ft-notification-success-border-color","",ke.borderSuccessPrimary),$e.extend("--ft-notification-warning-background-color","",ke.backgroundWarningSubtle),$e.extend("--ft-notification-warning-color","",ke.contentWarningPrimary),$e.extend("--ft-notification-warning-border-color","",ke.borderWarningPrimary),$e.extend("--ft-notification-error-background-color","",ke.backgroundErrorSubtle),$e.extend("--ft-notification-error-color","",ke.contentErrorPrimary),$e.extend("--ft-notification-error-border-color","",ke.borderErrorPrimary),$e.extend("--ft-notification-border-radius","",Ce.borderRadiusPill),$e.create("--ft-notification-border-width","","SIZE","1px"),$e.extend("--ft-notification-gap-leading","",Ce.spacing2),$e.extend("--ft-notification-gap-trailing","",Ce.spacing8);const Ue={colorPrimary:$e.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:$e.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:$e.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:$e.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:$e.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:$e.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:$e.create("--ft-color-error","","COLOR","#B00020"),colorOutline:$e.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:$e.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:$e.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:$e.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:$e.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:$e.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:$e.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:$e.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:$e.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:$e.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:$e.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:$e.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:$e.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:$e.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:$e.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:$e.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:$e.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:$e.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:$e.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:$e.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:$e.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:$e.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:$e.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:$e.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:$e.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:$e.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:$e.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:$e.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:$e.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:$e.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:$e.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:$e.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:$e.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:$e.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:$e.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:$e.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:$e.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:$e.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:$e.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:$e.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:$e.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:$e.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:$e.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:$e.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ie=["start","end"],Le=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Ie[0],e+"-"+Ie[1])),[]),We=Math.min,ze=Math.max,Fe=Math.round,Ze=t=>({x:t,y:t}),Ke={left:"right",right:"left",bottom:"top",top:"bottom"},De={start:"end",end:"start"};function Be(t,e,o){return ze(t,We(e,o))}function Ae(t,e){return"function"==typeof t?t(e):t}function Me(t){return t.split("-")[0]}function Pe(t){return t.split("-")[1]}function He(t){return"x"===t?"y":"x"}function je(t){return"y"===t?"height":"width"}function Te(t){return["top","bottom"].includes(Me(t))?"y":"x"}function _e(t){return He(Te(t))}function Ge(t){return t.replace(/left|right|bottom|top/g,(t=>Ke[t]))}function Ve(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ye(t,e,o){let{reference:i,floating:r}=t;const n=Te(e),a=_e(e),s=je(a),l=Me(e),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,d=i[s]/2-r[s]/2;let h;switch(l){case"top":h={x:f,y:i.y-r.height};break;case"bottom":h={x:f,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:p};break;case"left":h={x:i.x-r.width,y:p};break;default:h={x:i.x,y:i.y}}switch(Pe(e)){case"start":h[a]-=d*(o&&c?-1:1);break;case"end":h[a]+=d*(o&&c?-1:1)}return h}async function Je(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=Ae(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),y=s[d?"floating"===p?"reference":"floating":p],g=Ve(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=Ve(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function qe(t,e,o){return(t?[...o.filter((e=>Pe(e)===t)),...o.filter((e=>Pe(e)!==t))]:o.filter((t=>Me(t)===t))).filter((o=>!t||(Pe(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>De[t]))}(o)!==o)))}const Xe=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:d=Le,autoAlignment:h=!0,...u}=Ae(t,e),y=void 0!==p||d===Le?qe(p||null,h,d):d,g=await Je(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=Pe(t),r=_e(t),n=je(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Ge(a)),[a,Ge(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[Me(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Pe(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),$=S.filter((t=>t[2].slice(0,Pe(t[0])?2:3).every((t=>t<=0)))),N=(null==(r=$[0])?void 0:r[0])||S[0][0];return N!==s?{data:{index:b+1,overflows:O},reset:{placement:N}}:{}}}};function Qe(t){return oo(t)?(t.nodeName||"").toLowerCase():"#document"}function to(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function eo(t){var e;return null==(e=(oo(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function oo(t){return t instanceof Node||t instanceof to(t).Node}function io(t){return t instanceof Element||t instanceof to(t).Element}function ro(t){return t instanceof HTMLElement||t instanceof to(t).HTMLElement}function no(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof to(t).ShadowRoot)}function ao(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=po(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function so(t){return["table","td","th"].includes(Qe(t))}function lo(t){const e=co(),o=po(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function co(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function fo(t){return["html","body","#document"].includes(Qe(t))}function po(t){return to(t).getComputedStyle(t)}function ho(t){return io(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function uo(t){if("html"===Qe(t))return t;const e=t.assignedSlot||t.parentNode||no(t)&&t.host||eo(t);return no(e)?e.host:e}function yo(t){const e=uo(t);return fo(e)?t.ownerDocument?t.ownerDocument.body:t.body:ro(e)&&ao(e)?e:yo(e)}function go(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=yo(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=to(r);return n?e.concat(a,a.visualViewport||[],ao(r)?r:[],a.frameElement&&o?go(a.frameElement):[]):e.concat(r,go(r,[],o))}function bo(t){const e=po(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=ro(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Fe(o)!==n||Fe(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function mo(t){return io(t)?t:t.contextElement}function xo(t){const e=mo(t);if(!ro(e))return Ze(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=bo(e);let a=(n?Fe(o.width):o.width)/i,s=(n?Fe(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const vo=Ze(0);function Oo(t){const e=to(t);return co()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:vo}function wo(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=mo(t);let a=Ze(1);e&&(i?io(i)&&(a=xo(i)):a=xo(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==to(t))&&e}(n,o,i)?Oo(n):Ze(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=to(n),e=i&&io(i)?to(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=xo(o),e=o.getBoundingClientRect(),i=po(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=r,c+=n,o=to(o).frameElement}}return Ve({width:f,height:p,x:l,y:c})}function So(t){return wo(eo(t)).left+ho(t).scrollLeft}function $o(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=to(t),i=eo(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=co();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=eo(t),o=ho(t),i=t.ownerDocument.body,r=ze(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=ze(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+So(t);const s=-o.scrollTop;return"rtl"===po(i).direction&&(a+=ze(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(eo(t));else if(io(e))i=function(t,e){const o=wo(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=ro(t)?xo(t):Ze(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=Oo(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Ve(i)}function No(t,e){const o=uo(t);return!(o===e||!io(o)||fo(o))&&("fixed"===po(o).position||No(o,e))}function Co(t,e,o){const i=ro(e),r=eo(e),n="fixed"===o,a=wo(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Ze(0);if(i||!i&&!n)if(("body"!==Qe(e)||ao(r))&&(s=ho(e)),i){const t=wo(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=So(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Eo(t,e){return ro(t)&&"fixed"!==po(t).position?e?e(t):t.offsetParent:null}function ko(t,e){const o=to(t);if(!ro(t))return o;let i=Eo(t,e);for(;i&&so(i)&&"static"===po(i).position;)i=Eo(i,e);return i&&("html"===Qe(i)||"body"===Qe(i)&&"static"===po(i).position&&!lo(i))?o:i||function(t){let e=uo(t);for(;ro(e)&&!fo(e);){if(lo(e))return e;e=uo(e)}return null}(t)||o}const Ro={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=ro(o),n=eo(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Ze(1);const l=Ze(0);if((r||!r&&"fixed"!==i)&&(("body"!==Qe(o)||ao(n))&&(a=ho(o)),ro(o))){const t=wo(o);s=xo(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:eo,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=go(t,[],!1).filter((t=>io(t)&&"body"!==Qe(t))),r=null;const n="fixed"===po(t).position;let a=n?uo(t):t;for(;io(a)&&!fo(a);){const e=po(a),o=lo(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||ao(a)&&!o&&No(t,a))?i=i.filter((t=>t!==a)):r=e,a=uo(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=$o(e,o,r);return t.top=ze(i.top,t.top),t.right=We(i.right,t.right),t.bottom=We(i.bottom,t.bottom),t.left=ze(i.left,t.left),t}),$o(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:ko,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||ko,n=this.getDimensions;return{reference:Co(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return bo(t)},getScale:xo,isElement:io,isRTL:function(t){return"rtl"===po(t).direction}},Uo=(t,e,o)=>{const i=new Map,r={platform:Ro,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:p}=Ye(c,i,l),d=i,h={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:f,y:p,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:f,y:p}=Ye(c,d,l))),o=-1)}return{x:f,y:p,placement:d,strategy:r,middlewareData:h}})(t,e,{...r,platform:n})};function Io(t){return function(t){for(let e=t;e;e=Lo(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Lo(t);e;e=Lo(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Lo(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
|
|
92
92
|
/**
|
|
93
93
|
* @license
|
|
94
94
|
* Copyright 2019 Google LLC
|
|
95
95
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
96
|
-
*/
|
|
96
|
+
*/
|
|
97
|
+
const Wo=window,zo=Wo.ShadowRoot&&(void 0===Wo.ShadyCSS||Wo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Fo extends Oe{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)=>{zo?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Wo.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Zo,Ko=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 Do=Symbol("constructorPrototype"),Bo=Symbol("constructorName"),Ao=Symbol("exportpartsDebouncer");class Mo extends Fo{constructor(){super(),this[Zo]=new e(5),this[Bo]=this.constructor.name,this[Do]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Bo]&&Object.setPrototypeOf(this,this[Do])}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[Ao].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 f=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Zo=Ao,Ko([N()],Mo.prototype,"exportpartsPrefix",void 0),Ko([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)=>!I(t,e),...null!=e?e:{}})}([])],Mo.prototype,"exportpartsPrefixes",void 0),Ko([N()],Mo.prototype,"customStylesheet",void 0);const Po=$e.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");St`
|
|
97
98
|
.highlight-html-match {
|
|
98
|
-
background: ${
|
|
99
|
+
background: ${Po};
|
|
99
100
|
}
|
|
100
|
-
`;const
|
|
101
|
+
`;const Ho=St`
|
|
101
102
|
.ft-no-text-select {
|
|
102
103
|
-webkit-touch-callout: none;
|
|
103
104
|
-webkit-user-select: none;
|
|
@@ -118,7 +119,7 @@ let Oe=class extends Bt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
118
119
|
-webkit-hyphens: auto;
|
|
119
120
|
hyphens: auto
|
|
120
121
|
}
|
|
121
|
-
`;const
|
|
122
|
+
`;const jo=St`
|
|
122
123
|
.ft-safari-ellipsis-fix {
|
|
123
124
|
margin-right: 0;
|
|
124
125
|
|
|
@@ -129,17 +130,17 @@ let Oe=class extends Bt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
129
130
|
display: inline-block;
|
|
130
131
|
width: 0;
|
|
131
132
|
}
|
|
132
|
-
`;function
|
|
133
|
+
`;function To(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var _o,Go,Vo;const Yo=Symbol("internalReduxEventsUnsubscribers"),Jo=Symbol("internalStoresUnsubscribers"),qo=Symbol("internalStores");class Xo extends Mo{constructor(){super(...arguments),this[_o]=new Map,this[Go]=new Map,this[Vo]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[qo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[qo].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[qo].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:To(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[qo].delete(e)}setupStore(t,e){this[qo].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[qo].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[Jo].has(t.store):this[Jo].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[Jo].set(t,e.subscribe((()=>this.updateFromStores()))),To(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[Yo].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Jo].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Yo].forEach((t=>t())),this[Yo]=[]}unsubscribeFromStore(t){this[Jo].has(t)&&this[Jo].get(t)(),this[Jo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}_o=Jo,Go=qo,Vo=Yo,Xo.reduxProperties=new Map,Xo.reduxReactiveProperties=new Set,Xo.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={});const Qo=Symbol("elementInternals");function ti(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Qo].form}constructor(...t){super(t),this[Qo]=this.attachInternals(),this[Qo].role=e}setFormValue(t){this[Qo].setFormValue(t)}}}var ei,oi,ii;const ri=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ii=null===(oi=null===(ei=window.safari)||void 0===ei?void 0:ei.pushNotification)||void 0===oi?void 0:oi.toString())&&void 0!==ii?ii:""),ni=1,ai=2,si=t=>(...e)=>({_$litDirective$:t,values:e});
|
|
133
134
|
/**
|
|
134
135
|
* @license
|
|
135
136
|
* Copyright 2017 Google LLC
|
|
136
137
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
137
|
-
*/let
|
|
138
|
+
*/let li=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)}};
|
|
138
139
|
/**
|
|
139
140
|
* @license
|
|
140
141
|
* Copyright 2020 Google LLC
|
|
141
142
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
142
|
-
*/const{D:
|
|
143
|
+
*/const{D:ci}=yt,fi=()=>document.createComment(""),pi=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(fi(),r),n=i.insertBefore(fi(),r);o=new ci(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},di=(t,e,o=t)=>(t._$AI(e,o),t),hi={},ui=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}},yi=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},gi=si(class extends li{constructor(t){if(super(t),t.type!==ai)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,f,p=0,d=r.length-1,h=0,u=n.length-1;for(;p<=d&&h<=u;)if(null===r[p])p++;else if(null===r[d])d--;else if(s[p]===a[h])l[h]=di(r[p],n[h]),p++,h++;else if(s[d]===a[u])l[u]=di(r[d],n[u]),d--,u--;else if(s[p]===a[u])l[u]=di(r[p],n[u]),pi(t,l[u+1],r[p]),p++,u--;else if(s[d]===a[h])l[h]=di(r[d],n[h]),pi(t,r[p],r[d]),d--,h++;else if(void 0===c&&(c=yi(a,h,u),f=yi(s,p,d)),c.has(s[p]))if(c.has(s[d])){const e=f.get(a[h]),o=void 0!==e?r[e]:null;if(null===o){const e=pi(t,r[p]);di(e,n[h]),l[h]=e}else l[h]=di(o,n[h]),pi(t,r[p],o),r[e]=null;h++}else ui(r[d]),d--;else ui(r[p]),p++;for(;h<=u;){const e=pi(t,l[u+1]);di(e,n[h]),l[h++]=e}for(;p<=d;){const t=r[p++];null!==t&&ui(t)}return this.dt=a,((t,e=hi)=>{t._$AH=e})(t,l),tt}});
|
|
143
144
|
/**
|
|
144
145
|
* @license
|
|
145
146
|
* Copyright 2017 Google LLC
|
|
@@ -150,107 +151,107 @@ let Oe=class extends Bt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
150
151
|
* Copyright 2017 Google LLC
|
|
151
152
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
152
153
|
*/
|
|
153
|
-
let
|
|
154
|
+
let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===et||null==t)return this.vt=void 0,this.et=t;if(t===tt)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:[]}}};bi.directiveName="unsafeHTML",bi.resultType=1;const mi=si(bi),xi=si(class extends li{constructor(t){if(super(t),t.type!==ni||"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 tt}}),vi=Symbol.for(""),Oi=t=>{if(t?.r===vi)return t?._$litStatic$},wi=t=>({_$litStatic$:t,r:vi}),Si=new Map,$i=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,f=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=Oi(n));)l+=r+e[++c],f=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),f){const t=a.join("$$lit$$");void 0===(e=Si.get(t))&&(a.raw=a,Si.set(t,e=a)),o=s}return t(e,...o)})(Q);
|
|
154
155
|
/**
|
|
155
156
|
* @license
|
|
156
157
|
* Copyright 2018 Google LLC
|
|
157
158
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
158
|
-
*/var
|
|
159
|
+
*/var Ni;!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"}(Ni||(Ni={}));const Ci=$e.extend("--ft-typography-font-family","",Ue.titleFont),Ei=$e.extend("--ft-typography-font-family","",Ue.contentFont),ki={fontFamily:Ei,fontSize:$e.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:$e.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:$e.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:$e.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:$e.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ri=$e.extend("--ft-typography-title-font-family","",Ci),Ui=$e.extend("--ft-typography-title-font-size","",ki.fontSize,"20px"),Ii=$e.extend("--ft-typography-title-font-weight","",ki.fontWeight,"normal"),Li=$e.extend("--ft-typography-title-letter-spacing","",ki.letterSpacing,"0.15px"),Wi=$e.extend("--ft-typography-title-line-height","",ki.lineHeight,"1.2"),zi=$e.extend("--ft-typography-title-text-transform","",ki.textTransform,"inherit"),Fi=$e.extend("--ft-typography-title-dense-font-family","",Ci),Zi=$e.extend("--ft-typography-title-dense-font-size","",ki.fontSize,"14px"),Ki=$e.extend("--ft-typography-title-dense-font-weight","",ki.fontWeight,"normal"),Di=$e.extend("--ft-typography-title-dense-letter-spacing","",ki.letterSpacing,"0.105px"),Bi=$e.extend("--ft-typography-title-dense-line-height","",ki.lineHeight,"1.7"),Ai=$e.extend("--ft-typography-title-dense-text-transform","",ki.textTransform,"inherit"),Mi=$e.extend("--ft-typography-subtitle1-font-family","",Ei),Pi=$e.extend("--ft-typography-subtitle1-font-size","",ki.fontSize,"16px"),Hi=$e.extend("--ft-typography-subtitle1-font-weight","",ki.fontWeight,"600"),ji=$e.extend("--ft-typography-subtitle1-letter-spacing","",ki.letterSpacing,"0.144px"),Ti=$e.extend("--ft-typography-subtitle1-line-height","",ki.lineHeight,"1.5"),_i=$e.extend("--ft-typography-subtitle1-text-transform","",ki.textTransform,"inherit"),Gi=$e.extend("--ft-typography-subtitle2-font-family","",Ei),Vi=$e.extend("--ft-typography-subtitle2-font-size","",ki.fontSize,"14px"),Yi=$e.extend("--ft-typography-subtitle2-font-weight","",ki.fontWeight,"normal"),Ji=$e.extend("--ft-typography-subtitle2-letter-spacing","",ki.letterSpacing,"0.098px"),qi=$e.extend("--ft-typography-subtitle2-line-height","",ki.lineHeight,"1.7"),Xi=$e.extend("--ft-typography-subtitle2-text-transform","",ki.textTransform,"inherit"),Qi={fontFamily:$e.extend("--ft-typography-body1-font-family","",Ei),fontSize:$e.extend("--ft-typography-body1-font-size","",ki.fontSize,"16px"),fontWeight:$e.extend("--ft-typography-body1-font-weight","",ki.fontWeight,"normal"),letterSpacing:$e.extend("--ft-typography-body1-letter-spacing","",ki.letterSpacing,"0.496px"),lineHeight:$e.extend("--ft-typography-body1-line-height","",ki.lineHeight,"1.5"),textTransform:$e.extend("--ft-typography-body1-text-transform","",ki.textTransform,"inherit")},tr=$e.extend("--ft-typography-body2-font-family","",Ei),er=$e.extend("--ft-typography-body2-font-size","",ki.fontSize,"14px"),or=$e.extend("--ft-typography-body2-font-weight","",ki.fontWeight,"normal"),ir=$e.extend("--ft-typography-body2-letter-spacing","",ki.letterSpacing,"0.252px"),rr=$e.extend("--ft-typography-body2-line-height","",ki.lineHeight,"1.4"),nr=$e.extend("--ft-typography-body2-text-transform","",ki.textTransform,"inherit"),ar={fontFamily:$e.extend("--ft-typography-caption-font-family","",Ei),fontSize:$e.extend("--ft-typography-caption-font-size","",ki.fontSize,"12px"),fontWeight:$e.extend("--ft-typography-caption-font-weight","",ki.fontWeight,"normal"),letterSpacing:$e.extend("--ft-typography-caption-letter-spacing","",ki.letterSpacing,"0.396px"),lineHeight:$e.extend("--ft-typography-caption-line-height","",ki.lineHeight,"1.33"),textTransform:$e.extend("--ft-typography-caption-text-transform","",ki.textTransform,"inherit")},sr=$e.extend("--ft-typography-breadcrumb-font-family","",Ei),lr=$e.extend("--ft-typography-breadcrumb-font-size","",ki.fontSize,"10px"),cr=$e.extend("--ft-typography-breadcrumb-font-weight","",ki.fontWeight,"normal"),fr=$e.extend("--ft-typography-breadcrumb-letter-spacing","",ki.letterSpacing,"0.33px"),pr=$e.extend("--ft-typography-breadcrumb-line-height","",ki.lineHeight,"1.6"),dr=$e.extend("--ft-typography-breadcrumb-text-transform","",ki.textTransform,"inherit"),hr=$e.extend("--ft-typography-overline-font-family","",Ei),ur=$e.extend("--ft-typography-overline-font-size","",ki.fontSize,"10px"),yr=$e.extend("--ft-typography-overline-font-weight","",ki.fontWeight,"normal"),gr=$e.extend("--ft-typography-overline-letter-spacing","",ki.letterSpacing,"1.5px"),br=$e.extend("--ft-typography-overline-line-height","",ki.lineHeight,"1.6"),mr=$e.extend("--ft-typography-overline-text-transform","",ki.textTransform,"uppercase"),xr={fontFamily:$e.extend("--ft-typography-button-font-family","",Ei),fontSize:$e.extend("--ft-typography-button-font-size","",ki.fontSize,"14px"),fontWeight:$e.extend("--ft-typography-button-font-weight","",ki.fontWeight,"600"),letterSpacing:$e.extend("--ft-typography-button-letter-spacing","",ki.letterSpacing,"1.246px"),lineHeight:$e.extend("--ft-typography-button-line-height","",ki.lineHeight,"1.15"),textTransform:$e.extend("--ft-typography-button-text-transform","",ki.textTransform,"uppercase")},vr=St`
|
|
159
160
|
.ft-typography--title {
|
|
160
|
-
font-family: ${
|
|
161
|
-
font-size: ${
|
|
162
|
-
font-weight: ${
|
|
163
|
-
letter-spacing: ${
|
|
164
|
-
line-height: ${
|
|
165
|
-
text-transform: ${
|
|
166
|
-
}
|
|
167
|
-
`,
|
|
161
|
+
font-family: ${Ri};
|
|
162
|
+
font-size: ${Ui};
|
|
163
|
+
font-weight: ${Ii};
|
|
164
|
+
letter-spacing: ${Li};
|
|
165
|
+
line-height: ${Wi};
|
|
166
|
+
text-transform: ${zi};
|
|
167
|
+
}
|
|
168
|
+
`,Or=St`
|
|
168
169
|
.ft-typography--title-dense {
|
|
169
|
-
font-family: ${
|
|
170
|
-
font-size: ${
|
|
171
|
-
font-weight: ${
|
|
172
|
-
letter-spacing: ${
|
|
173
|
-
line-height: ${
|
|
174
|
-
text-transform: ${
|
|
175
|
-
}
|
|
176
|
-
`,
|
|
170
|
+
font-family: ${Fi};
|
|
171
|
+
font-size: ${Zi};
|
|
172
|
+
font-weight: ${Ki};
|
|
173
|
+
letter-spacing: ${Di};
|
|
174
|
+
line-height: ${Bi};
|
|
175
|
+
text-transform: ${Ai};
|
|
176
|
+
}
|
|
177
|
+
`,wr=St`
|
|
177
178
|
.ft-typography--subtitle1 {
|
|
178
|
-
font-family: ${
|
|
179
|
-
font-size: ${
|
|
180
|
-
font-weight: ${
|
|
181
|
-
letter-spacing: ${
|
|
182
|
-
line-height: ${
|
|
183
|
-
text-transform: ${
|
|
184
|
-
}
|
|
185
|
-
`,
|
|
179
|
+
font-family: ${Mi};
|
|
180
|
+
font-size: ${Pi};
|
|
181
|
+
font-weight: ${Hi};
|
|
182
|
+
letter-spacing: ${ji};
|
|
183
|
+
line-height: ${Ti};
|
|
184
|
+
text-transform: ${_i};
|
|
185
|
+
}
|
|
186
|
+
`,Sr=St`
|
|
186
187
|
.ft-typography--subtitle2 {
|
|
187
|
-
font-family: ${
|
|
188
|
-
font-size: ${
|
|
189
|
-
font-weight: ${
|
|
190
|
-
letter-spacing: ${
|
|
191
|
-
line-height: ${
|
|
192
|
-
text-transform: ${
|
|
188
|
+
font-family: ${Gi};
|
|
189
|
+
font-size: ${Vi};
|
|
190
|
+
font-weight: ${Yi};
|
|
191
|
+
letter-spacing: ${Ji};
|
|
192
|
+
line-height: ${qi};
|
|
193
|
+
text-transform: ${Xi};
|
|
193
194
|
}
|
|
194
195
|
|
|
195
|
-
|
|
196
|
+
`,$r=St`
|
|
196
197
|
.ft-typography--body1 {
|
|
197
|
-
font-family: ${
|
|
198
|
-
font-size: ${
|
|
199
|
-
font-weight: ${
|
|
200
|
-
letter-spacing: ${
|
|
201
|
-
line-height: ${
|
|
202
|
-
text-transform: ${
|
|
203
|
-
}
|
|
204
|
-
|
|
198
|
+
font-family: ${Qi.fontFamily};
|
|
199
|
+
font-size: ${Qi.fontSize};
|
|
200
|
+
font-weight: ${Qi.fontWeight};
|
|
201
|
+
letter-spacing: ${Qi.letterSpacing};
|
|
202
|
+
line-height: ${Qi.lineHeight};
|
|
203
|
+
text-transform: ${Qi.textTransform};
|
|
204
|
+
}
|
|
205
|
+
`,Nr=St`
|
|
205
206
|
.ft-typography--body2 {
|
|
206
|
-
font-family: ${
|
|
207
|
-
font-size: ${
|
|
208
|
-
font-weight: ${
|
|
209
|
-
letter-spacing: ${
|
|
210
|
-
line-height: ${
|
|
211
|
-
text-transform: ${
|
|
212
|
-
}
|
|
213
|
-
`,
|
|
207
|
+
font-family: ${tr};
|
|
208
|
+
font-size: ${er};
|
|
209
|
+
font-weight: ${or};
|
|
210
|
+
letter-spacing: ${ir};
|
|
211
|
+
line-height: ${rr};
|
|
212
|
+
text-transform: ${nr};
|
|
213
|
+
}
|
|
214
|
+
`,Cr=St`
|
|
214
215
|
.ft-typography--caption {
|
|
215
|
-
font-family: ${
|
|
216
|
-
font-size: ${
|
|
217
|
-
font-weight: ${
|
|
218
|
-
letter-spacing: ${
|
|
219
|
-
line-height: ${
|
|
220
|
-
text-transform: ${
|
|
221
|
-
}
|
|
222
|
-
`,
|
|
216
|
+
font-family: ${ar.fontFamily};
|
|
217
|
+
font-size: ${ar.fontSize};
|
|
218
|
+
font-weight: ${ar.fontWeight};
|
|
219
|
+
letter-spacing: ${ar.letterSpacing};
|
|
220
|
+
line-height: ${ar.lineHeight};
|
|
221
|
+
text-transform: ${ar.textTransform};
|
|
222
|
+
}
|
|
223
|
+
`,Er=St`
|
|
223
224
|
.ft-typography--breadcrumb {
|
|
224
|
-
font-family: ${
|
|
225
|
-
font-size: ${
|
|
226
|
-
font-weight: ${
|
|
227
|
-
letter-spacing: ${
|
|
228
|
-
line-height: ${
|
|
229
|
-
text-transform: ${
|
|
230
|
-
}
|
|
231
|
-
`,
|
|
225
|
+
font-family: ${sr};
|
|
226
|
+
font-size: ${lr};
|
|
227
|
+
font-weight: ${cr};
|
|
228
|
+
letter-spacing: ${fr};
|
|
229
|
+
line-height: ${pr};
|
|
230
|
+
text-transform: ${dr};
|
|
231
|
+
}
|
|
232
|
+
`,kr=St`
|
|
232
233
|
.ft-typography--overline {
|
|
233
|
-
font-family: ${
|
|
234
|
-
font-size: ${
|
|
235
|
-
font-weight: ${
|
|
236
|
-
letter-spacing: ${
|
|
237
|
-
line-height: ${
|
|
238
|
-
text-transform: ${
|
|
239
|
-
}
|
|
240
|
-
`,
|
|
234
|
+
font-family: ${hr};
|
|
235
|
+
font-size: ${ur};
|
|
236
|
+
font-weight: ${yr};
|
|
237
|
+
letter-spacing: ${gr};
|
|
238
|
+
line-height: ${br};
|
|
239
|
+
text-transform: ${mr};
|
|
240
|
+
}
|
|
241
|
+
`,Rr=St`
|
|
241
242
|
.ft-typography--button {
|
|
242
|
-
font-family: ${
|
|
243
|
-
font-size: ${
|
|
244
|
-
font-weight: ${
|
|
245
|
-
letter-spacing: ${
|
|
246
|
-
line-height: ${
|
|
247
|
-
text-transform: ${
|
|
248
|
-
}
|
|
249
|
-
`,
|
|
243
|
+
font-family: ${xr.fontFamily};
|
|
244
|
+
font-size: ${xr.fontSize};
|
|
245
|
+
font-weight: ${xr.fontWeight};
|
|
246
|
+
letter-spacing: ${xr.letterSpacing};
|
|
247
|
+
line-height: ${xr.lineHeight};
|
|
248
|
+
text-transform: ${xr.textTransform};
|
|
249
|
+
}
|
|
250
|
+
`,Ur=St`
|
|
250
251
|
.ft-typography {
|
|
251
252
|
vertical-align: inherit;
|
|
252
253
|
}
|
|
253
|
-
`,
|
|
254
|
+
`,Ir=[Object.keys(Ee).map((t=>function(t){const e=Ee[t];return St`
|
|
254
255
|
.ft-typography--${wt(t)} {
|
|
255
256
|
font-family: ${e.fontFamily};
|
|
256
257
|
font-size: ${e.fontSize};
|
|
@@ -259,32 +260,32 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
|
|
|
259
260
|
line-height: ${e.lineHeight};
|
|
260
261
|
text-transform: ${e.textCase};
|
|
261
262
|
}
|
|
262
|
-
`}(t)))];var
|
|
263
|
-
<${
|
|
263
|
+
`}(t)))];var Lr=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 Wr extends Mo{constructor(){super(...arguments),this.variant=Ni.body1}render(){return this.element?$i`
|
|
264
|
+
<${wi(this.element)}
|
|
264
265
|
class="ft-typography ft-typography--${this.variant}">
|
|
265
266
|
<slot></slot>
|
|
266
|
-
</${
|
|
267
|
-
|
|
267
|
+
</${wi(this.element)}>
|
|
268
|
+
`:$i`
|
|
268
269
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
269
|
-
`}}
|
|
270
|
+
`}}Wr.styles=[vr,Or,wr,Sr,$r,Nr,Cr,Er,kr,Rr,Ur,...Ir],Lr([N()],Wr.prototype,"element",void 0),Lr([N()],Wr.prototype,"variant",void 0),L("ft-typography")(Wr);const zr={fontSize:$e.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:$e.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:$e.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:$e.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:$e.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:$e.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:$e.extend("--ft-input-label-border-color","",Ue.colorOutline),textColor:$e.extend("--ft-input-label-text-color","",Ue.colorOnSurfaceMedium),disabledTextColor:$e.extend("--ft-input-label-disabled-text-color","",Ue.colorOnSurfaceDisabled),colorSurface:$e.external(Ue.colorSurface,"Design system"),borderRadiusS:$e.external(Ue.borderRadiusS,"Design system"),colorError:$e.external(Ue.colorError,"Design system")},Fr=St`
|
|
270
271
|
.ft-input-label {
|
|
271
272
|
position: absolute;
|
|
272
273
|
inset: 0;
|
|
273
274
|
display: flex;
|
|
274
|
-
background-color: ${
|
|
275
|
-
border-radius: ${
|
|
275
|
+
background-color: ${zr.colorSurface};
|
|
276
|
+
border-radius: ${zr.borderRadiusS} ${zr.borderRadiusS} 0 0;
|
|
276
277
|
}
|
|
277
278
|
|
|
278
279
|
.ft-input-label--outlined {
|
|
279
|
-
border-radius: ${
|
|
280
|
+
border-radius: ${zr.borderRadiusS};
|
|
280
281
|
}
|
|
281
282
|
|
|
282
283
|
.ft-input-label {
|
|
283
|
-
border-color: ${
|
|
284
|
+
border-color: ${zr.borderColor};
|
|
284
285
|
}
|
|
285
286
|
|
|
286
287
|
.ft-input-label.ft-input-label--in-error {
|
|
287
|
-
border-color: ${
|
|
288
|
+
border-color: ${zr.colorError}
|
|
288
289
|
}
|
|
289
290
|
|
|
290
291
|
.ft-input-label:before,
|
|
@@ -297,7 +298,7 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
|
|
|
297
298
|
}
|
|
298
299
|
|
|
299
300
|
.ft-input-label:before {
|
|
300
|
-
width: calc(${
|
|
301
|
+
width: calc(${zr.horizontalSpacing} - 4px);
|
|
301
302
|
flex-shrink: 0;
|
|
302
303
|
}
|
|
303
304
|
|
|
@@ -313,20 +314,20 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
|
|
|
313
314
|
border-bottom-width: 1px;
|
|
314
315
|
border-bottom-style: solid;
|
|
315
316
|
border-color: inherit;
|
|
316
|
-
color: ${
|
|
317
|
+
color: ${zr.textColor};
|
|
317
318
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
318
|
-
max-width: calc(${
|
|
319
|
+
max-width: calc(${zr.labelMaxWidth} - 2 * (${zr.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
319
320
|
text-overflow: ellipsis;
|
|
320
|
-
${Ne(
|
|
321
|
-
${Ne(
|
|
321
|
+
${Ne(ar.fontSize,zr.fontSize)};
|
|
322
|
+
${Ne(ar.lineHeight,zr.fontSize)};
|
|
322
323
|
}
|
|
323
324
|
|
|
324
325
|
.ft-input-label--in-error .ft-input-label--text {
|
|
325
|
-
color: ${
|
|
326
|
+
color: ${zr.colorError}
|
|
326
327
|
}
|
|
327
328
|
|
|
328
329
|
.ft-input-label--disabled .ft-input-label--text {
|
|
329
|
-
color: ${
|
|
330
|
+
color: ${zr.disabledTextColor};
|
|
330
331
|
}
|
|
331
332
|
|
|
332
333
|
.ft-input-label--hidden-text {
|
|
@@ -343,19 +344,19 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
|
|
|
343
344
|
overflow: hidden;
|
|
344
345
|
white-space: nowrap;
|
|
345
346
|
text-overflow: ellipsis;
|
|
346
|
-
padding: ${
|
|
347
|
-
margin: calc(${
|
|
347
|
+
padding: ${zr.verticalSpacing} 4px;
|
|
348
|
+
margin: calc(${zr.verticalSpacing} * -1) 0;
|
|
348
349
|
max-width: 100%;
|
|
349
350
|
box-sizing: border-box;
|
|
350
351
|
}
|
|
351
352
|
|
|
352
353
|
.ft-input-label--raised .ft-input-label--text {
|
|
353
|
-
${Ne(
|
|
354
|
-
${Ne(
|
|
354
|
+
${Ne(ar.fontSize,zr.raisedFontSize)};
|
|
355
|
+
${Ne(ar.lineHeight,zr.raisedFontSize)};
|
|
355
356
|
}
|
|
356
357
|
|
|
357
358
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
358
|
-
top: ${
|
|
359
|
+
top: ${zr.verticalSpacing};
|
|
359
360
|
}
|
|
360
361
|
|
|
361
362
|
.ft-input-label--outlined .ft-input-label--text,
|
|
@@ -368,28 +369,28 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
|
|
|
368
369
|
.ft-input-label--outlined:before {
|
|
369
370
|
border-left-width: 1px;
|
|
370
371
|
border-left-style: solid;
|
|
371
|
-
border-radius: ${
|
|
372
|
+
border-radius: ${zr.borderRadiusS} 0 0 ${zr.borderRadiusS};
|
|
372
373
|
}
|
|
373
374
|
|
|
374
375
|
.ft-input-label--outlined:after {
|
|
375
376
|
border-right-width: 1px;
|
|
376
377
|
border-right-style: solid;
|
|
377
|
-
border-radius: 0 ${
|
|
378
|
+
border-radius: 0 ${zr.borderRadiusS} ${zr.borderRadiusS} 0;
|
|
378
379
|
}
|
|
379
380
|
|
|
380
381
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
|
|
381
382
|
padding: 2px 4px;
|
|
382
|
-
z-index: ${
|
|
383
|
-
background-color: ${
|
|
384
|
-
border-radius: ${
|
|
383
|
+
z-index: ${zr.raisedZIndex};
|
|
384
|
+
background-color: ${zr.colorSurface};
|
|
385
|
+
border-radius: ${zr.borderRadiusS};
|
|
385
386
|
top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
|
|
386
387
|
}
|
|
387
388
|
|
|
388
389
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
389
390
|
border-top: none;
|
|
390
391
|
}
|
|
391
|
-
`;var
|
|
392
|
-
<div class="${
|
|
392
|
+
`;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};class Kr extends Mo{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 ne`
|
|
393
|
+
<div class="${xi(t)}">
|
|
393
394
|
${this.text?ne`
|
|
394
395
|
<div class="ft-input-label--text ft-typography--caption">
|
|
395
396
|
<span class="ft-input-label--floating-text">${this.text}</span>
|
|
@@ -397,7 +398,7 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
|
|
|
397
398
|
</div>
|
|
398
399
|
`:null}
|
|
399
400
|
</div>
|
|
400
|
-
`}}
|
|
401
|
+
`}}Kr.elementDefinitions={},Kr.styles=[Cr,Fr],Zr([N({type:String})],Kr.prototype,"text",void 0),Zr([N({type:Boolean})],Kr.prototype,"raised",void 0),Zr([N({type:Boolean})],Kr.prototype,"outlined",void 0),Zr([N({type:Boolean})],Kr.prototype,"disabled",void 0),Zr([N({type:Boolean})],Kr.prototype,"error",void 0),L("ft-input-label")(Kr);const Dr=$e.extend("--ft-ripple-color","",Ue.colorContent),Br={color:Dr,backgroundColor:$e.extend("--ft-ripple-background-color","",Dr),opacityContentOnSurfacePressed:$e.external(Ue.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:$e.external(Ue.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:$e.external(Ue.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:$e.external(Ue.opacityContentOnSurfaceSelected,"Design system"),borderRadius:$e.create("--ft-ripple-border-radius","","SIZE","0px")},Ar=$e.extend("--ft-ripple-color","",Ue.colorPrimary),Mr=Ar,Pr=$e.extend("--ft-ripple-background-color","",Ar),Hr=$e.extend("--ft-ripple-color","",Ue.colorSecondary),jr=Hr,Tr=$e.extend("--ft-ripple-background-color","",Hr),_r=St`
|
|
401
402
|
:host {
|
|
402
403
|
display: contents;
|
|
403
404
|
}
|
|
@@ -410,7 +411,7 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
|
|
|
410
411
|
|
|
411
412
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
412
413
|
overflow: hidden;
|
|
413
|
-
border-radius: ${
|
|
414
|
+
border-radius: ${Br.borderRadius};
|
|
414
415
|
}
|
|
415
416
|
|
|
416
417
|
.ft-ripple .ft-ripple--background,
|
|
@@ -444,27 +445,27 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
|
|
|
444
445
|
}
|
|
445
446
|
|
|
446
447
|
.ft-ripple .ft-ripple--background {
|
|
447
|
-
background-color: ${
|
|
448
|
+
background-color: ${Br.backgroundColor};
|
|
448
449
|
}
|
|
449
450
|
|
|
450
451
|
.ft-ripple .ft-ripple--effect {
|
|
451
|
-
background-color: ${
|
|
452
|
+
background-color: ${Br.color};
|
|
452
453
|
}
|
|
453
454
|
|
|
454
455
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
455
|
-
background-color: ${
|
|
456
|
+
background-color: ${Tr};
|
|
456
457
|
}
|
|
457
458
|
|
|
458
459
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
459
|
-
background-color: ${
|
|
460
|
+
background-color: ${jr};
|
|
460
461
|
}
|
|
461
462
|
|
|
462
463
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
463
|
-
background-color: ${
|
|
464
|
+
background-color: ${Pr};
|
|
464
465
|
}
|
|
465
466
|
|
|
466
467
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
467
|
-
background-color: ${
|
|
468
|
+
background-color: ${Mr};
|
|
468
469
|
}
|
|
469
470
|
|
|
470
471
|
.ft-ripple .ft-ripple--background {
|
|
@@ -494,33 +495,33 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
|
|
|
494
495
|
}
|
|
495
496
|
|
|
496
497
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
497
|
-
opacity: ${
|
|
498
|
+
opacity: ${Br.opacityContentOnSurfaceHover};
|
|
498
499
|
}
|
|
499
500
|
|
|
500
501
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
501
|
-
opacity: ${
|
|
502
|
+
opacity: ${Br.opacityContentOnSurfaceSelected};
|
|
502
503
|
}
|
|
503
504
|
|
|
504
505
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
505
|
-
opacity: ${
|
|
506
|
+
opacity: ${Br.opacityContentOnSurfaceFocused};
|
|
506
507
|
}
|
|
507
508
|
|
|
508
509
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
509
|
-
opacity: ${
|
|
510
|
+
opacity: ${Br.opacityContentOnSurfacePressed};
|
|
510
511
|
transform: translate(-50%, -50%) scale(1);
|
|
511
512
|
}
|
|
512
|
-
`;var
|
|
513
|
+
`;var Gr,Vr,Yr=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 Jr extends Mo{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 ne`
|
|
513
514
|
<style>
|
|
514
515
|
.ft-ripple .ft-ripple--effect {
|
|
515
516
|
left: ${this.originX}px;
|
|
516
517
|
top: ${this.originY}px;
|
|
517
518
|
}
|
|
518
519
|
</style>
|
|
519
|
-
<div class="${
|
|
520
|
+
<div class="${xi(t)}">
|
|
520
521
|
<div class="ft-ripple--background"></div>
|
|
521
522
|
<div class="ft-ripple--effect"></div>
|
|
522
523
|
</div>
|
|
523
|
-
`}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)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),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()}}Yi.elementDefinitions={},Yi.styles=Ti,Vi([N({type:Boolean})],Yi.prototype,"primary",void 0),Vi([N({type:Boolean})],Yi.prototype,"secondary",void 0),Vi([N({type:Boolean})],Yi.prototype,"unbounded",void 0),Vi([N({type:Boolean})],Yi.prototype,"activated",void 0),Vi([N({type:Boolean})],Yi.prototype,"selected",void 0),Vi([N({type:Boolean})],Yi.prototype,"disabled",void 0),Vi([C()],Yi.prototype,"hovered",void 0),Vi([C()],Yi.prototype,"focused",void 0),Vi([C()],Yi.prototype,"pressed",void 0),Vi([C()],Yi.prototype,"rippling",void 0),Vi([C()],Yi.prototype,"originX",void 0),Vi([C()],Yi.prototype,"originY",void 0),Vi([R(".ft-ripple")],Yi.prototype,"ripple",void 0),Vi([R(".ft-ripple--effect")],Yi.prototype,"rippleEffect",void 0),L("ft-ripple")(Yi),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(_i||(_i={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Gi||(Gi={})),new Map([...["abw"].map((t=>[t,Gi.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,Gi.AUDIO])),...["avi"].map((t=>[t,Gi.AVI])),...["chm","xhs"].map((t=>[t,Gi.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,Gi.CODE])),...["csv"].map((t=>[t,Gi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Gi.DITA])),...["epub"].map((t=>[t,Gi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Gi.EXCEL])),...["flac"].map((t=>[t,Gi.FLAC])),...["gif"].map((t=>[t,Gi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Gi.GZIP])),...["html","htm","xhtml"].map((t=>[t,Gi.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,Gi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Gi.JPEG])),...["json"].map((t=>[t,Gi.JSON])),...["m4a","m4p"].map((t=>[t,Gi.M4A])),...["mov","qt"].map((t=>[t,Gi.MOV])),...["mp3"].map((t=>[t,Gi.MP3])),...["mp4","m4v"].map((t=>[t,Gi.MP4])),...["ogg","oga"].map((t=>[t,Gi.OGG])),...["pdf","ps"].map((t=>[t,Gi.PDF])),...["png"].map((t=>[t,Gi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Gi.POWERPOINT])),...["rar"].map((t=>[t,Gi.RAR])),...["stp"].map((t=>[t,Gi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Gi.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,Gi.VIDEO])),...["wav"].map((t=>[t,Gi.WAV])),...["wma"].map((t=>[t,Gi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Gi.WORD])),...["xml","xsl","rdf"].map((t=>[t,Gi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Gi.YAML])),...["zip"].map((t=>[t,Gi.ZIP]))]),Gi.ABW,Gi.AUDIO,Gi.AVI,Gi.CHM,Gi.CODE,Gi.CSV,Gi.DITA,Gi.EPUB,Gi.EXCEL,Gi.FLAC,Gi.GIF,Gi.GZIP,Gi.HTML,Gi.IMAGE,Gi.JPEG,Gi.JSON,Gi.M4A,Gi.MOV,Gi.MP3,Gi.MP4,Gi.OGG,Gi.PDF,Gi.PNG,Gi.POWERPOINT,Gi.RAR,Gi.STP,Gi.TEXT,Gi.UNKNOWN,Gi.VIDEO,Gi.WAV,Gi.WMA,Gi.WORD,Gi.XML,Gi.YAML,Gi.ZIP;const Ji={size:$e.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:$e.extend("--ft-icon-fluid-topics-font-family","",$e.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:$e.extend("--ft-icon-file-format-font-family","",$e.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:$e.extend("--ft-icon-material-font-family","",$e.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:$e.create("--ft-icon-vertical-align","","UNKNOWN","unset")},qi=St`
|
|
524
|
+
`}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)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),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()}}Jr.elementDefinitions={},Jr.styles=_r,Yr([N({type:Boolean})],Jr.prototype,"primary",void 0),Yr([N({type:Boolean})],Jr.prototype,"secondary",void 0),Yr([N({type:Boolean})],Jr.prototype,"unbounded",void 0),Yr([N({type:Boolean})],Jr.prototype,"activated",void 0),Yr([N({type:Boolean})],Jr.prototype,"selected",void 0),Yr([N({type:Boolean})],Jr.prototype,"disabled",void 0),Yr([C()],Jr.prototype,"hovered",void 0),Yr([C()],Jr.prototype,"focused",void 0),Yr([C()],Jr.prototype,"pressed",void 0),Yr([C()],Jr.prototype,"rippling",void 0),Yr([C()],Jr.prototype,"originX",void 0),Yr([C()],Jr.prototype,"originY",void 0),Yr([R(".ft-ripple")],Jr.prototype,"ripple",void 0),Yr([R(".ft-ripple--effect")],Jr.prototype,"rippleEffect",void 0),L("ft-ripple")(Jr),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(Gr||(Gr={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Vr||(Vr={})),new Map([...["abw"].map((t=>[t,Vr.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,Vr.AUDIO])),...["avi"].map((t=>[t,Vr.AVI])),...["chm","xhs"].map((t=>[t,Vr.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,Vr.CODE])),...["csv"].map((t=>[t,Vr.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Vr.DITA])),...["epub"].map((t=>[t,Vr.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Vr.EXCEL])),...["flac"].map((t=>[t,Vr.FLAC])),...["gif"].map((t=>[t,Vr.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Vr.GZIP])),...["html","htm","xhtml"].map((t=>[t,Vr.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,Vr.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Vr.JPEG])),...["json"].map((t=>[t,Vr.JSON])),...["m4a","m4p"].map((t=>[t,Vr.M4A])),...["mov","qt"].map((t=>[t,Vr.MOV])),...["mp3"].map((t=>[t,Vr.MP3])),...["mp4","m4v"].map((t=>[t,Vr.MP4])),...["ogg","oga"].map((t=>[t,Vr.OGG])),...["pdf","ps"].map((t=>[t,Vr.PDF])),...["png"].map((t=>[t,Vr.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Vr.POWERPOINT])),...["rar"].map((t=>[t,Vr.RAR])),...["stp"].map((t=>[t,Vr.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Vr.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,Vr.VIDEO])),...["wav"].map((t=>[t,Vr.WAV])),...["wma"].map((t=>[t,Vr.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Vr.WORD])),...["xml","xsl","rdf"].map((t=>[t,Vr.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Vr.YAML])),...["zip"].map((t=>[t,Vr.ZIP]))]),Vr.ABW,Vr.AUDIO,Vr.AVI,Vr.CHM,Vr.CODE,Vr.CSV,Vr.DITA,Vr.EPUB,Vr.EXCEL,Vr.FLAC,Vr.GIF,Vr.GZIP,Vr.HTML,Vr.IMAGE,Vr.JPEG,Vr.JSON,Vr.M4A,Vr.MOV,Vr.MP3,Vr.MP4,Vr.OGG,Vr.PDF,Vr.PNG,Vr.POWERPOINT,Vr.RAR,Vr.STP,Vr.TEXT,Vr.UNKNOWN,Vr.VIDEO,Vr.WAV,Vr.WMA,Vr.WORD,Vr.XML,Vr.YAML,Vr.ZIP;const qr={size:$e.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:$e.extend("--ft-icon-fluid-topics-font-family","",$e.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:$e.extend("--ft-icon-file-format-font-family","",$e.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:$e.extend("--ft-icon-material-font-family","",$e.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:$e.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Xr=St`
|
|
524
525
|
:host, i.ft-icon {
|
|
525
526
|
display: inline-flex;
|
|
526
527
|
align-items: center;
|
|
@@ -529,14 +530,14 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
|
|
|
529
530
|
}
|
|
530
531
|
|
|
531
532
|
:host {
|
|
532
|
-
width: ${
|
|
533
|
-
height: ${
|
|
533
|
+
width: ${qr.size};
|
|
534
|
+
height: ${qr.size};
|
|
534
535
|
}
|
|
535
536
|
|
|
536
537
|
i.ft-icon {
|
|
537
538
|
width: 100%;
|
|
538
539
|
height: 100%;
|
|
539
|
-
font-size: ${
|
|
540
|
+
font-size: ${qr.size};
|
|
540
541
|
line-height: 1;
|
|
541
542
|
font-weight: normal;
|
|
542
543
|
text-transform: none;
|
|
@@ -547,33 +548,33 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
|
|
|
547
548
|
text-rendering: auto;
|
|
548
549
|
-webkit-font-smoothing: antialiased;
|
|
549
550
|
-moz-osx-font-smoothing: grayscale;
|
|
550
|
-
vertical-align: ${
|
|
551
|
+
vertical-align: ${qr.verticalAlign};
|
|
551
552
|
}
|
|
552
553
|
|
|
553
554
|
i.ft-icon.ft-icon--fluid-topics {
|
|
554
|
-
font-family: ${
|
|
555
|
+
font-family: ${qr.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
555
556
|
|
|
556
557
|
/* Ugly fix because font is broken */
|
|
557
|
-
font-size: calc(0.75 * ${
|
|
558
|
-
line-height: ${
|
|
558
|
+
font-size: calc(0.75 * ${qr.size});
|
|
559
|
+
line-height: ${qr.size};
|
|
559
560
|
position: relative;
|
|
560
561
|
top: -4%;
|
|
561
562
|
justify-content: center;
|
|
562
563
|
}
|
|
563
564
|
|
|
564
565
|
.ft-icon--file-format {
|
|
565
|
-
font-family: ${
|
|
566
|
+
font-family: ${qr.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
566
567
|
}
|
|
567
568
|
|
|
568
569
|
.ft-icon--material {
|
|
569
|
-
font-family: ${
|
|
570
|
+
font-family: ${qr.materialFontFamily}, "Material Icons", sans-serif;
|
|
570
571
|
}
|
|
571
|
-
`;var
|
|
572
|
+
`;var Qr;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Qr||(Qr={}));var tn=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 en extends Mo{constructor(){super(...arguments),this.resolvedIcon=se}render(){const t=this.variant&&Object.values(Qr).includes(this.variant)?this.variant:Qr.fluid_topics,e=t!==Qr.material||!!this.value;return ne`
|
|
572
573
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
573
|
-
${
|
|
574
|
+
${mi(this.resolvedIcon)}
|
|
574
575
|
<slot ?hidden=${e}></slot>
|
|
575
576
|
</i>
|
|
576
|
-
`}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
|
|
577
|
+
`}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 Qr.file_format:this.resolvedIcon=null!==(t=Vr[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Qr.material:this.resolvedIcon=this.value||se;break;default:this.resolvedIcon=null!==(e=Gr[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}en.elementDefinitions={},en.styles=Xr,tn([N()],en.prototype,"variant",void 0),tn([N()],en.prototype,"value",void 0),tn([C()],en.prototype,"resolvedIcon",void 0),tn([R("slot")],en.prototype,"slottedContent",void 0),L("ft-icon")(en);const on={labelSize:$e.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:$e.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:$e.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:$e.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:$e.create("--ft-select-options-height","","SIZE","unset"),selectedOptionColor:$e.extend("--ft-select-selected-option-color","",Ue.colorOnSurface),helperColor:$e.extend("--ft-select-helper-color","",Ue.colorOnSurfaceMedium),optionsColor:$e.extend("--ft-select-options-color","",Ue.colorOnSurface),optionsZIndex:$e.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:$e.external(Ue.colorSurface,"Design system"),colorOnSurfaceDisabled:$e.external(Ue.colorOnSurfaceDisabled,"Design system"),colorPrimary:$e.external(Ue.colorPrimary,"Design system"),borderRadiusS:$e.external(Ue.borderRadiusS,"Design system"),elevation02:$e.external(Ue.elevation02,"Design system"),colorError:$e.external(Ue.colorError,"Design system")},rn=St`
|
|
577
578
|
*:focus {
|
|
578
579
|
outline: none;
|
|
579
580
|
}
|
|
@@ -587,7 +588,7 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
|
|
|
587
588
|
.ft-select--main-panel {
|
|
588
589
|
position: relative;
|
|
589
590
|
display: flex;
|
|
590
|
-
height: calc(4 * ${
|
|
591
|
+
height: calc(4 * ${on.verticalSpacing} + ${on.labelSize} + ${on.selectedOptionSize});
|
|
591
592
|
}
|
|
592
593
|
|
|
593
594
|
.ft-select--input-panel {
|
|
@@ -596,17 +597,17 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
|
|
|
596
597
|
display: flex;
|
|
597
598
|
align-items: center;
|
|
598
599
|
overflow: hidden;
|
|
599
|
-
padding-left: ${
|
|
600
|
-
padding-right: ${
|
|
600
|
+
padding-left: ${on.horizontalSpacing};
|
|
601
|
+
padding-right: ${on.horizontalSpacing};
|
|
601
602
|
gap: 8px;
|
|
602
|
-
color: ${
|
|
603
|
-
${Ne(
|
|
603
|
+
color: ${on.selectedOptionColor};
|
|
604
|
+
${Ne(Br.color,on.selectedOptionColor)};
|
|
604
605
|
}
|
|
605
606
|
|
|
606
607
|
.ft-select--input-panel,
|
|
607
608
|
.ft-select--option {
|
|
608
|
-
${Ne(
|
|
609
|
-
${Ne(
|
|
609
|
+
${Ne(Br.opacityContentOnSurfaceHover,"0.08")};
|
|
610
|
+
${Ne(Br.opacityContentOnSurfacePressed,"0.04")};
|
|
610
611
|
}
|
|
611
612
|
|
|
612
613
|
.ft-select--input-panel > *:not(ft-ripple),
|
|
@@ -616,7 +617,7 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
|
|
|
616
617
|
|
|
617
618
|
.ft-select--disabled .ft-select--input-panel,
|
|
618
619
|
.ft-select--disabled .ft-select--option {
|
|
619
|
-
color: ${
|
|
620
|
+
color: ${on.colorOnSurfaceDisabled};
|
|
620
621
|
}
|
|
621
622
|
|
|
622
623
|
.ft-select:not(.ft-select--disabled) .ft-select--input-panel,
|
|
@@ -625,20 +626,20 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
|
|
|
625
626
|
}
|
|
626
627
|
|
|
627
628
|
ft-input-label {
|
|
628
|
-
${Ne(
|
|
629
|
-
${Ne(
|
|
630
|
-
${Ne(
|
|
631
|
-
${Ne(
|
|
632
|
-
${Ne(
|
|
629
|
+
${Ne(zr.fontSize,on.selectedOptionSize)};
|
|
630
|
+
${Ne(zr.raisedFontSize,on.labelSize)};
|
|
631
|
+
${Ne(zr.verticalSpacing,on.verticalSpacing)};
|
|
632
|
+
${Ne(zr.horizontalSpacing,on.horizontalSpacing)};
|
|
633
|
+
${Ne(zr.labelMaxWidth,`calc(100% - ${qr.size} - 8px)`)};
|
|
633
634
|
}
|
|
634
635
|
|
|
635
636
|
.ft-select:not(.ft-select--disabled):focus-within ft-icon {
|
|
636
|
-
color: ${
|
|
637
|
+
color: ${on.colorPrimary};
|
|
637
638
|
}
|
|
638
639
|
|
|
639
640
|
.ft-select:not(.ft-select--disabled):focus-within ft-input-label {
|
|
640
|
-
${Ne(
|
|
641
|
-
${Ne(
|
|
641
|
+
${Ne(zr.borderColor,on.colorPrimary)};
|
|
642
|
+
${Ne(zr.textColor,on.colorPrimary)};
|
|
642
643
|
}
|
|
643
644
|
|
|
644
645
|
.ft-select--selected-option {
|
|
@@ -648,12 +649,12 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
|
|
|
648
649
|
overflow: hidden;
|
|
649
650
|
white-space: nowrap;
|
|
650
651
|
text-overflow: ellipsis;
|
|
651
|
-
${Ne(
|
|
652
|
-
${Ne(
|
|
652
|
+
${Ne(Qi.fontSize,on.selectedOptionSize)};
|
|
653
|
+
${Ne(Qi.lineHeight,on.selectedOptionSize)};
|
|
653
654
|
}
|
|
654
655
|
|
|
655
656
|
.ft-select--in-error .ft-select--selected-option {
|
|
656
|
-
color: ${
|
|
657
|
+
color: ${on.colorError};
|
|
657
658
|
}
|
|
658
659
|
|
|
659
660
|
ft-icon {
|
|
@@ -665,16 +666,16 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
|
|
|
665
666
|
}
|
|
666
667
|
|
|
667
668
|
.ft-select--filled .ft-select--input-panel {
|
|
668
|
-
border-radius: ${
|
|
669
|
+
border-radius: ${on.borderRadiusS} ${on.borderRadiusS} 0 0;
|
|
669
670
|
}
|
|
670
671
|
|
|
671
672
|
.ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
|
|
672
673
|
align-self: stretch;
|
|
673
|
-
padding-top: calc(${
|
|
674
|
+
padding-top: calc(${on.labelSize} + 2 * ${on.verticalSpacing});
|
|
674
675
|
}
|
|
675
676
|
|
|
676
677
|
.ft-select--outlined .ft-select--input-panel {
|
|
677
|
-
border-radius: ${
|
|
678
|
+
border-radius: ${on.borderRadiusS};
|
|
678
679
|
}
|
|
679
680
|
|
|
680
681
|
.ft-select--options {
|
|
@@ -683,10 +684,10 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
|
|
|
683
684
|
top: 100%;
|
|
684
685
|
left: 0;
|
|
685
686
|
right: 0;
|
|
686
|
-
color: ${
|
|
687
|
-
background: ${
|
|
688
|
-
z-index: ${
|
|
689
|
-
box-shadow: ${
|
|
687
|
+
color: ${on.optionsColor};
|
|
688
|
+
background: ${on.colorSurface};
|
|
689
|
+
z-index: ${on.optionsZIndex};
|
|
690
|
+
box-shadow: ${on.elevation02};
|
|
690
691
|
}
|
|
691
692
|
|
|
692
693
|
.ft-select--fixed .ft-select--options {
|
|
@@ -697,13 +698,13 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
|
|
|
697
698
|
|
|
698
699
|
.ft-select--options-displayed .ft-select--options {
|
|
699
700
|
display: block;
|
|
700
|
-
max-height: ${
|
|
701
|
+
max-height: ${on.optionsHeight};
|
|
701
702
|
overflow-y: auto;
|
|
702
703
|
}
|
|
703
704
|
|
|
704
705
|
.ft-select--option {
|
|
705
706
|
position: relative;
|
|
706
|
-
padding: 4px ${
|
|
707
|
+
padding: 4px ${on.horizontalSpacing};
|
|
707
708
|
min-height: 32px;
|
|
708
709
|
display: flex;
|
|
709
710
|
align-items: center;
|
|
@@ -715,15 +716,15 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
|
|
|
715
716
|
}
|
|
716
717
|
|
|
717
718
|
.ft-select--helper-text {
|
|
718
|
-
padding: 0 ${
|
|
719
|
-
color: ${
|
|
719
|
+
padding: 0 ${on.horizontalSpacing};
|
|
720
|
+
color: ${on.helperColor};
|
|
720
721
|
}
|
|
721
722
|
|
|
722
723
|
.ft-select--in-error .ft-select--helper-text {
|
|
723
|
-
color: ${
|
|
724
|
+
color: ${on.colorError};
|
|
724
725
|
}
|
|
725
|
-
`;var
|
|
726
|
-
<div class="${
|
|
726
|
+
`;var nn=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 an extends Mo{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return ne``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}an.elementDefinitions={},nn([N({type:String})],an.prototype,"label",void 0),nn([N({type:Object,converter:t=>t})],an.prototype,"value",void 0),nn([N({type:Boolean,reflect:!0})],an.prototype,"selected",void 0);class sn extends Mo{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 ne`
|
|
727
|
+
<div class="${xi(l)}" part="container">
|
|
727
728
|
<div class="ft-select--main-panel" part="main-panel">
|
|
728
729
|
<ft-input-label text="${this.label}"
|
|
729
730
|
part="label"
|
|
@@ -750,7 +751,7 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
|
|
|
750
751
|
part="options"
|
|
751
752
|
@keydown=${this.onOptionsKeyDown}
|
|
752
753
|
innerrole="listbox">
|
|
753
|
-
${
|
|
754
|
+
${gi(this.options,(t=>t.value),(t=>this.renderOption(t)))}
|
|
754
755
|
</div>
|
|
755
756
|
</div>
|
|
756
757
|
${this.helper?ne`
|
|
@@ -761,7 +762,7 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
|
|
|
761
762
|
@option-change=${this.updateOptionsFromSlot}
|
|
762
763
|
></slot>
|
|
763
764
|
`}renderOption(t){let e=this.selectedOption===t;return ne`
|
|
764
|
-
<div class="${
|
|
765
|
+
<div class="${xi({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
|
|
765
766
|
part="option"
|
|
766
767
|
tabindex="0"
|
|
767
768
|
data-value="${t.value}"
|
|
@@ -770,13 +771,13 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
|
|
|
770
771
|
<ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
|
|
771
772
|
<span>${t.label}</span>
|
|
772
773
|
</div>
|
|
773
|
-
`}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(!I(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)}}
|
|
774
|
+
`}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(!I(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)}}sn.elementDefinitions={"ft-input-label":Kr,"ft-typography":Wr,"ft-ripple":Jr,"ft-icon":en},sn.styles=[Nr,Cr,rn],nn([N({type:String})],sn.prototype,"label",void 0),nn([N({type:String})],sn.prototype,"helper",void 0),nn([N({type:Boolean})],sn.prototype,"outlined",void 0),nn([N({type:Boolean})],sn.prototype,"disabled",void 0),nn([N({type:Boolean})],sn.prototype,"error",void 0),nn([N({type:Boolean})],sn.prototype,"fixedMenuPosition",void 0),nn([N({type:Array})],sn.prototype,"options",void 0),nn([C()],sn.prototype,"selectedOption",void 0),nn([C()],sn.prototype,"optionsDisplayed",void 0),nn([C()],sn.prototype,"focusOptions",void 0),nn([R(".ft-select")],sn.prototype,"container",void 0),nn([R(".ft-select--options")],sn.prototype,"optionsMenu",void 0),nn([R(".ft-select--input-panel")],sn.prototype,"mainPanel",void 0),nn([R(".ft-select--option:first-child")],sn.prototype,"firstOption",void 0),nn([R(".ft-select--option:focus")],sn.prototype,"focusedOption",void 0),nn([R(".ft-select--option.ft-select--option-selected")],sn.prototype,"selectedOptionElement",void 0),nn([R(".ft-select--option:last-child")],sn.prototype,"lastOption",void 0),nn([R("slot")],sn.prototype,"optionsSlot",void 0),L("ft-select")(sn),L("ft-select-option")(an);
|
|
774
775
|
/**
|
|
775
776
|
* @license
|
|
776
777
|
* Copyright 2018 Google LLC
|
|
777
778
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
778
779
|
*/
|
|
779
|
-
const
|
|
780
|
+
const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:$e.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:$e.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:$e.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:$e.extend("--ft-text-field-helper-color","",Ue.colorOnSurfaceMedium),colorPrimary:$e.external(Ue.colorPrimary,"Design system"),colorOnSurface:$e.external(Ue.colorOnSurface,"Design system"),colorOnSurfaceDisabled:$e.external(Ue.colorOnSurfaceDisabled,"Design system"),borderRadiusS:$e.external(Ue.borderRadiusS,"Design system"),colorError:$e.external(Ue.colorError,"Design system"),prefixColor:$e.extend("--ft-text-field-prefix-color","",Ue.colorOnSurfaceMedium),iconColor:$e.extend("--ft-text-field-icon-color","",Ue.colorOnSurfaceMedium),floatingZIndex:$e.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:$e.external(Ue.colorSurface,"Design system"),colorOutline:$e.external(Ue.colorOutline,"Design system"),elevation02:$e.external(Ue.elevation02,"Design system"),suggestSize:$e.create("--ft-text-field-suggest-size","","SIZE","300px")},cn=St`
|
|
780
781
|
*:focus {
|
|
781
782
|
outline: none;
|
|
782
783
|
}
|
|
@@ -789,16 +790,16 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
789
790
|
}
|
|
790
791
|
|
|
791
792
|
ft-input-label {
|
|
792
|
-
${Ne(
|
|
793
|
-
${Ne(
|
|
794
|
-
${Ne(
|
|
795
|
-
${Ne(
|
|
793
|
+
${Ne(zr.fontSize,ln.fontSize)};
|
|
794
|
+
${Ne(zr.raisedFontSize,ln.labelSize)};
|
|
795
|
+
${Ne(zr.verticalSpacing,ln.verticalSpacing)};
|
|
796
|
+
${Ne(zr.horizontalSpacing,ln.horizontalSpacing)};
|
|
796
797
|
}
|
|
797
798
|
|
|
798
799
|
.ft-text-field--main-panel {
|
|
799
800
|
position: relative;
|
|
800
801
|
display: flex;
|
|
801
|
-
height: calc(4 * ${
|
|
802
|
+
height: calc(4 * ${ln.verticalSpacing} + ${ln.labelSize} + ${ln.fontSize});
|
|
802
803
|
}
|
|
803
804
|
|
|
804
805
|
.ft-text-field--input-panel {
|
|
@@ -807,24 +808,24 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
807
808
|
display: flex;
|
|
808
809
|
align-items: center;
|
|
809
810
|
overflow: hidden;
|
|
810
|
-
padding: 0 ${
|
|
811
|
+
padding: 0 ${ln.horizontalSpacing};
|
|
811
812
|
|
|
812
|
-
${Ne(
|
|
813
|
-
${Ne(
|
|
813
|
+
${Ne(Qi.fontSize,ln.fontSize)};
|
|
814
|
+
${Ne(Qi.lineHeight,ln.fontSize)};
|
|
814
815
|
}
|
|
815
816
|
|
|
816
817
|
.ft-text-field--input-panel ft-ripple {
|
|
817
|
-
${Ne(
|
|
818
|
-
${Ne(
|
|
818
|
+
${Ne(Br.opacityContentOnSurfaceHover,"0.08")};
|
|
819
|
+
${Ne(Br.opacityContentOnSurfacePressed,"0.04")};
|
|
819
820
|
}
|
|
820
821
|
|
|
821
822
|
.ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
|
|
822
823
|
align-items: flex-end;
|
|
823
|
-
padding: 0 ${
|
|
824
|
+
padding: 0 ${ln.horizontalSpacing} ${ln.verticalSpacing} ${ln.horizontalSpacing};
|
|
824
825
|
}
|
|
825
826
|
|
|
826
827
|
.ft-text-field--prefix {
|
|
827
|
-
color: ${
|
|
828
|
+
color: ${ln.prefixColor};
|
|
828
829
|
margin-right: 2px;
|
|
829
830
|
flex-shrink: 1;
|
|
830
831
|
overflow: hidden;
|
|
@@ -843,15 +844,15 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
843
844
|
flex-shrink: 1;
|
|
844
845
|
min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
|
|
845
846
|
|
|
846
|
-
color: ${
|
|
847
|
-
padding: calc(2 * ${
|
|
847
|
+
color: ${ln.colorOnSurface};
|
|
848
|
+
padding: calc(2 * ${ln.verticalSpacing}) 0;
|
|
848
849
|
border: none;
|
|
849
850
|
background: none;
|
|
850
851
|
}
|
|
851
852
|
|
|
852
853
|
.ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
|
|
853
854
|
padding-bottom: 0;
|
|
854
|
-
padding-top: calc(${
|
|
855
|
+
padding-top: calc(${ln.labelSize} + 2 * ${ln.verticalSpacing});
|
|
855
856
|
}
|
|
856
857
|
|
|
857
858
|
.ft-text-field--input::-webkit-calendar-picker-indicator,
|
|
@@ -860,37 +861,37 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
860
861
|
}
|
|
861
862
|
|
|
862
863
|
.ft-text-field--disabled .ft-text-field--input {
|
|
863
|
-
color: ${
|
|
864
|
+
color: ${ln.colorOnSurfaceDisabled};
|
|
864
865
|
}
|
|
865
866
|
|
|
866
867
|
.ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
|
|
867
|
-
${Ne(
|
|
868
|
-
${Ne(
|
|
868
|
+
${Ne(zr.borderColor,ln.colorPrimary)};
|
|
869
|
+
${Ne(zr.textColor,ln.colorPrimary)};
|
|
869
870
|
}
|
|
870
871
|
|
|
871
872
|
.ft-text-field--filled .ft-text-field--input-panel {
|
|
872
|
-
border-radius: ${
|
|
873
|
+
border-radius: ${ln.borderRadiusS} ${ln.borderRadiusS} 0 0;
|
|
873
874
|
}
|
|
874
875
|
|
|
875
876
|
.ft-text-field--outlined .ft-text-field--input-panel {
|
|
876
|
-
border-radius: ${
|
|
877
|
+
border-radius: ${ln.borderRadiusS};
|
|
877
878
|
}
|
|
878
879
|
|
|
879
880
|
.ft-text-field--helper-text {
|
|
880
|
-
padding: 0 12px 0 ${
|
|
881
|
-
color: ${
|
|
881
|
+
padding: 0 12px 0 ${ln.horizontalSpacing};
|
|
882
|
+
color: ${ln.helperColor};
|
|
882
883
|
}
|
|
883
884
|
|
|
884
885
|
.ft-text-field--in-error .ft-text-field--input,
|
|
885
886
|
.ft-text-field--in-error .ft-text-field--helper-text,
|
|
886
887
|
.ft-text-field--in-error .ft-text-field--prefix {
|
|
887
|
-
color: ${
|
|
888
|
+
color: ${ln.colorError};
|
|
888
889
|
}
|
|
889
890
|
|
|
890
891
|
.ft-text-field--icon {
|
|
891
892
|
align-self: center;
|
|
892
893
|
margin-left: 8px;
|
|
893
|
-
color: ${
|
|
894
|
+
color: ${ln.iconColor};
|
|
894
895
|
}
|
|
895
896
|
|
|
896
897
|
.ft-text-field--container {
|
|
@@ -903,13 +904,13 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
903
904
|
position: absolute;
|
|
904
905
|
left: 0;
|
|
905
906
|
right: 0;
|
|
906
|
-
z-index: ${
|
|
907
|
-
background: ${
|
|
908
|
-
border: 1px solid ${
|
|
909
|
-
border-radius: 0 0 ${
|
|
910
|
-
box-shadow: ${
|
|
907
|
+
z-index: ${ln.floatingZIndex};
|
|
908
|
+
background: ${ln.colorSurface};
|
|
909
|
+
border: 1px solid ${ln.colorOutline};
|
|
910
|
+
border-radius: 0 0 ${ln.borderRadiusS} ${ln.borderRadiusS};
|
|
911
|
+
box-shadow: ${ln.elevation02};
|
|
911
912
|
outline: none;
|
|
912
|
-
max-height: ${
|
|
913
|
+
max-height: ${ln.suggestSize};
|
|
913
914
|
overflow-y: auto;
|
|
914
915
|
}
|
|
915
916
|
|
|
@@ -926,14 +927,14 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
926
927
|
}
|
|
927
928
|
|
|
928
929
|
.ft-text-field--with-icon {
|
|
929
|
-
${Ne(
|
|
930
|
+
${Ne(zr.labelMaxWidth,`calc(100% - ${qr.size} - ${zr.horizontalSpacing})`)};
|
|
930
931
|
}
|
|
931
932
|
|
|
932
933
|
.ft-text-field--with-password ft-icon:hover {
|
|
933
934
|
cursor: pointer;
|
|
934
935
|
}
|
|
935
|
-
`;var
|
|
936
|
-
<div class="${
|
|
936
|
+
`;var fn=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 pn extends(ti(Mo,"textbox")){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.passwordHiddenIcon=Gr.EYE_SLASH,this.passwordRevealedIcon=Gr.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 ne`
|
|
937
|
+
<div class="${xi(t)}">
|
|
937
938
|
<div class="ft-text-field--main-panel"
|
|
938
939
|
@keydown=${this.handleKeyboardNavigation}
|
|
939
940
|
@focusout=${this.onMainPanelBlur}>
|
|
@@ -984,7 +985,7 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
984
985
|
.variant=${this.iconVariant}
|
|
985
986
|
.value=${this.icon}
|
|
986
987
|
@click=${()=>{var t;return null===(t=this.input)||void 0===t?void 0:t.focus()}}></ft-icon>
|
|
987
|
-
`:se}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}}
|
|
988
|
+
`:se}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}}pn.elementDefinitions={"ft-input-label":Kr,"ft-ripple":Jr,"ft-typography":Wr,"ft-icon":en},pn.styles=[$r,cn],fn([N()],pn.prototype,"label",void 0),fn([N({noAccessor:!0})],pn.prototype,"value",null),fn([C()],pn.prototype,"dispatchedValue",void 0),fn([N()],pn.prototype,"helper",void 0),fn([N({type:Boolean})],pn.prototype,"outlined",void 0),fn([N({type:Boolean})],pn.prototype,"disabled",void 0),fn([N({type:Boolean})],pn.prototype,"error",void 0),fn([N()],pn.prototype,"prefix",void 0),fn([N()],pn.prototype,"icon",void 0),fn([N()],pn.prototype,"passwordHiddenIcon",void 0),fn([N()],pn.prototype,"passwordRevealedIcon",void 0),fn([N()],pn.prototype,"iconVariant",void 0),fn([N({type:Boolean})],pn.prototype,"filterSuggestions",void 0),fn([N({type:Number})],pn.prototype,"maxLength",void 0),fn([N({type:Boolean})],pn.prototype,"password",void 0),fn([C()],pn.prototype,"focused",void 0),fn([C()],pn.prototype,"hidePassword",void 0),fn([C()],pn.prototype,"suggestionsOnTop",void 0),fn([C()],pn.prototype,"hideSuggestions",void 0),fn([C()],pn.prototype,"visibleSuggestions",void 0),fn([R(".ft-text-field--main-panel")],pn.prototype,"mainPanel",void 0),fn([R(".ft-text-field--input")],pn.prototype,"input",void 0),fn([R(".ft-text-field--suggestions")],pn.prototype,"suggestionsContainer",void 0),fn([function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return k(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"})],pn.prototype,"suggestions",void 0);const dn=St`
|
|
988
989
|
.ft-text-field-suggestion {
|
|
989
990
|
position: relative;
|
|
990
991
|
padding: 8px 16px;
|
|
@@ -1009,7 +1010,7 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1009
1010
|
slot {
|
|
1010
1011
|
pointer-events: none;
|
|
1011
1012
|
}
|
|
1012
|
-
`;var
|
|
1013
|
+
`;var hn=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 un extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class yn extends Mo{render(){return ne`
|
|
1013
1014
|
<div class="ft-text-field-suggestion"
|
|
1014
1015
|
tabindex="-1"
|
|
1015
1016
|
@keydown=${this.onKeyDown}
|
|
@@ -1021,7 +1022,7 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1021
1022
|
<slot></slot>
|
|
1022
1023
|
</ft-typography>
|
|
1023
1024
|
</div>
|
|
1024
|
-
`}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
|
|
1025
|
+
`}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 un(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())}}yn.elementDefinitions={"ft-ripple":Jr,"ft-typography":Wr,"ft-icon":en},yn.styles=dn,hn([N()],yn.prototype,"value",void 0),hn([R(".ft-text-field-suggestion")],yn.prototype,"container",void 0),hn([U()],yn.prototype,"assignedNodes",void 0),L("ft-text-field")(pn),L("ft-text-field-suggestion")(yn);const gn={color:$e.extend("--ft-loader-color","",Ue.colorPrimary),size:$e.create("--ft-loader-size","","SIZE","80px")},bn=St`
|
|
1025
1026
|
:host {
|
|
1026
1027
|
line-height: 0;
|
|
1027
1028
|
}
|
|
@@ -1030,8 +1031,8 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1030
1031
|
display: inline-block;
|
|
1031
1032
|
position: relative;
|
|
1032
1033
|
|
|
1033
|
-
width: ${
|
|
1034
|
-
height: ${
|
|
1034
|
+
width: ${gn.size};
|
|
1035
|
+
height: ${gn.size};
|
|
1035
1036
|
}
|
|
1036
1037
|
|
|
1037
1038
|
.ft-loader div {
|
|
@@ -1040,7 +1041,7 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1040
1041
|
width: 25%;
|
|
1041
1042
|
height: 25%;
|
|
1042
1043
|
border-radius: 50%;
|
|
1043
|
-
background: ${
|
|
1044
|
+
background: ${gn.color};
|
|
1044
1045
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
1045
1046
|
}
|
|
1046
1047
|
|
|
@@ -1087,10 +1088,10 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1087
1088
|
transform: translate(0, 0);
|
|
1088
1089
|
}
|
|
1089
1090
|
100% {
|
|
1090
|
-
transform: translate(calc(0.35 * ${
|
|
1091
|
+
transform: translate(calc(0.35 * ${gn.size}), 0);
|
|
1091
1092
|
}
|
|
1092
1093
|
}
|
|
1093
|
-
`,
|
|
1094
|
+
`,mn=$e.extend("--ft-button-color","",Ue.colorPrimary),xn={backgroundColor:$e.extend("--ft-button-background-color","",Ue.colorSurface),borderRadius:$e.extend("--ft-button-border-radius","",Ue.borderRadiusL),color:mn,fontSize:$e.extend("--ft-button-font-size","",xr.fontSize),iconSize:$e.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:$e.extend("--ft-button-ripple-color","",mn),verticalPadding:$e.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:$e.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:$e.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:$e.external(Ue.colorOpacityDisabled,"Design system")},vn=$e.extend("--ft-button-primary-color","",$e.extend("--ft-button-color","",Ue.colorOnPrimary)),On={backgroundColor:$e.extend("--ft-button-primary-background-color","",$e.extend("--ft-button-background-color","",Ue.colorPrimary)),color:vn,rippleColor:$e.extend("--ft-button-primary-ripple-color","",vn)},wn=$e.extend("--ft-button-dense-border-radius","",$e.extend("--ft-button-border-radius","",Ue.borderRadiusM)),Sn=$e.create("--ft-button-dense-vertical-padding","","SIZE","2px"),$n=$e.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Nn=$e.create("--ft-button-dense-icon-padding","","SIZE","4px"),Cn=[St`
|
|
1094
1095
|
:host {
|
|
1095
1096
|
display: inline-block;
|
|
1096
1097
|
max-width: 100%;
|
|
@@ -1101,7 +1102,7 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1101
1102
|
box-shadow: 0px 0px 0px transparent;
|
|
1102
1103
|
border: 0px solid transparent;
|
|
1103
1104
|
text-shadow: 0px 0px 0px transparent;
|
|
1104
|
-
font-size: ${
|
|
1105
|
+
font-size: ${xn.fontSize};
|
|
1105
1106
|
}
|
|
1106
1107
|
|
|
1107
1108
|
button:hover {
|
|
@@ -1130,31 +1131,31 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1130
1131
|
border: none;
|
|
1131
1132
|
pointer-events: auto;
|
|
1132
1133
|
|
|
1133
|
-
--ft-button-internal-line-height: max(calc(${
|
|
1134
|
-
--ft-button-internal-color: ${
|
|
1135
|
-
${Ne(
|
|
1136
|
-
${Ne(
|
|
1134
|
+
--ft-button-internal-line-height: max(calc(${xn.fontSize} + 2px), ${xn.iconSize});
|
|
1135
|
+
--ft-button-internal-color: ${xn.color};
|
|
1136
|
+
${Ne(qr.size,xn.iconSize)};
|
|
1137
|
+
${Ne(Br.color,xn.rippleColor)};
|
|
1137
1138
|
|
|
1138
|
-
border-radius: ${
|
|
1139
|
-
padding: ${
|
|
1140
|
-
background-color: ${
|
|
1139
|
+
border-radius: ${xn.borderRadius};
|
|
1140
|
+
padding: ${xn.verticalPadding} ${xn.horizontalPadding};
|
|
1141
|
+
background-color: ${xn.backgroundColor};
|
|
1141
1142
|
color: var(--ft-button-internal-color);
|
|
1142
1143
|
-webkit-mask-image: radial-gradient(white, black);
|
|
1143
1144
|
}
|
|
1144
1145
|
|
|
1145
1146
|
.ft-button.ft-button--outlined {
|
|
1146
1147
|
border: 1px solid var(--ft-button-internal-color);
|
|
1147
|
-
padding: calc(${
|
|
1148
|
+
padding: calc(${xn.verticalPadding} - 1px) calc(${xn.horizontalPadding} - 1px);
|
|
1148
1149
|
}
|
|
1149
1150
|
|
|
1150
1151
|
.ft-button.ft-button--dense {
|
|
1151
|
-
padding: ${
|
|
1152
|
-
border-radius: ${
|
|
1153
|
-
gap: ${
|
|
1152
|
+
padding: ${Sn} ${$n};
|
|
1153
|
+
border-radius: ${wn};
|
|
1154
|
+
gap: ${Nn};
|
|
1154
1155
|
}
|
|
1155
1156
|
|
|
1156
1157
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
1157
|
-
padding: calc(${
|
|
1158
|
+
padding: calc(${Sn} - 1px) calc(${$n} - 1px);
|
|
1158
1159
|
}
|
|
1159
1160
|
|
|
1160
1161
|
.ft-button:not([disabled]):hover {
|
|
@@ -1162,22 +1163,22 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1162
1163
|
}
|
|
1163
1164
|
|
|
1164
1165
|
.ft-button--round {
|
|
1165
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
1166
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${xn.verticalPadding});
|
|
1166
1167
|
}
|
|
1167
1168
|
|
|
1168
1169
|
.ft-button--round.ft-button--dense {
|
|
1169
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
1170
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Sn});
|
|
1170
1171
|
}
|
|
1171
1172
|
|
|
1172
1173
|
.ft-button[disabled] {
|
|
1173
1174
|
filter: grayscale(1);
|
|
1174
|
-
opacity: ${
|
|
1175
|
+
opacity: ${xn.opacityDisabled};
|
|
1175
1176
|
}
|
|
1176
1177
|
|
|
1177
1178
|
.ft-button.ft-button--primary {
|
|
1178
|
-
background-color: ${
|
|
1179
|
-
--ft-button-internal-color: ${
|
|
1180
|
-
${Ne(
|
|
1179
|
+
background-color: ${On.backgroundColor};
|
|
1180
|
+
--ft-button-internal-color: ${On.color};
|
|
1181
|
+
${Ne(Br.color,On.rippleColor)};
|
|
1181
1182
|
}
|
|
1182
1183
|
|
|
1183
1184
|
.ft-button:focus {
|
|
@@ -1190,13 +1191,13 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1190
1191
|
white-space: nowrap;
|
|
1191
1192
|
text-overflow: ellipsis;
|
|
1192
1193
|
display: block;
|
|
1193
|
-
margin: 0 ${
|
|
1194
|
-
${Ne(
|
|
1195
|
-
${Ne(
|
|
1194
|
+
margin: 0 ${xn.iconPadding};
|
|
1195
|
+
${Ne(xr.fontSize,"1em")};
|
|
1196
|
+
${Ne(xr.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
1196
1197
|
}
|
|
1197
1198
|
|
|
1198
1199
|
.ft-button--dense .ft-button--label {
|
|
1199
|
-
margin: 0 ${
|
|
1200
|
+
margin: 0 ${Nn};
|
|
1200
1201
|
}
|
|
1201
1202
|
|
|
1202
1203
|
.ft-button--label[hidden] {
|
|
@@ -1209,13 +1210,13 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1209
1210
|
}
|
|
1210
1211
|
|
|
1211
1212
|
.ft-button--label[hidden] + ft-icon {
|
|
1212
|
-
margin: 0 calc(${
|
|
1213
|
-
padding: 0 ${
|
|
1213
|
+
margin: 0 calc(${xn.horizontalPadding} * -1);
|
|
1214
|
+
padding: 0 ${xn.verticalPadding};
|
|
1214
1215
|
}
|
|
1215
1216
|
|
|
1216
1217
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
1217
|
-
margin: 0 calc(${
|
|
1218
|
-
padding: 0 ${
|
|
1218
|
+
margin: 0 calc(${$n} * -1);
|
|
1219
|
+
padding: 0 ${Sn};
|
|
1219
1220
|
}
|
|
1220
1221
|
|
|
1221
1222
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -1224,10 +1225,10 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1224
1225
|
}
|
|
1225
1226
|
|
|
1226
1227
|
ft-loader {
|
|
1227
|
-
${Ne(
|
|
1228
|
-
${Ne(
|
|
1228
|
+
${Ne(gn.size,xn.iconSize)};
|
|
1229
|
+
${Ne(gn.color,"var(--ft-button-internal-color)")};
|
|
1229
1230
|
}
|
|
1230
|
-
`,
|
|
1231
|
+
`,Ho],En=$e.create("--ft-tooltip-distance","","SIZE","4px"),kn=$e.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Rn=$e.create("--ft-tooltip-background-color","","COLOR","#666666"),Un=$e.create("--ft-tooltip-z-index","","NUMBER","100"),In=$e.external(Ue.borderRadiusS,"Design system"),Ln=$e.create("--ft-tooltip-max-width","","SIZE","150px"),Wn=St`
|
|
1231
1232
|
.ft-tooltip--container {
|
|
1232
1233
|
display: block;
|
|
1233
1234
|
}
|
|
@@ -1242,21 +1243,21 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1242
1243
|
box-sizing: border-box;
|
|
1243
1244
|
overflow: hidden;
|
|
1244
1245
|
width: max-content;
|
|
1245
|
-
max-width: ${
|
|
1246
|
+
max-width: ${Ln};
|
|
1246
1247
|
text-align: center;
|
|
1247
|
-
padding: ${
|
|
1248
|
-
z-index: ${
|
|
1248
|
+
padding: ${En};
|
|
1249
|
+
z-index: ${Un};
|
|
1249
1250
|
}
|
|
1250
1251
|
|
|
1251
1252
|
.ft-tooltip--content {
|
|
1252
1253
|
padding: 4px 8px;
|
|
1253
|
-
border-radius: ${
|
|
1254
|
-
background-color: ${
|
|
1255
|
-
color: ${
|
|
1254
|
+
border-radius: ${In};
|
|
1255
|
+
background-color: ${Rn};
|
|
1256
|
+
color: ${kn};
|
|
1256
1257
|
position: relative;
|
|
1257
1258
|
word-break: break-word;
|
|
1258
1259
|
}
|
|
1259
|
-
`,Lr=["start","end"],Wr=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Lr[0],e+"-"+Lr[1])),[]),zr=Math.min,Fr=Math.max,Zr=Math.round,Kr=t=>({x:t,y:t}),Dr={left:"right",right:"left",bottom:"top",top:"bottom"},Br={start:"end",end:"start"};function Ar(t,e,o){return Fr(t,zr(e,o))}function Mr(t,e){return"function"==typeof t?t(e):t}function Pr(t){return t.split("-")[0]}function Hr(t){return t.split("-")[1]}function jr(t){return"x"===t?"y":"x"}function Tr(t){return"y"===t?"height":"width"}function _r(t){return["top","bottom"].includes(Pr(t))?"y":"x"}function Gr(t){return jr(_r(t))}function Vr(t){return t.replace(/left|right|bottom|top/g,(t=>Dr[t]))}function Yr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Jr(t,e,o){let{reference:i,floating:r}=t;const n=_r(e),a=Gr(e),s=Tr(a),l=Pr(e),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,d=i[s]/2-r[s]/2;let h;switch(l){case"top":h={x:f,y:i.y-r.height};break;case"bottom":h={x:f,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:p};break;case"left":h={x:i.x-r.width,y:p};break;default:h={x:i.x,y:i.y}}switch(Hr(e)){case"start":h[a]-=d*(o&&c?-1:1);break;case"end":h[a]+=d*(o&&c?-1:1)}return h}async function qr(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=Mr(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),y=s[d?"floating"===p?"reference":"floating":p],g=Yr(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=Yr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function Xr(t,e,o){return(t?[...o.filter((e=>Hr(e)===t)),...o.filter((e=>Hr(e)!==t))]:o.filter((t=>Pr(t)===t))).filter((o=>!t||(Hr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Br[t]))}(o)!==o)))}const Qr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:d=Wr,autoAlignment:h=!0,...u}=Mr(t,e),y=void 0!==p||d===Wr?Xr(p||null,h,d):d,g=await qr(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=Hr(t),r=Gr(t),n=Tr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Vr(a)),[a,Vr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[Pr(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Hr(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),$=S.filter((t=>t[2].slice(0,Hr(t[0])?2:3).every((t=>t<=0)))),N=(null==(r=$[0])?void 0:r[0])||S[0][0];return N!==s?{data:{index:b+1,overflows:O},reset:{placement:N}}:{}}}};function tn(t){return rn(t)?(t.nodeName||"").toLowerCase():"#document"}function en(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function on(t){var e;return null==(e=(rn(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function rn(t){return t instanceof Node||t instanceof en(t).Node}function nn(t){return t instanceof Element||t instanceof en(t).Element}function an(t){return t instanceof HTMLElement||t instanceof en(t).HTMLElement}function sn(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof en(t).ShadowRoot)}function ln(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=hn(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function cn(t){return["table","td","th"].includes(tn(t))}function fn(t){const e=pn(),o=hn(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function pn(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function dn(t){return["html","body","#document"].includes(tn(t))}function hn(t){return en(t).getComputedStyle(t)}function un(t){return nn(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function yn(t){if("html"===tn(t))return t;const e=t.assignedSlot||t.parentNode||sn(t)&&t.host||on(t);return sn(e)?e.host:e}function gn(t){const e=yn(t);return dn(e)?t.ownerDocument?t.ownerDocument.body:t.body:an(e)&&ln(e)?e:gn(e)}function bn(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=gn(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=en(r);return n?e.concat(a,a.visualViewport||[],ln(r)?r:[],a.frameElement&&o?bn(a.frameElement):[]):e.concat(r,bn(r,[],o))}function mn(t){const e=hn(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=an(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Zr(o)!==n||Zr(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function xn(t){return nn(t)?t:t.contextElement}function vn(t){const e=xn(t);if(!an(e))return Kr(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=mn(e);let a=(n?Zr(o.width):o.width)/i,s=(n?Zr(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const On=Kr(0);function wn(t){const e=en(t);return pn()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:On}function Sn(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=xn(t);let a=Kr(1);e&&(i?nn(i)&&(a=vn(i)):a=vn(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==en(t))&&e}(n,o,i)?wn(n):Kr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=en(n),e=i&&nn(i)?en(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=vn(o),e=o.getBoundingClientRect(),i=hn(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=r,c+=n,o=en(o).frameElement}}return Yr({width:f,height:p,x:l,y:c})}function $n(t){return Sn(on(t)).left+un(t).scrollLeft}function Nn(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=en(t),i=on(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=pn();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=on(t),o=un(t),i=t.ownerDocument.body,r=Fr(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Fr(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+$n(t);const s=-o.scrollTop;return"rtl"===hn(i).direction&&(a+=Fr(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(on(t));else if(nn(e))i=function(t,e){const o=Sn(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=an(t)?vn(t):Kr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=wn(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Yr(i)}function Cn(t,e){const o=yn(t);return!(o===e||!nn(o)||dn(o))&&("fixed"===hn(o).position||Cn(o,e))}function En(t,e,o){const i=an(e),r=on(e),n="fixed"===o,a=Sn(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Kr(0);if(i||!i&&!n)if(("body"!==tn(e)||ln(r))&&(s=un(e)),i){const t=Sn(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=$n(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function kn(t,e){return an(t)&&"fixed"!==hn(t).position?e?e(t):t.offsetParent:null}function Rn(t,e){const o=en(t);if(!an(t))return o;let i=kn(t,e);for(;i&&cn(i)&&"static"===hn(i).position;)i=kn(i,e);return i&&("html"===tn(i)||"body"===tn(i)&&"static"===hn(i).position&&!fn(i))?o:i||function(t){let e=yn(t);for(;an(e)&&!dn(e);){if(fn(e))return e;e=yn(e)}return null}(t)||o}const Un={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=an(o),n=on(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Kr(1);const l=Kr(0);if((r||!r&&"fixed"!==i)&&(("body"!==tn(o)||ln(n))&&(a=un(o)),an(o))){const t=Sn(o);s=vn(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:on,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=bn(t,[],!1).filter((t=>nn(t)&&"body"!==tn(t))),r=null;const n="fixed"===hn(t).position;let a=n?yn(t):t;for(;nn(a)&&!dn(a);){const e=hn(a),o=fn(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||ln(a)&&!o&&Cn(t,a))?i=i.filter((t=>t!==a)):r=e,a=yn(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=Nn(e,o,r);return t.top=Fr(i.top,t.top),t.right=zr(i.right,t.right),t.bottom=zr(i.bottom,t.bottom),t.left=Fr(i.left,t.left),t}),Nn(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Rn,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Rn,n=this.getDimensions;return{reference:En(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return mn(t)},getScale:vn,isElement:nn,isRTL:function(t){return"rtl"===hn(t).direction}},In=(t,e,o)=>{const i=new Map,r={platform:Un,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:p}=Jr(c,i,l),d=i,h={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:f,y:p,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:f,y:p}=Jr(c,d,l))),o=-1)}return{x:f,y:p,placement:d,strategy:r,middlewareData:h}})(t,e,{...r,platform:n})};function Ln(t){return function(t){for(let e=t;e;e=Wn(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Wn(t);e;e=Wn(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Wn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var zn=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 Fn extends Be{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 ne`
|
|
1260
|
+
`;var zn=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 Fn extends Mo{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 ne`
|
|
1260
1261
|
<div part="container"
|
|
1261
1262
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
1262
1263
|
@mouseenter=${this.onHover}
|
|
@@ -1274,23 +1275,23 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1274
1275
|
</div>
|
|
1275
1276
|
</div>
|
|
1276
1277
|
</div>
|
|
1277
|
-
`}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()}async show(t){this.visible=!0,null!=t&&await 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(){
|
|
1278
|
+
`}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()}async show(t){this.visible=!0,null!=t&&await 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(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,e,o){return Uo(t,e,{platform:{...Ro,getOffsetParent:t=>Ro.getOffsetParent(t,Io)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:e,y:o,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Ae(i,t),c={x:e,y:o},f=await Je(t,l),p=Te(Me(r)),d=He(p);let h=c[d],u=c[p];if(n){const t="y"===d?"bottom":"right";h=Be(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";u=Be(u+f["y"===p?"top":"left"],u,u-f[t])}const y=s.fn({...t,[d]:h,[p]:u});return{...y,data:{x:y.x-e,y:y.y-o}}}}),Xe({allowedPlacements:[o]})]});var i}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),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())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Fn.elementDefinitions={"ft-typography":Wr},Fn.styles=Wn,zn([N()],Fn.prototype,"text",void 0),zn([N({type:Boolean})],Fn.prototype,"manual",void 0),zn([N({type:Boolean})],Fn.prototype,"inline",void 0),zn([N({type:Number})],Fn.prototype,"delay",void 0),zn([N()],Fn.prototype,"position",void 0),zn([U()],Fn.prototype,"slotNodes",void 0),zn([R(".ft-tooltip--container")],Fn.prototype,"container",void 0),zn([R(".ft-tooltip")],Fn.prototype,"tooltip",void 0),zn([R(".ft-tooltip--content")],Fn.prototype,"tooltipContent",void 0),zn([C()],Fn.prototype,"visible",void 0),zn([E({passive:!0})],Fn.prototype,"onTouch",null),zn([E({passive:!0})],Fn.prototype,"onHover",null),zn([E({passive:!0})],Fn.prototype,"onOut",null),zn([E({passive:!0})],Fn.prototype,"onClick",null),L("ft-tooltip")(Fn);class Zn extends Mo{render(){return ne`
|
|
1278
1279
|
<div class="ft-loader">
|
|
1279
1280
|
<div></div>
|
|
1280
1281
|
<div></div>
|
|
1281
1282
|
<div></div>
|
|
1282
1283
|
<div></div>
|
|
1283
1284
|
</div>
|
|
1284
|
-
`}}Zn.styles=
|
|
1285
|
+
`}}Zn.styles=bn,L("ft-loader")(Zn);var Kn=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 Dn extends(ti(Mo,"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(ne`
|
|
1285
1286
|
<button part="button"
|
|
1286
|
-
class="${
|
|
1287
|
+
class="${xi(this.buttonClasses)}"
|
|
1287
1288
|
aria-label="${this.getLabel()}"
|
|
1288
1289
|
?disabled=${this.isDisabled()}>
|
|
1289
1290
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
1290
1291
|
<ft-typography part="label"
|
|
1291
1292
|
variant=${this.typographyVariant}
|
|
1292
1293
|
element="span"
|
|
1293
|
-
class="ft-button--label ${
|
|
1294
|
+
class="ft-button--label ${ri?"ft-safari-ellipsis-fix":""}"
|
|
1294
1295
|
?hidden=${!this.hasTextContent()}>
|
|
1295
1296
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
1296
1297
|
</ft-typography>
|
|
@@ -1304,7 +1305,7 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1304
1305
|
</ft-tooltip>
|
|
1305
1306
|
`:t}resolveIcon(){return this.loading?ne`
|
|
1306
1307
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?ne`
|
|
1307
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:se}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}}Dn.elementDefinitions={"ft-ripple":
|
|
1308
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:se}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}}Dn.elementDefinitions={"ft-ripple":Jr,"ft-tooltip":Fn,"ft-typography":Wr,"ft-icon":en,"ft-loader":Zn},Kn([N({type:String,reflect:!0})],Dn.prototype,"role",void 0),Kn([N()],Dn.prototype,"type",void 0),Kn([N({type:Boolean})],Dn.prototype,"disabled",void 0),Kn([N()],Dn.prototype,"label",void 0),Kn([N()],Dn.prototype,"icon",void 0),Kn([N()],Dn.prototype,"iconVariant",void 0),Kn([N({type:Boolean})],Dn.prototype,"trailingIcon",void 0),Kn([N({type:Boolean})],Dn.prototype,"loading",void 0),Kn([N()],Dn.prototype,"tooltipPosition",void 0),Kn([N({type:Boolean})],Dn.prototype,"hideTooltip",void 0),Kn([N({type:Boolean})],Dn.prototype,"forceTooltip",void 0),Kn([R(".ft-button")],Dn.prototype,"button",void 0),Kn([R(".ft-button--label slot")],Dn.prototype,"slottedContent",void 0);var Bn=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 An extends Dn{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"}}An.styles=[jo,Cn],Bn([N({type:Boolean})],An.prototype,"primary",void 0),Bn([N({type:Boolean})],An.prototype,"outlined",void 0),Bn([N({type:Boolean})],An.prototype,"dense",void 0),Bn([N({type:Boolean})],An.prototype,"round",void 0);const Mn=[St`
|
|
1308
1309
|
:host {
|
|
1309
1310
|
display: inline-block;
|
|
1310
1311
|
max-width: 100%;
|
|
@@ -1383,13 +1384,13 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1383
1384
|
/** Primary styles **/
|
|
1384
1385
|
|
|
1385
1386
|
.ft-button--primary {
|
|
1386
|
-
${Ne(
|
|
1387
|
+
${Ne(gn.color,Re.primaryIconColor)};
|
|
1387
1388
|
|
|
1388
|
-
${Ne(
|
|
1389
|
-
${Ne(
|
|
1390
|
-
${Ne(
|
|
1391
|
-
${Ne(
|
|
1392
|
-
${Ne(
|
|
1389
|
+
${Ne(Br.color,Re.primaryStateLayerColor)};
|
|
1390
|
+
${Ne(Br.opacityContentOnSurfaceHover,Re.primaryStateLayerOpacityHover)};
|
|
1391
|
+
${Ne(Br.opacityContentOnSurfaceFocused,Re.primaryStateLayerOpacityFocus)};
|
|
1392
|
+
${Ne(Br.opacityContentOnSurfaceSelected,Re.primaryStateLayerOpacityActive)};
|
|
1393
|
+
${Ne(Br.opacityContentOnSurfacePressed,Re.primaryStateLayerOpacityActive)};
|
|
1393
1394
|
|
|
1394
1395
|
background-color: ${Re.primaryBackgroundColor};
|
|
1395
1396
|
color: ${Re.primaryColor};
|
|
@@ -1407,13 +1408,13 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1407
1408
|
/** Secondary styles **/
|
|
1408
1409
|
|
|
1409
1410
|
.ft-button--secondary {
|
|
1410
|
-
${Ne(
|
|
1411
|
+
${Ne(gn.color,Re.secondaryIconColor)};
|
|
1411
1412
|
|
|
1412
|
-
${Ne(
|
|
1413
|
-
${Ne(
|
|
1414
|
-
${Ne(
|
|
1415
|
-
${Ne(
|
|
1416
|
-
${Ne(
|
|
1413
|
+
${Ne(Br.color,Re.secondaryStateLayerColor)};
|
|
1414
|
+
${Ne(Br.opacityContentOnSurfaceHover,Re.secondaryStateLayerOpacityHover)};
|
|
1415
|
+
${Ne(Br.opacityContentOnSurfaceFocused,Re.secondaryStateLayerOpacityFocus)};
|
|
1416
|
+
${Ne(Br.opacityContentOnSurfaceSelected,Re.secondaryStateLayerOpacityActive)};
|
|
1417
|
+
${Ne(Br.opacityContentOnSurfacePressed,Re.secondaryStateLayerOpacityActive)};
|
|
1417
1418
|
|
|
1418
1419
|
background-color: ${Re.secondaryBackgroundColor};
|
|
1419
1420
|
color: ${Re.secondaryColor};
|
|
@@ -1432,13 +1433,13 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1432
1433
|
/** Tertiary styles **/
|
|
1433
1434
|
|
|
1434
1435
|
.ft-button--tertiary {
|
|
1435
|
-
${Ne(
|
|
1436
|
+
${Ne(gn.color,Re.tertiaryIconColor)};
|
|
1436
1437
|
|
|
1437
|
-
${Ne(
|
|
1438
|
-
${Ne(
|
|
1439
|
-
${Ne(
|
|
1440
|
-
${Ne(
|
|
1441
|
-
${Ne(
|
|
1438
|
+
${Ne(Br.color,Re.tertiaryStateLayerColor)};
|
|
1439
|
+
${Ne(Br.opacityContentOnSurfaceHover,Re.tertiaryStateLayerOpacityHover)};
|
|
1440
|
+
${Ne(Br.opacityContentOnSurfaceFocused,Re.tertiaryStateLayerOpacityFocus)};
|
|
1441
|
+
${Ne(Br.opacityContentOnSurfaceSelected,Re.tertiaryStateLayerOpacityActive)};
|
|
1442
|
+
${Ne(Br.opacityContentOnSurfacePressed,Re.tertiaryStateLayerOpacityActive)};
|
|
1442
1443
|
|
|
1443
1444
|
background-color: ${Re.tertiaryBackgroundColor};
|
|
1444
1445
|
color: ${Re.tertiaryColor};
|
|
@@ -1456,13 +1457,13 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1456
1457
|
/** Neutral styles **/
|
|
1457
1458
|
|
|
1458
1459
|
.ft-button--neutral {
|
|
1459
|
-
${Ne(
|
|
1460
|
+
${Ne(gn.color,Re.neutralIconColor)};
|
|
1460
1461
|
|
|
1461
|
-
${Ne(
|
|
1462
|
-
${Ne(
|
|
1463
|
-
${Ne(
|
|
1464
|
-
${Ne(
|
|
1465
|
-
${Ne(
|
|
1462
|
+
${Ne(Br.backgroundColor,Re.neutralStateLayerColor)};
|
|
1463
|
+
${Ne(Br.opacityContentOnSurfaceHover,Re.neutralStateLayerOpacityHover)};
|
|
1464
|
+
${Ne(Br.opacityContentOnSurfaceFocused,Re.neutralStateLayerOpacityFocus)};
|
|
1465
|
+
${Ne(Br.opacityContentOnSurfaceSelected,Re.neutralStateLayerOpacityActive)};
|
|
1466
|
+
${Ne(Br.opacityContentOnSurfacePressed,Re.neutralStateLayerOpacityActive)};
|
|
1466
1467
|
|
|
1467
1468
|
background-color: ${Re.neutralBackgroundColor};
|
|
1468
1469
|
color: ${Re.neutralColor};
|
|
@@ -1480,8 +1481,8 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1480
1481
|
/** Large styles **/
|
|
1481
1482
|
|
|
1482
1483
|
.ft-button--large {
|
|
1483
|
-
${Ne(
|
|
1484
|
-
${Ne(
|
|
1484
|
+
${Ne(qr.size,Re.largeIconSize)};
|
|
1485
|
+
${Ne(gn.size,Re.largeIconSize)};
|
|
1485
1486
|
|
|
1486
1487
|
height: ${Re.largeHeight};
|
|
1487
1488
|
padding: 0 ${Re.largeHorizontalPadding};
|
|
@@ -1503,8 +1504,8 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1503
1504
|
/** Small styles **/
|
|
1504
1505
|
|
|
1505
1506
|
.ft-button--small {
|
|
1506
|
-
${Ne(
|
|
1507
|
-
${Ne(
|
|
1507
|
+
${Ne(qr.size,Re.smallIconSize)};
|
|
1508
|
+
${Ne(gn.size,Re.smallIconSize)};
|
|
1508
1509
|
|
|
1509
1510
|
height: ${Re.smallHeight};
|
|
1510
1511
|
padding: 0 ${Re.smallHorizontalPadding};
|
|
@@ -1522,7 +1523,7 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1522
1523
|
width: ${Re.smallIconOnlyWidth};
|
|
1523
1524
|
padding: unset;
|
|
1524
1525
|
}
|
|
1525
|
-
`,
|
|
1526
|
+
`,Ho];var Pn=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 Hn extends Dn{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?Ni.caption1medium:Ni.body2medium}}Hn.styles=[jo,Mn],Pn([N({type:Boolean})],Hn.prototype,"primary",void 0),Pn([N({type:Boolean})],Hn.prototype,"secondary",void 0),Pn([N({type:Boolean})],Hn.prototype,"tertiary",void 0),Pn([N({type:Boolean})],Hn.prototype,"neutral",void 0),Pn([N({type:Boolean})],Hn.prototype,"small",void 0),L("ft-button")(An),L("ftds-button")(Hn);class jn extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const Tn={headerBackground:$e.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:$e.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:$e.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:$e.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:$e.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","100"),cellVerticalBorderWidth:$e.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),colorOnSurfaceHigh:$e.external(Ue.colorOnSurfaceHigh,"Design system"),titleFont:$e.external(Ue.titleFont,"Design system"),contentFont:$e.external(Ue.contentFont,"Design system")},_n=St`
|
|
1526
1527
|
:host {
|
|
1527
1528
|
display: block;
|
|
1528
1529
|
}
|
|
@@ -1564,8 +1565,8 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1564
1565
|
}
|
|
1565
1566
|
|
|
1566
1567
|
.column-title-container ft-button {
|
|
1567
|
-
${Ne(
|
|
1568
|
-
${Ne(
|
|
1568
|
+
${Ne(xn.backgroundColor,Tn.headerBackground)};
|
|
1569
|
+
${Ne(xn.color,Tn.colorOnSurfaceHigh)};
|
|
1569
1570
|
}
|
|
1570
1571
|
|
|
1571
1572
|
.column-title {
|
|
@@ -1632,7 +1633,7 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1632
1633
|
.hidden {
|
|
1633
1634
|
visibility: hidden;
|
|
1634
1635
|
}
|
|
1635
|
-
`;var Gn=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 Vn=t=>ne`${t}`,Yn=(t,e)=>t-e;class Jn extends
|
|
1636
|
+
`;var Gn=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 Vn=t=>ne`${t}`,Yn=(t,e)=>t-e;class Jn extends Mo{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 ne`
|
|
1636
1637
|
<style>
|
|
1637
1638
|
.table {
|
|
1638
1639
|
grid-template-columns: repeat(${this.columns.length}, minmax(min-content, auto));
|
|
@@ -1640,17 +1641,17 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1640
1641
|
</style>
|
|
1641
1642
|
<div class="table">
|
|
1642
1643
|
<div class="header">
|
|
1643
|
-
${
|
|
1644
|
+
${gi(this.columns,((t,e)=>"header-cell-"+e),((t,e)=>this.renderHeader(t,e)))}
|
|
1644
1645
|
</div>
|
|
1645
|
-
${
|
|
1646
|
+
${gi(t,((t,e)=>"row-"+e),((t,e)=>ne`
|
|
1646
1647
|
<div class="row"
|
|
1647
1648
|
@click=${()=>this.dispatchEvent(new jn(t))}>
|
|
1648
|
-
${
|
|
1649
|
+
${gi(this.columns,((t,o)=>"cell-"+o+"-"+e),((o,i)=>this.renderCell(o,i,t,e)))}
|
|
1649
1650
|
</div>
|
|
1650
1651
|
`))}
|
|
1651
1652
|
</div>
|
|
1652
1653
|
`}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:Yn,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 ne`
|
|
1653
|
-
<div class="${
|
|
1654
|
+
<div class="${xi(o)}"
|
|
1654
1655
|
part="${this.columnPart("header-cell",e)}">
|
|
1655
1656
|
<div class="column-title-container">
|
|
1656
1657
|
<span class="column-title"
|
|
@@ -1694,6 +1695,6 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1694
1695
|
`:se}return se}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:Vn;return ne`
|
|
1695
1696
|
<div class="cell"
|
|
1696
1697
|
part="${this.columnPart("cell",e)} cell-row-${i} cell-column-${e}-row-${i}">
|
|
1697
|
-
${(t=>{const e=n(t,i);return"string"==typeof e?
|
|
1698
|
+
${(t=>{const e=n(t,i);return"string"==typeof e?mi(e):e})(this.getValue(t,o))}
|
|
1698
1699
|
</div>
|
|
1699
1700
|
`}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)}}Jn.styles=_n,Gn([N({attribute:!1})],Jn.prototype,"data",void 0),Gn([N({attribute:!1})],Jn.prototype,"columns",void 0),Gn([N({attribute:!1})],Jn.prototype,"sort",void 0),Gn([N()],Jn.prototype,"stickyHeaders",void 0),Gn([C()],Jn.prototype,"currentSort",void 0),L("ft-filterable-table")(Jn),t.FtFilterableTable=Jn,t.FtFilterableTableCssVariables=Tn,t.RowClickEvent=jn,t.styles=_n}({});
|