@fluid-topics/ft-filterable-table 1.0.58 → 1.0.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,136 +1,143 @@
1
- !function(t,e,i,o,s,n,l){
1
+ !function(t,o,e,i,r,a,n){
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2017 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- var r;const a=window,p=a.trustedTypes,f=p?p.createPolicy("lit-html",{createHTML:t=>t}):void 0,d="$lit$",h=`lit$${(Math.random()+"").slice(9)}$`,c="?"+h,u=`<${c}>`,x=document,g=()=>x.createComment(""),b=t=>null===t||"object"!=typeof t&&"function"!=typeof t,v=Array.isArray,y="[ \t\n\f\r]",$=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,m=/-->/g,w=/>/g,k=RegExp(`>|${y}(?:([^\\s"'>=/]+)(${y}*=${y}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),S=/'/g,z=/"/g,O=/^(?:script|style|textarea|title)$/i,E=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),C=Symbol.for("lit-noChange"),I=Symbol.for("lit-nothing"),B=new WeakMap,D=x.createTreeWalker(x,129,null,!1),j=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":"",l=$;for(let e=0;e<i;e++){const i=t[e];let r,a,p=-1,f=0;for(;f<i.length&&(l.lastIndex=f,a=l.exec(i),null!==a);)f=l.lastIndex,l===$?"!--"===a[1]?l=m:void 0!==a[1]?l=w:void 0!==a[2]?(O.test(a[2])&&(s=RegExp("</"+a[2],"g")),l=k):void 0!==a[3]&&(l=k):l===k?">"===a[0]?(l=null!=s?s:$,p=-1):void 0===a[1]?p=-2:(p=l.lastIndex-a[2].length,r=a[1],l=void 0===a[3]?k:'"'===a[3]?z:S):l===z||l===S?l=k:l===m||l===w?l=$:(l=k,s=void 0);const c=l===k&&t[e+1].startsWith("/>")?" ":"";n+=l===$?i+u:p>=0?(o.push(r),i.slice(0,p)+d+i.slice(p)+h+c):i+h+(-2===p?(o.push(void 0),e):c)}const r=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==f?f.createHTML(r):r,o]};class N{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,n=0;const l=t.length-1,r=this.parts,[a,f]=j(t,e);if(this.el=N.createElement(a,i),D.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=D.nextNode())&&r.length<l;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(d)||e.startsWith(h)){const i=f[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+d).split(h),e=/([.?@])?(.*)/.exec(i);r.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?T:"?"===e[1]?_:"@"===e[1]?U:M})}else r.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(O.test(o.tagName)){const t=o.textContent.split(h),e=t.length-1;if(e>0){o.textContent=p?p.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],g()),D.nextNode(),r.push({type:2,index:++s});o.append(t[e],g())}}}else if(8===o.nodeType)if(o.data===c)r.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(h,t+1));)r.push({type:7,index:s}),t+=h.length-1}s++}}static createElement(t,e){const i=x.createElement("template");return i.innerHTML=t,i}}function Z(t,e,i=t,o){var s,n,l,r;if(e===C)return e;let a=void 0!==o?null===(s=i._$Co)||void 0===s?void 0:s[o]:i._$Cl;const p=b(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,i,o)),void 0!==o?(null!==(l=(r=i)._$Co)&&void 0!==l?l:r._$Co=[])[o]=a:i._$Cl=a),void 0!==a&&(e=Z(t,a._$AS(t,e.values),a,o)),e}class F{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:x).importNode(i,!0);D.currentNode=s;let n=D.nextNode(),l=0,r=0,a=o[0];for(;void 0!==a;){if(l===a.index){let e;2===a.type?e=new A(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new P(n,this,t)),this._$AV.push(e),a=o[++r]}l!==(null==a?void 0:a.index)&&(n=D.nextNode(),l++)}return s}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class A{constructor(t,e,i,o){var s;this.type=2,this._$AH=I,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Z(this,t,e),b(t)?t===I||null==t||""===t?(this._$AH!==I&&this._$AR(),this._$AH=I):t!==this._$AH&&t!==C&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>v(t)||"function"==typeof(null==t?void 0: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!==I&&b(this._$AH)?this._$AA.nextSibling.data=t:this.$(x.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=N.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.v(i);else{const t=new F(s,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=B.get(t.strings);return void 0===e&&B.set(t.strings,e=new N(t)),e}T(t){v(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new A(this.k(g()),this.k(g()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class M{constructor(t,e,i,o,s){this.type=1,this._$AH=I,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=I}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let n=!1;if(void 0===s)t=Z(this,t,e,0),n=!b(t)||t!==this._$AH&&t!==C,n&&(this._$AH=t);else{const o=t;let l,r;for(t=s[0],l=0;l<s.length-1;l++)r=Z(this,o[i+l],e,l),r===C&&(r=this._$AH[l]),n||(n=!b(r)||r!==this._$AH[l]),r===I?t=I:t!==I&&(t+=(null!=r?r:"")+s[l+1]),this._$AH[l]=r}n&&!o&&this.j(t)}j(t){t===I?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class T extends M{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===I?void 0:t}}const R=p?p.emptyScript:"";class _ extends M{constructor(){super(...arguments),this.type=4}j(t){t&&t!==I?this.element.setAttribute(this.name,R):this.element.removeAttribute(this.name)}}class U extends M{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=Z(this,t,e,0))&&void 0!==i?i:I)===C)return;const o=this._$AH,s=t===I&&o!==I||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==I&&(o===I||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class P{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Z(this,t)}}const H=a.litHtmlPolyfillSupport;null==H||H(N,A),(null!==(r=a.litHtmlVersions)&&void 0!==r?r:a.litHtmlVersions=[]).push("2.7.3");
7
+ var l;const s=window,c=s.trustedTypes,p=c?c.createPolicy("lit-html",{createHTML:t=>t}):void 0,f="$lit$",d=`lit$${(Math.random()+"").slice(9)}$`,h="?"+d,g=`<${h}>`,y=document,u=()=>y.createComment(""),b=t=>null===t||"object"!=typeof t&&"function"!=typeof t,m=Array.isArray,x="[ \t\n\f\r]",v=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,O=/-->/g,$=/>/g,N=RegExp(`>|${x}(?:([^\\s"'>=/]+)(${x}*=${x}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),S=/'/g,w=/"/g,C=/^(?:script|style|textarea|title)$/i,I=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),k=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),R=new WeakMap,U=y.createTreeWalker(y,129,null,!1),W=(t,o)=>{const e=t.length-1,i=[];let r,a=2===o?"<svg>":"",n=v;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,p=0;for(;p<e.length&&(n.lastIndex=p,s=n.exec(e),null!==s);)p=n.lastIndex,n===v?"!--"===s[1]?n=O:void 0!==s[1]?n=$:void 0!==s[2]?(C.test(s[2])&&(r=RegExp("</"+s[2],"g")),n=N):void 0!==s[3]&&(n=N):n===N?">"===s[0]?(n=null!=r?r:v,c=-1):void 0===s[1]?c=-2:(c=n.lastIndex-s[2].length,l=s[1],n=void 0===s[3]?N:'"'===s[3]?w:S):n===w||n===S?n=N:n===O||n===$?n=v:(n=N,r=void 0);const h=n===N&&t[o+1].startsWith("/>")?" ":"";a+=n===v?e+g:c>=0?(i.push(l),e.slice(0,c)+f+e.slice(c)+d+h):e+d+(-2===c?(i.push(void 0),o):h)}const l=a+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==p?p.createHTML(l):l,i]};class L{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,a=0;const n=t.length-1,l=this.parts,[s,p]=W(t,o);if(this.el=L.createElement(s,e),U.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(i=U.nextNode())&&l.length<n;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const o of i.getAttributeNames())if(o.endsWith(f)||o.startsWith(d)){const e=p[a++];if(t.push(o),void 0!==e){const t=i.getAttribute(e.toLowerCase()+f).split(d),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:r,name:o[2],strings:t,ctor:"."===o[1]?B:"?"===o[1]?A:"@"===o[1]?H:D})}else l.push({type:6,index:r})}for(const o of t)i.removeAttribute(o)}if(C.test(i.tagName)){const t=i.textContent.split(d),o=t.length-1;if(o>0){i.textContent=c?c.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],u()),U.nextNode(),l.push({type:2,index:++r});i.append(t[o],u())}}}else if(8===i.nodeType)if(i.data===h)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(d,t+1));)l.push({type:7,index:r}),t+=d.length-1}r++}}static createElement(t,o){const e=y.createElement("template");return e.innerHTML=t,e}}function z(t,o,e=t,i){var r,a,n,l;if(o===k)return o;let s=void 0!==i?null===(r=e._$Co)||void 0===r?void 0:r[i]:e._$Cl;const c=b(o)?void 0:o._$litDirective$;return(null==s?void 0:s.constructor)!==c&&(null===(a=null==s?void 0:s._$AO)||void 0===a||a.call(s,!1),void 0===c?s=void 0:(s=new c(t),s._$AT(t,e,i)),void 0!==i?(null!==(n=(l=e)._$Co)&&void 0!==n?n:l._$Co=[])[i]=s:e._$Cl=s),void 0!==s&&(o=z(t,s._$AS(t,o.values),s,i)),o}class Z{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){var o;const{el:{content:e},parts:i}=this._$AD,r=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:y).importNode(e,!0);U.currentNode=r;let a=U.nextNode(),n=0,l=0,s=i[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new K(a,a.nextSibling,this,t):1===s.type?o=new s.ctor(a,s.name,s.strings,this,t):6===s.type&&(o=new G(a,this,t)),this._$AV.push(o),s=i[++l]}n!==(null==s?void 0:s.index)&&(a=U.nextNode(),n++)}return r}v(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{constructor(t,o,e,i){var r;this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cp=null===(r=null==i?void 0:i.isConnected)||void 0===r||r}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0: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),b(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==k&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>m(t)||"function"==typeof(null==t?void 0: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&&b(this._$AH)?this._$AA.nextSibling.data=t:this.$(y.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=L.createElement(i.h,this.options)),i);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===r)this._$AH.v(e);else{const t=new Z(r,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=R.get(t.strings);return void 0===o&&R.set(t.strings,o=new L(t)),o}T(t){m(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){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class D{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}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,i){const r=this.strings;let a=!1;if(void 0===r)t=z(this,t,o,0),a=!b(t)||t!==this._$AH&&t!==k,a&&(this._$AH=t);else{const i=t;let n,l;for(t=r[0],n=0;n<r.length-1;n++)l=z(this,i[e+n],o,n),l===k&&(l=this._$AH[n]),a||(a=!b(l)||l!==this._$AH[n]),l===E?t=E:t!==E&&(t+=(null!=l?l:"")+r[n+1]),this._$AH[n]=l}a&&!i&&this.j(t)}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class B extends D{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===E?void 0:t}}const F=c?c.emptyScript:"";class A extends D{constructor(){super(...arguments),this.type=4}j(t){t&&t!==E?this.element.setAttribute(this.name,F):this.element.removeAttribute(this.name)}}class H extends D{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=z(this,t,o,0))&&void 0!==e?e:E)===k)return;const i=this._$AH,r=t===E&&i!==E||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,a=t!==E&&(i===E||r);r&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class G{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 j=s.litHtmlPolyfillSupport;null==j||j(L,K),(null!==(l=s.litHtmlVersions)&&void 0!==l?l:s.litHtmlVersions=[]).push("2.7.3");
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2020 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
12
  */
13
- const V=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t._$litStatic$},K=t=>({_$litStatic$:t,r:V}),L=new Map,G=(t=>(e,...i)=>{const o=i.length;let s,n;const l=[],r=[];let a,p=0,f=!1;for(;p<o;){for(a=e[p];p<o&&void 0!==(n=i[p],s=W(n));)a+=s+e[++p],f=!0;p!==o&&r.push(n),l.push(a),p++}if(p===o&&l.push(e[o]),f){const t=l.join("$$lit$$");void 0===(e=L.get(t))&&(l.raw=l,L.set(t,e=l)),i=r}return t(e,...i)})(E);var q;!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"}(q||(q={}));const X=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),Y=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),J={fontFamily:Y,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},Q=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",X),tt=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",J.fontSize,"20px"),et=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",J.fontWeight,"normal"),it=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",J.letterSpacing,"0.15px"),ot=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",J.lineHeight,"1.2"),st=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",J.textTransform,"inherit"),nt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",X),lt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",J.fontSize,"14px"),rt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",J.fontWeight,"normal"),at=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",J.letterSpacing,"0.105px"),pt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",J.lineHeight,"1.7"),ft=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",J.textTransform,"inherit"),dt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",Y),ht=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",J.fontSize,"16px"),ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",J.fontWeight,"600"),ut=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",J.letterSpacing,"0.144px"),xt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",J.lineHeight,"1.5"),gt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",J.textTransform,"inherit"),bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",Y),vt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",J.fontSize,"14px"),yt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",J.fontWeight,"normal"),$t=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",J.letterSpacing,"0.098px"),mt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",J.lineHeight,"1.7"),wt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",J.textTransform,"inherit"),kt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",Y),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",J.fontSize,"16px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",J.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",J.letterSpacing,"0.496px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",J.lineHeight,"1.5"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",J.textTransform,"inherit")},St=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",Y),zt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",J.fontSize,"14px"),Ot=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",J.fontWeight,"normal"),Et=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",J.letterSpacing,"0.252px"),Ct=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",J.lineHeight,"1.4"),It=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",J.textTransform,"inherit"),Bt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",Y),fontSize:e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",J.fontSize,"12px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",J.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",J.letterSpacing,"0.396px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",J.lineHeight,"1.33"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",J.textTransform,"inherit")},Dt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",Y),jt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",J.fontSize,"10px"),Nt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",J.fontWeight,"normal"),Zt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",J.letterSpacing,"0.33px"),Ft=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",J.lineHeight,"1.6"),At=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",J.textTransform,"inherit"),Mt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",Y),Tt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",J.fontSize,"10px"),Rt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",J.fontWeight,"normal"),_t=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",J.letterSpacing,"1.5px"),Ut=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",J.lineHeight,"1.6"),Pt=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",J.textTransform,"uppercase"),Ht={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family",Y),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size",J.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",J.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",J.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height",J.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",J.textTransform,"uppercase")},Vt=i.css`
13
+ const P=Symbol.for(""),M=t=>{if((null==t?void 0:t.r)===P)return null==t?void 0:t._$litStatic$},T=t=>({_$litStatic$:t,r:P}),_=new Map,V=(t=>(o,...e)=>{const i=e.length;let r,a;const n=[],l=[];let s,c=0,p=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(a=e[c],r=M(a));)s+=r+o[++c],p=!0;c!==i&&l.push(a),n.push(s),c++}if(c===i&&n.push(o[i]),p){const t=n.join("$$lit$$");void 0===(o=_.get(t))&&(n.raw=n,_.set(t,o=n)),e=l}return t(o,...e)})(I);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 q=t=>"string"==typeof t?e.unsafeCSS(t):t;class X{static create(t,o,i,r){const a=t=>q(null!=t?t:r),n=e.css`var(${q(t)}, ${a(r)})`;return n.name=t,n.description=t,n.category=i,n.defaultValue=r,n.defaultCssValue=a,n.get=o=>e.css`var(${q(t)}, ${a(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,i,r){const a=t=>i.get(null!=t?t:r),n=e.css`var(${q(t)}, ${a(r)})`;return n.name=t,n.description=o,n.category=i.category,n.fallbackVariable=i,n.defaultValue=r,n.defaultCssValue=a,n.get=o=>e.css`var(${q(t)}, ${a(o)})`,n.breadcrumb=()=>[i.name,...i.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),n}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):q(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${q(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(${q(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const J={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","#ee8d17"),colorOrange10:X.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:X.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:X.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:X.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:X.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:X.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:X.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:X.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:X.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:X.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:X.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:X.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:X.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:X.create("--ft-color-orange-700","","COLOR","#140c02"),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")},Q={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","2rem"),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","600"),lineHeight:X.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),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","600"),lineHeight:X.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),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-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")}},tt={backgroundActionPrimary:X.extend("--ft-background-action-primary","Used as backgorund of primary action components.",J.colorBrand0),backgroundErrorPrimary:X.extend("--ft-background-error-primary","Used as background of error components.",J.colorRed0),backgroundErrorSubtle:X.extend("--ft-background-error-subtle","Used as background of subtle error components.",J.colorRed10),backgroundInfoPrimary:X.extend("--ft-background-info-primary","Used as background of information components.",J.colorCyan200),backgroundInfoSubtle:X.extend("--ft-background-info-subtle","Used as background of subtle information components.",J.colorCyan10),backgroundWarningPrimary:X.extend("--ft-background-warning-primary","Used as background of warning components.",J.colorOrange300),backgroundWarningSubtle:X.extend("--ft-background-warning-subtle","Used as background of subtle information components.",J.colorOrange10),backgroundSuccessPrimary:X.extend("--ft-background-success-primary","Used as background of success components.",J.colorGreen200),backgroundSuccessSubtle:X.extend("--ft-background-success-subtle","Used as background of subtle success components.",J.colorGreen10),backgroundGlobalSurface:X.extend("--ft-background-global-surface","Used as app background.",J.colorWhite),backgroundGlobalOnSurface:X.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",J.colorGray10),backgroundGlobalOnSurfaceDark:X.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",J.colorGray30),contentActionPrimary:X.extend("--ft-content-action-primary","Used on label of primary action on light surface.",J.colorBrand0),contentWarningPrimary:X.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",J.colorOrange300),contentWarningIconOnly:X.extend("--ft-content-warning-icon-only","Used on warning status icons alone",J.colorOrange0),contentErrorPrimary:X.extend("--ft-content-error-primary","Used on label of error messages on light surface.",J.colorRed0),contentErrorIconOnly:X.extend("--ft-content-error-icon-only","Used on error status icons alone",J.colorRed0),contentInfoPrimary:X.extend("--ft-content-info-primary","Used on label of information messages on light surface.",J.colorCyan200),contentInfoIconOnly:X.extend("--ft-content-info-icon-only","Used on info status icons alone",J.colorCyan0),contentSuccessIconOnly:X.extend("--ft-content-success-icon-only","Used on success status icons alone",J.colorGreen0),contentSuccessPrimary:X.extend("--ft-content-success-primary","Used on label of success messages on light surface.",J.colorGreen200),contentGlobalPrimary:X.extend("--ft-content-global-primary","Used for main content on the page.",J.colorGray500),contentGlobalSecondary:X.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",J.colorGray200),contentGlobalSubtle:X.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",J.colorGray0),contentGlobalOnColor:X.extend("--ft-content-global-on-color","Used for content on a dominant color.",J.colorWhite),borderActionPrimary:X.extend("--ft-border-action-primary","Used as border for primary action components.",J.colorBrand0),borderActionFocusRing:X.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",J.colorCyan0),borderWarningPrimary:X.extend("--ft-border-warning-primary","Used as border for warning components.",J.colorOrange30),borderSuccessPrimary:X.extend("--ft-border-success-primary","Used as border for success components.",J.colorGreen30),borderErrorPrimary:X.extend("--ft-border-error-primary","Used as border for error components.",J.colorRed30),borderInfoPrimary:X.extend("--ft-border-info-primary","Used as border for information components.",J.colorCyan30),borderGlobalSubtle:X.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",J.colorGray30),borderGlobalPrimary:X.extend("--ft-border-global-primary","Used as border for element like input.",J.colorGray50),borderInputPrimary:X.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",J.colorGray80)},ot={largeHeight:X.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:X.extend("--ft-button-large-horizontal-padding","",J.spacing4),largeGap:X.extend("--ft-button-large-gap","",J.spacing2),largeBorderRadius:X.extend("--ft-button-large-border-radius","",J.borderRadiusS),largeIconSize:X.extend("--ft-button-large-icon-size","",J.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","",J.spacing3),smallGap:X.extend("--ft-button-small-gap","",J.spacing2),smallBorderRadius:X.extend("--ft-button-small-border-radius","",J.borderRadiusS),smallIconSize:X.extend("--ft-button-small-icon-size","",J.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","",tt.backgroundActionPrimary),primaryColor:X.extend("--ft-button-primary-color","",tt.contentGlobalOnColor),primaryIconColor:X.extend("--ft-button-primary-icon-color","",tt.contentGlobalOnColor),primaryStateLayerColor:X.extend("--ft-button-primary-state-layer-color","",tt.contentGlobalOnColor),primaryStateLayerOpacityHover:X.extend("--ft-button-primary-state-layer-opacity-hover","",J.opacity16),primaryStateLayerOpacityFocus:X.extend("--ft-button-primary-state-layer-opacity-focus","",J.opacity16),primaryStateLayerOpacityActive:X.extend("--ft-button-primary-state-layer-opacity-active","",J.opacity24),primaryComponentOpacityDisabled:X.extend("--ft-button-primary-component-opacity-disabled","",J.opacity40),focusFocusRingColor:X.extend("--ft-button-focus-focus-ring-color","",tt.borderActionFocusRing),tertiaryBackgroundColor:X.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:X.extend("--ft-button-tertiary-color","",tt.contentActionPrimary),tertiaryIconColor:X.extend("--ft-button-tertiary-icon-color","",tt.contentActionPrimary),tertiaryStateLayerColor:X.extend("--ft-button-tertiary-state-layer-color","",tt.contentActionPrimary),tertiaryStateLayerOpacityHover:X.extend("--ft-button-tertiary-state-layer-opacity-hover","",J.opacity8),tertiaryStateLayerOpacityFocus:X.extend("--ft-button-tertiary-state-layer-opacity-focus","",J.opacity8),tertiaryStateLayerOpacityActive:X.extend("--ft-button-tertiary-state-layer-opacity-active","",J.opacity16),tertiaryComponentOpacityDisabled:X.extend("--ft-button-tertiary-component-opacity-disabled","",J.opacity40),secondaryBackgroundColor:X.extend("--ft-button-secondary-background-color","",J.colorWhite),secondaryColor:X.extend("--ft-button-secondary-color","",tt.contentActionPrimary),secondaryIconColor:X.extend("--ft-button-secondary-icon-color","",tt.contentActionPrimary),secondaryStateLayerColor:X.extend("--ft-button-secondary-state-layer-color","",tt.contentActionPrimary),secondaryStateLayerOpacityHover:X.extend("--ft-button-secondary-state-layer-opacity-hover","",J.opacity8),secondaryStateLayerOpacityFocus:X.extend("--ft-button-secondary-state-layer-opacity-focus","",J.opacity8),secondaryStateLayerOpacityActive:X.extend("--ft-button-secondary-state-layer-opacity-active","",J.opacity16),secondaryComponentOpacityDisabled:X.extend("--ft-button-secondary-component-opacity-disabled","",J.opacity40),secondaryBorderColor:X.extend("--ft-button-secondary-border-color","",tt.borderActionPrimary),neutralBackgroundColor:X.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:X.extend("--ft-button-neutral-icon-color","",tt.contentGlobalSecondary),neutralColor:X.extend("--ft-button-neutral-color","",tt.contentGlobalSecondary),neutralStateLayerColor:X.extend("--ft-button-neutral-state-layer-color","",tt.contentGlobalSecondary),neutralStateLayerOpacityHover:X.extend("--ft-button-neutral-state-layer-opacity-hover","",J.opacity8),neutralStateLayerOpacityFocus:X.extend("--ft-button-neutral-state-layer-opacity-focus","",J.opacity8),neutralStateLayerOpacityActive:X.extend("--ft-button-neutral-state-layer-opacity-active","",J.opacity16),neutralComponentOpacityDisabled:X.extend("--ft-button-neutral-component-opacity-disabled","",J.opacity40)};X.extend("--ft-tabs-top-left-border-radius","",J.borderRadiusS),X.extend("--ft-tabs-top-right-border-radius","",J.borderRadiusS),X.extend("--ft-tabs-label-horizontal-padding","",J.spacing4),X.extend("--ft-tabs-label-vertical-padding","",J.spacing3),X.extend("--ft-tabs-label-gap","",J.spacing1),X.extend("--ft-switch-group-horizontal-padding","",J.spacing1),X.extend("--ft-switch-group-vertical-padding","",J.spacing1),X.extend("--ft-switch-group-gap","",J.spacing1),X.extend("--ft-switch-group-background-color","",tt.backgroundGlobalSurface),X.extend("--ft-switch-group-border-color","",tt.borderGlobalSubtle),X.create("--ft-switch-group-border-radius","","SIZE","6px"),X.extend("--ft-switch-label-horizontal-padding","",J.spacing2),X.extend("--ft-switch-label-vertical-padding","",J.spacing1),X.extend("--ft-switch-icon-horizontal-padding","",J.spacing1),X.extend("--ft-switch-icon-vertical-padding","",J.spacing1),X.create("--ft-switch-focus-outline-width","","SIZE","2px"),X.extend("--ft-switch-focus-focus-ring-color","",tt.borderActionFocusRing),X.extend("--ft-switch-option-border-radius","",J.borderRadiusS),X.extend("--ft-switch-off-state-layer-opacity-hover","",J.opacity8),X.extend("--ft-switch-off-state-layer-opacity-focus","",J.opacity8),X.extend("--ft-switch-off-state-layer-opacity-active","",J.opacity16),X.extend("--ft-switch-off-component-opacity-disabled","",J.opacity40),X.extend("--ft-switch-off-color","",tt.contentGlobalSubtle),X.extend("--ft-switch-off-state-layer-color","",tt.contentGlobalSubtle),X.extend("--ft-chart-1-light","for area color charts",J.colorBrand40),X.extend("--ft-chart-1-base","for line charts",J.colorBrand0),X.extend("--ft-chart-2-light","for area color charts",J.colorYellow60),X.extend("--ft-chart-2-base","for line charts",J.colorYellow100),X.extend("--ft-chart-3-light","",J.colorUltramarine40),X.extend("--ft-chart-3-base","",J.colorUltramarine70),X.extend("--ft-chart-4-light","",J.colorCyan50),X.extend("--ft-chart-4-base","",J.colorCyan100),X.extend("--ft-chart-5-light","",J.colorRed40),X.extend("--ft-chart-5-base","",J.colorRed60),X.extend("--ft-chart-6-light","",J.colorGreen40),X.extend("--ft-chart-6-base","",J.colorGreen70),X.extend("--ft-chart-7-light","",J.colorOrange70),X.extend("--ft-chart-7-base","",J.colorOrange100),X.extend("--ft-chart-8-light","",J.colorAvocado70),X.extend("--ft-chart-8-base","",J.colorAvocado200),X.extend("--ft-chart-9-light","",J.colorBrown50),X.extend("--ft-chart-9-base","",J.colorBrown200),X.extend("--ft-chart-10-light","",J.colorGray50),X.extend("--ft-chart-10-base","",J.colorGray80),X.extend("--ft-chart-monochrome-10","",J.colorBrand10),X.extend("--ft-chart-monochrome-20","",J.colorBrand20),X.extend("--ft-chart-monochrome-30","",J.colorBrand40),X.extend("--ft-chart-monochrome-40","",J.colorBrand60),X.extend("--ft-chart-monochrome-50","",J.colorBrand0),X.extend("--ft-chart-monochrome-60","",J.colorBrand200),X.extend("--ft-chip-large-horizontal-padding","",J.spacing4),X.extend("--ft-chip-large-vertical-padding","",J.spacing2),X.extend("--ft-chip-large-gap","",J.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","",J.borderRadiusPill),X.create("--ft-chip-large-border-width","","SIZE","1px"),X.extend("--ft-chip-large-icon-size","",J.iconSize3),X.extend("--ft-chip-medium-horizontal-padding","",J.spacing3),X.extend("--ft-chip-medium-vertical-padding","",J.spacing1),X.extend("--ft-chip-medium-gap","",J.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","",J.borderRadiusPill),X.create("--ft-chip-medium-border-width","","SIZE","1px"),X.extend("--ft-chip-medium-icon-size","",J.iconSize2),X.extend("--ft-chip-small-horizontal-padding","",J.spacing2),X.extend("--ft-chip-small-vertical-padding","",J.spacing05),X.extend("--ft-chip-small-gap","",J.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","",J.borderRadiusPill),X.create("--ft-chip-small-border-width","","SIZE","1px"),X.extend("--ft-chip-small-icon-size","",J.iconSize1),X.extend("--ft-chip-neutral-background-color","",tt.backgroundGlobalOnSurface),X.extend("--ft-chip-neutral-color","",tt.contentGlobalPrimary),X.extend("--ft-chip-neutral-border-color","",tt.borderGlobalSubtle),X.extend("--ft-chip-info-background-color","",tt.backgroundInfoSubtle),X.extend("--ft-chip-info-color","",tt.contentInfoPrimary),X.extend("--ft-chip-info-border-color","",tt.borderInfoPrimary),X.extend("--ft-chip-success-background-color","",tt.backgroundSuccessSubtle),X.extend("--ft-chip-success-color","",tt.contentSuccessPrimary),X.extend("--ft-chip-success-border-color","",tt.borderSuccessPrimary),X.extend("--ft-chip-warning-background-color","",tt.backgroundWarningSubtle),X.extend("--ft-chip-warning-color","",tt.contentWarningPrimary),X.extend("--ft-chip-warning-border-color","",tt.borderWarningPrimary),X.extend("--ft-chip-error-background-color","",tt.backgroundErrorSubtle),X.extend("--ft-chip-error-color","",tt.contentErrorPrimary),X.extend("--ft-chip-error-border-color","",tt.borderErrorPrimary),X.create("--ft-notice-border-width","","SIZE","1px"),X.extend("--ft-notice-horizontal-padding","",J.spacing2),X.extend("--ft-notice-vertical-padding","",J.spacing1),X.extend("--ft-notice-border-radius","",J.borderRadiusS),X.extend("--ft-notice-gap","",J.spacing2),X.extend("--ft-notice-icon-size","",J.iconSize3),X.extend("--ft-notice-info-background-color","",tt.backgroundInfoSubtle),X.extend("--ft-notice-info-border-color","",tt.borderInfoPrimary),X.extend("--ft-notice-info-color","",tt.contentInfoPrimary),X.extend("--ft-notice-warning-background-color","",tt.backgroundWarningSubtle),X.extend("--ft-notice-warning-border-color","",tt.borderWarningPrimary),X.extend("--ft-notice-warning-color","",tt.contentWarningPrimary),X.extend("--ft-checkbox-label-color","",tt.contentGlobalPrimary),X.extend("--ft-checkbox-checked-background-color","",tt.contentActionPrimary),X.extend("--ft-checkbox-checked-state-layer-color","",tt.contentActionPrimary),X.extend("--ft-checkbox-checked-color","",tt.contentGlobalOnColor),X.extend("--ft-checkbox-checked-state-layer-opacity-hover","",J.opacity16),X.extend("--ft-checkbox-checked-state-layer-opacity-focus","",J.opacity16),X.extend("--ft-checkbox-checked-state-layer-opacity-active","",J.opacity24),X.extend("--ft-checkbox-checked-component-opacity-disabled","",J.opacity40),X.extend("--ft-checkbox-unchecked-border-color","",J.colorGray80),X.extend("--ft-checkbox-unchecked-state-layer-color","",J.colorGray80),X.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",J.opacity16),X.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",J.opacity16),X.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",J.opacity24),X.extend("--ft-checkbox-unchecked-component-opacity-disabled","",J.opacity40),X.extend("--ft-checkbox-focus-focus-ring-color","",tt.borderActionFocusRing),X.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),X.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),X.extend("--ft-checkbox-gap","",J.spacing3),X.extend("--ft-toggle-off-state-layer-opacity-hover","",J.opacity16),X.extend("--ft-toggle-off-state-layer-opacity-focus","",J.opacity16),X.extend("--ft-toggle-off-state-layer-opacity-active","",J.opacity24),X.extend("--ft-toggle-off-component-opacity-disabled","",J.opacity40),X.extend("--ft-toggle-off-background-color","",tt.contentGlobalSubtle),X.extend("--ft-toggle-off-icon-color","",tt.contentGlobalSubtle),X.extend("--ft-toggle-off-state-layer-color","",tt.contentGlobalSubtle),X.extend("--ft-toggle-on-state-layer-opacity-hover","",J.opacity16),X.extend("--ft-toggle-on-state-layer-opacity-focus","",J.opacity16),X.extend("--ft-toggle-on-state-layer-opacity-active","",J.opacity24),X.extend("--ft-toggle-on-component-opacity-disabled","",J.opacity40),X.extend("--ft-toggle-on-background-color","",tt.contentActionPrimary),X.extend("--ft-toggle-on-icon-color","",tt.contentActionPrimary),X.extend("--ft-toggle-on-state-layer-color","",tt.contentActionPrimary),X.extend("--ft-toggle-label-color","",tt.contentGlobalPrimary),X.extend("--ft-toggle-focus-focus-ring-color","",tt.borderActionFocusRing),X.extend("--ft-toggle-gap","",J.spacing3),X.extend("--ft-radio-label-color","",tt.contentGlobalPrimary),X.extend("--ft-radio-selected-color","",tt.contentActionPrimary),X.extend("--ft-radio-selected-state-layer-color","",tt.contentActionPrimary),X.extend("--ft-radio-selected-state-layer-opacity-hover","",J.opacity16),X.extend("--ft-radio-selected-state-layer-opacity-focus","",J.opacity16),X.extend("--ft-radio-selected-state-layer-opacity-active","",J.opacity24),X.extend("--ft-radio-selected-component-opacity-disabled","",J.opacity40),X.extend("--ft-radio-unselected-state-layer-color","",J.colorGray80),X.extend("--ft-radio-unselected-state-layer-opacity-hover","",J.opacity16),X.extend("--ft-radio-unselected-state-layer-opacity-focus","",J.opacity16),X.extend("--ft-radio-unselected-state-layer-opacity-active","",J.opacity24),X.extend("--ft-radio-unselected-component-opacity-disabled","",J.opacity40),X.extend("--ft-radio-focus-focus-ring-color","",tt.borderActionFocusRing),X.create("--ft-radio-focus-outline-offset","","SIZE","3px"),X.create("--ft-radio-focus-outline-width","","SIZE","2px"),X.extend("--ft-radio-gap","",J.spacing3),X.extend("--ft-notification-icon-size","",J.iconSize4),X.extend("--ft-notification-horizontal-padding","",J.spacing4),X.extend("--ft-notification-vertical-padding","",J.spacing4),X.extend("--ft-notification-info-background-color","",tt.backgroundInfoSubtle),X.extend("--ft-notification-info-color","",tt.contentInfoPrimary),X.extend("--ft-notification-info-border-color","",tt.borderInfoPrimary),X.extend("--ft-notification-success-background-color","",tt.backgroundSuccessSubtle),X.extend("--ft-notification-success-color","",tt.contentSuccessPrimary),X.extend("--ft-notification-success-border-color","",tt.borderSuccessPrimary),X.extend("--ft-notification-warning-background-color","",tt.backgroundWarningSubtle),X.extend("--ft-notification-warning-color","",tt.contentWarningPrimary),X.extend("--ft-notification-warning-border-color","",tt.borderWarningPrimary),X.extend("--ft-notification-error-background-color","",tt.backgroundErrorSubtle),X.extend("--ft-notification-error-color","",tt.contentErrorPrimary),X.extend("--ft-notification-error-border-color","",tt.borderErrorPrimary),X.extend("--ft-notification-border-radius","",J.borderRadiusPill),X.create("--ft-notification-border-width","","SIZE","1px"),X.extend("--ft-notification-gap-leading","",J.spacing2),X.extend("--ft-notification-gap-trailing","",J.spacing8);const et=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),it=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),rt={fontFamily:it,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")},at=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",et),nt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",rt.fontSize,"20px"),lt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",rt.fontWeight,"normal"),st=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",rt.letterSpacing,"0.15px"),ct=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",rt.lineHeight,"1.2"),pt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",rt.textTransform,"inherit"),ft=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",et),dt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",rt.fontSize,"14px"),ht=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",rt.fontWeight,"normal"),gt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",rt.letterSpacing,"0.105px"),yt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",rt.lineHeight,"1.7"),ut=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",rt.textTransform,"inherit"),bt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",it),mt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",rt.fontSize,"16px"),xt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",rt.fontWeight,"600"),vt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",rt.letterSpacing,"0.144px"),Ot=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",rt.lineHeight,"1.5"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",rt.textTransform,"inherit"),Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",it),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",rt.fontSize,"14px"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",rt.fontWeight,"normal"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",rt.letterSpacing,"0.098px"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",rt.lineHeight,"1.7"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",rt.textTransform,"inherit"),Et={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",it),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",rt.fontSize,"16px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",rt.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",rt.letterSpacing,"0.496px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",rt.lineHeight,"1.5"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",rt.textTransform,"inherit")},Rt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",it),Ut=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",rt.fontSize,"14px"),Wt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",rt.fontWeight,"normal"),Lt=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",rt.letterSpacing,"0.252px"),zt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",rt.lineHeight,"1.4"),Zt=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",rt.textTransform,"inherit"),Kt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",it),fontSize:o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",rt.fontSize,"12px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",rt.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",rt.letterSpacing,"0.396px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",rt.lineHeight,"1.33"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",rt.textTransform,"inherit")},Dt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",it),Bt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",rt.fontSize,"10px"),Ft=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",rt.fontWeight,"normal"),At=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",rt.letterSpacing,"0.33px"),Ht=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",rt.lineHeight,"1.6"),Gt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",rt.textTransform,"inherit"),jt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",it),Pt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",rt.fontSize,"10px"),Mt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",rt.fontWeight,"normal"),Tt=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",rt.letterSpacing,"1.5px"),_t=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",rt.lineHeight,"1.6"),Vt=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",rt.textTransform,"uppercase"),Yt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",it),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",rt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",rt.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",rt.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",rt.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",rt.textTransform,"uppercase")},qt=e.css`
14
14
  .ft-typography--title {
15
- font-family: ${Q};
16
- font-size: ${tt};
17
- font-weight: ${et};
18
- letter-spacing: ${it};
19
- line-height: ${ot};
20
- text-transform: ${st};
21
- }
22
- `,Wt=i.css`
15
+ font-family: ${at};
16
+ font-size: ${nt};
17
+ font-weight: ${lt};
18
+ letter-spacing: ${st};
19
+ line-height: ${ct};
20
+ text-transform: ${pt};
21
+ }
22
+ `,Xt=e.css`
23
23
  .ft-typography--title-dense {
24
- font-family: ${nt};
25
- font-size: ${lt};
26
- font-weight: ${rt};
27
- letter-spacing: ${at};
28
- line-height: ${pt};
29
- text-transform: ${ft};
30
- }
31
- `,Kt=i.css`
24
+ font-family: ${ft};
25
+ font-size: ${dt};
26
+ font-weight: ${ht};
27
+ letter-spacing: ${gt};
28
+ line-height: ${yt};
29
+ text-transform: ${ut};
30
+ }
31
+ `,Jt=e.css`
32
32
  .ft-typography--subtitle1 {
33
- font-family: ${dt};
34
- font-size: ${ht};
35
- font-weight: ${ct};
36
- letter-spacing: ${ut};
37
- line-height: ${xt};
38
- text-transform: ${gt};
39
- }
40
- `,Lt=i.css`
41
- .ft-typography--subtitle2 {
42
33
  font-family: ${bt};
43
- font-size: ${vt};
44
- font-weight: ${yt};
45
- letter-spacing: ${$t};
46
- line-height: ${mt};
47
- text-transform: ${wt};
34
+ font-size: ${mt};
35
+ font-weight: ${xt};
36
+ letter-spacing: ${vt};
37
+ line-height: ${Ot};
38
+ text-transform: ${$t};
39
+ }
40
+ `,Qt=e.css`
41
+ .ft-typography--subtitle2 {
42
+ font-family: ${Nt};
43
+ font-size: ${St};
44
+ font-weight: ${wt};
45
+ letter-spacing: ${Ct};
46
+ line-height: ${It};
47
+ text-transform: ${kt};
48
48
  }
