@fluid-topics/ft-filterable-table 1.1.43 → 1.1.45

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.
@@ -4,13 +4,13 @@
4
4
  * Copyright 2017 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- const l=globalThis,s=l.trustedTypes,c=s?s.createPolicy("lit-html",{createHTML:t=>t}):void 0,p="$lit$",f=`lit$${(Math.random()+"").slice(9)}$`,d="?"+f,h=`<${d}>`,g=document,u=()=>g.createComment(""),y=t=>null===t||"object"!=typeof t&&"function"!=typeof t,b=Array.isArray,m="[ \t\n\f\r]",x=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,O=/>/g,N=RegExp(`>|${m}(?:([^\\s"'>=/]+)(${m}*=${m}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),$=/'/g,S=/"/g,w=/^(?:script|style|textarea|title)$/i,C=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),I=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),k=new WeakMap,W=g.createTreeWalker(g,129);function U(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==c?c.createHTML(o):o}const R=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=x;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,d=0;for(;d<e.length&&(a.lastIndex=d,s=a.exec(e),null!==s);)d=a.lastIndex,a===x?"!--"===s[1]?a=v:void 0!==s[1]?a=O:void 0!==s[2]?(w.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=N):void 0!==s[3]&&(a=N):a===N?">"===s[0]?(a=r??x,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?N:'"'===s[3]?S:$):a===S||a===$?a=N:a===v||a===O?a=x:(a=N,r=void 0);const g=a===N&&t[o+1].startsWith("/>")?" ":"";n+=a===x?e+h:c>=0?(i.push(l),e.slice(0,c)+p+e.slice(c)+f+g):e+f+(-2===c?o:g)}return[U(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class z{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[c,h]=R(t,o);if(this.el=z.createElement(c,e),W.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=W.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(p)){const o=h[n++],e=i.getAttribute(t).split(f),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?F:"?"===a[1]?B:"@"===a[1]?H:D}),i.removeAttribute(t)}else t.startsWith(f)&&(l.push({type:6,index:r}),i.removeAttribute(t));if(w.test(i.tagName)){const t=i.textContent.split(f),o=t.length-1;if(o>0){i.textContent=s?s.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],u()),W.nextNode(),l.push({type:2,index:++r});i.append(t[o],u())}}}else if(8===i.nodeType)if(i.data===d)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(f,t+1));)l.push({type:7,index:r}),t+=f.length-1}r++}}static createElement(t,o){const e=g.createElement("template");return e.innerHTML=t,e}}function Z(t,o,e=t,i){if(o===I)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=y(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=Z(t,r._$AS(t,o.values),r,i)),o}class L{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??g).importNode(o,!0);W.currentNode=i;let r=W.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new K(r,r.nextSibling,this,t):1===l.type?o=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(o=new A(r,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(r=W.nextNode(),n++)}return W.currentNode=g,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class K{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Z(this,t,o),y(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==I&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>b(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==E&&y(this._$AH)?this._$AA.nextSibling.data=t:this.$(g.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=z.createElement(U(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new L(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=k.get(t.strings);return void 0===o&&k.set(t.strings,o=new z(t)),o}T(t){b(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new K(this.k(u()),this.k(u()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class D{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=E}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=Z(this,t,o,0),n=!y(t)||t!==this._$AH&&t!==I,n&&(this._$AH=t);else{const i=t;let a,l;for(t=r[0],a=0;a<r.length-1;a++)l=Z(this,i[e+a],o,a),l===I&&(l=this._$AH[a]),n||=!y(l)||l!==this._$AH[a],l===E?t=E:t!==E&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}n&&!i&&this.O(t)}O(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class F extends D{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===E?void 0:t}}class B extends D{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==E)}}class H extends D{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=Z(this,t,o,0)??E)===I)return;const e=this._$AH,i=t===E&&e!==E||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==E&&(e===E||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class A{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Z(this,t)}}const G=l.litHtmlPolyfillSupport;G?.(z,K),(l.litHtmlVersions??=[]).push("3.1.0");
7
+ const l=globalThis,s=l.trustedTypes,c=s?s.createPolicy("lit-html",{createHTML:t=>t}):void 0,p="$lit$",f=`lit$${(Math.random()+"").slice(9)}$`,d="?"+f,h=`<${d}>`,u=document,g=()=>u.createComment(""),y=t=>null===t||"object"!=typeof t&&"function"!=typeof t,b=Array.isArray,m="[ \t\n\f\r]",x=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,O=/>/g,N=RegExp(`>|${m}(?:([^\\s"'>=/]+)(${m}*=${m}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),$=/'/g,S=/"/g,w=/^(?:script|style|textarea|title)$/i,C=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),I=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),k=new WeakMap,W=u.createTreeWalker(u,129);function U(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==c?c.createHTML(o):o}const R=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=x;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,d=0;for(;d<e.length&&(a.lastIndex=d,s=a.exec(e),null!==s);)d=a.lastIndex,a===x?"!--"===s[1]?a=v:void 0!==s[1]?a=O:void 0!==s[2]?(w.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=N):void 0!==s[3]&&(a=N):a===N?">"===s[0]?(a=r??x,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?N:'"'===s[3]?S:$):a===S||a===$?a=N:a===v||a===O?a=x:(a=N,r=void 0);const u=a===N&&t[o+1].startsWith("/>")?" ":"";n+=a===x?e+h:c>=0?(i.push(l),e.slice(0,c)+p+e.slice(c)+f+u):e+f+(-2===c?o:u)}return[U(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class z{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[c,h]=R(t,o);if(this.el=z.createElement(c,e),W.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=W.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(p)){const o=h[n++],e=i.getAttribute(t).split(f),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?F:"?"===a[1]?B:"@"===a[1]?H:D}),i.removeAttribute(t)}else t.startsWith(f)&&(l.push({type:6,index:r}),i.removeAttribute(t));if(w.test(i.tagName)){const t=i.textContent.split(f),o=t.length-1;if(o>0){i.textContent=s?s.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],g()),W.nextNode(),l.push({type:2,index:++r});i.append(t[o],g())}}}else if(8===i.nodeType)if(i.data===d)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(f,t+1));)l.push({type:7,index:r}),t+=f.length-1}r++}}static createElement(t,o){const e=u.createElement("template");return e.innerHTML=t,e}}function Z(t,o,e=t,i){if(o===I)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=y(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=Z(t,r._$AS(t,o.values),r,i)),o}class L{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??u).importNode(o,!0);W.currentNode=i;let r=W.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new K(r,r.nextSibling,this,t):1===l.type?o=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(o=new A(r,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(r=W.nextNode(),n++)}return W.currentNode=u,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class K{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Z(this,t,o),y(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==I&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>b(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==E&&y(this._$AH)?this._$AA.nextSibling.data=t:this.$(u.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=z.createElement(U(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new L(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=k.get(t.strings);return void 0===o&&k.set(t.strings,o=new z(t)),o}T(t){b(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new K(this.k(g()),this.k(g()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class D{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=E}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=Z(this,t,o,0),n=!y(t)||t!==this._$AH&&t!==I,n&&(this._$AH=t);else{const i=t;let a,l;for(t=r[0],a=0;a<r.length-1;a++)l=Z(this,i[e+a],o,a),l===I&&(l=this._$AH[a]),n||=!y(l)||l!==this._$AH[a],l===E?t=E:t!==E&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}n&&!i&&this.O(t)}O(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class F extends D{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===E?void 0:t}}class B extends D{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==E)}}class H extends D{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=Z(this,t,o,0)??E)===I)return;const e=this._$AH,i=t===E&&e!==E||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==E&&(e===E||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class A{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Z(this,t)}}const G=l.litHtmlPolyfillSupport;G?.(z,K),(l.litHtmlVersions??=[]).push("3.1.0");
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2020 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
12
  */
13
- const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litStatic$:t,r:P}),T=new Map,_=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],l=[];let s,c=0,p=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(n=e[c],r=j(n));)s+=r+o[++c],p=!0;c!==i&&l.push(n),a.push(s),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=T.get(t))&&(a.raw=a,T.set(t,o=a)),e=l}return t(o,...e)})(C);var Y;!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"}(Y||(Y={}));const V=t=>"string"==typeof t?e.unsafeCSS(t):t;class X{static create(t,o,i,r){const n=t=>V(null!=t?t:r),a=e.css`var(${V(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${V(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,o,i,r){const n=t=>i.get(null!=t?t:r),a=e.css`var(${V(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${V(t)}, ${n(o)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):V(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${V(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=i,r.get=o=>e.css`var(${V(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const q={colorWhite:X.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:X.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:X.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:X.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:X.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:X.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:X.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:X.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:X.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:X.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:X.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:X.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:X.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:X.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:X.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:X.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:X.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:X.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:X.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:X.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:X.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:X.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:X.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:X.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:X.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:X.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:X.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:X.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:X.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:X.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:X.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:X.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:X.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:X.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:X.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:X.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:X.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:X.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:X.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:X.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:X.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:X.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:X.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:X.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:X.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:X.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:X.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:X.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:X.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:X.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:X.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:X.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:X.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:X.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:X.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:X.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:X.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:X.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:X.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:X.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:X.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:X.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:X.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:X.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:X.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:X.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:X.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:X.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:X.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:X.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:X.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:X.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:X.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:X.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:X.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:X.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:X.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:X.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:X.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:X.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:X.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:X.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:X.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:X.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:X.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:X.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:X.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:X.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:X.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:X.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:X.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:X.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:X.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:X.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:X.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:X.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:X.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:X.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:X.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:X.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:X.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:X.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:X.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:X.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:X.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:X.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:X.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:X.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:X.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:X.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:X.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:X.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:X.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:X.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:X.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:X.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:X.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:X.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:X.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:X.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:X.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:X.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:X.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:X.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:X.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:X.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:X.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:X.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:X.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:X.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:X.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:X.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:X.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:X.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:X.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:X.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:X.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:X.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:X.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:X.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:X.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:X.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:X.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:X.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:X.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:X.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:X.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:X.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:X.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:X.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:X.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:X.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:X.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:X.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:X.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:X.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:X.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:X.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:X.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:X.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:X.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:X.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:X.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:X.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:X.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:X.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:X.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:X.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:X.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:X.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:X.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:X.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:X.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:X.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:X.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:X.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:X.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:X.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:X.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:X.create("--ft-icon-size-6","","SIZE","48px"),opacity0:X.create("--ft-opacity-0","","NUMBER","0"),opacity8:X.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:X.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:X.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:X.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:X.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:X.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:X.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:X.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:X.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:X.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:X.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:X.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:X.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:X.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)"),underline:X.create("--ft-underline","","UNKNOWN","underline")},J={display:{fontFamily:X.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:X.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:X.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:X.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:X.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:X.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:X.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:X.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:X.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:X.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:X.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:X.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:X.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:X.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:X.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:X.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:X.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:X.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:X.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:X.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:X.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:X.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-medium-underline":{fontFamily:X.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:X.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:X.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},"body-2-semibold":{fontFamily:X.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:X.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:X.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:X.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:X.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:X.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:X.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:X.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:X.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:X.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:X.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:X.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:X.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:X.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:X.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:X.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:X.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:X.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:X.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:X.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:X.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:X.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},Q={backgroundActionPrimary:X.extend("--ft-background-action-primary","Used as backgorund of primary action components.",q.colorBrand0),backgroundErrorSubtle:X.extend("--ft-background-error-subtle","Used as background of subtle error components.",q.colorRed10),backgroundInfoSubtle:X.extend("--ft-background-info-subtle","Used as background of subtle information components.",q.colorCyan10),backgroundWarningSubtle:X.extend("--ft-background-warning-subtle","Used as background of subtle information components.",q.colorOrange10),backgroundSuccessSubtle:X.extend("--ft-background-success-subtle","Used as background of subtle success components.",q.colorGreen10),backgroundGlobalSurface:X.extend("--ft-background-global-surface","Used as app background.",q.colorWhite),backgroundGlobalOnSurface:X.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",q.colorGray10),backgroundGlobalOnSurfaceDark:X.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",q.colorGray30),contentActionPrimary:X.extend("--ft-content-action-primary","Used on label of primary action on light surface.",q.colorBrand0),contentWarningPrimary:X.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",q.colorOrange200),contentWarningIconOnly:X.extend("--ft-content-warning-icon-only","Used on warning status icons alone",q.colorOrange0),contentErrorPrimary:X.extend("--ft-content-error-primary","Used on label of error messages on light surface.",q.colorRed0),contentErrorIconOnly:X.extend("--ft-content-error-icon-only","Used on error status icons alone",q.colorRed70),contentInfoPrimary:X.extend("--ft-content-info-primary","Used on label of information messages on light surface.",q.colorCyan200),contentInfoIconOnly:X.extend("--ft-content-info-icon-only","Used on info status icons alone",q.colorCyan0),contentSuccessPrimary:X.extend("--ft-content-success-primary","Used on label of success messages on light surface.",q.colorGreen200),contentSuccessIconOnly:X.extend("--ft-content-success-icon-only","Used on success status icons alone",q.colorGreen0),contentGlobalPrimary:X.extend("--ft-content-global-primary","Used for main content on the page.",q.colorGray500),contentGlobalSecondary:X.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",q.colorGray200),contentGlobalSubtle:X.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",q.colorGray0),contentGlobalOnColor:X.extend("--ft-content-global-on-color","Used for content on a dominant color.",q.colorWhite),borderActionPrimary:X.extend("--ft-border-action-primary","Used as border for primary action components.",q.colorBrand0),borderActionFocusRing:X.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",q.colorCyan0),borderWarningPrimary:X.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",q.colorOrange200),borderWarningSubtle:X.extend("--ft-border-warning-subtle","Used as border for warning components.",q.colorOrange30),borderSuccessPrimary:X.extend("--ft-border-success-primary","Used as border for success buttons.",q.colorGreen200),borderSuccessSubtle:X.extend("--ft-border-success-subtle","Used as border for success components.",q.colorGreen30),borderErrorPrimary:X.extend("--ft-border-error-primary","Used as border for text fields in error states.",q.colorRed0),borderErrorSubtle:X.extend("--ft-border-error-subtle","Used as border for error components.",q.colorRed30),borderInfoPrimary:X.extend("--ft-border-info-primary","Used as border for buttons in info color.",q.colorCyan200),borderInfoSubtle:X.extend("--ft-border-info-subtle","Used as border for information components.",q.colorCyan30),borderGlobalPrimary:X.extend("--ft-border-global-primary","Used as border for element like input.",q.colorGray50),borderGlobalSubtle:X.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",q.colorGray30),borderInputPrimary:X.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",q.colorGray80)},tt={largeHeight:X.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:X.extend("--ft-button-large-horizontal-padding","",q.spacing4),largeGap:X.extend("--ft-button-large-gap","",q.spacing2),largeBorderRadius:X.extend("--ft-button-large-border-radius","",q.borderRadiusS),largeIconSize:X.extend("--ft-button-large-icon-size","",q.iconSize3),largeBorderWidth:X.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:X.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:X.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:X.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:X.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:X.extend("--ft-button-small-horizontal-padding","",q.spacing3),smallGap:X.extend("--ft-button-small-gap","",q.spacing2),smallBorderRadius:X.extend("--ft-button-small-border-radius","",q.borderRadiusS),smallIconSize:X.extend("--ft-button-small-icon-size","",q.iconSize2),smallBorderWidth:X.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:X.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:X.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:X.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:X.extend("--ft-button-primary-background-color","",Q.backgroundActionPrimary),primaryColor:X.extend("--ft-button-primary-color","",Q.contentGlobalOnColor),primaryIconColor:X.extend("--ft-button-primary-icon-color","",Q.contentGlobalOnColor),primaryStateLayerColor:X.extend("--ft-button-primary-state-layer-color","",Q.contentGlobalOnColor),primaryHoverStateLayerOpacity:X.extend("--ft-button-primary-hover-state-layer-opacity","",q.opacity16),primaryFocusStateLayerOpacity:X.extend("--ft-button-primary-focus-state-layer-opacity","",q.opacity16),primaryActiveStateLayerOpacity:X.extend("--ft-button-primary-active-state-layer-opacity","",q.opacity24),primaryDisabledComponentOpacity:X.extend("--ft-button-primary-disabled-component-opacity","",q.opacity40),focusFocusRingColor:X.extend("--ft-button-focus-focus-ring-color","",Q.borderActionFocusRing),tertiaryBackgroundColor:X.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:X.extend("--ft-button-tertiary-color","",Q.contentActionPrimary),tertiaryIconColor:X.extend("--ft-button-tertiary-icon-color","",Q.contentActionPrimary),tertiaryStateLayerColor:X.extend("--ft-button-tertiary-state-layer-color","",Q.contentActionPrimary),tertiaryHoverStateLayerOpacity:X.extend("--ft-button-tertiary-hover-state-layer-opacity","",q.opacity8),tertiaryFocusStateLayerOpacity:X.extend("--ft-button-tertiary-focus-state-layer-opacity","",q.opacity8),tertiaryActiveStateLayerOpacity:X.extend("--ft-button-tertiary-active-state-layer-opacity","",q.opacity16),tertiaryDisabledComponentOpacity:X.extend("--ft-button-tertiary-disabled-component-opacity","",q.opacity40),secondaryBackgroundColor:X.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:X.extend("--ft-button-secondary-color","",Q.contentActionPrimary),secondaryIconColor:X.extend("--ft-button-secondary-icon-color","",Q.contentActionPrimary),secondaryStateLayerColor:X.extend("--ft-button-secondary-state-layer-color","",Q.contentActionPrimary),secondaryHoverStateLayerOpacity:X.extend("--ft-button-secondary-hover-state-layer-opacity","",q.opacity8),secondaryFocusStateLayerOpacity:X.extend("--ft-button-secondary-focus-state-layer-opacity","",q.opacity8),secondaryActiveStateLayerOpacity:X.extend("--ft-button-secondary-active-state-layer-opacity","",q.opacity16),secondaryDisabledComponentOpacity:X.extend("--ft-button-secondary-disabled-component-opacity","",q.opacity40),secondaryBorderColor:X.extend("--ft-button-secondary-border-color","",Q.borderActionPrimary),neutralBackgroundColor:X.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:X.extend("--ft-button-neutral-icon-color","",Q.contentGlobalSecondary),neutralColor:X.extend("--ft-button-neutral-color","",Q.contentGlobalSecondary),neutralStateLayerColor:X.extend("--ft-button-neutral-state-layer-color","",Q.contentGlobalSecondary),neutralHoverStateLayerOpacity:X.extend("--ft-button-neutral-hover-state-layer-opacity","",q.opacity8),neutralFocusStateLayerOpacity:X.extend("--ft-button-neutral-focus-state-layer-opacity","",q.opacity8),neutralActiveStateLayerOpacity:X.extend("--ft-button-neutral-active-state-layer-opacity","",q.opacity16),neutralDisabledComponentOpacity:X.extend("--ft-button-neutral-disabled-component-opacity","",q.opacity40)};X.extend("--ft-banner-icon-size","",q.iconSize5),X.create("--ft-banner-border-width","","SIZE","1px"),X.extend("--ft-banner-horizontal-padding","",q.spacing6),X.extend("--ft-banner-vertical-padding","",q.spacing6),X.extend("--ft-banner-horizontal-side-gap","",q.spacing6),X.extend("--ft-banner-horizontal-mobile-gap","",q.spacing4),X.extend("--ft-banner-vertical-mobile-gap","",q.spacing6),X.extend("--ft-banner-horizontal-middle-gap","",q.spacing20),X.extend("--ft-banner-info-background-color","",Q.backgroundInfoSubtle),X.extend("--ft-banner-info-color","",Q.contentInfoPrimary),X.extend("--ft-banner-info-icon-color","",Q.contentInfoIconOnly),X.extend("--ft-breadcrumb-gap","",q.spacing1),X.extend("--ft-page-header-horizontal-padding","",q.spacing12),X.extend("--ft-page-header-vertical-padding","",q.spacing6),X.create("--ft-modal-small-container-width","","SIZE","600px"),X.create("--ft-modal-large-container-width","","SIZE","900px"),X.extend("--ft-modal-overlay-background-color","",q.colorGray700),X.extend("--ft-modal-overlay-opacity","",q.opacity40),X.extend("--ft-modal-shadow","",q.shadowElevation03),X.extend("--ft-modal-body-background-color","",q.colorWhite),X.extend("--ft-modal-body-color","",Q.contentGlobalPrimary),X.extend("--ft-modal-body-horizontal-padding","",q.spacing6),X.extend("--ft-modal-body-vertical-padding","",q.spacing6),X.extend("--ft-modal-body-vertical-gap","",q.spacing6),X.extend("--ft-modal-container-margin","",q.spacing3),X.extend("--ft-modal-header-background-color","",Q.backgroundGlobalOnSurface),X.extend("--ft-modal-header-border-color","",Q.borderGlobalSubtle),X.extend("--ft-modal-header-color","",Q.contentGlobalPrimary),X.extend("--ft-modal-header-trailing-icon-color","",Q.contentGlobalSecondary),X.extend("--ft-modal-header-vertical-padding","",q.spacing1),X.extend("--ft-modal-header-right-padding","",q.spacing1),X.extend("--ft-modal-header-left-padding","",q.spacing6),X.extend("--ft-modal-header-gap","",q.spacing2),X.create("--ft-modal-header-border-bottom","","SIZE","1px"),X.extend("--ft-modal-border-radius","",q.borderRadiusM),X.extend("--ft-text-input-field-horizontal-padding","",q.spacing4),X.extend("--ft-text-input-field-horizontal-gap","",q.spacing3),X.extend("--ft-text-input-field-vertical-gap","",q.spacing05),X.extend("--ft-text-input-field-icon-size","",q.iconSize3),X.create("--ft-text-input-field-height","","SIZE","50px"),X.extend("--ft-text-input-helper-horizontal-padding","",q.spacing4),X.extend("--ft-text-input-helper-horizontal-gap","",q.spacing1),X.extend("--ft-text-input-helper-icon-size","",q.iconSize2),X.extend("--ft-text-input-border-radius","",q.borderRadiusM),X.extend("--ft-text-input-background-color","",q.colorWhite),X.extend("--ft-text-input-content-value-color","",Q.contentGlobalPrimary),X.extend("--ft-text-input-trailing-icon-color","",Q.contentGlobalSubtle),X.extend("--ft-text-input-label-color","",Q.contentGlobalSubtle),X.extend("--ft-text-input-default-border-color","",Q.borderInputPrimary),X.extend("--ft-text-input-default-helper-text-color","",Q.contentGlobalSubtle),X.create("--ft-text-input-default-border-width","","SIZE","1px"),X.create("--ft-text-input-error-border-width","","SIZE","2px"),X.extend("--ft-text-input-error-border-color","",Q.borderErrorPrimary),X.extend("--ft-text-input-error-helper-text-color","",Q.contentErrorPrimary),X.extend("--ft-text-input-error-helper-icon-color","",Q.contentErrorIconOnly),X.create("--ft-text-input-warning-border-width","","SIZE","2px"),X.create("--ft-text-input-focus-outline-width","","SIZE","2px"),X.extend("--ft-text-input-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),X.extend("--ft-text-input-disabled-component-opacity","",q.opacity40),X.extend("--ft-text-area-background-color","",q.colorWhite),X.extend("--ft-text-area-content-value-color","",Q.contentGlobalPrimary),X.extend("--ft-text-area-label-color","",Q.contentGlobalSubtle),X.extend("--ft-text-area-default-border-color","",Q.borderInputPrimary),X.extend("--ft-text-area-default-helper-text-color","",Q.contentGlobalSubtle),X.create("--ft-text-area-default-border-width","","SIZE","1px"),X.create("--ft-text-area-error-border-width","","SIZE","2px"),X.extend("--ft-text-area-error-border-color","",Q.borderErrorPrimary),X.extend("--ft-text-area-error-helper-text-color","",Q.contentErrorPrimary),X.extend("--ft-text-area-error-helper-icon-color","",Q.contentErrorIconOnly),X.extend("--ft-text-area-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-text-area-focus-outline-width","","SIZE","2px"),X.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),X.extend("--ft-text-area-disabled-component-opacity","",q.opacity40),X.extend("--ft-text-area-field-horizontal-left-padding","",q.spacing4),X.extend("--ft-text-area-field-horizontal-gap","",q.spacing3),X.extend("--ft-text-area-field-vertical-gap","",q.spacing05),X.create("--ft-text-area-field-min-height","","SIZE","64px"),X.extend("--ft-text-area-helper-horizontal-padding","",q.spacing4),X.extend("--ft-text-area-helper-horizontal-gap","",q.spacing1),X.extend("--ft-text-area-helper-icon-size","",q.iconSize2),X.extend("--ft-text-area-border-radius","",q.borderRadiusM),X.create("--ft-floating-menu-height","","SIZE","50px"),X.extend("--ft-floating-menu-horizontal-padding","",q.spacing4),X.extend("--ft-floating-menu-off-icon-color","",Q.contentGlobalPrimary),X.extend("--ft-floating-menu-off-color","",Q.contentGlobalPrimary),X.extend("--ft-floating-menu-on-color","",Q.contentActionPrimary),X.extend("--ft-floating-menu-on-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-floating-menu-gap","",q.spacing3),X.extend("--ft-floating-menu-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),X.extend("--ft-floating-menu-focus-state-layer-opacity","",q.opacity8),X.extend("--ft-floating-menu-hover-state-layer-opacity","",q.opacity8),X.extend("--ft-floating-menu-active-state-layer-opacity","",q.opacity16),X.extend("--ft-floating-menu-disabled-component-opacity","",q.opacity40),X.extend("--ft-floating-menu-icon-size","",q.iconSize3),X.extend("--ft-floating-menu-background-color","",Q.backgroundGlobalOnSurface),X.extend("--ft-combobox-single-select-field-horizontal-padding","",q.spacing4),X.extend("--ft-combobox-single-select-field-horizontal-gap","",q.spacing3),X.extend("--ft-combobox-single-select-field-vertical-gap","",q.spacing05),X.extend("--ft-combobox-single-select-field-icon-size","",q.iconSize3),X.create("--ft-combobox-single-select-field-height","","SIZE","50px"),X.extend("--ft-combobox-single-select-helper-horizontal-padding","",q.spacing4),X.extend("--ft-combobox-single-select-helper-horizontal-gap","",q.spacing1),X.extend("--ft-combobox-single-select-helper-vertical-gap","",q.spacing1),X.extend("--ft-combobox-single-select-helper-icon-size","",q.iconSize2),X.extend("--ft-combobox-single-select-menu-vertical-gap","",q.spacing2),X.extend("--ft-combobox-single-select-border-radius","",q.borderRadiusM),X.extend("--ft-combobox-single-select-background-color","",q.colorWhite),X.extend("--ft-combobox-single-select-label-color","",Q.contentGlobalSubtle),X.extend("--ft-combobox-single-select-content-value-color","",Q.contentGlobalPrimary),X.extend("--ft-combobox-single-select-trailing-icon-color","",Q.contentGlobalSubtle),X.extend("--ft-combobox-single-select-default-border-color","",Q.borderInputPrimary),X.extend("--ft-combobox-single-select-default-helper-text-color","",Q.contentGlobalSubtle),X.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),X.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),X.extend("--ft-combobox-single-select-error-border-color","",Q.borderErrorPrimary),X.extend("--ft-combobox-single-select-error-helper-text-color","",Q.contentErrorPrimary),X.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),X.extend("--ft-combobox-single-select-warning-border-color","",Q.borderWarningPrimary),X.extend("--ft-combobox-single-select-warning-helper-text-color","",Q.contentWarningPrimary),X.extend("--ft-combobox-single-select-warning-helper-icon-color","",Q.contentWarningIconOnly),X.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),X.extend("--ft-combobox-single-select-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),X.extend("--ft-combobox-single-select-disabled-component-opacity","",q.opacity40),X.extend("--ft-combobox-multi-select-background-color","",q.colorWhite),X.extend("--ft-combobox-multi-select-label-color","",Q.contentGlobalSubtle),X.extend("--ft-combobox-multi-select-trailing-icon-color","",Q.contentGlobalSubtle),X.extend("--ft-combobox-multi-select-default-border-color","",Q.borderInputPrimary),X.extend("--ft-combobox-multi-select-default-helper-text-color","",Q.contentGlobalSubtle),X.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),X.extend("--ft-combobox-multi-select-error-border-color","",Q.borderErrorPrimary),X.extend("--ft-combobox-multi-select-error-helper-text-color","",Q.contentErrorPrimary),X.extend("--ft-combobox-multi-select-error-helper-icon","",Q.contentErrorIconOnly),X.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),X.extend("--ft-combobox-multi-select-warning-border-color","",Q.borderWarningPrimary),X.extend("--ft-combobox-multi-select-warning-helper-text-color","",Q.contentWarningPrimary),X.extend("--ft-combobox-multi-select-warning-helper-icon-color","",Q.contentWarningIconOnly),X.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),X.extend("--ft-combobox-multi-select-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),X.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),X.extend("--ft-combobox-multi-select-disabled-component-opacity","",q.opacity40),X.extend("--ft-combobox-multi-select-helper-horizontal-padding","",q.spacing4),X.extend("--ft-combobox-multi-select-helper-horizontal-gap","",q.spacing1),X.extend("--ft-combobox-multi-select-helper-vertical-gap","",q.spacing1),X.extend("--ft-combobox-multi-select-helper-icon-size","",q.iconSize2),X.extend("--ft-combobox-multi-select-field-horizontal-padding","",q.spacing4),X.extend("--ft-combobox-multi-select-field-horizontal-gap","",q.spacing3),X.extend("--ft-combobox-multi-select-field-vertical-gap","",q.spacing05),X.extend("--ft-combobox-multi-select-field-icon-size","",q.iconSize3),X.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),X.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",q.spacing1),X.extend("--ft-combobox-multi-select-content-values-vertical-gap","",q.spacing1),X.extend("--ft-combobox-multi-select-border-radius","",q.borderRadiusM),X.extend("--ft-popover-background-color","",Q.backgroundGlobalOnSurface),X.extend("--ft-popover-horizontal-padding","",q.spacing6),X.extend("--ft-popover-vertical-padding","",q.spacing6),X.extend("--ft-popover-icon-color","",Q.contentGlobalSecondary),X.extend("--ft-popover-icon-size","",q.iconSize2),X.extend("--ft-popover-title-color","",Q.contentGlobalPrimary),X.extend("--ft-popover-body-color","",Q.contentGlobalSecondary),X.extend("--ft-popover-link-color","",Q.contentActionPrimary),X.extend("--ft-popover-gap","",q.spacing3),X.extend("--ft-popover-border-radius","",q.borderRadiusM),X.extend("--ft-popover-shadow","",q.shadowElevation02),X.extend("--ft-tabs-top-left-border-radius","",q.borderRadiusS),X.extend("--ft-tabs-top-right-border-radius","",q.borderRadiusS),X.extend("--ft-tabs-label-horizontal-padding","",q.spacing4),X.extend("--ft-tabs-label-vertical-padding","",q.spacing3),X.extend("--ft-tabs-label-gap","",q.spacing1),X.extend("--ft-tabs-off-hover-state-layer-opacity","",q.opacity8),X.extend("--ft-tabs-off-focus-state-layer-opacity","",q.opacity8),X.extend("--ft-tabs-off-active-state-layer-opacity","",q.opacity16),X.extend("--ft-tabs-off-disabled-component-opacity","",q.opacity40),X.extend("--ft-tabs-off-color","",Q.contentGlobalSubtle),X.extend("--ft-tabs-off-state-layer-color","",Q.contentGlobalSubtle),X.extend("--ft-tabs-on-hover-state-layer-opacity","",q.opacity8),X.extend("--ft-tabs-on-focus-state-layer-opacity","",q.opacity8),X.extend("--ft-tabs-on-active-state-layer-opacity","",q.opacity16),X.extend("--ft-tabs-on-disabled-component-opacity","",q.opacity40),X.extend("--ft-tabs-on-color","",Q.contentActionPrimary),X.extend("--ft-tabs-on-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-tabs-icon-horizontal-padding","",q.spacing1),X.extend("--ft-tabs-icon-vertical-padding","",q.spacing4),X.create("--ft-tabs-focus-outline-width","","SIZE","2px"),X.extend("--ft-tabs-focus-focus-ring-color","",Q.borderActionFocusRing),X.extend("--ft-collapsible-hover-state-layer-opacity","",q.opacity8),X.extend("--ft-collapsible-focus-state-layer-opacity","",q.opacity8),X.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),X.extend("--ft-collapsible-focus-focus-ring-color","",Q.borderActionFocusRing),X.extend("--ft-collapsible-active-state-layer-opacity","",q.opacity16),X.extend("--ft-collapsible-disabled-component-opacity","",q.opacity40),X.extend("--ft-collapsible-horizontal-padding","",q.spacing4),X.extend("--ft-collapsible-vertical-padding","",q.spacing3),X.extend("--ft-collapsible-color","",Q.contentGlobalPrimary),X.extend("--ft-collapsible-state-layer-color","",Q.contentGlobalPrimary),X.extend("--ft-collapsible-background-color","",Q.backgroundGlobalOnSurface),X.extend("--ft-collapsible-border-color","",Q.borderGlobalSubtle),X.extend("--ft-collapsible-icon-size","",q.iconSize3),X.extend("--ft-switch-group-horizontal-padding","",q.spacing1),X.extend("--ft-switch-group-vertical-padding","",q.spacing1),X.extend("--ft-switch-group-gap","",q.spacing1),X.extend("--ft-switch-group-background-color","",Q.backgroundGlobalSurface),X.extend("--ft-switch-group-border-color","",Q.borderGlobalSubtle),X.create("--ft-switch-group-border-radius","","SIZE","6px"),X.extend("--ft-switch-label-horizontal-padding","",q.spacing2),X.extend("--ft-switch-label-vertical-padding","",q.spacing1),X.extend("--ft-switch-off-hover-state-layer-opacity","",q.opacity8),X.extend("--ft-switch-off-focus-state-layer-opacity","",q.opacity8),X.extend("--ft-switch-off-active-state-layer-opacity","",q.opacity16),X.extend("--ft-switch-off-disabled-component-opacity","",q.opacity40),X.extend("--ft-switch-off-color","",Q.contentGlobalSubtle),X.extend("--ft-switch-off-state-layer-color","",Q.contentGlobalSubtle),X.extend("--ft-switch-on-hover-state-layer-opacity","",q.opacity8),X.extend("--ft-switch-on-focus-state-layer-opacity","",q.opacity8),X.extend("--ft-switch-on-active-state-layer-opacity","",q.opacity16),X.extend("--ft-switch-on-disabled-component-opacity","",q.opacity40),X.extend("--ft-switch-on-color","",Q.contentActionPrimary),X.extend("--ft-switch-on-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-switch-icon-horizontal-padding","",q.spacing1),X.extend("--ft-switch-icon-vertical-padding","",q.spacing1),X.create("--ft-switch-focus-outline-width","","SIZE","2px"),X.extend("--ft-switch-focus-focus-ring-color","",Q.borderActionFocusRing),X.extend("--ft-switch-option-border-radius","",q.borderRadiusS),X.extend("--ft-chart-1-light","for area color charts",q.colorBrand40),X.extend("--ft-chart-1-base","for line charts",q.colorBrand0),X.extend("--ft-chart-2-light","for area color charts",q.colorYellow60),X.extend("--ft-chart-2-base","for line charts",q.colorYellow100),X.extend("--ft-chart-3-light","",q.colorUltramarine40),X.extend("--ft-chart-3-base","",q.colorUltramarine70),X.extend("--ft-chart-4-light","",q.colorCyan50),X.extend("--ft-chart-4-base","",q.colorCyan100),X.extend("--ft-chart-5-light","",q.colorRed40),X.extend("--ft-chart-5-base","",q.colorRed60),X.extend("--ft-chart-6-light","",q.colorGreen40),X.extend("--ft-chart-6-base","",q.colorGreen70),X.extend("--ft-chart-7-light","",q.colorOrange70),X.extend("--ft-chart-7-base","",q.colorOrange100),X.extend("--ft-chart-8-light","",q.colorAvocado70),X.extend("--ft-chart-8-base","",q.colorAvocado200),X.extend("--ft-chart-9-light","",q.colorBrown50),X.extend("--ft-chart-9-base","",q.colorBrown200),X.extend("--ft-chart-10-light","",q.colorGray50),X.extend("--ft-chart-10-base","",q.colorGray80),X.extend("--ft-chart-monochrome-10","",q.colorBrand10),X.extend("--ft-chart-monochrome-20","",q.colorBrand20),X.extend("--ft-chart-monochrome-30","",q.colorBrand40),X.extend("--ft-chart-monochrome-40","",q.colorBrand60),X.extend("--ft-chart-monochrome-50","",q.colorBrand0),X.extend("--ft-chart-monochrome-60","",q.colorBrand200),X.extend("--ft-chip-large-horizontal-padding","",q.spacing4),X.extend("--ft-chip-large-vertical-padding","",q.spacing2),X.extend("--ft-chip-large-gap","",q.spacing1),X.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),X.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),X.extend("--ft-chip-large-border-radius","",q.borderRadiusPill),X.create("--ft-chip-large-border-width","","SIZE","1px"),X.extend("--ft-chip-large-icon-size","",q.iconSize3),X.extend("--ft-chip-medium-horizontal-padding","",q.spacing3),X.extend("--ft-chip-medium-vertical-padding","",q.spacing1),X.extend("--ft-chip-medium-gap","",q.spacing1),X.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),X.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),X.extend("--ft-chip-medium-border-radius","",q.borderRadiusPill),X.create("--ft-chip-medium-border-width","","SIZE","1px"),X.extend("--ft-chip-medium-icon-size","",q.iconSize2),X.extend("--ft-chip-small-horizontal-padding","",q.spacing2),X.extend("--ft-chip-small-vertical-padding","",q.spacing05),X.extend("--ft-chip-small-gap","",q.spacing1),X.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),X.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),X.extend("--ft-chip-small-border-radius","",q.borderRadiusPill),X.create("--ft-chip-small-border-width","","SIZE","1px"),X.extend("--ft-chip-small-icon-size","",q.iconSize1),X.extend("--ft-chip-neutral-background-color","",Q.backgroundGlobalOnSurface),X.extend("--ft-chip-neutral-color","",Q.contentGlobalPrimary),X.extend("--ft-chip-neutral-icon-color","",Q.contentGlobalPrimary),X.extend("--ft-chip-neutral-border-color","",Q.borderGlobalSubtle),X.extend("--ft-chip-info-background-color","",Q.backgroundInfoSubtle),X.extend("--ft-chip-info-color","",Q.contentInfoPrimary),X.extend("--ft-chip-info-icon-color","",Q.contentInfoIconOnly),X.extend("--ft-chip-info-border-color","",Q.borderInfoSubtle),X.extend("--ft-chip-success-background-color","",Q.backgroundSuccessSubtle),X.extend("--ft-chip-success-color","",Q.contentSuccessPrimary),X.extend("--ft-chip-success-icon-color","",Q.contentSuccessIconOnly),X.extend("--ft-chip-success-border-color","",Q.borderSuccessSubtle),X.extend("--ft-chip-warning-background-color","",Q.backgroundWarningSubtle),X.extend("--ft-chip-warning-color","",Q.contentWarningPrimary),X.extend("--ft-chip-warning-icon-color","",Q.contentWarningIconOnly),X.extend("--ft-chip-warning-border-color","",Q.borderWarningSubtle),X.extend("--ft-chip-error-background-color","",Q.backgroundErrorSubtle),X.extend("--ft-chip-error-color","",Q.contentErrorPrimary),X.extend("--ft-chip-error-icon-color","",Q.contentErrorIconOnly),X.extend("--ft-chip-error-border-color","",Q.borderErrorSubtle),X.extend("--ft-border-info-border-color","",Q.borderInfoSubtle),X.create("--ft-notice-border-width","","SIZE","1px"),X.extend("--ft-notice-horizontal-padding","",q.spacing2),X.extend("--ft-notice-vertical-padding","",q.spacing1),X.extend("--ft-notice-border-radius","",q.borderRadiusS),X.extend("--ft-notice-gap","",q.spacing2),X.extend("--ft-notice-icon-size","",q.iconSize3),X.extend("--ft-notice-info-background-color","",Q.backgroundInfoSubtle),X.extend("--ft-notice-info-border-color","",Q.borderInfoSubtle),X.extend("--ft-notice-info-color","",Q.contentInfoPrimary),X.extend("--ft-notice-info-icon-color","",Q.contentInfoIconOnly),X.extend("--ft-notice-warning-background-color","",Q.backgroundWarningSubtle),X.extend("--ft-notice-warning-border-color","",Q.borderWarningSubtle),X.extend("--ft-notice-warning-color","",Q.contentWarningPrimary),X.extend("--ft-notice-warning-icon-color","",Q.contentWarningIconOnly),X.extend("--ft-checkbox-color","",Q.contentGlobalPrimary),X.extend("--ft-checkbox-checked-background-color","",Q.contentActionPrimary),X.extend("--ft-checkbox-checked-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-checkbox-checked-icon-color","",Q.contentGlobalOnColor),X.extend("--ft-checkbox-checked-hover-state-layer-opacity","",q.opacity16),X.extend("--ft-checkbox-checked-focus-state-layer-opacity","",q.opacity16),X.extend("--ft-checkbox-checked-active-state-layer-opacity","",q.opacity24),X.extend("--ft-checkbox-checked-disabled-component-opacity","",q.opacity40),X.extend("--ft-checkbox-unchecked-border-color","",q.colorGray80),X.extend("--ft-checkbox-unchecked-state-layer-color","",q.colorGray80),X.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",q.opacity16),X.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",q.opacity16),X.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",q.opacity24),X.extend("--ft-checkbox-unchecked-disabled-component-opacity","",q.opacity40),X.extend("--ft-checkbox-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),X.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),X.extend("--ft-checkbox-gap","",q.spacing3),X.extend("--ft-toggle-off-hover-state-layer-opacity","",q.opacity16),X.extend("--ft-toggle-off-focus-state-layer-opacity","",q.opacity16),X.extend("--ft-toggle-off-active-state-layer-opacity","",q.opacity24),X.extend("--ft-toggle-off-disabled-component-opacity","",q.opacity40),X.extend("--ft-toggle-off-background-color","",Q.contentGlobalSubtle),X.extend("--ft-toggle-off-icon-color","",Q.contentGlobalSubtle),X.extend("--ft-toggle-off-state-layer-color","",Q.contentGlobalSubtle),X.extend("--ft-toggle-on-hover-state-layer-opacity","",q.opacity16),X.extend("--ft-toggle-on-focus-state-layer-opacity","",q.opacity16),X.extend("--ft-toggle-on-active-state-layer-opacity","",q.opacity24),X.extend("--ft-toggle-on-disabled-component-opacity","",q.opacity40),X.extend("--ft-toggle-on-background-color","",Q.contentActionPrimary),X.extend("--ft-toggle-on-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-toggle-on-icon-color","",Q.contentActionPrimary),X.extend("--ft-toggle-color","",Q.contentGlobalPrimary),X.extend("--ft-toggle-focus-focus-ring-color","",Q.borderActionFocusRing),X.extend("--ft-toggle-gap","",q.spacing3),X.extend("--ft-radio-color","",Q.contentGlobalPrimary),X.extend("--ft-radio-selected-radio-color","",Q.contentActionPrimary),X.extend("--ft-radio-selected-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-radio-selected-hover-state-layer-opacity","",q.opacity16),X.extend("--ft-radio-selected-focus-state-layer-opacity","",q.opacity16),X.extend("--ft-radio-selected-active-state-layer-opacity","",q.opacity24),X.extend("--ft-radio-selected-disabled-component-opacity","",q.opacity40),X.extend("--ft-radio-unselected-state-layer-color","",Q.borderInputPrimary),X.extend("--ft-radio-unselected-border-color","",Q.borderInputPrimary),X.extend("--ft-radio-unselected-hover-state-layer-opacity","",q.opacity16),X.extend("--ft-radio-unselected-focus-state-layer-opacity","",q.opacity16),X.extend("--ft-radio-unselected-active-state-layer-opacity","",q.opacity24),X.extend("--ft-radio-unselected-disabled-component-opacity","",q.opacity40),X.extend("--ft-radio-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-radio-focus-outline-offset","","SIZE","3px"),X.create("--ft-radio-focus-outline-width","","SIZE","2px"),X.extend("--ft-radio-gap","",q.spacing3),X.extend("--ft-notification-icon-size","",q.iconSize4),X.extend("--ft-notification-horizontal-padding","",q.spacing4),X.extend("--ft-notification-vertical-padding","",q.spacing4),X.extend("--ft-notification-info-background-color","",Q.backgroundInfoSubtle),X.extend("--ft-notification-info-color","",Q.contentInfoPrimary),X.extend("--ft-notification-info-icon-color","",Q.contentInfoIconOnly),X.extend("--ft-notification-info-border-color","",Q.borderInfoSubtle),X.extend("--ft-notification-success-background-color","",Q.backgroundSuccessSubtle),X.extend("--ft-notification-success-color","",Q.contentSuccessPrimary),X.extend("--ft-notification-success-icon-color","",Q.contentSuccessIconOnly),X.extend("--ft-notification-success-border-color","",Q.borderSuccessSubtle),X.extend("--ft-notification-warning-background-color","",Q.backgroundWarningSubtle),X.extend("--ft-notification-warning-color","",Q.contentWarningPrimary),X.extend("--ft-notification-warning-icon-color","",Q.contentWarningIconOnly),X.extend("--ft-notification-warning-border-color","",Q.borderWarningSubtle),X.extend("--ft-notification-error-background-color","",Q.backgroundErrorSubtle),X.extend("--ft-notification-error-color","",Q.contentErrorPrimary),X.extend("--ft-notification-error-icon-color","",Q.contentErrorIconOnly),X.extend("--ft-notification-error-border-color","",Q.borderErrorSubtle),X.extend("--ft-notification-border-radius","",q.borderRadiusPill),X.create("--ft-notification-border-width","","SIZE","1px"),X.extend("--ft-notification-leading-gap","",q.spacing2),X.extend("--ft-notification-trailing-gap","",q.spacing8),X.extend("--ft-tooltip-horizontal-padding","",q.spacing2),X.extend("--ft-tooltip-vertical-padding","",q.spacing2),X.extend("--ft-tooltip-border-radius","",q.borderRadiusS),X.extend("--ft-tooltip-color","",Q.contentGlobalOnColor),X.extend("--ft-tooltip-background-color","",Q.contentGlobalPrimary),X.extend("--ft-tooltip-background-opacity","",q.opacity80),X.extend("--ft-tooltip-shadow","",q.shadowElevation03),X.create("--ft-tooltip-max-width","","SIZE","256px"),X.extend("--ft-tooltip-gap","",q.spacing05);const ot=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),et=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),it={fontFamily:et,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},rt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ot),nt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",it.fontSize,"20px"),at=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",it.fontWeight,"normal"),lt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",it.letterSpacing,"0.15px"),st=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",it.lineHeight,"1.2"),ct=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",it.textTransform,"inherit"),pt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ot),ft=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",it.fontSize,"14px"),dt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",it.fontWeight,"normal"),ht=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",it.letterSpacing,"0.105px"),gt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",it.lineHeight,"1.7"),ut=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",it.textTransform,"inherit"),yt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",et),bt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",it.fontSize,"16px"),mt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",it.fontWeight,"600"),xt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",it.letterSpacing,"0.144px"),vt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",it.lineHeight,"1.5"),Ot=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",it.textTransform,"inherit"),Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",et),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",it.fontSize,"14px"),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",it.fontWeight,"normal"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",it.letterSpacing,"0.098px"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",it.lineHeight,"1.7"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",it.textTransform,"inherit"),Et={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",et),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",it.fontSize,"16px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",it.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",it.letterSpacing,"0.496px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",it.lineHeight,"1.5"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",it.textTransform,"inherit")},kt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",et),Wt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",it.fontSize,"14px"),Ut=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",it.fontWeight,"normal"),Rt=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",it.letterSpacing,"0.252px"),zt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",it.lineHeight,"1.4"),Zt=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",it.textTransform,"inherit"),Lt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",et),fontSize:o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",it.fontSize,"12px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",it.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",it.letterSpacing,"0.396px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",it.lineHeight,"1.33"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",it.textTransform,"inherit")},Kt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",et),Dt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",it.fontSize,"10px"),Ft=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",it.fontWeight,"normal"),Bt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",it.letterSpacing,"0.33px"),Ht=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",it.lineHeight,"1.6"),At=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",it.textTransform,"inherit"),Gt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",et),Pt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",it.fontSize,"10px"),jt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",it.fontWeight,"normal"),Mt=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",it.letterSpacing,"1.5px"),Tt=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",it.lineHeight,"1.6"),_t=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",it.textTransform,"uppercase"),Yt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",et),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",it.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",it.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",it.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",it.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",it.textTransform,"uppercase")},Vt=e.css`
13
+ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litStatic$:t,r:P}),T=new Map,_=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],l=[];let s,c=0,p=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(n=e[c],r=j(n));)s+=r+o[++c],p=!0;c!==i&&l.push(n),a.push(s),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=T.get(t))&&(a.raw=a,T.set(t,o=a)),e=l}return t(o,...e)})(C);var Y;!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"}(Y||(Y={}));const V=t=>"string"==typeof t?e.unsafeCSS(t):t;class X{static create(t,o,i,r){const n=t=>V(null!=t?t:r),a=e.css`var(${V(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${V(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,o,i,r){const n=t=>i.get(null!=t?t:r),a=e.css`var(${V(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${V(t)}, ${n(o)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):V(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${V(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=i,r.get=o=>e.css`var(${V(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const q={colorWhite:X.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:X.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:X.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:X.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:X.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:X.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:X.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:X.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:X.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:X.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:X.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:X.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:X.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:X.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:X.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:X.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:X.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:X.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:X.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:X.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:X.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:X.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:X.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:X.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:X.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:X.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:X.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:X.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:X.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:X.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:X.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:X.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:X.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:X.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:X.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:X.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:X.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:X.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:X.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:X.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:X.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:X.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:X.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:X.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:X.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:X.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:X.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:X.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:X.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:X.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:X.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:X.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:X.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:X.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:X.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:X.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:X.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:X.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:X.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:X.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:X.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:X.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:X.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:X.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:X.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:X.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:X.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:X.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:X.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:X.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:X.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:X.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:X.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:X.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:X.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:X.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:X.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:X.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:X.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:X.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:X.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:X.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:X.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:X.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:X.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:X.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:X.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:X.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:X.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:X.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:X.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:X.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:X.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:X.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:X.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:X.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:X.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:X.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:X.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:X.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:X.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:X.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:X.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:X.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:X.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:X.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:X.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:X.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:X.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:X.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:X.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:X.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:X.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:X.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:X.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:X.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:X.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:X.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:X.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:X.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:X.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:X.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:X.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:X.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:X.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:X.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:X.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:X.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:X.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:X.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:X.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:X.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:X.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:X.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:X.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:X.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:X.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:X.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:X.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:X.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:X.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:X.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:X.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:X.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:X.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:X.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:X.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:X.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:X.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:X.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:X.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:X.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:X.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:X.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:X.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:X.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:X.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:X.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:X.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:X.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:X.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:X.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:X.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:X.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:X.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:X.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:X.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:X.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:X.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:X.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:X.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:X.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:X.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:X.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:X.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:X.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:X.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:X.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:X.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:X.create("--ft-icon-size-6","","SIZE","48px"),opacity0:X.create("--ft-opacity-0","","NUMBER","0"),opacity8:X.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:X.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:X.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:X.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:X.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:X.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:X.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:X.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:X.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:X.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:X.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:X.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:X.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:X.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)"),underline:X.create("--ft-underline","","UNKNOWN","underline")},J={display:{fontFamily:X.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:X.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:X.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:X.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:X.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:X.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:X.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:X.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:X.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:X.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:X.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:X.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:X.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:X.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:X.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:X.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:X.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:X.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:X.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:X.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:X.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:X.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-medium-underline":{fontFamily:X.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:X.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:X.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},"body-2-semibold":{fontFamily:X.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:X.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:X.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:X.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:X.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:X.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:X.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:X.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:X.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:X.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:X.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:X.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:X.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:X.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:X.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:X.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:X.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:X.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:X.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:X.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:X.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:X.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},Q={backgroundActionPrimary:X.extend("--ft-background-action-primary","Used as backgorund of primary action components.",q.colorBrand0),backgroundErrorSubtle:X.extend("--ft-background-error-subtle","Used as background of subtle error components.",q.colorRed10),backgroundInfoSubtle:X.extend("--ft-background-info-subtle","Used as background of subtle information components.",q.colorCyan10),backgroundWarningSubtle:X.extend("--ft-background-warning-subtle","Used as background of subtle information components.",q.colorOrange10),backgroundSuccessSubtle:X.extend("--ft-background-success-subtle","Used as background of subtle success components.",q.colorGreen10),backgroundGlobalSurface:X.extend("--ft-background-global-surface","Used as app background.",q.colorWhite),backgroundGlobalOnSurface:X.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",q.colorGray10),backgroundGlobalOnSurfaceDark:X.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",q.colorGray30),contentActionPrimary:X.extend("--ft-content-action-primary","Used on label of primary action on light surface.",q.colorBrand0),contentWarningPrimary:X.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",q.colorOrange200),contentWarningIconOnly:X.extend("--ft-content-warning-icon-only","Used on warning status icons alone",q.colorOrange0),contentErrorPrimary:X.extend("--ft-content-error-primary","Used on label of error messages on light surface.",q.colorRed0),contentErrorIconOnly:X.extend("--ft-content-error-icon-only","Used on error status icons alone",q.colorRed70),contentInfoPrimary:X.extend("--ft-content-info-primary","Used on label of information messages on light surface.",q.colorCyan200),contentInfoIconOnly:X.extend("--ft-content-info-icon-only","Used on info status icons alone",q.colorCyan0),contentSuccessPrimary:X.extend("--ft-content-success-primary","Used on label of success messages on light surface.",q.colorGreen200),contentSuccessIconOnly:X.extend("--ft-content-success-icon-only","Used on success status icons alone",q.colorGreen0),contentGlobalPrimary:X.extend("--ft-content-global-primary","Used for main content on the page.",q.colorGray500),contentGlobalSecondary:X.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",q.colorGray200),contentGlobalSubtle:X.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",q.colorGray0),contentGlobalOnColor:X.extend("--ft-content-global-on-color","Used for content on a dominant color.",q.colorWhite),borderActionPrimary:X.extend("--ft-border-action-primary","Used as border for primary action components.",q.colorBrand0),borderActionFocusRing:X.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",q.colorCyan0),borderWarningPrimary:X.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",q.colorOrange200),borderWarningSubtle:X.extend("--ft-border-warning-subtle","Used as border for warning components.",q.colorOrange30),borderSuccessPrimary:X.extend("--ft-border-success-primary","Used as border for success buttons.",q.colorGreen200),borderSuccessSubtle:X.extend("--ft-border-success-subtle","Used as border for success components.",q.colorGreen30),borderErrorPrimary:X.extend("--ft-border-error-primary","Used as border for text fields in error states.",q.colorRed0),borderErrorSubtle:X.extend("--ft-border-error-subtle","Used as border for error components.",q.colorRed30),borderInfoPrimary:X.extend("--ft-border-info-primary","Used as border for buttons in info color.",q.colorCyan200),borderInfoSubtle:X.extend("--ft-border-info-subtle","Used as border for information components.",q.colorCyan30),borderGlobalPrimary:X.extend("--ft-border-global-primary","Used as border for element like input.",q.colorGray50),borderGlobalSubtle:X.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",q.colorGray30),borderInputPrimary:X.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",q.colorGray80)},tt={largeHeight:X.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:X.extend("--ft-button-large-horizontal-padding","",q.spacing4),largeGap:X.extend("--ft-button-large-gap","",q.spacing2),largeBorderRadius:X.extend("--ft-button-large-border-radius","",q.borderRadiusS),largeIconSize:X.extend("--ft-button-large-icon-size","",q.iconSize3),largeBorderWidth:X.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:X.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:X.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:X.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:X.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:X.extend("--ft-button-small-horizontal-padding","",q.spacing3),smallGap:X.extend("--ft-button-small-gap","",q.spacing2),smallBorderRadius:X.extend("--ft-button-small-border-radius","",q.borderRadiusS),smallIconSize:X.extend("--ft-button-small-icon-size","",q.iconSize2),smallBorderWidth:X.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:X.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:X.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:X.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:X.extend("--ft-button-primary-background-color","",Q.backgroundActionPrimary),primaryColor:X.extend("--ft-button-primary-color","",Q.contentGlobalOnColor),primaryIconColor:X.extend("--ft-button-primary-icon-color","",Q.contentGlobalOnColor),primaryStateLayerColor:X.extend("--ft-button-primary-state-layer-color","",Q.contentGlobalOnColor),primaryHoverStateLayerOpacity:X.extend("--ft-button-primary-hover-state-layer-opacity","",q.opacity16),primaryFocusStateLayerOpacity:X.extend("--ft-button-primary-focus-state-layer-opacity","",q.opacity16),primaryActiveStateLayerOpacity:X.extend("--ft-button-primary-active-state-layer-opacity","",q.opacity24),primaryDisabledComponentOpacity:X.extend("--ft-button-primary-disabled-component-opacity","",q.opacity40),focusFocusRingColor:X.extend("--ft-button-focus-focus-ring-color","",Q.borderActionFocusRing),tertiaryBackgroundColor:X.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:X.extend("--ft-button-tertiary-color","",Q.contentActionPrimary),tertiaryIconColor:X.extend("--ft-button-tertiary-icon-color","",Q.contentActionPrimary),tertiaryStateLayerColor:X.extend("--ft-button-tertiary-state-layer-color","",Q.contentActionPrimary),tertiaryHoverStateLayerOpacity:X.extend("--ft-button-tertiary-hover-state-layer-opacity","",q.opacity8),tertiaryFocusStateLayerOpacity:X.extend("--ft-button-tertiary-focus-state-layer-opacity","",q.opacity8),tertiaryActiveStateLayerOpacity:X.extend("--ft-button-tertiary-active-state-layer-opacity","",q.opacity16),tertiaryDisabledComponentOpacity:X.extend("--ft-button-tertiary-disabled-component-opacity","",q.opacity40),secondaryBackgroundColor:X.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:X.extend("--ft-button-secondary-color","",Q.contentActionPrimary),secondaryIconColor:X.extend("--ft-button-secondary-icon-color","",Q.contentActionPrimary),secondaryStateLayerColor:X.extend("--ft-button-secondary-state-layer-color","",Q.contentActionPrimary),secondaryHoverStateLayerOpacity:X.extend("--ft-button-secondary-hover-state-layer-opacity","",q.opacity8),secondaryFocusStateLayerOpacity:X.extend("--ft-button-secondary-focus-state-layer-opacity","",q.opacity8),secondaryActiveStateLayerOpacity:X.extend("--ft-button-secondary-active-state-layer-opacity","",q.opacity16),secondaryDisabledComponentOpacity:X.extend("--ft-button-secondary-disabled-component-opacity","",q.opacity40),secondaryBorderColor:X.extend("--ft-button-secondary-border-color","",Q.borderActionPrimary),neutralBackgroundColor:X.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:X.extend("--ft-button-neutral-icon-color","",Q.contentGlobalSecondary),neutralColor:X.extend("--ft-button-neutral-color","",Q.contentGlobalSecondary),neutralStateLayerColor:X.extend("--ft-button-neutral-state-layer-color","",Q.contentGlobalSecondary),neutralHoverStateLayerOpacity:X.extend("--ft-button-neutral-hover-state-layer-opacity","",q.opacity8),neutralFocusStateLayerOpacity:X.extend("--ft-button-neutral-focus-state-layer-opacity","",q.opacity8),neutralActiveStateLayerOpacity:X.extend("--ft-button-neutral-active-state-layer-opacity","",q.opacity16),neutralDisabledComponentOpacity:X.extend("--ft-button-neutral-disabled-component-opacity","",q.opacity40)};X.extend("--ft-banner-icon-size","",q.iconSize5),X.create("--ft-banner-border-width","","SIZE","1px"),X.extend("--ft-banner-horizontal-padding","",q.spacing6),X.extend("--ft-banner-vertical-padding","",q.spacing6),X.extend("--ft-banner-horizontal-side-gap","",q.spacing6),X.extend("--ft-banner-horizontal-mobile-gap","",q.spacing4),X.extend("--ft-banner-vertical-mobile-gap","",q.spacing6),X.extend("--ft-banner-horizontal-middle-gap","",q.spacing20),X.extend("--ft-banner-info-background-color","",Q.backgroundInfoSubtle),X.extend("--ft-banner-info-color","",Q.contentInfoPrimary),X.extend("--ft-banner-info-icon-color","",Q.contentInfoIconOnly),X.extend("--ft-breadcrumb-gap","",q.spacing1),X.extend("--ft-page-header-horizontal-padding","",q.spacing12),X.extend("--ft-page-header-vertical-padding","",q.spacing6),X.create("--ft-modal-small-container-width","","SIZE","600px"),X.create("--ft-modal-large-container-width","","SIZE","900px"),X.extend("--ft-modal-overlay-background-color","",q.colorGray700),X.extend("--ft-modal-overlay-opacity","",q.opacity40),X.extend("--ft-modal-shadow","",q.shadowElevation03),X.extend("--ft-modal-body-background-color","",q.colorWhite),X.extend("--ft-modal-body-color","",Q.contentGlobalPrimary),X.extend("--ft-modal-body-horizontal-padding","",q.spacing6),X.extend("--ft-modal-body-vertical-padding","",q.spacing6),X.extend("--ft-modal-body-vertical-gap","",q.spacing6),X.extend("--ft-modal-container-margin","",q.spacing3),X.extend("--ft-modal-header-background-color","",Q.backgroundGlobalOnSurface),X.extend("--ft-modal-header-border-color","",Q.borderGlobalSubtle),X.extend("--ft-modal-header-color","",Q.contentGlobalPrimary),X.extend("--ft-modal-header-trailing-icon-color","",Q.contentGlobalSecondary),X.extend("--ft-modal-header-vertical-padding","",q.spacing1),X.extend("--ft-modal-header-right-padding","",q.spacing1),X.extend("--ft-modal-header-left-padding","",q.spacing6),X.extend("--ft-modal-header-gap","",q.spacing2),X.create("--ft-modal-header-border-bottom","","SIZE","1px"),X.extend("--ft-modal-border-radius","",q.borderRadiusM),X.extend("--ft-text-input-field-horizontal-padding","",q.spacing4),X.extend("--ft-text-input-field-horizontal-gap","",q.spacing3),X.extend("--ft-text-input-field-vertical-gap","",q.spacing05),X.extend("--ft-text-input-field-icon-size","",q.iconSize3),X.create("--ft-text-input-field-height","","SIZE","50px"),X.extend("--ft-text-input-helper-horizontal-padding","",q.spacing4),X.extend("--ft-text-input-helper-horizontal-gap","",q.spacing1),X.extend("--ft-text-input-helper-icon-size","",q.iconSize2),X.extend("--ft-text-input-border-radius","",q.borderRadiusM),X.extend("--ft-text-input-background-color","",q.colorWhite),X.extend("--ft-text-input-content-value-color","",Q.contentGlobalPrimary),X.extend("--ft-text-input-trailing-icon-color","",Q.contentGlobalSubtle),X.extend("--ft-text-input-label-color","",Q.contentGlobalSubtle),X.extend("--ft-text-input-default-border-color","",Q.borderInputPrimary),X.extend("--ft-text-input-default-helper-text-color","",Q.contentGlobalSubtle),X.create("--ft-text-input-default-border-width","","SIZE","1px"),X.create("--ft-text-input-error-border-width","","SIZE","2px"),X.extend("--ft-text-input-error-border-color","",Q.borderErrorPrimary),X.extend("--ft-text-input-error-helper-text-color","",Q.contentErrorPrimary),X.extend("--ft-text-input-error-helper-icon-color","",Q.contentErrorIconOnly),X.create("--ft-text-input-warning-border-width","","SIZE","2px"),X.create("--ft-text-input-focus-outline-width","","SIZE","2px"),X.extend("--ft-text-input-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),X.extend("--ft-text-input-disabled-component-opacity","",q.opacity40),X.extend("--ft-text-area-background-color","",q.colorWhite),X.extend("--ft-text-area-content-value-color","",Q.contentGlobalPrimary),X.extend("--ft-text-area-label-color","",Q.contentGlobalSubtle),X.extend("--ft-text-area-default-border-color","",Q.borderInputPrimary),X.extend("--ft-text-area-default-helper-text-color","",Q.contentGlobalSubtle),X.create("--ft-text-area-default-border-width","","SIZE","1px"),X.create("--ft-text-area-error-border-width","","SIZE","2px"),X.extend("--ft-text-area-error-border-color","",Q.borderErrorPrimary),X.extend("--ft-text-area-error-helper-text-color","",Q.contentErrorPrimary),X.extend("--ft-text-area-error-helper-icon-color","",Q.contentErrorIconOnly),X.extend("--ft-text-area-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-text-area-focus-outline-width","","SIZE","2px"),X.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),X.extend("--ft-text-area-disabled-component-opacity","",q.opacity40),X.extend("--ft-text-area-field-horizontal-left-padding","",q.spacing4),X.extend("--ft-text-area-field-horizontal-gap","",q.spacing3),X.extend("--ft-text-area-field-vertical-gap","",q.spacing05),X.create("--ft-text-area-field-min-height","","SIZE","64px"),X.extend("--ft-text-area-helper-horizontal-padding","",q.spacing4),X.extend("--ft-text-area-helper-horizontal-gap","",q.spacing1),X.extend("--ft-text-area-helper-icon-size","",q.iconSize2),X.extend("--ft-text-area-border-radius","",q.borderRadiusM),X.create("--ft-floating-menu-height","","SIZE","50px"),X.extend("--ft-floating-menu-horizontal-padding","",q.spacing4),X.extend("--ft-floating-menu-off-icon-color","",Q.contentGlobalPrimary),X.extend("--ft-floating-menu-off-color","",Q.contentGlobalPrimary),X.extend("--ft-floating-menu-on-color","",Q.contentActionPrimary),X.extend("--ft-floating-menu-on-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-floating-menu-gap","",q.spacing3),X.extend("--ft-floating-menu-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),X.extend("--ft-floating-menu-focus-state-layer-opacity","",q.opacity8),X.extend("--ft-floating-menu-hover-state-layer-opacity","",q.opacity8),X.extend("--ft-floating-menu-active-state-layer-opacity","",q.opacity16),X.extend("--ft-floating-menu-disabled-component-opacity","",q.opacity40),X.extend("--ft-floating-menu-icon-size","",q.iconSize3),X.extend("--ft-floating-menu-background-color","",Q.backgroundGlobalOnSurface),X.extend("--ft-combobox-single-select-field-horizontal-padding","",q.spacing4),X.extend("--ft-combobox-single-select-field-horizontal-gap","",q.spacing3),X.extend("--ft-combobox-single-select-field-vertical-gap","",q.spacing05),X.extend("--ft-combobox-single-select-field-icon-size","",q.iconSize3),X.create("--ft-combobox-single-select-field-height","","SIZE","50px"),X.extend("--ft-combobox-single-select-helper-horizontal-padding","",q.spacing4),X.extend("--ft-combobox-single-select-helper-horizontal-gap","",q.spacing1),X.extend("--ft-combobox-single-select-helper-vertical-gap","",q.spacing1),X.extend("--ft-combobox-single-select-helper-icon-size","",q.iconSize2),X.extend("--ft-combobox-single-select-menu-vertical-gap","",q.spacing2),X.extend("--ft-combobox-single-select-border-radius","",q.borderRadiusM),X.extend("--ft-combobox-single-select-background-color","",q.colorWhite),X.extend("--ft-combobox-single-select-label-color","",Q.contentGlobalSubtle),X.extend("--ft-combobox-single-select-content-value-color","",Q.contentGlobalPrimary),X.extend("--ft-combobox-single-select-trailing-icon-color","",Q.contentGlobalSubtle),X.extend("--ft-combobox-single-select-default-border-color","",Q.borderInputPrimary),X.extend("--ft-combobox-single-select-default-helper-text-color","",Q.contentGlobalSubtle),X.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),X.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),X.extend("--ft-combobox-single-select-error-border-color","",Q.borderErrorPrimary),X.extend("--ft-combobox-single-select-error-helper-text-color","",Q.contentErrorPrimary),X.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),X.extend("--ft-combobox-single-select-warning-border-color","",Q.borderWarningPrimary),X.extend("--ft-combobox-single-select-warning-helper-text-color","",Q.contentWarningPrimary),X.extend("--ft-combobox-single-select-warning-helper-icon-color","",Q.contentWarningIconOnly),X.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),X.extend("--ft-combobox-single-select-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),X.extend("--ft-combobox-single-select-disabled-component-opacity","",q.opacity40),X.extend("--ft-combobox-multi-select-background-color","",q.colorWhite),X.extend("--ft-combobox-multi-select-label-color","",Q.contentGlobalSubtle),X.extend("--ft-combobox-multi-select-trailing-icon-color","",Q.contentGlobalSubtle),X.extend("--ft-combobox-multi-select-default-border-color","",Q.borderInputPrimary),X.extend("--ft-combobox-multi-select-default-helper-text-color","",Q.contentGlobalSubtle),X.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),X.extend("--ft-combobox-multi-select-error-border-color","",Q.borderErrorPrimary),X.extend("--ft-combobox-multi-select-error-helper-text-color","",Q.contentErrorPrimary),X.extend("--ft-combobox-multi-select-error-helper-icon","",Q.contentErrorIconOnly),X.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),X.extend("--ft-combobox-multi-select-warning-border-color","",Q.borderWarningPrimary),X.extend("--ft-combobox-multi-select-warning-helper-text-color","",Q.contentWarningPrimary),X.extend("--ft-combobox-multi-select-warning-helper-icon-color","",Q.contentWarningIconOnly),X.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),X.extend("--ft-combobox-multi-select-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),X.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),X.extend("--ft-combobox-multi-select-disabled-component-opacity","",q.opacity40),X.extend("--ft-combobox-multi-select-helper-horizontal-padding","",q.spacing4),X.extend("--ft-combobox-multi-select-helper-horizontal-gap","",q.spacing1),X.extend("--ft-combobox-multi-select-helper-vertical-gap","",q.spacing1),X.extend("--ft-combobox-multi-select-helper-icon-size","",q.iconSize2),X.extend("--ft-combobox-multi-select-field-horizontal-padding","",q.spacing4),X.extend("--ft-combobox-multi-select-field-horizontal-gap","",q.spacing3),X.extend("--ft-combobox-multi-select-field-vertical-gap","",q.spacing05),X.extend("--ft-combobox-multi-select-field-icon-size","",q.iconSize3),X.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),X.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",q.spacing1),X.extend("--ft-combobox-multi-select-content-values-vertical-gap","",q.spacing1),X.extend("--ft-combobox-multi-select-border-radius","",q.borderRadiusM),X.extend("--ft-popover-background-color","",Q.backgroundGlobalOnSurface),X.extend("--ft-popover-horizontal-padding","",q.spacing6),X.extend("--ft-popover-vertical-padding","",q.spacing6),X.extend("--ft-popover-icon-color","",Q.contentGlobalSecondary),X.extend("--ft-popover-icon-size","",q.iconSize2),X.extend("--ft-popover-title-color","",Q.contentGlobalPrimary),X.extend("--ft-popover-body-color","",Q.contentGlobalSecondary),X.extend("--ft-popover-link-color","",Q.contentActionPrimary),X.extend("--ft-popover-gap","",q.spacing3),X.extend("--ft-popover-border-radius","",q.borderRadiusM),X.extend("--ft-popover-shadow","",q.shadowElevation02),X.extend("--ft-tabs-top-left-border-radius","",q.borderRadiusS),X.extend("--ft-tabs-top-right-border-radius","",q.borderRadiusS),X.extend("--ft-tabs-label-horizontal-padding","",q.spacing4),X.extend("--ft-tabs-label-vertical-padding","",q.spacing3),X.extend("--ft-tabs-label-gap","",q.spacing1),X.extend("--ft-tabs-off-hover-state-layer-opacity","",q.opacity8),X.extend("--ft-tabs-off-focus-state-layer-opacity","",q.opacity8),X.extend("--ft-tabs-off-active-state-layer-opacity","",q.opacity16),X.extend("--ft-tabs-off-disabled-component-opacity","",q.opacity40),X.extend("--ft-tabs-off-color","",Q.contentGlobalSubtle),X.extend("--ft-tabs-off-state-layer-color","",Q.contentGlobalSubtle),X.extend("--ft-tabs-on-hover-state-layer-opacity","",q.opacity8),X.extend("--ft-tabs-on-focus-state-layer-opacity","",q.opacity8),X.extend("--ft-tabs-on-active-state-layer-opacity","",q.opacity16),X.extend("--ft-tabs-on-disabled-component-opacity","",q.opacity40),X.extend("--ft-tabs-on-color","",Q.contentActionPrimary),X.extend("--ft-tabs-on-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-tabs-icon-horizontal-padding","",q.spacing1),X.extend("--ft-tabs-icon-vertical-padding","",q.spacing4),X.create("--ft-tabs-focus-outline-width","","SIZE","2px"),X.extend("--ft-tabs-focus-focus-ring-color","",Q.borderActionFocusRing),X.extend("--ft-collapsible-hover-state-layer-opacity","",q.opacity8),X.extend("--ft-collapsible-focus-state-layer-opacity","",q.opacity8),X.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),X.extend("--ft-collapsible-focus-focus-ring-color","",Q.borderActionFocusRing),X.extend("--ft-collapsible-active-state-layer-opacity","",q.opacity16),X.extend("--ft-collapsible-disabled-component-opacity","",q.opacity40),X.extend("--ft-collapsible-horizontal-padding","",q.spacing4),X.extend("--ft-collapsible-vertical-padding","",q.spacing3),X.extend("--ft-collapsible-color","",Q.contentGlobalPrimary),X.extend("--ft-collapsible-state-layer-color","",Q.contentGlobalPrimary),X.extend("--ft-collapsible-background-color","",Q.backgroundGlobalOnSurface),X.extend("--ft-collapsible-border-color","",Q.borderGlobalSubtle),X.extend("--ft-collapsible-icon-size","",q.iconSize3),X.extend("--ft-switch-group-horizontal-padding","",q.spacing1),X.extend("--ft-switch-group-vertical-padding","",q.spacing1),X.extend("--ft-switch-group-gap","",q.spacing1),X.extend("--ft-switch-group-background-color","",Q.backgroundGlobalSurface),X.extend("--ft-switch-group-border-color","",Q.borderGlobalSubtle),X.create("--ft-switch-group-border-radius","","SIZE","6px"),X.extend("--ft-switch-label-horizontal-padding","",q.spacing2),X.extend("--ft-switch-label-vertical-padding","",q.spacing1),X.extend("--ft-switch-off-hover-state-layer-opacity","",q.opacity8),X.extend("--ft-switch-off-focus-state-layer-opacity","",q.opacity8),X.extend("--ft-switch-off-active-state-layer-opacity","",q.opacity16),X.extend("--ft-switch-off-disabled-component-opacity","",q.opacity40),X.extend("--ft-switch-off-color","",Q.contentGlobalSubtle),X.extend("--ft-switch-off-state-layer-color","",Q.contentGlobalSubtle),X.extend("--ft-switch-on-hover-state-layer-opacity","",q.opacity8),X.extend("--ft-switch-on-focus-state-layer-opacity","",q.opacity8),X.extend("--ft-switch-on-active-state-layer-opacity","",q.opacity16),X.extend("--ft-switch-on-disabled-component-opacity","",q.opacity40),X.extend("--ft-switch-on-color","",Q.contentActionPrimary),X.extend("--ft-switch-on-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-switch-icon-horizontal-padding","",q.spacing1),X.extend("--ft-switch-icon-vertical-padding","",q.spacing1),X.create("--ft-switch-focus-outline-width","","SIZE","2px"),X.extend("--ft-switch-focus-focus-ring-color","",Q.borderActionFocusRing),X.extend("--ft-switch-option-border-radius","",q.borderRadiusS),X.extend("--ft-chart-1-light","for area color charts",q.colorBrand40),X.extend("--ft-chart-1-base","for line charts",q.colorBrand0),X.extend("--ft-chart-2-light","for area color charts",q.colorYellow60),X.extend("--ft-chart-2-base","for line charts",q.colorYellow100),X.extend("--ft-chart-3-light","",q.colorUltramarine40),X.extend("--ft-chart-3-base","",q.colorUltramarine70),X.extend("--ft-chart-4-light","",q.colorCyan50),X.extend("--ft-chart-4-base","",q.colorCyan100),X.extend("--ft-chart-5-light","",q.colorRed40),X.extend("--ft-chart-5-base","",q.colorRed60),X.extend("--ft-chart-6-light","",q.colorGreen40),X.extend("--ft-chart-6-base","",q.colorGreen70),X.extend("--ft-chart-7-light","",q.colorOrange70),X.extend("--ft-chart-7-base","",q.colorOrange100),X.extend("--ft-chart-8-light","",q.colorAvocado70),X.extend("--ft-chart-8-base","",q.colorAvocado200),X.extend("--ft-chart-9-light","",q.colorBrown50),X.extend("--ft-chart-9-base","",q.colorBrown200),X.extend("--ft-chart-10-light","",q.colorGray50),X.extend("--ft-chart-10-base","",q.colorGray80),X.extend("--ft-chart-monochrome-10","",q.colorBrand10),X.extend("--ft-chart-monochrome-20","",q.colorBrand20),X.extend("--ft-chart-monochrome-30","",q.colorBrand40),X.extend("--ft-chart-monochrome-40","",q.colorBrand60),X.extend("--ft-chart-monochrome-50","",q.colorBrand0),X.extend("--ft-chart-monochrome-60","",q.colorBrand200),X.extend("--ft-chip-large-horizontal-padding","",q.spacing4),X.extend("--ft-chip-large-vertical-padding","",q.spacing2),X.extend("--ft-chip-large-gap","",q.spacing1),X.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),X.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),X.extend("--ft-chip-large-border-radius","",q.borderRadiusPill),X.create("--ft-chip-large-border-width","","SIZE","1px"),X.extend("--ft-chip-large-icon-size","",q.iconSize3),X.extend("--ft-chip-medium-horizontal-padding","",q.spacing3),X.extend("--ft-chip-medium-vertical-padding","",q.spacing1),X.extend("--ft-chip-medium-gap","",q.spacing1),X.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),X.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),X.extend("--ft-chip-medium-border-radius","",q.borderRadiusPill),X.create("--ft-chip-medium-border-width","","SIZE","1px"),X.extend("--ft-chip-medium-icon-size","",q.iconSize2),X.extend("--ft-chip-small-horizontal-padding","",q.spacing2),X.extend("--ft-chip-small-vertical-padding","",q.spacing05),X.extend("--ft-chip-small-gap","",q.spacing1),X.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),X.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),X.extend("--ft-chip-small-border-radius","",q.borderRadiusPill),X.create("--ft-chip-small-border-width","","SIZE","1px"),X.extend("--ft-chip-small-icon-size","",q.iconSize1),X.extend("--ft-chip-neutral-background-color","",Q.backgroundGlobalOnSurface),X.extend("--ft-chip-neutral-color","",Q.contentGlobalPrimary),X.extend("--ft-chip-neutral-icon-color","",Q.contentGlobalPrimary),X.extend("--ft-chip-neutral-border-color","",Q.borderGlobalSubtle),X.extend("--ft-chip-info-background-color","",Q.backgroundInfoSubtle),X.extend("--ft-chip-info-color","",Q.contentInfoPrimary),X.extend("--ft-chip-info-icon-color","",Q.contentInfoIconOnly),X.extend("--ft-chip-info-border-color","",Q.borderInfoSubtle),X.extend("--ft-chip-success-background-color","",Q.backgroundSuccessSubtle),X.extend("--ft-chip-success-color","",Q.contentSuccessPrimary),X.extend("--ft-chip-success-icon-color","",Q.contentSuccessIconOnly),X.extend("--ft-chip-success-border-color","",Q.borderSuccessSubtle),X.extend("--ft-chip-warning-background-color","",Q.backgroundWarningSubtle),X.extend("--ft-chip-warning-color","",Q.contentWarningPrimary),X.extend("--ft-chip-warning-icon-color","",Q.contentWarningIconOnly),X.extend("--ft-chip-warning-border-color","",Q.borderWarningSubtle),X.extend("--ft-chip-error-background-color","",Q.backgroundErrorSubtle),X.extend("--ft-chip-error-color","",Q.contentErrorPrimary),X.extend("--ft-chip-error-icon-color","",Q.contentErrorIconOnly),X.extend("--ft-chip-error-border-color","",Q.borderErrorSubtle),X.extend("--ft-border-info-border-color","",Q.borderInfoSubtle),X.create("--ft-notice-border-width","","SIZE","1px"),X.extend("--ft-notice-horizontal-padding","",q.spacing2),X.extend("--ft-notice-vertical-padding","",q.spacing1),X.extend("--ft-notice-border-radius","",q.borderRadiusS),X.extend("--ft-notice-gap","",q.spacing2),X.extend("--ft-notice-icon-size","",q.iconSize3),X.extend("--ft-notice-info-background-color","",Q.backgroundInfoSubtle),X.extend("--ft-notice-info-border-color","",Q.borderInfoSubtle),X.extend("--ft-notice-info-color","",Q.contentInfoPrimary),X.extend("--ft-notice-info-icon-color","",Q.contentInfoIconOnly),X.extend("--ft-notice-warning-background-color","",Q.backgroundWarningSubtle),X.extend("--ft-notice-warning-border-color","",Q.borderWarningSubtle),X.extend("--ft-notice-warning-color","",Q.contentWarningPrimary),X.extend("--ft-notice-warning-icon-color","",Q.contentWarningIconOnly),X.extend("--ft-checkbox-color","",Q.contentGlobalPrimary),X.extend("--ft-checkbox-checked-background-color","",Q.contentActionPrimary),X.extend("--ft-checkbox-checked-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-checkbox-checked-icon-color","",Q.contentGlobalOnColor),X.extend("--ft-checkbox-checked-hover-state-layer-opacity","",q.opacity16),X.extend("--ft-checkbox-checked-focus-state-layer-opacity","",q.opacity16),X.extend("--ft-checkbox-checked-active-state-layer-opacity","",q.opacity24),X.extend("--ft-checkbox-checked-disabled-component-opacity","",q.opacity40),X.extend("--ft-checkbox-unchecked-border-color","",q.colorGray80),X.extend("--ft-checkbox-unchecked-state-layer-color","",q.colorGray80),X.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",q.opacity16),X.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",q.opacity16),X.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",q.opacity24),X.extend("--ft-checkbox-unchecked-disabled-component-opacity","",q.opacity40),X.extend("--ft-checkbox-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),X.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),X.extend("--ft-checkbox-gap","",q.spacing3),X.extend("--ft-toggle-off-hover-state-layer-opacity","",q.opacity16),X.extend("--ft-toggle-off-focus-state-layer-opacity","",q.opacity16),X.extend("--ft-toggle-off-active-state-layer-opacity","",q.opacity24),X.extend("--ft-toggle-off-disabled-component-opacity","",q.opacity40),X.extend("--ft-toggle-off-background-color","",Q.contentGlobalSubtle),X.extend("--ft-toggle-off-icon-color","",Q.contentGlobalSubtle),X.extend("--ft-toggle-off-state-layer-color","",Q.contentGlobalSubtle),X.extend("--ft-toggle-on-hover-state-layer-opacity","",q.opacity16),X.extend("--ft-toggle-on-focus-state-layer-opacity","",q.opacity16),X.extend("--ft-toggle-on-active-state-layer-opacity","",q.opacity24),X.extend("--ft-toggle-on-disabled-component-opacity","",q.opacity40),X.extend("--ft-toggle-on-background-color","",Q.contentActionPrimary),X.extend("--ft-toggle-on-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-toggle-on-icon-color","",Q.contentActionPrimary),X.extend("--ft-toggle-color","",Q.contentGlobalPrimary),X.extend("--ft-toggle-focus-focus-ring-color","",Q.borderActionFocusRing),X.extend("--ft-toggle-gap","",q.spacing3),X.extend("--ft-radio-color","",Q.contentGlobalPrimary),X.extend("--ft-radio-selected-radio-color","",Q.contentActionPrimary),X.extend("--ft-radio-selected-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-radio-selected-hover-state-layer-opacity","",q.opacity16),X.extend("--ft-radio-selected-focus-state-layer-opacity","",q.opacity16),X.extend("--ft-radio-selected-active-state-layer-opacity","",q.opacity24),X.extend("--ft-radio-selected-disabled-component-opacity","",q.opacity40),X.extend("--ft-radio-unselected-state-layer-color","",Q.borderInputPrimary),X.extend("--ft-radio-unselected-border-color","",Q.borderInputPrimary),X.extend("--ft-radio-unselected-hover-state-layer-opacity","",q.opacity16),X.extend("--ft-radio-unselected-focus-state-layer-opacity","",q.opacity16),X.extend("--ft-radio-unselected-active-state-layer-opacity","",q.opacity24),X.extend("--ft-radio-unselected-disabled-component-opacity","",q.opacity40),X.extend("--ft-radio-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-radio-focus-outline-offset","","SIZE","3px"),X.create("--ft-radio-focus-outline-width","","SIZE","2px"),X.extend("--ft-radio-gap","",q.spacing3),X.extend("--ft-notification-icon-size","",q.iconSize4),X.extend("--ft-notification-horizontal-padding","",q.spacing4),X.extend("--ft-notification-vertical-padding","",q.spacing4),X.extend("--ft-notification-info-background-color","",Q.backgroundInfoSubtle),X.extend("--ft-notification-info-color","",Q.contentInfoPrimary),X.extend("--ft-notification-info-icon-color","",Q.contentInfoIconOnly),X.extend("--ft-notification-info-border-color","",Q.borderInfoSubtle),X.extend("--ft-notification-success-background-color","",Q.backgroundSuccessSubtle),X.extend("--ft-notification-success-color","",Q.contentSuccessPrimary),X.extend("--ft-notification-success-icon-color","",Q.contentSuccessIconOnly),X.extend("--ft-notification-success-border-color","",Q.borderSuccessSubtle),X.extend("--ft-notification-warning-background-color","",Q.backgroundWarningSubtle),X.extend("--ft-notification-warning-color","",Q.contentWarningPrimary),X.extend("--ft-notification-warning-icon-color","",Q.contentWarningIconOnly),X.extend("--ft-notification-warning-border-color","",Q.borderWarningSubtle),X.extend("--ft-notification-error-background-color","",Q.backgroundErrorSubtle),X.extend("--ft-notification-error-color","",Q.contentErrorPrimary),X.extend("--ft-notification-error-icon-color","",Q.contentErrorIconOnly),X.extend("--ft-notification-error-border-color","",Q.borderErrorSubtle),X.extend("--ft-notification-border-radius","",q.borderRadiusPill),X.create("--ft-notification-border-width","","SIZE","1px"),X.extend("--ft-notification-leading-gap","",q.spacing2),X.extend("--ft-notification-trailing-gap","",q.spacing8),X.extend("--ft-tooltip-horizontal-padding","",q.spacing2),X.extend("--ft-tooltip-vertical-padding","",q.spacing2),X.extend("--ft-tooltip-border-radius","",q.borderRadiusS),X.extend("--ft-tooltip-color","",Q.contentGlobalOnColor),X.extend("--ft-tooltip-background-color","",Q.contentGlobalPrimary),X.extend("--ft-tooltip-background-opacity","",q.opacity80),X.extend("--ft-tooltip-shadow","",q.shadowElevation03),X.create("--ft-tooltip-max-width","","SIZE","256px"),X.extend("--ft-tooltip-gap","",q.spacing05);const ot=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),et=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),it={fontFamily:et,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},rt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ot),nt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",it.fontSize,"20px"),at=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",it.fontWeight,"normal"),lt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",it.letterSpacing,"0.15px"),st=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",it.lineHeight,"1.2"),ct=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",it.textTransform,"inherit"),pt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ot),ft=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",it.fontSize,"14px"),dt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",it.fontWeight,"normal"),ht=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",it.letterSpacing,"0.105px"),ut=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",it.lineHeight,"1.7"),gt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",it.textTransform,"inherit"),yt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",et),bt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",it.fontSize,"16px"),mt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",it.fontWeight,"600"),xt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",it.letterSpacing,"0.144px"),vt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",it.lineHeight,"1.5"),Ot=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",it.textTransform,"inherit"),Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",et),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",it.fontSize,"14px"),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",it.fontWeight,"normal"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",it.letterSpacing,"0.098px"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",it.lineHeight,"1.7"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",it.textTransform,"inherit"),Et={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",et),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",it.fontSize,"16px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",it.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",it.letterSpacing,"0.496px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",it.lineHeight,"1.5"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",it.textTransform,"inherit")},kt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",et),Wt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",it.fontSize,"14px"),Ut=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",it.fontWeight,"normal"),Rt=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",it.letterSpacing,"0.252px"),zt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",it.lineHeight,"1.4"),Zt=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",it.textTransform,"inherit"),Lt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",et),fontSize:o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",it.fontSize,"12px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",it.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",it.letterSpacing,"0.396px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",it.lineHeight,"1.33"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",it.textTransform,"inherit")},Kt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",et),Dt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",it.fontSize,"10px"),Ft=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",it.fontWeight,"normal"),Bt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",it.letterSpacing,"0.33px"),Ht=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",it.lineHeight,"1.6"),At=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",it.textTransform,"inherit"),Gt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",et),Pt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",it.fontSize,"10px"),jt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",it.fontWeight,"normal"),Mt=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",it.letterSpacing,"1.5px"),Tt=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",it.lineHeight,"1.6"),_t=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",it.textTransform,"uppercase"),Yt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",et),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",it.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",it.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",it.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",it.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",it.textTransform,"uppercase")},Vt=e.css`
14
14
  .ft-typography--title {
15
15
  font-family: ${rt};
16
16
  font-size: ${nt};
@@ -25,8 +25,8 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
25
25
  font-size: ${ft};
26
26
  font-weight: ${dt};
27
27
  letter-spacing: ${ht};
28
- line-height: ${gt};
29
- text-transform: ${ut};
28
+ line-height: ${ut};
29
+ text-transform: ${gt};
30
30
  }
