@fluid-topics/ft-filterable-table 1.1.70 → 1.1.72

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,145 +1,137 @@
1
- !function(t,o,e,i,r,n,a){
2
- /**
3
- * @license
4
- * Copyright 2017 Google LLC
5
- * SPDX-License-Identifier: BSD-3-Clause
6
- */
7
- const l=globalThis,s=l.trustedTypes,c=s?s.createPolicy("lit-html",{createHTML:t=>t}):void 0,p="$lit$",f=`lit$${(Math.random()+"").slice(9)}$`,d="?"+f,h=`<${d}>`,u=document,g=()=>u.createComment(""),b=t=>null===t||"object"!=typeof t&&"function"!=typeof t,y=Array.isArray,m="[ \t\n\f\r]",x=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,O=/>/g,N=RegExp(`>|${m}(?:([^\\s"'>=/]+)(${m}*=${m}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),w=/'/g,$=/"/g,S=/^(?:script|style|textarea|title)$/i,C=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),I=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),k=new WeakMap,W=u.createTreeWalker(u,129);function U(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==c?c.createHTML(o):o}const R=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=x;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,d=0;for(;d<e.length&&(a.lastIndex=d,s=a.exec(e),null!==s);)d=a.lastIndex,a===x?"!--"===s[1]?a=v:void 0!==s[1]?a=O:void 0!==s[2]?(S.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=N):void 0!==s[3]&&(a=N):a===N?">"===s[0]?(a=r??x,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?N:'"'===s[3]?$:w):a===$||a===w?a=N:a===v||a===O?a=x:(a=N,r=void 0);const u=a===N&&t[o+1].startsWith("/>")?" ":"";n+=a===x?e+h:c>=0?(i.push(l),e.slice(0,c)+p+e.slice(c)+f+u):e+f+(-2===c?o:u)}return[U(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class z{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[c,h]=R(t,o);if(this.el=z.createElement(c,e),W.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=W.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(p)){const o=h[n++],e=i.getAttribute(t).split(f),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?F:"?"===a[1]?B:"@"===a[1]?H:D}),i.removeAttribute(t)}else t.startsWith(f)&&(l.push({type:6,index:r}),i.removeAttribute(t));if(S.test(i.tagName)){const t=i.textContent.split(f),o=t.length-1;if(o>0){i.textContent=s?s.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],g()),W.nextNode(),l.push({type:2,index:++r});i.append(t[o],g())}}}else if(8===i.nodeType)if(i.data===d)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(f,t+1));)l.push({type:7,index:r}),t+=f.length-1}r++}}static createElement(t,o){const e=u.createElement("template");return e.innerHTML=t,e}}function Z(t,o,e=t,i){if(o===I)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=b(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=Z(t,r._$AS(t,o.values),r,i)),o}class L{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??u).importNode(o,!0);W.currentNode=i;let r=W.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new K(r,r.nextSibling,this,t):1===l.type?o=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(o=new A(r,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(r=W.nextNode(),n++)}return W.currentNode=u,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class K{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Z(this,t,o),b(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==I&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>y(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==E&&b(this._$AH)?this._$AA.nextSibling.data=t:this.$(u.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=z.createElement(U(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new L(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=k.get(t.strings);return void 0===o&&k.set(t.strings,o=new z(t)),o}T(t){y(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new K(this.k(g()),this.k(g()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class D{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=E}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=Z(this,t,o,0),n=!b(t)||t!==this._$AH&&t!==I,n&&(this._$AH=t);else{const i=t;let a,l;for(t=r[0],a=0;a<r.length-1;a++)l=Z(this,i[e+a],o,a),l===I&&(l=this._$AH[a]),n||=!b(l)||l!==this._$AH[a],l===E?t=E:t!==E&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}n&&!i&&this.O(t)}O(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class F extends D{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===E?void 0:t}}class B extends D{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==E)}}class H extends D{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=Z(this,t,o,0)??E)===I)return;const e=this._$AH,i=t===E&&e!==E||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==E&&(e===E||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class A{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Z(this,t)}}const G=l.litHtmlPolyfillSupport;G?.(z,K),(l.litHtmlVersions??=[]).push("3.1.0");
8
- /**
9
- * @license
10
- * Copyright 2020 Google LLC
11
- * SPDX-License-Identifier: BSD-3-Clause
12
- */
13
- const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litStatic$:t,r:P}),T=new Map,_=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],l=[];let s,c=0,p=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(n=e[c],r=j(n));)s+=r+o[++c],p=!0;c!==i&&l.push(n),a.push(s),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=T.get(t))&&(a.raw=a,T.set(t,o=a)),e=l}return t(o,...e)})(C);var V;!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"}(V||(V={}));const Y=t=>"string"==typeof t?e.unsafeCSS(t):t;class X{static create(t,o,i,r){const n=t=>Y(null!=t?t:r),a=e.css`var(${Y(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${Y(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,o,i,r){const n=t=>i.get(null!=t?t:r),a=e.css`var(${Y(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${Y(t)}, ${n(o)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):Y(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${Y(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(${Y(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const q={colorWhite:X.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:X.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:X.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:X.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:X.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:X.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:X.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:X.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:X.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:X.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:X.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:X.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:X.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:X.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:X.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:X.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:X.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:X.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:X.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:X.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:X.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:X.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:X.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:X.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:X.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:X.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:X.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:X.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:X.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:X.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:X.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:X.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:X.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:X.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:X.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:X.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:X.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:X.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:X.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:X.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:X.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:X.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:X.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:X.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:X.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:X.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:X.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:X.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:X.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:X.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:X.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:X.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:X.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:X.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:X.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:X.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:X.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:X.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:X.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:X.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:X.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:X.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:X.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:X.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:X.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:X.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:X.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:X.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:X.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:X.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:X.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:X.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:X.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:X.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:X.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:X.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:X.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:X.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:X.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:X.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:X.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:X.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:X.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:X.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:X.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:X.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:X.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:X.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:X.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:X.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:X.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:X.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:X.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:X.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:X.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:X.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:X.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:X.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:X.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:X.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:X.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:X.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:X.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:X.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:X.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:X.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:X.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:X.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:X.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:X.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:X.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:X.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:X.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:X.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:X.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:X.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:X.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:X.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:X.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:X.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:X.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:X.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:X.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:X.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:X.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:X.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:X.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:X.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:X.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:X.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:X.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:X.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:X.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:X.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:X.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:X.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:X.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:X.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:X.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:X.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:X.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:X.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:X.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:X.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:X.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:X.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:X.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:X.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:X.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:X.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:X.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:X.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:X.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:X.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:X.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:X.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:X.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:X.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:X.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:X.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:X.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:X.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:X.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:X.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:X.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:X.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:X.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:X.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:X.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:X.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:X.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:X.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:X.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:X.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:X.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:X.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:X.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:X.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:X.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:X.create("--ft-icon-size-6","","SIZE","48px"),opacity0:X.create("--ft-opacity-0","","NUMBER","0"),opacity8:X.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:X.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:X.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:X.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:X.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:X.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:X.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:X.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:X.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:X.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:X.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:X.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:X.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:X.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},J={display:{fontFamily:X.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:X.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:X.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:X.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:X.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:X.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:X.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:X.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:X.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:X.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:X.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:X.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:X.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:X.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:X.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:X.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:X.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:X.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:X.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:X.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:X.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:X.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-medium-underline":{fontFamily:X.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:X.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:X.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},"body-2-semibold":{fontFamily:X.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:X.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:X.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:X.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:X.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:X.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:X.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:X.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:X.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:X.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:X.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:X.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:X.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:X.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:X.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:X.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:X.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:X.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:X.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:X.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:X.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:X.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},Q={backgroundActionPrimary:X.extend("--ft-background-action-primary","Used as backgorund of primary action components.",q.colorBrand0),backgroundErrorSubtle:X.extend("--ft-background-error-subtle","Used as background of subtle error components.",q.colorRed10),backgroundInfoSubtle:X.extend("--ft-background-info-subtle","Used as background of subtle information components.",q.colorCyan10),backgroundWarningSubtle:X.extend("--ft-background-warning-subtle","Used as background of subtle information components.",q.colorOrange10),backgroundSuccessSubtle:X.extend("--ft-background-success-subtle","Used as background of subtle success components.",q.colorGreen10),backgroundGlobalSurface:X.extend("--ft-background-global-surface","Used as app background.",q.colorWhite),backgroundGlobalOnSurface:X.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",q.colorGray10),backgroundGlobalOnSurfaceDark:X.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",q.colorGray30),contentActionPrimary:X.extend("--ft-content-action-primary","Used on label of primary action on light surface.",q.colorBrand0),contentWarningPrimary:X.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",q.colorOrange200),contentWarningIconOnly:X.extend("--ft-content-warning-icon-only","Used on warning status icons alone",q.colorOrange0),contentErrorPrimary:X.extend("--ft-content-error-primary","Used on label of error messages on light surface.",q.colorRed0),contentErrorIconOnly:X.extend("--ft-content-error-icon-only","Used on error status icons alone",q.colorRed70),contentInfoPrimary:X.extend("--ft-content-info-primary","Used on label of information messages on light surface.",q.colorCyan200),contentInfoIconOnly:X.extend("--ft-content-info-icon-only","Used on info status icons alone",q.colorCyan0),contentSuccessPrimary:X.extend("--ft-content-success-primary","Used on label of success messages on light surface.",q.colorGreen200),contentSuccessIconOnly:X.extend("--ft-content-success-icon-only","Used on success status icons alone",q.colorGreen0),contentGlobalPrimary:X.extend("--ft-content-global-primary","Used for main content on the page.",q.colorGray500),contentGlobalSecondary:X.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",q.colorGray200),contentGlobalSubtle:X.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",q.colorGray0),contentGlobalOnColor:X.extend("--ft-content-global-on-color","Used for content on a dominant color.",q.colorWhite),borderActionPrimary:X.extend("--ft-border-action-primary","Used as border for primary action components.",q.colorBrand0),borderActionFocusRing:X.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",q.colorCyan0),borderWarningPrimary:X.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",q.colorOrange200),borderWarningSubtle:X.extend("--ft-border-warning-subtle","Used as border for warning components.",q.colorOrange30),borderSuccessPrimary:X.extend("--ft-border-success-primary","Used as border for success buttons.",q.colorGreen200),borderSuccessSubtle:X.extend("--ft-border-success-subtle","Used as border for success components.",q.colorGreen30),borderErrorPrimary:X.extend("--ft-border-error-primary","Used as border for text fields in error states.",q.colorRed0),borderErrorSubtle:X.extend("--ft-border-error-subtle","Used as border for error components.",q.colorRed30),borderInfoPrimary:X.extend("--ft-border-info-primary","Used as border for buttons in info color.",q.colorCyan200),borderInfoSubtle:X.extend("--ft-border-info-subtle","Used as border for information components.",q.colorCyan30),borderGlobalPrimary:X.extend("--ft-border-global-primary","Used as border for element like input.",q.colorGray50),borderGlobalSubtle:X.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",q.colorGray30),borderInputPrimary:X.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",q.colorGray80)},tt={largeHeight:X.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:X.extend("--ft-button-large-horizontal-padding","",q.spacing4),largeGap:X.extend("--ft-button-large-gap","",q.spacing2),largeBorderRadius:X.extend("--ft-button-large-border-radius","",q.borderRadiusS),largeIconSize:X.extend("--ft-button-large-icon-size","",q.iconSize3),largeBorderWidth:X.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:X.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:X.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:X.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:X.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:X.extend("--ft-button-small-horizontal-padding","",q.spacing3),smallGap:X.extend("--ft-button-small-gap","",q.spacing2),smallBorderRadius:X.extend("--ft-button-small-border-radius","",q.borderRadiusS),smallIconSize:X.extend("--ft-button-small-icon-size","",q.iconSize2),smallBorderWidth:X.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:X.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:X.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:X.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:X.extend("--ft-button-primary-background-color","",Q.backgroundActionPrimary),primaryColor:X.extend("--ft-button-primary-color","",Q.contentGlobalOnColor),primaryIconColor:X.extend("--ft-button-primary-icon-color","",Q.contentGlobalOnColor),primaryStateLayerColor:X.extend("--ft-button-primary-state-layer-color","",Q.contentGlobalOnColor),primaryHoverStateLayerOpacity:X.extend("--ft-button-primary-hover-state-layer-opacity","",q.opacity16),primaryFocusStateLayerOpacity:X.extend("--ft-button-primary-focus-state-layer-opacity","",q.opacity16),primaryActiveStateLayerOpacity:X.extend("--ft-button-primary-active-state-layer-opacity","",q.opacity24),primaryDisabledComponentOpacity:X.extend("--ft-button-primary-disabled-component-opacity","",q.opacity40),focusFocusRingColor:X.extend("--ft-button-focus-focus-ring-color","",Q.borderActionFocusRing),tertiaryBackgroundColor:X.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:X.extend("--ft-button-tertiary-color","",Q.contentActionPrimary),tertiaryIconColor:X.extend("--ft-button-tertiary-icon-color","",Q.contentActionPrimary),tertiaryStateLayerColor:X.extend("--ft-button-tertiary-state-layer-color","",Q.contentActionPrimary),tertiaryHoverStateLayerOpacity:X.extend("--ft-button-tertiary-hover-state-layer-opacity","",q.opacity8),tertiaryFocusStateLayerOpacity:X.extend("--ft-button-tertiary-focus-state-layer-opacity","",q.opacity8),tertiaryActiveStateLayerOpacity:X.extend("--ft-button-tertiary-active-state-layer-opacity","",q.opacity16),tertiaryDisabledComponentOpacity:X.extend("--ft-button-tertiary-disabled-component-opacity","",q.opacity40),secondaryBackgroundColor:X.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:X.extend("--ft-button-secondary-color","",Q.contentActionPrimary),secondaryIconColor:X.extend("--ft-button-secondary-icon-color","",Q.contentActionPrimary),secondaryStateLayerColor:X.extend("--ft-button-secondary-state-layer-color","",Q.contentActionPrimary),secondaryHoverStateLayerOpacity:X.extend("--ft-button-secondary-hover-state-layer-opacity","",q.opacity8),secondaryFocusStateLayerOpacity:X.extend("--ft-button-secondary-focus-state-layer-opacity","",q.opacity8),secondaryActiveStateLayerOpacity:X.extend("--ft-button-secondary-active-state-layer-opacity","",q.opacity16),secondaryDisabledComponentOpacity:X.extend("--ft-button-secondary-disabled-component-opacity","",q.opacity40),secondaryBorderColor:X.extend("--ft-button-secondary-border-color","",Q.borderActionPrimary),neutralBackgroundColor:X.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:X.extend("--ft-button-neutral-icon-color","",Q.contentGlobalSecondary),neutralColor:X.extend("--ft-button-neutral-color","",Q.contentGlobalSecondary),neutralStateLayerColor:X.extend("--ft-button-neutral-state-layer-color","",Q.contentGlobalSecondary),neutralHoverStateLayerOpacity:X.extend("--ft-button-neutral-hover-state-layer-opacity","",q.opacity8),neutralFocusStateLayerOpacity:X.extend("--ft-button-neutral-focus-state-layer-opacity","",q.opacity8),neutralActiveStateLayerOpacity:X.extend("--ft-button-neutral-active-state-layer-opacity","",q.opacity16),neutralDisabledComponentOpacity:X.extend("--ft-button-neutral-disabled-component-opacity","",q.opacity40)};X.extend("--ft-banner-icon-size","",q.iconSize5),X.create("--ft-banner-border-width","","SIZE","1px"),X.extend("--ft-banner-horizontal-padding","",q.spacing6),X.extend("--ft-banner-vertical-padding","",q.spacing6),X.extend("--ft-banner-horizontal-side-gap","",q.spacing6),X.extend("--ft-banner-horizontal-mobile-gap","",q.spacing4),X.extend("--ft-banner-vertical-mobile-gap","",q.spacing6),X.extend("--ft-banner-horizontal-middle-gap","",q.spacing20),X.extend("--ft-banner-info-background-color","",Q.backgroundInfoSubtle),X.extend("--ft-banner-info-color","",Q.contentInfoPrimary),X.extend("--ft-banner-info-icon-color","",Q.contentInfoIconOnly),X.extend("--ft-breadcrumb-horizontal-gap","",q.spacing1),X.extend("--ft-breadcrumb-vertical-gap","",q.spacing2),X.extend("--ft-breadcrumb-current-element-color","",Q.contentGlobalPrimary),X.extend("--ft-breadcrumb-icon-color","",Q.contentGlobalSubtle),X.extend("--ft-page-header-horizontal-padding","",q.spacing12),X.extend("--ft-page-header-horizontal-gap","",q.spacing4),X.extend("--ft-page-header-vertical-gap","",q.spacing2),X.extend("--ft-page-header-classic-vertical-padding","",q.spacing6),X.extend("--ft-page-header-multiline-vertical-padding","",q.spacing4),X.extend("--ft-page-header-inline-vertical-padding","",q.spacing2),X.extend("--ft-page-header-background-color","",q.colorWhite),X.extend("--ft-page-header-bottom-border-color","",Q.borderGlobalSubtle),X.extend("--ft-page-header-title-color","",Q.contentGlobalPrimary),X.extend("--ft-page-header-subtitle-color","",Q.contentGlobalSecondary),X.create("--ft-modal-small-container-width","","SIZE","600px"),X.create("--ft-modal-large-container-width","","SIZE","900px"),X.extend("--ft-modal-overlay-background-color","",q.colorGray700),X.extend("--ft-modal-overlay-opacity","",q.opacity40),X.extend("--ft-modal-shadow","",q.shadowElevation03),X.extend("--ft-modal-body-background-color","",q.colorWhite),X.extend("--ft-modal-body-color","",Q.contentGlobalPrimary),X.extend("--ft-modal-body-horizontal-padding","",q.spacing6),X.extend("--ft-modal-body-vertical-padding","",q.spacing6),X.extend("--ft-modal-body-vertical-gap","",q.spacing6),X.extend("--ft-modal-container-margin","",q.spacing3),X.extend("--ft-modal-header-background-color","",Q.backgroundGlobalOnSurface),X.extend("--ft-modal-header-border-color","",Q.borderGlobalSubtle),X.extend("--ft-modal-header-color","",Q.contentGlobalPrimary),X.extend("--ft-modal-header-trailing-icon-color","",Q.contentGlobalSecondary),X.extend("--ft-modal-header-vertical-padding","",q.spacing1),X.extend("--ft-modal-header-right-padding","",q.spacing1),X.extend("--ft-modal-header-left-padding","",q.spacing6),X.extend("--ft-modal-header-gap","",q.spacing2),X.create("--ft-modal-header-border-bottom","","SIZE","1px"),X.extend("--ft-modal-border-radius","",q.borderRadiusM),X.extend("--ft-drawer-overlay-opacity","",q.opacity40),X.extend("--ft-drawer-shadow","",q.shadowElevation03),X.extend("--ft-drawer-body-color","",Q.contentGlobalPrimary),X.extend("--ft-drawer-body-horizontal-padding","",q.spacing6),X.extend("--ft-drawer-body-vertical-padding","",q.spacing6),X.extend("--ft-drawer-body-gap","",q.spacing6),X.extend("--ft-drawer-body-background-color","",q.colorWhite),X.extend("--ft-drawer-header-background-color","",Q.backgroundGlobalOnSurface),X.extend("--ft-drawer-header-border-color","",Q.borderGlobalSubtle),X.extend("--ft-drawer-header-color","",Q.contentGlobalPrimary),X.extend("--ft-drawer-header-trailing-icon-color","",Q.contentGlobalSecondary),X.create("--ft-drawer-header-height","","SIZE","50px"),X.extend("--ft-drawer-header-horizontal-padding","",q.spacing2),X.create("--ft-drawer-header-border-width","","SIZE","1px"),X.extend("--ft-drawer-header-gap","",q.spacing3),X.extend("--ft-drawer-buttons-bar-background-color","",Q.backgroundGlobalOnSurface),X.extend("--ft-drawer-buttons-bar-border-color","",Q.borderGlobalSubtle),X.extend("--ft-drawer-buttons-bar-color","",Q.contentGlobalPrimary),X.extend("--ft-drawer-buttons-bar-horizontal-padding","",q.spacing4),X.extend("--ft-drawer-buttons-bar-vertical-padding","",q.spacing4),X.extend("--ft-drawer-buttons-bar-gap","",q.spacing3),X.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),X.create("--ft-drawer-container-width","","SIZE","66%"),X.create("--ft-drawer-container-min-width","","SIZE","500px"),X.create("--ft-drawer-container-max-width","","SIZE","1000px"),X.create("--ft-drawer-container-height","","SIZE","100%"),X.extend("--ft-drawer-overlay-background-color","",q.colorGray700),X.extend("--ft-text-input-field-horizontal-padding","",q.spacing4),X.extend("--ft-text-input-field-horizontal-gap","",q.spacing3),X.extend("--ft-text-input-field-vertical-gap","",q.spacing05),X.extend("--ft-text-input-field-icon-size","",q.iconSize3),X.create("--ft-text-input-field-height","","SIZE","50px"),X.extend("--ft-text-input-helper-horizontal-padding","",q.spacing4),X.extend("--ft-text-input-helper-horizontal-gap","",q.spacing1),X.extend("--ft-text-input-helper-icon-size","",q.iconSize2),X.extend("--ft-text-input-border-radius","",q.borderRadiusM),X.extend("--ft-text-input-background-color","",q.colorWhite),X.extend("--ft-text-input-content-value-color","",Q.contentGlobalPrimary),X.extend("--ft-text-input-trailing-icon-color","",Q.contentGlobalSubtle),X.extend("--ft-text-input-label-color","",Q.contentGlobalSubtle),X.extend("--ft-text-input-default-border-color","",Q.borderInputPrimary),X.extend("--ft-text-input-default-helper-text-color","",Q.contentGlobalSubtle),X.create("--ft-text-input-default-border-width","","SIZE","1px"),X.create("--ft-text-input-error-border-width","","SIZE","2px"),X.extend("--ft-text-input-error-border-color","",Q.borderErrorPrimary),X.extend("--ft-text-input-error-helper-text-color","",Q.contentErrorPrimary),X.extend("--ft-text-input-error-helper-icon-color","",Q.contentErrorIconOnly),X.create("--ft-text-input-warning-border-width","","SIZE","2px"),X.create("--ft-text-input-focus-outline-width","","SIZE","2px"),X.extend("--ft-text-input-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),X.extend("--ft-text-input-disabled-component-opacity","",q.opacity40),X.extend("--ft-text-area-background-color","",q.colorWhite),X.extend("--ft-text-area-content-value-color","",Q.contentGlobalPrimary),X.extend("--ft-text-area-label-color","",Q.contentGlobalSubtle),X.extend("--ft-text-area-default-border-color","",Q.borderInputPrimary),X.extend("--ft-text-area-default-helper-text-color","",Q.contentGlobalSubtle),X.create("--ft-text-area-default-border-width","","SIZE","1px"),X.create("--ft-text-area-error-border-width","","SIZE","2px"),X.extend("--ft-text-area-error-border-color","",Q.borderErrorPrimary),X.extend("--ft-text-area-error-helper-text-color","",Q.contentErrorPrimary),X.extend("--ft-text-area-error-helper-icon-color","",Q.contentErrorIconOnly),X.extend("--ft-text-area-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-text-area-focus-outline-width","","SIZE","2px"),X.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),X.extend("--ft-text-area-disabled-component-opacity","",q.opacity40),X.extend("--ft-text-area-field-horizontal-left-padding","",q.spacing4),X.extend("--ft-text-area-field-horizontal-gap","",q.spacing3),X.extend("--ft-text-area-field-vertical-gap","",q.spacing05),X.create("--ft-text-area-field-min-height","","SIZE","64px"),X.extend("--ft-text-area-helper-horizontal-padding","",q.spacing4),X.extend("--ft-text-area-helper-horizontal-gap","",q.spacing1),X.extend("--ft-text-area-helper-icon-size","",q.iconSize2),X.extend("--ft-text-area-border-radius","",q.borderRadiusM),X.create("--ft-floating-menu-height","","SIZE","50px"),X.extend("--ft-floating-menu-horizontal-padding","",q.spacing4),X.extend("--ft-floating-menu-off-icon-color","",Q.contentGlobalPrimary),X.extend("--ft-floating-menu-off-color","",Q.contentGlobalPrimary),X.extend("--ft-floating-menu-on-color","",Q.contentActionPrimary),X.extend("--ft-floating-menu-on-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-floating-menu-gap","",q.spacing3),X.extend("--ft-floating-menu-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),X.extend("--ft-floating-menu-focus-state-layer-opacity","",q.opacity8),X.extend("--ft-floating-menu-hover-state-layer-opacity","",q.opacity8),X.extend("--ft-floating-menu-active-state-layer-opacity","",q.opacity16),X.extend("--ft-floating-menu-disabled-component-opacity","",q.opacity40),X.extend("--ft-floating-menu-icon-size","",q.iconSize3),X.extend("--ft-floating-menu-background-color","",Q.backgroundGlobalOnSurface),X.extend("--ft-combobox-single-select-field-horizontal-padding","",q.spacing4),X.extend("--ft-combobox-single-select-field-horizontal-gap","",q.spacing3),X.extend("--ft-combobox-single-select-field-vertical-gap","",q.spacing05),X.extend("--ft-combobox-single-select-field-icon-size","",q.iconSize3),X.create("--ft-combobox-single-select-field-height","","SIZE","50px"),X.extend("--ft-combobox-single-select-helper-horizontal-padding","",q.spacing4),X.extend("--ft-combobox-single-select-helper-horizontal-gap","",q.spacing1),X.extend("--ft-combobox-single-select-helper-vertical-gap","",q.spacing1),X.extend("--ft-combobox-single-select-helper-icon-size","",q.iconSize2),X.extend("--ft-combobox-single-select-menu-vertical-gap","",q.spacing2),X.extend("--ft-combobox-single-select-border-radius","",q.borderRadiusM),X.extend("--ft-combobox-single-select-background-color","",q.colorWhite),X.extend("--ft-combobox-single-select-label-color","",Q.contentGlobalSubtle),X.extend("--ft-combobox-single-select-content-value-color","",Q.contentGlobalPrimary),X.extend("--ft-combobox-single-select-trailing-icon-color","",Q.contentGlobalSubtle),X.extend("--ft-combobox-single-select-default-border-color","",Q.borderInputPrimary),X.extend("--ft-combobox-single-select-default-helper-text-color","",Q.contentGlobalSubtle),X.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),X.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),X.extend("--ft-combobox-single-select-error-border-color","",Q.borderErrorPrimary),X.extend("--ft-combobox-single-select-error-helper-text-color","",Q.contentErrorPrimary),X.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),X.extend("--ft-combobox-single-select-warning-border-color","",Q.borderWarningPrimary),X.extend("--ft-combobox-single-select-warning-helper-text-color","",Q.contentWarningPrimary),X.extend("--ft-combobox-single-select-warning-helper-icon-color","",Q.contentWarningIconOnly),X.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),X.extend("--ft-combobox-single-select-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),X.extend("--ft-combobox-single-select-disabled-component-opacity","",q.opacity40),X.extend("--ft-combobox-multi-select-background-color","",q.colorWhite),X.extend("--ft-combobox-multi-select-label-color","",Q.contentGlobalSubtle),X.extend("--ft-combobox-multi-select-trailing-icon-color","",Q.contentGlobalSubtle),X.extend("--ft-combobox-multi-select-default-border-color","",Q.borderInputPrimary),X.extend("--ft-combobox-multi-select-default-helper-text-color","",Q.contentGlobalSubtle),X.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),X.extend("--ft-combobox-multi-select-error-border-color","",Q.borderErrorPrimary),X.extend("--ft-combobox-multi-select-error-helper-text-color","",Q.contentErrorPrimary),X.extend("--ft-combobox-multi-select-error-helper-icon","",Q.contentErrorIconOnly),X.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),X.extend("--ft-combobox-multi-select-warning-border-color","",Q.borderWarningPrimary),X.extend("--ft-combobox-multi-select-warning-helper-text-color","",Q.contentWarningPrimary),X.extend("--ft-combobox-multi-select-warning-helper-icon-color","",Q.contentWarningIconOnly),X.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),X.extend("--ft-combobox-multi-select-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),X.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),X.extend("--ft-combobox-multi-select-disabled-component-opacity","",q.opacity40),X.extend("--ft-combobox-multi-select-helper-horizontal-padding","",q.spacing4),X.extend("--ft-combobox-multi-select-helper-horizontal-gap","",q.spacing1),X.extend("--ft-combobox-multi-select-helper-vertical-gap","",q.spacing1),X.extend("--ft-combobox-multi-select-helper-icon-size","",q.iconSize2),X.extend("--ft-combobox-multi-select-field-horizontal-padding","",q.spacing4),X.extend("--ft-combobox-multi-select-field-horizontal-gap","",q.spacing3),X.extend("--ft-combobox-multi-select-field-vertical-gap","",q.spacing05),X.extend("--ft-combobox-multi-select-field-icon-size","",q.iconSize3),X.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),X.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",q.spacing1),X.extend("--ft-combobox-multi-select-content-values-vertical-gap","",q.spacing1),X.extend("--ft-combobox-multi-select-border-radius","",q.borderRadiusM),X.extend("--ft-popover-background-color","",Q.backgroundGlobalOnSurface),X.extend("--ft-popover-horizontal-padding","",q.spacing6),X.extend("--ft-popover-vertical-padding","",q.spacing6),X.extend("--ft-popover-icon-color","",Q.contentGlobalSecondary),X.extend("--ft-popover-icon-size","",q.iconSize2),X.extend("--ft-popover-title-color","",Q.contentGlobalPrimary),X.extend("--ft-popover-body-color","",Q.contentGlobalSecondary),X.extend("--ft-popover-link-color","",Q.contentActionPrimary),X.extend("--ft-popover-gap","",q.spacing3),X.extend("--ft-popover-border-radius","",q.borderRadiusM),X.extend("--ft-popover-shadow","",q.shadowElevation02),X.extend("--ft-tabs-top-left-border-radius","",q.borderRadiusS),X.extend("--ft-tabs-top-right-border-radius","",q.borderRadiusS),X.extend("--ft-tabs-label-horizontal-padding","",q.spacing4),X.extend("--ft-tabs-label-vertical-padding","",q.spacing3),X.extend("--ft-tabs-label-gap","",q.spacing1),X.extend("--ft-tabs-off-hover-state-layer-opacity","",q.opacity8),X.extend("--ft-tabs-off-focus-state-layer-opacity","",q.opacity8),X.extend("--ft-tabs-off-active-state-layer-opacity","",q.opacity16),X.extend("--ft-tabs-off-disabled-component-opacity","",q.opacity40),X.extend("--ft-tabs-off-color","",Q.contentGlobalSubtle),X.extend("--ft-tabs-off-state-layer-color","",Q.contentGlobalSubtle),X.extend("--ft-tabs-on-hover-state-layer-opacity","",q.opacity8),X.extend("--ft-tabs-on-focus-state-layer-opacity","",q.opacity8),X.extend("--ft-tabs-on-active-state-layer-opacity","",q.opacity16),X.extend("--ft-tabs-on-disabled-component-opacity","",q.opacity40),X.extend("--ft-tabs-on-color","",Q.contentActionPrimary),X.extend("--ft-tabs-on-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-tabs-icon-horizontal-padding","",q.spacing1),X.extend("--ft-tabs-icon-vertical-padding","",q.spacing4),X.create("--ft-tabs-focus-outline-width","","SIZE","2px"),X.extend("--ft-tabs-focus-focus-ring-color","",Q.borderActionFocusRing),X.extend("--ft-collapsible-hover-state-layer-opacity","",q.opacity8),X.extend("--ft-collapsible-focus-state-layer-opacity","",q.opacity8),X.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),X.extend("--ft-collapsible-focus-focus-ring-color","",Q.borderActionFocusRing),X.extend("--ft-collapsible-active-state-layer-opacity","",q.opacity16),X.extend("--ft-collapsible-disabled-component-opacity","",q.opacity40),X.extend("--ft-collapsible-horizontal-padding","",q.spacing4),X.extend("--ft-collapsible-vertical-padding","",q.spacing3),X.extend("--ft-collapsible-color","",Q.contentGlobalPrimary),X.extend("--ft-collapsible-state-layer-color","",Q.contentGlobalPrimary),X.extend("--ft-collapsible-background-color","",Q.backgroundGlobalOnSurface),X.extend("--ft-collapsible-border-color","",Q.borderGlobalSubtle),X.extend("--ft-collapsible-icon-size","",q.iconSize3),X.extend("--ft-switch-group-horizontal-padding","",q.spacing1),X.extend("--ft-switch-group-vertical-padding","",q.spacing1),X.extend("--ft-switch-group-gap","",q.spacing1),X.extend("--ft-switch-group-background-color","",Q.backgroundGlobalSurface),X.extend("--ft-switch-group-border-color","",Q.borderGlobalSubtle),X.create("--ft-switch-group-border-radius","","SIZE","6px"),X.extend("--ft-switch-label-horizontal-padding","",q.spacing2),X.extend("--ft-switch-label-vertical-padding","",q.spacing1),X.extend("--ft-switch-off-hover-state-layer-opacity","",q.opacity8),X.extend("--ft-switch-off-focus-state-layer-opacity","",q.opacity8),X.extend("--ft-switch-off-active-state-layer-opacity","",q.opacity16),X.extend("--ft-switch-off-disabled-component-opacity","",q.opacity40),X.extend("--ft-switch-off-color","",Q.contentGlobalSubtle),X.extend("--ft-switch-off-state-layer-color","",Q.contentGlobalSubtle),X.extend("--ft-switch-on-hover-state-layer-opacity","",q.opacity8),X.extend("--ft-switch-on-focus-state-layer-opacity","",q.opacity8),X.extend("--ft-switch-on-active-state-layer-opacity","",q.opacity16),X.extend("--ft-switch-on-disabled-component-opacity","",q.opacity40),X.extend("--ft-switch-on-color","",Q.contentActionPrimary),X.extend("--ft-switch-on-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-switch-icon-horizontal-padding","",q.spacing1),X.extend("--ft-switch-icon-vertical-padding","",q.spacing1),X.create("--ft-switch-focus-outline-width","","SIZE","2px"),X.extend("--ft-switch-focus-focus-ring-color","",Q.borderActionFocusRing),X.extend("--ft-switch-option-border-radius","",q.borderRadiusS),X.extend("--ft-chart-1-light","for area color charts",q.colorBrand40),X.extend("--ft-chart-1-base","for line charts",q.colorBrand0),X.extend("--ft-chart-2-light","for area color charts",q.colorYellow60),X.extend("--ft-chart-2-base","for line charts",q.colorYellow100),X.extend("--ft-chart-3-light","",q.colorUltramarine40),X.extend("--ft-chart-3-base","",q.colorUltramarine70),X.extend("--ft-chart-4-light","",q.colorCyan50),X.extend("--ft-chart-4-base","",q.colorCyan100),X.extend("--ft-chart-5-light","",q.colorRed40),X.extend("--ft-chart-5-base","",q.colorRed60),X.extend("--ft-chart-6-light","",q.colorGreen40),X.extend("--ft-chart-6-base","",q.colorGreen70),X.extend("--ft-chart-7-light","",q.colorOrange70),X.extend("--ft-chart-7-base","",q.colorOrange100),X.extend("--ft-chart-8-light","",q.colorAvocado70),X.extend("--ft-chart-8-base","",q.colorAvocado200),X.extend("--ft-chart-9-light","",q.colorBrown50),X.extend("--ft-chart-9-base","",q.colorBrown200),X.extend("--ft-chart-10-light","",q.colorGray50),X.extend("--ft-chart-10-base","",q.colorGray80),X.extend("--ft-chart-monochrome-10","",q.colorBrand10),X.extend("--ft-chart-monochrome-20","",q.colorBrand20),X.extend("--ft-chart-monochrome-30","",q.colorBrand40),X.extend("--ft-chart-monochrome-40","",q.colorBrand60),X.extend("--ft-chart-monochrome-50","",q.colorBrand0),X.extend("--ft-chart-monochrome-60","",q.colorBrand200),X.extend("--ft-chip-large-horizontal-padding","",q.spacing4),X.extend("--ft-chip-large-vertical-padding","",q.spacing2),X.extend("--ft-chip-large-gap","",q.spacing1),X.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),X.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),X.extend("--ft-chip-large-border-radius","",q.borderRadiusPill),X.create("--ft-chip-large-border-width","","SIZE","1px"),X.extend("--ft-chip-large-icon-size","",q.iconSize3),X.extend("--ft-chip-medium-horizontal-padding","",q.spacing3),X.extend("--ft-chip-medium-vertical-padding","",q.spacing1),X.extend("--ft-chip-medium-gap","",q.spacing1),X.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),X.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),X.extend("--ft-chip-medium-border-radius","",q.borderRadiusPill),X.create("--ft-chip-medium-border-width","","SIZE","1px"),X.extend("--ft-chip-medium-icon-size","",q.iconSize2),X.extend("--ft-chip-small-horizontal-padding","",q.spacing2),X.extend("--ft-chip-small-vertical-padding","",q.spacing05),X.extend("--ft-chip-small-gap","",q.spacing1),X.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),X.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),X.extend("--ft-chip-small-border-radius","",q.borderRadiusPill),X.create("--ft-chip-small-border-width","","SIZE","1px"),X.extend("--ft-chip-small-icon-size","",q.iconSize1),X.extend("--ft-chip-neutral-background-color","",Q.backgroundGlobalOnSurface),X.extend("--ft-chip-neutral-color","",Q.contentGlobalPrimary),X.extend("--ft-chip-neutral-icon-color","",Q.contentGlobalPrimary),X.extend("--ft-chip-neutral-border-color","",Q.borderGlobalSubtle),X.extend("--ft-chip-info-background-color","",Q.backgroundInfoSubtle),X.extend("--ft-chip-info-color","",Q.contentInfoPrimary),X.extend("--ft-chip-info-icon-color","",Q.contentInfoIconOnly),X.extend("--ft-chip-info-border-color","",Q.borderInfoSubtle),X.extend("--ft-chip-success-background-color","",Q.backgroundSuccessSubtle),X.extend("--ft-chip-success-color","",Q.contentSuccessPrimary),X.extend("--ft-chip-success-icon-color","",Q.contentSuccessIconOnly),X.extend("--ft-chip-success-border-color","",Q.borderSuccessSubtle),X.extend("--ft-chip-warning-background-color","",Q.backgroundWarningSubtle),X.extend("--ft-chip-warning-color","",Q.contentWarningPrimary),X.extend("--ft-chip-warning-icon-color","",Q.contentWarningIconOnly),X.extend("--ft-chip-warning-border-color","",Q.borderWarningSubtle),X.extend("--ft-chip-error-background-color","",Q.backgroundErrorSubtle),X.extend("--ft-chip-error-color","",Q.contentErrorPrimary),X.extend("--ft-chip-error-icon-color","",Q.contentErrorIconOnly),X.extend("--ft-chip-error-border-color","",Q.borderErrorSubtle),X.extend("--ft-border-info-border-color","",Q.borderInfoSubtle),X.create("--ft-notice-border-width","","SIZE","1px"),X.extend("--ft-notice-horizontal-padding","",q.spacing2),X.extend("--ft-notice-vertical-padding","",q.spacing1),X.extend("--ft-notice-border-radius","",q.borderRadiusS),X.extend("--ft-notice-gap","",q.spacing2),X.extend("--ft-notice-icon-size","",q.iconSize3),X.extend("--ft-notice-info-background-color","",Q.backgroundInfoSubtle),X.extend("--ft-notice-info-border-color","",Q.borderInfoSubtle),X.extend("--ft-notice-info-color","",Q.contentInfoPrimary),X.extend("--ft-notice-info-icon-color","",Q.contentInfoIconOnly),X.extend("--ft-notice-warning-background-color","",Q.backgroundWarningSubtle),X.extend("--ft-notice-warning-border-color","",Q.borderWarningSubtle),X.extend("--ft-notice-warning-color","",Q.contentWarningPrimary),X.extend("--ft-notice-warning-icon-color","",Q.contentWarningIconOnly),X.extend("--ft-notice-error-background-color","",Q.backgroundErrorSubtle),X.extend("--ft-notice-error-border-color","",Q.borderErrorSubtle),X.extend("--ft-notice-error-color","",Q.contentErrorPrimary),X.extend("--ft-notice-error-icon-color","",Q.contentErrorIconOnly),X.extend("--ft-notice-success-background-color","",Q.backgroundSuccessSubtle),X.extend("--ft-notice-success-border-color","",Q.borderSuccessSubtle),X.extend("--ft-notice-success-color","",Q.contentSuccessPrimary),X.extend("--ft-notice-success-icon-color","",Q.contentSuccessIconOnly),X.extend("--ft-checkbox-color","",Q.contentGlobalPrimary),X.extend("--ft-checkbox-checked-background-color","",Q.contentActionPrimary),X.extend("--ft-checkbox-checked-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-checkbox-checked-icon-color","",Q.contentGlobalOnColor),X.extend("--ft-checkbox-checked-hover-state-layer-opacity","",q.opacity16),X.extend("--ft-checkbox-checked-focus-state-layer-opacity","",q.opacity16),X.extend("--ft-checkbox-checked-active-state-layer-opacity","",q.opacity24),X.extend("--ft-checkbox-checked-disabled-component-opacity","",q.opacity40),X.extend("--ft-checkbox-unchecked-border-color","",q.colorGray80),X.extend("--ft-checkbox-unchecked-state-layer-color","",q.colorGray80),X.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",q.opacity16),X.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",q.opacity16),X.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",q.opacity24),X.extend("--ft-checkbox-unchecked-disabled-component-opacity","",q.opacity40),X.extend("--ft-checkbox-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),X.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),X.extend("--ft-checkbox-gap","",q.spacing3),X.extend("--ft-toggle-off-hover-state-layer-opacity","",q.opacity16),X.extend("--ft-toggle-off-focus-state-layer-opacity","",q.opacity16),X.extend("--ft-toggle-off-active-state-layer-opacity","",q.opacity24),X.extend("--ft-toggle-off-disabled-component-opacity","",q.opacity40),X.extend("--ft-toggle-off-background-color","",Q.contentGlobalSubtle),X.extend("--ft-toggle-off-icon-color","",Q.contentGlobalSubtle),X.extend("--ft-toggle-off-state-layer-color","",Q.contentGlobalSubtle),X.extend("--ft-toggle-on-hover-state-layer-opacity","",q.opacity16),X.extend("--ft-toggle-on-focus-state-layer-opacity","",q.opacity16),X.extend("--ft-toggle-on-active-state-layer-opacity","",q.opacity24),X.extend("--ft-toggle-on-disabled-component-opacity","",q.opacity40),X.extend("--ft-toggle-on-background-color","",Q.contentActionPrimary),X.extend("--ft-toggle-on-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-toggle-on-icon-color","",Q.contentActionPrimary),X.extend("--ft-toggle-color","",Q.contentGlobalPrimary),X.extend("--ft-toggle-focus-focus-ring-color","",Q.borderActionFocusRing),X.extend("--ft-toggle-gap","",q.spacing3),X.extend("--ft-radio-color","",Q.contentGlobalPrimary),X.extend("--ft-radio-selected-radio-color","",Q.contentActionPrimary),X.extend("--ft-radio-selected-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-radio-selected-hover-state-layer-opacity","",q.opacity16),X.extend("--ft-radio-selected-focus-state-layer-opacity","",q.opacity16),X.extend("--ft-radio-selected-active-state-layer-opacity","",q.opacity24),X.extend("--ft-radio-selected-disabled-component-opacity","",q.opacity40),X.extend("--ft-radio-unselected-state-layer-color","",Q.borderInputPrimary),X.extend("--ft-radio-unselected-border-color","",Q.borderInputPrimary),X.extend("--ft-radio-unselected-hover-state-layer-opacity","",q.opacity16),X.extend("--ft-radio-unselected-focus-state-layer-opacity","",q.opacity16),X.extend("--ft-radio-unselected-active-state-layer-opacity","",q.opacity24),X.extend("--ft-radio-unselected-disabled-component-opacity","",q.opacity40),X.extend("--ft-radio-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-radio-focus-outline-offset","","SIZE","3px"),X.create("--ft-radio-focus-outline-width","","SIZE","2px"),X.extend("--ft-radio-gap","",q.spacing3),X.extend("--ft-notification-icon-size","",q.iconSize4),X.extend("--ft-notification-horizontal-padding","",q.spacing4),X.extend("--ft-notification-vertical-padding","",q.spacing4),X.extend("--ft-notification-info-background-color","",Q.backgroundInfoSubtle),X.extend("--ft-notification-info-color","",Q.contentInfoPrimary),X.extend("--ft-notification-info-icon-color","",Q.contentInfoIconOnly),X.extend("--ft-notification-info-border-color","",Q.borderInfoSubtle),X.extend("--ft-notification-success-background-color","",Q.backgroundSuccessSubtle),X.extend("--ft-notification-success-color","",Q.contentSuccessPrimary),X.extend("--ft-notification-success-icon-color","",Q.contentSuccessIconOnly),X.extend("--ft-notification-success-border-color","",Q.borderSuccessSubtle),X.extend("--ft-notification-warning-background-color","",Q.backgroundWarningSubtle),X.extend("--ft-notification-warning-color","",Q.contentWarningPrimary),X.extend("--ft-notification-warning-icon-color","",Q.contentWarningIconOnly),X.extend("--ft-notification-warning-border-color","",Q.borderWarningSubtle),X.extend("--ft-notification-error-background-color","",Q.backgroundErrorSubtle),X.extend("--ft-notification-error-color","",Q.contentErrorPrimary),X.extend("--ft-notification-error-icon-color","",Q.contentErrorIconOnly),X.extend("--ft-notification-error-border-color","",Q.borderErrorSubtle),X.extend("--ft-notification-border-radius","",q.borderRadiusPill),X.create("--ft-notification-border-width","","SIZE","1px"),X.extend("--ft-notification-leading-gap","",q.spacing2),X.extend("--ft-notification-trailing-gap","",q.spacing8),X.extend("--ft-tooltip-horizontal-padding","",q.spacing2),X.extend("--ft-tooltip-vertical-padding","",q.spacing2),X.extend("--ft-tooltip-border-radius","",q.borderRadiusS),X.extend("--ft-tooltip-color","",Q.contentGlobalOnColor),X.extend("--ft-tooltip-background-color","",Q.contentGlobalPrimary),X.extend("--ft-tooltip-background-opacity","",q.opacity80),X.extend("--ft-tooltip-shadow","",q.shadowElevation03),X.create("--ft-tooltip-max-width","","SIZE","256px"),X.extend("--ft-tooltip-gap","",q.spacing05);const ot=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),et=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),it={fontFamily:et,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},rt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ot),nt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",it.fontSize,"20px"),at=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",it.fontWeight,"normal"),lt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",it.letterSpacing,"0.15px"),st=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",it.lineHeight,"1.2"),ct=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",it.textTransform,"inherit"),pt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ot),ft=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",it.fontSize,"14px"),dt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",it.fontWeight,"normal"),ht=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",it.letterSpacing,"0.105px"),ut=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",it.lineHeight,"1.7"),gt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",it.textTransform,"inherit"),bt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",et),yt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",it.fontSize,"16px"),mt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",it.fontWeight,"600"),xt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",it.letterSpacing,"0.144px"),vt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",it.lineHeight,"1.5"),Ot=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",it.textTransform,"inherit"),Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",et),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",it.fontSize,"14px"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",it.fontWeight,"normal"),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",it.letterSpacing,"0.098px"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",it.lineHeight,"1.7"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",it.textTransform,"inherit"),Et={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",et),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",it.fontSize,"16px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",it.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",it.letterSpacing,"0.496px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",it.lineHeight,"1.5"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",it.textTransform,"inherit")},kt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",et),Wt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",it.fontSize,"14px"),Ut=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",it.fontWeight,"normal"),Rt=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",it.letterSpacing,"0.252px"),zt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",it.lineHeight,"1.4"),Zt=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",it.textTransform,"inherit"),Lt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",et),fontSize:o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",it.fontSize,"12px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",it.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",it.letterSpacing,"0.396px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",it.lineHeight,"1.33"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",it.textTransform,"inherit")},Kt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",et),Dt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",it.fontSize,"10px"),Ft=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",it.fontWeight,"normal"),Bt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",it.letterSpacing,"0.33px"),Ht=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",it.lineHeight,"1.6"),At=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",it.textTransform,"inherit"),Gt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",et),Pt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",it.fontSize,"10px"),jt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",it.fontWeight,"normal"),Mt=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",it.letterSpacing,"1.5px"),Tt=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",it.lineHeight,"1.6"),_t=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",it.textTransform,"uppercase"),Vt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",et),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",it.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",it.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",it.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",it.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",it.textTransform,"uppercase")},Yt=e.css`
1
+ "use strict";(()=>{var On=Object.create;var Ho=Object.defineProperty;var Cn=Object.getOwnPropertyDescriptor;var wn=Object.getOwnPropertyNames;var Nn=Object.getPrototypeOf,En=Object.prototype.hasOwnProperty;var Jt=(o,e)=>()=>(e||o((e={exports:{}}).exports,e),e.exports);var $n=(o,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of wn(e))!En.call(o,a)&&a!==r&&Ho(o,a,{get:()=>e[a],enumerable:!(i=Cn(e,a))||i.enumerable});return o};var u=(o,e,r)=>(r=o!=null?On(Nn(o)):{},$n(e||!o||!o.__esModule?Ho(r,"default",{value:o,enumerable:!0}):r,o));var E=Jt((ea,Uo)=>{Uo.exports=ftGlobals.wcUtils});var B=Jt((oa,Fo)=>{Fo.exports=ftGlobals.lit});var ft=Jt((ra,Go)=>{Go.exports=ftGlobals.litDecorators});var ao=Jt((ia,Mo)=>{Mo.exports=ftGlobals.litRepeat});var lo=Jt((na,Zo)=>{Zo.exports=ftGlobals.litUnsafeHTML});var Ft=Jt((aa,Ko)=>{Ko.exports=ftGlobals.litClassMap});var xn=u(E());var lt=u(B()),Ue=u(ft()),xe=u(ao()),mn=u(lo()),Se=u(E());var Po=u(E());var Be=u(B()),_=u(ft()),Lo=u(Ft()),Di=u(ao()),ke=u(E());var jr=u(E());var go=globalThis,Fe=go.trustedTypes,Vo=Fe?Fe.createPolicy("lit-html",{createHTML:o=>o}):void 0,Qo="$lit$",kt=`lit$${(Math.random()+"").slice(9)}$`,tr="?"+kt,Rn=`<${tr}>`,Zt=document,Ge=()=>Zt.createComment(""),we=o=>o===null||typeof o!="object"&&typeof o!="function",er=Array.isArray,An=o=>er(o)||typeof o?.[Symbol.iterator]=="function",co=`[
2
+ \f\r]`,Ce=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,jo=/-->/g,Yo=/>/g,Gt=RegExp(`>|${co}(?:([^\\s"'>=/]+)(${co}*=${co}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Xo=/'/g,qo=/"/g,or=/^(?:script|style|textarea|title)$/i,rr=o=>(e,...r)=>({_$litType$:o,strings:e,values:r}),ir=rr(1),nr=rr(2),Ne=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),Jo=new WeakMap,Mt=Zt.createTreeWalker(Zt,129);function ar(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Vo!==void 0?Vo.createHTML(e):e}var Ln=(o,e)=>{let r=o.length-1,i=[],a,l=e===2?"<svg>":"",c=Ce;for(let p=0;p<r;p++){let d=o[p],f,x,m=-1,A=0;for(;A<d.length&&(c.lastIndex=A,x=c.exec(d),x!==null);)A=c.lastIndex,c===Ce?x[1]==="!--"?c=jo:x[1]!==void 0?c=Yo:x[2]!==void 0?(or.test(x[2])&&(a=RegExp("</"+x[2],"g")),c=Gt):x[3]!==void 0&&(c=Gt):c===Gt?x[0]===">"?(c=a??Ce,m=-1):x[1]===void 0?m=-2:(m=c.lastIndex-x[2].length,f=x[1],c=x[3]===void 0?Gt:x[3]==='"'?qo:Xo):c===qo||c===Xo?c=Gt:c===jo||c===Yo?c=Ce:(c=Gt,a=void 0);let N=c===Gt&&o[p+1].startsWith("/>")?" ":"";l+=c===Ce?d+Rn:m>=0?(i.push(f),d.slice(0,m)+Qo+d.slice(m)+kt+N):d+kt+(m===-2?p:N)}return[ar(o,l+(o[r]||"<?>")+(e===2?"</svg>":"")),i]},Ee=class o{constructor({strings:e,_$litType$:r},i){let a;this.parts=[];let l=0,c=0,p=e.length-1,d=this.parts,[f,x]=Ln(e,r);if(this.el=o.createElement(f,i),Mt.currentNode=this.el.content,r===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(a=Mt.nextNode())!==null&&d.length<p;){if(a.nodeType===1){if(a.hasAttributes())for(let m of a.getAttributeNames())if(m.endsWith(Qo)){let A=x[c++],N=a.getAttribute(m).split(kt),I=/([.?@])?(.*)/.exec(A);d.push({type:1,index:l,name:I[2],strings:N,ctor:I[1]==="."?po:I[1]==="?"?fo:I[1]==="@"?uo:te}),a.removeAttribute(m)}else m.startsWith(kt)&&(d.push({type:6,index:l}),a.removeAttribute(m));if(or.test(a.tagName)){let m=a.textContent.split(kt),A=m.length-1;if(A>0){a.textContent=Fe?Fe.emptyScript:"";for(let N=0;N<A;N++)a.append(m[N],Ge()),Mt.nextNode(),d.push({type:2,index:++l});a.append(m[A],Ge())}}}else if(a.nodeType===8)if(a.data===tr)d.push({type:2,index:l});else{let m=-1;for(;(m=a.data.indexOf(kt,m+1))!==-1;)d.push({type:7,index:l}),m+=kt.length-1}l++}}static createElement(e,r){let i=Zt.createElement("template");return i.innerHTML=e,i}};function Qt(o,e,r=o,i){if(e===Ne)return e;let a=i!==void 0?r._$Co?.[i]:r._$Cl,l=we(e)?void 0:e._$litDirective$;return a?.constructor!==l&&(a?._$AO?.(!1),l===void 0?a=void 0:(a=new l(o),a._$AT(o,r,i)),i!==void 0?(r._$Co??=[])[i]=a:r._$Cl=a),a!==void 0&&(e=Qt(o,a._$AS(o,e.values),a,i)),e}var so=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:i}=this._$AD,a=(e?.creationScope??Zt).importNode(r,!0);Mt.currentNode=a;let l=Mt.nextNode(),c=0,p=0,d=i[0];for(;d!==void 0;){if(c===d.index){let f;d.type===2?f=new Me(l,l.nextSibling,this,e):d.type===1?f=new d.ctor(l,d.name,d.strings,this,e):d.type===6&&(f=new ho(l,this,e)),this._$AV.push(f),d=i[++p]}c!==d?.index&&(l=Mt.nextNode(),c++)}return Mt.currentNode=Zt,a}p(e){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++}},Me=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,i,a){this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=i,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Qt(this,e,r),we(e)?e===Z||e==null||e===""?(this._$AH!==Z&&this._$AR(),this._$AH=Z):e!==this._$AH&&e!==Ne&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):An(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==Z&&we(this._$AH)?this._$AA.nextSibling.data=e:this.$(Zt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:i}=e,a=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=Ee.createElement(ar(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===a)this._$AH.p(r);else{let l=new so(a,this),c=l.u(this.options);l.p(r),this.$(c),this._$AH=l}}_$AC(e){let r=Jo.get(e.strings);return r===void 0&&Jo.set(e.strings,r=new Ee(e)),r}T(e){er(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,a=0;for(let l of e)a===r.length?r.push(i=new o(this.k(Ge()),this.k(Ge()),this,this.options)):i=r[a],i._$AI(l),a++;a<r.length&&(this._$AR(i&&i._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},te=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,a,l){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=l,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Z}_$AI(e,r=this,i,a){let l=this.strings,c=!1;if(l===void 0)e=Qt(this,e,r,0),c=!we(e)||e!==this._$AH&&e!==Ne,c&&(this._$AH=e);else{let p=e,d,f;for(e=l[0],d=0;d<l.length-1;d++)f=Qt(this,p[i+d],r,d),f===Ne&&(f=this._$AH[d]),c||=!we(f)||f!==this._$AH[d],f===Z?e=Z:e!==Z&&(e+=(f??"")+l[d+1]),this._$AH[d]=f}c&&!a&&this.O(e)}O(e){e===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},po=class extends te{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===Z?void 0:e}},fo=class extends te{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==Z)}},uo=class extends te{constructor(e,r,i,a,l){super(e,r,i,a,l),this.type=5}_$AI(e,r=this){if((e=Qt(this,e,r,0)??Z)===Ne)return;let i=this._$AH,a=e===Z&&i!==Z||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,l=e!==Z&&(i===Z||a);a&&this.element.removeEventListener(this.name,this,i),l&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},ho=class{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){Qt(this,e)}};var Pn=go.litHtmlPolyfillSupport;Pn?.(Ee,Me),(go.litHtmlVersions??=[]).push("3.1.0");var cr=Symbol.for(""),In=o=>{if(o?.r===cr)return o?._$litStatic$},yo=o=>({_$litStatic$:o,r:cr});var lr=new Map,sr=o=>(e,...r)=>{let i=r.length,a,l,c=[],p=[],d,f=0,x=!1;for(;f<i;){for(d=e[f];f<i&&(l=r[f],(a=In(l))!==void 0);)d+=a+e[++f],x=!0;f!==i&&p.push(l),c.push(d),f++}if(f===i&&c.push(e[i]),x){let m=c.join("$$lit$$");(e=lr.get(m))===void 0&&(c.raw=c,lr.set(m,e=c)),r=p}return o(e,...r)},mo=sr(ir),sa=sr(nr);var bo=u(ft()),Vr=u(E());var Kt;(function(o){o.title="title",o.title_dense="title-dense",o.subtitle1="subtitle1",o.subtitle2="subtitle2",o.body1="body1",o.body2="body2",o.caption="caption",o.breadcrumb="breadcrumb",o.overline="overline",o.button="button",o.display="display",o.title1="title-1",o.title2="title-2",o.title3="title-3",o.body1regular="body-1-regular",o.body1medium="body-1-medium",o.body1semibold="body-1-semibold",o.body2regular="body-2-regular",o.body2medium="body-2-medium",o.body2semibold="body-2-semibold",o.label1medium="label-1-medium",o.label1semibold="label-1-semibold",o.label1bold="label-1-bold",o.label2medium="label-2-medium",o.label2semibold="label-2-semibold",o.label2bold="label-2-bold",o.caption1medium="caption-1-medium",o.caption1semibold="caption-1-semibold",o.caption1bold="caption-1-bold",o.caption2medium="caption-2-medium",o.caption2semibold="caption-2-semibold",o.caption2bold="caption-2-bold"})(Kt||(Kt={}));var yt=u(B()),g=u(E());var Et=u(B(),1),Tt=o=>typeof o=="string"?(0,Et.unsafeCSS)(o):o,t=class{static create(e,r,i,a){let l=p=>Tt(p??a),c=Et.css`var(${Tt(e)}, ${l(a)})`;return c.name=e,c.description=r,c.category=i,c.defaultValue=a,c.defaultCssValue=l,c.get=p=>Et.css`var(${Tt(e)}, ${l(p)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>a,c}static extend(e,r,i,a){let l=p=>i.get(p??a),c=Et.css`var(${Tt(e)}, ${l(a)})`;return c.name=e,c.description=r,c.category=i.category,c.fallbackVariable=i,c.defaultValue=a,c.defaultCssValue=l,c.get=p=>Et.css`var(${Tt(e)}, ${l(p)})`,c.breadcrumb=()=>[i.name,...i.breadcrumb()],c.lastResortDefaultValue=()=>a??i.lastResortDefaultValue(),c}static external(e,r){let i=l=>e.fallbackVariable?e.fallbackVariable.get(l??e.defaultValue):Tt(l??e.lastResortDefaultValue()),a=Et.css`var(${Tt(e.name)}, ${i(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=r,a.defaultCssValue=i,a.get=l=>Et.css`var(${Tt(e.name)}, ${i(l)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}};var n={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:t.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:t.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:t.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:t.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:t.create("--ft-icon-size-6","","SIZE","48px"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:t.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:t.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:t.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:t.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:t.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:t.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:t.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:t.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},pr={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},dr={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},fr={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},ur={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},hr={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},gr={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},yr={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},mr={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},br={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Wn={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},xr={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},vr={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Sr={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Or={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Cr={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},wr={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Nr={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Er={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},$r={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Rr={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ar={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Lr={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Pr={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Ir={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Wr={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},zr={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ze={display:pr,"title-1":dr,"title-2":fr,"title-3":ur,"body-1-regular":hr,"body-1-medium":gr,"body-1-semibold":yr,"body-2-regular":mr,"body-2-medium":br,"body-2-medium-underline":Wn,"body-2-semibold":xr,"label-1-medium":vr,"label-1-semibold":Sr,"label-1-bold":Or,"label-2-medium":Cr,"label-2-semibold":wr,"label-2-bold":Nr,"caption-1-medium":Er,"caption-1-semibold":$r,"caption-1-bold":Rr,"caption-2-medium":Ar,"caption-2-semibold":Lr,"caption-2-bold":Pr,"caption-3-medium":Ir,"caption-3-semibold":Wr,"caption-3-bold":zr};var s={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",n.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",n.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",n.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",n.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",n.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",n.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",n.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",n.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",n.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",n.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",n.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",n.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",n.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",n.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",n.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",n.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",n.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",n.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
4
+ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",n.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",n.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",n.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",n.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",n.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",n.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",n.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",n.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",n.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",n.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",n.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",n.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",n.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",n.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",n.colorGray80)};var y={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",n.spacing4),largeGap:t.extend("--ft-button-large-gap","",n.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",n.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",n.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:t.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",n.spacing3),smallGap:t.extend("--ft-button-small-gap","",n.spacing2),smallBorderRadius:t.extend("--ft-button-small-border-radius","",n.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",n.iconSize2),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:t.extend("--ft-button-primary-background-color","",s.backgroundActionPrimary),primaryColor:t.extend("--ft-button-primary-color","",s.contentGlobalOnColor),primaryIconColor:t.extend("--ft-button-primary-icon-color","",s.contentGlobalOnColor),primaryStateLayerColor:t.extend("--ft-button-primary-state-layer-color","",s.contentGlobalOnColor),primaryHoverStateLayerOpacity:t.extend("--ft-button-primary-hover-state-layer-opacity","",n.opacity16),primaryFocusStateLayerOpacity:t.extend("--ft-button-primary-focus-state-layer-opacity","",n.opacity16),primaryActiveStateLayerOpacity:t.extend("--ft-button-primary-active-state-layer-opacity","",n.opacity24),primaryDisabledComponentOpacity:t.extend("--ft-button-primary-disabled-component-opacity","",n.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",s.borderActionFocusRing),tertiaryBackgroundColor:t.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:t.extend("--ft-button-tertiary-color","",s.contentActionPrimary),tertiaryIconColor:t.extend("--ft-button-tertiary-icon-color","",s.contentActionPrimary),tertiaryStateLayerColor:t.extend("--ft-button-tertiary-state-layer-color","",s.contentActionPrimary),tertiaryHoverStateLayerOpacity:t.extend("--ft-button-tertiary-hover-state-layer-opacity","",n.opacity8),tertiaryFocusStateLayerOpacity:t.extend("--ft-button-tertiary-focus-state-layer-opacity","",n.opacity8),tertiaryActiveStateLayerOpacity:t.extend("--ft-button-tertiary-active-state-layer-opacity","",n.opacity16),tertiaryDisabledComponentOpacity:t.extend("--ft-button-tertiary-disabled-component-opacity","",n.opacity40),secondaryBackgroundColor:t.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:t.extend("--ft-button-secondary-color","",s.contentActionPrimary),secondaryIconColor:t.extend("--ft-button-secondary-icon-color","",s.contentActionPrimary),secondaryStateLayerColor:t.extend("--ft-button-secondary-state-layer-color","",s.contentActionPrimary),secondaryHoverStateLayerOpacity:t.extend("--ft-button-secondary-hover-state-layer-opacity","",n.opacity8),secondaryFocusStateLayerOpacity:t.extend("--ft-button-secondary-focus-state-layer-opacity","",n.opacity8),secondaryActiveStateLayerOpacity:t.extend("--ft-button-secondary-active-state-layer-opacity","",n.opacity16),secondaryDisabledComponentOpacity:t.extend("--ft-button-secondary-disabled-component-opacity","",n.opacity40),secondaryBorderColor:t.extend("--ft-button-secondary-border-color","",s.borderActionPrimary),neutralBackgroundColor:t.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:t.extend("--ft-button-neutral-icon-color","",s.contentGlobalSecondary),neutralColor:t.extend("--ft-button-neutral-color","",s.contentGlobalSecondary),neutralStateLayerColor:t.extend("--ft-button-neutral-state-layer-color","",s.contentGlobalSecondary),neutralHoverStateLayerOpacity:t.extend("--ft-button-neutral-hover-state-layer-opacity","",n.opacity8),neutralFocusStateLayerOpacity:t.extend("--ft-button-neutral-focus-state-layer-opacity","",n.opacity8),neutralActiveStateLayerOpacity:t.extend("--ft-button-neutral-active-state-layer-opacity","",n.opacity16),neutralDisabledComponentOpacity:t.extend("--ft-button-neutral-disabled-component-opacity","",n.opacity40)};var $a={iconSize:t.extend("--ft-banner-icon-size","",n.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-banner-horizontal-padding","",n.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",n.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",n.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",n.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",n.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",n.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",s.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",s.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",s.contentInfoIconOnly)};var Ia={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",n.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",n.spacing2),currentElementColor:t.extend("--ft-breadcrumb-current-element-color","",s.contentGlobalPrimary),iconColor:t.extend("--ft-breadcrumb-icon-color","",s.contentGlobalSubtle)};var Ta={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",n.spacing12),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",n.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",n.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",n.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",n.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",n.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",n.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",s.borderGlobalSubtle),titleColor:t.extend("--ft-page-header-title-color","",s.contentGlobalPrimary),subtitleColor:t.extend("--ft-page-header-subtitle-color","",s.contentGlobalSecondary)};var Fa={smallContainerWidth:t.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:t.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",n.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",n.opacity40),shadow:t.extend("--ft-modal-shadow","",n.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",n.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",s.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",n.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",n.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",n.spacing6),containerMargin:t.extend("--ft-modal-container-margin","",n.spacing3),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",s.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",s.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",s.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-modal-header-trailing-icon-color","",s.contentGlobalSecondary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",n.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",n.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",n.spacing6),headerGap:t.extend("--ft-modal-header-gap","",n.spacing2),headerBorderBottom:t.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",n.borderRadiusM)};var Va={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",n.opacity40),shadow:t.extend("--ft-drawer-shadow","",n.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",s.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",n.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",n.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",n.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",n.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",s.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",s.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",s.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",s.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",n.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",n.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",s.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",s.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",s.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",n.spacing4),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",n.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",n.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",n.colorGray700)};var Ja={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",n.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",n.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",n.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",n.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",n.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",n.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",s.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",s.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",s.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",s.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",s.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",s.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",s.contentErrorIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",n.opacity40)};var rl={backgroundColor:t.extend("--ft-text-area-background-color","",n.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",s.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",s.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",s.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",s.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",s.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",s.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",n.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",n.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",n.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",n.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",n.borderRadiusM)};var cl={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",n.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",s.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",s.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",s.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",s.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",n.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",n.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",n.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",n.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",n.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",n.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",s.backgroundGlobalOnSurface)};var ul={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",n.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",n.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",n.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",n.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",n.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",n.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",n.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",n.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",s.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",s.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",s.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",s.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",s.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",s.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",s.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",s.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",s.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",n.opacity40)};var bl={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",n.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",s.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",s.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",s.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",s.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",s.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",s.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",s.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",s.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",s.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",n.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",n.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",n.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",n.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",n.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",n.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",n.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",n.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",n.borderRadiusM)};var Cl={backgroundColor:t.extend("--ft-popover-background-color","",s.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",n.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",n.spacing6),iconColor:t.extend("--ft-popover-icon-color","",s.contentGlobalSecondary),iconSize:t.extend("--ft-popover-icon-size","",n.iconSize2),titleColor:t.extend("--ft-popover-title-color","",s.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",s.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",s.contentActionPrimary),gap:t.extend("--ft-popover-gap","",n.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",n.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",n.shadowElevation02)};var Rl={topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",n.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",n.borderRadiusS),labelHorizontalPadding:t.extend("--ft-tabs-label-horizontal-padding","",n.spacing4),labelVerticalPadding:t.extend("--ft-tabs-label-vertical-padding","",n.spacing3),labelGap:t.extend("--ft-tabs-label-gap","",n.spacing1),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",n.opacity8),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",n.opacity8),offActiveStateLayerOpacity:t.extend("--ft-tabs-off-active-state-layer-opacity","",n.opacity16),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",n.opacity40),offColor:t.extend("--ft-tabs-off-color","",s.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",s.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",n.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",n.opacity8),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",n.opacity16),onDisabledComponentOpacity:t.extend("--ft-tabs-on-disabled-component-opacity","",n.opacity40),onColor:t.extend("--ft-tabs-on-color","",s.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",s.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-tabs-icon-horizontal-padding","",n.spacing1),iconVerticalPadding:t.extend("--ft-tabs-icon-vertical-padding","",n.spacing4),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",s.borderActionFocusRing)};var Wl={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",n.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",n.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",s.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",n.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",n.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",n.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",n.spacing3),color:t.extend("--ft-collapsible-color","",s.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",s.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",s.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",s.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",n.iconSize3)};var _l={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",n.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",n.spacing1),groupGap:t.extend("--ft-switch-group-gap","",n.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",s.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",s.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",n.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",n.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",n.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",n.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",n.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",n.opacity40),offColor:t.extend("--ft-switch-off-color","",s.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",s.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",n.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",n.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",n.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",n.opacity40),onColor:t.extend("--ft-switch-on-color","",s.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",s.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",n.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",n.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",s.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",n.borderRadiusS)};var Fl={color1Light:t.extend("--ft-chart-1-light","for area color charts",n.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",n.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",n.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",n.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",n.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",n.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",n.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",n.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",n.colorRed40),color5Base:t.extend("--ft-chart-5-base","",n.colorRed60),color6Light:t.extend("--ft-chart-6-light","",n.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",n.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",n.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",n.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",n.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",n.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",n.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",n.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",n.colorGray50),color10Base:t.extend("--ft-chart-10-base","",n.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",n.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",n.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",n.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",n.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",n.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",n.colorBrand200)};var Vl={largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",n.spacing4),largeVerticalPadding:t.extend("--ft-chip-large-vertical-padding","",n.spacing2),largeGap:t.extend("--ft-chip-large-gap","",n.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.extend("--ft-chip-large-border-radius","",n.borderRadiusPill),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",n.iconSize3),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",n.spacing3),mediumVerticalPadding:t.extend("--ft-chip-medium-vertical-padding","",n.spacing1),mediumGap:t.extend("--ft-chip-medium-gap","",n.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.extend("--ft-chip-medium-border-radius","",n.borderRadiusPill),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",n.iconSize2),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",n.spacing2),smallVerticalPadding:t.extend("--ft-chip-small-vertical-padding","",n.spacing05),smallGap:t.extend("--ft-chip-small-gap","",n.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.extend("--ft-chip-small-border-radius","",n.borderRadiusPill),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",n.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",s.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",s.contentGlobalPrimary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",s.contentGlobalPrimary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",s.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",s.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",s.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",s.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",s.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",s.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",s.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",s.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",s.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",s.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",s.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",s.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",s.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",s.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",s.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",s.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",s.borderErrorSubtle)};var ql={infoBorderColor:t.extend("--ft-border-info-border-color","",s.borderInfoSubtle)};var oc={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",n.spacing2),verticalPadding:t.extend("--ft-notice-vertical-padding","",n.spacing1),borderRadius:t.extend("--ft-notice-border-radius","",n.borderRadiusS),gap:t.extend("--ft-notice-gap","",n.spacing2),iconSize:t.extend("--ft-notice-icon-size","",n.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",s.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",s.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",s.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",s.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",s.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",s.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",s.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",s.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",s.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",s.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",s.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",s.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",s.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",s.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",s.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",s.contentSuccessIconOnly)};var lc={color:t.extend("--ft-checkbox-color","",s.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",s.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",s.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",s.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",n.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",n.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",n.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",n.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",n.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",n.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",n.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",n.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",n.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",n.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-checkbox-gap","",n.spacing3)};var fc={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",n.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",n.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",n.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",n.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",s.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",s.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",s.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",n.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",n.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",n.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",n.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",s.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",s.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",s.contentActionPrimary),color:t.extend("--ft-toggle-color","",s.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",s.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",n.spacing3)};var mc={color:t.extend("--ft-radio-color","",s.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",s.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",s.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",n.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",n.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",n.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",n.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",s.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",s.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",n.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",n.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",n.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",n.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",n.spacing3)};var Oc={iconSize:t.extend("--ft-notification-icon-size","",n.iconSize4),horizontalPadding:t.extend("--ft-notification-horizontal-padding","",n.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",n.spacing4),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",s.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",s.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",s.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",s.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",s.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",s.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",s.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",s.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",s.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",s.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",s.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",s.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",s.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",s.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",s.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",s.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",n.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",n.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",n.spacing8)};var $c={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",n.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",n.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",n.borderRadiusS),color:t.extend("--ft-tooltip-color","",s.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",s.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",n.opacity80),shadow:t.extend("--ft-tooltip-shadow","",n.shadowElevation03),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",n.spacing05)};var Ke=u(B());function Br(o){let e=Ze[o];return Ke.css`
5
+ .ft-typography--${(0,Ke.unsafeCSS)(o)} {
6
+ font-family: ${e.fontFamily};
7
+ font-size: ${e.fontSize};
8
+ font-weight: ${e.fontWeight};
9
+ letter-spacing: ${e.letterSpacing};
10
+ line-height: ${e.lineHeight};
11
+ text-transform: ${e.textCase};
12
+ }
13
+ `}var kr=g.FtCssVariableFactory.extend("--ft-typography-font-family","",g.designSystemVariables.titleFont),$t=g.FtCssVariableFactory.extend("--ft-typography-font-family","",g.designSystemVariables.contentFont),b={fontFamily:$t,fontSize:g.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:g.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:g.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:g.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:g.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ee={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-title-font-family","",kr),fontSize:g.FtCssVariableFactory.extend("--ft-typography-title-font-size","",b.fontSize,"20px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",b.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",b.letterSpacing,"0.15px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-title-line-height","",b.lineHeight,"1.2"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",b.textTransform,"inherit")},oe={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",kr),fontSize:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",b.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",b.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",b.letterSpacing,"0.105px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",b.lineHeight,"1.7"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",b.textTransform,"inherit")},re={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",$t),fontSize:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",b.fontSize,"16px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",b.fontWeight,"600"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",b.letterSpacing,"0.144px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",b.lineHeight,"1.5"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",b.textTransform,"inherit")},ie={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",$t),fontSize:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",b.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",b.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",b.letterSpacing,"0.098px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",b.lineHeight,"1.7"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",b.textTransform,"inherit")},gt={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",$t),fontSize:g.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",b.fontSize,"16px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",b.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",b.letterSpacing,"0.496px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",b.lineHeight,"1.5"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",b.textTransform,"inherit")},ne={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",$t),fontSize:g.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",b.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",b.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",b.letterSpacing,"0.252px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",b.lineHeight,"1.4"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",b.textTransform,"inherit")},bt={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",$t),fontSize:g.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",b.fontSize,"12px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",b.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",b.letterSpacing,"0.396px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",b.lineHeight,"1.33"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",b.textTransform,"inherit")},ae={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",$t),fontSize:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",b.fontSize,"10px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",b.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",b.letterSpacing,"0.33px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",b.lineHeight,"1.6"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",b.textTransform,"inherit")},le={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",$t),fontSize:g.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",b.fontSize,"10px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",b.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",b.letterSpacing,"1.5px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",b.lineHeight,"1.6"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",b.textTransform,"uppercase")},Ot={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-button-font-family","",$t),fontSize:g.FtCssVariableFactory.extend("--ft-typography-button-font-size","",b.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",b.fontWeight,"600"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",b.letterSpacing,"1.246px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-button-line-height","",b.lineHeight,"1.15"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",b.textTransform,"uppercase")},Tr=yt.css`
14
14
  .ft-typography--title {
15
- font-family: ${rt};
16
- font-size: ${nt};
17
- font-weight: ${at};
18
- letter-spacing: ${lt};
19
- line-height: ${st};
20
- text-transform: ${ct};
21
- }
22
- `,Xt=e.css`
15
+ font-family: ${ee.fontFamily};
16
+ font-size: ${ee.fontSize};
17
+ font-weight: ${ee.fontWeight};
18
+ letter-spacing: ${ee.letterSpacing};
19
+ line-height: ${ee.lineHeight};
20
+ text-transform: ${ee.textTransform};
21
+ }
22
+ `,_r=yt.css`
23
23
  .ft-typography--title-dense {
24
- font-family: ${pt};
25
- font-size: ${ft};
26
- font-weight: ${dt};
27
- letter-spacing: ${ht};
28
- line-height: ${ut};
29
- text-transform: ${gt};
30
- }
31
- `,qt=e.css`
24
+ font-family: ${oe.fontFamily};
25
+ font-size: ${oe.fontSize};
26
+ font-weight: ${oe.fontWeight};
27
+ letter-spacing: ${oe.letterSpacing};
28
+ line-height: ${oe.lineHeight};
29
+ text-transform: ${oe.textTransform};
30
+ }
31
+ `,Dr=yt.css`
32
32
  .ft-typography--subtitle1 {
33
- font-family: ${bt};
34
- font-size: ${yt};
35
- font-weight: ${mt};
36
- letter-spacing: ${xt};
37
- line-height: ${vt};
38
- text-transform: ${Ot};
39
- }
40
- `,Jt=e.css`
33
+ font-family: ${re.fontFamily};
34
+ font-size: ${re.fontSize};
35
+ font-weight: ${re.fontWeight};
36
+ letter-spacing: ${re.letterSpacing};
37
+ line-height: ${re.lineHeight};
38
+ text-transform: ${re.textTransform};
39
+ }
40
+ `,Hr=yt.css`
41
41
  .ft-typography--subtitle2 {
42
- font-family: ${Nt};
43
- font-size: ${wt};
44
- font-weight: ${$t};
45
- letter-spacing: ${St};
46
- line-height: ${Ct};
47
- text-transform: ${It};
42
+ font-family: ${ie.fontFamily};
43
+ font-size: ${ie.fontSize};
44
+ font-weight: ${ie.fontWeight};
45
+ letter-spacing: ${ie.letterSpacing};
46
+ line-height: ${ie.lineHeight};
47
+ text-transform: ${ie.textTransform};
48
48
  }
49
49
 
50
- `,Qt=e.css`
50
+ `,Ve=yt.css`
51
51
  .ft-typography--body1 {
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
- `,to=e.css`
52
+ font-family: ${gt.fontFamily};
53
+ font-size: ${gt.fontSize};
54
+ font-weight: ${gt.fontWeight};
55
+ letter-spacing: ${gt.letterSpacing};
56
+ line-height: ${gt.lineHeight};
57
+ text-transform: ${gt.textTransform};
58
+ }
59
+ `,je=yt.css`
60
60
  .ft-typography--body2 {
61
- font-family: ${kt};
62
- font-size: ${Wt};
63
- font-weight: ${Ut};
64
- letter-spacing: ${Rt};
65
- line-height: ${zt};
66
- text-transform: ${Zt};
67
- }
68
- `,oo=e.css`
61
+ font-family: ${ne.fontFamily};
62
+ font-size: ${ne.fontSize};
63
+ font-weight: ${ne.fontWeight};
64
+ letter-spacing: ${ne.letterSpacing};
65
+ line-height: ${ne.lineHeight};
66
+ text-transform: ${ne.textTransform};
67
+ }
68
+ `,ce=yt.css`
69
69
  .ft-typography--caption {
70
- font-family: ${Lt.fontFamily};
71
- font-size: ${Lt.fontSize};
72
- font-weight: ${Lt.fontWeight};
73
- letter-spacing: ${Lt.letterSpacing};
74
- line-height: ${Lt.lineHeight};
75
- text-transform: ${Lt.textTransform};
76
- }
77
- `,eo=e.css`
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
+ `,Ur=yt.css`
78
78
  .ft-typography--breadcrumb {
79
- font-family: ${Kt};
80
- font-size: ${Dt};
81
- font-weight: ${Ft};
82
- letter-spacing: ${Bt};
83
- line-height: ${Ht};
84
- text-transform: ${At};
85
- }
86
- `,io=e.css`
79
+ font-family: ${ae.fontFamily};
80
+ font-size: ${ae.fontSize};
81
+ font-weight: ${ae.fontWeight};
82
+ letter-spacing: ${ae.letterSpacing};
83
+ line-height: ${ae.lineHeight};
84
+ text-transform: ${ae.textTransform};
85
+ }
86
+ `,Fr=yt.css`
87
87
  .ft-typography--overline {
88
- font-family: ${Gt};
89
- font-size: ${Pt};
90
- font-weight: ${jt};
91
- letter-spacing: ${Mt};
92
- line-height: ${Tt};
93
- text-transform: ${_t};
94
- }
95
- `,ro=e.css`
88
+ font-family: ${le.fontFamily};
89
+ font-size: ${le.fontSize};
90
+ font-weight: ${le.fontWeight};
91
+ letter-spacing: ${le.letterSpacing};
92
+ line-height: ${le.lineHeight};
93
+ text-transform: ${le.textTransform};
94
+ }
95
+ `,Gr=yt.css`
96
96
  .ft-typography--button {
97
- font-family: ${Vt.fontFamily};
98
- font-size: ${Vt.fontSize};
99
- font-weight: ${Vt.fontWeight};
100
- letter-spacing: ${Vt.letterSpacing};
101
- line-height: ${Vt.lineHeight};
102
- text-transform: ${Vt.textTransform};
103
- }
104
- `,no=e.css`
97
+ font-family: ${Ot.fontFamily};
98
+ font-size: ${Ot.fontSize};
99
+ font-weight: ${Ot.fontWeight};
100
+ letter-spacing: ${Ot.letterSpacing};
101
+ line-height: ${Ot.lineHeight};
102
+ text-transform: ${Ot.textTransform};
103
+ }
104
+ `,Mr=yt.css`
105
105
  .ft-typography {
106
106
  vertical-align: inherit;
107
107
  }
108
- `,ao=[Object.keys(J).map((t=>function(t){const o=J[t];return e.css`
109
- .ft-typography--${e.unsafeCSS(t)} {
110
- font-family: ${o.fontFamily};
111
- font-size: ${o.fontSize};
112
- font-weight: ${o.fontWeight};
113
- letter-spacing: ${o.letterSpacing};
114
- line-height: ${o.lineHeight};
115
- text-transform: ${o.textCase};
116
- }
117
- `}(t)))];var lo=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class so extends o.FtLitElement{constructor(){super(...arguments),this.variant=V.body1}render(){return this.element?_`
118
- <${M(this.element)}
108
+ `,Zr=[Object.keys(Ze).map(o=>Br(o))];var Kr=function(o,e,r,i){var a=arguments.length,l=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(c=o[p])&&(l=(a<3?c(l):a>3?c(e,r,l):c(e,r))||l);return a>3&&l&&Object.defineProperty(e,r,l),l},tt=class extends Vr.FtLitElement{constructor(){super(...arguments),this.variant=Kt.body1}render(){return this.element?mo`
109
+ <${yo(this.element)}
110
+ part="text"
119
111
  class="ft-typography ft-typography--${this.variant}">
120
112
  <slot></slot>
121
- </${M(this.element)}>
122
- `:_`
123
- <slot class="ft-typography ft-typography--${this.variant}"></slot>
124
- `}}so.styles=[Yt,Xt,qt,Jt,Qt,to,oo,eo,io,ro,no,...ao],lo([i.property()],so.prototype,"element",void 0),lo([i.property()],so.prototype,"variant",void 0),o.customElement("ft-typography")(so);const co={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")},po=e.css`
113
+ </${yo(this.element)}>
114
+ `:mo`
115
+ <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
116
+ `}};tt.styles=[Tr,_r,Dr,Hr,Ve,je,ce,Ur,Fr,Gr,Mr,...Zr];Kr([(0,bo.property)()],tt.prototype,"element",void 0);Kr([(0,bo.property)()],tt.prototype,"variant",void 0);(0,jr.customElement)("ft-typography")(tt);var Qr=u(E());var xo=u(B()),se=u(ft()),qr=u(Ft()),Jr=u(E());var Yr=u(B()),k=u(E());var v={fontSize:k.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:k.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:k.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:k.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:k.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:k.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:k.FtCssVariableFactory.extend("--ft-input-label-border-color","",k.designSystemVariables.colorOutline),textColor:k.FtCssVariableFactory.extend("--ft-input-label-text-color","",k.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:k.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",k.designSystemVariables.colorOnSurfaceDisabled),colorSurface:k.FtCssVariableFactory.external(k.designSystemVariables.colorSurface,"Design system"),borderRadiusS:k.FtCssVariableFactory.external(k.designSystemVariables.borderRadiusS,"Design system"),colorError:k.FtCssVariableFactory.external(k.designSystemVariables.colorError,"Design system")},Xr=Yr.css`
125
117
  .ft-input-label {
126
118
  position: absolute;
127
119
  inset: 0;
128
120
  display: flex;
129
- background-color: ${co.colorSurface};
130
- border-radius: ${co.borderRadiusS} ${co.borderRadiusS} 0 0;
121
+ background-color: ${v.colorSurface};
122
+ border-radius: ${v.borderRadiusS} ${v.borderRadiusS} 0 0;
131
123
  }
132
124
 
133
125
  .ft-input-label--outlined {
134
- border-radius: ${co.borderRadiusS};
126
+ border-radius: ${v.borderRadiusS};
135
127
  }
136
128
 
137
129
  .ft-input-label {
138
- border-color: ${co.borderColor};
130
+ border-color: ${v.borderColor};
139
131
  }
140
132
 
141
133
  .ft-input-label.ft-input-label--in-error {
142
- border-color: ${co.colorError}
134
+ border-color: ${v.colorError}
143
135
  }
144
136
 
145
137
  .ft-input-label:before,
@@ -152,7 +144,7 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
152
144
  }
153
145
 
154
146
  .ft-input-label:before {
155
- width: calc(${co.horizontalSpacing} - 4px);
147
+ width: calc(${v.horizontalSpacing} - 4px);
156
148
  flex-shrink: 0;
157
149
  }
158
150
 
@@ -168,20 +160,20 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
168
160
  border-bottom-width: 1px;
169
161
  border-bottom-style: solid;
170
162
  border-color: inherit;
171
- color: ${co.textColor};
163
+ color: ${v.textColor};
172
164
  transition: font-size 250ms, line-height 250ms, color 250ms;
173
- max-width: calc(${co.labelMaxWidth} - 2 * (${co.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
165
+ max-width: calc(${v.labelMaxWidth} - 2 * (${v.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
174
166
  text-overflow: ellipsis;
175
- ${o.setVariable(Lt.fontSize,co.fontSize)};
176
- ${o.setVariable(Lt.lineHeight,co.fontSize)};
167
+ ${(0,k.setVariable)(bt.fontSize,v.fontSize)};
168
+ ${(0,k.setVariable)(bt.lineHeight,v.fontSize)};
177
169
  }
178
170
 
179
171
  .ft-input-label--in-error .ft-input-label--text {
180
- color: ${co.colorError}
172
+ color: ${v.colorError}
181
173
  }
182
174
 
183
175
  .ft-input-label--disabled .ft-input-label--text {
184
- color: ${co.disabledTextColor};
176
+ color: ${v.disabledTextColor};
185
177
  }
186
178
 
187
179
  .ft-input-label--hidden-text {
@@ -198,19 +190,19 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
198
190
  overflow: hidden;
199
191
  white-space: nowrap;
200
192
  text-overflow: ellipsis;
201
- padding: ${co.verticalSpacing} 4px;
202
- margin: calc(${co.verticalSpacing} * -1) 0;
193
+ padding: ${v.verticalSpacing} 4px;
194
+ margin: calc(${v.verticalSpacing} * -1) 0;
203
195
  max-width: 100%;
204
196
  box-sizing: border-box;
205
197
  }
206
198
 
207
199
  .ft-input-label--raised .ft-input-label--text {
208
- ${o.setVariable(Lt.fontSize,co.raisedFontSize)};
209
- ${o.setVariable(Lt.lineHeight,co.raisedFontSize)};
200
+ ${(0,k.setVariable)(bt.fontSize,v.raisedFontSize)};
201
+ ${(0,k.setVariable)(bt.lineHeight,v.raisedFontSize)};
210
202
  }
211
203
 
212
204
  .ft-input-label--raised .ft-input-label--floating-text {
213
- top: ${co.verticalSpacing};
205
+ top: ${v.verticalSpacing};
214
206
  }
215
207
 
216
208
  .ft-input-label--outlined .ft-input-label--text,
@@ -223,36 +215,36 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
223
215
  .ft-input-label--outlined:before {
224
216
  border-left-width: 1px;
225
217
  border-left-style: solid;
226
- border-radius: ${co.borderRadiusS} 0 0 ${co.borderRadiusS};
218
+ border-radius: ${v.borderRadiusS} 0 0 ${v.borderRadiusS};
227
219
  }
228
220
 
229
221
  .ft-input-label--outlined:after {
230
222
  border-right-width: 1px;
231
223
  border-right-style: solid;
232
- border-radius: 0 ${co.borderRadiusS} ${co.borderRadiusS} 0;
224
+ border-radius: 0 ${v.borderRadiusS} ${v.borderRadiusS} 0;
233
225
  }
234
226
 
235
227
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
236
228
  padding: 2px 4px;
237
- z-index: ${co.raisedZIndex};
238
- background-color: ${co.colorSurface};
239
- border-radius: ${co.borderRadiusS};
229
+ z-index: ${v.raisedZIndex};
230
+ background-color: ${v.colorSurface};
231
+ border-radius: ${v.borderRadiusS};
240
232
  top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
241
233
  }
242
234
 
243
235
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
244
236
  border-top: none;
245
237
  }
246
- `;var fo=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ho extends o.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`
247
- <div class="${a.classMap(t)}">
248
- ${this.text?e.html`
238
+ `;var $e=function(o,e,r,i){var a=arguments.length,l=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(c=o[p])&&(l=(a<3?c(l):a>3?c(e,r,l):c(e,r))||l);return a>3&&l&&Object.defineProperty(e,r,l),l},nt=class extends Jr.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){let e={"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 xo.html`
239
+ <div class="${(0,qr.classMap)(e)}">
240
+ ${this.text?xo.html`
249
241
  <div class="ft-input-label--text ft-typography--caption">
250
242
  <span class="ft-input-label--floating-text">${this.text}</span>
251
243
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
252
244
  </div>
253
245
  `:null}
254
246
  </div>
255
- `}}ho.elementDefinitions={},ho.styles=[oo,po],fo([i.property({type:String})],ho.prototype,"text",void 0),fo([i.property({type:Boolean})],ho.prototype,"raised",void 0),fo([i.property({type:Boolean})],ho.prototype,"outlined",void 0),fo([i.property({type:Boolean})],ho.prototype,"disabled",void 0),fo([i.property({type:Boolean})],ho.prototype,"error",void 0),o.customElement("ft-input-label")(ho);const uo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),go={color:uo,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",uo),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},bo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),yo=bo,mo=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",bo),xo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),vo=xo,Oo=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",xo),No=e.css`
247
+ `}};nt.elementDefinitions={};nt.styles=[ce,Xr];$e([(0,se.property)({type:String})],nt.prototype,"text",void 0);$e([(0,se.property)({type:Boolean})],nt.prototype,"raised",void 0);$e([(0,se.property)({type:Boolean})],nt.prototype,"outlined",void 0);$e([(0,se.property)({type:Boolean})],nt.prototype,"disabled",void 0);$e([(0,se.property)({type:Boolean})],nt.prototype,"error",void 0);(0,Qr.customElement)("ft-input-label")(nt);var si=u(E());var li=u(B()),et=u(ft()),ci=u(Ft()),Re=u(E());var ni=u(B()),K=u(E()),ti=K.FtCssVariableFactory.extend("--ft-ripple-color","",K.designSystemVariables.colorContent),w={color:ti,backgroundColor:K.FtCssVariableFactory.extend("--ft-ripple-background-color","",ti),opacityContentOnSurfacePressed:K.FtCssVariableFactory.external(K.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:K.FtCssVariableFactory.external(K.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:K.FtCssVariableFactory.external(K.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:K.FtCssVariableFactory.external(K.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:K.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ei=K.FtCssVariableFactory.extend("--ft-ripple-color","",K.designSystemVariables.colorPrimary),oi={color:ei,backgroundColor:K.FtCssVariableFactory.extend("--ft-ripple-background-color","",ei)},ri=K.FtCssVariableFactory.extend("--ft-ripple-color","",K.designSystemVariables.colorSecondary),ii={color:ri,backgroundColor:K.FtCssVariableFactory.extend("--ft-ripple-background-color","",ri)},ai=ni.css`
256
248
  :host {
257
249
  display: contents;
258
250
  }
@@ -265,7 +257,7 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
265
257
 
266
258
  .ft-ripple:not(.ft-ripple--unbounded) {
267
259
  overflow: hidden;
268
- border-radius: ${go.borderRadius};
260
+ border-radius: ${w.borderRadius};
269
261
  }
270
262
 
271
263
  .ft-ripple .ft-ripple--background,
@@ -299,27 +291,27 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
299
291
  }
300
292
 
301
293
  .ft-ripple .ft-ripple--background {
302
- background-color: ${go.backgroundColor};
294
+ background-color: ${w.backgroundColor};
303
295
  }
304
296
 
305
297
  .ft-ripple .ft-ripple--effect {
306
- background-color: ${go.color};
298
+ background-color: ${w.color};
307
299
  }
308
300
 
309
301
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
310
- background-color: ${Oo};
302
+ background-color: ${ii.backgroundColor};
311
303
  }
312
304
 
313
305
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
314
- background-color: ${vo};
306
+ background-color: ${ii.color};
315
307
  }
316
308
 
317
309
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
318
- background-color: ${mo};
310
+ background-color: ${oi.backgroundColor};
319
311
  }
320
312
 
321
313
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
322
- background-color: ${yo};
314
+ background-color: ${oi.color};
323
315
  }
324
316
 
325
317
  .ft-ripple .ft-ripple--background {
@@ -349,33 +341,33 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
349
341
  }
350
342
 
351
343
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
352
- opacity: ${go.opacityContentOnSurfaceHover};
344
+ opacity: ${w.opacityContentOnSurfaceHover};
353
345
  }
354
346
 
355
347
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
356
- opacity: ${go.opacityContentOnSurfaceSelected};
348
+ opacity: ${w.opacityContentOnSurfaceSelected};
357
349
  }
358
350
 
359
351
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
360
- opacity: ${go.opacityContentOnSurfaceFocused};
352
+ opacity: ${w.opacityContentOnSurfaceFocused};
361
353
  }
362
354
 
363
355
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
364
- opacity: ${go.opacityContentOnSurfacePressed};
356
+ opacity: ${w.opacityContentOnSurfacePressed};
365
357
  transform: translate(-50%, -50%) scale(1);
366
358
  }
367
- `;var wo,$o,So=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Co extends o.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
359
+ `;var ct=function(o,e,r,i){var a=arguments.length,l=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(c=o[p])&&(l=(a<3?c(l):a>3?c(e,r,l):c(e,r))||l);return a>3&&l&&Object.defineProperty(e,r,l),l},W=class extends Re.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 Re.Debouncer(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Re.Debouncer(10),this.moveRipple=e=>{var r,i;let{x:a,y:l}=this.getCoordinates(e),c=(i=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-c.x:c.width/2),this.originY=Math.round(l!=null?l-c.y:c.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"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 li.html`
368
360
  <style>
369
361
  .ft-ripple .ft-ripple--effect {
370
362
  left: ${this.originX}px;
371
363
  top: ${this.originY}px;
372
364
  }
373
365
  </style>
374
- <div class="${a.classMap(t)}">
366
+ <div class="${(0,ci.classMap)(e)}">
375
367
  <div class="ft-ripple--background"></div>
376
368
  <div class="ft-ripple--effect"></div>
377
369
  </div>
378
- `}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)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const 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()}}Co.elementDefinitions={},Co.styles=No,So([i.property({type:Boolean})],Co.prototype,"primary",void 0),So([i.property({type:Boolean})],Co.prototype,"secondary",void 0),So([i.property({type:Boolean})],Co.prototype,"unbounded",void 0),So([i.property({type:Boolean})],Co.prototype,"activated",void 0),So([i.property({type:Boolean})],Co.prototype,"selected",void 0),So([i.property({type:Boolean})],Co.prototype,"disabled",void 0),So([i.state()],Co.prototype,"hovered",void 0),So([i.state()],Co.prototype,"focused",void 0),So([i.state()],Co.prototype,"pressed",void 0),So([i.state()],Co.prototype,"rippling",void 0),So([i.state()],Co.prototype,"originX",void 0),So([i.state()],Co.prototype,"originY",void 0),So([i.query(".ft-ripple")],Co.prototype,"ripple",void 0),So([i.query(".ft-ripple--effect")],Co.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Co),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.CHART_BAR_NORMALIZED="&#xe97b;",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="&#xe909;",t.OCTAGON_XMARK="&#xe97d;",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.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;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CONSUMER="&#xe97c;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;"}(wo||(wo={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}($o||($o={})),new Map([...["abw"].map((t=>[t,$o.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,$o.AUDIO])),...["avi"].map((t=>[t,$o.AVI])),...["chm","xhs"].map((t=>[t,$o.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,$o.CODE])),...["csv"].map((t=>[t,$o.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,$o.DITA])),...["epub"].map((t=>[t,$o.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,$o.EXCEL])),...["flac"].map((t=>[t,$o.FLAC])),...["gif"].map((t=>[t,$o.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,$o.GZIP])),...["html","htm","xhtml"].map((t=>[t,$o.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,$o.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,$o.JPEG])),...["json"].map((t=>[t,$o.JSON])),...["m4a","m4p"].map((t=>[t,$o.M4A])),...["mov","qt"].map((t=>[t,$o.MOV])),...["mp3"].map((t=>[t,$o.MP3])),...["mp4","m4v"].map((t=>[t,$o.MP4])),...["ogg","oga"].map((t=>[t,$o.OGG])),...["pdf","ps"].map((t=>[t,$o.PDF])),...["png"].map((t=>[t,$o.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,$o.POWERPOINT])),...["rar"].map((t=>[t,$o.RAR])),...["stp"].map((t=>[t,$o.STP])),...["txt","rtf","md","mdown"].map((t=>[t,$o.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,$o.VIDEO])),...["wav"].map((t=>[t,$o.WAV])),...["wma"].map((t=>[t,$o.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,$o.WORD])),...["xml","xsl","rdf"].map((t=>[t,$o.XML])),...["yaml","yml","x-yaml"].map((t=>[t,$o.YAML])),...["zip"].map((t=>[t,$o.ZIP]))]),$o.ABW,$o.AUDIO,$o.AVI,$o.CHM,$o.CODE,$o.CSV,$o.DITA,$o.EPUB,$o.EXCEL,$o.FLAC,$o.GIF,$o.GZIP,$o.HTML,$o.IMAGE,$o.JPEG,$o.JSON,$o.M4A,$o.MOV,$o.MP3,$o.MP4,$o.OGG,$o.PDF,$o.PNG,$o.POWERPOINT,$o.RAR,$o.STP,$o.TEXT,$o.UNKNOWN,$o.VIDEO,$o.WAV,$o.WMA,$o.WORD,$o.XML,$o.YAML,$o.ZIP;const Io={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
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||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 e,r;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...p)=>d=>{p.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(d)},i=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),l=p=>{["Enter"," "].includes(p.key)&&r("keyup")(p)},c={passive:!0};e.addEventListener("mouseover",this.startHover,c),e.addEventListener("mousemove",this.moveRipple,c),e.addEventListener("mouseleave",this.endHover,c),e.addEventListener("mousedown",i,c),e.addEventListener("touchstart",a,c),e.addEventListener("touchmove",this.moveRipple,c),e.addEventListener("keydown",l,c),e.addEventListener("focus",this.startFocus,c),e.addEventListener("blur",this.endFocus,c),e.addEventListener("focusin",this.startFocus,c),e.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,c),e.removeEventListener("mousemove",this.moveRipple,c),e.removeEventListener("mouseleave",this.endHover,c),e.removeEventListener("mousedown",i,c),e.removeEventListener("touchstart",a,c),e.removeEventListener("touchmove",this.moveRipple,c),e.removeEventListener("keydown",l,c),e.removeEventListener("focus",this.startFocus,c),e.removeEventListener("blur",this.endFocus,c),e.removeEventListener("focusin",this.startFocus,c),e.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,i=e,a,l;return r.x!=null?{x:a,y:l}=r:i.touches!=null&&(a=i.touches[0].clientX,l=i.touches[0].clientY),{x:a,y:l}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};W.elementDefinitions={};W.styles=ai;ct([(0,et.property)({type:Boolean})],W.prototype,"primary",void 0);ct([(0,et.property)({type:Boolean})],W.prototype,"secondary",void 0);ct([(0,et.property)({type:Boolean})],W.prototype,"unbounded",void 0);ct([(0,et.property)({type:Boolean})],W.prototype,"activated",void 0);ct([(0,et.property)({type:Boolean})],W.prototype,"selected",void 0);ct([(0,et.property)({type:Boolean})],W.prototype,"disabled",void 0);ct([(0,et.state)()],W.prototype,"hovered",void 0);ct([(0,et.state)()],W.prototype,"focused",void 0);ct([(0,et.state)()],W.prototype,"pressed",void 0);ct([(0,et.state)()],W.prototype,"rippling",void 0);ct([(0,et.state)()],W.prototype,"originX",void 0);ct([(0,et.state)()],W.prototype,"originY",void 0);ct([(0,et.query)(".ft-ripple")],W.prototype,"ripple",void 0);ct([(0,et.query)(".ft-ripple--effect")],W.prototype,"rippleEffect",void 0);(0,si.customElement)("ft-ripple")(W);var hi=u(E());var Ae=u(B()),jt=u(ft()),fi=u(E()),ui=u(lo());var Vt;(function(o){o.THUMBS_DOWN="&#xe94d;",o.THUMBS_DOWN_PLAIN="&#xe94e;",o.THUMBS_UP="&#xe94f;",o.THUMBS_UP_PLAIN="&#xe950;",o.STAR="&#xe94c;",o.STAR_PLAIN="&#xe900;",o.DESKTOP="&#xe95e;",o.LIFE_RING="&#xe975;",o.GLOBE="&#xe976;",o.PIGGY_BANK="&#xe977;",o.TABLET_LANDSCAPE="&#xe95f;",o.TABLET_PORTRAIT="&#xe960;",o.MOBILE_LANDSCAPE="&#xe961;",o.MOBILE_PORTRAIT="&#xe962;",o.ARROW_RIGHT_TO_LINE="&#xe95d;",o.THIN_ARROW_UP="&#xe95c;",o.CONTEXTUAL="&#xe95b;",o.CHART_SIMPLE="&#xe968;",o.BARS_PROGRESS="&#xe969;",o.LINE_CHART="&#xe96c;",o.STACKED_CHART="&#xe96d;",o.CHART_BAR_NORMALIZED="&#xe97b;",o.BOOK_OPEN_GEAR="&#xe96a;",o.BOOK_OPEN_GEAR_SLASH="&#xe96b;",o.DIAGRAM_SUNBURST="&#xe963;",o.DIAGRAM_SANKEY="&#xe964;",o.UNSTRUCTURED_DOC="&#xe95a;",o.RESET="&#xe958;",o.THIN_ARROW_LEFT="&#xe956;",o.THIN_ARROW_RIGHT="&#xe957;",o.MY_COLLECTIONS="&#xe955;",o.OFFLINE_SETTINGS="&#xe954;",o.MY_LIBRARY="&#xe959;",o.RATE_PLAIN="&#xe952;",o.RATE="&#xe953;",o.FEEDBACK_PLAIN="&#xe951;",o.PAUSE="&#xe949;",o.PLAY="&#xe94a;",o.RELATIVES_PLAIN="&#xe947;",o.RELATIVES="&#xe948;",o.SHORTCUT_MENU="&#xe946;",o.PRINT="&#xe944;",o.DEFAULT_ROLES="&#xe945;",o.ACCOUNT_SETTINGS="&#xe943;",o.ONLINE="&#xe941;",o.OFFLINE="&#xe816;",o.UPLOAD="&#xe940;",o.BOOK_PLAIN="&#xe93f;",o.SYNC="&#xe93d;",o.SHARED_PBK="&#xe931;",o.COLLECTIONS="&#xe92a;",o.SEARCH_IN_PUBLICATION="&#xe92f;",o.BOOKS="&#xe806;",o.LOCKER="&#xe93b;",o.ARROW_DOWN="&#xe92b;",o.ARROW_LEFT="&#xe92c;",o.ARROW_RIGHT="&#xe92d;",o.ARROW_UP="&#xe92e;",o.SAVE="&#xe93a;",o.MAILS_AND_NOTIFICATIONS="&#xe939;",o.DOT="&#xe936;",o.MINUS="&#xe937;",o.PLUS="&#xe938;",o.FILTERS="&#xe935;",o.STRIPE_ARROW_RIGHT="&#xe934;",o.STRIPE_ARROW_LEFT="&#xe933;",o.ATTACHMENTS="&#xe932;",o.ADD_BOOKMARK="&#xe804;",o.BOOKMARK="&#xe805;",o.EXPORT="&#xe80f;",o.MENU="&#xe807;",o.TAG="&#xe93e;",o.TAG_PLAIN="&#xe942;",o.COPY_TO_CLIPBOARD="&#xe930;",o.COLUMNS="&#xe928;",o.ARTICLE="&#xe927;",o.CLOSE="&#xe909;",o.OCTAGON_XMARK="&#xe97d;",o.CLOSE_PLAIN="&#xe925;",o.CHECK_PLAIN="&#xe926;",o.LOGOUT="&#xe923;",o.SIGN_IN="&#xe922;",o.THIN_ARROW="&#xe921;",o.TRIANGLE_BOTTOM="&#xe91d;",o.TRIANGLE_LEFT="&#xe91e;",o.TRIANGLE_RIGHT="&#xe91f;",o.TRIANGLE_TOP="&#xe920;",o.FACET_HAS_DESCENDANT="&#xe91c;",o.MINUS_PLAIN="&#xe91a;",o.PLUS_PLAIN="&#xe91b;",o.INFO="&#xe919;",o.ICON_EXPAND="&#xe917;",o.ICON_COLLAPSE="&#xe918;",o.ADD_TO_PBK="&#xe800;",o.ALERT="&#xe801;",o.ADD_ALERT="&#xe802;",o.BACK_TO_SEARCH="&#xe803;",o.DOWNLOAD="&#xe808;",o.EDIT="&#xe809;",o.FEEDBACK="&#xe80a;",o.MODIFY_PBK="&#xe80c;",o.SCHEDULED="&#xe80d;",o.SEARCH="&#xe80e;",o.SHARE="&#xe80f1;",o.TOC="&#xe810;",o.WRITE_UGC="&#xe811;",o.TRASH="&#xe812;",o.EXTLINK="&#xe814;",o.EXTLINK_LIGHT="&#xe978;",o.CALENDAR="&#xe815;",o.BOOK="&#xe817;",o.DOWNLOAD_PLAIN="&#xe818;",o.CHECK="&#xe819;",o.TOPICS="&#xe901;",o.EYE="&#xf06e;",o.EYE_SLASH="&#xe970;",o.DISC="&#xe902;",o.CIRCLE="&#xe903;",o.SHARED="&#xe904;",o.SORT_UNSORTED="&#xe905;",o.SORT_UP="&#xe906;",o.SORT_DOWN="&#xe907;",o.WORKING="&#xe908;",o.ZOOM_OUT="&#xe90a;",o.ZOOM_IN="&#xe90b;",o.ZOOM_REALSIZE="&#xe90c;",o.ZOOM_FULLSCREEN="&#xe90d;",o.ADMIN_RESTRICTED="&#xe90e;",o.ADMIN_THEME="&#xe911;",o.WARNING="&#xe913;",o.CONTEXT="&#xe914;",o.SEARCH_HOME="&#xe915;",o.STEPS="&#xe916;",o.HOME="&#xe80b;",o.TRANSLATE="&#xe924;",o.USER="&#xe813;",o.ADMIN="&#xe90f;",o.ANALYTICS="&#xe929;",o.ADMIN_KHUB="&#xe910;",o.ADMIN_USERS="&#xe912;",o.ADMIN_INTEGRATION="&#xe93c;",o.ADMIN_PORTAL="&#xe94b;",o.COMMENT_QUESTION="&#xe965;",o.COMMENT_QUESTION_PLAIN="&#xe966;",o.MESSAGE_BOT="&#xe967;",o.PIP="&#xe973;",o.PIP_WIDE="&#xe974;",o.EXPAND_WIDE="&#xe972;",o.X_MARK="&#xe971;",o.CLONE="&#xe979;",o.CLONE_LINK_SIMPLE="&#xe97a;",o.CONSUMER="&#xe97c;",o.HOURGLASS_HALF="&#xe97e;",o.CLOCK_THREE="&#xe97f;",o.CALENDAR_DAY="&#xe980;",o.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",o.WAND_MAGIC_SPARKLES="&#xe982;",o.PAPER_PLANE="&#xe983;"})(Vt||(Vt={}));var h;(function(o){o.UNKNOWN="&#xe90a;",o.ABW="&#xe900;",o.AUDIO="&#xe901;",o.AVI="&#xe902;",o.CHM="&#xe904;",o.CODE="&#xe905;",o.CSV="&#xe903;",o.DITA="&#xe906;",o.EPUB="&#xe907;",o.EXCEL="&#xe908;",o.FLAC="&#xe909;",o.GIF="&#xe90b;",o.GZIP="&#xe90c;",o.HTML="&#xe90d;",o.IMAGE="&#xe90e;",o.JPEG="&#xe90f;",o.JSON="&#xe910;",o.M4A="&#xe911;",o.MOV="&#xe912;",o.MP3="&#xe913;",o.MP4="&#xe914;",o.OGG="&#xe915;",o.PDF="&#xe916;",o.PNG="&#xe917;",o.POWERPOINT="&#xe918;",o.RAR="&#xe91a;",o.STP="&#xe91b;",o.TEXT="&#xe91c;",o.VIDEO="&#xe91e;",o.WAV="&#xe91f;",o.WMA="&#xe920;",o.WORD="&#xe921;",o.XML="&#xe922;",o.YAML="&#xe919;",o.ZIP="&#xe923;"})(h||(h={}));var cp=new Map([...["abw"].map(o=>[o,h.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(o=>[o,h.AUDIO]),...["avi"].map(o=>[o,h.AVI]),...["chm","xhs"].map(o=>[o,h.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(o=>[o,h.CODE]),...["csv"].map(o=>[o,h.CSV]),...["dita","ditamap","ditaval"].map(o=>[o,h.DITA]),...["epub"].map(o=>[o,h.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(o=>[o,h.EXCEL]),...["flac"].map(o=>[o,h.FLAC]),...["gif"].map(o=>[o,h.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(o=>[o,h.GZIP]),...["html","htm","xhtml"].map(o=>[o,h.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(o=>[o,h.IMAGE]),...["jpeg","jpg","jpe"].map(o=>[o,h.JPEG]),...["json"].map(o=>[o,h.JSON]),...["m4a","m4p"].map(o=>[o,h.M4A]),...["mov","qt"].map(o=>[o,h.MOV]),...["mp3"].map(o=>[o,h.MP3]),...["mp4","m4v"].map(o=>[o,h.MP4]),...["ogg","oga"].map(o=>[o,h.OGG]),...["pdf","ps"].map(o=>[o,h.PDF]),...["png"].map(o=>[o,h.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(o=>[o,h.POWERPOINT]),...["rar"].map(o=>[o,h.RAR]),...["stp"].map(o=>[o,h.STP]),...["txt","rtf","md","mdown"].map(o=>[o,h.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(o=>[o,h.VIDEO]),...["wav"].map(o=>[o,h.WAV]),...["wma"].map(o=>[o,h.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(o=>[o,h.WORD]),...["xml","xsl","rdf"].map(o=>[o,h.XML]),...["yaml","yml","x-yaml"].map(o=>[o,h.YAML]),...["zip"].map(o=>[o,h.ZIP])]);var sp={[h.ABW]:"#91ABC6",[h.AUDIO]:"#1795E3",[h.AVI]:"#E63324",[h.CHM]:"#71C3EB",[h.CODE]:"#71C3EB",[h.CSV]:"#1F7345",[h.DITA]:"#71C3EB",[h.EPUB]:"#85B926",[h.EXCEL]:"#1F7345",[h.FLAC]:"#1795E3",[h.GIF]:"#59B031",[h.GZIP]:"#F8AB36",[h.HTML]:"#71C3EB",[h.IMAGE]:"#59B031",[h.JPEG]:"#59B031",[h.JSON]:"#71C3EB",[h.M4A]:"#1795E3",[h.MOV]:"#E63324",[h.MP3]:"#1795E3",[h.MP4]:"#E63324",[h.OGG]:"#1795E3",[h.PDF]:"#E44948",[h.PNG]:"#59B031",[h.POWERPOINT]:"#B54A2B",[h.RAR]:"#F8AB36",[h.STP]:"#3764B1",[h.TEXT]:"#3162AB",[h.UNKNOWN]:"#999999",[h.VIDEO]:"#E63324",[h.WAV]:"#1795E3",[h.WMA]:"#1795E3",[h.WORD]:"#3162AB",[h.XML]:"#71C3EB",[h.YAML]:"#71C3EB",[h.ZIP]:"#F8AB36"};var pi=u(B()),Rt=u(E()),J={size:Rt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Rt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Rt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Rt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Rt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Rt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Rt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Rt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},di=pi.css`
379
371
  :host, i.ft-icon {
380
372
  display: inline-flex;
381
373
  align-items: center;
@@ -384,14 +376,14 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
384
376
  }
385
377
 
386
378
  :host {
387
- width: ${Io.size};
388
- height: ${Io.size};
379
+ width: ${J.size};
380
+ height: ${J.size};
389
381
  }
390
382
 
391
383
  i.ft-icon {
392
384
  width: 100%;
393
385
  height: 100%;
394
- font-size: ${Io.size};
386
+ font-size: ${J.size};
395
387
  line-height: 1;
396
388
  font-weight: normal;
397
389
  text-transform: none;
@@ -402,33 +394,33 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
402
394
  text-rendering: auto;
403
395
  -webkit-font-smoothing: antialiased;
404
396
  -moz-osx-font-smoothing: grayscale;
405
- vertical-align: ${Io.verticalAlign};
397
+ vertical-align: ${J.verticalAlign};
406
398
  }
407
399
 
408
400
  i.ft-icon.ft-icon--fluid-topics {
409
- font-family: ${Io.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
401
+ font-family: ${J.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
410
402
 
411
403
  /* Ugly fix because font is broken */
412
- font-size: calc(0.75 * ${Io.size});
413
- line-height: ${Io.size};
404
+ font-size: calc(0.75 * ${J.size});
405
+ line-height: ${J.size};
414
406
  position: relative;
415
407
  top: -4%;
416
408
  justify-content: center;
417
409
  }
418
410
 
419
411
  .ft-icon--file-format {
420
- font-family: ${Io.fileFormatFontFamily}, ft-mime, sans-serif;
412
+ font-family: ${J.fileFormatFontFamily}, ft-mime, sans-serif;
421
413
  }
422
414
 
423
415
  .ft-icon--material {
424
- font-family: ${Io.materialFontFamily}, "Material Icons", sans-serif;
416
+ font-family: ${J.materialFontFamily}, "Material Icons", sans-serif;
425
417
  }
426
- `;var ko;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ko||(ko={}));var Wo=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Uo extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(ko).includes(this.variant)?this.variant:ko.fluid_topics,o=t!==ko.material||!!this.value;return e.html`
427
- <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
428
- ${n.unsafeHTML(this.resolvedIcon)}
429
- <slot ?hidden=${o}></slot>
418
+ `;var _t;(function(o){o.fluid_topics="fluid-topics",o.file_format="file-format",o.material="material"})(_t||(_t={}));var Ye=function(o,e,r,i){var a=arguments.length,l=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(c=o[p])&&(l=(a<3?c(l):a>3?c(e,r,l):c(e,r))||l);return a>3&&l&&Object.defineProperty(e,r,l),l},Q=class extends fi.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Ae.nothing}render(){let e=this.variant&&Object.values(_t).includes(this.variant)?this.variant:_t.fluid_topics,r=e!==_t.material||!!this.value;return Ae.html`
419
+ <i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
420
+ ${(0,ui.unsafeHTML)(this.resolvedIcon)}
421
+ <slot ?hidden=${r}></slot>
430
422
  </i>
431
- `}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 ko.file_format:this.resolvedIcon=null!==(t=$o[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case ko.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=wo[i.replace("-","_").toUpperCase()])&&void 0!==o?o:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Uo.elementDefinitions={},Uo.styles=Eo,Wo([i.property()],Uo.prototype,"variant",void 0),Wo([i.property()],Uo.prototype,"value",void 0),Wo([i.state()],Uo.prototype,"resolvedIcon",void 0),Wo([i.query("slot")],Uo.prototype,"slottedContent",void 0),o.customElement("ft-icon")(Uo);const Ro={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","70vh"),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
+ `}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let i=this.value||this.textContent;switch(this.variant){case _t.file_format:this.resolvedIcon=(e=h[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case _t.material:this.resolvedIcon=this.value||Ae.nothing;break;default:this.resolvedIcon=(r=Vt[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};Q.elementDefinitions={};Q.styles=di;Ye([(0,jt.property)()],Q.prototype,"variant",void 0);Ye([(0,jt.property)()],Q.prototype,"value",void 0);Ye([(0,jt.state)()],Q.prototype,"resolvedIcon",void 0);Ye([(0,jt.query)("slot")],Q.prototype,"slottedContent",void 0);(0,hi.customElement)("ft-icon")(Q);var gi=u(B()),O=u(E());var R={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","70vh"),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")},yi=gi.css`
432
424
  *:focus {
433
425
  outline: none;
434
426
  }
@@ -442,7 +434,7 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
442
434
  .ft-select--main-panel {
443
435
  position: relative;
444
436
  display: flex;
445
- height: calc(4 * ${Ro.verticalSpacing} + ${Ro.labelSize} + ${Ro.selectedOptionSize});
437
+ height: calc(4 * ${R.verticalSpacing} + ${R.labelSize} + ${R.selectedOptionSize});
446
438
  }
447
439
 
448
440
  .ft-select--input-panel {
@@ -451,17 +443,17 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
451
443
  display: flex;
452
444
  align-items: center;
453
445
  overflow: hidden;
454
- padding-left: ${Ro.horizontalSpacing};
455
- padding-right: ${Ro.horizontalSpacing};
446
+ padding-left: ${R.horizontalSpacing};
447
+ padding-right: ${R.horizontalSpacing};
456
448
  gap: 8px;
457
- color: ${Ro.selectedOptionColor};
458
- ${o.setVariable(go.color,Ro.selectedOptionColor)};
449
+ color: ${R.selectedOptionColor};
450
+ ${(0,O.setVariable)(w.color,R.selectedOptionColor)};
459
451
  }
460
452
 
461
453
  .ft-select--input-panel,
462
454
  .ft-select--option {
463
- ${o.setVariable(go.opacityContentOnSurfaceHover,"0.08")};
464
- ${o.setVariable(go.opacityContentOnSurfacePressed,"0.04")};
455
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceHover,"0.08")};
456
+ ${(0,O.setVariable)(w.opacityContentOnSurfacePressed,"0.04")};
465
457
  }
466
458
 
467
459
  .ft-select--input-panel > *:not(ft-ripple),
@@ -471,7 +463,7 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
471
463
 
472
464
  .ft-select--disabled .ft-select--input-panel,
473
465
  .ft-select--disabled .ft-select--option {
474
- color: ${Ro.colorOnSurfaceDisabled};
466
+ color: ${R.colorOnSurfaceDisabled};
475
467
  }
476
468
 
477
469
  .ft-select:not(.ft-select--disabled) .ft-select--input-panel,
@@ -480,20 +472,20 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
480
472
  }
481
473
 
482
474
  ft-input-label {
483
- ${o.setVariable(co.fontSize,Ro.selectedOptionSize)};
484
- ${o.setVariable(co.raisedFontSize,Ro.labelSize)};
485
- ${o.setVariable(co.verticalSpacing,Ro.verticalSpacing)};
486
- ${o.setVariable(co.horizontalSpacing,Ro.horizontalSpacing)};
487
- ${o.setVariable(co.labelMaxWidth,`calc(100% - ${Io.size} - 8px)`)};
475
+ ${(0,O.setVariable)(v.fontSize,R.selectedOptionSize)};
476
+ ${(0,O.setVariable)(v.raisedFontSize,R.labelSize)};
477
+ ${(0,O.setVariable)(v.verticalSpacing,R.verticalSpacing)};
478
+ ${(0,O.setVariable)(v.horizontalSpacing,R.horizontalSpacing)};
479
+ ${(0,O.setVariable)(v.labelMaxWidth,`calc(100% - ${J.size} - 8px)`)};
488
480
  }
489
481
 
490
482
  .ft-select:not(.ft-select--disabled):focus-within ft-icon {
491
- color: ${Ro.colorPrimary};
483
+ color: ${R.colorPrimary};
492
484
  }
493
485
 
494
486
  .ft-select:not(.ft-select--disabled):focus-within ft-input-label {
495
- ${o.setVariable(co.borderColor,Ro.colorPrimary)};
496
- ${o.setVariable(co.textColor,Ro.colorPrimary)};
487
+ ${(0,O.setVariable)(v.borderColor,R.colorPrimary)};
488
+ ${(0,O.setVariable)(v.textColor,R.colorPrimary)};
497
489
  }
498
490
 
499
491
  .ft-select--selected-option {
@@ -503,12 +495,12 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
503
495
  overflow: hidden;
504
496
  white-space: nowrap;
505
497
  text-overflow: ellipsis;
506
- ${o.setVariable(Et.fontSize,Ro.selectedOptionSize)};
507
- ${o.setVariable(Et.lineHeight,Ro.selectedOptionSize)};
498
+ ${(0,O.setVariable)(gt.fontSize,R.selectedOptionSize)};
499
+ ${(0,O.setVariable)(gt.lineHeight,R.selectedOptionSize)};
508
500
  }
509
501
 
510
502
  .ft-select--in-error .ft-select--selected-option {
511
- color: ${Ro.colorError};
503
+ color: ${R.colorError};
512
504
  }
513
505
 
514
506
  ft-icon {
@@ -520,26 +512,26 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
520
512
  }
521
513
 
522
514
  .ft-select--filled .ft-select--input-panel {
523
- border-radius: ${Ro.borderRadiusS} ${Ro.borderRadiusS} 0 0;
515
+ border-radius: ${R.borderRadiusS} ${R.borderRadiusS} 0 0;
524
516
  }
525
517
 
526
518
  .ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
527
519
  align-self: stretch;
528
- padding-top: calc(${Ro.labelSize} + 2 * ${Ro.verticalSpacing});
520
+ padding-top: calc(${R.labelSize} + 2 * ${R.verticalSpacing});
529
521
  }
530
522
 
531
523
  .ft-select--outlined .ft-select--input-panel {
532
- border-radius: ${Ro.borderRadiusS};
524
+ border-radius: ${R.borderRadiusS};
533
525
  }
534
526
 
535
527
  .ft-select--options {
536
528
  display: none;
537
529
  position: absolute;
538
530
  top: 100%;
539
- color: ${Ro.optionsColor};
540
- background: ${Ro.colorSurface};
541
- z-index: ${Ro.optionsZIndex};
542
- box-shadow: ${Ro.elevation02};
531
+ color: ${R.optionsColor};
532
+ background: ${R.colorSurface};
533
+ z-index: ${R.optionsZIndex};
534
+ box-shadow: ${R.elevation02};
543
535
  }
544
536
 
545
537
  .ft-select--fixed .ft-select--options {
@@ -548,13 +540,13 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
548
540
 
549
541
  .ft-select--options-displayed .ft-select--options {
550
542
  display: block;
551
- max-height: ${Ro.optionsHeight};
543
+ max-height: ${R.optionsHeight};
552
544
  overflow-y: auto;
553
545
  }
554
546
 
555
547
  .ft-select--option {
556
548
  position: relative;
557
- padding: 4px ${Ro.horizontalSpacing};
549
+ padding: 4px ${R.horizontalSpacing};
558
550
  min-height: 32px;
559
551
  display: flex;
560
552
  align-items: center;
@@ -566,68 +558,62 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
566
558
  }
567
559
 
568
560
  .ft-select--helper-text {
569
- padding: 0 ${Ro.horizontalSpacing};
570
- color: ${Ro.helperColor};
561
+ padding: 0 ${R.horizontalSpacing};
562
+ color: ${R.helperColor};
571
563
  }
572
564
 
573
565
  .ft-select--in-error .ft-select--helper-text {
574
- color: ${Ro.colorError};
566
+ color: ${R.colorError};
575
567
  }
576
- `,Zo=["start","end"],Lo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Zo[0],o+"-"+Zo[1])),[]),Ko=Math.min,Do=Math.max,Fo=Math.round,Bo=t=>({x:t,y:t}),Ho={left:"right",right:"left",bottom:"top",top:"bottom"},Ao={start:"end",end:"start"};function Go(t,o,e){return Do(t,Ko(o,e))}function Po(t,o){return"function"==typeof t?t(o):t}function jo(t){return t.split("-")[0]}function Mo(t){return t.split("-")[1]}function To(t){return"x"===t?"y":"x"}function _o(t){return"y"===t?"height":"width"}function Vo(t){return["top","bottom"].includes(jo(t))?"y":"x"}function Yo(t){return To(Vo(t))}function Xo(t){return t.replace(/left|right|bottom|top/g,(t=>Ho[t]))}function qo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Jo(t,o,e){let{reference:i,floating:r}=t;const n=Vo(o),a=Yo(o),l=_o(a),s=jo(o),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,d=i[l]/2-r[l]/2;let h;switch(s){case"top":h={x:p,y:i.y-r.height};break;case"bottom":h={x:p,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:f};break;case"left":h={x:i.x-r.width,y:f};break;default:h={x:i.x,y:i.y}}switch(Mo(o)){case"start":h[a]-=d*(e&&c?-1:1);break;case"end":h[a]+=d*(e&&c?-1:1)}return h}async function Qo(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=Po(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),g=l[d?"floating"===f?"reference":"floating":f],b=qo(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(g)))||e?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:p,strategy:s})),y="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=qo(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:m,strategy:s}):y);return{top:(b.top-v.top+u.top)/x.y,bottom:(v.bottom-b.bottom+u.bottom)/x.y,left:(b.left-v.left+u.left)/x.x,right:(v.right-b.right+u.right)/x.x}}function te(t,o,e){return(t?[...e.filter((o=>Mo(o)===t)),...e.filter((o=>Mo(o)!==t))]:e.filter((t=>jo(t)===t))).filter((e=>!t||(Mo(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Ao[t]))}(e)!==e)))}const oe=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:d=Lo,autoAlignment:h=!0,...u}=Po(t,o),g=void 0!==f||d===Lo?te(f||null,h,d):d,b=await Qo(o,u),y=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[y];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=Mo(t),r=Yo(t),n=_o(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Xo(a)),[a,Xo(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const v=[b[jo(m)],b[x[0]],b[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],N=g[y+1];if(N)return{data:{index:y+1,overflows:O},reset:{placement:N}};const w=O.map((t=>{const o=Mo(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),$=w.filter((t=>t[2].slice(0,Mo(t[0])?2:3).every((t=>t<=0)))),S=(null==(r=$[0])?void 0:r[0])||w[0][0];return S!==l?{data:{index:y+1,overflows:O},reset:{placement:S}}:{}}}};function ee(t){return ne(t)?(t.nodeName||"").toLowerCase():"#document"}function ie(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function re(t){var o;return null==(o=(ne(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function ne(t){return t instanceof Node||t instanceof ie(t).Node}function ae(t){return t instanceof Element||t instanceof ie(t).Element}function le(t){return t instanceof HTMLElement||t instanceof ie(t).HTMLElement}function se(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ie(t).ShadowRoot)}function ce(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=ue(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function pe(t){return["table","td","th"].includes(ee(t))}function fe(t){const o=de(),e=ue(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function de(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function he(t){return["html","body","#document"].includes(ee(t))}function ue(t){return ie(t).getComputedStyle(t)}function ge(t){return ae(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function be(t){if("html"===ee(t))return t;const o=t.assignedSlot||t.parentNode||se(t)&&t.host||re(t);return se(o)?o.host:o}function ye(t){const o=be(t);return he(o)?t.ownerDocument?t.ownerDocument.body:t.body:le(o)&&ce(o)?o:ye(o)}function me(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=ye(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=ie(r);return n?o.concat(a,a.visualViewport||[],ce(r)?r:[],a.frameElement&&e?me(a.frameElement):[]):o.concat(r,me(r,[],e))}function xe(t){const o=ue(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=le(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,l=Fo(e)!==n||Fo(i)!==a;return l&&(e=n,i=a),{width:e,height:i,$:l}}function ve(t){return ae(t)?t:t.contextElement}function Oe(t){const o=ve(t);if(!le(o))return Bo(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=xe(o);let a=(n?Fo(e.width):e.width)/i,l=(n?Fo(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Ne=Bo(0);function we(t){const o=ie(t);return de()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Ne}function $e(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=ve(t);let a=Bo(1);o&&(i?ae(i)&&(a=Oe(i)):a=Oe(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==ie(t))&&o}(n,e,i)?we(n):Bo(0);let s=(r.left+l.x)/a.x,c=(r.top+l.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=ie(n),o=i&&ae(i)?ie(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=Oe(e),o=e.getBoundingClientRect(),i=ue(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,p*=t.x,f*=t.y,s+=r,c+=n,e=ie(e).frameElement}}return qo({width:p,height:f,x:s,y:c})}function Se(t){return $e(re(t)).left+ge(t).scrollLeft}function Ce(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=ie(t),i=re(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,l=0,s=0;if(r){n=r.width,a=r.height;const t=de();(!t||t&&"fixed"===o)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)i=function(t){const o=re(t),e=ge(t),i=t.ownerDocument.body,r=Do(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=Do(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+Se(t);const l=-e.scrollTop;return"rtl"===ue(i).direction&&(a+=Do(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(re(t));else if(ae(o))i=function(t,o){const e=$e(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=le(t)?Oe(t):Bo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=we(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return qo(i)}function Ie(t,o){const e=be(t);return!(e===o||!ae(e)||he(e))&&("fixed"===ue(e).position||Ie(e,o))}function Ee(t,o,e){const i=le(o),r=re(o),n="fixed"===e,a=$e(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=Bo(0);if(i||!i&&!n)if(("body"!==ee(o)||ce(r))&&(l=ge(o)),i){const t=$e(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else r&&(s.x=Se(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function ke(t,o){return le(t)&&"fixed"!==ue(t).position?o?o(t):t.offsetParent:null}function We(t,o){const e=ie(t);if(!le(t))return e;let i=ke(t,o);for(;i&&pe(i)&&"static"===ue(i).position;)i=ke(i,o);return i&&("html"===ee(i)||"body"===ee(i)&&"static"===ue(i).position&&!fe(i))?e:i||function(t){let o=be(t);for(;le(o)&&!he(o);){if(fe(o))return o;o=be(o)}return null}(t)||e}const Ue={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=le(e),n=re(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Bo(1);const s=Bo(0);if((r||!r&&"fixed"!==i)&&(("body"!==ee(e)||ce(n))&&(a=ge(e)),le(e))){const t=$e(e);l=Oe(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:re,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=me(t,[],!1).filter((t=>ae(t)&&"body"!==ee(t))),r=null;const n="fixed"===ue(t).position;let a=n?be(t):t;for(;ae(a)&&!he(a);){const o=ue(a),e=fe(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||ce(a)&&!e&&Ie(t,a))?i=i.filter((t=>t!==a)):r=o,a=be(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],l=n.reduce(((t,e)=>{const i=Ce(o,e,r);return t.top=Do(i.top,t.top),t.right=Ko(i.right,t.right),t.bottom=Ko(i.bottom,t.bottom),t.left=Do(i.left,t.left),t}),Ce(o,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:We,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||We,n=this.getDimensions;return{reference:Ee(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return xe(t)},getScale:Oe,isElement:ae,isRTL:function(t){return"rtl"===ue(t).direction}},Re=(t,o,e)=>{const i=new Map,r={platform:Ue,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:p,y:f}=Jo(c,i,s),d=i,h={},u=0;for(let e=0;e<l.length;e++){const{name:n,fn:g}=l[e],{x:b,y,data:m,reset:x}=await g({x:p,y:f,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=b?b:p,f=null!=y?y:f,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:p,y:f}=Jo(c,d,s))),e=-1)}return{x:p,y:f,placement:d,strategy:r,middlewareData:h}})(t,o,{...r,platform:n})};function ze(t){return function(t){for(let o=t;o;o=Ze(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Ze(t);o;o=Ze(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Ze(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function Le(t,o,e){return Re(t,o,{platform:{...Ue,getOffsetParent:t=>Ue.getOffsetParent(t,ze)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:o,y:e,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=Po(i,t),c={x:o,y:e},p=await Qo(t,s),f=Vo(jo(r)),d=To(f);let h=c[d],u=c[f];if(n){const t="y"===d?"bottom":"right";h=Go(h+p["y"===d?"top":"left"],h,h-p[t])}if(a){const t="y"===f?"bottom":"right";u=Go(u+p["y"===f?"top":"left"],u,u-p[t])}const g=l.fn({...t,[d]:h,[f]:u});return{...g,data:{x:g.x-o,y:g.y-e}}}}),oe({allowedPlacements:[e]})]});var i}var Ke=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class De extends o.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return e.html``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}De.elementDefinitions={},Ke([i.property({type:String})],De.prototype,"label",void 0),Ke([i.property({type:Object,converter:t=>t})],De.prototype,"value",void 0),Ke([i.property({type:Boolean,reflect:!0})],De.prototype,"selected",void 0);class Fe extends o.FtLitElement{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,o,i,n,l;let s=this.hasOptionsMenuOpen,c=this.disabled||!this.hasOptions;const p=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(i=null===(o=this.selectedOption)||void 0===o?void 0:o.label)&&void 0!==i?i:"").length>0,f={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":c,"ft-select--options-displayed":s,"ft-select--has-option-selected":p,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return e.html`
577
- <div class="${a.classMap(f)}" part="container">
568
+ `;var bi=["top","right","bottom","left"],mi=["start","end"],So=bi.reduce((o,e)=>o.concat(e,e+"-"+mi[0],e+"-"+mi[1]),[]),Le=Math.min,Dt=Math.max,Pe=Math.round;var At=o=>({x:o,y:o}),zn={left:"right",right:"left",bottom:"top",top:"bottom"},Bn={start:"end",end:"start"};function Oo(o,e,r){return Dt(o,Le(e,r))}function Xe(o,e){return typeof o=="function"?o(e):o}function pe(o){return o.split("-")[0]}function Ht(o){return o.split("-")[1]}function Co(o){return o==="x"?"y":"x"}function wo(o){return o==="y"?"height":"width"}function qe(o){return["top","bottom"].includes(pe(o))?"y":"x"}function No(o){return Co(qe(o))}function xi(o,e,r){r===void 0&&(r=!1);let i=Ht(o),a=No(o),l=wo(a),c=a==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[l]>e.floating[l]&&(c=vo(c)),[c,vo(c)]}function vi(o){return o.replace(/start|end/g,e=>Bn[e])}function vo(o){return o.replace(/left|right|bottom|top/g,e=>zn[e])}function kn(o){return{top:0,right:0,bottom:0,left:0,...o}}function Si(o){return typeof o!="number"?kn(o):{top:o,right:o,bottom:o,left:o}}function Yt(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function Oi(o,e,r){let{reference:i,floating:a}=o,l=qe(e),c=No(e),p=wo(c),d=pe(e),f=l==="y",x=i.x+i.width/2-a.width/2,m=i.y+i.height/2-a.height/2,A=i[p]/2-a[p]/2,N;switch(d){case"top":N={x,y:i.y-a.height};break;case"bottom":N={x,y:i.y+i.height};break;case"right":N={x:i.x+i.width,y:m};break;case"left":N={x:i.x-a.width,y:m};break;default:N={x:i.x,y:i.y}}switch(Ht(e)){case"start":N[c]-=A*(r&&f?-1:1);break;case"end":N[c]+=A*(r&&f?-1:1);break}return N}var Ci=async(o,e,r)=>{let{placement:i="bottom",strategy:a="absolute",middleware:l=[],platform:c}=r,p=l.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(e)),f=await c.getElementRects({reference:o,floating:e,strategy:a}),{x,y:m}=Oi(f,i,d),A=i,N={},I=0;for(let G=0;G<p.length;G++){let{name:j,fn:M}=p[G],{x:Y,y:it,data:Bt,reset:ot}=await M({x,y:m,initialPlacement:i,placement:A,strategy:a,middlewareData:N,rects:f,platform:c,elements:{reference:o,floating:e}});if(x=Y??x,m=it??m,N={...N,[j]:{...N[j],...Bt}},ot&&I<=50){I++,typeof ot=="object"&&(ot.placement&&(A=ot.placement),ot.rects&&(f=ot.rects===!0?await c.getElementRects({reference:o,floating:e,strategy:a}):ot.rects),{x,y:m}=Oi(f,A,d)),G=-1;continue}}return{x,y:m,placement:A,strategy:a,middlewareData:N}};async function Eo(o,e){var r;e===void 0&&(e={});let{x:i,y:a,platform:l,rects:c,elements:p,strategy:d}=o,{boundary:f="clippingAncestors",rootBoundary:x="viewport",elementContext:m="floating",altBoundary:A=!1,padding:N=0}=Xe(e,o),I=Si(N),j=p[A?m==="floating"?"reference":"floating":m],M=Yt(await l.getClippingRect({element:(r=await(l.isElement==null?void 0:l.isElement(j)))==null||r?j:j.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(p.floating)),boundary:f,rootBoundary:x,strategy:d})),Y=m==="floating"?{...c.floating,x:i,y:a}:c.reference,it=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p.floating)),Bt=await(l.isElement==null?void 0:l.isElement(it))?await(l.getScale==null?void 0:l.getScale(it))||{x:1,y:1}:{x:1,y:1},ot=Yt(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({rect:Y,offsetParent:it,strategy:d}):Y);return{top:(M.top-ot.top+I.top)/Bt.y,bottom:(ot.bottom-M.bottom+I.bottom)/Bt.y,left:(M.left-ot.left+I.left)/Bt.x,right:(ot.right-M.right+I.right)/Bt.x}}function Tn(o,e,r){return(o?[...r.filter(a=>Ht(a)===o),...r.filter(a=>Ht(a)!==o)]:r.filter(a=>pe(a)===a)).filter(a=>o?Ht(a)===o||(e?vi(a)!==a:!1):!0)}var $o=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(e){var r,i,a;let{rects:l,middlewareData:c,placement:p,platform:d,elements:f}=e,{crossAxis:x=!1,alignment:m,allowedPlacements:A=So,autoAlignment:N=!0,...I}=Xe(o,e),G=m!==void 0||A===So?Tn(m||null,N,A):A,j=await Eo(e,I),M=((r=c.autoPlacement)==null?void 0:r.index)||0,Y=G[M];if(Y==null)return{};let it=xi(Y,l,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(p!==Y)return{reset:{placement:G[0]}};let Bt=[j[pe(Y)],j[it[0]],j[it[1]]],ot=[...((i=c.autoPlacement)==null?void 0:i.overflows)||[],{placement:Y,overflows:Bt}],To=G[M+1];if(To)return{data:{index:M+1,overflows:ot},reset:{placement:To}};let _o=ot.map(St=>{let Oe=Ht(St.placement);return[St.placement,Oe&&x?St.overflows.slice(0,2).reduce((vn,Sn)=>vn+Sn,0):St.overflows[0],St.overflows]}).sort((St,Oe)=>St[1]-Oe[1]),Do=((a=_o.filter(St=>St[2].slice(0,Ht(St[0])?2:3).every(Oe=>Oe<=0))[0])==null?void 0:a[0])||_o[0][0];return Do!==p?{data:{index:M+1,overflows:ot},reset:{placement:Do}}:{}}}};var Ro=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(e){let{x:r,y:i,placement:a}=e,{mainAxis:l=!0,crossAxis:c=!1,limiter:p={fn:j=>{let{x:M,y:Y}=j;return{x:M,y:Y}}},...d}=Xe(o,e),f={x:r,y:i},x=await Eo(e,d),m=qe(pe(a)),A=Co(m),N=f[A],I=f[m];if(l){let j=A==="y"?"top":"left",M=A==="y"?"bottom":"right",Y=N+x[j],it=N-x[M];N=Oo(Y,N,it)}if(c){let j=m==="y"?"top":"left",M=m==="y"?"bottom":"right",Y=I+x[j],it=I-x[M];I=Oo(Y,I,it)}let G=p.fn({...e,[A]:N,[m]:I});return{...G,data:{x:G.x-r,y:G.y-i}}}}};function Lt(o){return Ni(o)?(o.nodeName||"").toLowerCase():"#document"}function st(o){var e;return(o==null||(e=o.ownerDocument)==null?void 0:e.defaultView)||window}function Pt(o){var e;return(e=(Ni(o)?o.ownerDocument:o.document)||window.document)==null?void 0:e.documentElement}function Ni(o){return o instanceof Node||o instanceof st(o).Node}function Ct(o){return o instanceof Element||o instanceof st(o).Element}function xt(o){return o instanceof HTMLElement||o instanceof st(o).HTMLElement}function wi(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof st(o).ShadowRoot}function de(o){let{overflow:e,overflowX:r,overflowY:i,display:a}=ut(o);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&!["inline","contents"].includes(a)}function Ei(o){return["table","td","th"].includes(Lt(o))}function Qe(o){let e=to(),r=ut(o);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function $i(o){let e=Xt(o);for(;xt(e)&&!Ie(e);){if(Qe(e))return e;e=Xt(e)}return null}function to(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ie(o){return["html","body","#document"].includes(Lt(o))}function ut(o){return st(o).getComputedStyle(o)}function We(o){return Ct(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function Xt(o){if(Lt(o)==="html")return o;let e=o.assignedSlot||o.parentNode||wi(o)&&o.host||Pt(o);return wi(e)?e.host:e}function Ri(o){let e=Xt(o);return Ie(e)?o.ownerDocument?o.ownerDocument.body:o.body:xt(e)&&de(e)?e:Ri(e)}function Je(o,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);let a=Ri(o),l=a===((i=o.ownerDocument)==null?void 0:i.body),c=st(a);return l?e.concat(c,c.visualViewport||[],de(a)?a:[],c.frameElement&&r?Je(c.frameElement):[]):e.concat(a,Je(a,[],r))}function Pi(o){let e=ut(o),r=parseFloat(e.width)||0,i=parseFloat(e.height)||0,a=xt(o),l=a?o.offsetWidth:r,c=a?o.offsetHeight:i,p=Pe(r)!==l||Pe(i)!==c;return p&&(r=l,i=c),{width:r,height:i,$:p}}function Ii(o){return Ct(o)?o:o.contextElement}function fe(o){let e=Ii(o);if(!xt(e))return At(1);let r=e.getBoundingClientRect(),{width:i,height:a,$:l}=Pi(e),c=(l?Pe(r.width):r.width)/i,p=(l?Pe(r.height):r.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!p||!Number.isFinite(p))&&(p=1),{x:c,y:p}}var _n=At(0);function Wi(o){let e=st(o);return!to()||!e.visualViewport?_n:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Dn(o,e,r){return e===void 0&&(e=!1),!r||e&&r!==st(o)?!1:e}function ze(o,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);let a=o.getBoundingClientRect(),l=Ii(o),c=At(1);e&&(i?Ct(i)&&(c=fe(i)):c=fe(o));let p=Dn(l,r,i)?Wi(l):At(0),d=(a.left+p.x)/c.x,f=(a.top+p.y)/c.y,x=a.width/c.x,m=a.height/c.y;if(l){let A=st(l),N=i&&Ct(i)?st(i):i,I=A.frameElement;for(;I&&i&&N!==A;){let G=fe(I),j=I.getBoundingClientRect(),M=ut(I),Y=j.left+(I.clientLeft+parseFloat(M.paddingLeft))*G.x,it=j.top+(I.clientTop+parseFloat(M.paddingTop))*G.y;d*=G.x,f*=G.y,x*=G.x,m*=G.y,d+=Y,f+=it,I=st(I).frameElement}}return Yt({width:x,height:m,x:d,y:f})}function Hn(o){let{rect:e,offsetParent:r,strategy:i}=o,a=xt(r),l=Pt(r);if(r===l)return e;let c={scrollLeft:0,scrollTop:0},p=At(1),d=At(0);if((a||!a&&i!=="fixed")&&((Lt(r)!=="body"||de(l))&&(c=We(r)),xt(r))){let f=ze(r);p=fe(r),d.x=f.x+r.clientLeft,d.y=f.y+r.clientTop}return{width:e.width*p.x,height:e.height*p.y,x:e.x*p.x-c.scrollLeft*p.x+d.x,y:e.y*p.y-c.scrollTop*p.y+d.y}}function Un(o){return Array.from(o.getClientRects())}function zi(o){return ze(Pt(o)).left+We(o).scrollLeft}function Fn(o){let e=Pt(o),r=We(o),i=o.ownerDocument.body,a=Dt(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),l=Dt(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),c=-r.scrollLeft+zi(o),p=-r.scrollTop;return ut(i).direction==="rtl"&&(c+=Dt(e.clientWidth,i.clientWidth)-a),{width:a,height:l,x:c,y:p}}function Gn(o,e){let r=st(o),i=Pt(o),a=r.visualViewport,l=i.clientWidth,c=i.clientHeight,p=0,d=0;if(a){l=a.width,c=a.height;let f=to();(!f||f&&e==="fixed")&&(p=a.offsetLeft,d=a.offsetTop)}return{width:l,height:c,x:p,y:d}}function Mn(o,e){let r=ze(o,!0,e==="fixed"),i=r.top+o.clientTop,a=r.left+o.clientLeft,l=xt(o)?fe(o):At(1),c=o.clientWidth*l.x,p=o.clientHeight*l.y,d=a*l.x,f=i*l.y;return{width:c,height:p,x:d,y:f}}function Ai(o,e,r){let i;if(e==="viewport")i=Gn(o,r);else if(e==="document")i=Fn(Pt(o));else if(Ct(e))i=Mn(e,r);else{let a=Wi(o);i={...e,x:e.x-a.x,y:e.y-a.y}}return Yt(i)}function Bi(o,e){let r=Xt(o);return r===e||!Ct(r)||Ie(r)?!1:ut(r).position==="fixed"||Bi(r,e)}function Zn(o,e){let r=e.get(o);if(r)return r;let i=Je(o,[],!1).filter(p=>Ct(p)&&Lt(p)!=="body"),a=null,l=ut(o).position==="fixed",c=l?Xt(o):o;for(;Ct(c)&&!Ie(c);){let p=ut(c),d=Qe(c);!d&&p.position==="fixed"&&(a=null),(l?!d&&!a:!d&&p.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||de(c)&&!d&&Bi(o,c))?i=i.filter(x=>x!==c):a=p,c=Xt(c)}return e.set(o,i),i}function Kn(o){let{element:e,boundary:r,rootBoundary:i,strategy:a}=o,c=[...r==="clippingAncestors"?Zn(e,this._c):[].concat(r),i],p=c[0],d=c.reduce((f,x)=>{let m=Ai(e,x,a);return f.top=Dt(m.top,f.top),f.right=Le(m.right,f.right),f.bottom=Le(m.bottom,f.bottom),f.left=Dt(m.left,f.left),f},Ai(e,p,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Vn(o){return Pi(o)}function jn(o,e,r){let i=xt(e),a=Pt(e),l=r==="fixed",c=ze(o,!0,l,e),p={scrollLeft:0,scrollTop:0},d=At(0);if(i||!i&&!l)if((Lt(e)!=="body"||de(a))&&(p=We(e)),i){let f=ze(e,!0,l,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else a&&(d.x=zi(a));return{x:c.left+p.scrollLeft-d.x,y:c.top+p.scrollTop-d.y,width:c.width,height:c.height}}function Li(o,e){return!xt(o)||ut(o).position==="fixed"?null:e?e(o):o.offsetParent}function ki(o,e){let r=st(o);if(!xt(o))return r;let i=Li(o,e);for(;i&&Ei(i)&&ut(i).position==="static";)i=Li(i,e);return i&&(Lt(i)==="html"||Lt(i)==="body"&&ut(i).position==="static"&&!Qe(i))?r:i||$i(o)||r}var Yn=async function(o){let{reference:e,floating:r,strategy:i}=o,a=this.getOffsetParent||ki,l=this.getDimensions;return{reference:jn(e,await a(r),i),floating:{x:0,y:0,...await l(r)}}};function Xn(o){return ut(o).direction==="rtl"}var eo={convertOffsetParentRelativeRectToViewportRelativeRect:Hn,getDocumentElement:Pt,getClippingRect:Kn,getOffsetParent:ki,getElementRects:Yn,getClientRects:Un,getDimensions:Vn,getScale:fe,isElement:Ct,isRTL:Xn};var Ti=(o,e,r)=>{let i=new Map,a={platform:eo,...r},l={...a.platform,_c:i};return Ci(o,e,{...a,platform:l})};function _i(o){return qn(o)}function Ao(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function qn(o){for(let e=o;e;e=Ao(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Ao(o);e;e=Ao(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function ue(o,e,r){return Ti(o,e,{platform:{...eo,getOffsetParent:i=>eo.getOffsetParent(i,_i)},middleware:[Ro({crossAxis:!0}),$o({allowedPlacements:[r]})]})}var U=function(o,e,r,i){var a=arguments.length,l=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(c=o[p])&&(l=(a<3?c(l):a>3?c(e,r,l):c(e,r))||l);return a>3&&l&&Object.defineProperty(e,r,l),l},Ut=class extends ke.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return Be.html``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Ut.elementDefinitions={};U([(0,_.property)({type:String})],Ut.prototype,"label",void 0);U([(0,_.property)({type:Object,converter:o=>o})],Ut.prototype,"value",void 0);U([(0,_.property)({type:Boolean,reflect:!0})],Ut.prototype,"selected",void 0);var T=class extends ke.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=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}render(){var e,r,i,a,l;let c=this.hasOptionsMenuOpen,p=this.disabled||!this.hasOptions,d=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((i=(r=this.selectedOption)===null||r===void 0?void 0:r.label)!==null&&i!==void 0?i:"").length>0,f={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":p,"ft-select--options-displayed":c,"ft-select--has-option-selected":d,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return Be.html`
569
+ <div class="${(0,Lo.classMap)(f)}" part="container">
578
570
  <div class="ft-select--main-panel" part="main-panel">
579
571
  <ft-input-label text="${this.label}"
580
572
  part="label"
581
- ?disabled=${c}
573
+ ?disabled=${p}
582
574
  ?outlined=${this.outlined}
583
- ?raised=${p||s}
575
+ ?raised=${d||c}
584
576
  ?error=${this.error}
585
577
  ></ft-input-label>
586
578
  <div class="ft-select--input-panel"
587
579
  part="selected-value"
588
- tabindex="${c?"-1":"0"}"
580
+ tabindex="${p?"-1":"0"}"
589
581
  @click=${()=>{this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=this.optionsDisplayed}}
590
582
  @keydown=${this.onMainPanelKeyDown}
591
583
  aria-label="${this.label}"
592
584
  aria-haspopup="listbox"
593
- aria-expanded="${s}">
594
- <ft-ripple ?disabled=${c} ?activated=${!this.outlined}></ft-ripple>
585
+ aria-expanded="${c}">
586
+ <ft-ripple ?disabled=${p} ?activated=${!this.outlined}></ft-ripple>
595
587
  <ft-typography variant="body1" class="ft-select--selected-option">
596
- ${null!==(l=null===(n=this.selectedOption)||void 0===n?void 0:n.label)&&void 0!==l?l:""}
588
+ ${(l=(a=this.selectedOption)===null||a===void 0?void 0:a.label)!==null&&l!==void 0?l:""}
597
589
  </ft-typography>
598
- <ft-icon>${s?"thin_arrow_up":"thin_arrow"}</ft-icon>
590
+ <ft-icon>${c?"thin_arrow_up":"thin_arrow"}</ft-icon>
599
591
  </div>
600
592
  <div class="ft-select--options"
601
593
  part="options"
602
594
  @keydown=${this.onOptionsKeyDown}
603
595
  innerrole="listbox">
604
- ${r.repeat(this.options,(t=>t.value),(t=>this.renderOption(t)))}
596
+ ${(0,Di.repeat)(this.options,x=>x.value,x=>this.renderOption(x))}
605
597
  </div>
606
598
  </div>
607
- ${this.helper?e.html`
599
+ ${this.helper?Be.html`
608
600
  <ft-typography class="ft-select--helper-text" variant="caption">${this.helper}
609
601
  </ft-typography>`:void 0}
610
602
  </div>
611
603
  <slot @slotchange=${this.updateOptionsFromSlot}
612
604
  @option-change=${this.updateOptionsFromSlot}
613
605
  ></slot>
614
- `}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`
615
- <div class="${a.classMap(i)}"
606
+ `}renderOption(e){let r=this.selectedOption===e;return Be.html`
607
+ <div class="${(0,Lo.classMap)({"ft-select--option":!0,"ft-select--option-selected":r,"ft-typography--body2":!0})}"
616
608
  part="option"
617
609
  tabindex="0"
618
- data-value="${t.value}"
619
- @keydown=${o=>this.onOptionKeyDown(o,t)}
620
- @click=${()=>this.selectOption(t)}>
621
- <ft-ripple ?primary=${o} ?activated=${o}></ft-ripple>
622
- <span>${t.label}</span>
610
+ data-value="${e.value}"
611
+ @keydown=${a=>this.onOptionKeyDown(a,e)}
612
+ @click=${()=>this.selectOption(e)}>
613
+ <ft-ripple ?primary=${r} ?activated=${r}></ft-ripple>
614
+ <span>${e.label}</span>
623
615
  </div>
624
- `}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(t){var o,e;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(e=null!==(o=this.selectedOptionElement)&&void 0!==o?o:this.firstOption)||void 0===e||e.focus(),this.focusOptions=!1),t.has("optionsDisplayed")&&this.hasOptionsMenuOpen&&(this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px",Le(this.mainPanel,this.optionsMenu,"bottom").then((({x:t,y:o})=>{this.optionsMenu.style.left=`${t}px`,this.optionsMenu.style.top=`${o}px`})))}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var o;t.stopPropagation();let e=null===(o=this.optionsSlot)||void 0===o?void 0:o.assignedElements().map((t=>t));e&&e.length>0&&(this.options=e)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var o,e,i,r,n;let a;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(o=this.mainPanel)||void 0===o||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),a=null!==(i=null===(e=this.focusedOption)||void 0===e?void 0:e.previousElementSibling)&&void 0!==i?i:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),a=null!==(n=null===(r=this.focusedOption)||void 0===r?void 0:r.nextElementSibling)&&void 0!==n?n:this.firstOption}null==a||a.focus()}onOptionKeyDown(t,o){var e;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(o),this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus())}selectOption(t){var e,i;if(!o.deepEqual(null===(e=this.selectedOption)||void 0===e?void 0:e.value,t.value)){this.selectedOption=t;for(let o of this.options)o.selected=o===t;this.dispatchEvent(new CustomEvent("change",{detail:null===(i=this.selectedOption)||void 0===i?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}Fe.elementDefinitions={"ft-input-label":ho,"ft-typography":so,"ft-ripple":Co,"ft-icon":Uo},Fe.styles=[to,oo,zo],Ke([i.property({type:String})],Fe.prototype,"label",void 0),Ke([i.property({type:String})],Fe.prototype,"helper",void 0),Ke([i.property({type:Boolean})],Fe.prototype,"outlined",void 0),Ke([i.property({type:Boolean})],Fe.prototype,"disabled",void 0),Ke([i.property({type:Boolean})],Fe.prototype,"error",void 0),Ke([i.property({type:Boolean})],Fe.prototype,"fixedMenuPosition",void 0),Ke([i.property({type:Array})],Fe.prototype,"options",void 0),Ke([i.state()],Fe.prototype,"selectedOption",void 0),Ke([i.state()],Fe.prototype,"optionsDisplayed",void 0),Ke([i.state()],Fe.prototype,"focusOptions",void 0),Ke([i.query(".ft-select")],Fe.prototype,"container",void 0),Ke([i.query(".ft-select--options")],Fe.prototype,"optionsMenu",void 0),Ke([i.query(".ft-select--input-panel")],Fe.prototype,"mainPanel",void 0),Ke([i.query(".ft-select--option:first-child")],Fe.prototype,"firstOption",void 0),Ke([i.query(".ft-select--option:focus")],Fe.prototype,"focusedOption",void 0),Ke([i.query(".ft-select--option.ft-select--option-selected")],Fe.prototype,"selectedOptionElement",void 0),Ke([i.query(".ft-select--option:last-child")],Fe.prototype,"lastOption",void 0),Ke([i.query("slot")],Fe.prototype,"optionsSlot",void 0),o.customElement("ft-select")(Fe),o.customElement("ft-select-option")(De);
625
- /**
626
- * @license
627
- * Copyright 2018 Google LLC
628
- * SPDX-License-Identifier: BSD-3-Clause
629
- */
630
- const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:o.FtCssVariableFactory.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:o.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:o.FtCssVariableFactory.extend("--ft-text-field-helper-color","",o.designSystemVariables.colorOnSurfaceMedium),colorPrimary:o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),colorError:o.FtCssVariableFactory.external(o.designSystemVariables.colorError,"Design system"),prefixColor:o.FtCssVariableFactory.extend("--ft-text-field-prefix-color","",o.designSystemVariables.colorOnSurfaceMedium),iconColor:o.FtCssVariableFactory.extend("--ft-text-field-icon-color","",o.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:o.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),elevation02:o.FtCssVariableFactory.external(o.designSystemVariables.elevation02,"Design system"),suggestSize:o.FtCssVariableFactory.create("--ft-text-field-suggest-size","","SIZE","300px")},He=e.css`
616
+ `}update(e){super.update(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,i;super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((i=(r=this.selectedOptionElement)!==null&&r!==void 0?r:this.firstOption)===null||i===void 0||i.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen&&(this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px",ue(this.mainPanel,this.optionsMenu,"bottom").then(({x:a,y:l})=>{this.optionsMenu.style.left=`${a}px`,this.optionsMenu.style.top=`${l}px`}))}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation();let i=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(a=>a);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,i,a,l,c;let p;switch(e.key){case"Escape":this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),p=(a=(i=this.focusedOption)===null||i===void 0?void 0:i.previousElementSibling)!==null&&a!==void 0?a:this.lastOption;break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),p=(c=(l=this.focusedOption)===null||l===void 0?void 0:l.nextElementSibling)!==null&&c!==void 0?c:this.firstOption;break}p?.focus()}onOptionKeyDown(e,r){var i;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(r),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus())}selectOption(e){var r,i;if(!(0,ke.deepEqual)((r=this.selectedOption)===null||r===void 0?void 0:r.value,e.value)){this.selectedOption=e;for(let a of this.options)a.selected=a===e;this.dispatchEvent(new CustomEvent("change",{detail:(i=this.selectedOption)===null||i===void 0?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};T.elementDefinitions={"ft-input-label":nt,"ft-typography":tt,"ft-ripple":W,"ft-icon":Q};T.styles=[je,ce,yi];U([(0,_.property)({type:String})],T.prototype,"label",void 0);U([(0,_.property)({type:String})],T.prototype,"helper",void 0);U([(0,_.property)({type:Boolean})],T.prototype,"outlined",void 0);U([(0,_.property)({type:Boolean})],T.prototype,"disabled",void 0);U([(0,_.property)({type:Boolean})],T.prototype,"error",void 0);U([(0,_.property)({type:Boolean})],T.prototype,"fixedMenuPosition",void 0);U([(0,_.property)({type:Array})],T.prototype,"options",void 0);U([(0,_.state)()],T.prototype,"selectedOption",void 0);U([(0,_.state)()],T.prototype,"optionsDisplayed",void 0);U([(0,_.state)()],T.prototype,"focusOptions",void 0);U([(0,_.query)(".ft-select")],T.prototype,"container",void 0);U([(0,_.query)(".ft-select--options")],T.prototype,"optionsMenu",void 0);U([(0,_.query)(".ft-select--input-panel")],T.prototype,"mainPanel",void 0);U([(0,_.query)(".ft-select--option:first-child")],T.prototype,"firstOption",void 0);U([(0,_.query)(".ft-select--option:focus")],T.prototype,"focusedOption",void 0);U([(0,_.query)(".ft-select--option.ft-select--option-selected")],T.prototype,"selectedOptionElement",void 0);U([(0,_.query)(".ft-select--option:last-child")],T.prototype,"lastOption",void 0);U([(0,_.query)("slot")],T.prototype,"optionsSlot",void 0);(0,Po.customElement)("ft-select")(T);(0,Po.customElement)("ft-select-option")(Ut);var zo=u(E());var mt=u(B()),z=u(ft()),Gi=u(Ft());var Hi=o=>o??Z;var oo=u(E());var Ui=u(B()),S=u(E());var $={fontSize:S.FtCssVariableFactory.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:S.FtCssVariableFactory.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:S.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:S.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:S.FtCssVariableFactory.extend("--ft-text-field-helper-color","",S.designSystemVariables.colorOnSurfaceMedium),colorPrimary:S.FtCssVariableFactory.external(S.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:S.FtCssVariableFactory.external(S.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:S.FtCssVariableFactory.external(S.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:S.FtCssVariableFactory.external(S.designSystemVariables.borderRadiusS,"Design system"),colorError:S.FtCssVariableFactory.external(S.designSystemVariables.colorError,"Design system"),prefixColor:S.FtCssVariableFactory.extend("--ft-text-field-prefix-color","",S.designSystemVariables.colorOnSurfaceMedium),iconColor:S.FtCssVariableFactory.extend("--ft-text-field-icon-color","",S.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:S.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:S.FtCssVariableFactory.external(S.designSystemVariables.colorSurface,"Design system"),colorOutline:S.FtCssVariableFactory.external(S.designSystemVariables.colorOutline,"Design system"),elevation02:S.FtCssVariableFactory.external(S.designSystemVariables.elevation02,"Design system"),suggestSize:S.FtCssVariableFactory.create("--ft-text-field-suggest-size","","SIZE","300px")},Fi=Ui.css`
631
617
  *:focus {
632
618
  outline: none;
633
619
  }
@@ -640,16 +626,16 @@ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
640
626
  }
641
627
 
642
628
  ft-input-label {
643
- ${o.setVariable(co.fontSize,Be.fontSize)};
644
- ${o.setVariable(co.raisedFontSize,Be.labelSize)};
645
- ${o.setVariable(co.verticalSpacing,Be.verticalSpacing)};
646
- ${o.setVariable(co.horizontalSpacing,Be.horizontalSpacing)};
629
+ ${(0,S.setVariable)(v.fontSize,$.fontSize)};
630
+ ${(0,S.setVariable)(v.raisedFontSize,$.labelSize)};
631
+ ${(0,S.setVariable)(v.verticalSpacing,$.verticalSpacing)};
632
+ ${(0,S.setVariable)(v.horizontalSpacing,$.horizontalSpacing)};
647
633
  }
648
634
 
649
635
  .ft-text-field--main-panel {
650
636
  position: relative;
651
637
  display: flex;
652
- height: calc(4 * ${Be.verticalSpacing} + ${Be.labelSize} + ${Be.fontSize});
638
+ height: calc(4 * ${$.verticalSpacing} + ${$.labelSize} + ${$.fontSize});
653
639
  }
654
640
 
655
641
  .ft-text-field--input-panel {
@@ -658,24 +644,24 @@ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
658
644
  display: flex;
659
645
  align-items: center;
660
646
  overflow: hidden;
661
- padding: 0 ${Be.horizontalSpacing};
647
+ padding: 0 ${$.horizontalSpacing};
662
648
 
663
- ${o.setVariable(Et.fontSize,Be.fontSize)};
664
- ${o.setVariable(Et.lineHeight,Be.fontSize)};
649
+ ${(0,S.setVariable)(gt.fontSize,$.fontSize)};
650
+ ${(0,S.setVariable)(gt.lineHeight,$.fontSize)};
665
651
  }
666
652
 
667
653
  .ft-text-field--input-panel ft-ripple {
668
- ${o.setVariable(go.opacityContentOnSurfaceHover,"0.08")};
669
- ${o.setVariable(go.opacityContentOnSurfacePressed,"0.04")};
654
+ ${(0,S.setVariable)(w.opacityContentOnSurfaceHover,"0.08")};
655
+ ${(0,S.setVariable)(w.opacityContentOnSurfacePressed,"0.04")};
670
656
  }
671
657
 
672
658
  .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
673
659
  align-items: flex-end;
674
- padding: 0 ${Be.horizontalSpacing} ${Be.verticalSpacing} ${Be.horizontalSpacing};
660
+ padding: 0 ${$.horizontalSpacing} ${$.verticalSpacing} ${$.horizontalSpacing};
675
661
  }
676
662
 
677
663
  .ft-text-field--prefix {
678
- color: ${Be.prefixColor};
664
+ color: ${$.prefixColor};
679
665
  margin-right: 2px;
680
666
  flex-shrink: 1;
681
667
  overflow: hidden;
@@ -694,15 +680,15 @@ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
694
680
  flex-shrink: 1;
695
681
  min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
696
682
 
697
- color: ${Be.colorOnSurface};
698
- padding: calc(2 * ${Be.verticalSpacing}) 0;
683
+ color: ${$.colorOnSurface};
684
+ padding: calc(2 * ${$.verticalSpacing}) 0;
699
685
  border: none;
700
686
  background: none;
701
687
  }
702
688
 
703
689
  .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
704
690
  padding-bottom: 0;
705
- padding-top: calc(${Be.labelSize} + 2 * ${Be.verticalSpacing});
691
+ padding-top: calc(${$.labelSize} + 2 * ${$.verticalSpacing});
706
692
  }
707
693
 
708
694
  .ft-text-field--input::-webkit-calendar-picker-indicator,
@@ -711,37 +697,37 @@ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
711
697
  }