49
49
 
50
- `,Gt=i.css`
50
+ `,to=e.css`
51
51
  .ft-typography--body1 {
52
- font-family: ${kt.fontFamily};
53
- font-size: ${kt.fontSize};
54
- font-weight: ${kt.fontWeight};
55
- letter-spacing: ${kt.letterSpacing};
56
- line-height: ${kt.lineHeight};
57
- text-transform: ${kt.textTransform};
58
- }
59
- `,qt=i.css`
52
+ font-family: ${Et.fontFamily};
53
+ font-size: ${Et.fontSize};
54
+ font-weight: ${Et.fontWeight};
55
+ letter-spacing: ${Et.letterSpacing};
56
+ line-height: ${Et.lineHeight};
57
+ text-transform: ${Et.textTransform};
58
+ }
59
+ `,oo=e.css`
60
60
  .ft-typography--body2 {
61
- font-family: ${St};
62
- font-size: ${zt};
63
- font-weight: ${Ot};
64
- letter-spacing: ${Et};
65
- line-height: ${Ct};
66
- text-transform: ${It};
67
- }
68
- `,Xt=i.css`
61
+ font-family: ${Rt};
62
+ font-size: ${Ut};
63
+ font-weight: ${Wt};
64
+ letter-spacing: ${Lt};
65
+ line-height: ${zt};
66
+ text-transform: ${Zt};
67
+ }
68
+ `,eo=e.css`
69
69
  .ft-typography--caption {
70
- font-family: ${Bt.fontFamily};
71
- font-size: ${Bt.fontSize};
72
- font-weight: ${Bt.fontWeight};
73
- letter-spacing: ${Bt.letterSpacing};
74
- line-height: ${Bt.lineHeight};
75
- text-transform: ${Bt.textTransform};
76
- }
77
- `,Yt=i.css`
70
+ font-family: ${Kt.fontFamily};
71
+ font-size: ${Kt.fontSize};
72
+ font-weight: ${Kt.fontWeight};
73
+ letter-spacing: ${Kt.letterSpacing};
74
+ line-height: ${Kt.lineHeight};
75
+ text-transform: ${Kt.textTransform};
76
+ }
77
+ `,io=e.css`
78
78
  .ft-typography--breadcrumb {
79
79
  font-family: ${Dt};
80
- font-size: ${jt};
81
- font-weight: ${Nt};
82
- letter-spacing: ${Zt};
83
- line-height: ${Ft};
84
- text-transform: ${At};
80
+ font-size: ${Bt};
81
+ font-weight: ${Ft};
82
+ letter-spacing: ${At};
83
+ line-height: ${Ht};
84
+ text-transform: ${Gt};
85
85
  }