31
31
  `,qt=e.css`
32
32
  .ft-typography--subtitle1 {
@@ -252,7 +252,7 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
252
252
  </div>
253
253
  `:null}
254
254
  </div>
255
- `}}ho.elementDefinitions={},ho.styles=[oo,po],fo([i.property({type:String})],ho.prototype,"text",void 0),fo([i.property({type:Boolean})],ho.prototype,"raised",void 0),fo([i.property({type:Boolean})],ho.prototype,"outlined",void 0),fo([i.property({type:Boolean})],ho.prototype,"disabled",void 0),fo([i.property({type:Boolean})],ho.prototype,"error",void 0),o.customElement("ft-input-label")(ho);const go=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),uo={color:go,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",go),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},yo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),bo=yo,mo=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",yo),xo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),vo=xo,Oo=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",xo),No=e.css`
255
+ `}}ho.elementDefinitions={},ho.styles=[oo,po],fo([i.property({type:String})],ho.prototype,"text",void 0),fo([i.property({type:Boolean})],ho.prototype,"raised",void 0),fo([i.property({type:Boolean})],ho.prototype,"outlined",void 0),fo([i.property({type:Boolean})],ho.prototype,"disabled",void 0),fo([i.property({type:Boolean})],ho.prototype,"error",void 0),o.customElement("ft-input-label")(ho);const uo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),go={color:uo,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",uo),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},yo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),bo=yo,mo=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",yo),xo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),vo=xo,Oo=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",xo),No=e.css`
256
256
  :host {
257
257
  display: contents;
258
258
  }