712
698
 
713
699
  .ft-text-field--disabled .ft-text-field--input {
714
- color: ${Be.colorOnSurfaceDisabled};
700
+ color: ${$.colorOnSurfaceDisabled};
715
701
  }
716
702
 
717
703
  .ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
718
- ${o.setVariable(co.borderColor,Be.colorPrimary)};
719
- ${o.setVariable(co.textColor,Be.colorPrimary)};
704
+ ${(0,S.setVariable)(v.borderColor,$.colorPrimary)};
705
+ ${(0,S.setVariable)(v.textColor,$.colorPrimary)};
720
706
  }
721
707
 
722
708
  .ft-text-field--filled .ft-text-field--input-panel {
723
- border-radius: ${Be.borderRadiusS} ${Be.borderRadiusS} 0 0;
709
+ border-radius: ${$.borderRadiusS} ${$.borderRadiusS} 0 0;
724
710
  }
725
711
 
726
712
  .ft-text-field--outlined .ft-text-field--input-panel {
727
- border-radius: ${Be.borderRadiusS};
713
+ border-radius: ${$.borderRadiusS};
728
714
  }
729
715
 
730
716
  .ft-text-field--helper-text {
731
- padding: 0 12px 0 ${Be.horizontalSpacing};
732
- color: ${Be.helperColor};
717
+ padding: 0 12px 0 ${$.horizontalSpacing};
718
+ color: ${$.helperColor};
733
719
  }