86
- `,Jt=i.css`
86
+ `,ro=e.css`
87
87
  .ft-typography--overline {
88
- font-family: ${Mt};
89
- font-size: ${Tt};
90
- font-weight: ${Rt};
91
- letter-spacing: ${_t};
92
- line-height: ${Ut};
93
- text-transform: ${Pt};
94
- }
95
- `,Qt=i.css`
88
+ font-family: ${jt};
89
+ font-size: ${Pt};
90
+ font-weight: ${Mt};
91
+ letter-spacing: ${Tt};
92
+ line-height: ${_t};
93
+ text-transform: ${Vt};
94
+ }
95
+ `,ao=e.css`
96
96
  .ft-typography--button {
97
- font-family: ${Ht.fontFamily};
98
- font-size: ${Ht.fontSize};
99
- font-weight: ${Ht.fontWeight};
100
- letter-spacing: ${Ht.letterSpacing};
101
- line-height: ${Ht.lineHeight};
102
- text-transform: ${Ht.textTransform};
103
- }
104
- `,te=i.css`
97
+ font-family: ${Yt.fontFamily};
98
+ font-size: ${Yt.fontSize};
99
+ font-weight: ${Yt.fontWeight};
100
+ letter-spacing: ${Yt.letterSpacing};
101
+ line-height: ${Yt.lineHeight};
102
+ text-transform: ${Yt.textTransform};
103
+ }
104
+ `,no=e.css`
105
105
  .ft-typography {
106
106
  vertical-align: inherit;
107
107
  }
108
- `;var ee=function(t,e,i,o){for(var s,n=arguments.length,l=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(l=(n<3?s(l):n>3?s(e,i,l):s(e,i))||l);return n>3&&l&&Object.defineProperty(e,i,l),l};class ie extends e.FtLitElement{constructor(){super(...arguments),this.variant=q.body1}render(){return this.element?G`
109
- <${K(this.element)}
110
- class="ft-typography ft-typography--${this.variant}">
108
+ `,lo=[Object.keys(Q).map((t=>function(t){const o=Q[t];return e.css`
109
+ font-family: ${o.fontFamily};
110
+ font-size: ${o.fontSize};
111
+ font-weight: ${o.fontWeight};
112
+ letter-spacing: ${o.letterSpacing};
113
+ line-height: ${o.lineHeight};
114
+ text-transform: ${o.textCase};
115
+ `}(t)))];var so=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class co extends o.FtLitElement{constructor(){super(...arguments),this.variant=Y.body1}render(){return this.element?V`
116
+ <${T(this.element)}
117
+ class="ft-typography ft-typography--${this.variant}">
111
118
  <slot></slot>
112
- </${K(this.element)}>
113
- `:G`
119
+ </${T(this.element)}>
120
+ `:V`
114
121
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
115
- `}}ie.styles=[Vt,Wt,Kt,Lt,Gt,qt,Xt,Yt,Jt,Qt,te],ee([o.property()],ie.prototype,"element",void 0),ee([o.property()],ie.prototype,"variant",void 0),e.customElement("ft-typography")(ie);const oe={fontSize:e.FtCssVariableFactory.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:e.FtCssVariableFactory.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:e.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:e.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:e.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","SIZE","12px"),labelMaxWidth:e.FtCssVariableFactory.create("--ft-input-label-max-width","SIZE","100%"),borderColor:e.FtCssVariableFactory.extend("--ft-input-label-border-color",e.designSystemVariables.colorOutline),textColor:e.FtCssVariableFactory.extend("--ft-input-label-text-color",e.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:e.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color",e.designSystemVariables.colorOnSurfaceDisabled),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariableFactory.external(e.designSystemVariables.colorError,"Design system")},se=i.css`
122
+ `}}co.styles=[qt,Xt,Jt,Qt,to,oo,eo,io,ro,ao,no,...lo],so([i.property()],co.prototype,"element",void 0),so([i.property()],co.prototype,"variant",void 0),o.customElement("ft-typography")(co);const po={fontSize:o.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:o.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:o.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:o.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:o.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:o.FtCssVariableFactory.extend("--ft-input-label-border-color","",o.designSystemVariables.colorOutline),textColor:o.FtCssVariableFactory.extend("--ft-input-label-text-color","",o.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:o.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",o.designSystemVariables.colorOnSurfaceDisabled),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),borderRadiusS:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),colorError:o.FtCssVariableFactory.external(o.designSystemVariables.colorError,"Design system")},fo=e.css`
116
123
  .ft-input-label {
117
124
  position: absolute;
118
125
  inset: 0;
119
126
  display: flex;
120
- background-color: ${oe.colorSurface};
121
- border-radius: ${oe.borderRadiusS} ${oe.borderRadiusS} 0 0;
127
+ background-color: ${po.colorSurface};
128
+ border-radius: ${po.borderRadiusS} ${po.borderRadiusS} 0 0;
122
129
  }
123
130
 
124
131
  .ft-input-label--outlined {
125
- border-radius: ${oe.borderRadiusS};
132
+ border-radius: ${po.borderRadiusS};
126
133
  }
127
134
 
128
135
  .ft-input-label {
129
- border-color: ${oe.borderColor};
136
+ border-color: ${po.borderColor};
130
137
  }
131
138
 
132
139
  .ft-input-label.ft-input-label--in-error {
133
- border-color: ${oe.colorError}
140
+ border-color: ${po.colorError}
134
141
  }
135
142
 
136
143
  .ft-input-label:before,
@@ -143,7 +150,7 @@ const V=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
143
150
  }
144
151
 
145
152
  .ft-input-label:before {
146
- width: calc(${oe.horizontalSpacing} - 4px);
153
+ width: calc(${po.horizontalSpacing} - 4px);
147
154
  flex-shrink: 0;
148
155
  }
149
156
 
@@ -159,20 +166,20 @@ const V=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
159
166
  border-bottom-width: 1px;
160
167
  border-bottom-style: solid;
161
168
  border-color: inherit;
162
- color: ${oe.textColor};
169
+ color: ${po.textColor};
163
170
  transition: font-size 250ms, line-height 250ms, color 250ms;