@@ -265,7 +265,7 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
265
265
 
266
266
  .ft-ripple:not(.ft-ripple--unbounded) {
267
267
  overflow: hidden;
268
- border-radius: ${uo.borderRadius};
268
+ border-radius: ${go.borderRadius};
269
269
  }
270
270
 
271
271
  .ft-ripple .ft-ripple--background,
@@ -299,11 +299,11 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
299
299
  }
300
300
 
301
301
  .ft-ripple .ft-ripple--background {
302
- background-color: ${uo.backgroundColor};
302
+ background-color: ${go.backgroundColor};
303
303
  }
304
304
 
305
305
  .ft-ripple .ft-ripple--effect {
306
- background-color: ${uo.color};
306
+ background-color: ${go.color};
307
307
  }
308
308
 
309
309
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
@@ -349,19 +349,19 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
349
349
  }
350
350
 
351
351
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
352
- opacity: ${uo.opacityContentOnSurfaceHover};
352
+ opacity: ${go.opacityContentOnSurfaceHover};
353
353
  }
354
354
 
355
355
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
356
- opacity: ${uo.opacityContentOnSurfaceSelected};
356
+ opacity: ${go.opacityContentOnSurfaceSelected};
357
357
  }
358
358
 
359
359
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
360
- opacity: ${uo.opacityContentOnSurfaceFocused};
360
+ opacity: ${go.opacityContentOnSurfaceFocused};
361
361
  }