734
720
 
735
721
  .ft-text-field--in-error .ft-text-field--input,
736
722
  .ft-text-field--in-error .ft-text-field--helper-text,
737
723
  .ft-text-field--in-error .ft-text-field--prefix {
738
- color: ${Be.colorError};
724
+ color: ${$.colorError};
739
725
  }
740
726
 
741
727
  .ft-text-field--icon {
742
728
  align-self: center;
743
729
  margin-left: 8px;
744
- color: ${Be.iconColor};
730
+ color: ${$.iconColor};
745
731
  }
746
732
 
747
733
  .ft-text-field--container {
@@ -752,13 +738,13 @@ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
752
738
  display: none;
753
739
  flex-direction: column;
754
740
  position: absolute;
755
- z-index: ${Be.floatingZIndex};
756
- background: ${Be.colorSurface};
757
- border: 1px solid ${Be.colorOutline};
758
- border-radius: 0 0 ${Be.borderRadiusS} ${Be.borderRadiusS};
759
- box-shadow: ${Be.elevation02};
741
+ z-index: ${$.floatingZIndex};
742
+ background: ${$.colorSurface};
743
+ border: 1px solid ${$.colorOutline};
744
+ border-radius: 0 0 ${$.borderRadiusS} ${$.borderRadiusS};
745
+ box-shadow: ${$.elevation02};
760
746
  outline: none;
761
- max-height: ${Be.suggestSize};
747
+ max-height: ${$.suggestSize};
762
748
  overflow-y: auto;
763
749
  }