164
- max-width: calc(${oe.labelMaxWidth} - 2 * (${oe.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
171
+ max-width: calc(${po.labelMaxWidth} - 2 * (${po.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
165
172
  text-overflow: ellipsis;
166
- ${e.setVariable(Bt.fontSize,oe.fontSize)};
167
- ${e.setVariable(Bt.lineHeight,oe.fontSize)};
173
+ ${o.setVariable(Kt.fontSize,po.fontSize)};
174
+ ${o.setVariable(Kt.lineHeight,po.fontSize)};
168
175
  }
169
176
 
170
177
  .ft-input-label--in-error .ft-input-label--text {
171
- color: ${oe.colorError}
178
+ color: ${po.colorError}
172
179
  }
173
180
 
174
181
  .ft-input-label--disabled .ft-input-label--text {
175
- color: ${oe.disabledTextColor};
182
+ color: ${po.disabledTextColor};
176
183
  }
177
184
 
178
185
  .ft-input-label--hidden-text {
@@ -189,19 +196,19 @@ const V=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
189
196
  overflow: hidden;
190
197
  white-space: nowrap;
191
198
  text-overflow: ellipsis;
192
- padding: ${oe.verticalSpacing} 4px;
193
- margin: calc(${oe.verticalSpacing} * -1) 0;
199
+ padding: ${po.verticalSpacing} 4px;
200
+ margin: calc(${po.verticalSpacing} * -1) 0;
194
201
  max-width: 100%;
195
202
  box-sizing: border-box;
196
203
  }
197
204
 
198
205
  .ft-input-label--raised .ft-input-label--text {
199
- ${e.setVariable(Bt.fontSize,oe.raisedFontSize)};
200
- ${e.setVariable(Bt.lineHeight,oe.raisedFontSize)};
206
+ ${o.setVariable(Kt.fontSize,po.raisedFontSize)};
207
+ ${o.setVariable(Kt.lineHeight,po.raisedFontSize)};
201
208
  }
202
209
 
203
210
  .ft-input-label--raised .ft-input-label--floating-text {
204
- top: ${oe.verticalSpacing};
211
+ top: ${po.verticalSpacing};
205
212
  }
206
213
 
207
214
  .ft-input-label--outlined .ft-input-label--text,
@@ -214,36 +221,36 @@ const V=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
214
221
  .ft-input-label--outlined:before {
215
222
  border-left-width: 1px;
216
223
  border-left-style: solid;
217
- border-radius: ${oe.borderRadiusS} 0 0 ${oe.borderRadiusS};
224
+ border-radius: ${po.borderRadiusS} 0 0 ${po.borderRadiusS};
218
225
  }
219
226
 
220
227
  .ft-input-label--outlined:after {
221
228
  border-right-width: 1px;
222
229
  border-right-style: solid;
223
- border-radius: 0 ${oe.borderRadiusS} ${oe.borderRadiusS} 0;
230
+ border-radius: 0 ${po.borderRadiusS} ${po.borderRadiusS} 0;
224
231
  }
225
232
 
226
233
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
227
234
  padding: 2px 4px;
228
- z-index: ${oe.raisedZIndex};
229
- background-color: ${oe.colorSurface};
230
- border-radius: ${oe.borderRadiusS};
235
+ z-index: ${po.raisedZIndex};
236
+ background-color: ${po.colorSurface};
237
+ border-radius: ${po.borderRadiusS};
231
238
  top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
232
239
  }
233
240
 
234
241
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
235
242
  border-top: none;
236
243
  }
237
- `;var ne=function(t,e,i,o){for(var s,n=arguments.length,l=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(l=(n<3?s(l):n>3?s(e,i,l):s(e,i))||l);return n>3&&l&&Object.defineProperty(e,i,l),l};class le extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return i.html`
238
- <div class="${l.classMap(t)}">
239
- ${this.text?i.html`
244
+ `;var ho=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class go extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return e.html`
245
+ <div class="${n.classMap(t)}">
246
+ ${this.text?e.html`
240
247
  <div class="ft-input-label--text ft-typography--caption">
241
248
  <span class="ft-input-label--floating-text">${this.text}</span>
242
249
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
243
250
  </div>
244
251
  `:null}
245
252
  </div>
246
- `}}le.elementDefinitions={},le.styles=[Xt,se],ne([o.property({type:String})],le.prototype,"text",void 0),ne([o.property({type:Boolean})],le.prototype,"raised",void 0),ne([o.property({type:Boolean})],le.prototype,"outlined",void 0),ne([o.property({type:Boolean})],le.prototype,"disabled",void 0),ne([o.property({type:Boolean})],le.prototype,"error",void 0),e.customElement("ft-input-label")(le);const re=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorContent),ae={color:re,backgroundColor:e.FtCssVariableFactory.extend("--ft-ripple-background-color",re),opacityContentOnSurfacePressed:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:e.FtCssVariableFactory.create("--ft-ripple-border-radius","SIZE","0px")},pe=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),fe=pe,de=e.FtCssVariableFactory.extend("--ft-ripple-background-color",pe),he=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),ce=he,ue=e.FtCssVariableFactory.extend("--ft-ripple-background-color",he),xe=i.css`
253
+ `}}go.elementDefinitions={},go.styles=[eo,fo],ho([i.property({type:String})],go.prototype,"text",void 0),ho([i.property({type:Boolean})],go.prototype,"raised",void 0),ho([i.property({type:Boolean})],go.prototype,"outlined",void 0),ho([i.property({type:Boolean})],go.prototype,"disabled",void 0),ho([i.property({type:Boolean})],go.prototype,"error",void 0),o.customElement("ft-input-label")(go);const yo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),uo={color:yo,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",yo),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")},bo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),mo=bo,xo=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",bo),vo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),Oo=vo,$o=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",vo),No=e.css`
247
254
  :host {
248
255
  display: contents;
249
256
  }
@@ -256,7 +263,7 @@ const V=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
256
263
 
257
264
  .ft-ripple:not(.ft-ripple--unbounded) {
258
265
  overflow: hidden;
259
- border-radius: ${ae.borderRadius};
266
+ border-radius: ${uo.borderRadius};
260
267
  }
261
268
 
262
269
  .ft-ripple .ft-ripple--background,
@@ -290,27 +297,27 @@ const V=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
290
297
  }
291
298
 
292
299
  .ft-ripple .ft-ripple--background {
293
- background-color: ${ae.backgroundColor};
300
+ background-color: ${uo.backgroundColor};
294
301
  }
295
302
 
296
303
  .ft-ripple .ft-ripple--effect {
297
- background-color: ${ae.color};
304
+ background-color: ${uo.color};
298
305
  }
299
306
 
300
307
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
301
- background-color: ${ue};
308
+ background-color: ${$o};
302
309
  }
303
310
 
304
311
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
305
- background-color: ${ce};
312
+ background-color: ${Oo};
306
313
  }
307
314
 
308
315
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
309
- background-color: ${de};
316
+ background-color: ${xo};
310
317
  }
311
318
 
312
319
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
313
- background-color: ${fe};
320
+ background-color: ${mo};
314
321
  }
315
322
 
316
323
  .ft-ripple .ft-ripple--background {
@@ -340,33 +347,33 @@ const V=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
340
347
  }
341
348
 
342
349
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
343
- opacity: ${ae.opacityContentOnSurfaceHover};
350
+ opacity: ${uo.opacityContentOnSurfaceHover};
344
351
  }
345
352
 
346
353
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
347
- opacity: ${ae.opacityContentOnSurfaceSelected};
354
+ opacity: ${uo.opacityContentOnSurfaceSelected};
348
355
  }
349
356
 
350
357
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
351
- opacity: ${ae.opacityContentOnSurfaceFocused};
358
+ opacity: ${uo.opacityContentOnSurfaceFocused};
352
359
  }
353
360
 
354
361
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
355
- opacity: ${ae.opacityContentOnSurfacePressed};
362
+ opacity: ${uo.opacityContentOnSurfacePressed};
356
363
  transform: translate(-50%, -50%) scale(1);
357
364
  }
358
- `;var ge,be,ve=function(t,e,i,o){for(var s,n=arguments.length,l=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(l=(n<3?s(l):n>3?s(e,i,l):s(e,i))||l);return n>3&&l&&Object.defineProperty(e,i,l),l};class ye extends e.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 e.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 e.Debouncer(10),this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),n=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-n.x:n.width/2),this.originY=Math.round(null!=s?s-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 i.html`
365
+ `;var So,wo,Co=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Io 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),a=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-a.x:a.width/2),this.originY=Math.round(null!=r?r-a.y:a.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`
359
366
  <style>
360
367
  .ft-ripple .ft-ripple--effect {
361
368
  left: ${this.originX}px;
362
369
  top: ${this.originY}px;
363
370
  }
364
371
  </style>
365
- <div class="${l.classMap(t)}">
372
+ <div class="${n.classMap(t)}">
366
373
  <div class="ft-ripple--background"></div>
367
374
  <div class="ft-ripple--effect"></div>
368
375
  </div>
369
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,i;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:i)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}ye.elementDefinitions={},ye.styles=xe,ve([o.property({type:Boolean})],ye.prototype,"primary",void 0),ve([o.property({type:Boolean})],ye.prototype,"secondary",void 0),ve([o.property({type:Boolean})],ye.prototype,"unbounded",void 0),ve([o.property({type:Boolean})],ye.prototype,"activated",void 0),ve([o.property({type:Boolean})],ye.prototype,"selected",void 0),ve([o.property({type:Boolean})],ye.prototype,"disabled",void 0),ve([o.state()],ye.prototype,"hovered",void 0),ve([o.state()],ye.prototype,"focused",void 0),ve([o.state()],ye.prototype,"pressed",void 0),ve([o.state()],ye.prototype,"rippling",void 0),ve([o.state()],ye.prototype,"originX",void 0),ve([o.state()],ye.prototype,"originY",void 0),ve([o.query(".ft-ripple")],ye.prototype,"ripple",void 0),ve([o.query(".ft-ripple--effect")],ye.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(ye),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(ge||(ge={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(be||(be={})),new Map([...["abw"].map((t=>[t,be.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,be.AUDIO])),...["avi"].map((t=>[t,be.AVI])),...["chm","xhs"].map((t=>[t,be.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,be.CODE])),...["csv"].map((t=>[t,be.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,be.DITA])),...["epub"].map((t=>[t,be.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,be.EXCEL])),...["flac"].map((t=>[t,be.FLAC])),...["gif"].map((t=>[t,be.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,be.GZIP])),...["html","htm","xhtml"].map((t=>[t,be.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,be.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,be.JPEG])),...["json"].map((t=>[t,be.JSON])),...["m4a","m4p"].map((t=>[t,be.M4A])),...["mov","qt"].map((t=>[t,be.MOV])),...["mp3"].map((t=>[t,be.MP3])),...["mp4","m4v"].map((t=>[t,be.MP4])),...["ogg","oga"].map((t=>[t,be.OGG])),...["pdf","ps"].map((t=>[t,be.PDF])),...["png"].map((t=>[t,be.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,be.POWERPOINT])),...["rar"].map((t=>[t,be.RAR])),...["stp"].map((t=>[t,be.STP])),...["txt","rtf","md","mdown"].map((t=>[t,be.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,be.VIDEO])),...["wav"].map((t=>[t,be.WAV])),...["wma"].map((t=>[t,be.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,be.WORD])),...["xml","xsl","rdf"].map((t=>[t,be.XML])),...["yaml","yml","x-yaml"].map((t=>[t,be.YAML])),...["zip"].map((t=>[t,be.ZIP]))]);const $e={size:e.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:e.FtCssVariableFactory.extend("--ft-icon-material-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:e.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset")},me=i.css`
376
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Io.elementDefinitions={},Io.styles=No,Co([i.property({type:Boolean})],Io.prototype,"primary",void 0),Co([i.property({type:Boolean})],Io.prototype,"secondary",void 0),Co([i.property({type:Boolean})],Io.prototype,"unbounded",void 0),Co([i.property({type:Boolean})],Io.prototype,"activated",void 0),Co([i.property({type:Boolean})],Io.prototype,"selected",void 0),Co([i.property({type:Boolean})],Io.prototype,"disabled",void 0),Co([i.state()],Io.prototype,"hovered",void 0),Co([i.state()],Io.prototype,"focused",void 0),Co([i.state()],Io.prototype,"pressed",void 0),Co([i.state()],Io.prototype,"rippling",void 0),Co([i.state()],Io.prototype,"originX",void 0),Co([i.state()],Io.prototype,"originY",void 0),Co([i.query(".ft-ripple")],Io.prototype,"ripple",void 0),Co([i.query(".ft-ripple--effect")],Io.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Io),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(So||(So={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(wo||(wo={})),new Map([...["abw"].map((t=>[t,wo.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,wo.AUDIO])),...["avi"].map((t=>[t,wo.AVI])),...["chm","xhs"].map((t=>[t,wo.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,wo.CODE])),...["csv"].map((t=>[t,wo.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,wo.DITA])),...["epub"].map((t=>[t,wo.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,wo.EXCEL])),...["flac"].map((t=>[t,wo.FLAC])),...["gif"].map((t=>[t,wo.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,wo.GZIP])),...["html","htm","xhtml"].map((t=>[t,wo.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,wo.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,wo.JPEG])),...["json"].map((t=>[t,wo.JSON])),...["m4a","m4p"].map((t=>[t,wo.M4A])),...["mov","qt"].map((t=>[t,wo.MOV])),...["mp3"].map((t=>[t,wo.MP3])),...["mp4","m4v"].map((t=>[t,wo.MP4])),...["ogg","oga"].map((t=>[t,wo.OGG])),...["pdf","ps"].map((t=>[t,wo.PDF])),...["png"].map((t=>[t,wo.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,wo.POWERPOINT])),...["rar"].map((t=>[t,wo.RAR])),...["stp"].map((t=>[t,wo.STP])),...["txt","rtf","md","mdown"].map((t=>[t,wo.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,wo.VIDEO])),...["wav"].map((t=>[t,wo.WAV])),...["wma"].map((t=>[t,wo.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,wo.WORD])),...["xml","xsl","rdf"].map((t=>[t,wo.XML])),...["yaml","yml","x-yaml"].map((t=>[t,wo.YAML])),...["zip"].map((t=>[t,wo.ZIP]))]);const ko={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Eo=e.css`
370
377
  :host, i.ft-icon {
371
378
  display: inline-flex;
372
379
  align-items: center;
@@ -375,14 +382,14 @@ const V=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
375
382
  }
376
383
 
377
384
  :host {
378
- width: ${$e.size};
379
- height: ${$e.size};
385
+ width: ${ko.size};
386
+ height: ${ko.size};
380
387
  }
381
388
 
382
389
  i.ft-icon {
383
390
  width: 100%;
384
391
  height: 100%;
385
- font-size: ${$e.size};
392
+ font-size: ${ko.size};
386
393
  line-height: 1;
387
394
  font-weight: normal;
388
395
  text-transform: none;
@@ -393,33 +400,33 @@ const V=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
393
400
  text-rendering: auto;
394
401
  -webkit-font-smoothing: antialiased;
395
402
  -moz-osx-font-smoothing: grayscale;
396
- vertical-align: ${$e.verticalAlign};
403
+ vertical-align: ${ko.verticalAlign};
397
404
  }
398
405
 
399
406
  i.ft-icon.ft-icon--fluid-topics {
400
- font-family: ${$e.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
407
+ font-family: ${ko.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
401
408
 
402
409
  /* Ugly fix because font is broken */
403
- font-size: calc(0.75 * ${$e.size});
404
- line-height: ${$e.size};
410
+ font-size: calc(0.75 * ${ko.size});
411
+ line-height: ${ko.size};
405
412
  position: relative;
406
413
  top: -4%;
407
414
  justify-content: center;
408
415
  }
409
416
 
410
417
  .ft-icon--file-format {
411
- font-family: ${$e.fileFormatFontFamily}, ft-mime, sans-serif;
418
+ font-family: ${ko.fileFormatFontFamily}, ft-mime, sans-serif;
412
419
  }
413
420
 
414
421
  .ft-icon--material {
415
- font-family: ${$e.materialFontFamily}, "Material Icons", sans-serif;
422
+ font-family: ${ko.materialFontFamily}, "Material Icons", sans-serif;
416
423
  }
417
- `;var we;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(we||(we={}));var ke=function(t,e,i,o){for(var s,n=arguments.length,l=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(l=(n<3?s(l):n>3?s(e,i,l):s(e,i))||l);return n>3&&l&&Object.defineProperty(e,i,l),l};class Se extends e.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=i.nothing}render(){const t=this.variant&&Object.values(we).includes(this.variant)?this.variant:we.fluid_topics,e=t!==we.material||!!this.value;return i.html`
424
+ `;var Ro;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ro||(Ro={}));var Uo=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Wo extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Ro).includes(this.variant)?this.variant:Ro.fluid_topics,o=t!==Ro.material||!!this.value;return e.html`
418
425
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
419
- ${n.unsafeHTML(this.resolvedIcon)}
420
- <slot ?hidden=${e}></slot>
426
+ ${a.unsafeHTML(this.resolvedIcon)}
427
+ <slot ?hidden=${o}></slot>
421
428
  </i>
422
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case we.file_format:this.resolvedIcon=null!==(t=be[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case we.material:this.resolvedIcon=this.value||i.nothing;break;default:this.resolvedIcon=null!==(e=ge[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Se.elementDefinitions={},Se.styles=me,ke([o.property()],Se.prototype,"variant",void 0),ke([o.property()],Se.prototype,"value",void 0),ke([o.state()],Se.prototype,"resolvedIcon",void 0),ke([o.query("slot")],Se.prototype,"slottedContent",void 0),e.customElement("ft-icon")(Se);const ze={labelSize:e.FtCssVariableFactory.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:e.FtCssVariableFactory.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:e.FtCssVariableFactory.create("--ft-select-vertical-spacing","SIZE","4px"),horizontalSpacing:e.FtCssVariableFactory.create("--ft-select-horizontal-spacing","SIZE","16px"),optionsHeight:e.FtCssVariableFactory.create("--ft-select-options-height","SIZE","unset"),selectedOptionColor:e.FtCssVariableFactory.extend("--ft-select-selected-option-color",e.designSystemVariables.colorOnSurface),helperColor:e.FtCssVariableFactory.extend("--ft-select-helper-color",e.designSystemVariables.colorOnSurfaceMedium),optionsColor:e.FtCssVariableFactory.extend("--ft-select-options-color",e.designSystemVariables.colorOnSurface),optionsZIndex:e.FtCssVariableFactory.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),colorOnSurfaceDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),elevation02:e.FtCssVariableFactory.external(e.designSystemVariables.elevation02,"Design system"),colorError:e.FtCssVariableFactory.external(e.designSystemVariables.colorError,"Design system")},Oe=i.css`
429
+ `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let i=this.value||this.textContent;switch(this.variant){case Ro.file_format:this.resolvedIcon=null!==(t=wo[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Ro.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=So[i.replace("-","_").toUpperCase()])&&void 0!==o?o:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Wo.elementDefinitions={},Wo.styles=Eo,Uo([i.property()],Wo.prototype,"variant",void 0),Uo([i.property()],Wo.prototype,"value",void 0),Uo([i.state()],Wo.prototype,"resolvedIcon",void 0),Uo([i.query("slot")],Wo.prototype,"slottedContent",void 0),o.customElement("ft-icon")(Wo);const Lo={labelSize:o.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:o.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:o.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:o.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","unset"),selectedOptionColor:o.FtCssVariableFactory.extend("--ft-select-selected-option-color","",o.designSystemVariables.colorOnSurface),helperColor:o.FtCssVariableFactory.extend("--ft-select-helper-color","",o.designSystemVariables.colorOnSurfaceMedium),optionsColor:o.FtCssVariableFactory.extend("--ft-select-options-color","",o.designSystemVariables.colorOnSurface),optionsZIndex:o.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),colorOnSurfaceDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),elevation02:o.FtCssVariableFactory.external(o.designSystemVariables.elevation02,"Design system"),colorError:o.FtCssVariableFactory.external(o.designSystemVariables.colorError,"Design system")},zo=e.css`
423
430
  *:focus {
424
431
  outline: none;
425
432
  }
@@ -433,7 +440,7 @@ const V=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
433
440
  .ft-select--main-panel {
434
441
  position: relative;
435
442
  display: flex;
436
- height: calc(4 * ${ze.verticalSpacing} + ${ze.labelSize} + ${ze.selectedOptionSize});
443
+ height: calc(4 * ${Lo.verticalSpacing} + ${Lo.labelSize} + ${Lo.selectedOptionSize});
437
444
  }
438
445
 
439
446
  .ft-select--input-panel {
@@ -442,17 +449,17 @@ const V=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
442
449
  display: flex;
443
450
  align-items: center;
444
451
  overflow: hidden;
445
- padding-left: ${ze.horizontalSpacing};
446
- padding-right: ${ze.horizontalSpacing};
452
+ padding-left: ${Lo.horizontalSpacing};
453
+ padding-right: ${Lo.horizontalSpacing};
447
454
  gap: 8px;
448
- color: ${ze.selectedOptionColor};
449
- ${e.setVariable(ae.color,ze.selectedOptionColor)};
455
+ color: ${Lo.selectedOptionColor};
456
+ ${o.setVariable(uo.color,Lo.selectedOptionColor)};
450
457
  }
451
458
 
452
459
  .ft-select--input-panel,
453
460
  .ft-select--option {
454
- ${e.setVariable(ae.opacityContentOnSurfaceHover,"0.08")};
455
- ${e.setVariable(ae.opacityContentOnSurfacePressed,"0.04")};
461
+ ${o.setVariable(uo.opacityContentOnSurfaceHover,"0.08")};
462
+ ${o.setVariable(uo.opacityContentOnSurfacePressed,"0.04")};
456
463
  }
457
464
 
458
465
  .ft-select--input-panel > *:not(ft-ripple),
@@ -462,7 +469,7 @@ const V=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
462
469
 
463
470
  .ft-select--disabled .ft-select--input-panel,
464
471
  .ft-select--disabled .ft-select--option {
465
- color: ${ze.colorOnSurfaceDisabled};
472
+ color: ${Lo.colorOnSurfaceDisabled};
466
473
  }
467
474
 
468
475
  .ft-select:not(.ft-select--disabled) .ft-select--input-panel,
@@ -471,20 +478,20 @@ const V=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
471
478
  }
472
479
 
473
480
  ft-input-label {
474
- ${e.setVariable(oe.fontSize,ze.selectedOptionSize)};
475
- ${e.setVariable(oe.raisedFontSize,ze.labelSize)};
476
- ${e.setVariable(oe.verticalSpacing,ze.verticalSpacing)};
477
- ${e.setVariable(oe.horizontalSpacing,ze.horizontalSpacing)};
478
- ${e.setVariable(oe.labelMaxWidth,`calc(100% - ${$e.size} - 8px)`)};
481
+ ${o.setVariable(po.fontSize,Lo.selectedOptionSize)};
482
+ ${o.setVariable(po.raisedFontSize,Lo.labelSize)};
483
+ ${o.setVariable(po.verticalSpacing,Lo.verticalSpacing)};
484
+ ${o.setVariable(po.horizontalSpacing,Lo.horizontalSpacing)};
485
+ ${o.setVariable(po.labelMaxWidth,`calc(100% - ${ko.size} - 8px)`)};
479
486
  }
480
487
 
481
488
  .ft-select:not(.ft-select--disabled):focus-within ft-icon {
482
- color: ${ze.colorPrimary};
489
+ color: ${Lo.colorPrimary};
483
490
  }
484
491
 
485
492
  .ft-select:not(.ft-select--disabled):focus-within ft-input-label {
486
- ${e.setVariable(oe.borderColor,ze.colorPrimary)};
487
- ${e.setVariable(oe.textColor,ze.colorPrimary)};
493
+ ${o.setVariable(po.borderColor,Lo.colorPrimary)};
494
+ ${o.setVariable(po.textColor,Lo.colorPrimary)};
488
495
  }
489
496
 
490
497
  .ft-select--selected-option {
@@ -494,12 +501,12 @@ const V=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
494
501
  overflow: hidden;
495
502
  white-space: nowrap;
496
503
  text-overflow: ellipsis;
497
- ${e.setVariable(kt.fontSize,ze.selectedOptionSize)};
498
- ${e.setVariable(kt.lineHeight,ze.selectedOptionSize)};
504
+ ${o.setVariable(Et.fontSize,Lo.selectedOptionSize)};
505
+ ${o.setVariable(Et.lineHeight,Lo.selectedOptionSize)};
499
506
  }
500
507
 
501
508
  .ft-select--in-error .ft-select--selected-option {
502
- color: ${ze.colorError};
509
+ color: ${Lo.colorError};
503
510
  }
504
511
 
505
512
  ft-icon {
@@ -511,16 +518,16 @@ const V=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
511
518
  }
512
519
 
513
520
  .ft-select--filled .ft-select--input-panel {
514
- border-radius: ${ze.borderRadiusS} ${ze.borderRadiusS} 0 0;
521
+ border-radius: ${Lo.borderRadiusS} ${Lo.borderRadiusS} 0 0;
515
522
  }
516
523
 
517
524
  .ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
518
525
  align-self: stretch;
519
- padding-top: calc(${ze.labelSize} + 2 * ${ze.verticalSpacing});
526
+ padding-top: calc(${Lo.labelSize} + 2 * ${Lo.verticalSpacing});
520
527
  }
521
528
 
522
529
  .ft-select--outlined .ft-select--input-panel {
523
- border-radius: ${ze.borderRadiusS};
530
+ border-radius: ${Lo.borderRadiusS};
524
531
  }
525
532
 
526
533
  .ft-select--options {
@@ -529,10 +536,10 @@ const V=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
529
536
  top: 100%;
530
537
  left: 0;
531
538
  right: 0;
532
- color: ${ze.optionsColor};
533
- background: ${ze.colorSurface};
534
- z-index: ${ze.optionsZIndex};
535
- box-shadow: ${ze.elevation02};
539
+ color: ${Lo.optionsColor};
540
+ background: ${Lo.colorSurface};
541
+ z-index: ${Lo.optionsZIndex};
542
+ box-shadow: ${Lo.elevation02};
536
543
  }
537
544
 
538
545
  .ft-select--fixed .ft-select--options {
@@ -543,13 +550,13 @@ const V=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
543
550
 
544
551
  .ft-select--options-displayed .ft-select--options {
545
552
  display: block;
546
- max-height: ${ze.optionsHeight};
553
+ max-height: ${Lo.optionsHeight};
547
554
  overflow-y: auto;
548
555
  }
549
556
 
550
557
  .ft-select--option {
551
558
  position: relative;
552
- padding: 4px ${ze.horizontalSpacing};
559
+ padding: 4px ${Lo.horizontalSpacing};
553
560
  min-height: 32px;
554
561
  display: flex;
555
562
  align-items: center;
@@ -561,68 +568,68 @@ const V=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
561
568
  }
562
569
 
563
570
  .ft-select--helper-text {
564
- padding: 0 ${ze.horizontalSpacing};
565
- color: ${ze.helperColor};
571
+ padding: 0 ${Lo.horizontalSpacing};
572
+ color: ${Lo.helperColor};
566
573
  }
567
574
 
568
575
  .ft-select--in-error .ft-select--helper-text {
569
- color: ${ze.colorError};
576
+ color: ${Lo.colorError};
570
577
  }
571
- `;var Ee=function(t,e,i,o){for(var s,n=arguments.length,l=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(l=(n<3?s(l):n>3?s(e,i,l):s(e,i))||l);return n>3&&l&&Object.defineProperty(e,i,l),l};class Ce extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return i.html``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Ce.elementDefinitions={},Ee([o.property({type:String})],Ce.prototype,"label",void 0),Ee([o.property({type:Object,converter:t=>t})],Ce.prototype,"value",void 0),Ee([o.property({type:Boolean,reflect:!0})],Ce.prototype,"selected",void 0);class Ie extends e.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,e,o,n,r;let a=this.hasOptionsMenuOpen,p=this.disabled||!this.hasOptions;const f=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(o=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==o?o:"").length>0,d={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":p,"ft-select--options-displayed":a,"ft-select--has-option-selected":f,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return i.html`
572
- <div class="${l.classMap(d)}" part="container">
578
+ `;var Zo=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ko 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}))}}Ko.elementDefinitions={},Zo([i.property({type:String})],Ko.prototype,"label",void 0),Zo([i.property({type:Object,converter:t=>t})],Ko.prototype,"value",void 0),Zo([i.property({type:Boolean,reflect:!0})],Ko.prototype,"selected",void 0);class Do 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,a,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`
579
+ <div class="${n.classMap(f)}" part="container">
573
580
  <div class="ft-select--main-panel" part="main-panel">
574
581
  <ft-input-label text="${this.label}"
575
582
  part="label"
576
- ?disabled=${p}
583
+ ?disabled=${c}
577
584
  ?outlined=${this.outlined}
578
- ?raised=${f||a}
585
+ ?raised=${p||s}
579
586
  ?error=${this.error}
580
587
  ></ft-input-label>
581
588
  <div class="ft-select--input-panel"
582
589
  part="selected-value"
583
- tabindex="${p?"-1":"0"}"
590
+ tabindex="${c?"-1":"0"}"
584
591
  @click=${()=>{this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=this.optionsDisplayed}}
585
592
  @keydown=${this.onMainPanelKeyDown}
586
593
  aria-label="${this.label}"
587
594
  aria-haspopup="listbox"
588
- aria-expanded="${a}">
589
- <ft-ripple ?disabled=${p} ?activated=${!this.outlined}></ft-ripple>
595
+ aria-expanded="${s}">
596
+ <ft-ripple ?disabled=${c} ?activated=${!this.outlined}></ft-ripple>
590
597
  <ft-typography variant="body1" class="ft-select--selected-option">
591
- ${null!==(r=null===(n=this.selectedOption)||void 0===n?void 0:n.label)&&void 0!==r?r:""}
598
+ ${null!==(l=null===(a=this.selectedOption)||void 0===a?void 0:a.label)&&void 0!==l?l:""}
592
599
  </ft-typography>
593
- <ft-icon>${a?"thin_arrow_up":"thin_arrow"}</ft-icon>
600
+ <ft-icon>${s?"thin_arrow_up":"thin_arrow"}</ft-icon>
594
601
  </div>
595
602
  <div class="ft-select--options"
596
603
  part="options"
597
604
  @keydown=${this.onOptionsKeyDown}
598
605
  innerrole="listbox">
599
- ${s.repeat(this.options,(t=>t.value),(t=>this.renderOption(t)))}
606
+ ${r.repeat(this.options,(t=>t.value),(t=>this.renderOption(t)))}
600
607
  </div>
601
608
  </div>
602
- ${this.helper?i.html`
609
+ ${this.helper?e.html`
603
610
  <ft-typography class="ft-select--helper-text" variant="caption">${this.helper}
604
611
  </ft-typography>`:void 0}
605
612
  </div>
606
613
  <slot @slotchange=${this.updateOptionsFromSlot}
607
614
  @option-change=${this.updateOptionsFromSlot}
608
615
  ></slot>
609
- `}renderOption(t){let e=this.selectedOption===t;const o={"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0};return i.html`
610
- <div class="${l.classMap(o)}"
616
+ `}renderOption(t){let o=this.selectedOption===t;const i={"ft-select--option":!0,"ft-select--option-selected":o,"ft-typography--body2":!0};return e.html`
617
+ <div class="${n.classMap(i)}"
611
618
  part="option"
612
619
  tabindex="0"
613
620
  data-value="${t.value}"
614
- @keydown=${e=>this.onOptionKeyDown(e,t)}
621
+ @keydown=${o=>this.onOptionKeyDown(o,t)}
615
622
  @click=${()=>this.selectOption(t)}>
616
- <ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
623
+ <ft-ripple ?primary=${o} ?activated=${o}></ft-ripple>
617
624
  <span>${t.label}</span>
618
625
  </div>
619
- `}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,i;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(i=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===i||i.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let i=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,i,o,s,n;let l;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),l=null!==(o=null===(i=this.focusedOption)||void 0===i?void 0:i.previousElementSibling)&&void 0!==o?o:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),l=null!==(n=null===(s=this.focusedOption)||void 0===s?void 0:s.nextElementSibling)&&void 0!==n?n:this.firstOption}null==l||l.focus()}onOptionKeyDown(t,e){var i;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(i=this.mainPanel)||void 0===i||i.focus())}selectOption(t){var i,o;if(!e.deepEqual(null===(i=this.selectedOption)||void 0===i?void 0:i.value,t.value)){this.selectedOption=t;for(let e of this.options)e.selected=e===t;this.dispatchEvent(new CustomEvent("change",{detail:null===(o=this.selectedOption)||void 0===o?void 0:o.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}Ie.elementDefinitions={"ft-input-label":le,"ft-typography":ie,"ft-ripple":ye,"ft-icon":Se},Ie.styles=[qt,Xt,Oe],Ee([o.property({type:String})],Ie.prototype,"label",void 0),Ee([o.property({type:String})],Ie.prototype,"helper",void 0),Ee([o.property({type:Boolean})],Ie.prototype,"outlined",void 0),Ee([o.property({type:Boolean})],Ie.prototype,"disabled",void 0),Ee([o.property({type:Boolean})],Ie.prototype,"error",void 0),Ee([o.property({type:Boolean})],Ie.prototype,"fixedMenuPosition",void 0),Ee([o.property({type:Array})],Ie.prototype,"options",void 0),Ee([o.state()],Ie.prototype,"selectedOption",void 0),Ee([o.state()],Ie.prototype,"optionsDisplayed",void 0),Ee([o.state()],Ie.prototype,"focusOptions",void 0),Ee([o.query(".ft-select")],Ie.prototype,"container",void 0),Ee([o.query(".ft-select--options")],Ie.prototype,"optionsMenu",void 0),Ee([o.query(".ft-select--input-panel")],Ie.prototype,"mainPanel",void 0),Ee([o.query(".ft-select--option:first-child")],Ie.prototype,"firstOption",void 0),Ee([o.query(".ft-select--option:focus")],Ie.prototype,"focusedOption",void 0),Ee([o.query(".ft-select--option.ft-select--option-selected")],Ie.prototype,"selectedOptionElement",void 0),Ee([o.query(".ft-select--option:last-child")],Ie.prototype,"lastOption",void 0),Ee([o.query("slot")],Ie.prototype,"optionsSlot",void 0),e.customElement("ft-select")(Ie),e.customElement("ft-select-option")(Ce);
626
+ `}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,a;let n;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(),n=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(),n=null!==(a=null===(r=this.focusedOption)||void 0===r?void 0:r.nextElementSibling)&&void 0!==a?a:this.firstOption}null==n||n.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)}}Do.elementDefinitions={"ft-input-label":go,"ft-typography":co,"ft-ripple":Io,"ft-icon":Wo},Do.styles=[oo,eo,zo],Zo([i.property({type:String})],Do.prototype,"label",void 0),Zo([i.property({type:String})],Do.prototype,"helper",void 0),Zo([i.property({type:Boolean})],Do.prototype,"outlined",void 0),Zo([i.property({type:Boolean})],Do.prototype,"disabled",void 0),Zo([i.property({type:Boolean})],Do.prototype,"error",void 0),Zo([i.property({type:Boolean})],Do.prototype,"fixedMenuPosition",void 0),Zo([i.property({type:Array})],Do.prototype,"options",void 0),Zo([i.state()],Do.prototype,"selectedOption",void 0),Zo([i.state()],Do.prototype,"optionsDisplayed",void 0),Zo([i.state()],Do.prototype,"focusOptions",void 0),Zo([i.query(".ft-select")],Do.prototype,"container",void 0),Zo([i.query(".ft-select--options")],Do.prototype,"optionsMenu",void 0),Zo([i.query(".ft-select--input-panel")],Do.prototype,"mainPanel",void 0),Zo([i.query(".ft-select--option:first-child")],Do.prototype,"firstOption",void 0),Zo([i.query(".ft-select--option:focus")],Do.prototype,"focusedOption",void 0),Zo([i.query(".ft-select--option.ft-select--option-selected")],Do.prototype,"selectedOptionElement",void 0),Zo([i.query(".ft-select--option:last-child")],Do.prototype,"lastOption",void 0),Zo([i.query("slot")],Do.prototype,"optionsSlot",void 0),o.customElement("ft-select")(Do),o.customElement("ft-select-option")(Ko);
620
627
  /**
621
628
  * @license
622
629
  * Copyright 2018 Google LLC
623
630
  * SPDX-License-Identifier: BSD-3-Clause
624
631
  */