362
362
 
363
363
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
364
- opacity: ${uo.opacityContentOnSurfacePressed};
364
+ opacity: ${go.opacityContentOnSurfacePressed};
365
365
  transform: translate(-50%, -50%) scale(1);
366
366
  }
367
367
  `;var $o,So,wo=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Co extends o.FtLitElement{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 o.Debouncer(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 o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{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 e.html`
@@ -455,13 +455,13 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
455
455
  padding-right: ${Ro.horizontalSpacing};
456
456
  gap: 8px;
457
457
  color: ${Ro.selectedOptionColor};
458
- ${o.setVariable(uo.color,Ro.selectedOptionColor)};
458
+ ${o.setVariable(go.color,Ro.selectedOptionColor)};
459
459
  }
460
460
 
461
461
  .ft-select--input-panel,
462
462
  .ft-select--option {
463
- ${o.setVariable(uo.opacityContentOnSurfaceHover,"0.08")};
464
- ${o.setVariable(uo.opacityContentOnSurfacePressed,"0.04")};
463
+ ${o.setVariable(go.opacityContentOnSurfaceHover,"0.08")};
464
+ ${o.setVariable(go.opacityContentOnSurfacePressed,"0.04")};
465
465
  }
466
466
 
467
467
  .ft-select--input-panel > *:not(ft-ripple),