764
750
 
@@ -771,33 +757,33 @@ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
771
757
  }
772
758
 
773
759
  .ft-text-field--with-icon {
774
- ${o.setVariable(co.labelMaxWidth,`calc(100% - ${Io.size} - ${co.horizontalSpacing})`)};
760
+ ${(0,S.setVariable)(v.labelMaxWidth,`calc(100% - ${J.size} - ${v.horizontalSpacing})`)};
775
761
  }
776
762
 
777
763
  .ft-text-field--with-password ft-icon:hover {
778
764
  cursor: pointer;
779
765
  }
780
- `;var Ae=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ge extends(o.toFtFormComponent(o.FtLitElement,"textbox")){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.prefix=null,this.passwordHiddenIcon=wo.EYE_SLASH,this.passwordRevealedIcon=wo.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.hideSuggestions=!1,this.visibleSuggestions=[]}get value(){return this._value||""}set value(t){this.setInternalValue(t||""),this.dispatchedValue=t||""}setInternalValue(t){const o=this._value;this._value=t||"",this.setFormValue(this._value),this.requestUpdate("value",o)}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--fixed":this.fixedMenuPosition,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":0===this.visibleSuggestions.length||this.hideSuggestions,"ft-text-field--raised-label":this.focused||""!=this.value,"ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.password};return e.html`
781
- <div class="${a.classMap(t)}">
766
+ `;var D=function(o,e,r,i){var a=arguments.length,l=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(c=o[p])&&(l=(a<3?c(l):a>3?c(e,r,l):c(e,r))||l);return a>3&&l&&Object.defineProperty(e,r,l),l},P=class extends(0,oo.toFtFormComponent)(oo.FtLitElement,"textbox"){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.prefix=null,this.passwordHiddenIcon=Vt.EYE_SLASH,this.passwordRevealedIcon=Vt.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.hideSuggestions=!1,this.visibleSuggestions=[]}get value(){return this._value||""}set value(e){this.setInternalValue(e||""),this.dispatchedValue=e||""}setInternalValue(e){let r=this._value;this._value=e||"",this.setFormValue(this._value),this.requestUpdate("value",r)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}render(){let e={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--fixed":this.fixedMenuPosition,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":this.visibleSuggestions.length===0||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 mt.html`
767
+ <div class="${(0,Gi.classMap)(e)}">
782
768
  <div class="ft-text-field--main-panel"
