@fluid-topics/ft-filterable-table 1.1.9 → 1.1.10

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.
@@ -10,7 +10,7 @@ const l=globalThis,s=l.trustedTypes,c=s?s.createPolicy("lit-html",{createHTML:t=
10
10
  * Copyright 2020 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
12
  */
13
- const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litStatic$:t,r:P}),T=new Map,_=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],l=[];let s,c=0,f=!1;for(;c<i;){for(s=e[c];c<i&&void 0!==(n=o[c],r=j(n));)s+=r+e[++c],f=!0;c!==i&&l.push(n),a.push(s),c++}if(c===i&&a.push(e[i]),f){const t=a.join("$$lit$$");void 0===(e=T.get(t))&&(a.raw=a,T.set(t,e=a)),o=l}return t(e,...o)})(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?o.unsafeCSS(t):t;class X{static create(t,e,i,r){const n=t=>Y(null!=t?t:r),a=o.css`var(${Y(t)}, ${n(r)})`;return a.name=t,a.description=e,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=e=>o.css`var(${Y(t)}, ${n(e)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,e,i,r){const n=t=>i.get(null!=t?t:r),a=o.css`var(${Y(t)}, ${n(r)})`;return a.name=t,a.description=e,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=e=>o.css`var(${Y(t)}, ${n(e)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,e){const i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Y(null!=e?e:t.lastResortDefaultValue()),r=o.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=e,r.defaultCssValue=i,r.get=e=>o.css`var(${Y(t.name)}, ${i(e)})`,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","#ee8d17"),colorOrange10:X.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:X.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:X.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:X.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:X.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:X.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:X.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:X.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:X.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:X.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:X.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:X.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:X.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:X.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:X.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:X.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:X.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:X.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:X.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:X.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:X.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:X.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:X.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:X.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:X.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:X.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:X.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:X.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:X.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:X.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:X.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:X.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:X.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:X.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:X.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:X.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:X.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:X.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:X.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:X.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:X.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:X.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:X.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:X.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:X.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:X.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:X.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:X.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:X.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:X.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:X.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:X.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:X.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:X.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:X.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:X.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:X.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:X.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:X.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:X.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:X.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:X.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:X.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:X.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:X.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:X.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:X.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:X.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:X.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:X.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:X.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:X.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:X.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:X.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:X.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:X.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:X.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:X.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:X.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:X.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:X.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:X.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:X.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:X.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:X.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:X.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:X.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:X.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:X.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:X.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:X.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:X.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:X.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:X.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:X.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:X.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:X.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:X.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:X.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:X.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:X.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:X.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:X.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:X.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:X.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:X.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:X.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:X.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:X.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:X.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:X.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:X.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:X.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:X.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:X.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:X.create("--ft-icon-size-6","","SIZE","48px"),opacity0:X.create("--ft-opacity-0","","NUMBER","0"),opacity8:X.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:X.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:X.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:X.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:X.create("--ft-opacity-80","","NUMBER","0.8")},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","2rem"),letterSpacing:X.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:X.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:X.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:X.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:X.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:X.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:X.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:X.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:X.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:X.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:X.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:X.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:X.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:X.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:X.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:X.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:X.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:X.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:X.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:X.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:X.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:X.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:X.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:X.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:X.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:X.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:X.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:X.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:X.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:X.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:X.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:X.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:X.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:X.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Q={backgroundActionPrimary:X.extend("--ft-background-action-primary","Used as backgorund of primary action components.",q.colorBrand0),backgroundErrorPrimary:X.extend("--ft-background-error-primary","Used as background of error components.",q.colorRed0),backgroundErrorSubtle:X.extend("--ft-background-error-subtle","Used as background of subtle error components.",q.colorRed10),backgroundInfoPrimary:X.extend("--ft-background-info-primary","Used as background of information components.",q.colorCyan200),backgroundInfoSubtle:X.extend("--ft-background-info-subtle","Used as background of subtle information components.",q.colorCyan10),backgroundWarningPrimary:X.extend("--ft-background-warning-primary","Used as background of warning components.",q.colorOrange300),backgroundWarningSubtle:X.extend("--ft-background-warning-subtle","Used as background of subtle information components.",q.colorOrange10),backgroundSuccessPrimary:X.extend("--ft-background-success-primary","Used as background of success components.",q.colorGreen200),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.colorOrange300),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.colorRed0),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),contentSuccessIconOnly:X.extend("--ft-content-success-icon-only","Used on success status icons alone",q.colorGreen0),contentSuccessPrimary:X.extend("--ft-content-success-primary","Used on label of success messages on light surface.",q.colorGreen200),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 warning components.",q.colorOrange30),borderSuccessPrimary:X.extend("--ft-border-success-primary","Used as border for success components.",q.colorGreen30),borderErrorPrimary:X.extend("--ft-border-error-primary","Used as border for error components.",q.colorRed30),borderInfoPrimary:X.extend("--ft-border-info-primary","Used as border for information components.",q.colorCyan30),borderGlobalSubtle:X.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",q.colorGray30),borderGlobalPrimary:X.extend("--ft-border-global-primary","Used as border for element like input.",q.colorGray50),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),primaryStateLayerOpacityHover:X.extend("--ft-button-primary-state-layer-opacity-hover","",q.opacity16),primaryStateLayerOpacityFocus:X.extend("--ft-button-primary-state-layer-opacity-focus","",q.opacity16),primaryStateLayerOpacityActive:X.extend("--ft-button-primary-state-layer-opacity-active","",q.opacity24),primaryComponentOpacityDisabled:X.extend("--ft-button-primary-component-opacity-disabled","",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),tertiaryStateLayerOpacityHover:X.extend("--ft-button-tertiary-state-layer-opacity-hover","",q.opacity8),tertiaryStateLayerOpacityFocus:X.extend("--ft-button-tertiary-state-layer-opacity-focus","",q.opacity8),tertiaryStateLayerOpacityActive:X.extend("--ft-button-tertiary-state-layer-opacity-active","",q.opacity16),tertiaryComponentOpacityDisabled:X.extend("--ft-button-tertiary-component-opacity-disabled","",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),secondaryStateLayerOpacityHover:X.extend("--ft-button-secondary-state-layer-opacity-hover","",q.opacity8),secondaryStateLayerOpacityFocus:X.extend("--ft-button-secondary-state-layer-opacity-focus","",q.opacity8),secondaryStateLayerOpacityActive:X.extend("--ft-button-secondary-state-layer-opacity-active","",q.opacity16),secondaryComponentOpacityDisabled:X.extend("--ft-button-secondary-component-opacity-disabled","",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),neutralStateLayerOpacityHover:X.extend("--ft-button-neutral-state-layer-opacity-hover","",q.opacity8),neutralStateLayerOpacityFocus:X.extend("--ft-button-neutral-state-layer-opacity-focus","",q.opacity8),neutralStateLayerOpacityActive:X.extend("--ft-button-neutral-state-layer-opacity-active","",q.opacity16),neutralComponentOpacityDisabled:X.extend("--ft-button-neutral-component-opacity-disabled","",q.opacity40)};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-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-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-switch-off-state-layer-opacity-hover","",q.opacity8),X.extend("--ft-switch-off-state-layer-opacity-focus","",q.opacity8),X.extend("--ft-switch-off-state-layer-opacity-active","",q.opacity16),X.extend("--ft-switch-off-component-opacity-disabled","",q.opacity40),X.extend("--ft-switch-off-color","",Q.contentGlobalSubtle),X.extend("--ft-switch-off-state-layer-color","",Q.contentGlobalSubtle),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-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-border-color","",Q.borderInfoPrimary),X.extend("--ft-chip-success-background-color","",Q.backgroundSuccessSubtle),X.extend("--ft-chip-success-color","",Q.contentSuccessPrimary),X.extend("--ft-chip-success-border-color","",Q.borderSuccessPrimary),X.extend("--ft-chip-warning-background-color","",Q.backgroundWarningSubtle),X.extend("--ft-chip-warning-color","",Q.contentWarningPrimary),X.extend("--ft-chip-warning-border-color","",Q.borderWarningPrimary),X.extend("--ft-chip-error-background-color","",Q.backgroundErrorSubtle),X.extend("--ft-chip-error-color","",Q.contentErrorPrimary),X.extend("--ft-chip-error-border-color","",Q.borderErrorPrimary),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.borderInfoPrimary),X.extend("--ft-notice-info-color","",Q.contentInfoPrimary),X.extend("--ft-notice-warning-background-color","",Q.backgroundWarningSubtle),X.extend("--ft-notice-warning-border-color","",Q.borderWarningPrimary),X.extend("--ft-notice-warning-color","",Q.contentWarningPrimary),X.extend("--ft-checkbox-label-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-color","",Q.contentGlobalOnColor),X.extend("--ft-checkbox-checked-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-checkbox-checked-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-checkbox-checked-state-layer-opacity-active","",q.opacity24),X.extend("--ft-checkbox-checked-component-opacity-disabled","",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-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",q.opacity24),X.extend("--ft-checkbox-unchecked-component-opacity-disabled","",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-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-toggle-off-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-toggle-off-state-layer-opacity-active","",q.opacity24),X.extend("--ft-toggle-off-component-opacity-disabled","",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-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-toggle-on-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-toggle-on-state-layer-opacity-active","",q.opacity24),X.extend("--ft-toggle-on-component-opacity-disabled","",q.opacity40),X.extend("--ft-toggle-on-background-color","",Q.contentActionPrimary),X.extend("--ft-toggle-on-icon-color","",Q.contentActionPrimary),X.extend("--ft-toggle-on-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-toggle-label-color","",Q.contentGlobalPrimary),X.extend("--ft-toggle-focus-focus-ring-color","",Q.borderActionFocusRing),X.extend("--ft-toggle-gap","",q.spacing3),X.extend("--ft-radio-label-color","",Q.contentGlobalPrimary),X.extend("--ft-radio-selected-color","",Q.contentActionPrimary),X.extend("--ft-radio-selected-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-radio-selected-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-radio-selected-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-radio-selected-state-layer-opacity-active","",q.opacity24),X.extend("--ft-radio-selected-component-opacity-disabled","",q.opacity40),X.extend("--ft-radio-unselected-state-layer-color","",q.colorGray80),X.extend("--ft-radio-unselected-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-radio-unselected-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-radio-unselected-state-layer-opacity-active","",q.opacity24),X.extend("--ft-radio-unselected-component-opacity-disabled","",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-border-color","",Q.borderInfoPrimary),X.extend("--ft-notification-success-background-color","",Q.backgroundSuccessSubtle),X.extend("--ft-notification-success-color","",Q.contentSuccessPrimary),X.extend("--ft-notification-success-border-color","",Q.borderSuccessPrimary),X.extend("--ft-notification-warning-background-color","",Q.backgroundWarningSubtle),X.extend("--ft-notification-warning-color","",Q.contentWarningPrimary),X.extend("--ft-notification-warning-border-color","",Q.borderWarningPrimary),X.extend("--ft-notification-error-background-color","",Q.backgroundErrorSubtle),X.extend("--ft-notification-error-color","",Q.contentErrorPrimary),X.extend("--ft-notification-error-border-color","",Q.borderErrorPrimary),X.extend("--ft-notification-border-radius","",q.borderRadiusPill),X.create("--ft-notification-border-width","","SIZE","1px"),X.extend("--ft-notification-gap-leading","",q.spacing2),X.extend("--ft-notification-gap-trailing","",q.spacing8);const et=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.titleFont),ot=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.contentFont),it={fontFamily:ot,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},rt=e.FtCssVariableFactory.extend("--ft-typography-title-font-family","",et),nt=e.FtCssVariableFactory.extend("--ft-typography-title-font-size","",it.fontSize,"20px"),at=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",it.fontWeight,"normal"),lt=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",it.letterSpacing,"0.15px"),st=e.FtCssVariableFactory.extend("--ft-typography-title-line-height","",it.lineHeight,"1.2"),ct=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",it.textTransform,"inherit"),ft=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",et),pt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",it.fontSize,"14px"),dt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",it.fontWeight,"normal"),ht=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",it.letterSpacing,"0.105px"),ut=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",it.lineHeight,"1.7"),gt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",it.textTransform,"inherit"),yt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ot),bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",it.fontSize,"16px"),mt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",it.fontWeight,"600"),xt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",it.letterSpacing,"0.144px"),vt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",it.lineHeight,"1.5"),Ot=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",it.textTransform,"inherit"),$t=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ot),Nt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",it.fontSize,"14px"),wt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",it.fontWeight,"normal"),St=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",it.letterSpacing,"0.098px"),Ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",it.lineHeight,"1.7"),It=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",it.textTransform,"inherit"),kt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ot),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",it.fontSize,"16px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",it.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",it.letterSpacing,"0.496px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",it.lineHeight,"1.5"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",it.textTransform,"inherit")},Et=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ot),Rt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",it.fontSize,"14px"),Ut=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",it.fontWeight,"normal"),Wt=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",it.letterSpacing,"0.252px"),Lt=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",it.lineHeight,"1.4"),zt=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",it.textTransform,"inherit"),Zt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ot),fontSize:e.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",it.fontSize,"12px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",it.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",it.letterSpacing,"0.396px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",it.lineHeight,"1.33"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",it.textTransform,"inherit")},Kt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ot),Dt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",it.fontSize,"10px"),Bt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",it.fontWeight,"normal"),Ft=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",it.letterSpacing,"0.33px"),At=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",it.lineHeight,"1.6"),Ht=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",it.textTransform,"inherit"),Gt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ot),Pt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",it.fontSize,"10px"),jt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",it.fontWeight,"normal"),Mt=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",it.letterSpacing,"1.5px"),Tt=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",it.lineHeight,"1.6"),_t=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",it.textTransform,"uppercase"),Vt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ot),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size","",it.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",it.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",it.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height","",it.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",it.textTransform,"uppercase")},Yt=o.css`
13
+ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litStatic$:t,r:P}),T=new Map,_=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],l=[];let s,c=0,f=!1;for(;c<i;){for(s=e[c];c<i&&void 0!==(n=o[c],r=j(n));)s+=r+e[++c],f=!0;c!==i&&l.push(n),a.push(s),c++}if(c===i&&a.push(e[i]),f){const t=a.join("$$lit$$");void 0===(e=T.get(t))&&(a.raw=a,T.set(t,e=a)),o=l}return t(e,...o)})(C);var Y;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Y||(Y={}));const V=t=>"string"==typeof t?o.unsafeCSS(t):t;class X{static create(t,e,i,r){const n=t=>V(null!=t?t:r),a=o.css`var(${V(t)}, ${n(r)})`;return a.name=t,a.description=e,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=e=>o.css`var(${V(t)}, ${n(e)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,e,i,r){const n=t=>i.get(null!=t?t:r),a=o.css`var(${V(t)}, ${n(r)})`;return a.name=t,a.description=e,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=e=>o.css`var(${V(t)}, ${n(e)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,e){const i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):V(null!=e?e:t.lastResortDefaultValue()),r=o.css`var(${V(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=i,r.get=e=>o.css`var(${V(t.name)}, ${i(e)})`,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","#ee8d17"),colorOrange10:X.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:X.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:X.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:X.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:X.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:X.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:X.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:X.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:X.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:X.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:X.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:X.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:X.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:X.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:X.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:X.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:X.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:X.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:X.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:X.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:X.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:X.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:X.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:X.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:X.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:X.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:X.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:X.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:X.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:X.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:X.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:X.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:X.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:X.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:X.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:X.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:X.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:X.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:X.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:X.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:X.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:X.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:X.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:X.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:X.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:X.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:X.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:X.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:X.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:X.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:X.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:X.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:X.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:X.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:X.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:X.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:X.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:X.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:X.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:X.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:X.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:X.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:X.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:X.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:X.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:X.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:X.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:X.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:X.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:X.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:X.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:X.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:X.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:X.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:X.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:X.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:X.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:X.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:X.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:X.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:X.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:X.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:X.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:X.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:X.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:X.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:X.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:X.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:X.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:X.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:X.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:X.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:X.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:X.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:X.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:X.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:X.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:X.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:X.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:X.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:X.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:X.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:X.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:X.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:X.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:X.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:X.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:X.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:X.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:X.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:X.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:X.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:X.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:X.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:X.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:X.create("--ft-icon-size-6","","SIZE","48px"),opacity0:X.create("--ft-opacity-0","","NUMBER","0"),opacity8:X.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:X.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:X.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:X.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:X.create("--ft-opacity-80","","NUMBER","0.8")},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","2rem"),letterSpacing:X.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:X.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:X.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:X.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:X.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:X.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:X.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:X.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:X.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:X.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:X.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:X.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:X.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:X.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:X.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:X.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:X.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:X.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:X.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:X.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:X.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:X.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:X.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:X.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:X.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:X.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:X.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:X.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:X.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:X.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:X.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:X.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:X.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:X.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Q={backgroundActionPrimary:X.extend("--ft-background-action-primary","Used as backgorund of primary action components.",q.colorBrand0),backgroundErrorPrimary:X.extend("--ft-background-error-primary","Used as background of error components.",q.colorRed0),backgroundErrorSubtle:X.extend("--ft-background-error-subtle","Used as background of subtle error components.",q.colorRed10),backgroundInfoPrimary:X.extend("--ft-background-info-primary","Used as background of information components.",q.colorCyan200),backgroundInfoSubtle:X.extend("--ft-background-info-subtle","Used as background of subtle information components.",q.colorCyan10),backgroundWarningPrimary:X.extend("--ft-background-warning-primary","Used as background of warning components.",q.colorOrange300),backgroundWarningSubtle:X.extend("--ft-background-warning-subtle","Used as background of subtle information components.",q.colorOrange10),backgroundSuccessPrimary:X.extend("--ft-background-success-primary","Used as background of success components.",q.colorGreen200),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.colorOrange300),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.colorRed0),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),contentSuccessIconOnly:X.extend("--ft-content-success-icon-only","Used on success status icons alone",q.colorGreen0),contentSuccessPrimary:X.extend("--ft-content-success-primary","Used on label of success messages on light surface.",q.colorGreen200),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 warning components.",q.colorOrange30),borderSuccessPrimary:X.extend("--ft-border-success-primary","Used as border for success components.",q.colorGreen30),borderErrorPrimary:X.extend("--ft-border-error-primary","Used as border for error components.",q.colorRed30),borderInfoPrimary:X.extend("--ft-border-info-primary","Used as border for information components.",q.colorCyan30),borderGlobalSubtle:X.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",q.colorGray30),borderGlobalPrimary:X.extend("--ft-border-global-primary","Used as border for element like input.",q.colorGray50),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),primaryStateLayerOpacityHover:X.extend("--ft-button-primary-state-layer-opacity-hover","",q.opacity16),primaryStateLayerOpacityFocus:X.extend("--ft-button-primary-state-layer-opacity-focus","",q.opacity16),primaryStateLayerOpacityActive:X.extend("--ft-button-primary-state-layer-opacity-active","",q.opacity24),primaryComponentOpacityDisabled:X.extend("--ft-button-primary-component-opacity-disabled","",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),tertiaryStateLayerOpacityHover:X.extend("--ft-button-tertiary-state-layer-opacity-hover","",q.opacity8),tertiaryStateLayerOpacityFocus:X.extend("--ft-button-tertiary-state-layer-opacity-focus","",q.opacity8),tertiaryStateLayerOpacityActive:X.extend("--ft-button-tertiary-state-layer-opacity-active","",q.opacity16),tertiaryComponentOpacityDisabled:X.extend("--ft-button-tertiary-component-opacity-disabled","",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),secondaryStateLayerOpacityHover:X.extend("--ft-button-secondary-state-layer-opacity-hover","",q.opacity8),secondaryStateLayerOpacityFocus:X.extend("--ft-button-secondary-state-layer-opacity-focus","",q.opacity8),secondaryStateLayerOpacityActive:X.extend("--ft-button-secondary-state-layer-opacity-active","",q.opacity16),secondaryComponentOpacityDisabled:X.extend("--ft-button-secondary-component-opacity-disabled","",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),neutralStateLayerOpacityHover:X.extend("--ft-button-neutral-state-layer-opacity-hover","",q.opacity8),neutralStateLayerOpacityFocus:X.extend("--ft-button-neutral-state-layer-opacity-focus","",q.opacity8),neutralStateLayerOpacityActive:X.extend("--ft-button-neutral-state-layer-opacity-active","",q.opacity16),neutralComponentOpacityDisabled:X.extend("--ft-button-neutral-component-opacity-disabled","",q.opacity40)};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-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-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-switch-off-state-layer-opacity-hover","",q.opacity8),X.extend("--ft-switch-off-state-layer-opacity-focus","",q.opacity8),X.extend("--ft-switch-off-state-layer-opacity-active","",q.opacity16),X.extend("--ft-switch-off-component-opacity-disabled","",q.opacity40),X.extend("--ft-switch-off-color","",Q.contentGlobalSubtle),X.extend("--ft-switch-off-state-layer-color","",Q.contentGlobalSubtle),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-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-border-color","",Q.borderInfoPrimary),X.extend("--ft-chip-success-background-color","",Q.backgroundSuccessSubtle),X.extend("--ft-chip-success-color","",Q.contentSuccessPrimary),X.extend("--ft-chip-success-border-color","",Q.borderSuccessPrimary),X.extend("--ft-chip-warning-background-color","",Q.backgroundWarningSubtle),X.extend("--ft-chip-warning-color","",Q.contentWarningPrimary),X.extend("--ft-chip-warning-border-color","",Q.borderWarningPrimary),X.extend("--ft-chip-error-background-color","",Q.backgroundErrorSubtle),X.extend("--ft-chip-error-color","",Q.contentErrorPrimary),X.extend("--ft-chip-error-border-color","",Q.borderErrorPrimary),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.borderInfoPrimary),X.extend("--ft-notice-info-color","",Q.contentInfoPrimary),X.extend("--ft-notice-warning-background-color","",Q.backgroundWarningSubtle),X.extend("--ft-notice-warning-border-color","",Q.borderWarningPrimary),X.extend("--ft-notice-warning-color","",Q.contentWarningPrimary),X.extend("--ft-checkbox-label-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-color","",Q.contentGlobalOnColor),X.extend("--ft-checkbox-checked-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-checkbox-checked-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-checkbox-checked-state-layer-opacity-active","",q.opacity24),X.extend("--ft-checkbox-checked-component-opacity-disabled","",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-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",q.opacity24),X.extend("--ft-checkbox-unchecked-component-opacity-disabled","",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-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-toggle-off-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-toggle-off-state-layer-opacity-active","",q.opacity24),X.extend("--ft-toggle-off-component-opacity-disabled","",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-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-toggle-on-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-toggle-on-state-layer-opacity-active","",q.opacity24),X.extend("--ft-toggle-on-component-opacity-disabled","",q.opacity40),X.extend("--ft-toggle-on-background-color","",Q.contentActionPrimary),X.extend("--ft-toggle-on-icon-color","",Q.contentActionPrimary),X.extend("--ft-toggle-on-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-toggle-label-color","",Q.contentGlobalPrimary),X.extend("--ft-toggle-focus-focus-ring-color","",Q.borderActionFocusRing),X.extend("--ft-toggle-gap","",q.spacing3),X.extend("--ft-radio-label-color","",Q.contentGlobalPrimary),X.extend("--ft-radio-selected-color","",Q.contentActionPrimary),X.extend("--ft-radio-selected-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-radio-selected-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-radio-selected-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-radio-selected-state-layer-opacity-active","",q.opacity24),X.extend("--ft-radio-selected-component-opacity-disabled","",q.opacity40),X.extend("--ft-radio-unselected-state-layer-color","",q.colorGray80),X.extend("--ft-radio-unselected-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-radio-unselected-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-radio-unselected-state-layer-opacity-active","",q.opacity24),X.extend("--ft-radio-unselected-component-opacity-disabled","",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-border-color","",Q.borderInfoPrimary),X.extend("--ft-notification-success-background-color","",Q.backgroundSuccessSubtle),X.extend("--ft-notification-success-color","",Q.contentSuccessPrimary),X.extend("--ft-notification-success-border-color","",Q.borderSuccessPrimary),X.extend("--ft-notification-warning-background-color","",Q.backgroundWarningSubtle),X.extend("--ft-notification-warning-color","",Q.contentWarningPrimary),X.extend("--ft-notification-warning-border-color","",Q.borderWarningPrimary),X.extend("--ft-notification-error-background-color","",Q.backgroundErrorSubtle),X.extend("--ft-notification-error-color","",Q.contentErrorPrimary),X.extend("--ft-notification-error-border-color","",Q.borderErrorPrimary),X.extend("--ft-notification-border-radius","",q.borderRadiusPill),X.create("--ft-notification-border-width","","SIZE","1px"),X.extend("--ft-notification-gap-leading","",q.spacing2),X.extend("--ft-notification-gap-trailing","",q.spacing8);const et=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.titleFont),ot=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.contentFont),it={fontFamily:ot,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},rt=e.FtCssVariableFactory.extend("--ft-typography-title-font-family","",et),nt=e.FtCssVariableFactory.extend("--ft-typography-title-font-size","",it.fontSize,"20px"),at=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",it.fontWeight,"normal"),lt=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",it.letterSpacing,"0.15px"),st=e.FtCssVariableFactory.extend("--ft-typography-title-line-height","",it.lineHeight,"1.2"),ct=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",it.textTransform,"inherit"),ft=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",et),pt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",it.fontSize,"14px"),dt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",it.fontWeight,"normal"),ht=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",it.letterSpacing,"0.105px"),ut=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",it.lineHeight,"1.7"),gt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",it.textTransform,"inherit"),yt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ot),bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",it.fontSize,"16px"),mt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",it.fontWeight,"600"),xt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",it.letterSpacing,"0.144px"),vt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",it.lineHeight,"1.5"),Ot=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",it.textTransform,"inherit"),$t=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ot),Nt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",it.fontSize,"14px"),wt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",it.fontWeight,"normal"),St=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",it.letterSpacing,"0.098px"),Ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",it.lineHeight,"1.7"),It=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",it.textTransform,"inherit"),kt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ot),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",it.fontSize,"16px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",it.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",it.letterSpacing,"0.496px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",it.lineHeight,"1.5"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",it.textTransform,"inherit")},Et=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ot),Rt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",it.fontSize,"14px"),Ut=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",it.fontWeight,"normal"),Wt=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",it.letterSpacing,"0.252px"),Lt=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",it.lineHeight,"1.4"),zt=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",it.textTransform,"inherit"),Zt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ot),fontSize:e.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",it.fontSize,"12px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",it.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",it.letterSpacing,"0.396px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",it.lineHeight,"1.33"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",it.textTransform,"inherit")},Kt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ot),Dt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",it.fontSize,"10px"),Bt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",it.fontWeight,"normal"),Ft=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",it.letterSpacing,"0.33px"),At=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",it.lineHeight,"1.6"),Ht=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",it.textTransform,"inherit"),Gt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ot),Pt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",it.fontSize,"10px"),jt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",it.fontWeight,"normal"),Mt=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",it.letterSpacing,"1.5px"),Tt=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",it.lineHeight,"1.6"),_t=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",it.textTransform,"uppercase"),Yt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ot),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size","",it.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",it.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",it.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height","",it.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",it.textTransform,"uppercase")},Vt=o.css`
14
14
  .ft-typography--title {
15
15
  font-family: ${rt};
16
16
  font-size: ${nt};
@@ -94,12 +94,12 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
94
94
  }
95
95
  `,re=o.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};
97
+ font-family: ${Yt.fontFamily};
98
+ font-size: ${Yt.fontSize};
99
+ font-weight: ${Yt.fontWeight};
100
+ letter-spacing: ${Yt.letterSpacing};
101
+ line-height: ${Yt.lineHeight};
102
+ text-transform: ${Yt.textTransform};
103
103
  }
104
104
  `,ne=o.css`
105
105
  .ft-typography {
@@ -114,14 +114,14 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
114
114
  line-height: ${e.lineHeight};
115
115
  text-transform: ${e.textCase};
116
116
  }
117
- `}(t)))];var le=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class se extends e.FtLitElement{constructor(){super(...arguments),this.variant=V.body1}render(){return this.element?_`
117
+ `}(t)))];var le=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class se extends e.FtLitElement{constructor(){super(...arguments),this.variant=Y.body1}render(){return this.element?_`
118
118
  <${M(this.element)}
119
119
  class="ft-typography ft-typography--${this.variant}">
120
120
  <slot></slot>
121
121
  </${M(this.element)}>
122
122
  `:_`
123
123
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
124
- `}}se.styles=[Yt,Xt,qt,Jt,Qt,te,ee,oe,ie,re,ne,...ae],le([i.property()],se.prototype,"element",void 0),le([i.property()],se.prototype,"variant",void 0),e.customElement("ft-typography")(se);const ce={fontSize:e.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:e.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:e.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:e.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:e.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:e.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:e.FtCssVariableFactory.extend("--ft-input-label-border-color","",e.designSystemVariables.colorOutline),textColor:e.FtCssVariableFactory.extend("--ft-input-label-text-color","",e.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:e.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",e.designSystemVariables.colorOnSurfaceDisabled),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariableFactory.external(e.designSystemVariables.colorError,"Design system")},fe=o.css`
124
+ `}}se.styles=[Vt,Xt,qt,Jt,Qt,te,ee,oe,ie,re,ne,...ae],le([i.property()],se.prototype,"element",void 0),le([i.property()],se.prototype,"variant",void 0),e.customElement("ft-typography")(se);const ce={fontSize:e.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:e.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:e.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:e.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:e.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:e.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:e.FtCssVariableFactory.extend("--ft-input-label-border-color","",e.designSystemVariables.colorOutline),textColor:e.FtCssVariableFactory.extend("--ft-input-label-text-color","",e.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:e.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",e.designSystemVariables.colorOnSurfaceDisabled),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariableFactory.external(e.designSystemVariables.colorError,"Design system")},fe=o.css`
125
125
  .ft-input-label {
126
126
  position: absolute;
127
127
  inset: 0;
@@ -944,7 +944,7 @@ const Ke={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","",
944
944
  transform: translate(calc(0.35 * ${je.size}), 0);
945
945
  }
946
946
  }
947
- `,Te=e.FtCssVariableFactory.extend("--ft-button-color","",e.designSystemVariables.colorPrimary),_e={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-background-color","",e.designSystemVariables.colorSurface),borderRadius:e.FtCssVariableFactory.extend("--ft-button-border-radius","",e.designSystemVariables.borderRadiusL),color:Te,fontSize:e.FtCssVariableFactory.extend("--ft-button-font-size","",Vt.fontSize),iconSize:e.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:e.FtCssVariableFactory.extend("--ft-button-ripple-color","",Te),verticalPadding:e.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:e.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:e.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOpacityDisabled,"Design system")},Ve=e.FtCssVariableFactory.extend("--ft-button-primary-color","",e.FtCssVariableFactory.extend("--ft-button-color","",e.designSystemVariables.colorOnPrimary)),Ye={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-primary-background-color","",e.FtCssVariableFactory.extend("--ft-button-background-color","",e.designSystemVariables.colorPrimary)),color:Ve,rippleColor:e.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Ve)},Xe=e.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",e.FtCssVariableFactory.extend("--ft-button-border-radius","",e.designSystemVariables.borderRadiusM)),qe=e.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Je=e.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Qe=e.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),to=[o.css`
947
+ `,Te=e.FtCssVariableFactory.extend("--ft-button-color","",e.designSystemVariables.colorPrimary),_e={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-background-color","",e.designSystemVariables.colorSurface),borderRadius:e.FtCssVariableFactory.extend("--ft-button-border-radius","",e.designSystemVariables.borderRadiusL),color:Te,fontSize:e.FtCssVariableFactory.extend("--ft-button-font-size","",Yt.fontSize),iconSize:e.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:e.FtCssVariableFactory.extend("--ft-button-ripple-color","",Te),verticalPadding:e.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:e.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:e.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOpacityDisabled,"Design system")},Ye=e.FtCssVariableFactory.extend("--ft-button-primary-color","",e.FtCssVariableFactory.extend("--ft-button-color","",e.designSystemVariables.colorOnPrimary)),Ve={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-primary-background-color","",e.FtCssVariableFactory.extend("--ft-button-background-color","",e.designSystemVariables.colorPrimary)),color:Ye,rippleColor:e.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Ye)},Xe=e.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",e.FtCssVariableFactory.extend("--ft-button-border-radius","",e.designSystemVariables.borderRadiusM)),qe=e.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Je=e.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Qe=e.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),to=[o.css`
948
948
  :host {
949
949
  display: inline-block;
950
950
  max-width: 100%;
@@ -1029,9 +1029,9 @@ const Ke={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","",
1029
1029
  }
1030
1030
 
1031
1031
  .ft-button.ft-button--primary {
1032
- background-color: ${Ye.backgroundColor};
1033
- --ft-button-internal-color: ${Ye.color};
1034
- ${e.setVariable(ue.color,Ye.rippleColor)};
1032
+ background-color: ${Ve.backgroundColor};
1033
+ --ft-button-internal-color: ${Ve.color};
1034
+ ${e.setVariable(ue.color,Ve.rippleColor)};
1035
1035
  }
1036
1036
 
1037
1037
  .ft-button:focus {
@@ -1045,8 +1045,8 @@ const Ke={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","",
1045
1045
  text-overflow: ellipsis;
1046
1046
  display: block;
1047
1047
  margin: 0 ${_e.iconPadding};
1048
- ${e.setVariable(Vt.fontSize,"1em")};
1049
- ${e.setVariable(Vt.lineHeight,"var(--ft-button-internal-line-height)")};
1048
+ ${e.setVariable(Yt.fontSize,"1em")};
1049
+ ${e.setVariable(Yt.lineHeight,"var(--ft-button-internal-line-height)")};
1050
1050
  }
1051
1051
 
1052
1052
  .ft-button--dense .ft-button--label {
@@ -1092,7 +1092,7 @@ const Ke={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","",
1092
1092
  }
1093
1093
 
1094
1094
  .ft-tooltip {
1095
- position: absolute;
1095
+ position: fixed;
1096
1096
  box-sizing: border-box;
1097
1097
  overflow: hidden;
1098
1098
  width: max-content;
@@ -1110,7 +1110,7 @@ const Ke={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","",
1110
1110
  position: relative;
1111
1111
  word-break: break-word;
1112
1112
  }
1113
- `,so=["start","end"],co=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+so[0],e+"-"+so[1])),[]),fo=Math.min,po=Math.max,ho=Math.round,uo=t=>({x:t,y:t}),go={left:"right",right:"left",bottom:"top",top:"bottom"},yo={start:"end",end:"start"};function bo(t,e,o){return po(t,fo(e,o))}function mo(t,e){return"function"==typeof t?t(e):t}function xo(t){return t.split("-")[0]}function vo(t){return t.split("-")[1]}function Oo(t){return"x"===t?"y":"x"}function $o(t){return"y"===t?"height":"width"}function No(t){return["top","bottom"].includes(xo(t))?"y":"x"}function wo(t){return Oo(No(t))}function So(t){return t.replace(/left|right|bottom|top/g,(t=>go[t]))}function Co(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Io(t,e,o){let{reference:i,floating:r}=t;const n=No(e),a=wo(e),l=$o(a),s=xo(e),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,d=i[l]/2-r[l]/2;let h;switch(s){case"top":h={x:f,y:i.y-r.height};break;case"bottom":h={x:f,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:p};break;case"left":h={x:i.x-r.width,y:p};break;default:h={x:i.x,y:i.y}}switch(vo(e)){case"start":h[a]-=d*(o&&c?-1:1);break;case"end":h[a]+=d*(o&&c?-1:1)}return h}async function ko(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=mo(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),g=l[d?"floating"===p?"reference":"floating":p],y=Co(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(g)))||o?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:s})),b="floating"===p?{...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=Co(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-v.top+u.top)/x.y,bottom:(v.bottom-y.bottom+u.bottom)/x.y,left:(y.left-v.left+u.left)/x.x,right:(v.right-y.right+u.right)/x.x}}function Eo(t,e,o){return(t?[...o.filter((e=>vo(e)===t)),...o.filter((e=>vo(e)!==t))]:o.filter((t=>xo(t)===t))).filter((o=>!t||(vo(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>yo[t]))}(o)!==o)))}const Ro=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:d=co,autoAlignment:h=!0,...u}=mo(t,e),g=void 0!==p||d===co?Eo(p||null,h,d):d,y=await ko(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=g[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=vo(t),r=wo(t),n=$o(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=So(a)),[a,So(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const v=[y[xo(m)],y[x[0]],y[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],$=g[b+1];if($)return{data:{index:b+1,overflows:O},reset:{placement:$}};const N=O.map((t=>{const e=vo(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),w=N.filter((t=>t[2].slice(0,vo(t[0])?2:3).every((t=>t<=0)))),S=(null==(r=w[0])?void 0:r[0])||N[0][0];return S!==l?{data:{index:b+1,overflows:O},reset:{placement:S}}:{}}}};function Uo(t){return zo(t)?(t.nodeName||"").toLowerCase():"#document"}function Wo(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Lo(t){var e;return null==(e=(zo(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function zo(t){return t instanceof Node||t instanceof Wo(t).Node}function Zo(t){return t instanceof Element||t instanceof Wo(t).Element}function Ko(t){return t instanceof HTMLElement||t instanceof Wo(t).HTMLElement}function Do(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Wo(t).ShadowRoot)}function Bo(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=Po(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function Fo(t){return["table","td","th"].includes(Uo(t))}function Ao(t){const e=Ho(),o=Po(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function Ho(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Go(t){return["html","body","#document"].includes(Uo(t))}function Po(t){return Wo(t).getComputedStyle(t)}function jo(t){return Zo(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Mo(t){if("html"===Uo(t))return t;const e=t.assignedSlot||t.parentNode||Do(t)&&t.host||Lo(t);return Do(e)?e.host:e}function To(t){const e=Mo(t);return Go(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ko(e)&&Bo(e)?e:To(e)}function _o(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=To(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Wo(r);return n?e.concat(a,a.visualViewport||[],Bo(r)?r:[],a.frameElement&&o?_o(a.frameElement):[]):e.concat(r,_o(r,[],o))}function Vo(t){const e=Po(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Ko(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,l=ho(o)!==n||ho(i)!==a;return l&&(o=n,i=a),{width:o,height:i,$:l}}function Yo(t){return Zo(t)?t:t.contextElement}function Xo(t){const e=Yo(t);if(!Ko(e))return uo(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Vo(e);let a=(n?ho(o.width):o.width)/i,l=(n?ho(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const qo=uo(0);function Jo(t){const e=Wo(t);return Ho()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:qo}function Qo(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=Yo(t);let a=uo(1);e&&(i?Zo(i)&&(a=Xo(i)):a=Xo(t));const l=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Wo(t))&&e}(n,o,i)?Jo(n):uo(0);let s=(r.left+l.x)/a.x,c=(r.top+l.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=Wo(n),e=i&&Zo(i)?Wo(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Xo(o),e=o.getBoundingClientRect(),i=Po(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=r,c+=n,o=Wo(o).frameElement}}return Co({width:f,height:p,x:s,y:c})}function ti(t){return Qo(Lo(t)).left+jo(t).scrollLeft}function ei(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=Wo(t),i=Lo(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,l=0,s=0;if(r){n=r.width,a=r.height;const t=Ho();(!t||t&&"fixed"===e)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,o);else if("document"===e)i=function(t){const e=Lo(t),o=jo(t),i=t.ownerDocument.body,r=po(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=po(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+ti(t);const l=-o.scrollTop;return"rtl"===Po(i).direction&&(a+=po(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(Lo(t));else if(Zo(e))i=function(t,e){const o=Qo(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=Ko(t)?Xo(t):uo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=Jo(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Co(i)}function oi(t,e){const o=Mo(t);return!(o===e||!Zo(o)||Go(o))&&("fixed"===Po(o).position||oi(o,e))}function ii(t,e,o){const i=Ko(e),r=Lo(e),n="fixed"===o,a=Qo(t,!0,n,e);let l={scrollLeft:0,scrollTop:0};const s=uo(0);if(i||!i&&!n)if(("body"!==Uo(e)||Bo(r))&&(l=jo(e)),i){const t=Qo(e,!0,n,e);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else r&&(s.x=ti(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function ri(t,e){return Ko(t)&&"fixed"!==Po(t).position?e?e(t):t.offsetParent:null}function ni(t,e){const o=Wo(t);if(!Ko(t))return o;let i=ri(t,e);for(;i&&Fo(i)&&"static"===Po(i).position;)i=ri(i,e);return i&&("html"===Uo(i)||"body"===Uo(i)&&"static"===Po(i).position&&!Ao(i))?o:i||function(t){let e=Mo(t);for(;Ko(e)&&!Go(e);){if(Ao(e))return e;e=Mo(e)}return null}(t)||o}const ai={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=Ko(o),n=Lo(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},l=uo(1);const s=uo(0);if((r||!r&&"fixed"!==i)&&(("body"!==Uo(o)||Bo(n))&&(a=jo(o)),Ko(o))){const t=Qo(o);l=Xo(o),s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-a.scrollLeft*l.x+s.x,y:e.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:Lo,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=_o(t,[],!1).filter((t=>Zo(t)&&"body"!==Uo(t))),r=null;const n="fixed"===Po(t).position;let a=n?Mo(t):t;for(;Zo(a)&&!Go(a);){const e=Po(a),o=Ao(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||Bo(a)&&!o&&oi(t,a))?i=i.filter((t=>t!==a)):r=e,a=Mo(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],l=n.reduce(((t,o)=>{const i=ei(e,o,r);return t.top=po(i.top,t.top),t.right=fo(i.right,t.right),t.bottom=fo(i.bottom,t.bottom),t.left=po(i.left,t.left),t}),ei(e,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:ni,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||ni,n=this.getDimensions;return{reference:ii(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Vo(t)},getScale:Xo,isElement:Zo,isRTL:function(t){return"rtl"===Po(t).direction}},li=(t,e,o)=>{const i=new Map,r={platform:ai,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:p}=Io(c,i,s),d=i,h={},u=0;for(let o=0;o<l.length;o++){const{name:n,fn:g}=l[o],{x:y,y:b,data:m,reset:x}=await g({x:f,y:p,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=y?y:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:f,y:p}=Io(c,d,s))),o=-1)}return{x:f,y:p,placement:d,strategy:r,middlewareData:h}})(t,e,{...r,platform:n})};var si=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ci 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 o.html`
1113
+ `,so=["start","end"],co=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+so[0],e+"-"+so[1])),[]),fo=Math.min,po=Math.max,ho=Math.round,uo=t=>({x:t,y:t}),go={left:"right",right:"left",bottom:"top",top:"bottom"},yo={start:"end",end:"start"};function bo(t,e,o){return po(t,fo(e,o))}function mo(t,e){return"function"==typeof t?t(e):t}function xo(t){return t.split("-")[0]}function vo(t){return t.split("-")[1]}function Oo(t){return"x"===t?"y":"x"}function $o(t){return"y"===t?"height":"width"}function No(t){return["top","bottom"].includes(xo(t))?"y":"x"}function wo(t){return Oo(No(t))}function So(t){return t.replace(/left|right|bottom|top/g,(t=>go[t]))}function Co(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Io(t,e,o){let{reference:i,floating:r}=t;const n=No(e),a=wo(e),l=$o(a),s=xo(e),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,d=i[l]/2-r[l]/2;let h;switch(s){case"top":h={x:f,y:i.y-r.height};break;case"bottom":h={x:f,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:p};break;case"left":h={x:i.x-r.width,y:p};break;default:h={x:i.x,y:i.y}}switch(vo(e)){case"start":h[a]-=d*(o&&c?-1:1);break;case"end":h[a]+=d*(o&&c?-1:1)}return h}async function ko(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=mo(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),g=l[d?"floating"===p?"reference":"floating":p],y=Co(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(g)))||o?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:s})),b="floating"===p?{...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=Co(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-v.top+u.top)/x.y,bottom:(v.bottom-y.bottom+u.bottom)/x.y,left:(y.left-v.left+u.left)/x.x,right:(v.right-y.right+u.right)/x.x}}function Eo(t,e,o){return(t?[...o.filter((e=>vo(e)===t)),...o.filter((e=>vo(e)!==t))]:o.filter((t=>xo(t)===t))).filter((o=>!t||(vo(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>yo[t]))}(o)!==o)))}const Ro=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:d=co,autoAlignment:h=!0,...u}=mo(t,e),g=void 0!==p||d===co?Eo(p||null,h,d):d,y=await ko(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=g[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=vo(t),r=wo(t),n=$o(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=So(a)),[a,So(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const v=[y[xo(m)],y[x[0]],y[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],$=g[b+1];if($)return{data:{index:b+1,overflows:O},reset:{placement:$}};const N=O.map((t=>{const e=vo(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),w=N.filter((t=>t[2].slice(0,vo(t[0])?2:3).every((t=>t<=0)))),S=(null==(r=w[0])?void 0:r[0])||N[0][0];return S!==l?{data:{index:b+1,overflows:O},reset:{placement:S}}:{}}}};function Uo(t){return zo(t)?(t.nodeName||"").toLowerCase():"#document"}function Wo(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Lo(t){var e;return null==(e=(zo(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function zo(t){return t instanceof Node||t instanceof Wo(t).Node}function Zo(t){return t instanceof Element||t instanceof Wo(t).Element}function Ko(t){return t instanceof HTMLElement||t instanceof Wo(t).HTMLElement}function Do(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Wo(t).ShadowRoot)}function Bo(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=Po(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function Fo(t){return["table","td","th"].includes(Uo(t))}function Ao(t){const e=Ho(),o=Po(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function Ho(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Go(t){return["html","body","#document"].includes(Uo(t))}function Po(t){return Wo(t).getComputedStyle(t)}function jo(t){return Zo(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Mo(t){if("html"===Uo(t))return t;const e=t.assignedSlot||t.parentNode||Do(t)&&t.host||Lo(t);return Do(e)?e.host:e}function To(t){const e=Mo(t);return Go(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ko(e)&&Bo(e)?e:To(e)}function _o(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=To(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Wo(r);return n?e.concat(a,a.visualViewport||[],Bo(r)?r:[],a.frameElement&&o?_o(a.frameElement):[]):e.concat(r,_o(r,[],o))}function Yo(t){const e=Po(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Ko(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,l=ho(o)!==n||ho(i)!==a;return l&&(o=n,i=a),{width:o,height:i,$:l}}function Vo(t){return Zo(t)?t:t.contextElement}function Xo(t){const e=Vo(t);if(!Ko(e))return uo(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Yo(e);let a=(n?ho(o.width):o.width)/i,l=(n?ho(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const qo=uo(0);function Jo(t){const e=Wo(t);return Ho()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:qo}function Qo(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=Vo(t);let a=uo(1);e&&(i?Zo(i)&&(a=Xo(i)):a=Xo(t));const l=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Wo(t))&&e}(n,o,i)?Jo(n):uo(0);let s=(r.left+l.x)/a.x,c=(r.top+l.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=Wo(n),e=i&&Zo(i)?Wo(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Xo(o),e=o.getBoundingClientRect(),i=Po(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=r,c+=n,o=Wo(o).frameElement}}return Co({width:f,height:p,x:s,y:c})}function ti(t){return Qo(Lo(t)).left+jo(t).scrollLeft}function ei(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=Wo(t),i=Lo(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,l=0,s=0;if(r){n=r.width,a=r.height;const t=Ho();(!t||t&&"fixed"===e)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,o);else if("document"===e)i=function(t){const e=Lo(t),o=jo(t),i=t.ownerDocument.body,r=po(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=po(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+ti(t);const l=-o.scrollTop;return"rtl"===Po(i).direction&&(a+=po(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(Lo(t));else if(Zo(e))i=function(t,e){const o=Qo(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=Ko(t)?Xo(t):uo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=Jo(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Co(i)}function oi(t,e){const o=Mo(t);return!(o===e||!Zo(o)||Go(o))&&("fixed"===Po(o).position||oi(o,e))}function ii(t,e,o){const i=Ko(e),r=Lo(e),n="fixed"===o,a=Qo(t,!0,n,e);let l={scrollLeft:0,scrollTop:0};const s=uo(0);if(i||!i&&!n)if(("body"!==Uo(e)||Bo(r))&&(l=jo(e)),i){const t=Qo(e,!0,n,e);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else r&&(s.x=ti(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function ri(t,e){return Ko(t)&&"fixed"!==Po(t).position?e?e(t):t.offsetParent:null}function ni(t,e){const o=Wo(t);if(!Ko(t))return o;let i=ri(t,e);for(;i&&Fo(i)&&"static"===Po(i).position;)i=ri(i,e);return i&&("html"===Uo(i)||"body"===Uo(i)&&"static"===Po(i).position&&!Ao(i))?o:i||function(t){let e=Mo(t);for(;Ko(e)&&!Go(e);){if(Ao(e))return e;e=Mo(e)}return null}(t)||o}const ai={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=Ko(o),n=Lo(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},l=uo(1);const s=uo(0);if((r||!r&&"fixed"!==i)&&(("body"!==Uo(o)||Bo(n))&&(a=jo(o)),Ko(o))){const t=Qo(o);l=Xo(o),s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-a.scrollLeft*l.x+s.x,y:e.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:Lo,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=_o(t,[],!1).filter((t=>Zo(t)&&"body"!==Uo(t))),r=null;const n="fixed"===Po(t).position;let a=n?Mo(t):t;for(;Zo(a)&&!Go(a);){const e=Po(a),o=Ao(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||Bo(a)&&!o&&oi(t,a))?i=i.filter((t=>t!==a)):r=e,a=Mo(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],l=n.reduce(((t,o)=>{const i=ei(e,o,r);return t.top=po(i.top,t.top),t.right=fo(i.right,t.right),t.bottom=fo(i.bottom,t.bottom),t.left=po(i.left,t.left),t}),ei(e,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:ni,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||ni,n=this.getDimensions;return{reference:ii(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Yo(t)},getScale:Xo,isElement:Zo,isRTL:function(t){return"rtl"===Po(t).direction}},li=(t,e,o)=>{const i=new Map,r={platform:ai,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:p}=Io(c,i,s),d=i,h={},u=0;for(let o=0;o<l.length;o++){const{name:n,fn:g}=l[o],{x:y,y:b,data:m,reset:x}=await g({x:f,y:p,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=y?y:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:f,y:p}=Io(c,d,s))),o=-1)}return{x:f,y:p,placement:d,strategy:r,middlewareData:h}})(t,e,{...r,platform:n})};function si(t){return function(t){for(let e=t;e;e=ci(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=ci(t);e;e=ci(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function ci(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var fi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class pi 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 o.html`
1114
1114
  <div part="container"
1115
1115
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
1116
1116
  @mouseenter=${this.onHover}
@@ -1118,7 +1118,7 @@ const Ke={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","",
1118
1118
  @focusin=${this.onHover}
1119
1119
  @focusout=${this.onOut}
1120
1120
  @touchstart=${this.onTouch}>
1121
- <slot></slot>
1121
+ <slot part="slot"></slot>
1122
1122
  <div part="tooltip" role="tooltip" inert
1123
1123
  class="ft-tooltip ft-tooltip--${this.validPosition}"
1124
1124
  ?hidden=${!this.visible}>
@@ -1128,14 +1128,14 @@ const Ke={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","",
1128
1128
  </div>
1129
1129
  </div>
1130
1130
  </div>
1131
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",li(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...s}=mo(t,e),c={x:o,y:i},f=await ko(e,s),p=No(xo(r)),d=Oo(p);let h=c[d],u=c[p];if(n){const t="y"===d?"bottom":"right";h=bo(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";u=bo(u+f["y"===p?"top":"left"],u,u-f[t])}const g=l.fn({...e,[d]:h,[p]:u});return{...g,data:{x:g.x-o,y:g.y-i}}}}),Ro({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}ci.elementDefinitions={"ft-typography":se},ci.styles=lo,si([i.property()],ci.prototype,"text",void 0),si([i.property({type:Boolean})],ci.prototype,"manual",void 0),si([i.property({type:Boolean})],ci.prototype,"inline",void 0),si([i.property({type:Number})],ci.prototype,"delay",void 0),si([i.property()],ci.prototype,"position",void 0),si([i.queryAssignedNodes()],ci.prototype,"slotNodes",void 0),si([i.query(".ft-tooltip--container")],ci.prototype,"container",void 0),si([i.query(".ft-tooltip")],ci.prototype,"tooltip",void 0),si([i.query(".ft-tooltip--content")],ci.prototype,"tooltipContent",void 0),si([i.state()],ci.prototype,"visible",void 0),si([i.eventOptions({passive:!0})],ci.prototype,"onTouch",null),si([i.eventOptions({passive:!0})],ci.prototype,"onHover",null),si([i.eventOptions({passive:!0})],ci.prototype,"onOut",null),e.customElement("ft-tooltip")(ci);class fi extends e.FtLitElement{render(){return o.html`
1131
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",li(this.slottedElement,this.tooltip,{platform:{...ai,getOffsetParent:t=>ai.getOffsetParent(t,si)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...s}=mo(t,e),c={x:o,y:i},f=await ko(e,s),p=No(xo(r)),d=Oo(p);let h=c[d],u=c[p];if(n){const t="y"===d?"bottom":"right";h=bo(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";u=bo(u+f["y"===p?"top":"left"],u,u-f[t])}const g=l.fn({...e,[d]:h,[p]:u});return{...g,data:{x:g.x-o,y:g.y-i}}}}),Ro({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}pi.elementDefinitions={"ft-typography":se},pi.styles=lo,fi([i.property()],pi.prototype,"text",void 0),fi([i.property({type:Boolean})],pi.prototype,"manual",void 0),fi([i.property({type:Boolean})],pi.prototype,"inline",void 0),fi([i.property({type:Number})],pi.prototype,"delay",void 0),fi([i.property()],pi.prototype,"position",void 0),fi([i.queryAssignedNodes()],pi.prototype,"slotNodes",void 0),fi([i.query(".ft-tooltip--container")],pi.prototype,"container",void 0),fi([i.query(".ft-tooltip")],pi.prototype,"tooltip",void 0),fi([i.query(".ft-tooltip--content")],pi.prototype,"tooltipContent",void 0),fi([i.state()],pi.prototype,"visible",void 0),fi([i.eventOptions({passive:!0})],pi.prototype,"onTouch",null),fi([i.eventOptions({passive:!0})],pi.prototype,"onHover",null),fi([i.eventOptions({passive:!0})],pi.prototype,"onOut",null),e.customElement("ft-tooltip")(pi);class di extends e.FtLitElement{render(){return o.html`
1132
1132
  <div class="ft-loader">
1133
1133
  <div></div>
1134
1134
  <div></div>
1135
1135
  <div></div>
1136
1136
  <div></div>
1137
1137
  </div>
1138
- `}}fi.styles=Me,e.customElement("ft-loader")(fi);var pi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class di extends(e.toFtFormComponent(e.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(o.html`
1138
+ `}}di.styles=Me,e.customElement("ft-loader")(di);var hi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ui extends(e.toFtFormComponent(e.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(o.html`
1139
1139
  <button part="button"
1140
1140
  class="${a.classMap(this.buttonClasses)}"
1141
1141
  aria-label="${this.getLabel()}"
@@ -1158,7 +1158,7 @@ const Ke={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","",
1158
1158
  </ft-tooltip>
1159
1159
  `:t}resolveIcon(){return this.loading?o.html`
1160
1160
  <ft-loader part="loader icon"></ft-loader> `:this.icon?o.html`
1161
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:o.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}}di.elementDefinitions={"ft-ripple":Se,"ft-tooltip":ci,"ft-typography":se,"ft-icon":Re,"ft-loader":fi},pi([i.property({type:String,reflect:!0})],di.prototype,"role",void 0),pi([i.property()],di.prototype,"type",void 0),pi([i.property({type:Boolean})],di.prototype,"disabled",void 0),pi([i.property()],di.prototype,"label",void 0),pi([i.property()],di.prototype,"icon",void 0),pi([i.property()],di.prototype,"iconVariant",void 0),pi([i.property({type:Boolean})],di.prototype,"trailingIcon",void 0),pi([i.property({type:Boolean})],di.prototype,"loading",void 0),pi([i.property()],di.prototype,"tooltipPosition",void 0),pi([i.property({type:Boolean})],di.prototype,"hideTooltip",void 0),pi([i.property({type:Boolean})],di.prototype,"forceTooltip",void 0),pi([i.query(".ft-button")],di.prototype,"button",void 0),pi([i.query(".ft-button--label slot")],di.prototype,"slottedContent",void 0);var hi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ui extends di{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"}}ui.styles=[e.safariEllipsisFix,to],hi([i.property({type:Boolean})],ui.prototype,"primary",void 0),hi([i.property({type:Boolean})],ui.prototype,"outlined",void 0),hi([i.property({type:Boolean})],ui.prototype,"dense",void 0),hi([i.property({type:Boolean})],ui.prototype,"round",void 0);const gi=[o.css`
1161
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:o.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}}ui.elementDefinitions={"ft-ripple":Se,"ft-tooltip":pi,"ft-typography":se,"ft-icon":Re,"ft-loader":di},hi([i.property({type:String,reflect:!0})],ui.prototype,"role",void 0),hi([i.property()],ui.prototype,"type",void 0),hi([i.property({type:Boolean})],ui.prototype,"disabled",void 0),hi([i.property()],ui.prototype,"label",void 0),hi([i.property()],ui.prototype,"icon",void 0),hi([i.property()],ui.prototype,"iconVariant",void 0),hi([i.property({type:Boolean})],ui.prototype,"trailingIcon",void 0),hi([i.property({type:Boolean})],ui.prototype,"loading",void 0),hi([i.property()],ui.prototype,"tooltipPosition",void 0),hi([i.property({type:Boolean})],ui.prototype,"hideTooltip",void 0),hi([i.property({type:Boolean})],ui.prototype,"forceTooltip",void 0),hi([i.query(".ft-button")],ui.prototype,"button",void 0),hi([i.query(".ft-button--label slot")],ui.prototype,"slottedContent",void 0);var gi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class yi extends ui{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=[e.safariEllipsisFix,to],gi([i.property({type:Boolean})],yi.prototype,"primary",void 0),gi([i.property({type:Boolean})],yi.prototype,"outlined",void 0),gi([i.property({type:Boolean})],yi.prototype,"dense",void 0),gi([i.property({type:Boolean})],yi.prototype,"round",void 0);const bi=[o.css`
1162
1162
  :host {
1163
1163
  display: inline-block;
1164
1164
  max-width: 100%;
@@ -1376,7 +1376,7 @@ const Ke={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","",
1376
1376
  width: ${tt.smallIconOnlyWidth};
1377
1377
  padding: unset;
1378
1378
  }
1379
- `,e.noTextSelect];var yi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class bi extends di{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}}bi.styles=[e.safariEllipsisFix,gi],yi([i.property({type:Boolean})],bi.prototype,"primary",void 0),yi([i.property({type:Boolean})],bi.prototype,"secondary",void 0),yi([i.property({type:Boolean})],bi.prototype,"tertiary",void 0),yi([i.property({type:Boolean})],bi.prototype,"neutral",void 0),yi([i.property({type:Boolean})],bi.prototype,"small",void 0),e.customElement("ft-button")(ui),e.customElement("ftds-button")(bi);class mi extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const xi={headerBackground:e.FtCssVariableFactory.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:e.FtCssVariableFactory.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:e.FtCssVariableFactory.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:e.FtCssVariableFactory.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:e.FtCssVariableFactory.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","100"),cellVerticalBorderWidth:e.FtCssVariableFactory.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),colorOnSurfaceHigh:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceHigh,"Design system"),titleFont:e.FtCssVariableFactory.external(e.designSystemVariables.titleFont,"Design system"),contentFont:e.FtCssVariableFactory.external(e.designSystemVariables.contentFont,"Design system")},vi=o.css`
1379
+ `,e.noTextSelect];var mi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class xi extends ui{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Y.caption1medium:Y.body2medium}}xi.styles=[e.safariEllipsisFix,bi],mi([i.property({type:Boolean})],xi.prototype,"primary",void 0),mi([i.property({type:Boolean})],xi.prototype,"secondary",void 0),mi([i.property({type:Boolean})],xi.prototype,"tertiary",void 0),mi([i.property({type:Boolean})],xi.prototype,"neutral",void 0),mi([i.property({type:Boolean})],xi.prototype,"small",void 0),e.customElement("ft-button")(yi),e.customElement("ftds-button")(xi);class vi extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const Oi={headerBackground:e.FtCssVariableFactory.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:e.FtCssVariableFactory.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:e.FtCssVariableFactory.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:e.FtCssVariableFactory.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:e.FtCssVariableFactory.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","100"),cellVerticalBorderWidth:e.FtCssVariableFactory.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),colorOnSurfaceHigh:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceHigh,"Design system"),titleFont:e.FtCssVariableFactory.external(e.designSystemVariables.titleFont,"Design system"),contentFont:e.FtCssVariableFactory.external(e.designSystemVariables.contentFont,"Design system")},$i=o.css`
1380
1380
  :host {
1381
1381
  display: block;
1382
1382
  }
@@ -1392,15 +1392,15 @@ const Ke={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","",
1392
1392
  .header-cell {
1393
1393
  display: flex;
1394
1394
  flex-direction: column;
1395
- background: ${xi.headerBackground};
1396
- color: ${xi.colorOnSurfaceHigh};
1395
+ background: ${Oi.headerBackground};
1396
+ color: ${Oi.colorOnSurfaceHigh};
1397
1397
  padding: .5rem 1rem;
1398
- font-family: ${xi.titleFont};
1398
+ font-family: ${Oi.titleFont};
1399
1399
  }
1400
1400
 
1401
1401
  .header-cell--sticky {
1402
1402
  top: 0;
1403
- z-index: ${xi.stickyHeaderZIndex};
1403
+ z-index: ${Oi.stickyHeaderZIndex};
1404
1404
  position: sticky;
1405
1405
  }
1406
1406
 
@@ -1418,8 +1418,8 @@ const Ke={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","",
1418
1418
  }
1419
1419
 
1420
1420
  .column-title-container ft-button {
1421
- ${e.setVariable(_e.backgroundColor,xi.headerBackground)};
1422
- ${e.setVariable(_e.color,xi.colorOnSurfaceHigh)};
1421
+ ${e.setVariable(_e.backgroundColor,Oi.headerBackground)};
1422
+ ${e.setVariable(_e.color,Oi.colorOnSurfaceHigh)};
1423
1423
  }
1424
1424
 
1425
1425
  .column-title {
@@ -1448,31 +1448,31 @@ const Ke={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","",
1448
1448
 
1449
1449
  .cell {
1450
1450
  padding: 1rem;
1451
- border-left-color: ${xi.headerBackground};
1451
+ border-left-color: ${Oi.headerBackground};
1452
1452
  border-left-style: solid;
1453
- border-left-width: ${xi.cellVerticalBorderWidth};
1454
- border-bottom: 1px solid ${xi.headerBackground};
1453
+ border-left-width: ${Oi.cellVerticalBorderWidth};
1454
+ border-bottom: 1px solid ${Oi.headerBackground};
1455
1455
  overflow-x: auto;
1456
1456
  display: flex;
1457
1457
  align-items: center;
1458
- font-family: ${xi.contentFont};
1458
+ font-family: ${Oi.contentFont};
1459
1459
  }
1460
1460
 
1461
1461
  /* Even is 2n+1 and odd is 2n because of the header */
1462
1462
  .row:nth-child(2n) > .cell {
1463
- background: ${xi.oddRowBackground};
1463
+ background: ${Oi.oddRowBackground};
1464
1464
  }
1465
1465
 
1466
1466
  .row:nth-child(2n + 1) > .cell {
1467
- background: ${xi.evenRowBackground};
1467
+ background: ${Oi.evenRowBackground};
1468
1468
  }
1469
1469
 
1470
1470
  .row:hover > .cell {
1471
- background: ${xi.rowHoverBackground};
1471
+ background: ${Oi.rowHoverBackground};
1472
1472
  }
1473
1473
 
1474
1474
  .cell:last-of-type {
1475
- border-right: 1px solid ${xi.headerBackground};
1475
+ border-right: 1px solid ${Oi.headerBackground};
1476
1476
  }
1477
1477
 
1478
1478
  .row:last-of-type .cell:first-of-type {
@@ -1486,7 +1486,7 @@ const Ke={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","",
1486
1486
  .hidden {
1487
1487
  visibility: hidden;
1488
1488
  }
1489
- `;var Oi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const $i=t=>o.html`${t}`,Ni=(t,e)=>t-e;class wi extends e.FtLitElement{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.filters=[],this.selectData=[]}init(t,e,o){this.data=t,this.columns=e,this.sort=o}render(){let t=this.sortData(this.filterData());return o.html`
1489
+ `;var Ni=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const wi=t=>o.html`${t}`,Si=(t,e)=>t-e;class Ci extends e.FtLitElement{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.filters=[],this.selectData=[]}init(t,e,o){this.data=t,this.columns=e,this.sort=o}render(){let t=this.sortData(this.filterData());return o.html`
1490
1490
  <style>
1491
1491
  .table {
1492
1492
  grid-template-columns: repeat(${this.columns.length}, minmax(min-content, auto));
@@ -1498,12 +1498,12 @@ const Ke={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","",
1498
1498
  </div>
1499
1499
  ${r.repeat(t,((t,e)=>"row-"+e),((t,e)=>o.html`
1500
1500
  <div class="row"
1501
- @click=${()=>this.dispatchEvent(new mi(t))}>
1501
+ @click=${()=>this.dispatchEvent(new vi(t))}>
1502
1502
  ${r.repeat(this.columns,((t,o)=>"cell-"+o+"-"+e),((o,i)=>this.renderCell(o,i,t,e)))}
1503
1503
  </div>
1504
1504
  `))}
1505
1505
  </div>
1506
- `}filterData(){return this.filters.reduce(((t,e,o)=>{var i;const r=this.columns[o];if(e&&e.value)switch(null!==(i=r.filter)&&void 0!==i?i:"text"){case"text":return t.filter((t=>this.getValueAsString(r,t,o).toLowerCase().includes(e.value.toLowerCase())));case"select":return t.filter((t=>this.getValueAsString(r,t,o)===e.value))}return t}),this.data)}sortData(t){var e;if(this.currentSort){const o=this.columns[this.currentSort.column],i=null!==(e=o.comparator)&&void 0!==e?e:Ni,r="asc"===this.currentSort.order?i:(t,e)=>-i(t,e);return[...t].sort(((t,e)=>r(this.getValue(o,t),this.getValue(o,e))))}return t}update(t){super.update(t),t.has("sort")&&(this.currentSort=this.sort),(t.has("data")||t.has("columns"))&&this.updateSelectData()}updateSelectData(){this.selectData=[];const t=this.data,e=this.columns;for(let o in e){const i=e[o];"select"===i.filter&&(this.selectData[o]=[...new Set(t.map(((t,e)=>this.getValueAsString(i,t,e))))].sort(((t,e)=>t.localeCompare(e))))}this.requestUpdate()}renderHeader(t,e){const i={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return o.html`
1506
+ `}filterData(){return this.filters.reduce(((t,e,o)=>{var i;const r=this.columns[o];if(e&&e.value)switch(null!==(i=r.filter)&&void 0!==i?i:"text"){case"text":return t.filter((t=>this.getValueAsString(r,t,o).toLowerCase().includes(e.value.toLowerCase())));case"select":return t.filter((t=>this.getValueAsString(r,t,o)===e.value))}return t}),this.data)}sortData(t){var e;if(this.currentSort){const o=this.columns[this.currentSort.column],i=null!==(e=o.comparator)&&void 0!==e?e:Si,r="asc"===this.currentSort.order?i:(t,e)=>-i(t,e);return[...t].sort(((t,e)=>r(this.getValue(o,t),this.getValue(o,e))))}return t}update(t){super.update(t),t.has("sort")&&(this.currentSort=this.sort),(t.has("data")||t.has("columns"))&&this.updateSelectData()}updateSelectData(){this.selectData=[];const t=this.data,e=this.columns;for(let o in e){const i=e[o];"select"===i.filter&&(this.selectData[o]=[...new Set(t.map(((t,e)=>this.getValueAsString(i,t,e))))].sort(((t,e)=>t.localeCompare(e))))}this.requestUpdate()}renderHeader(t,e){const i={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return o.html`
1507
1507
  <div class="${a.classMap(i)}"
1508
1508
  part="${this.columnPart("header-cell",e)}">
1509
1509
  <div class="column-title-container">
@@ -1545,9 +1545,9 @@ const Ke={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","",
1545
1545
  `))}
1546
1546
  </ft-select>
1547
1547
  </div>
1548
- `:o.nothing}return o.nothing}columnPart(t,e){return`${t} ${t}-column-${e}`}renderCell(t,e,i,r){var a;const l=null!==(a=t.render)&&void 0!==a?a:$i;return o.html`
1548
+ `:o.nothing}return o.nothing}columnPart(t,e){return`${t} ${t}-column-${e}`}renderCell(t,e,i,r){var a;const l=null!==(a=t.render)&&void 0!==a?a:wi;return o.html`
1549
1549
  <div class="cell"
1550
1550
  part="${this.columnPart("cell",e)} cell-row-${r} cell-column-${e}-row-${r}">
1551
1551
  ${(t=>{const e=l(t,r);return"string"==typeof e?n.unsafeHTML(e):e})(this.getValue(t,i))}
1552
1552
  </div>
1553
- `}getValue(t,e){return"string"==typeof t.getter?e[t.getter]:t.getter(e)}getValueAsString(t,e,o){const i=this.getValue(t,e);return"function"==typeof t.stringify?t.stringify(i,o):(t=>""+t)(i)}}wi.styles=vi,Oi([i.property({attribute:!1})],wi.prototype,"data",void 0),Oi([i.property({attribute:!1})],wi.prototype,"columns",void 0),Oi([i.property({attribute:!1})],wi.prototype,"sort",void 0),Oi([i.property()],wi.prototype,"stickyHeaders",void 0),Oi([i.state()],wi.prototype,"currentSort",void 0),e.customElement("ft-filterable-table")(wi),t.FtFilterableTable=wi,t.FtFilterableTableCssVariables=xi,t.RowClickEvent=mi,t.styles=vi}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litRepeat,ftGlobals.litUnsafeHTML,ftGlobals.litClassMap);
1553
+ `}getValue(t,e){return"string"==typeof t.getter?e[t.getter]:t.getter(e)}getValueAsString(t,e,o){const i=this.getValue(t,e);return"function"==typeof t.stringify?t.stringify(i,o):(t=>""+t)(i)}}Ci.styles=$i,Ni([i.property({attribute:!1})],Ci.prototype,"data",void 0),Ni([i.property({attribute:!1})],Ci.prototype,"columns",void 0),Ni([i.property({attribute:!1})],Ci.prototype,"sort",void 0),Ni([i.property()],Ci.prototype,"stickyHeaders",void 0),Ni([i.state()],Ci.prototype,"currentSort",void 0),e.customElement("ft-filterable-table")(Ci),t.FtFilterableTable=Ci,t.FtFilterableTableCssVariables=Oi,t.RowClickEvent=vi,t.styles=$i}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litRepeat,ftGlobals.litUnsafeHTML,ftGlobals.litClassMap);
@@ -1237,7 +1237,7 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
1237
1237
  }
1238
1238
 
1239
1239
  .ft-tooltip {
1240
- position: absolute;
1240
+ position: fixed;
1241
1241
  box-sizing: border-box;
1242
1242
  overflow: hidden;
1243
1243
  width: max-content;
@@ -1255,7 +1255,7 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
1255
1255
  position: relative;
1256
1256
  word-break: break-word;
1257
1257
  }
1258
- `,Lr=["start","end"],Wr=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Lr[0],e+"-"+Lr[1])),[]),zr=Math.min,Fr=Math.max,Zr=Math.round,Kr=t=>({x:t,y:t}),Dr={left:"right",right:"left",bottom:"top",top:"bottom"},Br={start:"end",end:"start"};function Ar(t,e,o){return Fr(t,zr(e,o))}function Mr(t,e){return"function"==typeof t?t(e):t}function Pr(t){return t.split("-")[0]}function Hr(t){return t.split("-")[1]}function jr(t){return"x"===t?"y":"x"}function Tr(t){return"y"===t?"height":"width"}function _r(t){return["top","bottom"].includes(Pr(t))?"y":"x"}function Gr(t){return jr(_r(t))}function Vr(t){return t.replace(/left|right|bottom|top/g,(t=>Dr[t]))}function Yr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Jr(t,e,o){let{reference:i,floating:r}=t;const n=_r(e),a=Gr(e),s=Tr(a),l=Pr(e),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,d=i[s]/2-r[s]/2;let h;switch(l){case"top":h={x:f,y:i.y-r.height};break;case"bottom":h={x:f,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:p};break;case"left":h={x:i.x-r.width,y:p};break;default:h={x:i.x,y:i.y}}switch(Hr(e)){case"start":h[a]-=d*(o&&c?-1:1);break;case"end":h[a]+=d*(o&&c?-1:1)}return h}async function qr(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=Mr(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),y=s[d?"floating"===p?"reference":"floating":p],g=Yr(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=Yr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function Xr(t,e,o){return(t?[...o.filter((e=>Hr(e)===t)),...o.filter((e=>Hr(e)!==t))]:o.filter((t=>Pr(t)===t))).filter((o=>!t||(Hr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Br[t]))}(o)!==o)))}const Qr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:d=Wr,autoAlignment:h=!0,...u}=Mr(t,e),y=void 0!==p||d===Wr?Xr(p||null,h,d):d,g=await qr(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=Hr(t),r=Gr(t),n=Tr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Vr(a)),[a,Vr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[Pr(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Hr(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),$=S.filter((t=>t[2].slice(0,Hr(t[0])?2:3).every((t=>t<=0)))),N=(null==(r=$[0])?void 0:r[0])||S[0][0];return N!==s?{data:{index:b+1,overflows:O},reset:{placement:N}}:{}}}};function tn(t){return rn(t)?(t.nodeName||"").toLowerCase():"#document"}function en(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function on(t){var e;return null==(e=(rn(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function rn(t){return t instanceof Node||t instanceof en(t).Node}function nn(t){return t instanceof Element||t instanceof en(t).Element}function an(t){return t instanceof HTMLElement||t instanceof en(t).HTMLElement}function sn(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof en(t).ShadowRoot)}function ln(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=hn(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function cn(t){return["table","td","th"].includes(tn(t))}function fn(t){const e=pn(),o=hn(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function pn(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function dn(t){return["html","body","#document"].includes(tn(t))}function hn(t){return en(t).getComputedStyle(t)}function un(t){return nn(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function yn(t){if("html"===tn(t))return t;const e=t.assignedSlot||t.parentNode||sn(t)&&t.host||on(t);return sn(e)?e.host:e}function gn(t){const e=yn(t);return dn(e)?t.ownerDocument?t.ownerDocument.body:t.body:an(e)&&ln(e)?e:gn(e)}function bn(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=gn(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=en(r);return n?e.concat(a,a.visualViewport||[],ln(r)?r:[],a.frameElement&&o?bn(a.frameElement):[]):e.concat(r,bn(r,[],o))}function mn(t){const e=hn(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=an(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Zr(o)!==n||Zr(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function xn(t){return nn(t)?t:t.contextElement}function vn(t){const e=xn(t);if(!an(e))return Kr(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=mn(e);let a=(n?Zr(o.width):o.width)/i,s=(n?Zr(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const On=Kr(0);function wn(t){const e=en(t);return pn()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:On}function Sn(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=xn(t);let a=Kr(1);e&&(i?nn(i)&&(a=vn(i)):a=vn(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==en(t))&&e}(n,o,i)?wn(n):Kr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=en(n),e=i&&nn(i)?en(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=vn(o),e=o.getBoundingClientRect(),i=hn(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=r,c+=n,o=en(o).frameElement}}return Yr({width:f,height:p,x:l,y:c})}function $n(t){return Sn(on(t)).left+un(t).scrollLeft}function Nn(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=en(t),i=on(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=pn();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=on(t),o=un(t),i=t.ownerDocument.body,r=Fr(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Fr(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+$n(t);const s=-o.scrollTop;return"rtl"===hn(i).direction&&(a+=Fr(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(on(t));else if(nn(e))i=function(t,e){const o=Sn(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=an(t)?vn(t):Kr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=wn(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Yr(i)}function Cn(t,e){const o=yn(t);return!(o===e||!nn(o)||dn(o))&&("fixed"===hn(o).position||Cn(o,e))}function En(t,e,o){const i=an(e),r=on(e),n="fixed"===o,a=Sn(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Kr(0);if(i||!i&&!n)if(("body"!==tn(e)||ln(r))&&(s=un(e)),i){const t=Sn(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=$n(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function kn(t,e){return an(t)&&"fixed"!==hn(t).position?e?e(t):t.offsetParent:null}function Rn(t,e){const o=en(t);if(!an(t))return o;let i=kn(t,e);for(;i&&cn(i)&&"static"===hn(i).position;)i=kn(i,e);return i&&("html"===tn(i)||"body"===tn(i)&&"static"===hn(i).position&&!fn(i))?o:i||function(t){let e=yn(t);for(;an(e)&&!dn(e);){if(fn(e))return e;e=yn(e)}return null}(t)||o}const Un={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=an(o),n=on(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Kr(1);const l=Kr(0);if((r||!r&&"fixed"!==i)&&(("body"!==tn(o)||ln(n))&&(a=un(o)),an(o))){const t=Sn(o);s=vn(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:on,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=bn(t,[],!1).filter((t=>nn(t)&&"body"!==tn(t))),r=null;const n="fixed"===hn(t).position;let a=n?yn(t):t;for(;nn(a)&&!dn(a);){const e=hn(a),o=fn(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||ln(a)&&!o&&Cn(t,a))?i=i.filter((t=>t!==a)):r=e,a=yn(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=Nn(e,o,r);return t.top=Fr(i.top,t.top),t.right=zr(i.right,t.right),t.bottom=zr(i.bottom,t.bottom),t.left=Fr(i.left,t.left),t}),Nn(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Rn,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Rn,n=this.getDimensions;return{reference:En(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return mn(t)},getScale:vn,isElement:nn,isRTL:function(t){return"rtl"===hn(t).direction}},In=(t,e,o)=>{const i=new Map,r={platform:Un,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:p}=Jr(c,i,l),d=i,h={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:f,y:p,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:f,y:p}=Jr(c,d,l))),o=-1)}return{x:f,y:p,placement:d,strategy:r,middlewareData:h}})(t,e,{...r,platform:n})};var Ln=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Wn extends Be{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new U,this.revealDebouncer=new U}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ne`
1258
+ `,Lr=["start","end"],Wr=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Lr[0],e+"-"+Lr[1])),[]),zr=Math.min,Fr=Math.max,Zr=Math.round,Kr=t=>({x:t,y:t}),Dr={left:"right",right:"left",bottom:"top",top:"bottom"},Br={start:"end",end:"start"};function Ar(t,e,o){return Fr(t,zr(e,o))}function Mr(t,e){return"function"==typeof t?t(e):t}function Pr(t){return t.split("-")[0]}function Hr(t){return t.split("-")[1]}function jr(t){return"x"===t?"y":"x"}function Tr(t){return"y"===t?"height":"width"}function _r(t){return["top","bottom"].includes(Pr(t))?"y":"x"}function Gr(t){return jr(_r(t))}function Vr(t){return t.replace(/left|right|bottom|top/g,(t=>Dr[t]))}function Yr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Jr(t,e,o){let{reference:i,floating:r}=t;const n=_r(e),a=Gr(e),s=Tr(a),l=Pr(e),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,d=i[s]/2-r[s]/2;let h;switch(l){case"top":h={x:f,y:i.y-r.height};break;case"bottom":h={x:f,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:p};break;case"left":h={x:i.x-r.width,y:p};break;default:h={x:i.x,y:i.y}}switch(Hr(e)){case"start":h[a]-=d*(o&&c?-1:1);break;case"end":h[a]+=d*(o&&c?-1:1)}return h}async function qr(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=Mr(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),y=s[d?"floating"===p?"reference":"floating":p],g=Yr(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=Yr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function Xr(t,e,o){return(t?[...o.filter((e=>Hr(e)===t)),...o.filter((e=>Hr(e)!==t))]:o.filter((t=>Pr(t)===t))).filter((o=>!t||(Hr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Br[t]))}(o)!==o)))}const Qr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:d=Wr,autoAlignment:h=!0,...u}=Mr(t,e),y=void 0!==p||d===Wr?Xr(p||null,h,d):d,g=await qr(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=Hr(t),r=Gr(t),n=Tr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Vr(a)),[a,Vr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[Pr(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Hr(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),$=S.filter((t=>t[2].slice(0,Hr(t[0])?2:3).every((t=>t<=0)))),N=(null==(r=$[0])?void 0:r[0])||S[0][0];return N!==s?{data:{index:b+1,overflows:O},reset:{placement:N}}:{}}}};function tn(t){return rn(t)?(t.nodeName||"").toLowerCase():"#document"}function en(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function on(t){var e;return null==(e=(rn(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function rn(t){return t instanceof Node||t instanceof en(t).Node}function nn(t){return t instanceof Element||t instanceof en(t).Element}function an(t){return t instanceof HTMLElement||t instanceof en(t).HTMLElement}function sn(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof en(t).ShadowRoot)}function ln(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=hn(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function cn(t){return["table","td","th"].includes(tn(t))}function fn(t){const e=pn(),o=hn(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function pn(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function dn(t){return["html","body","#document"].includes(tn(t))}function hn(t){return en(t).getComputedStyle(t)}function un(t){return nn(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function yn(t){if("html"===tn(t))return t;const e=t.assignedSlot||t.parentNode||sn(t)&&t.host||on(t);return sn(e)?e.host:e}function gn(t){const e=yn(t);return dn(e)?t.ownerDocument?t.ownerDocument.body:t.body:an(e)&&ln(e)?e:gn(e)}function bn(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=gn(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=en(r);return n?e.concat(a,a.visualViewport||[],ln(r)?r:[],a.frameElement&&o?bn(a.frameElement):[]):e.concat(r,bn(r,[],o))}function mn(t){const e=hn(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=an(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Zr(o)!==n||Zr(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function xn(t){return nn(t)?t:t.contextElement}function vn(t){const e=xn(t);if(!an(e))return Kr(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=mn(e);let a=(n?Zr(o.width):o.width)/i,s=(n?Zr(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const On=Kr(0);function wn(t){const e=en(t);return pn()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:On}function Sn(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=xn(t);let a=Kr(1);e&&(i?nn(i)&&(a=vn(i)):a=vn(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==en(t))&&e}(n,o,i)?wn(n):Kr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=en(n),e=i&&nn(i)?en(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=vn(o),e=o.getBoundingClientRect(),i=hn(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=r,c+=n,o=en(o).frameElement}}return Yr({width:f,height:p,x:l,y:c})}function $n(t){return Sn(on(t)).left+un(t).scrollLeft}function Nn(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=en(t),i=on(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=pn();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=on(t),o=un(t),i=t.ownerDocument.body,r=Fr(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Fr(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+$n(t);const s=-o.scrollTop;return"rtl"===hn(i).direction&&(a+=Fr(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(on(t));else if(nn(e))i=function(t,e){const o=Sn(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=an(t)?vn(t):Kr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=wn(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Yr(i)}function Cn(t,e){const o=yn(t);return!(o===e||!nn(o)||dn(o))&&("fixed"===hn(o).position||Cn(o,e))}function En(t,e,o){const i=an(e),r=on(e),n="fixed"===o,a=Sn(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Kr(0);if(i||!i&&!n)if(("body"!==tn(e)||ln(r))&&(s=un(e)),i){const t=Sn(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=$n(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function kn(t,e){return an(t)&&"fixed"!==hn(t).position?e?e(t):t.offsetParent:null}function Rn(t,e){const o=en(t);if(!an(t))return o;let i=kn(t,e);for(;i&&cn(i)&&"static"===hn(i).position;)i=kn(i,e);return i&&("html"===tn(i)||"body"===tn(i)&&"static"===hn(i).position&&!fn(i))?o:i||function(t){let e=yn(t);for(;an(e)&&!dn(e);){if(fn(e))return e;e=yn(e)}return null}(t)||o}const Un={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=an(o),n=on(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Kr(1);const l=Kr(0);if((r||!r&&"fixed"!==i)&&(("body"!==tn(o)||ln(n))&&(a=un(o)),an(o))){const t=Sn(o);s=vn(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:on,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=bn(t,[],!1).filter((t=>nn(t)&&"body"!==tn(t))),r=null;const n="fixed"===hn(t).position;let a=n?yn(t):t;for(;nn(a)&&!dn(a);){const e=hn(a),o=fn(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||ln(a)&&!o&&Cn(t,a))?i=i.filter((t=>t!==a)):r=e,a=yn(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=Nn(e,o,r);return t.top=Fr(i.top,t.top),t.right=zr(i.right,t.right),t.bottom=zr(i.bottom,t.bottom),t.left=Fr(i.left,t.left),t}),Nn(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Rn,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Rn,n=this.getDimensions;return{reference:En(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return mn(t)},getScale:vn,isElement:nn,isRTL:function(t){return"rtl"===hn(t).direction}},In=(t,e,o)=>{const i=new Map,r={platform:Un,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:p}=Jr(c,i,l),d=i,h={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:f,y:p,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:f,y:p}=Jr(c,d,l))),o=-1)}return{x:f,y:p,placement:d,strategy:r,middlewareData:h}})(t,e,{...r,platform:n})};function Ln(t){return function(t){for(let e=t;e;e=Wn(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Wn(t);e;e=Wn(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Wn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var zn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Fn extends Be{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new U,this.revealDebouncer=new U}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ne`
1259
1259
  <div part="container"
1260
1260
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
1261
1261
  @mouseenter=${this.onHover}
@@ -1263,7 +1263,7 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
1263
1263
  @focusin=${this.onHover}
1264
1264
  @focusout=${this.onOut}
1265
1265
  @touchstart=${this.onTouch}>
1266
- <slot></slot>
1266
+ <slot part="slot"></slot>
1267
1267
  <div part="tooltip" role="tooltip" inert
1268
1268
  class="ft-tooltip ft-tooltip--${this.validPosition}"
1269
1269
  ?hidden=${!this.visible}>
@@ -1273,14 +1273,14 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
1273
1273
  </div>
1274
1274
  </div>
1275
1275
  </div>
1276
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",In(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Mr(t,e),c={x:o,y:i},f=await qr(e,l),p=_r(Pr(r)),d=jr(p);let h=c[d],u=c[p];if(n){const t="y"===d?"bottom":"right";h=Ar(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";u=Ar(u+f["y"===p?"top":"left"],u,u-f[t])}const y=s.fn({...e,[d]:h,[p]:u});return{...y,data:{x:y.x-o,y:y.y-i}}}}),Qr({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Wn.elementDefinitions={"ft-typography":Li},Wn.styles=Ir,Ln([$()],Wn.prototype,"text",void 0),Ln([$({type:Boolean})],Wn.prototype,"manual",void 0),Ln([$({type:Boolean})],Wn.prototype,"inline",void 0),Ln([$({type:Number})],Wn.prototype,"delay",void 0),Ln([$()],Wn.prototype,"position",void 0),Ln([R()],Wn.prototype,"slotNodes",void 0),Ln([k(".ft-tooltip--container")],Wn.prototype,"container",void 0),Ln([k(".ft-tooltip")],Wn.prototype,"tooltip",void 0),Ln([k(".ft-tooltip--content")],Wn.prototype,"tooltipContent",void 0),Ln([N()],Wn.prototype,"visible",void 0),Ln([C({passive:!0})],Wn.prototype,"onTouch",null),Ln([C({passive:!0})],Wn.prototype,"onHover",null),Ln([C({passive:!0})],Wn.prototype,"onOut",null),L("ft-tooltip")(Wn);class zn extends Be{render(){return ne`
1276
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",In(this.slottedElement,this.tooltip,{platform:{...Un,getOffsetParent:t=>Un.getOffsetParent(t,Ln)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Mr(t,e),c={x:o,y:i},f=await qr(e,l),p=_r(Pr(r)),d=jr(p);let h=c[d],u=c[p];if(n){const t="y"===d?"bottom":"right";h=Ar(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";u=Ar(u+f["y"===p?"top":"left"],u,u-f[t])}const y=s.fn({...e,[d]:h,[p]:u});return{...y,data:{x:y.x-o,y:y.y-i}}}}),Qr({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Fn.elementDefinitions={"ft-typography":Li},Fn.styles=Ir,zn([$()],Fn.prototype,"text",void 0),zn([$({type:Boolean})],Fn.prototype,"manual",void 0),zn([$({type:Boolean})],Fn.prototype,"inline",void 0),zn([$({type:Number})],Fn.prototype,"delay",void 0),zn([$()],Fn.prototype,"position",void 0),zn([R()],Fn.prototype,"slotNodes",void 0),zn([k(".ft-tooltip--container")],Fn.prototype,"container",void 0),zn([k(".ft-tooltip")],Fn.prototype,"tooltip",void 0),zn([k(".ft-tooltip--content")],Fn.prototype,"tooltipContent",void 0),zn([N()],Fn.prototype,"visible",void 0),zn([C({passive:!0})],Fn.prototype,"onTouch",null),zn([C({passive:!0})],Fn.prototype,"onHover",null),zn([C({passive:!0})],Fn.prototype,"onOut",null),L("ft-tooltip")(Fn);class Zn extends Be{render(){return ne`
1277
1277
  <div class="ft-loader">
1278
1278
  <div></div>
1279
1279
  <div></div>
1280
1280
  <div></div>
1281
1281
  <div></div>
1282
1282
  </div>
1283
- `}}zn.styles=yr,L("ft-loader")(zn);var Fn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Zn extends(Xe(Be,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(ne`
1283
+ `}}Zn.styles=yr,L("ft-loader")(Zn);var Kn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Dn extends(Xe(Be,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(ne`
1284
1284
  <button part="button"
1285
1285
  class="${mo(this.buttonClasses)}"
1286
1286
  aria-label="${this.getLabel()}"
@@ -1303,7 +1303,7 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
1303
1303
  </ft-tooltip>
1304
1304
  `:t}resolveIcon(){return this.loading?ne`
1305
1305
  <ft-loader part="loader icon"></ft-loader> `:this.icon?ne`
1306
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:se}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Zn.elementDefinitions={"ft-ripple":Yi,"ft-tooltip":Wn,"ft-typography":Li,"ft-icon":tr,"ft-loader":zn},Fn([$({type:String,reflect:!0})],Zn.prototype,"role",void 0),Fn([$()],Zn.prototype,"type",void 0),Fn([$({type:Boolean})],Zn.prototype,"disabled",void 0),Fn([$()],Zn.prototype,"label",void 0),Fn([$()],Zn.prototype,"icon",void 0),Fn([$()],Zn.prototype,"iconVariant",void 0),Fn([$({type:Boolean})],Zn.prototype,"trailingIcon",void 0),Fn([$({type:Boolean})],Zn.prototype,"loading",void 0),Fn([$()],Zn.prototype,"tooltipPosition",void 0),Fn([$({type:Boolean})],Zn.prototype,"hideTooltip",void 0),Fn([$({type:Boolean})],Zn.prototype,"forceTooltip",void 0),Fn([k(".ft-button")],Zn.prototype,"button",void 0),Fn([k(".ft-button--label slot")],Zn.prototype,"slottedContent",void 0);var Kn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Dn extends Zn{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"}}Dn.styles=[Pe,$r],Kn([$({type:Boolean})],Dn.prototype,"primary",void 0),Kn([$({type:Boolean})],Dn.prototype,"outlined",void 0),Kn([$({type:Boolean})],Dn.prototype,"dense",void 0),Kn([$({type:Boolean})],Dn.prototype,"round",void 0);const Bn=[St`
1306
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:se}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Dn.elementDefinitions={"ft-ripple":Yi,"ft-tooltip":Fn,"ft-typography":Li,"ft-icon":tr,"ft-loader":Zn},Kn([$({type:String,reflect:!0})],Dn.prototype,"role",void 0),Kn([$()],Dn.prototype,"type",void 0),Kn([$({type:Boolean})],Dn.prototype,"disabled",void 0),Kn([$()],Dn.prototype,"label",void 0),Kn([$()],Dn.prototype,"icon",void 0),Kn([$()],Dn.prototype,"iconVariant",void 0),Kn([$({type:Boolean})],Dn.prototype,"trailingIcon",void 0),Kn([$({type:Boolean})],Dn.prototype,"loading",void 0),Kn([$()],Dn.prototype,"tooltipPosition",void 0),Kn([$({type:Boolean})],Dn.prototype,"hideTooltip",void 0),Kn([$({type:Boolean})],Dn.prototype,"forceTooltip",void 0),Kn([k(".ft-button")],Dn.prototype,"button",void 0),Kn([k(".ft-button--label slot")],Dn.prototype,"slottedContent",void 0);var Bn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class An extends Dn{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}An.styles=[Pe,$r],Bn([$({type:Boolean})],An.prototype,"primary",void 0),Bn([$({type:Boolean})],An.prototype,"outlined",void 0),Bn([$({type:Boolean})],An.prototype,"dense",void 0),Bn([$({type:Boolean})],An.prototype,"round",void 0);const Mn=[St`
1307
1307
  :host {
1308
1308
  display: inline-block;
1309
1309
  max-width: 100%;
@@ -1521,7 +1521,7 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
1521
1521
  width: ${Re.smallIconOnlyWidth};
1522
1522
  padding: unset;
1523
1523
  }
1524
- `,Me];var An=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Mn extends Zn{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?$o.caption1medium:$o.body2medium}}Mn.styles=[Pe,Bn],An([$({type:Boolean})],Mn.prototype,"primary",void 0),An([$({type:Boolean})],Mn.prototype,"secondary",void 0),An([$({type:Boolean})],Mn.prototype,"tertiary",void 0),An([$({type:Boolean})],Mn.prototype,"neutral",void 0),An([$({type:Boolean})],Mn.prototype,"small",void 0),L("ft-button")(Dn),L("ftds-button")(Mn);class Pn extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const Hn={headerBackground:$e.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:$e.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:$e.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:$e.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:$e.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","100"),cellVerticalBorderWidth:$e.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),colorOnSurfaceHigh:$e.external(Ue.colorOnSurfaceHigh,"Design system"),titleFont:$e.external(Ue.titleFont,"Design system"),contentFont:$e.external(Ue.contentFont,"Design system")},jn=St`
1524
+ `,Me];var Pn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Hn extends Dn{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?$o.caption1medium:$o.body2medium}}Hn.styles=[Pe,Mn],Pn([$({type:Boolean})],Hn.prototype,"primary",void 0),Pn([$({type:Boolean})],Hn.prototype,"secondary",void 0),Pn([$({type:Boolean})],Hn.prototype,"tertiary",void 0),Pn([$({type:Boolean})],Hn.prototype,"neutral",void 0),Pn([$({type:Boolean})],Hn.prototype,"small",void 0),L("ft-button")(An),L("ftds-button")(Hn);class jn extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const Tn={headerBackground:$e.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:$e.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:$e.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:$e.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:$e.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","100"),cellVerticalBorderWidth:$e.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),colorOnSurfaceHigh:$e.external(Ue.colorOnSurfaceHigh,"Design system"),titleFont:$e.external(Ue.titleFont,"Design system"),contentFont:$e.external(Ue.contentFont,"Design system")},_n=St`
1525
1525
  :host {
1526
1526
  display: block;
1527
1527
  }
@@ -1537,15 +1537,15 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
1537
1537
  .header-cell {
1538
1538
  display: flex;
1539
1539
  flex-direction: column;
1540
- background: ${Hn.headerBackground};
1541
- color: ${Hn.colorOnSurfaceHigh};
1540
+ background: ${Tn.headerBackground};
1541
+ color: ${Tn.colorOnSurfaceHigh};
1542
1542
  padding: .5rem 1rem;
1543
- font-family: ${Hn.titleFont};
1543
+ font-family: ${Tn.titleFont};
1544
1544
  }
1545
1545
 
1546
1546
  .header-cell--sticky {
1547
1547
  top: 0;
1548
- z-index: ${Hn.stickyHeaderZIndex};
1548
+ z-index: ${Tn.stickyHeaderZIndex};
1549
1549
  position: sticky;
1550
1550
  }
1551
1551
 
@@ -1563,8 +1563,8 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
1563
1563
  }
1564
1564
 
1565
1565
  .column-title-container ft-button {
1566
- ${Ne(br.backgroundColor,Hn.headerBackground)};
1567
- ${Ne(br.color,Hn.colorOnSurfaceHigh)};
1566
+ ${Ne(br.backgroundColor,Tn.headerBackground)};
1567
+ ${Ne(br.color,Tn.colorOnSurfaceHigh)};
1568
1568
  }
1569
1569
 
1570
1570
  .column-title {
@@ -1593,31 +1593,31 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
1593
1593
 
1594
1594
  .cell {
1595
1595
  padding: 1rem;
1596
- border-left-color: ${Hn.headerBackground};
1596
+ border-left-color: ${Tn.headerBackground};
1597
1597
  border-left-style: solid;
1598
- border-left-width: ${Hn.cellVerticalBorderWidth};
1599
- border-bottom: 1px solid ${Hn.headerBackground};
1598
+ border-left-width: ${Tn.cellVerticalBorderWidth};
1599
+ border-bottom: 1px solid ${Tn.headerBackground};
1600
1600
  overflow-x: auto;
1601
1601
  display: flex;
1602
1602
  align-items: center;
1603
- font-family: ${Hn.contentFont};
1603
+ font-family: ${Tn.contentFont};
1604
1604
  }
1605
1605
 
1606
1606
  /* Even is 2n+1 and odd is 2n because of the header */
1607
1607
  .row:nth-child(2n) > .cell {
1608
- background: ${Hn.oddRowBackground};
1608
+ background: ${Tn.oddRowBackground};
1609
1609
  }
1610
1610
 
1611
1611
  .row:nth-child(2n + 1) > .cell {
1612
- background: ${Hn.evenRowBackground};
1612
+ background: ${Tn.evenRowBackground};
1613
1613
  }
1614
1614
 
1615
1615
  .row:hover > .cell {
1616
- background: ${Hn.rowHoverBackground};
1616
+ background: ${Tn.rowHoverBackground};
1617
1617
  }
1618
1618
 
1619
1619
  .cell:last-of-type {
1620
- border-right: 1px solid ${Hn.headerBackground};
1620
+ border-right: 1px solid ${Tn.headerBackground};
1621
1621
  }
1622
1622
 
1623
1623
  .row:last-of-type .cell:first-of-type {
@@ -1631,7 +1631,7 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
1631
1631
  .hidden {
1632
1632
  visibility: hidden;
1633
1633
  }
1634
- `;var Tn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const _n=t=>ne`${t}`,Gn=(t,e)=>t-e;class Vn extends Be{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.filters=[],this.selectData=[]}init(t,e,o){this.data=t,this.columns=e,this.sort=o}render(){let t=this.sortData(this.filterData());return ne`
1634
+ `;var Gn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Vn=t=>ne`${t}`,Yn=(t,e)=>t-e;class Jn extends Be{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.filters=[],this.selectData=[]}init(t,e,o){this.data=t,this.columns=e,this.sort=o}render(){let t=this.sortData(this.filterData());return ne`
1635
1635
  <style>
1636
1636
  .table {
1637
1637
  grid-template-columns: repeat(${this.columns.length}, minmax(min-content, auto));
@@ -1643,12 +1643,12 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
1643
1643
  </div>
1644
1644
  ${yo(t,((t,e)=>"row-"+e),((t,e)=>ne`
1645
1645
  <div class="row"
1646
- @click=${()=>this.dispatchEvent(new Pn(t))}>
1646
+ @click=${()=>this.dispatchEvent(new jn(t))}>
1647
1647
  ${yo(this.columns,((t,o)=>"cell-"+o+"-"+e),((o,i)=>this.renderCell(o,i,t,e)))}
1648
1648
  </div>
1649
1649
  `))}
1650
1650
  </div>
1651
- `}filterData(){return this.filters.reduce(((t,e,o)=>{var i;const r=this.columns[o];if(e&&e.value)switch(null!==(i=r.filter)&&void 0!==i?i:"text"){case"text":return t.filter((t=>this.getValueAsString(r,t,o).toLowerCase().includes(e.value.toLowerCase())));case"select":return t.filter((t=>this.getValueAsString(r,t,o)===e.value))}return t}),this.data)}sortData(t){var e;if(this.currentSort){const o=this.columns[this.currentSort.column],i=null!==(e=o.comparator)&&void 0!==e?e:Gn,r="asc"===this.currentSort.order?i:(t,e)=>-i(t,e);return[...t].sort(((t,e)=>r(this.getValue(o,t),this.getValue(o,e))))}return t}update(t){super.update(t),t.has("sort")&&(this.currentSort=this.sort),(t.has("data")||t.has("columns"))&&this.updateSelectData()}updateSelectData(){this.selectData=[];const t=this.data,e=this.columns;for(let o in e){const i=e[o];"select"===i.filter&&(this.selectData[o]=[...new Set(t.map(((t,e)=>this.getValueAsString(i,t,e))))].sort(((t,e)=>t.localeCompare(e))))}this.requestUpdate()}renderHeader(t,e){const o={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return ne`
1651
+ `}filterData(){return this.filters.reduce(((t,e,o)=>{var i;const r=this.columns[o];if(e&&e.value)switch(null!==(i=r.filter)&&void 0!==i?i:"text"){case"text":return t.filter((t=>this.getValueAsString(r,t,o).toLowerCase().includes(e.value.toLowerCase())));case"select":return t.filter((t=>this.getValueAsString(r,t,o)===e.value))}return t}),this.data)}sortData(t){var e;if(this.currentSort){const o=this.columns[this.currentSort.column],i=null!==(e=o.comparator)&&void 0!==e?e:Yn,r="asc"===this.currentSort.order?i:(t,e)=>-i(t,e);return[...t].sort(((t,e)=>r(this.getValue(o,t),this.getValue(o,e))))}return t}update(t){super.update(t),t.has("sort")&&(this.currentSort=this.sort),(t.has("data")||t.has("columns"))&&this.updateSelectData()}updateSelectData(){this.selectData=[];const t=this.data,e=this.columns;for(let o in e){const i=e[o];"select"===i.filter&&(this.selectData[o]=[...new Set(t.map(((t,e)=>this.getValueAsString(i,t,e))))].sort(((t,e)=>t.localeCompare(e))))}this.requestUpdate()}renderHeader(t,e){const o={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return ne`
1652
1652
  <div class="${mo(o)}"
1653
1653
  part="${this.columnPart("header-cell",e)}">
1654
1654
  <div class="column-title-container">
@@ -1690,9 +1690,9 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
1690
1690
  `))}
1691
1691
  </ft-select>
1692
1692
  </div>
1693
- `:se}return se}columnPart(t,e){return`${t} ${t}-column-${e}`}renderCell(t,e,o,i){var r;const n=null!==(r=t.render)&&void 0!==r?r:_n;return ne`
1693
+ `:se}return se}columnPart(t,e){return`${t} ${t}-column-${e}`}renderCell(t,e,o,i){var r;const n=null!==(r=t.render)&&void 0!==r?r:Vn;return ne`
1694
1694
  <div class="cell"
1695
1695
  part="${this.columnPart("cell",e)} cell-row-${i} cell-column-${e}-row-${i}">
1696
1696
  ${(t=>{const e=n(t,i);return"string"==typeof e?bo(e):e})(this.getValue(t,o))}
1697
1697
  </div>
1698
- `}getValue(t,e){return"string"==typeof t.getter?e[t.getter]:t.getter(e)}getValueAsString(t,e,o){const i=this.getValue(t,e);return"function"==typeof t.stringify?t.stringify(i,o):(t=>""+t)(i)}}Vn.styles=jn,Tn([$({attribute:!1})],Vn.prototype,"data",void 0),Tn([$({attribute:!1})],Vn.prototype,"columns",void 0),Tn([$({attribute:!1})],Vn.prototype,"sort",void 0),Tn([$()],Vn.prototype,"stickyHeaders",void 0),Tn([N()],Vn.prototype,"currentSort",void 0),L("ft-filterable-table")(Vn),t.FtFilterableTable=Vn,t.FtFilterableTableCssVariables=Hn,t.RowClickEvent=Pn,t.styles=jn}({});
1698
+ `}getValue(t,e){return"string"==typeof t.getter?e[t.getter]:t.getter(e)}getValueAsString(t,e,o){const i=this.getValue(t,e);return"function"==typeof t.stringify?t.stringify(i,o):(t=>""+t)(i)}}Jn.styles=_n,Gn([$({attribute:!1})],Jn.prototype,"data",void 0),Gn([$({attribute:!1})],Jn.prototype,"columns",void 0),Gn([$({attribute:!1})],Jn.prototype,"sort",void 0),Gn([$()],Jn.prototype,"stickyHeaders",void 0),Gn([N()],Jn.prototype,"currentSort",void 0),L("ft-filterable-table")(Jn),t.FtFilterableTable=Jn,t.FtFilterableTableCssVariables=Tn,t.RowClickEvent=jn,t.styles=_n}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-filterable-table",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "description": "A dynamic table with filters",
5
5
  "keywords": [
6
6
  "Lit"
@@ -22,11 +22,11 @@
22
22
  "test": "echo \"Error: run tests from root\" && exit 1"
23
23
  },
24
24
  "dependencies": {
25
- "@fluid-topics/ft-button": "1.1.9",
26
- "@fluid-topics/ft-select": "1.1.9",
27
- "@fluid-topics/ft-text-field": "1.1.9",
28
- "@fluid-topics/ft-wc-utils": "1.1.9",
25
+ "@fluid-topics/ft-button": "1.1.10",
26
+ "@fluid-topics/ft-select": "1.1.10",
27
+ "@fluid-topics/ft-text-field": "1.1.10",
28
+ "@fluid-topics/ft-wc-utils": "1.1.10",
29
29
  "lit": "3.1.0"
30
30
  },
31
- "gitHead": "260010bbe1de163e812ed46e15cd25b7008f2f87"
31
+ "gitHead": "dd861ad18248198f16fe78602cb5d72049c15ec2"
32
32
  }