@@ -536,8 +536,6 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
536
536
  display: none;
537
537
  position: absolute;
538
538
  top: 100%;
539
- left: 0;
540
- right: 0;
541
539
  color: ${Ro.optionsColor};
542
540
  background: ${Ro.colorSurface};
543
541
  z-index: ${Ro.optionsZIndex};
@@ -546,8 +544,6 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
546
544
 
547
545
  .ft-select--fixed .ft-select--options {
548
546
  position: fixed;
549
- right: unset;
550
- /* left and top are set dynamically */
551
547
  }
552
548
 
553
549
  .ft-select--options-displayed .ft-select--options {
@@ -577,7 +573,7 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
577
573
  .ft-select--in-error .ft-select--helper-text {
578
574
  color: ${Ro.colorError};
579
575
  }
580
- `;var Zo=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Lo extends o.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return e.html``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Lo.elementDefinitions={},Zo([i.property({type:String})],Lo.prototype,"label",void 0),Zo([i.property({type:Object,converter:t=>t})],Lo.prototype,"value",void 0),Zo([i.property({type:Boolean,reflect:!0})],Lo.prototype,"selected",void 0);class Ko extends o.FtLitElement{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,o,i,n,l;let s=this.hasOptionsMenuOpen,c=this.disabled||!this.hasOptions;const p=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(i=null===(o=this.selectedOption)||void 0===o?void 0:o.label)&&void 0!==i?i:"").length>0,f={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":c,"ft-select--options-displayed":s,"ft-select--has-option-selected":p,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return e.html`
576
+ `,Zo=["start","end"],Lo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Zo[0],o+"-"+Zo[1])),[]),Ko=Math.min,Do=Math.max,Fo=Math.round,Bo=t=>({x:t,y:t}),Ho={left:"right",right:"left",bottom:"top",top:"bottom"},Ao={start:"end",end:"start"};function Go(t,o,e){return Do(t,Ko(o,e))}function Po(t,o){return"function"==typeof t?t(o):t}function jo(t){return t.split("-")[0]}function Mo(t){return t.split("-")[1]}function To(t){return"x"===t?"y":"x"}function _o(t){return"y"===t?"height":"width"}function Yo(t){return["top","bottom"].includes(jo(t))?"y":"x"}function Vo(t){return To(Yo(t))}function Xo(t){return t.replace(/left|right|bottom|top/g,(t=>Ho[t]))}function qo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Jo(t,o,e){let{reference:i,floating:r}=t;const n=Yo(o),a=Vo(o),l=_o(a),s=jo(o),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,d=i[l]/2-r[l]/2;let h;switch(s){case"top":h={x:p,y:i.y-r.height};break;case"bottom":h={x:p,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:f};break;case"left":h={x:i.x-r.width,y:f};break;default:h={x:i.x,y:i.y}}switch(Mo(o)){case"start":h[a]-=d*(e&&c?-1:1);break;case"end":h[a]+=d*(e&&c?-1:1)}return h}async function Qo(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=Po(o,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),g=l[d?"floating"===f?"reference":"floating":f],y=qo(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(g)))||e?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:p,strategy:s})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.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=qo(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-v.top+u.top)/x.y,bottom:(v.bottom-y.bottom+u.bottom)/x.y,left:(y.left-v.left+u.left)/x.x,right:(v.right-y.right+u.right)/x.x}}function te(t,o,e){return(t?[...e.filter((o=>Mo(o)===t)),...e.filter((o=>Mo(o)!==t))]:e.filter((t=>jo(t)===t))).filter((e=>!t||(Mo(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Ao[t]))}(e)!==e)))}const oe=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:d=Lo,autoAlignment:h=!0,...u}=Po(t,o),g=void 0!==f||d===Lo?te(f||null,h,d):d,y=await Qo(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=Mo(t),r=Vo(t),n=_o(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Xo(a)),[a,Xo(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const v=[y[jo(m)],y[x[0]],y[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],N=g[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const $=O.map((t=>{const o=Mo(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),S=$.filter((t=>t[2].slice(0,Mo(t[0])?2:3).every((t=>t<=0)))),w=(null==(r=S[0])?void 0:r[0])||$[0][0];return w!==l?{data:{index:b+1,overflows:O},reset:{placement:w}}:{}}}};function ee(t){return ne(t)?(t.nodeName||"").toLowerCase():"#document"}function ie(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function re(t){var o;return null==(o=(ne(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function ne(t){return t instanceof Node||t instanceof ie(t).Node}function ae(t){return t instanceof Element||t instanceof ie(t).Element}function le(t){return t instanceof HTMLElement||t instanceof ie(t).HTMLElement}function se(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ie(t).ShadowRoot)}function ce(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=ue(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function pe(t){return["table","td","th"].includes(ee(t))}function fe(t){const o=de(),e=ue(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function de(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function he(t){return["html","body","#document"].includes(ee(t))}function ue(t){return ie(t).getComputedStyle(t)}function ge(t){return ae(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ye(t){if("html"===ee(t))return t;const o=t.assignedSlot||t.parentNode||se(t)&&t.host||re(t);return se(o)?o.host:o}function be(t){const o=ye(t);return he(o)?t.ownerDocument?t.ownerDocument.body:t.body:le(o)&&ce(o)?o:be(o)}function me(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=be(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=ie(r);return n?o.concat(a,a.visualViewport||[],ce(r)?r:[],a.frameElement&&e?me(a.frameElement):[]):o.concat(r,me(r,[],e))}function xe(t){const o=ue(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=le(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,l=Fo(e)!==n||Fo(i)!==a;return l&&(e=n,i=a),{width:e,height:i,$:l}}function ve(t){return ae(t)?t:t.contextElement}function Oe(t){const o=ve(t);if(!le(o))return Bo(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=xe(o);let a=(n?Fo(e.width):e.width)/i,l=(n?Fo(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Ne=Bo(0);function $e(t){const o=ie(t);return de()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Ne}function Se(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=ve(t);let a=Bo(1);o&&(i?ae(i)&&(a=Oe(i)):a=Oe(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==ie(t))&&o}(n,e,i)?$e(n):Bo(0);let s=(r.left+l.x)/a.x,c=(r.top+l.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=ie(n),o=i&&ae(i)?ie(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=Oe(e),o=e.getBoundingClientRect(),i=ue(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,p*=t.x,f*=t.y,s+=r,c+=n,e=ie(e).frameElement}}return qo({width:p,height:f,x:s,y:c})}function we(t){return Se(re(t)).left+ge(t).scrollLeft}function Ce(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=ie(t),i=re(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,l=0,s=0;if(r){n=r.width,a=r.height;const t=de();(!t||t&&"fixed"===o)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)i=function(t){const o=re(t),e=ge(t),i=t.ownerDocument.body,r=Do(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=Do(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+we(t);const l=-e.scrollTop;return"rtl"===ue(i).direction&&(a+=Do(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(re(t));else if(ae(o))i=function(t,o){const e=Se(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=le(t)?Oe(t):Bo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=$e(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return qo(i)}function Ie(t,o){const e=ye(t);return!(e===o||!ae(e)||he(e))&&("fixed"===ue(e).position||Ie(e,o))}function Ee(t,o,e){const i=le(o),r=re(o),n="fixed"===e,a=Se(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=Bo(0);if(i||!i&&!n)if(("body"!==ee(o)||ce(r))&&(l=ge(o)),i){const t=Se(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else r&&(s.x=we(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function ke(t,o){return le(t)&&"fixed"!==ue(t).position?o?o(t):t.offsetParent:null}function We(t,o){const e=ie(t);if(!le(t))return e;let i=ke(t,o);for(;i&&pe(i)&&"static"===ue(i).position;)i=ke(i,o);return i&&("html"===ee(i)||"body"===ee(i)&&"static"===ue(i).position&&!fe(i))?e:i||function(t){let o=ye(t);for(;le(o)&&!he(o);){if(fe(o))return o;o=ye(o)}return null}(t)||e}const Ue={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=le(e),n=re(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Bo(1);const s=Bo(0);if((r||!r&&"fixed"!==i)&&(("body"!==ee(e)||ce(n))&&(a=ge(e)),le(e))){const t=Se(e);l=Oe(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:re,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=me(t,[],!1).filter((t=>ae(t)&&"body"!==ee(t))),r=null;const n="fixed"===ue(t).position;let a=n?ye(t):t;for(;ae(a)&&!he(a);){const o=ue(a),e=fe(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||ce(a)&&!e&&Ie(t,a))?i=i.filter((t=>t!==a)):r=o,a=ye(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],l=n.reduce(((t,e)=>{const i=Ce(o,e,r);return t.top=Do(i.top,t.top),t.right=Ko(i.right,t.right),t.bottom=Ko(i.bottom,t.bottom),t.left=Do(i.left,t.left),t}),Ce(o,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:We,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||We,n=this.getDimensions;return{reference:Ee(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return xe(t)},getScale:Oe,isElement:ae,isRTL:function(t){return"rtl"===ue(t).direction}},Re=(t,o,e)=>{const i=new Map,r={platform:Ue,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:p,y:f}=Jo(c,i,s),d=i,h={},u=0;for(let e=0;e<l.length;e++){const{name:n,fn:g}=l[e],{x:y,y:b,data:m,reset:x}=await g({x:p,y:f,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=y?y:p,f=null!=b?b:f,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:o,strategy:r}):x.rects),({x:p,y:f}=Jo(c,d,s))),e=-1)}return{x:p,y:f,placement:d,strategy:r,middlewareData:h}})(t,o,{...r,platform:n})};function ze(t){return function(t){for(let o=t;o;o=Ze(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Ze(t);o;o=Ze(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Ze(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function Le(t,o,e){return Re(t,o,{platform:{...Ue,getOffsetParent:t=>Ue.getOffsetParent(t,ze)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:o,y:e,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=Po(i,t),c={x:o,y:e},p=await Qo(t,s),f=Yo(jo(r)),d=To(f);let h=c[d],u=c[f];if(n){const t="y"===d?"bottom":"right";h=Go(h+p["y"===d?"top":"left"],h,h-p[t])}if(a){const t="y"===f?"bottom":"right";u=Go(u+p["y"===f?"top":"left"],u,u-p[t])}const g=l.fn({...t,[d]:h,[f]:u});return{...g,data:{x:g.x-o,y:g.y-e}}}}),oe({allowedPlacements:[e]})]});var i}var Ke=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class De extends o.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return e.html``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}De.elementDefinitions={},Ke([i.property({type:String})],De.prototype,"label",void 0),Ke([i.property({type:Object,converter:t=>t})],De.prototype,"value",void 0),Ke([i.property({type:Boolean,reflect:!0})],De.prototype,"selected",void 0);class Fe extends o.FtLitElement{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,o,i,n,l;let s=this.hasOptionsMenuOpen,c=this.disabled||!this.hasOptions;const p=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(i=null===(o=this.selectedOption)||void 0===o?void 0:o.label)&&void 0!==i?i:"").length>0,f={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":c,"ft-select--options-displayed":s,"ft-select--has-option-selected":p,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return e.html`
581
577
  <div class="${a.classMap(f)}" part="container">
582
578
  <div class="ft-select--main-panel" part="main-panel">
583
579
  <ft-input-label text="${this.label}"
@@ -625,13 +621,13 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
625
621
  <ft-ripple ?primary=${o} ?activated=${o}></ft-ripple>
626
622
  <span>${t.label}</span>
627
623
  </div>
628
- `}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 o,e;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(e=null!==(o=this.selectedOptionElement)&&void 0!==o?o:this.firstOption)||void 0===e||e.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var o;t.stopPropagation();let e=null===(o=this.optionsSlot)||void 0===o?void 0:o.assignedElements().map((t=>t));e&&e.length>0&&(this.options=e)}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 o,e,i,r,n;let a;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(o=this.mainPanel)||void 0===o||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),a=null!==(i=null===(e=this.focusedOption)||void 0===e?void 0:e.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,o){var e;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(o),this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus())}selectOption(t){var e,i;if(!o.deepEqual(null===(e=this.selectedOption)||void 0===e?void 0:e.value,t.value)){this.selectedOption=t;for(let o of this.options)o.selected=o===t;this.dispatchEvent(new CustomEvent("change",{detail:null===(i=this.selectedOption)||void 0===i?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}Ko.elementDefinitions={"ft-input-label":ho,"ft-typography":so,"ft-ripple":Co,"ft-icon":Uo},Ko.styles=[to,oo,zo],Zo([i.property({type:String})],Ko.prototype,"label",void 0),Zo([i.property({type:String})],Ko.prototype,"helper",void 0),Zo([i.property({type:Boolean})],Ko.prototype,"outlined",void 0),Zo([i.property({type:Boolean})],Ko.prototype,"disabled",void 0),Zo([i.property({type:Boolean})],Ko.prototype,"error",void 0),Zo([i.property({type:Boolean})],Ko.prototype,"fixedMenuPosition",void 0),Zo([i.property({type:Array})],Ko.prototype,"options",void 0),Zo([i.state()],Ko.prototype,"selectedOption",void 0),Zo([i.state()],Ko.prototype,"optionsDisplayed",void 0),Zo([i.state()],Ko.prototype,"focusOptions",void 0),Zo([i.query(".ft-select")],Ko.prototype,"container",void 0),Zo([i.query(".ft-select--options")],Ko.prototype,"optionsMenu",void 0),Zo([i.query(".ft-select--input-panel")],Ko.prototype,"mainPanel",void 0),Zo([i.query(".ft-select--option:first-child")],Ko.prototype,"firstOption",void 0),Zo([i.query(".ft-select--option:focus")],Ko.prototype,"focusedOption",void 0),Zo([i.query(".ft-select--option.ft-select--option-selected")],Ko.prototype,"selectedOptionElement",void 0),Zo([i.query(".ft-select--option:last-child")],Ko.prototype,"lastOption",void 0),Zo([i.query("slot")],Ko.prototype,"optionsSlot",void 0),o.customElement("ft-select")(Ko),o.customElement("ft-select-option")(Lo);
624
+ `}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(t){var o,e;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(e=null!==(o=this.selectedOptionElement)&&void 0!==o?o:this.firstOption)||void 0===e||e.focus(),this.focusOptions=!1),t.has("optionsDisplayed")&&this.hasOptionsMenuOpen&&(this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px",Le(this.mainPanel,this.optionsMenu,"bottom").then((({x:t,y:o})=>{this.optionsMenu.style.left=`${t}px`,this.optionsMenu.style.top=`${o}px`})))}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var o;t.stopPropagation();let e=null===(o=this.optionsSlot)||void 0===o?void 0:o.assignedElements().map((t=>t));e&&e.length>0&&(this.options=e)}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 o,e,i,r,n;let a;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(o=this.mainPanel)||void 0===o||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),a=null!==(i=null===(e=this.focusedOption)||void 0===e?void 0:e.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,o){var e;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(o),this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus())}selectOption(t){var e,i;if(!o.deepEqual(null===(e=this.selectedOption)||void 0===e?void 0:e.value,t.value)){this.selectedOption=t;for(let o of this.options)o.selected=o===t;this.dispatchEvent(new CustomEvent("change",{detail:null===(i=this.selectedOption)||void 0===i?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}Fe.elementDefinitions={"ft-input-label":ho,"ft-typography":so,"ft-ripple":Co,"ft-icon":Uo},Fe.styles=[to,oo,zo],Ke([i.property({type:String})],Fe.prototype,"label",void 0),Ke([i.property({type:String})],Fe.prototype,"helper",void 0),Ke([i.property({type:Boolean})],Fe.prototype,"outlined",void 0),Ke([i.property({type:Boolean})],Fe.prototype,"disabled",void 0),Ke([i.property({type:Boolean})],Fe.prototype,"error",void 0),Ke([i.property({type:Boolean})],Fe.prototype,"fixedMenuPosition",void 0),Ke([i.property({type:Array})],Fe.prototype,"options",void 0),Ke([i.state()],Fe.prototype,"selectedOption",void 0),Ke([i.state()],Fe.prototype,"optionsDisplayed",void 0),Ke([i.state()],Fe.prototype,"focusOptions",void 0),Ke([i.query(".ft-select")],Fe.prototype,"container",void 0),Ke([i.query(".ft-select--options")],Fe.prototype,"optionsMenu",void 0),Ke([i.query(".ft-select--input-panel")],Fe.prototype,"mainPanel",void 0),Ke([i.query(".ft-select--option:first-child")],Fe.prototype,"firstOption",void 0),Ke([i.query(".ft-select--option:focus")],Fe.prototype,"focusedOption",void 0),Ke([i.query(".ft-select--option.ft-select--option-selected")],Fe.prototype,"selectedOptionElement",void 0),Ke([i.query(".ft-select--option:last-child")],Fe.prototype,"lastOption",void 0),Ke([i.query("slot")],Fe.prototype,"optionsSlot",void 0),o.customElement("ft-select")(Fe),o.customElement("ft-select-option")(De);
629
625
  /**
630
626
  * @license
631
627
  * Copyright 2018 Google LLC
632
628
  * SPDX-License-Identifier: BSD-3-Clause
633
629
  */
634
- const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:o.FtCssVariableFactory.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:o.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:o.FtCssVariableFactory.extend("--ft-text-field-helper-color","",o.designSystemVariables.colorOnSurfaceMedium),colorPrimary:o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),colorError:o.FtCssVariableFactory.external(o.designSystemVariables.colorError,"Design system"),prefixColor:o.FtCssVariableFactory.extend("--ft-text-field-prefix-color","",o.designSystemVariables.colorOnSurfaceMedium),iconColor:o.FtCssVariableFactory.extend("--ft-text-field-icon-color","",o.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:o.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),elevation02:o.FtCssVariableFactory.external(o.designSystemVariables.elevation02,"Design system"),suggestSize:o.FtCssVariableFactory.create("--ft-text-field-suggest-size","","SIZE","300px")},Fo=e.css`
630
+ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:o.FtCssVariableFactory.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:o.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:o.FtCssVariableFactory.extend("--ft-text-field-helper-color","",o.designSystemVariables.colorOnSurfaceMedium),colorPrimary:o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),colorError:o.FtCssVariableFactory.external(o.designSystemVariables.colorError,"Design system"),prefixColor:o.FtCssVariableFactory.extend("--ft-text-field-prefix-color","",o.designSystemVariables.colorOnSurfaceMedium),iconColor:o.FtCssVariableFactory.extend("--ft-text-field-icon-color","",o.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:o.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),elevation02:o.FtCssVariableFactory.external(o.designSystemVariables.elevation02,"Design system"),suggestSize:o.FtCssVariableFactory.create("--ft-text-field-suggest-size","","SIZE","300px")},He=e.css`
635
631
  *:focus {
636
632
  outline: none;
637
633
  }