783
769
  @keydown=${this.handleKeyboardNavigation}
784
770
  @focusout=${this.onMainPanelBlur}>
785
771
  <ft-input-label text="${this.label}"
786
772
  ?disabled=${this.disabled}
787
773
  ?outlined=${this.outlined}
788
- ?raised=${this.focused||""!=this.value}
774
+ ?raised=${this.focused||this.value!=""}
789
775
  ?error=${this.error}></ft-input-label>
790
776
  <div class="ft-text-field--input-panel">
791
- ${this.outlined?e.nothing:e.html`
777
+ ${this.outlined?mt.nothing:mt.html`
792
778
  <ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
793
779
  `}
794
- ${this.prefix?e.html`
780
+ ${this.prefix?mt.html`
795
781
  <ft-typography class="ft-text-field--prefix" variant="body1">
796
782
  ${this.prefix}
797
783
  </ft-typography>
798
- `:e.nothing}
784
+ `:mt.nothing}
799
785
  <input type=${this.password&&this.hidePassword?"password":"text"}
800
- maxlength=${(t=>t??E)(this.maxLength||void 0)}
786
+ maxlength=${Hi(this.maxLength||void 0)}
801
787
  aria-label="${this.label}"
802
788
  class="ft-typography--body1 ft-text-field--input"
803
789
  part="input"
@@ -813,23 +799,23 @@ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
813
799
  <slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
814
800
  </div>
815
801
  </div>
816
- ${this.helper?e.html`
802
+ ${this.helper?mt.html`
817
803
  <ft-typography class="ft-text-field--helper-text" variant="caption">
818
804
  ${this.helper}
819
805
  </ft-typography>
820
- `:e.nothing}
806
+ `:mt.nothing}
821
807
  </div>
822
- `}renderPasswordIcon(){return e.html`
808
+ `}renderPasswordIcon(){return mt.html`
823
809
  <ft-icon class="ft-text-field--icon"
824
810
  .variant=${this.iconVariant}
825
811
  .value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
826
812
  @click=${()=>this.togglePasswordVisibility()}></ft-icon>
827
- `}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?e.html`
813
+ `}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?mt.html`
828
814
  <ft-icon class="ft-text-field--icon"
829
815
  .variant=${this.iconVariant}
830
816
  .value=${this.icon}
831
- @click=${()=>{var t;return null===(t=this.input)||void 0===t?void 0:t.focus()}}></ft-icon>
832
- `:e.nothing}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&null!=t.get("value")&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&null!=t.get("dispatchedValue")&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0&&(this.suggestionsContainer.style.width=this.mainPanel.getBoundingClientRect().width+"px",Le(this.mainPanel,this.suggestionsContainer,"bottom").then((({x:t,y:o})=>{this.suggestionsContainer.style.left=`${t}px`,this.suggestionsContainer.style.top=`${o}px`})))}setValue(t,o=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),o&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var o;const e=(null===(o=this.input)||void 0===o?void 0:o.value)||"";this.setValue(e,"Escape"==t.key||"Enter"==t.key)}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var o;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const e=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let i;i="ArrowDown"===t.key?e<this.visibleSuggestions.length-1?e+1:0:e>0?e-1:this.visibleSuggestions.length-1,null===(o=this.visibleSuggestions[i])||void 0===o||o.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var o;this.setValue(t.detail,!0),null===(o=this.input)||void 0===o||o.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,o;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1,this.setValue((null===(o=this.input)||void 0===o?void 0:o.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}}Ge.elementDefinitions={"ft-input-label":ho,"ft-ripple":Co,"ft-typography":so,"ft-icon":Uo},Ge.styles=[Qt,He],Ae([i.property()],Ge.prototype,"label",void 0),Ae([i.property({noAccessor:!0})],Ge.prototype,"value",null),Ae([i.state()],Ge.prototype,"dispatchedValue",void 0),Ae([i.property()],Ge.prototype,"helper",void 0),Ae([i.property({type:Boolean})],Ge.prototype,"outlined",void 0),Ae([i.property({type:Boolean})],Ge.prototype,"disabled",void 0),Ae([i.property({type:Boolean})],Ge.prototype,"error",void 0),Ae([i.property({type:Boolean})],Ge.prototype,"fixedMenuPosition",void 0),Ae([i.property()],Ge.prototype,"prefix",void 0),Ae([i.property()],Ge.prototype,"icon",void 0),Ae([i.property()],Ge.prototype,"passwordHiddenIcon",void 0),Ae([i.property()],Ge.prototype,"passwordRevealedIcon",void 0),Ae([i.property()],Ge.prototype,"iconVariant",void 0),Ae([i.property({type:Boolean})],Ge.prototype,"filterSuggestions",void 0),Ae([i.property({type:Number})],Ge.prototype,"maxLength",void 0),Ae([i.property({type:Boolean})],Ge.prototype,"password",void 0),Ae([i.state()],Ge.prototype,"focused",void 0),Ae([i.state()],Ge.prototype,"hidePassword",void 0),Ae([i.state()],Ge.prototype,"hideSuggestions",void 0),Ae([i.state()],Ge.prototype,"visibleSuggestions",void 0),Ae([i.query(".ft-text-field--main-panel")],Ge.prototype,"mainPanel",void 0),Ae([i.query(".ft-text-field--input")],Ge.prototype,"input",void 0),Ae([i.query(".ft-text-field--suggestions")],Ge.prototype,"suggestionsContainer",void 0),Ae([i.queryAssignedElements({selector:"ft-text-field-suggestion"})],Ge.prototype,"suggestions",void 0);const Pe=e.css`
817
+ @click=${()=>{var e;return(e=this.input)===null||e===void 0?void 0:e.focus()}}></ft-icon>
818
+ `:mt.nothing}update(e){super.update(e),(e.has("value")||e.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),e.has("value")&&e.get("value")!=null&&(this.hideSuggestions=!1),e.has("dispatchedValue")&&e.get("dispatchedValue")!=null&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach(e=>e.hidden=!e.getValue().toLowerCase().includes(this.value.toLowerCase())),this.visibleSuggestions=this.suggestions.filter(e=>!e.hidden)):this.visibleSuggestions=this.suggestions}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0&&(this.suggestionsContainer.style.width=this.mainPanel.getBoundingClientRect().width+"px",ue(this.mainPanel,this.suggestionsContainer,"bottom").then(({x:r,y:i})=>{this.suggestionsContainer.style.left=`${r}px`,this.suggestionsContainer.style.top=`${i}px`}))}setValue(e,r=!1){this.value!==e&&(this.setInternalValue(e),this.dispatchEvent(new CustomEvent("live-change",{detail:e}))),r&&this.dispatchedValue!==e&&(this.dispatchedValue=e,this.dispatchEvent(new CustomEvent("change",{detail:e})))}handleInput(e){var r;let i=((r=this.input)===null||r===void 0?void 0:r.value)||"";this.setValue(i,e.key=="Escape"||e.key=="Enter")}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(e){var r;if(e.key==="ArrowDown"||e.key==="ArrowUp"){e.preventDefault(),e.stopPropagation(),this.hideSuggestions=!1;let i=this.visibleSuggestions.findIndex(l=>l.matches(":focus-within")),a;e.key==="ArrowDown"?a=i<this.visibleSuggestions.length-1?i+1:0:a=i>0?i-1:this.visibleSuggestions.length-1,(r=this.visibleSuggestions[a])===null||r===void 0||r.focus()}(e.key=="Escape"||e.key=="Enter")&&(this.hideSuggestions=!0)}onSuggestionSelected(e){var r;this.setValue(e.detail,!0),(r=this.input)===null||r===void 0||r.focus(),setTimeout(()=>this.hideSuggestions=!0,0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var e,r;!((e=this.mainPanel)===null||e===void 0)&&e.matches(":focus-within")||(this.focused=!1,this.setValue(((r=this.input)===null||r===void 0?void 0:r.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}};P.elementDefinitions={"ft-input-label":nt,"ft-ripple":W,"ft-typography":tt,"ft-icon":Q};P.styles=[Ve,Fi];D([(0,z.property)()],P.prototype,"label",void 0);D([(0,z.property)({noAccessor:!0})],P.prototype,"value",null);D([(0,z.state)()],P.prototype,"dispatchedValue",void 0);D([(0,z.property)()],P.prototype,"helper",void 0);D([(0,z.property)({type:Boolean})],P.prototype,"outlined",void 0);D([(0,z.property)({type:Boolean})],P.prototype,"disabled",void 0);D([(0,z.property)({type:Boolean})],P.prototype,"error",void 0);D([(0,z.property)({type:Boolean})],P.prototype,"fixedMenuPosition",void 0);D([(0,z.property)()],P.prototype,"prefix",void 0);D([(0,z.property)()],P.prototype,"icon",void 0);D([(0,z.property)()],P.prototype,"passwordHiddenIcon",void 0);D([(0,z.property)()],P.prototype,"passwordRevealedIcon",void 0);D([(0,z.property)()],P.prototype,"iconVariant",void 0);D([(0,z.property)({type:Boolean})],P.prototype,"filterSuggestions",void 0);D([(0,z.property)({type:Number})],P.prototype,"maxLength",void 0);D([(0,z.property)({type:Boolean})],P.prototype,"password",void 0);D([(0,z.state)()],P.prototype,"focused",void 0);D([(0,z.state)()],P.prototype,"hidePassword",void 0);D([(0,z.state)()],P.prototype,"hideSuggestions",void 0);D([(0,z.state)()],P.prototype,"visibleSuggestions",void 0);D([(0,z.query)(".ft-text-field--main-panel")],P.prototype,"mainPanel",void 0);D([(0,z.query)(".ft-text-field--input")],P.prototype,"input",void 0);D([(0,z.query)(".ft-text-field--suggestions")],P.prototype,"suggestionsContainer",void 0);D([(0,z.queryAssignedElements)({selector:"ft-text-field-suggestion"})],P.prototype,"suggestions",void 0);var Ki=u(E()),Vi=u(B()),he=u(ft());var Mi=u(B()),Zi=Mi.css`
833
819
  .ft-text-field-suggestion {
834
820
  position: relative;
835
821
  padding: 8px 16px;
@@ -854,7 +840,7 @@ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
854
840
  slot {
855
841
  pointer-events: none;
856
842
  }
857
- `;var je=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Me extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class Te extends o.FtLitElement{render(){return e.html`
843
+ `;var Wo=function(o,e,r,i){var a=arguments.length,l=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(c=o[p])&&(l=(a<3?c(l):a>3?c(e,r,l):c(e,r))||l);return a>3&&l&&Object.defineProperty(e,r,l),l},Io=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e,bubbles:!0,composed:!0})}},It=class extends Ki.FtLitElement{render(){return Vi.html`
858
844
  <div class="ft-text-field-suggestion"
859
845
  tabindex="-1"
860
846
  @keydown=${this.onKeyDown}
@@ -866,7 +852,7 @@ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
866
852
  <slot></slot>
867
853
  </ft-typography>
868
854
  </div>
869
- `}focus(t){var o;null===(o=this.container)||void 0===o||o.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new Me(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map((t=>t.textContent)).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}}Te.elementDefinitions={"ft-ripple":Co,"ft-typography":so,"ft-icon":Uo},Te.styles=Pe,je([i.property()],Te.prototype,"value",void 0),je([i.query(".ft-text-field-suggestion")],Te.prototype,"container",void 0),je([i.queryAssignedNodes()],Te.prototype,"assignedNodes",void 0),o.customElement("ft-text-field")(Ge),o.customElement("ft-text-field-suggestion")(Te);const _e={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Ve=e.css`
855
+ `}focus(e){var r;(r=this.container)===null||r===void 0||r.focus(e)}click(){var e;(e=this.container)===null||e===void 0||e.click()}confirmSuggestion(){this.dispatchEvent(new Io(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map(e=>e.textContent).join("").trim()}onKeyDown(e){["Enter"," "].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),this.confirmSuggestion())}};It.elementDefinitions={"ft-ripple":W,"ft-typography":tt,"ft-icon":Q};It.styles=Zi;Wo([(0,he.property)()],It.prototype,"value",void 0);Wo([(0,he.query)(".ft-text-field-suggestion")],It.prototype,"container",void 0);Wo([(0,he.queryAssignedNodes)()],It.prototype,"assignedNodes",void 0);(0,zo.customElement)("ft-text-field")(P);(0,zo.customElement)("ft-text-field-suggestion")(It);var ko=u(E());var De=u(ft()),sn=u(E());var Ji=u(B()),C=u(E());var ji=u(B()),Te=u(E()),pt={color:Te.FtCssVariableFactory.extend("--ft-loader-color","",Te.designSystemVariables.colorPrimary),size:Te.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Yi=ji.css`
870
856
  :host {
871
857
  line-height: 0;
872
858
  }
@@ -875,8 +861,8 @@ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
875
861
  display: inline-block;
876
862
  position: relative;
877
863
 
878
- width: ${_e.size};
879
- height: ${_e.size};
864
+ width: ${pt.size};
865
+ height: ${pt.size};
880
866
  }
881
867
 
882
868
  .ft-loader div {
@@ -885,7 +871,7 @@ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
885
871
  width: 25%;
886
872
  height: 25%;
887
873
  border-radius: 50%;
888
- background: ${_e.color};
874
+ background: ${pt.color};
889
875
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
890
876
  }
891
877
 
@@ -932,10 +918,10 @@ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
932
918
  transform: translate(0, 0);
933
919
  }
934
920
  100% {
935
- transform: translate(calc(0.35 * ${_e.size}), 0);
921
+ transform: translate(calc(0.35 * ${pt.size}), 0);
936
922
  }
937
923
  }
938
- `,Ye=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Xe={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Ye,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",Vt.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Ye),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},qe=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Je={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:qe,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",qe)},Qe=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),ti=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),oi=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),ei=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),ii=[e.css`
924
+ `;var Xi=C.FtCssVariableFactory.extend("--ft-button-color","",C.designSystemVariables.colorPrimary),F={backgroundColor:C.FtCssVariableFactory.extend("--ft-button-background-color","",C.designSystemVariables.colorSurface),borderRadius:C.FtCssVariableFactory.extend("--ft-button-border-radius","",C.designSystemVariables.borderRadiusL),color:Xi,fontSize:C.FtCssVariableFactory.extend("--ft-button-font-size","",Ot.fontSize),iconSize:C.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:C.FtCssVariableFactory.extend("--ft-button-ripple-color","",Xi),verticalPadding:C.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:C.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:C.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:C.FtCssVariableFactory.external(C.designSystemVariables.colorOpacityDisabled,"Design system")},qi=C.FtCssVariableFactory.extend("--ft-button-primary-color","",C.FtCssVariableFactory.extend("--ft-button-color","",C.designSystemVariables.colorOnPrimary)),Bo={backgroundColor:C.FtCssVariableFactory.extend("--ft-button-primary-background-color","",C.FtCssVariableFactory.extend("--ft-button-background-color","",C.designSystemVariables.colorPrimary)),color:qi,rippleColor:C.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",qi)},wt={borderRadius:C.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",C.FtCssVariableFactory.extend("--ft-button-border-radius","",C.designSystemVariables.borderRadiusM)),verticalPadding:C.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:C.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:C.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Qi=[Ji.css`
939
925
  :host {
940
926
  display: inline-block;
941
927
  max-width: 100%;
@@ -946,7 +932,7 @@ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
946
932
  box-shadow: 0px 0px 0px transparent;
947
933
  border: 0px solid transparent;
948
934
  text-shadow: 0px 0px 0px transparent;
949
- font-size: ${Xe.fontSize};
935
+ font-size: ${F.fontSize};
950
936
  }
951
937
 
952
938
  button:hover {
@@ -975,31 +961,31 @@ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
975
961
  border: none;
976
962
  pointer-events: auto;
977
963
 
978
- --ft-button-internal-line-height: max(calc(${Xe.fontSize} + 2px), ${Xe.iconSize});
979
- --ft-button-internal-color: ${Xe.color};
980
- ${o.setVariable(Io.size,Xe.iconSize)};
981
- ${o.setVariable(go.color,Xe.rippleColor)};
964
+ --ft-button-internal-line-height: max(calc(${F.fontSize} + 2px), ${F.iconSize});
965
+ --ft-button-internal-color: ${F.color};
966
+ ${(0,C.setVariable)(J.size,F.iconSize)};
967
+ ${(0,C.setVariable)(w.color,F.rippleColor)};
982
968
 
983
- border-radius: ${Xe.borderRadius};
984
- padding: ${Xe.verticalPadding} ${Xe.horizontalPadding};
985
- background-color: ${Xe.backgroundColor};
969
+ border-radius: ${F.borderRadius};
970
+ padding: ${F.verticalPadding} ${F.horizontalPadding};
971
+ background-color: ${F.backgroundColor};
986
972
  color: var(--ft-button-internal-color);
987
973
  -webkit-mask-image: radial-gradient(white, black);
988
974
  }
989
975
 
990
976
  .ft-button.ft-button--outlined {
991
977
  border: 1px solid var(--ft-button-internal-color);
992
- padding: calc(${Xe.verticalPadding} - 1px) calc(${Xe.horizontalPadding} - 1px);
978
+ padding: calc(${F.verticalPadding} - 1px) calc(${F.horizontalPadding} - 1px);
993
979
  }
994
980
 
995
981
  .ft-button.ft-button--dense {
996
- padding: ${ti} ${oi};
997
- border-radius: ${Qe};
998
- gap: ${ei};
982
+ padding: ${wt.verticalPadding} ${wt.horizontalPadding};
983
+ border-radius: ${wt.borderRadius};
984
+ gap: ${wt.iconPadding};
999
985
  }
1000
986
 
1001
987
  .ft-button.ft-button--dense.ft-button--outlined {
1002
- padding: calc(${ti} - 1px) calc(${oi} - 1px);
988
+ padding: calc(${wt.verticalPadding} - 1px) calc(${wt.horizontalPadding} - 1px);
1003
989
  }
1004
990
 
1005
991
  .ft-button:not([disabled]):hover {
@@ -1007,22 +993,22 @@ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1007
993
  }
1008
994
 
1009
995
  .ft-button--round {
1010
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Xe.verticalPadding});
996
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${F.verticalPadding});
1011
997
  }
1012
998
 
1013
999
  .ft-button--round.ft-button--dense {
1014
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ti});
1000
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${wt.verticalPadding});
1015
1001
  }
1016
1002
 
1017
1003
  .ft-button[disabled] {
1018
1004
  filter: grayscale(1);
1019
- opacity: ${Xe.opacityDisabled};
1005
+ opacity: ${F.opacityDisabled};
1020
1006
  }
1021
1007
 
1022
1008
  .ft-button.ft-button--primary {
1023
- background-color: ${Je.backgroundColor};
1024
- --ft-button-internal-color: ${Je.color};
1025
- ${o.setVariable(go.color,Je.rippleColor)};
1009
+ background-color: ${Bo.backgroundColor};
1010
+ --ft-button-internal-color: ${Bo.color};
1011
+ ${(0,C.setVariable)(w.color,Bo.rippleColor)};
1026
1012
  }
1027
1013
 
1028
1014
  .ft-button:focus {
@@ -1035,44 +1021,43 @@ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1035
1021
  white-space: nowrap;
1036
1022
  text-overflow: ellipsis;
1037
1023
  display: block;
1038
- margin: 0 ${Xe.iconPadding};
1039
- ${o.setVariable(Vt.fontSize,"1em")};
1040
- ${o.setVariable(Vt.lineHeight,"var(--ft-button-internal-line-height)")};
1024
+ margin: 0 ${F.iconPadding};
1025
+ ${(0,C.setVariable)(Ot.fontSize,"1em")};
1026
+ ${(0,C.setVariable)(Ot.lineHeight,"var(--ft-button-internal-line-height)")};
1041
1027
  }
1042
1028
 
1043
1029
  .ft-button--dense .ft-button--label {
1044
- margin: 0 ${ei};
1030
+ margin: 0 ${wt.iconPadding};
1045
1031
  }
1046
1032
 
1047
1033
  .ft-button--label[hidden] {
1048
1034
  display: none;
1049
1035
  }
1050
1036
 
1051
- ft-icon {
1037
+ [part="icon"] {
1052
1038
  flex-shrink: 0;
1053
1039
  position: relative;
1054
1040
  }
1055
1041
 
1056
- .ft-button--label[hidden] + ft-icon {
1057
- margin: 0 calc(${Xe.horizontalPadding} * -1);
1058
- padding: 0 ${Xe.verticalPadding};
1042
+ .ft-button--label[hidden] + [part="icon"] {
1043
+ margin: 0 calc(${F.horizontalPadding} * -1);
1044
+ padding: 0 ${F.verticalPadding};
1059
1045
  }
1060
1046
 
1061
- .ft-button--dense .ft-button--label[hidden] + ft-icon {
1062
- margin: 0 calc(${oi} * -1);
1063
- padding: 0 ${ti};
1047
+ .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
1048
+ margin: 0 calc(${wt.horizontalPadding} * -1);
1049
+ padding: 0 ${wt.verticalPadding};
1064
1050
  }
1065
1051
 
1066
- .ft-button:not(.ft-button--trailing-icon) ft-icon,
1067
- .ft-button:not(.ft-button--trailing-icon) ft-loader {
1068
- order: -1;
1052
+ .ft-button:not(.ft-button--trailing-icon) [part="label"]{
1053
+ order: 2;
1069
1054
  }
1070
1055
 
1071
1056
  ft-loader {
1072
- ${o.setVariable(_e.size,Xe.iconSize)};
1073
- ${o.setVariable(_e.color,"var(--ft-button-internal-color)")};
1057
+ ${(0,C.setVariable)(pt.size,F.iconSize)};
1058
+ ${(0,C.setVariable)(pt.color,"var(--ft-button-internal-color)")};
1074
1059
  }
1075
- `,o.noTextSelect],ri=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),ni=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),ai=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),li=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),si=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),ci=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),pi=e.css`
1060
+ `,C.noTextSelect];var me=u(E());var rn=u(E());var on=u(B()),X=u(ft()),_e=u(E());var tn=u(B()),Wt=u(E()),ge={distance:Wt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Wt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Wt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Wt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Wt.FtCssVariableFactory.external(Wt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Wt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},en=tn.css`
1076
1061
  .ft-tooltip--container {
1077
1062
  display: block;
1078
1063
  }
@@ -1087,21 +1072,21 @@ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1087
1072
  box-sizing: border-box;
1088
1073
  overflow: hidden;
1089
1074
  width: max-content;
1090
- max-width: ${ci};
1075
+ max-width: ${ge.maxWidth};
1091
1076
  text-align: center;
1092
- padding: ${ri};
1093
- z-index: ${li};
1077
+ padding: ${ge.distance};
1078
+ z-index: ${ge.zIndex};
1094
1079
  }
1095
1080
 
1096
1081
  .ft-tooltip--content {
1097
1082
  padding: 4px 8px;
1098
- border-radius: ${si};
1099
- background-color: ${ai};
1100
- color: ${ni};
1083
+ border-radius: ${ge.borderRadiusS};
1084
+ background-color: ${ge.backgroundColor};
1085
+ color: ${ge.color};
1101
1086
  position: relative;
1102
1087
  word-break: break-word;
1103
1088
  }
1104
- `;var fi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class di extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
1089
+ `;var dt=function(o,e,r,i){var a=arguments.length,l=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(c=o[p])&&(l=(a<3?c(l):a>3?c(e,r,l):c(e,r))||l);return a>3&&l&&Object.defineProperty(e,r,l),l},H=class 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 on.html`
1105
1090
  <div part="container"
1106
1091
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
1107
1092
  @mouseenter=${this.onHover}
@@ -1119,37 +1104,40 @@ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1119
1104
  </div>
1120
1105
  </div>
1121
1106
  </div>
1122
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Le(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}di.elementDefinitions={"ft-typography":so},di.styles=pi,fi([i.property()],di.prototype,"text",void 0),fi([i.property({type:Boolean})],di.prototype,"manual",void 0),fi([i.property({type:Boolean})],di.prototype,"inline",void 0),fi([i.property({type:Number})],di.prototype,"delay",void 0),fi([i.property()],di.prototype,"position",void 0),fi([i.queryAssignedNodes()],di.prototype,"slotNodes",void 0),fi([i.query(".ft-tooltip--container")],di.prototype,"container",void 0),fi([i.query(".ft-tooltip")],di.prototype,"tooltip",void 0),fi([i.query(".ft-tooltip--content")],di.prototype,"tooltipContent",void 0),fi([i.state()],di.prototype,"visible",void 0),fi([i.eventOptions({passive:!0})],di.prototype,"onTouch",null),fi([i.eventOptions({passive:!0})],di.prototype,"onHover",null),fi([i.eventOptions({passive:!0})],di.prototype,"onOut",null),fi([i.eventOptions({passive:!0})],di.prototype,"onClick",null),o.customElement("ft-tooltip")(di);class hi extends o.FtLitElement{render(){return e.html`
1107
+ `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",ue(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};H.elementDefinitions={"ft-typography":tt};H.styles=en;dt([(0,X.property)()],H.prototype,"text",void 0);dt([(0,X.property)({type:Boolean})],H.prototype,"manual",void 0);dt([(0,X.property)({type:Boolean})],H.prototype,"inline",void 0);dt([(0,X.property)({type:Number})],H.prototype,"delay",void 0);dt([(0,X.property)()],H.prototype,"position",void 0);dt([(0,X.queryAssignedNodes)()],H.prototype,"slotNodes",void 0);dt([(0,X.query)(".ft-tooltip--container")],H.prototype,"container",void 0);dt([(0,X.query)(".ft-tooltip")],H.prototype,"tooltip",void 0);dt([(0,X.query)(".ft-tooltip--content")],H.prototype,"tooltipContent",void 0);dt([(0,X.state)()],H.prototype,"visible",void 0);dt([(0,X.eventOptions)({passive:!0})],H.prototype,"onTouch",null);dt([(0,X.eventOptions)({passive:!0})],H.prototype,"onHover",null);dt([(0,X.eventOptions)({passive:!0})],H.prototype,"onOut",null);dt([(0,X.eventOptions)({passive:!0})],H.prototype,"onClick",null);(0,rn.customElement)("ft-tooltip")(H);var ln=u(E());var nn=u(B()),an=u(E());var qt=class extends an.FtLitElement{render(){return nn.html`
1123
1108
  <div class="ft-loader">
1124
1109
  <div></div>
1125
1110
  <div></div>
1126
1111
  <div></div>
1127
1112
  <div></div>
1128
1113
  </div>
1129
- `}}hi.styles=Ve,o.customElement("ft-loader")(hi);var ui=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class gi extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",(t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}))}render(){return this.addTooltipIfNeeded(e.html`
1114
+ `}};qt.styles=Yi;(0,ln.customElement)("ft-loader")(qt);var ye=u(B()),cn=u(Ft()),at=u(ft()),ht=function(o,e,r,i){var a=arguments.length,l=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(c=o[p])&&(l=(a<3?c(l):a>3?c(e,r,l):c(e,r))||l);return a>3&&l&&Object.defineProperty(e,r,l),l},V=class extends(0,me.toFtFormComponent)(me.FtLitElement,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(ye.html`
1130
1115
  <button part="button"
1131
- class="${a.classMap(this.buttonClasses)}"
1116
+ class="${(0,cn.classMap)(this.buttonClasses)}"
1132
1117
  aria-label="${this.getLabel()}"
1133
1118
  ?disabled=${this.isDisabled()}>
1134
1119
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
1135
1120
  <ft-typography part="label"
1136
1121
  variant=${this.typographyVariant}
1137
1122
  element="span"
1138
- class="ft-button--label ${o.isSafari?"ft-safari-ellipsis-fix":""}"
1123
+ class="ft-button--label ${me.isSafari?"ft-safari-ellipsis-fix":""}"
1139
1124
  ?hidden=${!this.hasTextContent()}>
1140
1125
  <slot @slotchange=${this.onSlotchange}></slot>
1141
1126
  </ft-typography>
1142
1127
  ${this.resolveIcon()}
1143
1128
  </button>
1144
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?e.html`
1129
+ `)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?ye.html`
1145
1130
  <ft-tooltip part="tooltip"
1146
1131
  text="${this.getLabel()}"
1147
1132
  position="${this.tooltipPosition}">
1148
- ${t}
1133
+ ${e}
1149
1134
  </ft-tooltip>
1150
- `:t}resolveIcon(){return this.loading?e.html`
1151
- <ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
1152
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}gi.elementDefinitions={"ft-ripple":Co,"ft-tooltip":di,"ft-typography":so,"ft-icon":Uo,"ft-loader":hi},ui([i.property({type:String,reflect:!0})],gi.prototype,"role",void 0),ui([i.property()],gi.prototype,"type",void 0),ui([i.property({type:Boolean})],gi.prototype,"disabled",void 0),ui([i.property()],gi.prototype,"label",void 0),ui([i.property()],gi.prototype,"icon",void 0),ui([i.property()],gi.prototype,"iconVariant",void 0),ui([i.property({type:Boolean})],gi.prototype,"trailingIcon",void 0),ui([i.property({type:Boolean})],gi.prototype,"loading",void 0),ui([i.property()],gi.prototype,"tooltipPosition",void 0),ui([i.property({type:Boolean})],gi.prototype,"hideTooltip",void 0),ui([i.property({type:Boolean})],gi.prototype,"forceTooltip",void 0),ui([i.query(".ft-button")],gi.prototype,"button",void 0),ui([i.query(".ft-button--label slot")],gi.prototype,"slottedContent",void 0);var bi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class yi extends gi{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}yi.styles=[o.safariEllipsisFix,ii],bi([i.property({type:Boolean})],yi.prototype,"primary",void 0),bi([i.property({type:Boolean})],yi.prototype,"outlined",void 0),bi([i.property({type:Boolean})],yi.prototype,"dense",void 0),bi([i.property({type:Boolean})],yi.prototype,"round",void 0);const mi=[e.css`
1135
+ `:e}resolveIcon(){return this.loading?ye.html`
1136
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?ye.html`
1137
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
1138
+ `:ye.html`
1139
+ <slot part="icon" name="icon"></slot>
1140
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(r=>this.unslotText(r)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};V.elementDefinitions={"ft-ripple":W,"ft-tooltip":H,"ft-typography":tt,"ft-icon":Q,"ft-loader":qt};ht([(0,at.property)({type:String,reflect:!0})],V.prototype,"role",void 0);ht([(0,at.property)()],V.prototype,"type",void 0);ht([(0,at.property)({type:Boolean})],V.prototype,"disabled",void 0);ht([(0,at.property)()],V.prototype,"label",void 0);ht([(0,at.property)()],V.prototype,"icon",void 0);ht([(0,at.property)()],V.prototype,"iconVariant",void 0);ht([(0,at.property)({type:Boolean})],V.prototype,"trailingIcon",void 0);ht([(0,at.property)({type:Boolean})],V.prototype,"loading",void 0);ht([(0,at.property)()],V.prototype,"tooltipPosition",void 0);ht([(0,at.property)({type:Boolean})],V.prototype,"hideTooltip",void 0);ht([(0,at.property)({type:Boolean})],V.prototype,"forceTooltip",void 0);ht([(0,at.query)(".ft-button")],V.prototype,"button",void 0);ht([(0,at.query)(".ft-button--label slot")],V.prototype,"slottedContent",void 0);var ro=function(o,e,r,i){var a=arguments.length,l=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(c=o[p])&&(l=(a<3?c(l):a>3?c(e,r,l):c(e,r))||l);return a>3&&l&&Object.defineProperty(e,r,l),l},zt=class extends V{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};zt.styles=[sn.safariEllipsisFix,Qi];ro([(0,De.property)({type:Boolean})],zt.prototype,"primary",void 0);ro([(0,De.property)({type:Boolean})],zt.prototype,"outlined",void 0);ro([(0,De.property)({type:Boolean})],zt.prototype,"dense",void 0);ro([(0,De.property)({type:Boolean})],zt.prototype,"round",void 0);var be=u(ft());var fn=u(E());var pn=u(B()),L=u(E());var dn=[pn.css`
1153
1141
  :host {
1154
1142
  display: inline-block;
1155
1143
  max-width: 100%;
@@ -1199,7 +1187,7 @@ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1199
1187
  }
1200
1188
 
1201
1189
  .ft-button:focus-visible {
1202
- outline-color: ${tt.focusFocusRingColor};
1190
+ outline-color: ${y.focusFocusRingColor};
1203
1191
  outline-style: solid;
1204
1192
  }
1205
1193
 
@@ -1228,146 +1216,146 @@ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1228
1216
  /** Primary styles **/
1229
1217
 
1230
1218
  .ft-button--primary {
1231
- ${o.setVariable(_e.color,tt.primaryIconColor)};
1219
+ ${(0,L.setVariable)(pt.color,y.primaryIconColor)};
1232
1220
 
1233
- ${o.setVariable(go.color,tt.primaryStateLayerColor)};
1234
- ${o.setVariable(go.opacityContentOnSurfaceHover,tt.primaryHoverStateLayerOpacity)};
1235
- ${o.setVariable(go.opacityContentOnSurfaceFocused,tt.primaryFocusStateLayerOpacity)};
1236
- ${o.setVariable(go.opacityContentOnSurfaceSelected,tt.primaryActiveStateLayerOpacity)};
1237
- ${o.setVariable(go.opacityContentOnSurfacePressed,tt.primaryActiveStateLayerOpacity)};
1221
+ ${(0,L.setVariable)(w.color,y.primaryStateLayerColor)};
1222
+ ${(0,L.setVariable)(w.opacityContentOnSurfaceHover,y.primaryHoverStateLayerOpacity)};
1223
+ ${(0,L.setVariable)(w.opacityContentOnSurfaceFocused,y.primaryFocusStateLayerOpacity)};
1224
+ ${(0,L.setVariable)(w.opacityContentOnSurfaceSelected,y.primaryActiveStateLayerOpacity)};
1225
+ ${(0,L.setVariable)(w.opacityContentOnSurfacePressed,y.primaryActiveStateLayerOpacity)};
1238
1226
 
1239
- background-color: ${tt.primaryBackgroundColor};
1240
- color: ${tt.primaryColor};
1227
+ background-color: ${y.primaryBackgroundColor};
1228
+ color: ${y.primaryColor};
1241
1229
  border-style: none;
1242
1230
  }
1243
1231
 
1244
1232
  .ft-button--primary[disabled] {
1245
- opacity: ${tt.primaryDisabledComponentOpacity};
1233
+ opacity: ${y.primaryDisabledComponentOpacity};
1246
1234
  }
1247
1235
 
1248
1236
  .ft-button--primary ft-icon {
1249
- color: ${tt.primaryIconColor};
1237
+ color: ${y.primaryIconColor};
1250
1238
  }
1251
1239
 
1252
1240
  /** Secondary styles **/
1253
1241
 
1254
1242
  .ft-button--secondary {
1255
- ${o.setVariable(_e.color,tt.secondaryIconColor)};
1243
+ ${(0,L.setVariable)(pt.color,y.secondaryIconColor)};
1256
1244
 
1257
- ${o.setVariable(go.color,tt.secondaryStateLayerColor)};
1258
- ${o.setVariable(go.opacityContentOnSurfaceHover,tt.secondaryHoverStateLayerOpacity)};
1259
- ${o.setVariable(go.opacityContentOnSurfaceFocused,tt.secondaryFocusStateLayerOpacity)};
1260
- ${o.setVariable(go.opacityContentOnSurfaceSelected,tt.secondaryActiveStateLayerOpacity)};
1261
- ${o.setVariable(go.opacityContentOnSurfacePressed,tt.secondaryActiveStateLayerOpacity)};
1245
+ ${(0,L.setVariable)(w.color,y.secondaryStateLayerColor)};
1246
+ ${(0,L.setVariable)(w.opacityContentOnSurfaceHover,y.secondaryHoverStateLayerOpacity)};
1247
+ ${(0,L.setVariable)(w.opacityContentOnSurfaceFocused,y.secondaryFocusStateLayerOpacity)};
1248
+ ${(0,L.setVariable)(w.opacityContentOnSurfaceSelected,y.secondaryActiveStateLayerOpacity)};
1249
+ ${(0,L.setVariable)(w.opacityContentOnSurfacePressed,y.secondaryActiveStateLayerOpacity)};
1262
1250
 
1263
- background-color: ${tt.secondaryBackgroundColor};
1264
- color: ${tt.secondaryColor};
1265
- border-color: ${tt.secondaryBorderColor};
1251
+ background-color: ${y.secondaryBackgroundColor};
1252
+ color: ${y.secondaryColor};
1253
+ border-color: ${y.secondaryBorderColor};
1266
1254
  border-style: solid;
1267
1255
  }
1268
1256
 
1269
1257
  .ft-button--secondary[disabled] {
1270
- opacity: ${tt.secondaryDisabledComponentOpacity};
1258
+ opacity: ${y.secondaryDisabledComponentOpacity};
1271
1259
  }
1272
1260
 
1273
1261
  .ft-button--secondary ft-icon {
1274
- color: ${tt.secondaryIconColor};
1262
+ color: ${y.secondaryIconColor};
1275
1263
  }
1276
1264
 
1277
1265
  /** Tertiary styles **/
1278
1266
 
1279
1267
  .ft-button--tertiary {
1280
- ${o.setVariable(_e.color,tt.tertiaryIconColor)};
1268
+ ${(0,L.setVariable)(pt.color,y.tertiaryIconColor)};
1281
1269
 
1282
- ${o.setVariable(go.color,tt.tertiaryStateLayerColor)};
1283
- ${o.setVariable(go.opacityContentOnSurfaceHover,tt.tertiaryHoverStateLayerOpacity)};
1284
- ${o.setVariable(go.opacityContentOnSurfaceFocused,tt.tertiaryFocusStateLayerOpacity)};
1285
- ${o.setVariable(go.opacityContentOnSurfaceSelected,tt.tertiaryActiveStateLayerOpacity)};
1286
- ${o.setVariable(go.opacityContentOnSurfacePressed,tt.tertiaryActiveStateLayerOpacity)};
1270
+ ${(0,L.setVariable)(w.color,y.tertiaryStateLayerColor)};
1271
+ ${(0,L.setVariable)(w.opacityContentOnSurfaceHover,y.tertiaryHoverStateLayerOpacity)};
1272
+ ${(0,L.setVariable)(w.opacityContentOnSurfaceFocused,y.tertiaryFocusStateLayerOpacity)};
1273
+ ${(0,L.setVariable)(w.opacityContentOnSurfaceSelected,y.tertiaryActiveStateLayerOpacity)};
1274
+ ${(0,L.setVariable)(w.opacityContentOnSurfacePressed,y.tertiaryActiveStateLayerOpacity)};
1287
1275
 
1288
- background-color: ${tt.tertiaryBackgroundColor};
1289
- color: ${tt.tertiaryColor};
1276
+ background-color: ${y.tertiaryBackgroundColor};
1277
+ color: ${y.tertiaryColor};
1290
1278
  border-style: none;
1291
1279
  }
1292
1280
 
1293
1281
  .ft-button--tertiary[disabled] {
1294
- opacity: ${tt.tertiaryDisabledComponentOpacity};
1282
+ opacity: ${y.tertiaryDisabledComponentOpacity};
1295
1283
  }
1296
1284
 
1297
1285
  .ft-button--tertiary ft-icon {
1298
- color: ${tt.tertiaryIconColor};
1286
+ color: ${y.tertiaryIconColor};
1299
1287
  }
1300
1288
 
1301
1289
  /** Neutral styles **/
1302
1290
 
1303
1291
  .ft-button--neutral {
1304
- ${o.setVariable(_e.color,tt.neutralIconColor)};
1292
+ ${(0,L.setVariable)(pt.color,y.neutralIconColor)};
1305
1293
 
1306
- ${o.setVariable(go.backgroundColor,tt.neutralStateLayerColor)};
1307
- ${o.setVariable(go.opacityContentOnSurfaceHover,tt.neutralHoverStateLayerOpacity)};
1308
- ${o.setVariable(go.opacityContentOnSurfaceFocused,tt.neutralFocusStateLayerOpacity)};
1309
- ${o.setVariable(go.opacityContentOnSurfaceSelected,tt.neutralActiveStateLayerOpacity)};
1310
- ${o.setVariable(go.opacityContentOnSurfacePressed,tt.neutralActiveStateLayerOpacity)};
1294
+ ${(0,L.setVariable)(w.backgroundColor,y.neutralStateLayerColor)};
1295
+ ${(0,L.setVariable)(w.opacityContentOnSurfaceHover,y.neutralHoverStateLayerOpacity)};
1296
+ ${(0,L.setVariable)(w.opacityContentOnSurfaceFocused,y.neutralFocusStateLayerOpacity)};
1297
+ ${(0,L.setVariable)(w.opacityContentOnSurfaceSelected,y.neutralActiveStateLayerOpacity)};
1298
+ ${(0,L.setVariable)(w.opacityContentOnSurfacePressed,y.neutralActiveStateLayerOpacity)};
1311
1299
 
1312
- background-color: ${tt.neutralBackgroundColor};
1313
- color: ${tt.neutralColor};
1300
+ background-color: ${y.neutralBackgroundColor};
1301
+ color: ${y.neutralColor};
1314
1302
  border-style: none;
1315
1303
  }
1316
1304
 
1317
1305
  .ft-button--neutral[disabled] {
1318
- opacity: ${tt.neutralDisabledComponentOpacity};
1306
+ opacity: ${y.neutralDisabledComponentOpacity};
1319
1307
  }
1320
1308
 
1321
1309
  .ft-button--neutral ft-icon {
1322
- color: ${tt.neutralIconColor};
1310
+ color: ${y.neutralIconColor};
1323
1311
  }
1324
1312
 
1325
1313
  /** Large styles **/
1326
1314
 
1327
1315
  .ft-button--large {
1328
- ${o.setVariable(Io.size,tt.largeIconSize)};
1329
- ${o.setVariable(_e.size,tt.largeIconSize)};
1330
-
1331
- height: ${tt.largeHeight};
1332
- padding: 0 ${tt.largeHorizontalPadding};
1333
- gap: ${tt.largeGap};
1334
- border-radius: ${tt.largeBorderRadius};
1335
- border-width: ${tt.largeBorderWidth};
1316
+ ${(0,L.setVariable)(J.size,y.largeIconSize)};
1317
+ ${(0,L.setVariable)(pt.size,y.largeIconSize)};
1318
+
1319
+ height: ${y.largeHeight};
1320
+ padding: 0 ${y.largeHorizontalPadding};
1321
+ gap: ${y.largeGap};
1322
+ border-radius: ${y.largeBorderRadius};
1323
+ border-width: ${y.largeBorderWidth};
1336
1324
  }
1337
1325
 
1338
1326
  .ft-button--large:focus-visible {
1339
- outline-width: ${tt.largeFocusOutlineWidth};
1340
- outline-offset: ${tt.largeFocusOutlineOffset};
1327
+ outline-width: ${y.largeFocusOutlineWidth};
1328
+ outline-offset: ${y.largeFocusOutlineOffset};
1341
1329
  }
1342
1330
 
1343
1331
  .ft-button--large.ft-button--icon-only {
1344
- width: ${tt.largeIconOnlyWidth};
1332
+ width: ${y.largeIconOnlyWidth};
1345
1333
  padding: unset;
1346
1334
  }
1347
1335
 
1348
1336
  /** Small styles **/
1349
1337
 
1350
1338
  .ft-button--small {
1351
- ${o.setVariable(Io.size,tt.smallIconSize)};
1352
- ${o.setVariable(_e.size,tt.smallIconSize)};
1353
-
1354
- height: ${tt.smallHeight};
1355
- padding: 0 ${tt.smallHorizontalPadding};
1356
- gap: ${tt.smallGap};
1357
- border-radius: ${tt.smallBorderRadius};
1358
- border-width: ${tt.smallBorderWidth};
1339
+ ${(0,L.setVariable)(J.size,y.smallIconSize)};
1340
+ ${(0,L.setVariable)(pt.size,y.smallIconSize)};
1341
+
1342
+ height: ${y.smallHeight};
1343
+ padding: 0 ${y.smallHorizontalPadding};
1344
+ gap: ${y.smallGap};
1345
+ border-radius: ${y.smallBorderRadius};
1346
+ border-width: ${y.smallBorderWidth};
1359
1347
  }
1360
1348
 
1361
1349
  .ft-button--small:focus-visible {
1362
- outline-width: ${tt.smallFocusOutlineWidth};
1363
- outline-offset: ${tt.smallFocusOutlineOffset};
1350
+ outline-width: ${y.smallFocusOutlineWidth};
1351
+ outline-offset: ${y.smallFocusOutlineOffset};
1364
1352
  }
1365
1353
 
1366
1354
  .ft-button--small.ft-button--icon-only {
1367
- width: ${tt.smallIconOnlyWidth};
1355
+ width: ${y.smallIconOnlyWidth};
1368
1356
  padding: unset;
1369
1357
  }
1370
- `,o.noTextSelect];var xi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class vi extends gi{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?V.caption1medium:V.body2medium}}vi.styles=[o.safariEllipsisFix,mi],xi([i.property({type:Boolean})],vi.prototype,"primary",void 0),xi([i.property({type:Boolean})],vi.prototype,"secondary",void 0),xi([i.property({type:Boolean})],vi.prototype,"tertiary",void 0),xi([i.property({type:Boolean})],vi.prototype,"neutral",void 0),xi([i.property({type:Boolean})],vi.prototype,"small",void 0),o.customElement("ft-button")(yi),o.customElement("ftds-button")(vi);class Oi extends CustomEvent{constructor(t){super("row-click",{detail:t})}}class Ni extends CustomEvent{constructor(t){super("change",{detail:t})}}const wi={headerBackground:o.FtCssVariableFactory.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:o.FtCssVariableFactory.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:o.FtCssVariableFactory.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:o.FtCssVariableFactory.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:o.FtCssVariableFactory.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","10"),cellVerticalBorderWidth:o.FtCssVariableFactory.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),columnTitleWhiteSpace:o.FtCssVariableFactory.create("--ft-filterable-table-column-title-white-space","","UNKNOWN","nowrap"),colorOnSurfaceHigh:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceHigh,"Design system"),titleFont:o.FtCssVariableFactory.external(o.designSystemVariables.titleFont,"Design system"),contentFont:o.FtCssVariableFactory.external(o.designSystemVariables.contentFont,"Design system")},$i=e.css`
1358
+ `,L.noTextSelect];var He=function(o,e,r,i){var a=arguments.length,l=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(c=o[p])&&(l=(a<3?c(l):a>3?c(e,r,l):c(e,r))||l);return a>3&&l&&Object.defineProperty(e,r,l),l},Nt=class extends V{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?Kt.caption1medium:Kt.body2medium}};Nt.styles=[fn.safariEllipsisFix,dn];He([(0,be.property)({type:Boolean})],Nt.prototype,"primary",void 0);He([(0,be.property)({type:Boolean})],Nt.prototype,"secondary",void 0);He([(0,be.property)({type:Boolean})],Nt.prototype,"tertiary",void 0);He([(0,be.property)({type:Boolean})],Nt.prototype,"neutral",void 0);He([(0,be.property)({type:Boolean})],Nt.prototype,"small",void 0);(0,ko.customElement)("ft-button")(zt);(0,ko.customElement)("ftds-button")(Nt);var bn=u(Ft());var io=class extends CustomEvent{constructor(e){super("row-click",{detail:e})}},no=class extends CustomEvent{constructor(e){super("change",{detail:e})}};var un=u(B()),q=u(E());var rt={headerBackground:q.FtCssVariableFactory.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:q.FtCssVariableFactory.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:q.FtCssVariableFactory.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:q.FtCssVariableFactory.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:q.FtCssVariableFactory.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","10"),cellVerticalBorderWidth:q.FtCssVariableFactory.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),columnTitleWhiteSpace:q.FtCssVariableFactory.create("--ft-filterable-table-column-title-white-space","","UNKNOWN","nowrap"),colorOnSurfaceHigh:q.FtCssVariableFactory.external(q.designSystemVariables.colorOnSurfaceHigh,"Design system"),titleFont:q.FtCssVariableFactory.external(q.designSystemVariables.titleFont,"Design system"),contentFont:q.FtCssVariableFactory.external(q.designSystemVariables.contentFont,"Design system")},hn=un.css`
1371
1359
  :host {
1372
1360
  display: block;
1373
1361
  }
@@ -1383,19 +1371,19 @@ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1383
1371
  .header-cell {
1384
1372
  display: flex;
1385
1373
  flex-direction: column;
1386
- background: ${wi.headerBackground};
1387
- color: ${wi.colorOnSurfaceHigh};
1374
+ background: ${rt.headerBackground};
1375
+ color: ${rt.colorOnSurfaceHigh};
1388
1376
  padding: .5rem 1rem;
1389
- font-family: ${wi.titleFont};
1377
+ font-family: ${rt.titleFont};
1390
1378
  }
1391
1379
 
1392
1380
  .header-cell--sticky {
1393
1381
  top: 0;
1394
- z-index: ${wi.stickyHeaderZIndex};
1382
+ z-index: ${rt.stickyHeaderZIndex};
1395
1383
  position: sticky;
1396
1384
 
1397
1385
  &:hover, &:focus-within {
1398
- z-index: calc(${wi.stickyHeaderZIndex} + 1);
1386
+ z-index: calc(${rt.stickyHeaderZIndex} + 1);
1399
1387
  }
1400
1388
  }
1401
1389
 
@@ -1413,12 +1401,12 @@ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1413
1401
  }
1414
1402
 
1415
1403
  .column-title-container ft-button {
1416
- ${o.setVariable(Xe.backgroundColor,wi.headerBackground)};
1417
- ${o.setVariable(Xe.color,wi.colorOnSurfaceHigh)};
1404
+ ${(0,q.setVariable)(F.backgroundColor,rt.headerBackground)};
1405
+ ${(0,q.setVariable)(F.color,rt.colorOnSurfaceHigh)};
1418
1406
  }
1419
1407
 
1420
1408
  .column-title {
1421
- white-space: ${wi.columnTitleWhiteSpace};
1409
+ white-space: ${rt.columnTitleWhiteSpace};
1422
1410
  text-transform: uppercase;
1423
1411
  margin-right: .5rem;
1424
1412
  font-weight: normal;
@@ -1429,7 +1417,7 @@ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1429
1417
  .column-filter {
1430
1418
  flex-grow: 1;
1431
1419
  flex-shrink: 0;
1432
- ${o.setVariable(Ro.optionsHeight,"300px")};
1420
+ ${(0,q.setVariable)(R.optionsHeight,"300px")};
1433
1421
  }
1434
1422
 
1435
1423
  .column-filter:not(:empty) {
@@ -1444,31 +1432,31 @@ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1444
1432
 
1445
1433
  .cell {
1446
1434
  padding: 1rem;
1447
- border-left-color: ${wi.headerBackground};
1435
+ border-left-color: ${rt.headerBackground};
1448
1436
  border-left-style: solid;
1449
- border-left-width: ${wi.cellVerticalBorderWidth};
1450
- border-bottom: 1px solid ${wi.headerBackground};
1437
+ border-left-width: ${rt.cellVerticalBorderWidth};
1438
+ border-bottom: 1px solid ${rt.headerBackground};
1451
1439
  overflow-x: auto;
1452
1440
  display: flex;
1453
1441
  align-items: center;
1454
- font-family: ${wi.contentFont};
1442
+ font-family: ${rt.contentFont};
1455
1443
  }
1456
1444
 
1457
1445
  /* Even is 2n+1 and odd is 2n because of the header */
1458
1446
  .row:nth-child(2n) > .cell {
1459
- background: ${wi.oddRowBackground};
1447
+ background: ${rt.oddRowBackground};
1460
1448
  }
1461
1449
 
1462
1450
  .row:nth-child(2n + 1) > .cell {
1463
- background: ${wi.evenRowBackground};
1451
+ background: ${rt.evenRowBackground};
1464
1452
  }
1465
1453
 
1466
1454
  .row:hover > .cell {
1467
- background: ${wi.rowHoverBackground};
1455
+ background: ${rt.rowHoverBackground};
1468
1456
  }
1469
1457
 
1470
1458
  .cell:last-of-type {
1471
- border-right: 1px solid ${wi.headerBackground};
1459
+ border-right: 1px solid ${rt.headerBackground};
1472
1460
  }
1473
1461
 
1474
1462
  .row:last-of-type .cell:first-of-type {
@@ -1478,71 +1466,94 @@ const Be={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
1478
1466
  .row:last-of-type .cell:last-of-type {
1479
1467
  border-radius: 0 0 .5rem 0;
1480
1468
  }
1481
- `;var Si=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Ci=t=>e.html`${t}`,Ii=(t,o)=>t-o,Ei=t=>""+t;class ki extends o.FtLitElement{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.disableDataManipulation=!1,this.filters=[],this.filterOptions=[]}init(t,o,e){this.data=t,this.columns=o,this.sort=e}render(){let t=this.sortData(this.filterData());return e.html`
1469
+ `;var ve=function(o,e,r,i){var a=arguments.length,l=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(c=o[p])&&(l=(a<3?c(l):a>3?c(e,r,l):c(e,r))||l);return a>3&&l&&Object.defineProperty(e,r,l),l},Jn=o=>lt.html`${o}`,gn=(o,e)=>o-e,yn=o=>""+o,vt=class extends Se.FtLitElement{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.disableDataManipulation=!1,this.filters=[],this.filterOptions=[]}init(e,r,i){this.data=e,this.columns=r,this.sort=i}render(){let e=this.sortData(this.filterData());return lt.html`
1482
1470
  <style>
1483
1471
  .table {
1484
- grid-template-columns: ${this.columns.map((t=>{var o;return null!==(o=t.gridTemplateColumn)&&void 0!==o?o:"minmax(min-content, auto)"})).join(" ")};
1472
+ grid-template-columns: ${this.columns.map(r=>{var i;return(i=r.gridTemplateColumn)!==null&&i!==void 0?i:"minmax(min-content, auto)"}).join(" ")};
1485
1473
  }
1486
1474
  </style>
1487
1475
  <div class="table">
1488
1476
  <div class="header">
1489
- ${r.repeat(this.columns,((t,o)=>"header-cell-"+o),((t,o)=>this.renderHeader(t,o)))}
1477
+ ${(0,xe.repeat)(this.columns,(r,i)=>"header-cell-"+i,(r,i)=>this.renderHeader(r,i))}
1490
1478
  </div>
1491
- ${r.repeat(t,((t,o)=>"row-"+o),((t,o)=>e.html`
1479
+ ${(0,xe.repeat)(e,(r,i)=>"row-"+i,(r,i)=>lt.html`
1492
1480
  <div class="row"
1493
- @click=${()=>this.dispatchEvent(new Oi(t))}>
1494
- ${r.repeat(this.columns,((t,e)=>"cell-"+e+"-"+o),((e,i)=>this.renderCell(e,i,t,o)))}
1481
+ @click=${()=>this.dispatchEvent(new io(r))}>
1482
+ ${(0,xe.repeat)(this.columns,(a,l)=>"cell-"+l+"-"+i,(a,l)=>this.renderCell(a,l,r,i))}
1495
1483
  </div>
1496
- `))}
1484
+ `)}
1497
1485
  </div>
1498
- `}filterData(){return this.disableDataManipulation?this.data: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.getValue(r,t)===o.value))}return t}),this.data)}sortData(t){var o;if(this.currentSort&&!this.disableDataManipulation){const e=this.columns[this.currentSort.column],i=null!==(o=e.comparator)&&void 0!==o?o:Ii,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.updateFilterOptions()}updateFilterOptions(){var t,o,e;this.filterOptions=[];const i=this.data,r=this.columns;for(let n in r){const a=r[n],l=null!==(t=a.filter)&&void 0!==t?t:"text";"text"!==l&&"select"!==l||(this.filterOptions[n]=(null!==(o=a.options)&&void 0!==o?o:[...new Set(i.map((t=>this.getValue(a,t))))]).sort(null!==(e=a.comparator)&&void 0!==e?e:Ii),"text"===l&&(this.filterOptions[n]=this.filterOptions[n].map((t=>this.stringifyValue(a,t,0)))))}this.requestUpdate()}renderHeader(t,o){const i={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return e.html`
1499
- <div class="${a.classMap(i)}"
1500
- part="${this.columnPart("header-cell",o)}">
1486
+ `}filterData(){return this.disableDataManipulation?this.data:this.filters.reduce((e,r,i)=>{var a;let l=this.columns[i];if(r&&r.value)switch((a=l.filter)!==null&&a!==void 0?a:"text"){case"text":return e.filter(c=>this.getValueAsString(l,c,i).toLowerCase().includes(r.value.toLowerCase()));case"select":return e.filter(c=>this.getValue(l,c)===r.value)}return e},this.data)}sortData(e){var r;if(this.currentSort&&!this.disableDataManipulation){let i=this.columns[this.currentSort.column],a=(r=i.comparator)!==null&&r!==void 0?r:gn,l=this.currentSort.order==="asc"?a:(c,p)=>-a(c,p);return[...e].sort((c,p)=>l(this.getValue(i,c),this.getValue(i,p)))}return e}update(e){super.update(e),e.has("sort")&&(this.currentSort=this.sort),(e.has("data")||e.has("columns"))&&this.updateFilterOptions()}updateFilterOptions(){var e,r,i;this.filterOptions=[];let a=this.data,l=this.columns;for(let c in l){let p=l[c],d=(e=p.filter)!==null&&e!==void 0?e:"text";(d==="text"||d==="select")&&(this.filterOptions[c]=((r=p.options)!==null&&r!==void 0?r:[...new Set(a.map(f=>this.getValue(p,f)))]).sort((i=p.comparator)!==null&&i!==void 0?i:gn),d==="text"&&(this.filterOptions[c]=this.filterOptions[c].map(f=>this.stringifyValue(p,f,0))))}this.requestUpdate()}renderHeader(e,r){let i={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return lt.html`
1487
+ <div class="${(0,bn.classMap)(i)}"
1488
+ part="${this.columnPart("header-cell",r)}">
1501
1489
  <div class="column-title-container">
1502
1490
  <span class="column-title"
1503
- part="${this.columnPart("title",o)}">
1504
- ${t.title}
1491
+ part="${this.columnPart("title",r)}">
1492
+ ${e.title}
1505
1493
  </span>
1506
- ${this.renderColumnSort(t,o)}
1494
+ ${this.renderColumnSort(e,r)}
1507
1495
  </div>
1508
- ${this.renderColumnFilter(t,o)}
1496
+ ${this.renderColumnFilter(e,r)}
1509
1497
  </div>
1510
- `}getOppositeSortOrder(t){return"asc"===t?"desc":"asc"}renderColumnSort(t,o){var i;const r=this.currentSort&&this.currentSort.column===o,n=r?"asc"===this.currentSort.order?"expand_less":"expand_more":"unfold_more";return null===(i=t.sortable)||void 0===i||i?e.html`
1498
+ `}getOppositeSortOrder(e){return e==="asc"?"desc":"asc"}renderColumnSort(e,r){var i;let a=this.currentSort&&this.currentSort.column===r,l=a?this.currentSort.order==="asc"?"expand_less":"expand_more":"unfold_more",c=()=>{var p,d;let f=(p=e.defaultSortOrder)!==null&&p!==void 0?p:"asc";this.currentSort={column:r,order:a&&((d=this.currentSort)===null||d===void 0?void 0:d.order)===f?this.getOppositeSortOrder(f):f},this.dispatchChangeEvent()};return!((i=e.sortable)!==null&&i!==void 0)||i?lt.html`
1511
1499
  <ft-button
1512
1500
  round
1513
1501
  dense
1514
1502
  iconVariant="material"
1515
- icon="${n}"
1516
- label="Sort ${t.title}"
1517
- @click=${()=>{var e,i;const n=null!==(e=t.defaultSortOrder)&&void 0!==e?e:"asc";this.currentSort={column:o,order:r&&(null===(i=this.currentSort)||void 0===i?void 0:i.order)===n?this.getOppositeSortOrder(n):n},this.dispatchChangeEvent()}}
1518
- part="${this.columnPart("sort-button",o)}"
1503
+ icon="${l}"
1504
+ label="Sort ${e.title}"
1505
+ @click=${c}
1506
+ part="${this.columnPart("sort-button",r)}"
1519
1507
  ></ft-button>
1520
- `:e.nothing}dispatchChangeEvent(){this.dispatchEvent(new Ni({filters:this.filters.map(((t,o)=>({column:o,value:t.value}))).filter((t=>null!=t.value)),sort:this.currentSort}))}renderColumnFilter(t,o){var i,n,a;const l=t=>{this.filters[o]={value:t.detail},this.requestUpdate(),this.dispatchChangeEvent()},s=null!==(i=this.filterOptions[o])&&void 0!==i?i:[];switch(null!==(n=t.filter)&&void 0!==n?n:"text"){case"text":return e.html`
1521
- <div class="column-filter" part="${this.columnPart("filter-container",o)}">
1508
+ `:lt.nothing}dispatchChangeEvent(){this.dispatchEvent(new no({filters:this.filters.map((e,r)=>({column:r,value:e.value})).filter(e=>e.value!=null),sort:this.currentSort}))}renderColumnFilter(e,r){var i,a,l;let c=d=>{this.filters[r]={value:d.detail},this.requestUpdate(),this.dispatchChangeEvent()},p=(i=this.filterOptions[r])!==null&&i!==void 0?i:[];switch((a=e.filter)!==null&&a!==void 0?a:"text"){case"text":return lt.html`
1509
+ <div class="column-filter" part="${this.columnPart("filter-container",r)}">
1522
1510
  <ft-text-field
1523
- label="Search ${t.title}"
1524
- @live-change="${l}"
1525
- part="${this.columnPart("filter",o)}"
1511
+ label="Search ${e.title}"
1512
+ @live-change="${c}"
1513
+ part="${this.columnPart("filter",r)}"
1526
1514
  >
1527
- ${r.repeat(s,(t=>e.html`
1528
- <ft-text-field-suggestion>${t}</ft-text-field-suggestion>
1529
- `))}
1515
+ ${(0,xe.repeat)(p,f=>lt.html`
1516
+ <ft-text-field-suggestion>${f}</ft-text-field-suggestion>
1517
+ `)}
1530
1518
  </ft-text-field>
1531
1519
  </div>
1532
- `;case"select":return(null!==(a=this.filterOptions[o])&&void 0!==a?a:[]).length?e.html`
1533
- <div class="column-filter" part="${this.columnPart("filter-container",o)}">
1534
- <ft-select label="Filter ${t.title}"
1535
- @change=${l}
1536
- part="${this.columnPart("filter",o)}">
1520
+ `;case"select":return((l=this.filterOptions[r])!==null&&l!==void 0?l:[]).length?lt.html`
1521
+ <div class="column-filter" part="${this.columnPart("filter-container",r)}">
1522
+ <ft-select label="Filter ${e.title}"
1523
+ @change=${c}
1524
+ part="${this.columnPart("filter",r)}">
1537
1525
  <ft-select-option></ft-select-option>
1538
- ${r.repeat(s,(o=>e.html`
1539
- <ft-select-option .value=${o} label="${this.stringifyValue(t,o,0)}"></ft-select-option>
1540
- `))}
1526
+ ${(0,xe.repeat)(p,f=>lt.html`
1527
+ <ft-select-option .value=${f} label="${this.stringifyValue(e,f,0)}"></ft-select-option>
1528
+ `)}
1541
1529
  </ft-select>
1542
1530
  </div>
1543
- `:e.nothing}return e.nothing}columnPart(t,o){return`${t} ${t}-column-${o}`}renderCell(t,o,i,r){var a;const l=null!==(a=t.render)&&void 0!==a?a:Ci;return e.html`
1531
+ `:lt.nothing}return lt.nothing}columnPart(e,r){return`${e} ${e}-column-${r}`}renderCell(e,r,i,a){var l;let c=(l=e.render)!==null&&l!==void 0?l:Jn,p=d=>{let f=c(d,a);return typeof f=="string"?(0,mn.unsafeHTML)(f):f};return lt.html`
1544
1532
  <div class="cell"
1545
- part="${this.columnPart("cell",o)} cell-row-${r} cell-column-${o}-row-${r}">
1546
- ${(t=>{const o=l(t,r);return"string"==typeof o?n.unsafeHTML(o):o})(this.getValue(t,i))}
1533
+ part="${this.columnPart("cell",r)} cell-row-${a} cell-column-${r}-row-${a}">
1534
+ ${p(this.getValue(e,i))}
1547
1535
  </div>
1548
- `}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):Ei(i)}stringifyValue(t,o,e){return"function"==typeof t.stringify?t.stringify(o,e):Ei(o)}}ki.styles=$i,Si([o.jsonProperty([])],ki.prototype,"data",void 0),Si([o.jsonProperty([])],ki.prototype,"columns",void 0),Si([o.jsonProperty(void 0)],ki.prototype,"sort",void 0),Si([i.property({type:Boolean})],ki.prototype,"stickyHeaders",void 0),Si([i.property({type:Boolean})],ki.prototype,"disableDataManipulation",void 0),Si([i.state()],ki.prototype,"currentSort",void 0),o.customElement("ft-filterable-table")(ki),t.FtFilterableTable=ki,t.FtFilterableTableChangeEvent=Ni,t.FtFilterableTableCssVariables=wi,t.RowClickEvent=Oi,t.styles=$i}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litRepeat,ftGlobals.litUnsafeHTML,ftGlobals.litClassMap);
1536
+ `}getValue(e,r){return typeof e.getter=="string"?r[e.getter]:e.getter(r)}getValueAsString(e,r,i){let a=this.getValue(e,r);return typeof e.stringify=="function"?e.stringify(a,i):yn(a)}stringifyValue(e,r,i){return typeof e.stringify=="function"?e.stringify(r,i):yn(r)}};vt.styles=hn;ve([(0,Se.jsonProperty)([])],vt.prototype,"data",void 0);ve([(0,Se.jsonProperty)([])],vt.prototype,"columns",void 0);ve([(0,Se.jsonProperty)(void 0)],vt.prototype,"sort",void 0);ve([(0,Ue.property)({type:Boolean})],vt.prototype,"stickyHeaders",void 0);ve([(0,Ue.property)({type:Boolean})],vt.prototype,"disableDataManipulation",void 0);ve([(0,Ue.state)()],vt.prototype,"currentSort",void 0);(0,xn.customElement)("ft-filterable-table")(vt);})();
1537
+ /*! Bundled license information:
1538
+
1539
+ lit-html/lit-html.js:
1540
+ (**
1541
+ * @license
1542
+ * Copyright 2017 Google LLC
1543
+ * SPDX-License-Identifier: BSD-3-Clause
1544
+ *)
1545
+
1546
+ lit-html/static.js:
1547
+ (**
1548
+ * @license
1549
+ * Copyright 2020 Google LLC
1550
+ * SPDX-License-Identifier: BSD-3-Clause
1551
+ *)
1552
+
1553
+ lit-html/directives/if-defined.js:
1554
+ (**
1555
+ * @license
1556
+ * Copyright 2018 Google LLC
1557
+ * SPDX-License-Identifier: BSD-3-Clause
1558
+ *)
1559
+ */