625
- const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SIZE","14px"),labelSize:e.FtCssVariableFactory.create("--ft-text-field-label-size","SIZE","11px"),verticalSpacing:e.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","SIZE","4px"),horizontalSpacing:e.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","SIZE","16px"),helperColor:e.FtCssVariableFactory.extend("--ft-text-field-helper-color",e.designSystemVariables.colorOnSurfaceMedium),colorPrimary:e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariableFactory.external(e.designSystemVariables.colorError,"Design system"),prefixColor:e.FtCssVariableFactory.extend("--ft-text-field-prefix-color",e.designSystemVariables.colorOnSurfaceMedium),iconColor:e.FtCssVariableFactory.extend("--ft-text-field-icon-color",e.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:e.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","NUMBER","3"),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),colorOutline:e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system"),elevation02:e.FtCssVariableFactory.external(e.designSystemVariables.elevation02,"Design system"),suggestSize:e.FtCssVariableFactory.create("--ft-text-field-suggest-size","SIZE","300px")},De=i.css`
632
+ const Bo={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`
626
633
  *:focus {
627
634
  outline: none;
628
635
  }
@@ -635,16 +642,16 @@ const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SI
635
642
  }
636
643
 
637
644
  ft-input-label {
638
- ${e.setVariable(oe.fontSize,Be.fontSize)};
639
- ${e.setVariable(oe.raisedFontSize,Be.labelSize)};
640
- ${e.setVariable(oe.verticalSpacing,Be.verticalSpacing)};
641
- ${e.setVariable(oe.horizontalSpacing,Be.horizontalSpacing)};
645
+ ${o.setVariable(po.fontSize,Bo.fontSize)};
646
+ ${o.setVariable(po.raisedFontSize,Bo.labelSize)};
647
+ ${o.setVariable(po.verticalSpacing,Bo.verticalSpacing)};
648
+ ${o.setVariable(po.horizontalSpacing,Bo.horizontalSpacing)};
642
649
  }
643
650
 
644
651
  .ft-text-field--main-panel {
645
652
  position: relative;
646
653
  display: flex;
647
- height: calc(4 * ${Be.verticalSpacing} + ${Be.labelSize} + ${Be.fontSize});
654
+ height: calc(4 * ${Bo.verticalSpacing} + ${Bo.labelSize} + ${Bo.fontSize});
648
655
  }
649
656
 
650
657
  .ft-text-field--input-panel {
@@ -653,24 +660,24 @@ const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SI
653
660
  display: flex;
654
661
  align-items: center;
655
662
  overflow: hidden;
656
- padding: 0 ${Be.horizontalSpacing};
663
+ padding: 0 ${Bo.horizontalSpacing};
657
664
 
658
- ${e.setVariable(kt.fontSize,Be.fontSize)};
659
- ${e.setVariable(kt.lineHeight,Be.fontSize)};
665
+ ${o.setVariable(Et.fontSize,Bo.fontSize)};
666
+ ${o.setVariable(Et.lineHeight,Bo.fontSize)};
660
667
  }
661
668
 
662
669
  .ft-text-field--input-panel ft-ripple {
663
- ${e.setVariable(ae.opacityContentOnSurfaceHover,"0.08")};
664
- ${e.setVariable(ae.opacityContentOnSurfacePressed,"0.04")};
670
+ ${o.setVariable(uo.opacityContentOnSurfaceHover,"0.08")};
671
+ ${o.setVariable(uo.opacityContentOnSurfacePressed,"0.04")};
665
672
  }
666
673
 
667
674
  .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
668
675
  align-items: flex-end;
669
- padding: 0 ${Be.horizontalSpacing} ${Be.verticalSpacing} ${Be.horizontalSpacing};
676
+ padding: 0 ${Bo.horizontalSpacing} ${Bo.verticalSpacing} ${Bo.horizontalSpacing};
670
677
  }
671
678
 
672
679
  .ft-text-field--prefix {
673
- color: ${Be.prefixColor};
680
+ color: ${Bo.prefixColor};
674
681
  margin-right: 2px;
675
682
  flex-shrink: 1;
676
683
  overflow: hidden;
@@ -689,15 +696,15 @@ const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SI
689
696
  flex-shrink: 1;
690
697
  min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
691
698
 
692
- color: ${Be.colorOnSurface};
693
- padding: calc(2 * ${Be.verticalSpacing}) 0;
699
+ color: ${Bo.colorOnSurface};
700
+ padding: calc(2 * ${Bo.verticalSpacing}) 0;
694
701
  border: none;
695
702
  background: none;
696
703
  }
697
704
 
698
705
  .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
699
706
  padding-bottom: 0;
700
- padding-top: calc(${Be.labelSize} + 2 * ${Be.verticalSpacing});
707
+ padding-top: calc(${Bo.labelSize} + 2 * ${Bo.verticalSpacing});
701
708
  }
702
709
 
703
710
  .ft-text-field--input::-webkit-calendar-picker-indicator,
@@ -706,37 +713,37 @@ const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SI
706
713
  }
707
714
 
708
715
  .ft-text-field--disabled .ft-text-field--input {
709
- color: ${Be.colorOnSurfaceDisabled};
716
+ color: ${Bo.colorOnSurfaceDisabled};
710
717
  }
711
718
 
712
719
  .ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
713
- ${e.setVariable(oe.borderColor,Be.colorPrimary)};
714
- ${e.setVariable(oe.textColor,Be.colorPrimary)};
720
+ ${o.setVariable(po.borderColor,Bo.colorPrimary)};
721
+ ${o.setVariable(po.textColor,Bo.colorPrimary)};
715
722
  }
716
723
 
717
724
  .ft-text-field--filled .ft-text-field--input-panel {
718
- border-radius: ${Be.borderRadiusS} ${Be.borderRadiusS} 0 0;
725
+ border-radius: ${Bo.borderRadiusS} ${Bo.borderRadiusS} 0 0;
719
726
  }
720
727
 
721
728
  .ft-text-field--outlined .ft-text-field--input-panel {
722
- border-radius: ${Be.borderRadiusS};
729
+ border-radius: ${Bo.borderRadiusS};
723
730
  }
724
731
 
725
732
  .ft-text-field--helper-text {
726
- padding: 0 12px 0 ${Be.horizontalSpacing};
727
- color: ${Be.helperColor};
733
+ padding: 0 12px 0 ${Bo.horizontalSpacing};
734
+ color: ${Bo.helperColor};
728
735
  }
729
736
 
730
737
  .ft-text-field--in-error .ft-text-field--input,
731
738
  .ft-text-field--in-error .ft-text-field--helper-text,
732
739
  .ft-text-field--in-error .ft-text-field--prefix {
733
- color: ${Be.colorError};
740
+ color: ${Bo.colorError};
734
741
  }
735
742
 
736
743
  .ft-text-field--icon {
737
744
  align-self: center;
738
745
  margin-left: 8px;
739
- color: ${Be.iconColor};
746
+ color: ${Bo.iconColor};
740
747
  }
741
748
 
742
749
  .ft-text-field--container {
@@ -749,13 +756,13 @@ const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SI
749
756
  position: absolute;
750
757
  left: 0;
751
758
  right: 0;
752
- z-index: ${Be.floatingZIndex};
753
- background: ${Be.colorSurface};
754
- border: 1px solid ${Be.colorOutline};
755
- border-radius: 0 0 ${Be.borderRadiusS} ${Be.borderRadiusS};
756
- box-shadow: ${Be.elevation02};
759
+ z-index: ${Bo.floatingZIndex};
760
+ background: ${Bo.colorSurface};
761
+ border: 1px solid ${Bo.colorOutline};
762
+ border-radius: 0 0 ${Bo.borderRadiusS} ${Bo.borderRadiusS};
763
+ box-shadow: ${Bo.elevation02};
757
764
  outline: none;
758
- max-height: ${Be.suggestSize};
765
+ max-height: ${Bo.suggestSize};
759
766
  overflow-y: auto;
760
767
  }
761
768
 
@@ -772,14 +779,14 @@ const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SI
772
779
  }
773
780
 
774
781
  .ft-text-field--with-icon {
775
- ${e.setVariable(oe.labelMaxWidth,`calc(100% - ${$e.size} - ${oe.horizontalSpacing})`)};
782
+ ${o.setVariable(po.labelMaxWidth,`calc(100% - ${ko.size} - ${po.horizontalSpacing})`)};
776
783
  }
777
784
 
778
785
  .ft-text-field--with-password ft-icon:hover {
779
786
  cursor: pointer;
780
787
  }
781
- `;var je=function(t,e,i,o){for(var s,n=arguments.length,l=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(l=(n<3?s(l):n>3?s(e,i,l):s(e,i))||l);return n>3&&l&&Object.defineProperty(e,i,l),l};class Ne extends e.FtLitElement{constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.passwordHiddenIcon=ge.EYE_SLASH,this.passwordRevealedIcon=ge.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.suggestionsOnTop=!1,this.hideSuggestions=!1,this.visibleSuggestions=[]}get value(){return this._value||""}set value(t){this.setInternalValue(t||""),this.dispatchedValue=t||""}setInternalValue(t){const e=this._value;this._value=t||"",this.requestUpdate("value",e)}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":0===this.visibleSuggestions.length||this.hideSuggestions,"ft-text-field--raised-label":this.focused||""!=this.value,"ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.password};return i.html`
782
- <div class="${l.classMap(t)}">
788
+ `;var Ao=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};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=So.EYE_SLASH,this.passwordRevealedIcon=So.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`
789
+ <div class="${n.classMap(t)}">
783
790
  <div class="ft-text-field--main-panel"
784
791
  @keydown=${this.handleKeyboardNavigation}
785
792
  @focusout=${this.onMainPanelBlur}>
@@ -789,16 +796,16 @@ const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SI
789
796
  ?raised=${this.focused||""!=this.value}
790
797
  ?error=${this.error}></ft-input-label>
791
798
  <div class="ft-text-field--input-panel">
792
- ${this.outlined?i.nothing:i.html`
799
+ ${this.outlined?e.nothing:e.html`
793
800
  <ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
794
801
  `}