@@ -644,16 +640,16 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
644
640
  }
645
641
 
646
642
  ft-input-label {
647
- ${o.setVariable(co.fontSize,Do.fontSize)};
648
- ${o.setVariable(co.raisedFontSize,Do.labelSize)};
649
- ${o.setVariable(co.verticalSpacing,Do.verticalSpacing)};
650
- ${o.setVariable(co.horizontalSpacing,Do.horizontalSpacing)};
643
+ ${o.setVariable(co.fontSize,Be.fontSize)};
644
+ ${o.setVariable(co.raisedFontSize,Be.labelSize)};
645
+ ${o.setVariable(co.verticalSpacing,Be.verticalSpacing)};
646
+ ${o.setVariable(co.horizontalSpacing,Be.horizontalSpacing)};
651
647
  }
652
648
 
653
649
  .ft-text-field--main-panel {
654
650
  position: relative;
655
651
  display: flex;
656
- height: calc(4 * ${Do.verticalSpacing} + ${Do.labelSize} + ${Do.fontSize});
652
+ height: calc(4 * ${Be.verticalSpacing} + ${Be.labelSize} + ${Be.fontSize});
657
653
  }
658
654
 
659
655
  .ft-text-field--input-panel {
@@ -662,24 +658,24 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
662
658
  display: flex;
663
659
  align-items: center;
664
660
  overflow: hidden;
665
- padding: 0 ${Do.horizontalSpacing};
661
+ padding: 0 ${Be.horizontalSpacing};
666
662
 
667
- ${o.setVariable(Et.fontSize,Do.fontSize)};
668
- ${o.setVariable(Et.lineHeight,Do.fontSize)};
663
+ ${o.setVariable(Et.fontSize,Be.fontSize)};
664
+ ${o.setVariable(Et.lineHeight,Be.fontSize)};
669
665
  }
670
666
 
671
667
  .ft-text-field--input-panel ft-ripple {
672
- ${o.setVariable(uo.opacityContentOnSurfaceHover,"0.08")};
673
- ${o.setVariable(uo.opacityContentOnSurfacePressed,"0.04")};
668
+ ${o.setVariable(go.opacityContentOnSurfaceHover,"0.08")};
669
+ ${o.setVariable(go.opacityContentOnSurfacePressed,"0.04")};
674
670
  }
675
671
 
676
672
  .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
677
673
  align-items: flex-end;
678
- padding: 0 ${Do.horizontalSpacing} ${Do.verticalSpacing} ${Do.horizontalSpacing};
674
+ padding: 0 ${Be.horizontalSpacing} ${Be.verticalSpacing} ${Be.horizontalSpacing};
679
675
  }
680
676
 
681
677
  .ft-text-field--prefix {
682
- color: ${Do.prefixColor};
678
+ color: ${Be.prefixColor};
683
679
  margin-right: 2px;
684
680
  flex-shrink: 1;
685
681
  overflow: hidden;
@@ -698,15 +694,15 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
698
694
  flex-shrink: 1;
699
695
  min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
700
696
 
701
- color: ${Do.colorOnSurface};
702
- padding: calc(2 * ${Do.verticalSpacing}) 0;
697
+ color: ${Be.colorOnSurface};
698
+ padding: calc(2 * ${Be.verticalSpacing}) 0;
703
699
  border: none;
704
700
  background: none;
705
701
  }
706
702
 
707
703
  .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
708
704
  padding-bottom: 0;
709
- padding-top: calc(${Do.labelSize} + 2 * ${Do.verticalSpacing});
705
+ padding-top: calc(${Be.labelSize} + 2 * ${Be.verticalSpacing});
710
706
  }
711
707
 
712
708
  .ft-text-field--input::-webkit-calendar-picker-indicator,
@@ -715,37 +711,37 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
715
711
  }
716
712
 
717
713
  .ft-text-field--disabled .ft-text-field--input {
718
- color: ${Do.colorOnSurfaceDisabled};
714
+ color: ${Be.colorOnSurfaceDisabled};
719
715
  }
720
716
 
721
717
  .ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
722
- ${o.setVariable(co.borderColor,Do.colorPrimary)};
723
- ${o.setVariable(co.textColor,Do.colorPrimary)};
718
+ ${o.setVariable(co.borderColor,Be.colorPrimary)};
719
+ ${o.setVariable(co.textColor,Be.colorPrimary)};
724
720
  }
725
721
 
726
722
  .ft-text-field--filled .ft-text-field--input-panel {
727
- border-radius: ${Do.borderRadiusS} ${Do.borderRadiusS} 0 0;
723
+ border-radius: ${Be.borderRadiusS} ${Be.borderRadiusS} 0 0;
728
724
  }
729
725
 
730
726
  .ft-text-field--outlined .ft-text-field--input-panel {
731
- border-radius: ${Do.borderRadiusS};
727
+ border-radius: ${Be.borderRadiusS};
732
728
  }
733
729
 
734
730
  .ft-text-field--helper-text {
735
- padding: 0 12px 0 ${Do.horizontalSpacing};
736
- color: ${Do.helperColor};
731
+ padding: 0 12px 0 ${Be.horizontalSpacing};
732
+ color: ${Be.helperColor};
737
733
  }
738
734
 
739
735
  .ft-text-field--in-error .ft-text-field--input,
740
736
  .ft-text-field--in-error .ft-text-field--helper-text,
741
737
  .ft-text-field--in-error .ft-text-field--prefix {
742
- color: ${Do.colorError};
738
+ color: ${Be.colorError};
743
739
  }
744
740
 
745
741
  .ft-text-field--icon {
746
742
  align-self: center;
747
743
  margin-left: 8px;
748
- color: ${Do.iconColor};
744
+ color: ${Be.iconColor};
749
745
  }
750
746
 
751
747
  .ft-text-field--container {
@@ -756,24 +752,18 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
756
752
  display: none;
757
753
  flex-direction: column;
758
754
  position: absolute;
759
- left: 0;
760
- right: 0;
761
- z-index: ${Do.floatingZIndex};
762
- background: ${Do.colorSurface};
763
- border: 1px solid ${Do.colorOutline};
764
- border-radius: 0 0 ${Do.borderRadiusS} ${Do.borderRadiusS};
765
- box-shadow: ${Do.elevation02};
755
+ z-index: ${Be.floatingZIndex};
756
+ background: ${Be.colorSurface};
757
+ border: 1px solid ${Be.colorOutline};
758
+ border-radius: 0 0 ${Be.borderRadiusS} ${Be.borderRadiusS};
759
+ box-shadow: ${Be.elevation02};
766
760
  outline: none;
767
- max-height: ${Do.suggestSize};
761
+ max-height: ${Be.suggestSize};
768
762
  overflow-y: auto;
769
763
  }
770
764
 
771
- .ft-text-field--suggestions:not(.ft-text-field--suggestions-on-top) {
772
- top: 100%;
773
- }
774
-
775
- .ft-text-field--suggestions.ft-text-field--suggestions-on-top {
776
- bottom: 100%;
765
+ .ft-text-field--fixed .ft-text-field--suggestions {
766
+ position: fixed;
777
767
  }
778
768
 
779
769
  .ft-text-field:not(.ft-text-field--hide-suggestions):focus-within .ft-text-field--suggestions {
@@ -787,7 +777,7 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
787
777
  .ft-text-field--with-password ft-icon:hover {
788
778
  cursor: pointer;
789
779
  }
790
- `;var Bo=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ho extends(o.toFtFormComponent(o.FtLitElement,"textbox")){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.passwordHiddenIcon=$o.EYE_SLASH,this.passwordRevealedIcon=$o.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 o=this._value;this._value=t||"",this.setFormValue(this._value),this.requestUpdate("value",o)}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 e.html`
780
+ `;var Ae=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ge extends(o.toFtFormComponent(o.FtLitElement,"textbox")){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.prefix=null,this.passwordHiddenIcon=$o.EYE_SLASH,this.passwordRevealedIcon=$o.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.hideSuggestions=!1,this.visibleSuggestions=[]}get value(){return this._value||""}set value(t){this.setInternalValue(t||""),this.dispatchedValue=t||""}setInternalValue(t){const o=this._value;this._value=t||"",this.setFormValue(this._value),this.requestUpdate("value",o)}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--fixed":this.fixedMenuPosition,"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 e.html`
791
781
  <div class="${a.classMap(t)}">
792
782
  <div class="ft-text-field--main-panel"
793
783
  @keydown=${this.handleKeyboardNavigation}
@@ -818,7 +808,7 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
818
808
  @focus=${this.onFocus}/>
819
809
  ${this.renderIcon()}
820
810
  </div>
821
- <div class="ft-text-field--suggestions ${this.suggestionsOnTop?"ft-text-field--suggestions-on-top":""}"
811
+ <div class="ft-text-field--suggestions"
822
812
  @suggestion-selected=${this.onSuggestionSelected}>
823
813
  <slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
824
814
  </div>
@@ -839,7 +829,7 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
839
829
  .variant=${this.iconVariant}
840
830
  .value=${this.icon}
841
831
  @click=${()=>{var t;return null===(t=this.input)||void 0===t?void 0:t.focus()}}></ft-icon>
842
- `:e.nothing}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 o,e;if(super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(o=this.input)||void 0===o?void 0:o.getBoundingClientRect(),i=null===(e=this.suggestionsContainer)||void 0===e?void 0:e.getBoundingClientRect();t&&i&&(this.suggestionsOnTop=t.bottom+i.height>window.innerHeight&&t.top-i.height>0)}}setValue(t,o=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),o&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var o;const e=(null===(o=this.input)||void 0===o?void 0:o.value)||"";this.setValue(e,"Escape"==t.key||"Enter"==t.key)}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var o;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const e=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let i;i="ArrowDown"===t.key?e<this.visibleSuggestions.length-1?e+1:0:e>0?e-1:this.visibleSuggestions.length-1,null===(o=this.visibleSuggestions[i])||void 0===o||o.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var o;this.setValue(t.detail,!0),null===(o=this.input)||void 0===o||o.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,o;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1,this.setValue((null===(o=this.input)||void 0===o?void 0:o.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}}Ho.elementDefinitions={"ft-input-label":ho,"ft-ripple":Co,"ft-typography":so,"ft-icon":Uo},Ho.styles=[Qt,Fo],Bo([i.property()],Ho.prototype,"label",void 0),Bo([i.property({noAccessor:!0})],Ho.prototype,"value",null),Bo([i.state()],Ho.prototype,"dispatchedValue",void 0),Bo([i.property()],Ho.prototype,"helper",void 0),Bo([i.property({type:Boolean})],Ho.prototype,"outlined",void 0),Bo([i.property({type:Boolean})],Ho.prototype,"disabled",void 0),Bo([i.property({type:Boolean})],Ho.prototype,"error",void 0),Bo([i.property()],Ho.prototype,"prefix",void 0),Bo([i.property()],Ho.prototype,"icon",void 0),Bo([i.property()],Ho.prototype,"passwordHiddenIcon",void 0),Bo([i.property()],Ho.prototype,"passwordRevealedIcon",void 0),Bo([i.property()],Ho.prototype,"iconVariant",void 0),Bo([i.property({type:Boolean})],Ho.prototype,"filterSuggestions",void 0),Bo([i.property({type:Number})],Ho.prototype,"maxLength",void 0),Bo([i.property({type:Boolean})],Ho.prototype,"password",void 0),Bo([i.state()],Ho.prototype,"focused",void 0),Bo([i.state()],Ho.prototype,"hidePassword",void 0),Bo([i.state()],Ho.prototype,"suggestionsOnTop",void 0),Bo([i.state()],Ho.prototype,"hideSuggestions",void 0),Bo([i.state()],Ho.prototype,"visibleSuggestions",void 0),Bo([i.query(".ft-text-field--main-panel")],Ho.prototype,"mainPanel",void 0),Bo([i.query(".ft-text-field--input")],Ho.prototype,"input",void 0),Bo([i.query(".ft-text-field--suggestions")],Ho.prototype,"suggestionsContainer",void 0),Bo([i.queryAssignedElements({selector:"ft-text-field-suggestion"})],Ho.prototype,"suggestions",void 0);const Ao=e.css`
832
+ `:e.nothing}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){super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0&&(this.suggestionsContainer.style.width=this.mainPanel.getBoundingClientRect().width+"px",Le(this.mainPanel,this.suggestionsContainer,"bottom").then((({x:t,y:o})=>{this.suggestionsContainer.style.left=`${t}px`,this.suggestionsContainer.style.top=`${o}px`})))}setValue(t,o=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),o&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var o;const e=(null===(o=this.input)||void 0===o?void 0:o.value)||"";this.setValue(e,"Escape"==t.key||"Enter"==t.key)}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var o;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const e=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let i;i="ArrowDown"===t.key?e<this.visibleSuggestions.length-1?e+1:0:e>0?e-1:this.visibleSuggestions.length-1,null===(o=this.visibleSuggestions[i])||void 0===o||o.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var o;this.setValue(t.detail,!0),null===(o=this.input)||void 0===o||o.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,o;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1,this.setValue((null===(o=this.input)||void 0===o?void 0:o.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}}Ge.elementDefinitions={"ft-input-label":ho,"ft-ripple":Co,"ft-typography":so,"ft-icon":Uo},Ge.styles=[Qt,He],Ae([i.property()],Ge.prototype,"label",void 0),Ae([i.property({noAccessor:!0})],Ge.prototype,"value",null),Ae([i.state()],Ge.prototype,"dispatchedValue",void 0),Ae([i.property()],Ge.prototype,"helper",void 0),Ae([i.property({type:Boolean})],Ge.prototype,"outlined",void 0),Ae([i.property({type:Boolean})],Ge.prototype,"disabled",void 0),Ae([i.property({type:Boolean})],Ge.prototype,"error",void 0),Ae([i.property({type:Boolean})],Ge.prototype,"fixedMenuPosition",void 0),Ae([i.property()],Ge.prototype,"prefix",void 0),Ae([i.property()],Ge.prototype,"icon",void 0),Ae([i.property()],Ge.prototype,"passwordHiddenIcon",void 0),Ae([i.property()],Ge.prototype,"passwordRevealedIcon",void 0),Ae([i.property()],Ge.prototype,"iconVariant",void 0),Ae([i.property({type:Boolean})],Ge.prototype,"filterSuggestions",void 0),Ae([i.property({type:Number})],Ge.prototype,"maxLength",void 0),Ae([i.property({type:Boolean})],Ge.prototype,"password",void 0),Ae([i.state()],Ge.prototype,"focused",void 0),Ae([i.state()],Ge.prototype,"hidePassword",void 0),Ae([i.state()],Ge.prototype,"hideSuggestions",void 0),Ae([i.state()],Ge.prototype,"visibleSuggestions",void 0),Ae([i.query(".ft-text-field--main-panel")],Ge.prototype,"mainPanel",void 0),Ae([i.query(".ft-text-field--input")],Ge.prototype,"input",void 0),Ae([i.query(".ft-text-field--suggestions")],Ge.prototype,"suggestionsContainer",void 0),Ae([i.queryAssignedElements({selector:"ft-text-field-suggestion"})],Ge.prototype,"suggestions",void 0);const Pe=e.css`
843
833
  .ft-text-field-suggestion {
844
834
  position: relative;
845
835
  padding: 8px 16px;
@@ -864,7 +854,7 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
864
854
  slot {
865
855
  pointer-events: none;
866
856
  }
867
- `;var Go=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Po extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class jo extends o.FtLitElement{render(){return e.html`
857
+ `;var je=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Me extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class Te extends o.FtLitElement{render(){return e.html`
868
858
  <div class="ft-text-field-suggestion"
869
859
  tabindex="-1"
870
860
  @keydown=${this.onKeyDown}
@@ -876,7 +866,7 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
876
866
  <slot></slot>
877
867
  </ft-typography>
878
868
  </div>
879
- `}focus(t){var o;null===(o=this.container)||void 0===o||o.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new Po(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())}}jo.elementDefinitions={"ft-ripple":Co,"ft-typography":so,"ft-icon":Uo},jo.styles=Ao,Go([i.property()],jo.prototype,"value",void 0),Go([i.query(".ft-text-field-suggestion")],jo.prototype,"container",void 0),Go([i.queryAssignedNodes()],jo.prototype,"assignedNodes",void 0),o.customElement("ft-text-field")(Ho),o.customElement("ft-text-field-suggestion")(jo);const Mo={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},To=e.css`
869
+ `}focus(t){var o;null===(o=this.container)||void 0===o||o.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new Me(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())}}Te.elementDefinitions={"ft-ripple":Co,"ft-typography":so,"ft-icon":Uo},Te.styles=Pe,je([i.property()],Te.prototype,"value",void 0),je([i.query(".ft-text-field-suggestion")],Te.prototype,"container",void 0),je([i.queryAssignedNodes()],Te.prototype,"assignedNodes",void 0),o.customElement("ft-text-field")(Ge),o.customElement("ft-text-field-suggestion")(Te);const _e={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Ye=e.css`
880
870
  :host {
881
871
  line-height: 0;
882
872
  }
@@ -885,8 +875,8 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
885
875
  display: inline-block;
886
876
  position: relative;
887
877
 
888
- width: ${Mo.size};
889
- height: ${Mo.size};
878
+ width: ${_e.size};
879
+ height: ${_e.size};
890
880
  }
891
881
 
892
882
  .ft-loader div {
@@ -895,7 +885,7 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
895
885
  width: 25%;
896
886
  height: 25%;
897
887
  border-radius: 50%;
898
- background: ${Mo.color};
888
+ background: ${_e.color};
899
889
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
900
890
  }
901
891
 
@@ -942,10 +932,10 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
942
932
  transform: translate(0, 0);
943
933
  }
944
934
  100% {
945
- transform: translate(calc(0.35 * ${Mo.size}), 0);
935
+ transform: translate(calc(0.35 * ${_e.size}), 0);
946
936
  }
947
937
  }
948
- `,_o=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Yo={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:_o,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",Yt.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",_o),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},Vo=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Xo={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:Vo,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Vo)},qo=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),Jo=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Qo=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),te=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),oe=[e.css`
938
+ `,Ve=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Xe={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Ve,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",Yt.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Ve),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},qe=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Je={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:qe,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",qe)},Qe=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),ti=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),oi=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),ei=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),ii=[e.css`
949
939
  :host {
950
940
  display: inline-block;
951
941
  max-width: 100%;
@@ -956,7 +946,7 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
956
946
  box-shadow: 0px 0px 0px transparent;
957
947
  border: 0px solid transparent;
958
948
  text-shadow: 0px 0px 0px transparent;
959
- font-size: ${Yo.fontSize};
949
+ font-size: ${Xe.fontSize};
960
950
  }
961
951
 
962
952
  button:hover {
@@ -985,31 +975,31 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
985
975
  border: none;
986
976
  pointer-events: auto;
987
977
 
988
- --ft-button-internal-line-height: max(calc(${Yo.fontSize} + 2px), ${Yo.iconSize});
989
- --ft-button-internal-color: ${Yo.color};
990
- ${o.setVariable(Io.size,Yo.iconSize)};
991
- ${o.setVariable(uo.color,Yo.rippleColor)};
978
+ --ft-button-internal-line-height: max(calc(${Xe.fontSize} + 2px), ${Xe.iconSize});
979
+ --ft-button-internal-color: ${Xe.color};
980
+ ${o.setVariable(Io.size,Xe.iconSize)};
981
+ ${o.setVariable(go.color,Xe.rippleColor)};
992
982
 
993
- border-radius: ${Yo.borderRadius};
994
- padding: ${Yo.verticalPadding} ${Yo.horizontalPadding};
995
- background-color: ${Yo.backgroundColor};
983
+ border-radius: ${Xe.borderRadius};
984
+ padding: ${Xe.verticalPadding} ${Xe.horizontalPadding};
985
+ background-color: ${Xe.backgroundColor};
996
986
  color: var(--ft-button-internal-color);
997
987
  -webkit-mask-image: radial-gradient(white, black);
998
988
  }
999
989
 
1000
990
  .ft-button.ft-button--outlined {
1001
991
  border: 1px solid var(--ft-button-internal-color);
1002
- padding: calc(${Yo.verticalPadding} - 1px) calc(${Yo.horizontalPadding} - 1px);
992
+ padding: calc(${Xe.verticalPadding} - 1px) calc(${Xe.horizontalPadding} - 1px);
1003
993
  }
1004
994
 
1005
995
  .ft-button.ft-button--dense {
1006
- padding: ${Jo} ${Qo};
1007
- border-radius: ${qo};
1008
- gap: ${te};
996
+ padding: ${ti} ${oi};
997
+ border-radius: ${Qe};
998
+ gap: ${ei};
1009
999
  }
1010
1000
 
1011
1001
  .ft-button.ft-button--dense.ft-button--outlined {
1012
- padding: calc(${Jo} - 1px) calc(${Qo} - 1px);
1002
+ padding: calc(${ti} - 1px) calc(${oi} - 1px);
1013
1003
  }
1014
1004
 
1015
1005
  .ft-button:not([disabled]):hover {
@@ -1017,22 +1007,22 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1017
1007
  }
1018
1008
 
1019
1009
  .ft-button--round {
1020
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Yo.verticalPadding});
1010
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Xe.verticalPadding});
1021
1011
  }
1022
1012
 
1023
1013
  .ft-button--round.ft-button--dense {
1024
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Jo});
1014
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ti});
1025
1015
  }
1026
1016
 
1027
1017
  .ft-button[disabled] {
1028
1018
  filter: grayscale(1);
1029
- opacity: ${Yo.opacityDisabled};
1019
+ opacity: ${Xe.opacityDisabled};
1030
1020
  }
1031
1021
 
1032
1022
  .ft-button.ft-button--primary {
1033
- background-color: ${Xo.backgroundColor};
1034
- --ft-button-internal-color: ${Xo.color};
1035
- ${o.setVariable(uo.color,Xo.rippleColor)};
1023
+ background-color: ${Je.backgroundColor};
1024
+ --ft-button-internal-color: ${Je.color};
1025
+ ${o.setVariable(go.color,Je.rippleColor)};
1036
1026
  }
1037
1027
 
1038
1028
  .ft-button:focus {
@@ -1045,13 +1035,13 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1045
1035
  white-space: nowrap;
1046
1036
  text-overflow: ellipsis;
1047
1037
  display: block;
1048
- margin: 0 ${Yo.iconPadding};
1038
+ margin: 0 ${Xe.iconPadding};
1049
1039
  ${o.setVariable(Yt.fontSize,"1em")};
1050
1040
  ${o.setVariable(Yt.lineHeight,"var(--ft-button-internal-line-height)")};
1051
1041
  }
1052
1042
 
1053
1043
  .ft-button--dense .ft-button--label {
1054
- margin: 0 ${te};
1044
+ margin: 0 ${ei};
1055
1045
  }
1056
1046
 
1057
1047
  .ft-button--label[hidden] {
@@ -1064,13 +1054,13 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1064
1054
  }
1065
1055
 
1066
1056
  .ft-button--label[hidden] + ft-icon {
1067
- margin: 0 calc(${Yo.horizontalPadding} * -1);
1068
- padding: 0 ${Yo.verticalPadding};
1057
+ margin: 0 calc(${Xe.horizontalPadding} * -1);
1058
+ padding: 0 ${Xe.verticalPadding};
1069
1059
  }
1070
1060
 
1071
1061
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
1072
- margin: 0 calc(${Qo} * -1);
1073
- padding: 0 ${Jo};
1062
+ margin: 0 calc(${oi} * -1);
1063
+ padding: 0 ${ti};
1074
1064
  }
1075
1065
 
1076
1066
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -1079,10 +1069,10 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1079
1069
  }
1080
1070
 
1081
1071
  ft-loader {
1082
- ${o.setVariable(Mo.size,Yo.iconSize)};
1083
- ${o.setVariable(Mo.color,"var(--ft-button-internal-color)")};
1072
+ ${o.setVariable(_e.size,Xe.iconSize)};
1073
+ ${o.setVariable(_e.color,"var(--ft-button-internal-color)")};
1084
1074
  }
1085
- `,o.noTextSelect],ee=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),ie=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),re=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),ne=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),ae=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),le=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),se=e.css`
1075
+ `,o.noTextSelect],ri=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),ni=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),ai=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),li=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),si=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),ci=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),pi=e.css`
1086
1076
  .ft-tooltip--container {
1087
1077
  display: block;
1088
1078
  }
@@ -1097,21 +1087,21 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1097
1087
  box-sizing: border-box;
1098
1088
  overflow: hidden;
1099
1089
  width: max-content;
1100
- max-width: ${le};
1090
+ max-width: ${ci};
1101
1091
  text-align: center;
1102
- padding: ${ee};
1103
- z-index: ${ne};
1092
+ padding: ${ri};
1093
+ z-index: ${li};
1104
1094
  }
1105
1095
 
1106
1096
  .ft-tooltip--content {
1107
1097
  padding: 4px 8px;
1108
- border-radius: ${ae};
1109
- background-color: ${re};
1110
- color: ${ie};
1098
+ border-radius: ${si};
1099
+ background-color: ${ai};
1100
+ color: ${ni};
1111
1101
  position: relative;
1112
1102
  word-break: break-word;
1113
1103
  }