795
- ${this.prefix?i.html`
796
- <ft-typography class="ft-text-field--prefix" vaiant="body1">
797
- ${this.prefix}
798
- </ft-typography>
799
- `:i.nothing}
802
+ ${this.prefix?e.html`
803
+ <ft-typography class="ft-text-field--prefix" vaiant="body1">
804
+ ${this.prefix}
805
+ </ft-typography>
806
+ `:e.nothing}
800
807
  <input type=${this.password&&this.hidePassword?"password":"text"}
801
- maxlength=${(t=>null!=t?t:I)(this.maxLength||void 0)}
808
+ maxlength=${(t=>null!=t?t:E)(this.maxLength||void 0)}
802
809
  aria-label="${this.label}"
803
810
  class="ft-typography--body1 ft-text-field--input"
804
811
  ?disabled=${this.disabled}
@@ -813,23 +820,23 @@ const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SI
813
820
  <slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
814
821
  </div>
815
822
  </div>
816
- ${this.helper?i.html`
823
+ ${this.helper?e.html`
817
824
  <ft-typography class="ft-text-field--helper-text" variant="caption">
818
825
  ${this.helper}
819
826
  </ft-typography>
820
- `:i.nothing}
827
+ `:e.nothing}
821
828
  </div>
822
- `}renderPasswordIcon(){return i.html`
829
+ `}renderPasswordIcon(){return e.html`
823
830
  <ft-icon class="ft-text-field--icon"
824
831
  .variant=${this.iconVariant}
825
832
  .value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
826
833
  @click=${()=>this.togglePasswordVisibility()}></ft-icon>
827
- `}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?i.html`
834
+ `}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?e.html`
828
835
  <ft-icon class="ft-text-field--icon"
829
836
  .variant=${this.iconVariant}
830
837
  .value=${this.icon}
831
838
  @click=${()=>{var t;return null===(t=this.input)||void 0===t?void 0:t.focus()}}></ft-icon>
832
- `:i.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 e,i;if(super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),o=null===(i=this.suggestionsContainer)||void 0===i?void 0:i.getBoundingClientRect();t&&o&&(this.suggestionsOnTop=t.bottom+o.height>window.innerHeight&&t.top-o.height>0)}}setValue(t,e=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),e&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var e;const i=(null===(e=this.input)||void 0===e?void 0:e.value)||"";this.setValue(i,"Escape"==t.key||"Enter"==t.key)}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var e;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const i=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let o;o="ArrowDown"===t.key?i<this.visibleSuggestions.length-1?i+1:0:i>0?i-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[o])||void 0===e||e.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,e;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1,this.setValue((null===(e=this.input)||void 0===e?void 0:e.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}}Ne.elementDefinitions={"ft-input-label":le,"ft-ripple":ye,"ft-typography":ie,"ft-icon":Se},Ne.styles=[Gt,De],je([o.property()],Ne.prototype,"label",void 0),je([o.property({noAccessor:!0})],Ne.prototype,"value",null),je([o.state()],Ne.prototype,"dispatchedValue",void 0),je([o.property()],Ne.prototype,"helper",void 0),je([o.property({type:Boolean})],Ne.prototype,"outlined",void 0),je([o.property({type:Boolean})],Ne.prototype,"disabled",void 0),je([o.property({type:Boolean})],Ne.prototype,"error",void 0),je([o.property()],Ne.prototype,"prefix",void 0),je([o.property()],Ne.prototype,"icon",void 0),je([o.property()],Ne.prototype,"passwordHiddenIcon",void 0),je([o.property()],Ne.prototype,"passwordRevealedIcon",void 0),je([o.property()],Ne.prototype,"iconVariant",void 0),je([o.property({type:Boolean})],Ne.prototype,"filterSuggestions",void 0),je([o.property({type:Number})],Ne.prototype,"maxLength",void 0),je([o.property({type:Boolean})],Ne.prototype,"password",void 0),je([o.state()],Ne.prototype,"focused",void 0),je([o.state()],Ne.prototype,"hidePassword",void 0),je([o.state()],Ne.prototype,"suggestionsOnTop",void 0),je([o.state()],Ne.prototype,"hideSuggestions",void 0),je([o.state()],Ne.prototype,"visibleSuggestions",void 0),je([o.query(".ft-text-field--main-panel")],Ne.prototype,"mainPanel",void 0),je([o.query(".ft-text-field--input")],Ne.prototype,"input",void 0),je([o.query(".ft-text-field--suggestions")],Ne.prototype,"suggestionsContainer",void 0),je([o.queryAssignedElements({selector:"ft-text-field-suggestion"})],Ne.prototype,"suggestions",void 0);const Ze=i.css`
839
+ `: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":go,"ft-ripple":Io,"ft-typography":co,"ft-icon":Wo},Ho.styles=[to,Fo],Ao([i.property()],Ho.prototype,"label",void 0),Ao([i.property({noAccessor:!0})],Ho.prototype,"value",null),Ao([i.state()],Ho.prototype,"dispatchedValue",void 0),Ao([i.property()],Ho.prototype,"helper",void 0),Ao([i.property({type:Boolean})],Ho.prototype,"outlined",void 0),Ao([i.property({type:Boolean})],Ho.prototype,"disabled",void 0),Ao([i.property({type:Boolean})],Ho.prototype,"error",void 0),Ao([i.property()],Ho.prototype,"prefix",void 0),Ao([i.property()],Ho.prototype,"icon",void 0),Ao([i.property()],Ho.prototype,"passwordHiddenIcon",void 0),Ao([i.property()],Ho.prototype,"passwordRevealedIcon",void 0),Ao([i.property()],Ho.prototype,"iconVariant",void 0),Ao([i.property({type:Boolean})],Ho.prototype,"filterSuggestions",void 0),Ao([i.property({type:Number})],Ho.prototype,"maxLength",void 0),Ao([i.property({type:Boolean})],Ho.prototype,"password",void 0),Ao([i.state()],Ho.prototype,"focused",void 0),Ao([i.state()],Ho.prototype,"hidePassword",void 0),Ao([i.state()],Ho.prototype,"suggestionsOnTop",void 0),Ao([i.state()],Ho.prototype,"hideSuggestions",void 0),Ao([i.state()],Ho.prototype,"visibleSuggestions",void 0),Ao([i.query(".ft-text-field--main-panel")],Ho.prototype,"mainPanel",void 0),Ao([i.query(".ft-text-field--input")],Ho.prototype,"input",void 0),Ao([i.query(".ft-text-field--suggestions")],Ho.prototype,"suggestionsContainer",void 0),Ao([i.queryAssignedElements({selector:"ft-text-field-suggestion"})],Ho.prototype,"suggestions",void 0);const Go=e.css`
833
840
  .ft-text-field-suggestion {
834
841
  position: relative;
835
842
  padding: 8px 16px;
@@ -854,7 +861,7 @@ const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SI
854
861
  slot {
855
862
  pointer-events: none;
856
863
  }
857
- `;var Fe=function(t,e,i,o){for(var s,n=arguments.length,l=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(l=(n<3?s(l):n>3?s(e,i,l):s(e,i))||l);return n>3&&l&&Object.defineProperty(e,i,l),l};class Ae extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class Me extends e.FtLitElement{render(){return i.html`
864
+ `;var jo=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Po extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class Mo extends o.FtLitElement{render(){return e.html`
858
865
  <div class="ft-text-field-suggestion"
859
866
  tabindex="-1"
860
867
  @keydown=${this.onKeyDown}
@@ -866,54 +873,7 @@ const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SI
866
873
  <slot></slot>
867
874
  </ft-typography>
868
875
  </div>
869
- `}focus(t){var e;null===(e=this.container)||void 0===e||e.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new Ae(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())}}Me.elementDefinitions={"ft-ripple":ye,"ft-typography":ie,"ft-icon":Se},Me.styles=Ze,Fe([o.property()],Me.prototype,"value",void 0),Fe([o.query(".ft-text-field-suggestion")],Me.prototype,"container",void 0),Fe([o.queryAssignedNodes()],Me.prototype,"assignedNodes",void 0),e.customElement("ft-text-field")(Ne),e.customElement("ft-text-field-suggestion")(Me);const Te=e.FtCssVariableFactory.create("--ft-tooltip-distance","SIZE","4px"),Re=e.FtCssVariableFactory.create("--ft-tooltip-color","COLOR","#FFFFFF"),_e=e.FtCssVariableFactory.create("--ft-tooltip-background-color","COLOR","#666666"),Ue=e.FtCssVariableFactory.create("--ft-tooltip-z-index","NUMBER","100"),Pe=e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),He=e.FtCssVariableFactory.create("--ft-tooltip-max-width","SIZE","150px"),Ve=i.css`
870
- .ft-tooltip--container {
871
- display: block;
872
- }
873
-
874
- .ft-tooltip--inline {
875
- display: inline-block;
876
- max-width: 100%;
877
- }
878
-
879
- .ft-tooltip {
880
- position: absolute;
881
- box-sizing: border-box;
882
- overflow: hidden;
883
- width: max-content;
884
- max-width: ${He};
885
- text-align: center;
886
- padding: ${Te};
887
- z-index: ${Ue};
888
- }
889
-
890
- .ft-tooltip--content {
891
- padding: 4px 8px;
892
- border-radius: ${Pe};
893
- background-color: ${_e};
894
- color: ${Re};
895
- position: relative;
896
- word-break: break-word;
897
- }
898
- `;var We=function(t,e,i,o){for(var s,n=arguments.length,l=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(l=(n<3?s(l):n>3?s(e,i,l):s(e,i))||l);return n>3&&l&&Object.defineProperty(e,i,l),l};class Ke extends e.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 e.Debouncer,this.revealDebouncer=new e.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return i.html`
899
- <div part="container"
900
- class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
901
- @mouseenter=${this.onHover}
902
- @mouseleave=${this.onOut}
903
- @focusin=${this.onHover}
904
- @focusout=${this.onOut}
905
- @touchstart=${this.onTouch}>
906
- <slot></slot>
907
- <div part="tooltip" role="tooltip" inert
908
- class="ft-tooltip ft-tooltip--${this.validPosition}"
909
- ?hidden=${!this.visible}>
910
- <div part="tooltip-content" class="ft-tooltip--content">
911
- <slot name="text"></slot>
912
- <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
913
- </div>
914
- </div>
915
- </div>
916
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=this.tooltip.offsetWidth,i=this.tooltip.offsetHeight,o=(t.offsetHeight-i)/2,s=(t.offsetWidth-e)/2;let n=0,l=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":l=t.offsetTop-i-this.tooltip.offsetTop,n=t.offsetLeft+s-this.tooltip.offsetLeft;break;case"bottom":l=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+s-this.tooltip.offsetLeft;break;case"left":l=t.offsetTop+o-this.tooltip.offsetTop,n=t.offsetLeft-e-this.tooltip.offsetLeft;break;case"right":l=t.offsetTop+o-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const r=this.tooltip.style;r.left=n+"px",r.top=l+"px";const a=this.tooltip.getBoundingClientRect();let p=-a.x,f=a.x+a.width-window.innerWidth;r.left=n+Math.round(this.correctOutOfWindowPixels(p,f))+"px";let d=-a.y,h=a.y+a.height-window.innerHeight;r.top=l+Math.round(this.correctOutOfWindowPixels(d,h))+"px",r.maxWidth=`max(${t.offsetWidth}px, ${He})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Ke.elementDefinitions={"ft-typography":ie},Ke.styles=Ve,We([o.property()],Ke.prototype,"text",void 0),We([o.property({type:Boolean})],Ke.prototype,"manual",void 0),We([o.property({type:Boolean})],Ke.prototype,"inline",void 0),We([o.property({type:Number})],Ke.prototype,"delay",void 0),We([o.property()],Ke.prototype,"position",void 0),We([o.queryAssignedNodes("",!0)],Ke.prototype,"slotNodes",void 0),We([o.query(".ft-tooltip--container")],Ke.prototype,"container",void 0),We([o.query(".ft-tooltip")],Ke.prototype,"tooltip",void 0),We([o.query(".ft-tooltip--content")],Ke.prototype,"tooltipContent",void 0),We([o.state()],Ke.prototype,"visible",void 0),e.customElement("ft-tooltip")(Ke);const Le={color:e.FtCssVariableFactory.extend("--ft-loader-color",e.designSystemVariables.colorPrimary),size:e.FtCssVariableFactory.create("--ft-loader-size","SIZE","80px")},Ge=i.css`
876
+ `}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())}}Mo.elementDefinitions={"ft-ripple":Io,"ft-typography":co,"ft-icon":Wo},Mo.styles=Go,jo([i.property()],Mo.prototype,"value",void 0),jo([i.query(".ft-text-field-suggestion")],Mo.prototype,"container",void 0),jo([i.queryAssignedNodes()],Mo.prototype,"assignedNodes",void 0),o.customElement("ft-text-field")(Ho),o.customElement("ft-text-field-suggestion")(Mo);const To={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},_o=e.css`
917
877
  :host {
918
878
  line-height: 0;
919
879
  }
@@ -922,8 +882,8 @@ const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SI
922
882
  display: inline-block;
923
883
  position: relative;
924
884
 
925
- width: ${Le.size};
926
- height: ${Le.size};
885
+ width: ${To.size};
886
+ height: ${To.size};
927
887
  }
928
888
 
929
889
  .ft-loader div {
@@ -932,7 +892,7 @@ const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SI
932
892
  width: 25%;
933
893
  height: 25%;
934
894
  border-radius: 50%;
935
- background: ${Le.color};
895
+ background: ${To.color};
936
896
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
937
897
  }
938
898
 
@@ -979,17 +939,10 @@ const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SI
979
939
  transform: translate(0, 0);
980
940
  }
981
941
  100% {
982
- transform: translate(calc(0.35 * ${Le.size}), 0);
942
+ transform: translate(calc(0.35 * ${To.size}), 0);
983
943
  }
984
944
  }
985
- `;class qe extends e.FtLitElement{render(){return i.html`
986
- <div class="ft-loader">
987
- <div></div>
988
- <div></div>
989
- <div></div>
990
- <div></div>
991
- </div>
992
- `}}qe.styles=Ge,e.customElement("ft-loader")(qe);const Xe=e.FtCssVariableFactory.extend("--ft-button-color",e.designSystemVariables.colorPrimary),Ye={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-background-color",e.designSystemVariables.colorSurface),borderRadius:e.FtCssVariableFactory.extend("--ft-button-border-radius",e.designSystemVariables.borderRadiusL),color:Xe,fontSize:e.FtCssVariableFactory.extend("--ft-button-font-size",Ht.fontSize),iconSize:e.FtCssVariableFactory.create("--ft-button-icon-size","SIZE","24px"),rippleColor:e.FtCssVariableFactory.extend("--ft-button-ripple-color",Xe),verticalPadding:e.FtCssVariableFactory.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:e.FtCssVariableFactory.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:e.FtCssVariableFactory.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOpacityDisabled,"Design system")},Je=e.FtCssVariableFactory.extend("--ft-button-primary-color",e.FtCssVariableFactory.extend("--ft-button-color",e.designSystemVariables.colorOnPrimary)),Qe={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-primary-background-color",e.FtCssVariableFactory.extend("--ft-button-background-color",e.designSystemVariables.colorPrimary)),color:Je,rippleColor:e.FtCssVariableFactory.extend("--ft-button-primary-ripple-color",Je)},ti=e.FtCssVariableFactory.extend("--ft-button-dense-border-radius",e.FtCssVariableFactory.extend("--ft-button-border-radius",e.designSystemVariables.borderRadiusM)),ei=e.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","SIZE","2px"),ii=e.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","SIZE","4px"),oi=e.FtCssVariableFactory.create("--ft-button-dense-icon-padding","SIZE","4px"),si=[i.css`
945
+ `,Vo=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:Vo,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","",Vo),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")},qo=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:qo,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",qo)},Jo=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),Qo=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),te=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),oe=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),ee=[e.css`
993
946
  :host {
994
947
  display: inline-block;
995
948
  max-width: 100%;
@@ -1000,7 +953,7 @@ const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SI
1000
953
  box-shadow: 0px 0px 0px transparent;
1001
954
  border: 0px solid transparent;
1002
955
  text-shadow: 0px 0px 0px transparent;
1003
- font-size: ${Ye.fontSize};
956
+ font-size: ${Yo.fontSize};
1004
957
  }
1005
958
 
1006
959
  button:hover {
@@ -1029,31 +982,31 @@ const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SI
1029
982
  border: none;
1030
983
  pointer-events: auto;
1031
984
 
1032
- --ft-button-internal-line-height: max(calc(${Ye.fontSize} + 2px), ${Ye.iconSize});
1033
- --ft-button-internal-color: ${Ye.color};
1034
- ${e.setVariable($e.size,Ye.iconSize)};
1035
- ${e.setVariable(ae.color,Ye.rippleColor)};
985
+ --ft-button-internal-line-height: max(calc(${Yo.fontSize} + 2px), ${Yo.iconSize});
986
+ --ft-button-internal-color: ${Yo.color};
987
+ ${o.setVariable(ko.size,Yo.iconSize)};
988
+ ${o.setVariable(uo.color,Yo.rippleColor)};
1036
989
 
1037
- border-radius: ${Ye.borderRadius};
1038
- padding: ${Ye.verticalPadding} ${Ye.horizontalPadding};
1039
- background-color: ${Ye.backgroundColor};
990
+ border-radius: ${Yo.borderRadius};
991
+ padding: ${Yo.verticalPadding} ${Yo.horizontalPadding};
992
+ background-color: ${Yo.backgroundColor};
1040
993
  color: var(--ft-button-internal-color);
1041
994
  -webkit-mask-image: radial-gradient(white, black);
1042
995
  }