1114
- `,ce=["start","end"],pe=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+ce[0],o+"-"+ce[1])),[]),fe=Math.min,de=Math.max,he=Math.round,ge=t=>({x:t,y:t}),ue={left:"right",right:"left",bottom:"top",top:"bottom"},ye={start:"end",end:"start"};function be(t,o,e){return de(t,fe(o,e))}function me(t,o){return"function"==typeof t?t(o):t}function xe(t){return t.split("-")[0]}function ve(t){return t.split("-")[1]}function Oe(t){return"x"===t?"y":"x"}function Ne(t){return"y"===t?"height":"width"}function $e(t){return["top","bottom"].includes(xe(t))?"y":"x"}function Se(t){return Oe($e(t))}function we(t){return t.replace(/left|right|bottom|top/g,(t=>ue[t]))}function Ce(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ie(t,o,e){let{reference:i,floating:r}=t;const n=$e(o),a=Se(o),l=Ne(a),s=xe(o),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,d=i[l]/2-r[l]/2;let h;switch(s){case"top":h={x:p,y:i.y-r.height};break;case"bottom":h={x:p,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:f};break;case"left":h={x:i.x-r.width,y:f};break;default:h={x:i.x,y:i.y}}switch(ve(o)){case"start":h[a]-=d*(e&&c?-1:1);break;case"end":h[a]+=d*(e&&c?-1:1)}return h}async function Ee(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=me(o,t),g=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),u=l[d?"floating"===f?"reference":"floating":f],y=Ce(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(u)))||e?u:u.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:p,strategy:s})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.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=Ce(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-v.top+g.top)/x.y,bottom:(v.bottom-y.bottom+g.bottom)/x.y,left:(y.left-v.left+g.left)/x.x,right:(v.right-y.right+g.right)/x.x}}function ke(t,o,e){return(t?[...e.filter((o=>ve(o)===t)),...e.filter((o=>ve(o)!==t))]:e.filter((t=>xe(t)===t))).filter((e=>!t||(ve(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>ye[t]))}(e)!==e)))}const We=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:d=pe,autoAlignment:h=!0,...g}=me(t,o),u=void 0!==f||d===pe?ke(f||null,h,d):d,y=await Ee(o,g),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=u[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=ve(t),r=Se(t),n=Ne(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=we(a)),[a,we(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:u[0]}};const v=[y[xe(m)],y[x[0]],y[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],N=u[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const $=O.map((t=>{const o=ve(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),S=$.filter((t=>t[2].slice(0,ve(t[0])?2:3).every((t=>t<=0)))),w=(null==(r=S[0])?void 0:r[0])||$[0][0];return w!==l?{data:{index:b+1,overflows:O},reset:{placement:w}}:{}}}};function Ue(t){return Ze(t)?(t.nodeName||"").toLowerCase():"#document"}function Re(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function ze(t){var o;return null==(o=(Ze(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Ze(t){return t instanceof Node||t instanceof Re(t).Node}function Le(t){return t instanceof Element||t instanceof Re(t).Element}function Ke(t){return t instanceof HTMLElement||t instanceof Re(t).HTMLElement}function De(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Re(t).ShadowRoot)}function Fe(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=Pe(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function Be(t){return["table","td","th"].includes(Ue(t))}function He(t){const o=Ae(),e=Pe(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Ae(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ge(t){return["html","body","#document"].includes(Ue(t))}function Pe(t){return Re(t).getComputedStyle(t)}function je(t){return Le(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Me(t){if("html"===Ue(t))return t;const o=t.assignedSlot||t.parentNode||De(t)&&t.host||ze(t);return De(o)?o.host:o}function Te(t){const o=Me(t);return Ge(o)?t.ownerDocument?t.ownerDocument.body:t.body:Ke(o)&&Fe(o)?o:Te(o)}function _e(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=Te(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Re(r);return n?o.concat(a,a.visualViewport||[],Fe(r)?r:[],a.frameElement&&e?_e(a.frameElement):[]):o.concat(r,_e(r,[],e))}function Ye(t){const o=Pe(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=Ke(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,l=he(e)!==n||he(i)!==a;return l&&(e=n,i=a),{width:e,height:i,$:l}}function Ve(t){return Le(t)?t:t.contextElement}function Xe(t){const o=Ve(t);if(!Ke(o))return ge(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=Ye(o);let a=(n?he(e.width):e.width)/i,l=(n?he(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const qe=ge(0);function Je(t){const o=Re(t);return Ae()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:qe}function Qe(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=Ve(t);let a=ge(1);o&&(i?Le(i)&&(a=Xe(i)):a=Xe(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Re(t))&&o}(n,e,i)?Je(n):ge(0);let s=(r.left+l.x)/a.x,c=(r.top+l.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=Re(n),o=i&&Le(i)?Re(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=Xe(e),o=e.getBoundingClientRect(),i=Pe(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,p*=t.x,f*=t.y,s+=r,c+=n,e=Re(e).frameElement}}return Ce({width:p,height:f,x:s,y:c})}function ti(t){return Qe(ze(t)).left+je(t).scrollLeft}function oi(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=Re(t),i=ze(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,l=0,s=0;if(r){n=r.width,a=r.height;const t=Ae();(!t||t&&"fixed"===o)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)i=function(t){const o=ze(t),e=je(t),i=t.ownerDocument.body,r=de(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=de(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+ti(t);const l=-e.scrollTop;return"rtl"===Pe(i).direction&&(a+=de(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(ze(t));else if(Le(o))i=function(t,o){const e=Qe(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=Ke(t)?Xe(t):ge(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=Je(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return Ce(i)}function ei(t,o){const e=Me(t);return!(e===o||!Le(e)||Ge(e))&&("fixed"===Pe(e).position||ei(e,o))}function ii(t,o,e){const i=Ke(o),r=ze(o),n="fixed"===e,a=Qe(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=ge(0);if(i||!i&&!n)if(("body"!==Ue(o)||Fe(r))&&(l=je(o)),i){const t=Qe(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else r&&(s.x=ti(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function ri(t,o){return Ke(t)&&"fixed"!==Pe(t).position?o?o(t):t.offsetParent:null}function ni(t,o){const e=Re(t);if(!Ke(t))return e;let i=ri(t,o);for(;i&&Be(i)&&"static"===Pe(i).position;)i=ri(i,o);return i&&("html"===Ue(i)||"body"===Ue(i)&&"static"===Pe(i).position&&!He(i))?e:i||function(t){let o=Me(t);for(;Ke(o)&&!Ge(o);){if(He(o))return o;o=Me(o)}return null}(t)||e}const ai={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=Ke(e),n=ze(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=ge(1);const s=ge(0);if((r||!r&&"fixed"!==i)&&(("body"!==Ue(e)||Fe(n))&&(a=je(e)),Ke(e))){const t=Qe(e);l=Xe(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:ze,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=_e(t,[],!1).filter((t=>Le(t)&&"body"!==Ue(t))),r=null;const n="fixed"===Pe(t).position;let a=n?Me(t):t;for(;Le(a)&&!Ge(a);){const o=Pe(a),e=He(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||Fe(a)&&!e&&ei(t,a))?i=i.filter((t=>t!==a)):r=o,a=Me(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],l=n.reduce(((t,e)=>{const i=oi(o,e,r);return t.top=de(i.top,t.top),t.right=fe(i.right,t.right),t.bottom=fe(i.bottom,t.bottom),t.left=de(i.left,t.left),t}),oi(o,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:ni,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||ni,n=this.getDimensions;return{reference:ii(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ye(t)},getScale:Xe,isElement:Le,isRTL:function(t){return"rtl"===Pe(t).direction}},li=(t,o,e)=>{const i=new Map,r={platform:ai,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:p,y:f}=Ie(c,i,s),d=i,h={},g=0;for(let e=0;e<l.length;e++){const{name:n,fn:u}=l[e],{x:y,y:b,data:m,reset:x}=await u({x:p,y:f,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=y?y:p,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&g<=50&&(g++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:p,y:f}=Ie(c,d,s))),e=-1)}return{x:p,y:f,placement:d,strategy:r,middlewareData:h}})(t,o,{...r,platform:n})};function si(t){return function(t){for(let o=t;o;o=ci(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=ci(t);o;o=ci(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function ci(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var pi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class fi extends o.FtLitElement{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 o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
1104
+ `;var fi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class di extends o.FtLitElement{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 o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
1115
1105
  <div part="container"
1116
1106
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
1117
1107
  @mouseenter=${this.onHover}
@@ -1129,14 +1119,14 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1129
1119
  </div>
1130
1120
  </div>
1131
1121
  </div>
1132
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&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,o,e){return li(t,o,{platform:{...ai,getOffsetParent:t=>ai.getOffsetParent(t,si)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:o,y:e,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=me(i,t),c={x:o,y:e},p=await Ee(t,s),f=$e(xe(r)),d=Oe(f);let h=c[d],g=c[f];if(n){const t="y"===d?"bottom":"right";h=be(h+p["y"===d?"top":"left"],h,h-p[t])}if(a){const t="y"===f?"bottom":"right";g=be(g+p["y"===f?"top":"left"],g,g-p[t])}const u=l.fn({...t,[d]:h,[f]:g});return{...u,data:{x:u.x-o,y:u.y-e}}}}),We({allowedPlacements:[e]})]});var i}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}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,o){return Math.max(t,Math.min(0,-o))}}fi.elementDefinitions={"ft-typography":so},fi.styles=se,pi([i.property()],fi.prototype,"text",void 0),pi([i.property({type:Boolean})],fi.prototype,"manual",void 0),pi([i.property({type:Boolean})],fi.prototype,"inline",void 0),pi([i.property({type:Number})],fi.prototype,"delay",void 0),pi([i.property()],fi.prototype,"position",void 0),pi([i.queryAssignedNodes()],fi.prototype,"slotNodes",void 0),pi([i.query(".ft-tooltip--container")],fi.prototype,"container",void 0),pi([i.query(".ft-tooltip")],fi.prototype,"tooltip",void 0),pi([i.query(".ft-tooltip--content")],fi.prototype,"tooltipContent",void 0),pi([i.state()],fi.prototype,"visible",void 0),pi([i.eventOptions({passive:!0})],fi.prototype,"onTouch",null),pi([i.eventOptions({passive:!0})],fi.prototype,"onHover",null),pi([i.eventOptions({passive:!0})],fi.prototype,"onOut",null),pi([i.eventOptions({passive:!0})],fi.prototype,"onClick",null),o.customElement("ft-tooltip")(fi);class di extends o.FtLitElement{render(){return e.html`
1122
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&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="",Le(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}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,o){return Math.max(t,Math.min(0,-o))}}di.elementDefinitions={"ft-typography":so},di.styles=pi,fi([i.property()],di.prototype,"text",void 0),fi([i.property({type:Boolean})],di.prototype,"manual",void 0),fi([i.property({type:Boolean})],di.prototype,"inline",void 0),fi([i.property({type:Number})],di.prototype,"delay",void 0),fi([i.property()],di.prototype,"position",void 0),fi([i.queryAssignedNodes()],di.prototype,"slotNodes",void 0),fi([i.query(".ft-tooltip--container")],di.prototype,"container",void 0),fi([i.query(".ft-tooltip")],di.prototype,"tooltip",void 0),fi([i.query(".ft-tooltip--content")],di.prototype,"tooltipContent",void 0),fi([i.state()],di.prototype,"visible",void 0),fi([i.eventOptions({passive:!0})],di.prototype,"onTouch",null),fi([i.eventOptions({passive:!0})],di.prototype,"onHover",null),fi([i.eventOptions({passive:!0})],di.prototype,"onOut",null),fi([i.eventOptions({passive:!0})],di.prototype,"onClick",null),o.customElement("ft-tooltip")(di);class hi extends o.FtLitElement{render(){return e.html`
1133
1123
  <div class="ft-loader">
1134
1124
  <div></div>
1135
1125
  <div></div>
1136
1126
  <div></div>
1137
1127
  <div></div>
1138
1128
  </div>
1139
- `}}di.styles=To,o.customElement("ft-loader")(di);var hi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class gi extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(),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.addEventListener("click",(t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}))}render(){return this.addTooltipIfNeeded(e.html`
1129
+ `}}hi.styles=Ye,o.customElement("ft-loader")(hi);var ui=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class gi extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(),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.addEventListener("click",(t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}))}render(){return this.addTooltipIfNeeded(e.html`
1140
1130
  <button part="button"
1141
1131
  class="${a.classMap(this.buttonClasses)}"
1142
1132
  aria-label="${this.getLabel()}"
@@ -1159,7 +1149,7 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1159
1149
  </ft-tooltip>
1160
1150
  `:t}resolveIcon(){return this.loading?e.html`
1161
1151
  <ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
1162
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}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}}gi.elementDefinitions={"ft-ripple":Co,"ft-tooltip":fi,"ft-typography":so,"ft-icon":Uo,"ft-loader":di},hi([i.property({type:String,reflect:!0})],gi.prototype,"role",void 0),hi([i.property()],gi.prototype,"type",void 0),hi([i.property({type:Boolean})],gi.prototype,"disabled",void 0),hi([i.property()],gi.prototype,"label",void 0),hi([i.property()],gi.prototype,"icon",void 0),hi([i.property()],gi.prototype,"iconVariant",void 0),hi([i.property({type:Boolean})],gi.prototype,"trailingIcon",void 0),hi([i.property({type:Boolean})],gi.prototype,"loading",void 0),hi([i.property()],gi.prototype,"tooltipPosition",void 0),hi([i.property({type:Boolean})],gi.prototype,"hideTooltip",void 0),hi([i.property({type:Boolean})],gi.prototype,"forceTooltip",void 0),hi([i.query(".ft-button")],gi.prototype,"button",void 0),hi([i.query(".ft-button--label slot")],gi.prototype,"slottedContent",void 0);var ui=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class yi extends gi{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"}}yi.styles=[o.safariEllipsisFix,oe],ui([i.property({type:Boolean})],yi.prototype,"primary",void 0),ui([i.property({type:Boolean})],yi.prototype,"outlined",void 0),ui([i.property({type:Boolean})],yi.prototype,"dense",void 0),ui([i.property({type:Boolean})],yi.prototype,"round",void 0);const bi=[e.css`
1152
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}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}}gi.elementDefinitions={"ft-ripple":Co,"ft-tooltip":di,"ft-typography":so,"ft-icon":Uo,"ft-loader":hi},ui([i.property({type:String,reflect:!0})],gi.prototype,"role",void 0),ui([i.property()],gi.prototype,"type",void 0),ui([i.property({type:Boolean})],gi.prototype,"disabled",void 0),ui([i.property()],gi.prototype,"label",void 0),ui([i.property()],gi.prototype,"icon",void 0),ui([i.property()],gi.prototype,"iconVariant",void 0),ui([i.property({type:Boolean})],gi.prototype,"trailingIcon",void 0),ui([i.property({type:Boolean})],gi.prototype,"loading",void 0),ui([i.property()],gi.prototype,"tooltipPosition",void 0),ui([i.property({type:Boolean})],gi.prototype,"hideTooltip",void 0),ui([i.property({type:Boolean})],gi.prototype,"forceTooltip",void 0),ui([i.query(".ft-button")],gi.prototype,"button",void 0),ui([i.query(".ft-button--label slot")],gi.prototype,"slottedContent",void 0);var yi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class bi extends gi{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"}}bi.styles=[o.safariEllipsisFix,ii],yi([i.property({type:Boolean})],bi.prototype,"primary",void 0),yi([i.property({type:Boolean})],bi.prototype,"outlined",void 0),yi([i.property({type:Boolean})],bi.prototype,"dense",void 0),yi([i.property({type:Boolean})],bi.prototype,"round",void 0);const mi=[e.css`
1163
1153
  :host {
1164
1154
  display: inline-block;
1165
1155
  max-width: 100%;
@@ -1238,13 +1228,13 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1238
1228
  /** Primary styles **/
1239
1229
 
1240
1230
  .ft-button--primary {
1241
- ${o.setVariable(Mo.color,tt.primaryIconColor)};
1231
+ ${o.setVariable(_e.color,tt.primaryIconColor)};
1242
1232
 
1243
- ${o.setVariable(uo.color,tt.primaryStateLayerColor)};
1244
- ${o.setVariable(uo.opacityContentOnSurfaceHover,tt.primaryHoverStateLayerOpacity)};
1245
- ${o.setVariable(uo.opacityContentOnSurfaceFocused,tt.primaryFocusStateLayerOpacity)};
1246
- ${o.setVariable(uo.opacityContentOnSurfaceSelected,tt.primaryActiveStateLayerOpacity)};
1247
- ${o.setVariable(uo.opacityContentOnSurfacePressed,tt.primaryActiveStateLayerOpacity)};
1233
+ ${o.setVariable(go.color,tt.primaryStateLayerColor)};
1234
+ ${o.setVariable(go.opacityContentOnSurfaceHover,tt.primaryHoverStateLayerOpacity)};
1235
+ ${o.setVariable(go.opacityContentOnSurfaceFocused,tt.primaryFocusStateLayerOpacity)};
1236
+ ${o.setVariable(go.opacityContentOnSurfaceSelected,tt.primaryActiveStateLayerOpacity)};
1237
+ ${o.setVariable(go.opacityContentOnSurfacePressed,tt.primaryActiveStateLayerOpacity)};
1248
1238
 
1249
1239
  background-color: ${tt.primaryBackgroundColor};
1250
1240
  color: ${tt.primaryColor};
@@ -1262,13 +1252,13 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1262
1252
  /** Secondary styles **/
1263
1253
 
1264
1254
  .ft-button--secondary {
1265
- ${o.setVariable(Mo.color,tt.secondaryIconColor)};
1255
+ ${o.setVariable(_e.color,tt.secondaryIconColor)};
1266
1256
 
1267
- ${o.setVariable(uo.color,tt.secondaryStateLayerColor)};
1268
- ${o.setVariable(uo.opacityContentOnSurfaceHover,tt.secondaryHoverStateLayerOpacity)};
1269
- ${o.setVariable(uo.opacityContentOnSurfaceFocused,tt.secondaryFocusStateLayerOpacity)};
1270
- ${o.setVariable(uo.opacityContentOnSurfaceSelected,tt.secondaryActiveStateLayerOpacity)};
1271
- ${o.setVariable(uo.opacityContentOnSurfacePressed,tt.secondaryActiveStateLayerOpacity)};
1257
+ ${o.setVariable(go.color,tt.secondaryStateLayerColor)};
1258
+ ${o.setVariable(go.opacityContentOnSurfaceHover,tt.secondaryHoverStateLayerOpacity)};
1259
+ ${o.setVariable(go.opacityContentOnSurfaceFocused,tt.secondaryFocusStateLayerOpacity)};
1260
+ ${o.setVariable(go.opacityContentOnSurfaceSelected,tt.secondaryActiveStateLayerOpacity)};
1261
+ ${o.setVariable(go.opacityContentOnSurfacePressed,tt.secondaryActiveStateLayerOpacity)};
1272
1262
 
1273
1263
  background-color: ${tt.secondaryBackgroundColor};
1274
1264
  color: ${tt.secondaryColor};
@@ -1287,13 +1277,13 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1287
1277
  /** Tertiary styles **/
1288
1278
 
1289
1279
  .ft-button--tertiary {
1290
- ${o.setVariable(Mo.color,tt.tertiaryIconColor)};
1280
+ ${o.setVariable(_e.color,tt.tertiaryIconColor)};
1291
1281
 
1292
- ${o.setVariable(uo.color,tt.tertiaryStateLayerColor)};
1293
- ${o.setVariable(uo.opacityContentOnSurfaceHover,tt.tertiaryHoverStateLayerOpacity)};
1294
- ${o.setVariable(uo.opacityContentOnSurfaceFocused,tt.tertiaryFocusStateLayerOpacity)};
1295
- ${o.setVariable(uo.opacityContentOnSurfaceSelected,tt.tertiaryActiveStateLayerOpacity)};
1296
- ${o.setVariable(uo.opacityContentOnSurfacePressed,tt.tertiaryActiveStateLayerOpacity)};
1282
+ ${o.setVariable(go.color,tt.tertiaryStateLayerColor)};
1283
+ ${o.setVariable(go.opacityContentOnSurfaceHover,tt.tertiaryHoverStateLayerOpacity)};
1284
+ ${o.setVariable(go.opacityContentOnSurfaceFocused,tt.tertiaryFocusStateLayerOpacity)};
1285
+ ${o.setVariable(go.opacityContentOnSurfaceSelected,tt.tertiaryActiveStateLayerOpacity)};
1286
+ ${o.setVariable(go.opacityContentOnSurfacePressed,tt.tertiaryActiveStateLayerOpacity)};
1297
1287
 
1298
1288
  background-color: ${tt.tertiaryBackgroundColor};
1299
1289
  color: ${tt.tertiaryColor};
@@ -1311,13 +1301,13 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1311
1301
  /** Neutral styles **/
1312
1302
 
1313
1303
  .ft-button--neutral {
1314
- ${o.setVariable(Mo.color,tt.neutralIconColor)};
1304
+ ${o.setVariable(_e.color,tt.neutralIconColor)};
1315
1305
 
1316
- ${o.setVariable(uo.backgroundColor,tt.neutralStateLayerColor)};
1317
- ${o.setVariable(uo.opacityContentOnSurfaceHover,tt.neutralHoverStateLayerOpacity)};
1318
- ${o.setVariable(uo.opacityContentOnSurfaceFocused,tt.neutralFocusStateLayerOpacity)};
1319
- ${o.setVariable(uo.opacityContentOnSurfaceSelected,tt.neutralActiveStateLayerOpacity)};
1320
- ${o.setVariable(uo.opacityContentOnSurfacePressed,tt.neutralActiveStateLayerOpacity)};
1306
+ ${o.setVariable(go.backgroundColor,tt.neutralStateLayerColor)};
1307
+ ${o.setVariable(go.opacityContentOnSurfaceHover,tt.neutralHoverStateLayerOpacity)};
1308
+ ${o.setVariable(go.opacityContentOnSurfaceFocused,tt.neutralFocusStateLayerOpacity)};
1309
+ ${o.setVariable(go.opacityContentOnSurfaceSelected,tt.neutralActiveStateLayerOpacity)};
1310
+ ${o.setVariable(go.opacityContentOnSurfacePressed,tt.neutralActiveStateLayerOpacity)};
1321
1311
 
1322
1312
  background-color: ${tt.neutralBackgroundColor};
1323
1313
  color: ${tt.neutralColor};
@@ -1336,7 +1326,7 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1336
1326
 
1337
1327
  .ft-button--large {
1338
1328
  ${o.setVariable(Io.size,tt.largeIconSize)};
1339
- ${o.setVariable(Mo.size,tt.largeIconSize)};
1329
+ ${o.setVariable(_e.size,tt.largeIconSize)};
1340
1330
 
1341
1331
  height: ${tt.largeHeight};
1342
1332
  padding: 0 ${tt.largeHorizontalPadding};
@@ -1359,7 +1349,7 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1359
1349
 
1360
1350
  .ft-button--small {
1361
1351
  ${o.setVariable(Io.size,tt.smallIconSize)};
1362
- ${o.setVariable(Mo.size,tt.smallIconSize)};
1352
+ ${o.setVariable(_e.size,tt.smallIconSize)};
1363
1353
 
1364
1354
  height: ${tt.smallHeight};
1365
1355
  padding: 0 ${tt.smallHorizontalPadding};
@@ -1377,7 +1367,7 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1377
1367
  width: ${tt.smallIconOnlyWidth};
1378
1368
  padding: unset;
1379
1369
  }
1380
- `,o.noTextSelect];var mi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class xi extends gi{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?Y.caption1medium:Y.body2medium}}xi.styles=[o.safariEllipsisFix,bi],mi([i.property({type:Boolean})],xi.prototype,"primary",void 0),mi([i.property({type:Boolean})],xi.prototype,"secondary",void 0),mi([i.property({type:Boolean})],xi.prototype,"tertiary",void 0),mi([i.property({type:Boolean})],xi.prototype,"neutral",void 0),mi([i.property({type:Boolean})],xi.prototype,"small",void 0),o.customElement("ft-button")(yi),o.customElement("ftds-button")(xi);class vi extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const Oi={headerBackground:o.FtCssVariableFactory.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:o.FtCssVariableFactory.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:o.FtCssVariableFactory.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:o.FtCssVariableFactory.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:o.FtCssVariableFactory.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","10"),cellVerticalBorderWidth:o.FtCssVariableFactory.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),colorOnSurfaceHigh:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceHigh,"Design system"),titleFont:o.FtCssVariableFactory.external(o.designSystemVariables.titleFont,"Design system"),contentFont:o.FtCssVariableFactory.external(o.designSystemVariables.contentFont,"Design system")},Ni=e.css`
1370
+ `,o.noTextSelect];var xi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class vi extends gi{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?Y.caption1medium:Y.body2medium}}vi.styles=[o.safariEllipsisFix,mi],xi([i.property({type:Boolean})],vi.prototype,"primary",void 0),xi([i.property({type:Boolean})],vi.prototype,"secondary",void 0),xi([i.property({type:Boolean})],vi.prototype,"tertiary",void 0),xi([i.property({type:Boolean})],vi.prototype,"neutral",void 0),xi([i.property({type:Boolean})],vi.prototype,"small",void 0),o.customElement("ft-button")(bi),o.customElement("ftds-button")(vi);class Oi extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const Ni={headerBackground:o.FtCssVariableFactory.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:o.FtCssVariableFactory.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:o.FtCssVariableFactory.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:o.FtCssVariableFactory.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:o.FtCssVariableFactory.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","10"),cellVerticalBorderWidth:o.FtCssVariableFactory.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),colorOnSurfaceHigh:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceHigh,"Design system"),titleFont:o.FtCssVariableFactory.external(o.designSystemVariables.titleFont,"Design system"),contentFont:o.FtCssVariableFactory.external(o.designSystemVariables.contentFont,"Design system")},$i=e.css`
1381
1371
  :host {
1382
1372
  display: block;
1383
1373
  }
@@ -1393,15 +1383,15 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1393
1383
  .header-cell {
1394
1384
  display: flex;
1395
1385
  flex-direction: column;
1396
- background: ${Oi.headerBackground};
1397
- color: ${Oi.colorOnSurfaceHigh};
1386
+ background: ${Ni.headerBackground};
1387
+ color: ${Ni.colorOnSurfaceHigh};
1398
1388
  padding: .5rem 1rem;
1399
- font-family: ${Oi.titleFont};
1389
+ font-family: ${Ni.titleFont};
1400
1390
  }
1401
1391
 
1402
1392
  .header-cell--sticky {
1403
1393
  top: 0;
1404
- z-index: ${Oi.stickyHeaderZIndex};
1394
+ z-index: ${Ni.stickyHeaderZIndex};
1405
1395
  position: sticky;
1406
1396
  }
1407
1397
 
@@ -1419,8 +1409,8 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1419
1409
  }
1420
1410
 
1421
1411
  .column-title-container ft-button {
1422
- ${o.setVariable(Yo.backgroundColor,Oi.headerBackground)};
1423
- ${o.setVariable(Yo.color,Oi.colorOnSurfaceHigh)};
1412
+ ${o.setVariable(Xe.backgroundColor,Ni.headerBackground)};
1413
+ ${o.setVariable(Xe.color,Ni.colorOnSurfaceHigh)};
1424
1414
  }
1425
1415
 
1426
1416
  .column-title {
@@ -1449,31 +1439,31 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1449
1439
 
1450
1440
  .cell {
1451
1441
  padding: 1rem;
1452
- border-left-color: ${Oi.headerBackground};
1442
+ border-left-color: ${Ni.headerBackground};
1453
1443
  border-left-style: solid;
1454
- border-left-width: ${Oi.cellVerticalBorderWidth};
1455
- border-bottom: 1px solid ${Oi.headerBackground};
1444
+ border-left-width: ${Ni.cellVerticalBorderWidth};
1445
+ border-bottom: 1px solid ${Ni.headerBackground};
1456
1446
  overflow-x: auto;
1457
1447
  display: flex;
1458
1448
  align-items: center;
1459
- font-family: ${Oi.contentFont};
1449
+ font-family: ${Ni.contentFont};
1460
1450
  }
1461
1451
 
1462
1452
  /* Even is 2n+1 and odd is 2n because of the header */
1463
1453
  .row:nth-child(2n) > .cell {
1464
- background: ${Oi.oddRowBackground};
1454
+ background: ${Ni.oddRowBackground};
1465
1455
  }
1466
1456
 
1467
1457
  .row:nth-child(2n + 1) > .cell {
1468
- background: ${Oi.evenRowBackground};
1458
+ background: ${Ni.evenRowBackground};
1469
1459
  }
1470
1460
 
1471
1461
  .row:hover > .cell {
1472
- background: ${Oi.rowHoverBackground};
1462
+ background: ${Ni.rowHoverBackground};
1473
1463
  }
1474
1464
 
1475
1465
  .cell:last-of-type {
1476
- border-right: 1px solid ${Oi.headerBackground};
1466
+ border-right: 1px solid ${Ni.headerBackground};
1477
1467
  }
1478
1468
 
1479
1469
  .row:last-of-type .cell:first-of-type {
@@ -1487,7 +1477,7 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1487
1477
  .hidden {
1488
1478
  visibility: hidden;
1489
1479
  }
1490
- `;var $i=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Si=t=>e.html`${t}`,wi=(t,o)=>t-o;class Ci extends o.FtLitElement{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.filters=[],this.selectData=[]}init(t,o,e){this.data=t,this.columns=o,this.sort=e}render(){let t=this.sortData(this.filterData());return e.html`
1480
+ `;var Si=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const wi=t=>e.html`${t}`,Ci=(t,o)=>t-o;class Ii extends o.FtLitElement{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.filters=[],this.selectData=[]}init(t,o,e){this.data=t,this.columns=o,this.sort=e}render(){let t=this.sortData(this.filterData());return e.html`
1491
1481
  <style>
1492
1482
  .table {
1493
1483
  grid-template-columns: ${this.columns.map((t=>{var o;return null!==(o=t.gridTemplateColumn)&&void 0!==o?o:"minmax(min-content, auto)"})).join(" ")};
@@ -1499,12 +1489,12 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1499
1489
  </div>
1500
1490
  ${r.repeat(t,((t,o)=>"row-"+o),((t,o)=>e.html`
1501
1491
  <div class="row"
1502
- @click=${()=>this.dispatchEvent(new vi(t))}>
1492
+ @click=${()=>this.dispatchEvent(new Oi(t))}>
1503
1493
  ${r.repeat(this.columns,((t,e)=>"cell-"+e+"-"+o),((e,i)=>this.renderCell(e,i,t,o)))}
1504
1494
  </div>
1505
1495
  `))}
1506
1496
  </div>
1507
- `}filterData(){return this.filters.reduce(((t,o,e)=>{var i;const r=this.columns[e];if(o&&o.value)switch(null!==(i=r.filter)&&void 0!==i?i:"text"){case"text":return t.filter((t=>this.getValueAsString(r,t,e).toLowerCase().includes(o.value.toLowerCase())));case"select":return t.filter((t=>this.getValueAsString(r,t,e)===o.value))}return t}),this.data)}sortData(t){var o;if(this.currentSort){const e=this.columns[this.currentSort.column],i=null!==(o=e.comparator)&&void 0!==o?o:wi,r="asc"===this.currentSort.order?i:(t,o)=>-i(t,o);return[...t].sort(((t,o)=>r(this.getValue(e,t),this.getValue(e,o))))}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,o=this.columns;for(let e in o){const i=o[e];"select"===i.filter&&(this.selectData[e]=[...new Set(t.map(((t,o)=>this.getValueAsString(i,t,o))))].sort(((t,o)=>t.localeCompare(o))))}this.requestUpdate()}renderHeader(t,o){const i={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return e.html`
1497
+ `}filterData(){return this.filters.reduce(((t,o,e)=>{var i;const r=this.columns[e];if(o&&o.value)switch(null!==(i=r.filter)&&void 0!==i?i:"text"){case"text":return t.filter((t=>this.getValueAsString(r,t,e).toLowerCase().includes(o.value.toLowerCase())));case"select":return t.filter((t=>this.getValueAsString(r,t,e)===o.value))}return t}),this.data)}sortData(t){var o;if(this.currentSort){const e=this.columns[this.currentSort.column],i=null!==(o=e.comparator)&&void 0!==o?o:Ci,r="asc"===this.currentSort.order?i:(t,o)=>-i(t,o);return[...t].sort(((t,o)=>r(this.getValue(e,t),this.getValue(e,o))))}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,o=this.columns;for(let e in o){const i=o[e];"select"===i.filter&&(this.selectData[e]=[...new Set(t.map(((t,o)=>this.getValueAsString(i,t,o))))].sort(((t,o)=>t.localeCompare(o))))}this.requestUpdate()}renderHeader(t,o){const i={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return e.html`
1508
1498
  <div class="${a.classMap(i)}"
1509
1499
  part="${this.columnPart("header-cell",o)}">
1510
1500
  <div class="column-title-container">
@@ -1546,9 +1536,9 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1546
1536
  `))}
1547
1537
  </ft-select>
1548
1538
  </div>
1549
- `:e.nothing}return e.nothing}columnPart(t,o){return`${t} ${t}-column-${o}`}renderCell(t,o,i,r){var a;const l=null!==(a=t.render)&&void 0!==a?a:Si;return e.html`
1539
+ `:e.nothing}return e.nothing}columnPart(t,o){return`${t} ${t}-column-${o}`}renderCell(t,o,i,r){var a;const l=null!==(a=t.render)&&void 0!==a?a:wi;return e.html`
1550
1540
  <div class="cell"
1551
1541
  part="${this.columnPart("cell",o)} cell-row-${r} cell-column-${o}-row-${r}">
1552
1542
  ${(t=>{const o=l(t,r);return"string"==typeof o?n.unsafeHTML(o):o})(this.getValue(t,i))}
1553
1543
  </div>
1554
- `}getValue(t,o){return"string"==typeof t.getter?o[t.getter]:t.getter(o)}getValueAsString(t,o,e){const i=this.getValue(t,o);return"function"==typeof t.stringify?t.stringify(i,e):(t=>""+t)(i)}}Ci.styles=Ni,$i([o.jsonProperty([])],Ci.prototype,"data",void 0),$i([o.jsonProperty([])],Ci.prototype,"columns",void 0),$i([o.jsonProperty(void 0)],Ci.prototype,"sort",void 0),$i([i.property({type:Boolean})],Ci.prototype,"stickyHeaders",void 0),$i([i.state()],Ci.prototype,"currentSort",void 0),o.customElement("ft-filterable-table")(Ci),t.FtFilterableTable=Ci,t.FtFilterableTableCssVariables=Oi,t.RowClickEvent=vi,t.styles=Ni}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litRepeat,ftGlobals.litUnsafeHTML,ftGlobals.litClassMap);
1544
+ `}getValue(t,o){return"string"==typeof t.getter?o[t.getter]:t.getter(o)}getValueAsString(t,o,e){const i=this.getValue(t,o);return"function"==typeof t.stringify?t.stringify(i,e):(t=>""+t)(i)}}Ii.styles=$i,Si([o.jsonProperty([])],Ii.prototype,"data",void 0),Si([o.jsonProperty([])],Ii.prototype,"columns",void 0),Si([o.jsonProperty(void 0)],Ii.prototype,"sort",void 0),Si([i.property({type:Boolean})],Ii.prototype,"stickyHeaders",void 0),Si([i.state()],Ii.prototype,"currentSort",void 0),o.customElement("ft-filterable-table")(Ii),t.FtFilterableTable=Ii,t.FtFilterableTableCssVariables=Ni,t.RowClickEvent=Oi,t.styles=$i}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litRepeat,ftGlobals.litUnsafeHTML,ftGlobals.litClassMap);