1043
996
 
1044
997
  .ft-button.ft-button--outlined {
1045
998
  border: 1px solid var(--ft-button-internal-color);
1046
- padding: calc(${Ye.verticalPadding} - 1px) calc(${Ye.horizontalPadding} - 1px);
999
+ padding: calc(${Yo.verticalPadding} - 1px) calc(${Yo.horizontalPadding} - 1px);
1047
1000
  }
1048
1001
 
1049
1002
  .ft-button.ft-button--dense {
1050
- padding: ${ei} ${ii};
1051
- border-radius: ${ti};
1052
- gap: ${oi};
1003
+ padding: ${Qo} ${te};
1004
+ border-radius: ${Jo};
1005
+ gap: ${oe};
1053
1006
  }
1054
1007
 
1055
1008
  .ft-button.ft-button--dense.ft-button--outlined {
1056
- padding: calc(${ei} - 1px) calc(${ii} - 1px);
1009
+ padding: calc(${Qo} - 1px) calc(${te} - 1px);
1057
1010
  }
1058
1011
 
1059
1012
  .ft-button:not([disabled]):hover {
@@ -1061,22 +1014,22 @@ const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SI
1061
1014
  }
1062
1015
 
1063
1016
  .ft-button--round {
1064
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ye.verticalPadding});
1017
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Yo.verticalPadding});
1065
1018
  }
1066
1019
 
1067
1020
  .ft-button--round.ft-button--dense {
1068
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ei});
1021
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Qo});
1069
1022
  }
1070
1023
 
1071
1024
  .ft-button[disabled] {
1072
1025
  filter: grayscale(1);
1073
- opacity: ${Ye.opacityDisabled};
1026
+ opacity: ${Yo.opacityDisabled};
1074
1027
  }
1075
1028
 
1076
1029
  .ft-button.ft-button--primary {
1077
- background-color: ${Qe.backgroundColor};
1078
- --ft-button-internal-color: ${Qe.color};
1079
- ${e.setVariable(ae.color,Qe.rippleColor)};
1030
+ background-color: ${Xo.backgroundColor};
1031
+ --ft-button-internal-color: ${Xo.color};
1032
+ ${o.setVariable(uo.color,Xo.rippleColor)};
1080
1033
  }
1081
1034
 
1082
1035
  .ft-button:focus {
@@ -1089,13 +1042,13 @@ const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SI
1089
1042
  white-space: nowrap;
1090
1043
  text-overflow: ellipsis;
1091
1044
  display: block;
1092
- margin: 0 ${Ye.iconPadding};
1093
- ${e.setVariable(Ht.fontSize,"1em")};
1094
- ${e.setVariable(Ht.lineHeight,"var(--ft-button-internal-line-height)")};
1045
+ margin: 0 ${Yo.iconPadding};
1046
+ ${o.setVariable(Yt.fontSize,"1em")};
1047
+ ${o.setVariable(Yt.lineHeight,"var(--ft-button-internal-line-height)")};
1095
1048
  }
1096
1049
 
1097
1050
  .ft-button--dense .ft-button--label {
1098
- margin: 0 ${oi};
1051
+ margin: 0 ${oe};
1099
1052
  }
1100
1053
 
1101
1054
  .ft-button--label[hidden] {
@@ -1108,13 +1061,13 @@ const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SI
1108
1061
  }
1109
1062
 
1110
1063
  .ft-button--label[hidden] + ft-icon {
1111
- margin: 0 calc(${Ye.horizontalPadding} * -1);
1112
- padding: 0 ${Ye.verticalPadding};
1064
+ margin: 0 calc(${Yo.horizontalPadding} * -1);
1065
+ padding: 0 ${Yo.verticalPadding};
1113
1066
  }
1114
1067
 
1115
1068
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
1116
- margin: 0 calc(${ii} * -1);
1117
- padding: 0 ${ei};
1069
+ margin: 0 calc(${te} * -1);
1070
+ padding: 0 ${Qo};
1118
1071
  }
1119
1072
 
1120
1073
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -1123,33 +1076,305 @@ const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SI
1123
1076
  }
1124
1077
 
1125
1078
  ft-loader {
1126
- ${e.setVariable(Le.size,Ye.iconSize)};
1127
- ${e.setVariable(Le.color,"var(--ft-button-internal-color)")};
1079
+ ${o.setVariable(To.size,Yo.iconSize)};
1080
+ ${o.setVariable(To.color,"var(--ft-button-internal-color)")};
1128
1081
  }
1129
- `,e.noTextSelect];var ni=function(t,e,i,o){for(var s,n=arguments.length,l=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(l=(n<3?s(l):n>3?s(e,i,l):s(e,i))||l);return n>3&&l&&Object.defineProperty(e,i,l),l};class li extends e.FtLitElement{constructor(){super(...arguments),this.role="button",this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}render(){const t={"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};return this.addTooltipIfNeeded(i.html`
1082
+ `,o.noTextSelect],ie=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),re=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),ae=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),ne=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),le=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),se=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),ce=e.css`
1083
+ .ft-tooltip--container {
1084
+ display: block;
1085
+ }
1086
+
1087
+ .ft-tooltip--inline {
1088
+ display: inline-block;
1089
+ max-width: 100%;
1090
+ }
1091
+
1092
+ .ft-tooltip {
1093
+ position: absolute;
1094
+ box-sizing: border-box;
1095
+ overflow: hidden;
1096
+ width: max-content;
1097
+ max-width: ${se};
1098
+ text-align: center;
1099
+ padding: ${ie};
1100
+ z-index: ${ne};
1101
+ }
1102
+
1103
+ .ft-tooltip--content {
1104
+ padding: 4px 8px;
1105
+ border-radius: ${le};
1106
+ background-color: ${ae};
1107
+ color: ${re};
1108
+ position: relative;
1109
+ word-break: break-word;
1110
+ }
1111
+ `;var pe=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class fe 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`
1112
+ <div part="container"
1113
+ class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
1114
+ @mouseenter=${this.onHover}
1115
+ @mouseleave=${this.onOut}
1116
+ @focusin=${this.onHover}
1117
+ @focusout=${this.onOut}
1118
+ @touchstart=${this.onTouch}>
1119
+ <slot></slot>
1120
+ <div part="tooltip" role="tooltip" inert
1121
+ class="ft-tooltip ft-tooltip--${this.validPosition}"
1122
+ ?hidden=${!this.visible}>
1123
+ <div part="tooltip-content" class="ft-tooltip--content">
1124
+ <slot name="text"></slot>
1125
+ <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
1126
+ </div>
1127
+ </div>
1128
+ </div>
1129
+ `}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()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,i=(t.offsetHeight-e)/2,r=(t.offsetWidth-o)/2;let a=0,n=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":n=t.offsetTop-e-this.tooltip.offsetTop,a=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":n=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,a=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":n=t.offsetTop+i-this.tooltip.offsetTop,a=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":n=t.offsetTop+i-this.tooltip.offsetTop,a=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=a+"px",l.top=n+"px";const s=this.tooltip.getBoundingClientRect();let c=-s.x,p=s.x+s.width-window.innerWidth;l.left=a+Math.round(this.correctOutOfWindowPixels(c,p))+"px";let f=-s.y,d=s.y+s.height-window.innerHeight;l.top=n+Math.round(this.correctOutOfWindowPixels(f,d))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${se})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}fe.elementDefinitions={"ft-typography":co},fe.styles=ce,pe([i.property()],fe.prototype,"text",void 0),pe([i.property({type:Boolean})],fe.prototype,"manual",void 0),pe([i.property({type:Boolean})],fe.prototype,"inline",void 0),pe([i.property({type:Number})],fe.prototype,"delay",void 0),pe([i.property()],fe.prototype,"position",void 0),pe([i.queryAssignedNodes("",!0)],fe.prototype,"slotNodes",void 0),pe([i.query(".ft-tooltip--container")],fe.prototype,"container",void 0),pe([i.query(".ft-tooltip")],fe.prototype,"tooltip",void 0),pe([i.query(".ft-tooltip--content")],fe.prototype,"tooltipContent",void 0),pe([i.state()],fe.prototype,"visible",void 0),o.customElement("ft-tooltip")(fe);class de extends o.FtLitElement{render(){return e.html`
1130
+ <div class="ft-loader">
1131
+ <div></div>
1132
+ <div></div>
1133
+ <div></div>
1134
+ <div></div>
1135
+ </div>
1136
+ `}}de.styles=_o,o.customElement("ft-loader")(de);var he=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ge extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var 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`
1130
1137
  <button part="button"
1131
- class="${l.classMap(t)}"
1138
+ class="${n.classMap(this.buttonClasses)}"
1132
1139
  aria-label="${this.getLabel()}"
1133
1140
  ?disabled=${this.isDisabled()}>
1134
1141
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
1135
1142
  <ft-typography part="label"
1136
- variant="button"
1143
+ variant=${this.typographyVariant}
1137
1144
  element="span"
1138
- class="ft-button--label ${e.isSafari?"ft-safari-ellipsis-fix":""}"
1145
+ class="ft-button--label ${o.isSafari?"ft-safari-ellipsis-fix":""}"
1139
1146
  ?hidden=${!this.hasTextContent()}>
1140
1147
  <slot @slotchange=${this.onSlotchange}></slot>
1141
1148
  </ft-typography>
1142
1149
  ${this.resolveIcon()}
1143
1150
  </button>
1144
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?i.html`
1145
- <ft-tooltip part="tooltip"
1146
- text="${this.getLabel()}"
1147
- position="${this.tooltipPosition}">
1148
- ${t}
1149
- </ft-tooltip>
1150
- `:t}resolveIcon(){return this.loading?i.html`
1151
- <ft-loader part="loader icon"></ft-loader> `:this.icon?i.html`
1152
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:i.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}}li.elementDefinitions={"ft-ripple":ye,"ft-tooltip":Ke,"ft-typography":ie,"ft-icon":Se,"ft-loader":qe},li.styles=[e.safariEllipsisFix,si],ni([o.property({type:String,reflect:!0})],li.prototype,"role",void 0),ni([o.property({type:Boolean})],li.prototype,"primary",void 0),ni([o.property({type:Boolean})],li.prototype,"outlined",void 0),ni([o.property({type:Boolean})],li.prototype,"disabled",void 0),ni([o.property({type:Boolean})],li.prototype,"dense",void 0),ni([o.property({type:Boolean})],li.prototype,"round",void 0),ni([o.property()],li.prototype,"label",void 0),ni([o.property()],li.prototype,"icon",void 0),ni([o.property()],li.prototype,"iconVariant",void 0),ni([o.property({type:Boolean})],li.prototype,"trailingIcon",void 0),ni([o.property({type:Boolean})],li.prototype,"loading",void 0),ni([o.property()],li.prototype,"tooltipPosition",void 0),ni([o.property({type:Boolean})],li.prototype,"hideTooltip",void 0),ni([o.property({type:Boolean})],li.prototype,"forceTooltip",void 0),ni([o.query(".ft-button")],li.prototype,"button",void 0),ni([o.query(".ft-button--label slot")],li.prototype,"slottedContent",void 0),e.customElement("ft-button")(li);class ri extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const ai={headerBackground:e.FtCssVariableFactory.create("--ft-filterable-table-header-background","COLOR","whitesmoke"),oddRowBackground:e.FtCssVariableFactory.create("--ft-filterable-table-odd-row-background","COLOR","#FFFFFF"),evenRowBackground:e.FtCssVariableFactory.create("--ft-filterable-table-even-row-background","COLOR","#fdfdfd"),rowHoverBackground:e.FtCssVariableFactory.create("--ft-filterable-table-row-hover-background","COLOR","#fafafa"),stickyHeaderZIndex:e.FtCssVariableFactory.create("--ft-filterable-table-sticky-header-zindex","NUMBER","100"),cellVerticalBorderWidth:e.FtCssVariableFactory.create("--ft-filterable-table-cell-vertical-border-width","SIZE","1px"),colorOnSurfaceHigh:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceHigh,"Design system"),titleFont:e.FtCssVariableFactory.external(e.designSystemVariables.titleFont,"Design system"),contentFont:e.FtCssVariableFactory.external(e.designSystemVariables.contentFont,"Design system")},pi=i.css`
1151
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?e.html`
1152
+ <ft-tooltip part="tooltip"
1153
+ text="${this.getLabel()}"
1154
+ position="${this.tooltipPosition}">
1155
+ ${t}
1156
+ </ft-tooltip>
1157
+ `:t}resolveIcon(){return this.loading?e.html`
1158
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
1159
+ <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}}ge.elementDefinitions={"ft-ripple":Io,"ft-tooltip":fe,"ft-typography":co,"ft-icon":Wo,"ft-loader":de},he([i.property({type:String,reflect:!0})],ge.prototype,"role",void 0),he([i.property()],ge.prototype,"type",void 0),he([i.property({type:Boolean})],ge.prototype,"disabled",void 0),he([i.property()],ge.prototype,"label",void 0),he([i.property()],ge.prototype,"icon",void 0),he([i.property()],ge.prototype,"iconVariant",void 0),he([i.property({type:Boolean})],ge.prototype,"trailingIcon",void 0),he([i.property({type:Boolean})],ge.prototype,"loading",void 0),he([i.property()],ge.prototype,"tooltipPosition",void 0),he([i.property({type:Boolean})],ge.prototype,"hideTooltip",void 0),he([i.property({type:Boolean})],ge.prototype,"forceTooltip",void 0),he([i.query(".ft-button")],ge.prototype,"button",void 0),he([i.query(".ft-button--label slot")],ge.prototype,"slottedContent",void 0);var ye=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ue extends ge{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!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"}}ue.styles=[o.safariEllipsisFix,ee],ye([i.property({type:Boolean})],ue.prototype,"primary",void 0),ye([i.property({type:Boolean})],ue.prototype,"outlined",void 0),ye([i.property({type:Boolean})],ue.prototype,"disabled",void 0),ye([i.property({type:Boolean})],ue.prototype,"dense",void 0),ye([i.property({type:Boolean})],ue.prototype,"round",void 0);const be=[e.css`
1160
+ :host {
1161
+ display: inline-block;
1162
+ max-width: 100%;
1163
+ pointer-events: none;
1164
+ }
1165
+
1166
+ /** Remove default button styles **/
1167
+
1168
+ button {
1169
+ box-shadow: 0 0 0 transparent;
1170
+ border: 0 solid transparent;
1171
+ text-shadow: 0 0 0 transparent;
1172
+ }
1173
+
1174
+ button:hover {
1175
+ box-shadow: 0 0 0 transparent;
1176
+ text-shadow: 0 0 0 transparent;
1177
+ }
1178
+
1179
+ button:active {
1180
+ outline: none;
1181
+ }
1182
+
1183
+ button:focus {
1184
+ outline: 0;
1185
+ }
1186
+
1187
+ /** Base styles **/
1188
+
1189
+ .ft-button {
1190
+ position: relative;
1191
+ display: flex;
1192
+ justify-content: center;
1193
+ align-items: center;
1194
+ width: 100%;
1195
+ overflow: hidden;
1196
+ box-sizing: border-box;
1197
+ pointer-events: auto;
1198
+ }
1199
+
1200
+ .ft-button:not([disabled]):hover {
1201
+ cursor: pointer;
1202
+ }
1203
+
1204
+ .ft-button:focus {
1205
+ outline: none;
1206
+ }
1207
+
1208
+ .ft-button:focus-visible {
1209
+ outline-color: ${ot.focusFocusRingColor};
1210
+ outline-style: solid;
1211
+ }
1212
+
1213
+ ft-icon {
1214
+ flex-shrink: 0;
1215
+ position: relative;
1216
+ }
1217
+
1218
+ .ft-button:not(.ft-button--trailing-icon) ft-icon,
1219
+ .ft-button:not(.ft-button--trailing-icon) ft-loader {
1220
+ order: -1;
1221
+ }
1222
+
1223
+ .ft-button--label {
1224
+ position: relative;
1225
+ overflow: hidden;
1226
+ white-space: nowrap;
1227
+ text-overflow: ellipsis;
1228
+ display: block;
1229
+ }
1230
+
1231
+ .ft-button--label[hidden] {
1232
+ display: none;
1233
+ }
1234
+
1235
+ /** Primary styles **/
1236
+
1237
+ .ft-button--primary {
1238
+ ${o.setVariable(To.color,ot.primaryIconColor)};
1239
+
1240
+ ${o.setVariable(uo.color,ot.primaryStateLayerColor)};
1241
+ ${o.setVariable(uo.opacityContentOnSurfaceHover,ot.primaryStateLayerOpacityHover)};
1242
+ ${o.setVariable(uo.opacityContentOnSurfaceFocused,ot.primaryStateLayerOpacityFocus)};
1243
+ ${o.setVariable(uo.opacityContentOnSurfaceSelected,ot.primaryStateLayerOpacityActive)};
1244
+ ${o.setVariable(uo.opacityContentOnSurfacePressed,ot.primaryStateLayerOpacityActive)};
1245
+
1246
+ background-color: ${ot.primaryBackgroundColor};
1247
+ color: ${ot.primaryColor};
1248
+ border-style: none;
1249
+ }
1250
+
1251
+ .ft-button--primary[disabled] {
1252
+ opacity: ${ot.primaryComponentOpacityDisabled};
1253
+ }
1254
+
1255
+ .ft-button--primary ft-icon {
1256
+ color: ${ot.primaryIconColor};
1257
+ }
1258
+
1259
+ /** Secondary styles **/
1260
+
1261
+ .ft-button--secondary {
1262
+ ${o.setVariable(To.color,ot.secondaryIconColor)};
1263
+
1264
+ ${o.setVariable(uo.color,ot.secondaryStateLayerColor)};
1265
+ ${o.setVariable(uo.opacityContentOnSurfaceHover,ot.secondaryStateLayerOpacityHover)};
1266
+ ${o.setVariable(uo.opacityContentOnSurfaceFocused,ot.secondaryStateLayerOpacityFocus)};
1267
+ ${o.setVariable(uo.opacityContentOnSurfaceSelected,ot.secondaryStateLayerOpacityActive)};
1268
+ ${o.setVariable(uo.opacityContentOnSurfacePressed,ot.secondaryStateLayerOpacityActive)};
1269
+
1270
+ background-color: ${ot.secondaryBackgroundColor};
1271
+ color: ${ot.secondaryColor};
1272
+ border-color: ${ot.secondaryBorderColor};
1273
+ border-style: solid;
1274
+ }
1275
+
1276
+ .ft-button--secondary[disabled] {
1277
+ opacity: ${ot.secondaryComponentOpacityDisabled};
1278
+ }
1279
+
1280
+ .ft-button--secondary ft-icon {
1281
+ color: ${ot.secondaryIconColor};
1282
+ }
1283
+
1284
+ /** Tertiary styles **/
1285
+
1286
+ .ft-button--tertiary {
1287
+ ${o.setVariable(To.color,ot.tertiaryIconColor)};
1288
+
1289
+ ${o.setVariable(uo.color,ot.tertiaryStateLayerColor)};
1290
+ ${o.setVariable(uo.opacityContentOnSurfaceHover,ot.tertiaryStateLayerOpacityHover)};
1291
+ ${o.setVariable(uo.opacityContentOnSurfaceFocused,ot.tertiaryStateLayerOpacityFocus)};
1292
+ ${o.setVariable(uo.opacityContentOnSurfaceSelected,ot.tertiaryStateLayerOpacityActive)};
1293
+ ${o.setVariable(uo.opacityContentOnSurfacePressed,ot.tertiaryStateLayerOpacityActive)};
1294
+
1295
+ background-color: ${ot.tertiaryBackgroundColor};
1296
+ color: ${ot.tertiaryColor};
1297
+ border-style: none;
1298
+ }
1299
+
1300
+ .ft-button--tertiary[disabled] {
1301
+ opacity: ${ot.tertiaryComponentOpacityDisabled};
1302
+ }
1303
+
1304
+ .ft-button--tertiary ft-icon {
1305
+ color: ${ot.tertiaryIconColor};
1306
+ }
1307
+
1308
+ /** Neutral styles **/
1309
+
1310
+ .ft-button--neutral {
1311
+ ${o.setVariable(To.color,ot.neutralIconColor)};
1312
+
1313
+ ${o.setVariable(uo.backgroundColor,ot.neutralStateLayerColor)};
1314
+ ${o.setVariable(uo.opacityContentOnSurfaceHover,ot.neutralStateLayerOpacityHover)};
1315
+ ${o.setVariable(uo.opacityContentOnSurfaceFocused,ot.neutralStateLayerOpacityFocus)};
1316
+ ${o.setVariable(uo.opacityContentOnSurfaceSelected,ot.neutralStateLayerOpacityActive)};
1317
+ ${o.setVariable(uo.opacityContentOnSurfacePressed,ot.neutralStateLayerOpacityActive)};
1318
+
1319
+ background-color: ${ot.neutralBackgroundColor};
1320
+ color: ${ot.neutralColor};
1321
+ border-style: none;
1322
+ }
1323
+
1324
+ .ft-button--neutral[disabled] {
1325
+ opacity: ${ot.neutralComponentOpacityDisabled};
1326
+ }
1327
+
1328
+ .ft-button--neutral ft-icon {
1329
+ color: ${ot.neutralIconColor};
1330
+ }
1331
+
1332
+ /** Large styles **/
1333
+
1334
+ .ft-button--large {
1335
+ ${o.setVariable(ko.size,ot.largeIconSize)};
1336
+ ${o.setVariable(To.size,ot.largeIconSize)};
1337
+
1338
+ height: ${ot.largeHeight};
1339
+ padding: 0 ${ot.largeHorizontalPadding};
1340
+ gap: ${ot.largeGap};
1341
+ border-radius: ${ot.largeBorderRadius};
1342
+ border-width: ${ot.largeBorderWidth};
1343
+ }
1344
+
1345
+ .ft-button--large:focus-visible {
1346
+ outline-width: ${ot.largeFocusOutlineWidth};
1347
+ outline-offset: ${ot.largeFocusOutlineOffset};
1348
+ }
1349
+
1350
+ .ft-button--large.ft-button--icon-only {
1351
+ width: ${ot.largeIconOnlyWidth};
1352
+ padding: unset;
1353
+ }
1354
+
1355
+ /** Small styles **/
1356
+
1357
+ .ft-button--small {
1358
+ ${o.setVariable(ko.size,ot.smallIconSize)};
1359
+ ${o.setVariable(To.size,ot.smallIconSize)};
1360
+
1361
+ height: ${ot.smallHeight};
1362
+ padding: 0 ${ot.smallHorizontalPadding};
1363
+ gap: ${ot.smallGap};
1364
+ border-radius: ${ot.smallBorderRadius};
1365
+ border-width: ${ot.smallBorderWidth};
1366
+ }
1367
+
1368
+ .ft-button--small:focus-visible {
1369
+ outline-width: ${ot.smallFocusOutlineWidth};
1370
+ outline-offset: ${ot.smallFocusOutlineOffset};
1371
+ }
1372
+
1373
+ .ft-button--small.ft-button--icon-only {
1374
+ width: ${ot.smallIconOnlyWidth};
1375
+ padding: unset;
1376
+ }
1377
+ `,o.noTextSelect];var me=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class xe extends ge{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}}xe.styles=[o.safariEllipsisFix,be],me([i.property({type:Boolean})],xe.prototype,"primary",void 0),me([i.property({type:Boolean})],xe.prototype,"secondary",void 0),me([i.property({type:Boolean})],xe.prototype,"tertiary",void 0),me([i.property({type:Boolean})],xe.prototype,"neutral",void 0),me([i.property({type:Boolean})],xe.prototype,"small",void 0),o.customElement("ft-button")(ue),o.customElement("ftds-button")(xe);class ve extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const Oe={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","100"),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")},$e=e.css`
1153
1378
  :host {
1154
1379
  display: block;
1155
1380
  }
@@ -1165,15 +1390,15 @@ const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SI
1165
1390
  .header-cell {
1166
1391
  display: flex;
1167
1392
  flex-direction: column;
1168
- background: ${ai.headerBackground};
1169
- color: ${ai.colorOnSurfaceHigh};
1393
+ background: ${Oe.headerBackground};
1394
+ color: ${Oe.colorOnSurfaceHigh};
1170
1395
  padding: .5rem 1rem;
1171
- font-family: ${ai.titleFont};
1396
+ font-family: ${Oe.titleFont};
1172
1397
  }
1173
1398
 
1174
1399
  .header-cell--sticky {
1175
1400
  top: 0;
1176
- z-index: ${ai.stickyHeaderZIndex};
1401
+ z-index: ${Oe.stickyHeaderZIndex};
1177
1402
  position: sticky;
1178
1403
  }
1179
1404
 
@@ -1191,8 +1416,8 @@ const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SI
1191
1416
  }
1192
1417
 
1193
1418
  .column-title-container ft-button {
1194
- ${e.setVariable(Ye.backgroundColor,ai.headerBackground)};
1195
- ${e.setVariable(Ye.color,ai.colorOnSurfaceHigh)};
1419
+ ${o.setVariable(Yo.backgroundColor,Oe.headerBackground)};
1420
+ ${o.setVariable(Yo.color,Oe.colorOnSurfaceHigh)};
1196
1421
  }
1197
1422
 
1198
1423
  .column-title {
@@ -1221,31 +1446,31 @@ const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SI
1221
1446
 
1222
1447
  .cell {
1223
1448
  padding: 1rem;
1224
- border-left-color: ${ai.headerBackground};
1449
+ border-left-color: ${Oe.headerBackground};
1225
1450
  border-left-style: solid;
1226
- border-left-width: ${ai.cellVerticalBorderWidth};
1227
- border-bottom: 1px solid ${ai.headerBackground};
1451
+ border-left-width: ${Oe.cellVerticalBorderWidth};
1452
+ border-bottom: 1px solid ${Oe.headerBackground};
1228
1453
  overflow-x: auto;
1229
1454
  display: flex;
1230
1455
  align-items: center;
1231
- font-family: ${ai.contentFont};
1456
+ font-family: ${Oe.contentFont};
1232
1457
  }
1233
1458
 
1234
1459
  /* Even is 2n+1 and odd is 2n because of the header */
1235
1460
  .row:nth-child(2n) > .cell {
1236
- background: ${ai.oddRowBackground};
1461
+ background: ${Oe.oddRowBackground};
1237
1462
  }
1238
1463
 
1239
1464
  .row:nth-child(2n + 1) > .cell {
1240
- background: ${ai.evenRowBackground};
1465
+ background: ${Oe.evenRowBackground};
1241
1466
  }
1242
1467
 
1243
1468
  .row:hover > .cell {
1244
- background: ${ai.rowHoverBackground};
1469
+ background: ${Oe.rowHoverBackground};
1245
1470
  }
1246
1471
 
1247
1472
  .cell:last-of-type {
1248
- border-right: 1px solid ${ai.headerBackground};
1473
+ border-right: 1px solid ${Oe.headerBackground};
1249
1474
  }
1250
1475
 
1251
1476
  .row:last-of-type .cell:first-of-type {
@@ -1259,7 +1484,7 @@ const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SI
1259
1484
  .hidden {
1260
1485
  visibility: hidden;
1261
1486
  }
1262
- `;var fi=function(t,e,i,o){for(var s,n=arguments.length,l=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(l=(n<3?s(l):n>3?s(e,i,l):s(e,i))||l);return n>3&&l&&Object.defineProperty(e,i,l),l};const di=t=>i.html`${t}`,hi=(t,e)=>t-e;class ci extends e.FtLitElement{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.filters=[],this.selectData=[]}init(t,e,i){this.data=t,this.columns=e,this.sort=i}render(){let t=this.sortData(this.filterData());return i.html`
1487
+ `;var Ne=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};const Se=t=>e.html`${t}`,we=(t,o)=>t-o;class Ce 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`
1263
1488
  <style>
1264
1489
  .table {
1265
1490
  grid-template-columns: repeat(${this.columns.length}, minmax(min-content, auto));
@@ -1267,60 +1492,60 @@ const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SI
1267
1492
  </style>
1268
1493
  <div class="table">
1269
1494
  <div class="header">
1270
- ${s.repeat(this.columns,((t,e)=>"header-cell-"+e),((t,e)=>this.renderHeader(t,e)))}
1495
+ ${r.repeat(this.columns,((t,o)=>"header-cell-"+o),((t,o)=>this.renderHeader(t,o)))}
1271
1496
  </div>
1272
- ${s.repeat(t,((t,e)=>"row-"+e),((t,e)=>i.html`
1497
+ ${r.repeat(t,((t,o)=>"row-"+o),((t,o)=>e.html`
1273
1498
  <div class="row"
1274
- @click=${()=>this.dispatchEvent(new ri(t))}>
1275
- ${s.repeat(this.columns,((t,i)=>"cell-"+i+"-"+e),((i,o)=>this.renderCell(i,o,t,e)))}
1499
+ @click=${()=>this.dispatchEvent(new ve(t))}>
1500
+ ${r.repeat(this.columns,((t,e)=>"cell-"+e+"-"+o),((e,i)=>this.renderCell(e,i,t,o)))}
1276
1501
  </div>
1277
1502
  `))}
1278
1503
  </div>
1279
- `}filterData(){return this.filters.reduce(((t,e,i)=>{var o;const s=this.columns[i];if(e&&e.value)switch(null!==(o=s.filter)&&void 0!==o?o:"text"){case"text":return t.filter((t=>this.getValueAsString(s,t,i).toLowerCase().includes(e.value.toLowerCase())));case"select":return t.filter((t=>this.getValueAsString(s,t,i)===e.value))}return t}),this.data)}sortData(t){var e;if(this.currentSort){const i=this.columns[this.currentSort.column],o=null!==(e=i.comparator)&&void 0!==e?e:hi,s="asc"===this.currentSort.order?o:(t,e)=>-o(t,e);return[...t].sort(((t,e)=>s(this.getValue(i,t),this.getValue(i,e))))}return t}update(t){super.update(t),t.has("sort")&&(this.currentSort=this.sort),(t.has("data")||t.has("columns"))&&this.updateSelectData()}updateSelectData(){this.selectData=[];const t=this.data,e=this.columns;for(let i in e){const o=e[i];"select"===o.filter&&(this.selectData[i]=[...new Set(t.map(((t,e)=>this.getValueAsString(o,t,e))))].sort(((t,e)=>t.localeCompare(e))))}this.requestUpdate()}renderHeader(t,e){const o={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return i.html`
1280
- <div class="${l.classMap(o)}"
1281
- part="${this.columnPart("header-cell",e)}">
1504
+ `}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:we,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`
1505
+ <div class="${n.classMap(i)}"
1506
+ part="${this.columnPart("header-cell",o)}">
1282
1507
  <div class="column-title-container">
1283
1508
  <span class="column-title"
1284
- part="${this.columnPart("title",e)}">
1509
+ part="${this.columnPart("title",o)}">
1285
1510
  ${t.title}
1286
1511
  </span>
1287
- ${this.renderColumnSort(t,e)}
1512
+ ${this.renderColumnSort(t,o)}
1288
1513
  </div>
1289
- ${this.renderColumnFilter(t,e)}
1514
+ ${this.renderColumnFilter(t,o)}
1290
1515
  </div>
1291
- `}renderColumnSort(t,e){var o;const s=this.currentSort&&this.currentSort.column===e,n=s?"asc"===this.currentSort.order?"expand_more":"expand_less":"unfold_more";return i.html`
1516
+ `}renderColumnSort(t,o){var i;const r=this.currentSort&&this.currentSort.column===o,a=r?"asc"===this.currentSort.order?"expand_more":"expand_less":"unfold_more";return e.html`
1292
1517
  <ft-button
1293
1518
  round
1294
1519
  dense
1295
- class="${null===(o=t.sortable)||void 0===o||o?"":"hidden"}"
1520
+ class="${null===(i=t.sortable)||void 0===i||i?"":"hidden"}"
1296
1521
  iconVariant="material"
1297
- icon="${n}"
1522
+ icon="${a}"
1298
1523
  label="Sort ${t.title}"
1299
- @click=${()=>{var t;s?"asc"===(null===(t=this.currentSort)||void 0===t?void 0:t.order)?this.currentSort={column:e,order:"desc"}:this.currentSort=void 0:this.currentSort={column:e,order:"asc"}}}
1300
- part="${this.columnPart("sort-button",e)}"
1524
+ @click=${()=>{var t;r?"asc"===(null===(t=this.currentSort)||void 0===t?void 0:t.order)?this.currentSort={column:o,order:"desc"}:this.currentSort=void 0:this.currentSort={column:o,order:"asc"}}}
1525
+ part="${this.columnPart("sort-button",o)}"
1301
1526
  ></ft-button>
1302
- `}renderColumnFilter(t,e){var o,s;const n=t=>{this.filters[e]={value:t.detail},this.requestUpdate()};switch(null!==(o=t.filter)&&void 0!==o?o:"text"){case"text":return i.html`
1303
- <div class="column-filter" part="${this.columnPart("filter-container",e)}">
1527
+ `}renderColumnFilter(t,o){var i,r;const a=t=>{this.filters[o]={value:t.detail},this.requestUpdate()};switch(null!==(i=t.filter)&&void 0!==i?i:"text"){case"text":return e.html`
1528
+ <div class="column-filter" part="${this.columnPart("filter-container",o)}">
1304
1529
  <ft-text-field
1305
1530
  label="Search ${t.title}"
1306
- @live-change="${n}"
1307
- part="${this.columnPart("filter",e)}"
1531
+ @live-change="${a}"
1532
+ part="${this.columnPart("filter",o)}"
1308
1533
  ></ft-text-field>
1309
1534
  </div>
1310
- `;case"select":const o=null!==(s=this.selectData[e])&&void 0!==s?s:[];return o.length?i.html`
1311
- <div class="column-filter" part="${this.columnPart("filter-container",e)}">
1535
+ `;case"select":const i=null!==(r=this.selectData[o])&&void 0!==r?r:[];return i.length?e.html`
1536
+ <div class="column-filter" part="${this.columnPart("filter-container",o)}">
1312
1537
  <ft-select label="Filter ${t.title}"
1313
- @change=${n}
1314
- part="${this.columnPart("filter",e)}">
1538
+ @change=${a}
1539
+ part="${this.columnPart("filter",o)}">
1315
1540
  <ft-select-option></ft-select-option>
1316
- ${o.map((t=>i.html`
1541
+ ${i.map((t=>e.html`
1317
1542
  <ft-select-option value="${t}" label="${t}"></ft-select-option>
1318
1543
  `))}
1319
1544
  </ft-select>
1320
1545
  </div>
1321
- `:i.nothing}return i.nothing}columnPart(t,e){return`${t} ${t}-column-${e}`}renderCell(t,e,o,s){var l;const r=null!==(l=t.render)&&void 0!==l?l:di;return i.html`
1546
+ `:e.nothing}return e.nothing}columnPart(t,o){return`${t} ${t}-column-${o}`}renderCell(t,o,i,r){var n;const l=null!==(n=t.render)&&void 0!==n?n:Se;return e.html`
1322
1547
  <div class="cell"
1323
- part="${this.columnPart("cell",e)} cell-row-${s} cell-column-${e}-row-${s}">
1324
- ${(t=>{const e=r(t,s);return"string"==typeof e?n.unsafeHTML(e):e})(this.getValue(t,o))}
1548
+ part="${this.columnPart("cell",o)} cell-row-${r} cell-column-${o}-row-${r}">
1549
+ ${(t=>{const o=l(t,r);return"string"==typeof o?a.unsafeHTML(o):o})(this.getValue(t,i))}
1325
1550
  </div>
1326
- `}getValue(t,e){return"string"==typeof t.getter?e[t.getter]:t.getter(e)}getValueAsString(t,e,i){const o=this.getValue(t,e);return"function"==typeof t.stringify?t.stringify(o,i):(t=>""+t)(o)}}ci.styles=pi,fi([o.property({attribute:!1})],ci.prototype,"data",void 0),fi([o.property({attribute:!1})],ci.prototype,"columns",void 0),fi([o.property({attribute:!1})],ci.prototype,"sort",void 0),fi([o.property()],ci.prototype,"stickyHeaders",void 0),fi([o.state()],ci.prototype,"currentSort",void 0),e.customElement("ft-filterable-table")(ci),t.FtFilterableTable=ci,t.FtFilterableTableCssVariables=ai,t.RowClickEvent=ri,t.styles=pi}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litRepeat,ftGlobals.litUnsafeHTML,ftGlobals.litClassMap);
1551
+ `}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)}}Ce.styles=$e,Ne([i.property({attribute:!1})],Ce.prototype,"data",void 0),Ne([i.property({attribute:!1})],Ce.prototype,"columns",void 0),Ne([i.property({attribute:!1})],Ce.prototype,"sort",void 0),Ne([i.property()],Ce.prototype,"stickyHeaders",void 0),Ne([i.state()],Ce.prototype,"currentSort",void 0),o.customElement("ft-filterable-table")(Ce),t.FtFilterableTable=Ce,t.FtFilterableTableCssVariables=Oe,t.RowClickEvent=ve,t.styles=$e}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litRepeat,ftGlobals.litUnsafeHTML,ftGlobals.litClassMap);