@fluid-topics/ft-search-locale-selector 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- !function(t,o,e,i,r,a,n){const l={distance:o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),maxWidth:o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},s=e.css`
1
+ !function(t,o,e,i,r,n,a){const l={distance:o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),maxWidth:o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},s=e.css`
2
2
  .ft-tooltip--container {
3
3
  display: block;
4
4
  }
@@ -27,14 +27,14 @@
27
27
  position: relative;
28
28
  word-break: break-word;
29
29
  }
30
- `,c=t=>"string"==typeof t?e.unsafeCSS(t):t;class p{static create(t,o,i,r){const a=t=>c(null!=t?t:r),n=e.css`var(${c(t)}, ${a(r)})`;return n.name=t,n.description=o,n.category=i,n.defaultValue=r,n.defaultCssValue=a,n.get=o=>e.css`var(${c(t)}, ${a(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,i,r){const a=t=>i.get(null!=t?t:r),n=e.css`var(${c(t)}, ${a(r)})`;return n.name=t,n.description=o,n.category=i.category,n.fallbackVariable=i,n.defaultValue=r,n.defaultCssValue=a,n.get=o=>e.css`var(${c(t)}, ${a(o)})`,n.breadcrumb=()=>[i.name,...i.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),n}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):c(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${c(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=i,r.get=o=>e.css`var(${c(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const f={colorWhite:p.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:p.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:p.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:p.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:p.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:p.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:p.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:p.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:p.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:p.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:p.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:p.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:p.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:p.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:p.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:p.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:p.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:p.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:p.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:p.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:p.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:p.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:p.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:p.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:p.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:p.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:p.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:p.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:p.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:p.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:p.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:p.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:p.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:p.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:p.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:p.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:p.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:p.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:p.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:p.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:p.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:p.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:p.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:p.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:p.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:p.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:p.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:p.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:p.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:p.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:p.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:p.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:p.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:p.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:p.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:p.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:p.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:p.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:p.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:p.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:p.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:p.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:p.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:p.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:p.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:p.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:p.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:p.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:p.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:p.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:p.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:p.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:p.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:p.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:p.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:p.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:p.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:p.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:p.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:p.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:p.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:p.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:p.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:p.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:p.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:p.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:p.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:p.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:p.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:p.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:p.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:p.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:p.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:p.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:p.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:p.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:p.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:p.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:p.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:p.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:p.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:p.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:p.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:p.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:p.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:p.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:p.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:p.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:p.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:p.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:p.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:p.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:p.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:p.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:p.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:p.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:p.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:p.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:p.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:p.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:p.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:p.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:p.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:p.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:p.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:p.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:p.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:p.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:p.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:p.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:p.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:p.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:p.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:p.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:p.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:p.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:p.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:p.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:p.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:p.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:p.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:p.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:p.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:p.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:p.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:p.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:p.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:p.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:p.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:p.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:p.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:p.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:p.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:p.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:p.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:p.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:p.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:p.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:p.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:p.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:p.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:p.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:p.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:p.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:p.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:p.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:p.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:p.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:p.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:p.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:p.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:p.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:p.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:p.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:p.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:p.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:p.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:p.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:p.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:p.create("--ft-icon-size-6","","SIZE","48px"),opacity0:p.create("--ft-opacity-0","","NUMBER","0"),opacity8:p.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:p.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:p.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:p.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:p.create("--ft-opacity-80","","NUMBER","0.8")},h={display:{fontFamily:p.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:p.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:p.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:p.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:p.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:p.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:p.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:p.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:p.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:p.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:p.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:p.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:p.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:p.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:p.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:p.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:p.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:p.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:p.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:p.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:p.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:p.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:p.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:p.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:p.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:p.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:p.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:p.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:p.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:p.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:p.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:p.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:p.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:p.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:p.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:p.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:p.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:p.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:p.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:p.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:p.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:p.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:p.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:p.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:p.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:p.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:p.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:p.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:p.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:p.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:p.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:p.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:p.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:p.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:p.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:p.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:p.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:p.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:p.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:p.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:p.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:p.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:p.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:p.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:p.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:p.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:p.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:p.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:p.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:p.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:p.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:p.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:p.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:p.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:p.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:p.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:p.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:p.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:p.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:p.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:p.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:p.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:p.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:p.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:p.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:p.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:p.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:p.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:p.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:p.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:p.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:p.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:p.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:p.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:p.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:p.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:p.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:p.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:p.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:p.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:p.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:p.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:p.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:p.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:p.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:p.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:p.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:p.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:p.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:p.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:p.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:p.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:p.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:p.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:p.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:p.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:p.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:p.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:p.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:p.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:p.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:p.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:p.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:p.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:p.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:p.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:p.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:p.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:p.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:p.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:p.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:p.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:p.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:p.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:p.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:p.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:p.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:p.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:p.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:p.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:p.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:p.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:p.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:p.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:p.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:p.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:p.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:p.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:p.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:p.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:p.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:p.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:p.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:p.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:p.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:p.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:p.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:p.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:p.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:p.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:p.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:p.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:p.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:p.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:p.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:p.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:p.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:p.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:p.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:p.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:p.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:p.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:p.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:p.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:p.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:p.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:p.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:p.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:p.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:p.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:p.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:p.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:p.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:p.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:p.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:p.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:p.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:p.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:p.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:p.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:p.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:p.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:p.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:p.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:p.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:p.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:p.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:p.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},d={backgroundActionPrimary:p.extend("--ft-background-action-primary","Used as backgorund of primary action components.",f.colorBrand0),backgroundErrorPrimary:p.extend("--ft-background-error-primary","Used as background of error components.",f.colorRed0),backgroundErrorSubtle:p.extend("--ft-background-error-subtle","Used as background of subtle error components.",f.colorRed10),backgroundInfoPrimary:p.extend("--ft-background-info-primary","Used as background of information components.",f.colorCyan200),backgroundInfoSubtle:p.extend("--ft-background-info-subtle","Used as background of subtle information components.",f.colorCyan10),backgroundWarningPrimary:p.extend("--ft-background-warning-primary","Used as background of warning components.",f.colorOrange300),backgroundWarningSubtle:p.extend("--ft-background-warning-subtle","Used as background of subtle information components.",f.colorOrange10),backgroundSuccessPrimary:p.extend("--ft-background-success-primary","Used as background of success components.",f.colorGreen200),backgroundSuccessSubtle:p.extend("--ft-background-success-subtle","Used as background of subtle success components.",f.colorGreen10),backgroundGlobalSurface:p.extend("--ft-background-global-surface","Used as app background.",f.colorWhite),backgroundGlobalOnSurface:p.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",f.colorGray10),backgroundGlobalOnSurfaceDark:p.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",f.colorGray30),contentActionPrimary:p.extend("--ft-content-action-primary","Used on label of primary action on light surface.",f.colorBrand0),contentWarningPrimary:p.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",f.colorOrange300),contentWarningIconOnly:p.extend("--ft-content-warning-icon-only","Used on warning status icons alone",f.colorOrange0),contentErrorPrimary:p.extend("--ft-content-error-primary","Used on label of error messages on light surface.",f.colorRed0),contentErrorIconOnly:p.extend("--ft-content-error-icon-only","Used on error status icons alone",f.colorRed0),contentInfoPrimary:p.extend("--ft-content-info-primary","Used on label of information messages on light surface.",f.colorCyan200),contentInfoIconOnly:p.extend("--ft-content-info-icon-only","Used on info status icons alone",f.colorCyan0),contentSuccessIconOnly:p.extend("--ft-content-success-icon-only","Used on success status icons alone",f.colorGreen0),contentSuccessPrimary:p.extend("--ft-content-success-primary","Used on label of success messages on light surface.",f.colorGreen200),contentGlobalPrimary:p.extend("--ft-content-global-primary","Used for main content on the page.",f.colorGray500),contentGlobalSecondary:p.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",f.colorGray200),contentGlobalSubtle:p.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",f.colorGray0),contentGlobalOnColor:p.extend("--ft-content-global-on-color","Used for content on a dominant color.",f.colorWhite),borderActionPrimary:p.extend("--ft-border-action-primary","Used as border for primary action components.",f.colorBrand0),borderActionFocusRing:p.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",f.colorCyan0),borderWarningPrimary:p.extend("--ft-border-warning-primary","Used as border for warning components.",f.colorOrange30),borderSuccessPrimary:p.extend("--ft-border-success-primary","Used as border for success components.",f.colorGreen30),borderErrorPrimary:p.extend("--ft-border-error-primary","Used as border for error components.",f.colorRed30),borderInfoPrimary:p.extend("--ft-border-info-primary","Used as border for information components.",f.colorCyan30),borderGlobalSubtle:p.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",f.colorGray30),borderGlobalPrimary:p.extend("--ft-border-global-primary","Used as border for element like input.",f.colorGray50),borderInputPrimary:p.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",f.colorGray80)},u={largeHeight:p.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:p.extend("--ft-button-large-horizontal-padding","",f.spacing4),largeGap:p.extend("--ft-button-large-gap","",f.spacing2),largeBorderRadius:p.extend("--ft-button-large-border-radius","",f.borderRadiusS),largeIconSize:p.extend("--ft-button-large-icon-size","",f.iconSize3),largeBorderWidth:p.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:p.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:p.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:p.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:p.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:p.extend("--ft-button-small-horizontal-padding","",f.spacing3),smallGap:p.extend("--ft-button-small-gap","",f.spacing2),smallBorderRadius:p.extend("--ft-button-small-border-radius","",f.borderRadiusS),smallIconSize:p.extend("--ft-button-small-icon-size","",f.iconSize2),smallBorderWidth:p.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:p.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:p.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:p.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:p.extend("--ft-button-primary-background-color","",d.backgroundActionPrimary),primaryColor:p.extend("--ft-button-primary-color","",d.contentGlobalOnColor),primaryIconColor:p.extend("--ft-button-primary-icon-color","",d.contentGlobalOnColor),primaryStateLayerColor:p.extend("--ft-button-primary-state-layer-color","",d.contentGlobalOnColor),primaryStateLayerOpacityHover:p.extend("--ft-button-primary-state-layer-opacity-hover","",f.opacity16),primaryStateLayerOpacityFocus:p.extend("--ft-button-primary-state-layer-opacity-focus","",f.opacity16),primaryStateLayerOpacityActive:p.extend("--ft-button-primary-state-layer-opacity-active","",f.opacity24),primaryComponentOpacityDisabled:p.extend("--ft-button-primary-component-opacity-disabled","",f.opacity40),focusFocusRingColor:p.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBackgroundColor:p.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:p.extend("--ft-button-tertiary-color","",d.contentActionPrimary),tertiaryIconColor:p.extend("--ft-button-tertiary-icon-color","",d.contentActionPrimary),tertiaryStateLayerColor:p.extend("--ft-button-tertiary-state-layer-color","",d.contentActionPrimary),tertiaryStateLayerOpacityHover:p.extend("--ft-button-tertiary-state-layer-opacity-hover","",f.opacity8),tertiaryStateLayerOpacityFocus:p.extend("--ft-button-tertiary-state-layer-opacity-focus","",f.opacity8),tertiaryStateLayerOpacityActive:p.extend("--ft-button-tertiary-state-layer-opacity-active","",f.opacity16),tertiaryComponentOpacityDisabled:p.extend("--ft-button-tertiary-component-opacity-disabled","",f.opacity40),secondaryBackgroundColor:p.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:p.extend("--ft-button-secondary-color","",d.contentActionPrimary),secondaryIconColor:p.extend("--ft-button-secondary-icon-color","",d.contentActionPrimary),secondaryStateLayerColor:p.extend("--ft-button-secondary-state-layer-color","",d.contentActionPrimary),secondaryStateLayerOpacityHover:p.extend("--ft-button-secondary-state-layer-opacity-hover","",f.opacity8),secondaryStateLayerOpacityFocus:p.extend("--ft-button-secondary-state-layer-opacity-focus","",f.opacity8),secondaryStateLayerOpacityActive:p.extend("--ft-button-secondary-state-layer-opacity-active","",f.opacity16),secondaryComponentOpacityDisabled:p.extend("--ft-button-secondary-component-opacity-disabled","",f.opacity40),secondaryBorderColor:p.extend("--ft-button-secondary-border-color","",d.borderActionPrimary),neutralBackgroundColor:p.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:p.extend("--ft-button-neutral-icon-color","",d.contentGlobalSecondary),neutralColor:p.extend("--ft-button-neutral-color","",d.contentGlobalSecondary),neutralStateLayerColor:p.extend("--ft-button-neutral-state-layer-color","",d.contentGlobalSecondary),neutralStateLayerOpacityHover:p.extend("--ft-button-neutral-state-layer-opacity-hover","",f.opacity8),neutralStateLayerOpacityFocus:p.extend("--ft-button-neutral-state-layer-opacity-focus","",f.opacity8),neutralStateLayerOpacityActive:p.extend("--ft-button-neutral-state-layer-opacity-active","",f.opacity16),neutralComponentOpacityDisabled:p.extend("--ft-button-neutral-component-opacity-disabled","",f.opacity40)};p.extend("--ft-tabs-top-left-border-radius","",f.borderRadiusS),p.extend("--ft-tabs-top-right-border-radius","",f.borderRadiusS),p.extend("--ft-tabs-label-horizontal-padding","",f.spacing4),p.extend("--ft-tabs-label-vertical-padding","",f.spacing3),p.extend("--ft-tabs-label-gap","",f.spacing1),p.extend("--ft-switch-group-horizontal-padding","",f.spacing1),p.extend("--ft-switch-group-vertical-padding","",f.spacing1),p.extend("--ft-switch-group-gap","",f.spacing1),p.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),p.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),p.create("--ft-switch-group-border-radius","","SIZE","6px"),p.extend("--ft-switch-label-horizontal-padding","",f.spacing2),p.extend("--ft-switch-label-vertical-padding","",f.spacing1),p.extend("--ft-switch-icon-horizontal-padding","",f.spacing1),p.extend("--ft-switch-icon-vertical-padding","",f.spacing1),p.create("--ft-switch-focus-outline-width","","SIZE","2px"),p.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),p.extend("--ft-switch-option-border-radius","",f.borderRadiusS),p.extend("--ft-switch-off-state-layer-opacity-hover","",f.opacity8),p.extend("--ft-switch-off-state-layer-opacity-focus","",f.opacity8),p.extend("--ft-switch-off-state-layer-opacity-active","",f.opacity16),p.extend("--ft-switch-off-component-opacity-disabled","",f.opacity40),p.extend("--ft-switch-off-color","",d.contentGlobalSubtle),p.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),p.extend("--ft-chart-1-light","for area color charts",f.colorBrand40),p.extend("--ft-chart-1-base","for line charts",f.colorBrand0),p.extend("--ft-chart-2-light","for area color charts",f.colorYellow60),p.extend("--ft-chart-2-base","for line charts",f.colorYellow100),p.extend("--ft-chart-3-light","",f.colorUltramarine40),p.extend("--ft-chart-3-base","",f.colorUltramarine70),p.extend("--ft-chart-4-light","",f.colorCyan50),p.extend("--ft-chart-4-base","",f.colorCyan100),p.extend("--ft-chart-5-light","",f.colorRed40),p.extend("--ft-chart-5-base","",f.colorRed60),p.extend("--ft-chart-6-light","",f.colorGreen40),p.extend("--ft-chart-6-base","",f.colorGreen70),p.extend("--ft-chart-7-light","",f.colorOrange70),p.extend("--ft-chart-7-base","",f.colorOrange100),p.extend("--ft-chart-8-light","",f.colorAvocado70),p.extend("--ft-chart-8-base","",f.colorAvocado200),p.extend("--ft-chart-9-light","",f.colorBrown50),p.extend("--ft-chart-9-base","",f.colorBrown200),p.extend("--ft-chart-10-light","",f.colorGray50),p.extend("--ft-chart-10-base","",f.colorGray80),p.extend("--ft-chart-monochrome-10","",f.colorBrand10),p.extend("--ft-chart-monochrome-20","",f.colorBrand20),p.extend("--ft-chart-monochrome-30","",f.colorBrand40),p.extend("--ft-chart-monochrome-40","",f.colorBrand60),p.extend("--ft-chart-monochrome-50","",f.colorBrand0),p.extend("--ft-chart-monochrome-60","",f.colorBrand200),p.extend("--ft-chip-large-horizontal-padding","",f.spacing4),p.extend("--ft-chip-large-vertical-padding","",f.spacing2),p.extend("--ft-chip-large-gap","",f.spacing1),p.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),p.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),p.extend("--ft-chip-large-border-radius","",f.borderRadiusPill),p.create("--ft-chip-large-border-width","","SIZE","1px"),p.extend("--ft-chip-large-icon-size","",f.iconSize3),p.extend("--ft-chip-medium-horizontal-padding","",f.spacing3),p.extend("--ft-chip-medium-vertical-padding","",f.spacing1),p.extend("--ft-chip-medium-gap","",f.spacing1),p.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),p.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),p.extend("--ft-chip-medium-border-radius","",f.borderRadiusPill),p.create("--ft-chip-medium-border-width","","SIZE","1px"),p.extend("--ft-chip-medium-icon-size","",f.iconSize2),p.extend("--ft-chip-small-horizontal-padding","",f.spacing2),p.extend("--ft-chip-small-vertical-padding","",f.spacing05),p.extend("--ft-chip-small-gap","",f.spacing1),p.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),p.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),p.extend("--ft-chip-small-border-radius","",f.borderRadiusPill),p.create("--ft-chip-small-border-width","","SIZE","1px"),p.extend("--ft-chip-small-icon-size","",f.iconSize1),p.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),p.extend("--ft-chip-neutral-color","",d.contentGlobalPrimary),p.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),p.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),p.extend("--ft-chip-info-color","",d.contentInfoPrimary),p.extend("--ft-chip-info-border-color","",d.borderInfoPrimary),p.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),p.extend("--ft-chip-success-color","",d.contentSuccessPrimary),p.extend("--ft-chip-success-border-color","",d.borderSuccessPrimary),p.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),p.extend("--ft-chip-warning-color","",d.contentWarningPrimary),p.extend("--ft-chip-warning-border-color","",d.borderWarningPrimary),p.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),p.extend("--ft-chip-error-color","",d.contentErrorPrimary),p.extend("--ft-chip-error-border-color","",d.borderErrorPrimary),p.create("--ft-notice-border-width","","SIZE","1px"),p.extend("--ft-notice-horizontal-padding","",f.spacing2),p.extend("--ft-notice-vertical-padding","",f.spacing1),p.extend("--ft-notice-border-radius","",f.borderRadiusS),p.extend("--ft-notice-gap","",f.spacing2),p.extend("--ft-notice-icon-size","",f.iconSize3),p.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),p.extend("--ft-notice-info-border-color","",d.borderInfoPrimary),p.extend("--ft-notice-info-color","",d.contentInfoPrimary),p.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),p.extend("--ft-notice-warning-border-color","",d.borderWarningPrimary),p.extend("--ft-notice-warning-color","",d.contentWarningPrimary),p.extend("--ft-checkbox-label-color","",d.contentGlobalPrimary),p.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),p.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),p.extend("--ft-checkbox-checked-color","",d.contentGlobalOnColor),p.extend("--ft-checkbox-checked-state-layer-opacity-hover","",f.opacity16),p.extend("--ft-checkbox-checked-state-layer-opacity-focus","",f.opacity16),p.extend("--ft-checkbox-checked-state-layer-opacity-active","",f.opacity24),p.extend("--ft-checkbox-checked-component-opacity-disabled","",f.opacity40),p.extend("--ft-checkbox-unchecked-border-color","",f.colorGray80),p.extend("--ft-checkbox-unchecked-state-layer-color","",f.colorGray80),p.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",f.opacity16),p.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",f.opacity16),p.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",f.opacity24),p.extend("--ft-checkbox-unchecked-component-opacity-disabled","",f.opacity40),p.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),p.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),p.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),p.extend("--ft-checkbox-gap","",f.spacing3),p.extend("--ft-toggle-off-state-layer-opacity-hover","",f.opacity16),p.extend("--ft-toggle-off-state-layer-opacity-focus","",f.opacity16),p.extend("--ft-toggle-off-state-layer-opacity-active","",f.opacity24),p.extend("--ft-toggle-off-component-opacity-disabled","",f.opacity40),p.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),p.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),p.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),p.extend("--ft-toggle-on-state-layer-opacity-hover","",f.opacity16),p.extend("--ft-toggle-on-state-layer-opacity-focus","",f.opacity16),p.extend("--ft-toggle-on-state-layer-opacity-active","",f.opacity24),p.extend("--ft-toggle-on-component-opacity-disabled","",f.opacity40),p.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),p.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),p.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),p.extend("--ft-toggle-label-color","",d.contentGlobalPrimary),p.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),p.extend("--ft-toggle-gap","",f.spacing3),p.extend("--ft-radio-label-color","",d.contentGlobalPrimary),p.extend("--ft-radio-selected-color","",d.contentActionPrimary),p.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),p.extend("--ft-radio-selected-state-layer-opacity-hover","",f.opacity16),p.extend("--ft-radio-selected-state-layer-opacity-focus","",f.opacity16),p.extend("--ft-radio-selected-state-layer-opacity-active","",f.opacity24),p.extend("--ft-radio-selected-component-opacity-disabled","",f.opacity40),p.extend("--ft-radio-unselected-state-layer-color","",f.colorGray80),p.extend("--ft-radio-unselected-state-layer-opacity-hover","",f.opacity16),p.extend("--ft-radio-unselected-state-layer-opacity-focus","",f.opacity16),p.extend("--ft-radio-unselected-state-layer-opacity-active","",f.opacity24),p.extend("--ft-radio-unselected-component-opacity-disabled","",f.opacity40),p.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),p.create("--ft-radio-focus-outline-offset","","SIZE","3px"),p.create("--ft-radio-focus-outline-width","","SIZE","2px"),p.extend("--ft-radio-gap","",f.spacing3),p.extend("--ft-notification-icon-size","",f.iconSize4),p.extend("--ft-notification-horizontal-padding","",f.spacing4),p.extend("--ft-notification-vertical-padding","",f.spacing4),p.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),p.extend("--ft-notification-info-color","",d.contentInfoPrimary),p.extend("--ft-notification-info-border-color","",d.borderInfoPrimary),p.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),p.extend("--ft-notification-success-color","",d.contentSuccessPrimary),p.extend("--ft-notification-success-border-color","",d.borderSuccessPrimary),p.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),p.extend("--ft-notification-warning-color","",d.contentWarningPrimary),p.extend("--ft-notification-warning-border-color","",d.borderWarningPrimary),p.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),p.extend("--ft-notification-error-color","",d.contentErrorPrimary),p.extend("--ft-notification-error-border-color","",d.borderErrorPrimary),p.extend("--ft-notification-border-radius","",f.borderRadiusPill),p.create("--ft-notification-border-width","","SIZE","1px"),p.extend("--ft-notification-gap-leading","",f.spacing2),p.extend("--ft-notification-gap-trailing","",f.spacing8);const y=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),g=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),b={fontFamily:g,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},m=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",y),v=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",b.fontSize,"20px"),x=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",b.fontWeight,"normal"),O=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",b.letterSpacing,"0.15px"),N=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",b.lineHeight,"1.2"),w=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",b.textTransform,"inherit"),S=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",y),$=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",b.fontSize,"14px"),C=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",b.fontWeight,"normal"),k=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",b.letterSpacing,"0.105px"),I=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",b.lineHeight,"1.7"),E=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",b.textTransform,"inherit"),R=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",g),U=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",b.fontSize,"16px"),L=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",b.fontWeight,"600"),W=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",b.letterSpacing,"0.144px"),z=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",b.lineHeight,"1.5"),K=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",b.textTransform,"inherit"),B=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",g),A=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",b.fontSize,"14px"),Z=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",b.fontWeight,"normal"),D=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",b.letterSpacing,"0.098px"),F=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",b.lineHeight,"1.7"),T=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",b.textTransform,"inherit"),H=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",g),P=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",b.fontSize,"16px"),j=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",b.fontWeight,"normal"),M=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",b.letterSpacing,"0.496px"),_=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",b.lineHeight,"1.5"),G=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",b.textTransform,"inherit"),V={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",g),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",b.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",b.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",b.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",b.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",b.textTransform,"inherit")},Y=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",g),q=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",b.fontSize,"12px"),X=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",b.fontWeight,"normal"),J=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",b.letterSpacing,"0.396px"),Q=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",b.lineHeight,"1.33"),tt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",b.textTransform,"inherit"),ot=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",g),et=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",b.fontSize,"10px"),it=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",b.fontWeight,"normal"),rt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",b.letterSpacing,"0.33px"),at=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",b.lineHeight,"1.6"),nt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",b.textTransform,"inherit"),lt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",g),st=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",b.fontSize,"10px"),ct=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",b.fontWeight,"normal"),pt=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",b.letterSpacing,"1.5px"),ft=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",b.lineHeight,"1.6"),ht=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",b.textTransform,"uppercase"),dt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",g),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",b.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",b.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",b.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",b.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",b.textTransform,"uppercase")},ut=e.css`
30
+ `,c=t=>"string"==typeof t?e.unsafeCSS(t):t;class f{static create(t,o,i,r){const n=t=>c(null!=t?t:r),a=e.css`var(${c(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${c(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,o,i,r){const n=t=>i.get(null!=t?t:r),a=e.css`var(${c(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${c(t)}, ${n(o)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):c(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${c(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=i,r.get=o=>e.css`var(${c(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const p={colorWhite:f.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:f.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:f.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:f.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:f.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:f.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:f.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:f.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:f.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:f.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:f.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:f.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:f.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:f.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:f.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:f.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:f.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:f.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:f.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:f.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:f.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:f.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:f.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:f.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:f.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:f.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:f.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:f.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:f.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:f.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:f.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:f.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:f.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:f.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:f.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:f.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:f.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:f.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:f.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:f.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:f.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:f.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:f.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:f.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:f.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:f.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:f.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:f.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:f.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:f.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:f.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:f.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:f.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:f.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:f.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:f.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:f.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:f.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:f.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:f.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:f.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:f.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:f.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:f.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:f.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:f.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:f.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:f.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:f.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:f.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:f.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:f.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:f.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:f.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:f.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:f.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:f.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:f.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:f.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:f.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:f.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:f.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:f.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:f.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:f.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:f.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:f.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:f.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:f.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:f.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:f.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:f.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:f.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:f.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:f.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:f.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:f.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:f.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:f.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:f.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:f.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:f.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:f.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:f.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:f.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:f.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:f.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:f.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:f.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:f.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:f.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:f.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:f.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:f.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:f.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:f.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:f.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:f.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:f.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:f.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:f.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:f.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:f.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:f.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:f.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:f.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:f.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:f.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:f.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:f.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:f.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:f.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:f.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:f.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:f.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:f.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:f.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:f.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:f.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:f.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:f.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:f.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:f.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:f.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:f.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:f.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:f.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:f.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:f.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:f.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:f.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:f.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:f.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:f.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:f.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:f.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:f.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:f.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:f.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:f.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:f.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:f.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:f.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:f.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:f.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:f.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:f.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:f.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:f.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:f.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:f.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:f.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:f.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:f.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:f.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:f.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:f.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:f.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:f.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:f.create("--ft-icon-size-6","","SIZE","48px"),opacity0:f.create("--ft-opacity-0","","NUMBER","0"),opacity8:f.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:f.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:f.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:f.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:f.create("--ft-opacity-80","","NUMBER","0.8")},h={display:{fontFamily:f.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:f.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:f.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:f.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:f.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:f.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:f.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:f.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:f.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:f.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:f.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:f.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:f.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:f.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:f.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:f.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:f.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:f.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:f.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:f.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:f.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:f.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:f.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:f.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:f.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:f.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:f.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:f.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:f.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:f.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:f.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:f.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:f.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:f.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:f.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:f.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:f.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:f.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:f.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:f.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:f.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:f.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:f.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:f.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:f.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:f.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:f.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:f.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:f.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:f.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:f.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:f.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:f.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:f.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:f.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:f.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:f.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:f.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:f.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:f.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:f.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:f.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:f.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:f.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:f.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:f.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:f.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:f.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:f.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:f.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:f.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:f.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:f.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:f.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:f.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:f.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:f.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:f.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:f.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:f.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:f.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:f.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:f.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:f.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:f.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:f.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:f.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:f.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:f.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:f.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:f.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:f.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:f.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:f.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:f.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:f.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:f.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:f.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:f.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:f.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:f.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:f.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:f.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:f.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:f.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:f.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:f.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:f.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:f.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:f.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:f.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:f.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:f.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:f.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:f.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:f.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:f.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:f.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:f.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:f.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:f.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:f.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:f.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:f.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:f.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:f.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:f.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:f.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:f.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:f.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:f.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:f.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:f.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:f.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:f.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:f.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:f.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:f.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:f.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:f.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:f.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:f.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:f.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:f.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:f.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:f.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:f.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:f.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:f.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:f.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:f.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:f.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:f.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:f.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:f.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:f.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:f.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:f.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:f.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:f.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:f.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:f.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:f.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:f.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:f.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:f.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:f.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:f.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:f.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:f.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:f.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:f.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:f.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:f.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:f.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:f.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:f.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:f.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:f.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:f.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:f.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:f.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:f.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:f.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:f.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:f.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:f.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:f.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:f.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:f.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:f.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:f.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:f.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:f.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:f.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:f.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:f.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:f.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},d={backgroundActionPrimary:f.extend("--ft-background-action-primary","Used as backgorund of primary action components.",p.colorBrand0),backgroundErrorPrimary:f.extend("--ft-background-error-primary","Used as background of error components.",p.colorRed0),backgroundErrorSubtle:f.extend("--ft-background-error-subtle","Used as background of subtle error components.",p.colorRed10),backgroundInfoPrimary:f.extend("--ft-background-info-primary","Used as background of information components.",p.colorCyan200),backgroundInfoSubtle:f.extend("--ft-background-info-subtle","Used as background of subtle information components.",p.colorCyan10),backgroundWarningPrimary:f.extend("--ft-background-warning-primary","Used as background of warning components.",p.colorOrange300),backgroundWarningSubtle:f.extend("--ft-background-warning-subtle","Used as background of subtle information components.",p.colorOrange10),backgroundSuccessPrimary:f.extend("--ft-background-success-primary","Used as background of success components.",p.colorGreen200),backgroundSuccessSubtle:f.extend("--ft-background-success-subtle","Used as background of subtle success components.",p.colorGreen10),backgroundGlobalSurface:f.extend("--ft-background-global-surface","Used as app background.",p.colorWhite),backgroundGlobalOnSurface:f.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",p.colorGray10),backgroundGlobalOnSurfaceDark:f.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",p.colorGray30),contentActionPrimary:f.extend("--ft-content-action-primary","Used on label of primary action on light surface.",p.colorBrand0),contentWarningPrimary:f.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",p.colorOrange300),contentWarningIconOnly:f.extend("--ft-content-warning-icon-only","Used on warning status icons alone",p.colorOrange0),contentErrorPrimary:f.extend("--ft-content-error-primary","Used on label of error messages on light surface.",p.colorRed0),contentErrorIconOnly:f.extend("--ft-content-error-icon-only","Used on error status icons alone",p.colorRed0),contentInfoPrimary:f.extend("--ft-content-info-primary","Used on label of information messages on light surface.",p.colorCyan200),contentInfoIconOnly:f.extend("--ft-content-info-icon-only","Used on info status icons alone",p.colorCyan0),contentSuccessIconOnly:f.extend("--ft-content-success-icon-only","Used on success status icons alone",p.colorGreen0),contentSuccessPrimary:f.extend("--ft-content-success-primary","Used on label of success messages on light surface.",p.colorGreen200),contentGlobalPrimary:f.extend("--ft-content-global-primary","Used for main content on the page.",p.colorGray500),contentGlobalSecondary:f.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",p.colorGray200),contentGlobalSubtle:f.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",p.colorGray0),contentGlobalOnColor:f.extend("--ft-content-global-on-color","Used for content on a dominant color.",p.colorWhite),borderActionPrimary:f.extend("--ft-border-action-primary","Used as border for primary action components.",p.colorBrand0),borderActionFocusRing:f.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",p.colorCyan0),borderWarningPrimary:f.extend("--ft-border-warning-primary","Used as border for warning components.",p.colorOrange30),borderSuccessPrimary:f.extend("--ft-border-success-primary","Used as border for success components.",p.colorGreen30),borderErrorPrimary:f.extend("--ft-border-error-primary","Used as border for error components.",p.colorRed30),borderInfoPrimary:f.extend("--ft-border-info-primary","Used as border for information components.",p.colorCyan30),borderGlobalSubtle:f.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",p.colorGray30),borderGlobalPrimary:f.extend("--ft-border-global-primary","Used as border for element like input.",p.colorGray50),borderInputPrimary:f.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",p.colorGray80)},u={largeHeight:f.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:f.extend("--ft-button-large-horizontal-padding","",p.spacing4),largeGap:f.extend("--ft-button-large-gap","",p.spacing2),largeBorderRadius:f.extend("--ft-button-large-border-radius","",p.borderRadiusS),largeIconSize:f.extend("--ft-button-large-icon-size","",p.iconSize3),largeBorderWidth:f.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:f.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:f.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:f.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:f.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:f.extend("--ft-button-small-horizontal-padding","",p.spacing3),smallGap:f.extend("--ft-button-small-gap","",p.spacing2),smallBorderRadius:f.extend("--ft-button-small-border-radius","",p.borderRadiusS),smallIconSize:f.extend("--ft-button-small-icon-size","",p.iconSize2),smallBorderWidth:f.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:f.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:f.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:f.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:f.extend("--ft-button-primary-background-color","",d.backgroundActionPrimary),primaryColor:f.extend("--ft-button-primary-color","",d.contentGlobalOnColor),primaryIconColor:f.extend("--ft-button-primary-icon-color","",d.contentGlobalOnColor),primaryStateLayerColor:f.extend("--ft-button-primary-state-layer-color","",d.contentGlobalOnColor),primaryStateLayerOpacityHover:f.extend("--ft-button-primary-state-layer-opacity-hover","",p.opacity16),primaryStateLayerOpacityFocus:f.extend("--ft-button-primary-state-layer-opacity-focus","",p.opacity16),primaryStateLayerOpacityActive:f.extend("--ft-button-primary-state-layer-opacity-active","",p.opacity24),primaryComponentOpacityDisabled:f.extend("--ft-button-primary-component-opacity-disabled","",p.opacity40),focusFocusRingColor:f.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBackgroundColor:f.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:f.extend("--ft-button-tertiary-color","",d.contentActionPrimary),tertiaryIconColor:f.extend("--ft-button-tertiary-icon-color","",d.contentActionPrimary),tertiaryStateLayerColor:f.extend("--ft-button-tertiary-state-layer-color","",d.contentActionPrimary),tertiaryStateLayerOpacityHover:f.extend("--ft-button-tertiary-state-layer-opacity-hover","",p.opacity8),tertiaryStateLayerOpacityFocus:f.extend("--ft-button-tertiary-state-layer-opacity-focus","",p.opacity8),tertiaryStateLayerOpacityActive:f.extend("--ft-button-tertiary-state-layer-opacity-active","",p.opacity16),tertiaryComponentOpacityDisabled:f.extend("--ft-button-tertiary-component-opacity-disabled","",p.opacity40),secondaryBackgroundColor:f.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:f.extend("--ft-button-secondary-color","",d.contentActionPrimary),secondaryIconColor:f.extend("--ft-button-secondary-icon-color","",d.contentActionPrimary),secondaryStateLayerColor:f.extend("--ft-button-secondary-state-layer-color","",d.contentActionPrimary),secondaryStateLayerOpacityHover:f.extend("--ft-button-secondary-state-layer-opacity-hover","",p.opacity8),secondaryStateLayerOpacityFocus:f.extend("--ft-button-secondary-state-layer-opacity-focus","",p.opacity8),secondaryStateLayerOpacityActive:f.extend("--ft-button-secondary-state-layer-opacity-active","",p.opacity16),secondaryComponentOpacityDisabled:f.extend("--ft-button-secondary-component-opacity-disabled","",p.opacity40),secondaryBorderColor:f.extend("--ft-button-secondary-border-color","",d.borderActionPrimary),neutralBackgroundColor:f.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:f.extend("--ft-button-neutral-icon-color","",d.contentGlobalSecondary),neutralColor:f.extend("--ft-button-neutral-color","",d.contentGlobalSecondary),neutralStateLayerColor:f.extend("--ft-button-neutral-state-layer-color","",d.contentGlobalSecondary),neutralStateLayerOpacityHover:f.extend("--ft-button-neutral-state-layer-opacity-hover","",p.opacity8),neutralStateLayerOpacityFocus:f.extend("--ft-button-neutral-state-layer-opacity-focus","",p.opacity8),neutralStateLayerOpacityActive:f.extend("--ft-button-neutral-state-layer-opacity-active","",p.opacity16),neutralComponentOpacityDisabled:f.extend("--ft-button-neutral-component-opacity-disabled","",p.opacity40)};f.extend("--ft-tabs-top-left-border-radius","",p.borderRadiusS),f.extend("--ft-tabs-top-right-border-radius","",p.borderRadiusS),f.extend("--ft-tabs-label-horizontal-padding","",p.spacing4),f.extend("--ft-tabs-label-vertical-padding","",p.spacing3),f.extend("--ft-tabs-label-gap","",p.spacing1),f.extend("--ft-switch-group-horizontal-padding","",p.spacing1),f.extend("--ft-switch-group-vertical-padding","",p.spacing1),f.extend("--ft-switch-group-gap","",p.spacing1),f.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),f.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),f.create("--ft-switch-group-border-radius","","SIZE","6px"),f.extend("--ft-switch-label-horizontal-padding","",p.spacing2),f.extend("--ft-switch-label-vertical-padding","",p.spacing1),f.extend("--ft-switch-icon-horizontal-padding","",p.spacing1),f.extend("--ft-switch-icon-vertical-padding","",p.spacing1),f.create("--ft-switch-focus-outline-width","","SIZE","2px"),f.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),f.extend("--ft-switch-option-border-radius","",p.borderRadiusS),f.extend("--ft-switch-off-state-layer-opacity-hover","",p.opacity8),f.extend("--ft-switch-off-state-layer-opacity-focus","",p.opacity8),f.extend("--ft-switch-off-state-layer-opacity-active","",p.opacity16),f.extend("--ft-switch-off-component-opacity-disabled","",p.opacity40),f.extend("--ft-switch-off-color","",d.contentGlobalSubtle),f.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),f.extend("--ft-chart-1-light","for area color charts",p.colorBrand40),f.extend("--ft-chart-1-base","for line charts",p.colorBrand0),f.extend("--ft-chart-2-light","for area color charts",p.colorYellow60),f.extend("--ft-chart-2-base","for line charts",p.colorYellow100),f.extend("--ft-chart-3-light","",p.colorUltramarine40),f.extend("--ft-chart-3-base","",p.colorUltramarine70),f.extend("--ft-chart-4-light","",p.colorCyan50),f.extend("--ft-chart-4-base","",p.colorCyan100),f.extend("--ft-chart-5-light","",p.colorRed40),f.extend("--ft-chart-5-base","",p.colorRed60),f.extend("--ft-chart-6-light","",p.colorGreen40),f.extend("--ft-chart-6-base","",p.colorGreen70),f.extend("--ft-chart-7-light","",p.colorOrange70),f.extend("--ft-chart-7-base","",p.colorOrange100),f.extend("--ft-chart-8-light","",p.colorAvocado70),f.extend("--ft-chart-8-base","",p.colorAvocado200),f.extend("--ft-chart-9-light","",p.colorBrown50),f.extend("--ft-chart-9-base","",p.colorBrown200),f.extend("--ft-chart-10-light","",p.colorGray50),f.extend("--ft-chart-10-base","",p.colorGray80),f.extend("--ft-chart-monochrome-10","",p.colorBrand10),f.extend("--ft-chart-monochrome-20","",p.colorBrand20),f.extend("--ft-chart-monochrome-30","",p.colorBrand40),f.extend("--ft-chart-monochrome-40","",p.colorBrand60),f.extend("--ft-chart-monochrome-50","",p.colorBrand0),f.extend("--ft-chart-monochrome-60","",p.colorBrand200),f.extend("--ft-chip-large-horizontal-padding","",p.spacing4),f.extend("--ft-chip-large-vertical-padding","",p.spacing2),f.extend("--ft-chip-large-gap","",p.spacing1),f.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),f.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),f.extend("--ft-chip-large-border-radius","",p.borderRadiusPill),f.create("--ft-chip-large-border-width","","SIZE","1px"),f.extend("--ft-chip-large-icon-size","",p.iconSize3),f.extend("--ft-chip-medium-horizontal-padding","",p.spacing3),f.extend("--ft-chip-medium-vertical-padding","",p.spacing1),f.extend("--ft-chip-medium-gap","",p.spacing1),f.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),f.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),f.extend("--ft-chip-medium-border-radius","",p.borderRadiusPill),f.create("--ft-chip-medium-border-width","","SIZE","1px"),f.extend("--ft-chip-medium-icon-size","",p.iconSize2),f.extend("--ft-chip-small-horizontal-padding","",p.spacing2),f.extend("--ft-chip-small-vertical-padding","",p.spacing05),f.extend("--ft-chip-small-gap","",p.spacing1),f.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),f.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),f.extend("--ft-chip-small-border-radius","",p.borderRadiusPill),f.create("--ft-chip-small-border-width","","SIZE","1px"),f.extend("--ft-chip-small-icon-size","",p.iconSize1),f.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),f.extend("--ft-chip-neutral-color","",d.contentGlobalPrimary),f.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),f.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),f.extend("--ft-chip-info-color","",d.contentInfoPrimary),f.extend("--ft-chip-info-border-color","",d.borderInfoPrimary),f.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),f.extend("--ft-chip-success-color","",d.contentSuccessPrimary),f.extend("--ft-chip-success-border-color","",d.borderSuccessPrimary),f.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),f.extend("--ft-chip-warning-color","",d.contentWarningPrimary),f.extend("--ft-chip-warning-border-color","",d.borderWarningPrimary),f.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),f.extend("--ft-chip-error-color","",d.contentErrorPrimary),f.extend("--ft-chip-error-border-color","",d.borderErrorPrimary),f.create("--ft-notice-border-width","","SIZE","1px"),f.extend("--ft-notice-horizontal-padding","",p.spacing2),f.extend("--ft-notice-vertical-padding","",p.spacing1),f.extend("--ft-notice-border-radius","",p.borderRadiusS),f.extend("--ft-notice-gap","",p.spacing2),f.extend("--ft-notice-icon-size","",p.iconSize3),f.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),f.extend("--ft-notice-info-border-color","",d.borderInfoPrimary),f.extend("--ft-notice-info-color","",d.contentInfoPrimary),f.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),f.extend("--ft-notice-warning-border-color","",d.borderWarningPrimary),f.extend("--ft-notice-warning-color","",d.contentWarningPrimary),f.extend("--ft-checkbox-label-color","",d.contentGlobalPrimary),f.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),f.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),f.extend("--ft-checkbox-checked-color","",d.contentGlobalOnColor),f.extend("--ft-checkbox-checked-state-layer-opacity-hover","",p.opacity16),f.extend("--ft-checkbox-checked-state-layer-opacity-focus","",p.opacity16),f.extend("--ft-checkbox-checked-state-layer-opacity-active","",p.opacity24),f.extend("--ft-checkbox-checked-component-opacity-disabled","",p.opacity40),f.extend("--ft-checkbox-unchecked-border-color","",p.colorGray80),f.extend("--ft-checkbox-unchecked-state-layer-color","",p.colorGray80),f.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",p.opacity16),f.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",p.opacity16),f.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",p.opacity24),f.extend("--ft-checkbox-unchecked-component-opacity-disabled","",p.opacity40),f.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),f.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),f.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),f.extend("--ft-checkbox-gap","",p.spacing3),f.extend("--ft-toggle-off-state-layer-opacity-hover","",p.opacity16),f.extend("--ft-toggle-off-state-layer-opacity-focus","",p.opacity16),f.extend("--ft-toggle-off-state-layer-opacity-active","",p.opacity24),f.extend("--ft-toggle-off-component-opacity-disabled","",p.opacity40),f.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),f.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),f.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),f.extend("--ft-toggle-on-state-layer-opacity-hover","",p.opacity16),f.extend("--ft-toggle-on-state-layer-opacity-focus","",p.opacity16),f.extend("--ft-toggle-on-state-layer-opacity-active","",p.opacity24),f.extend("--ft-toggle-on-component-opacity-disabled","",p.opacity40),f.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),f.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),f.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),f.extend("--ft-toggle-label-color","",d.contentGlobalPrimary),f.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),f.extend("--ft-toggle-gap","",p.spacing3),f.extend("--ft-radio-label-color","",d.contentGlobalPrimary),f.extend("--ft-radio-selected-color","",d.contentActionPrimary),f.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),f.extend("--ft-radio-selected-state-layer-opacity-hover","",p.opacity16),f.extend("--ft-radio-selected-state-layer-opacity-focus","",p.opacity16),f.extend("--ft-radio-selected-state-layer-opacity-active","",p.opacity24),f.extend("--ft-radio-selected-component-opacity-disabled","",p.opacity40),f.extend("--ft-radio-unselected-state-layer-color","",p.colorGray80),f.extend("--ft-radio-unselected-state-layer-opacity-hover","",p.opacity16),f.extend("--ft-radio-unselected-state-layer-opacity-focus","",p.opacity16),f.extend("--ft-radio-unselected-state-layer-opacity-active","",p.opacity24),f.extend("--ft-radio-unselected-component-opacity-disabled","",p.opacity40),f.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),f.create("--ft-radio-focus-outline-offset","","SIZE","3px"),f.create("--ft-radio-focus-outline-width","","SIZE","2px"),f.extend("--ft-radio-gap","",p.spacing3),f.extend("--ft-notification-icon-size","",p.iconSize4),f.extend("--ft-notification-horizontal-padding","",p.spacing4),f.extend("--ft-notification-vertical-padding","",p.spacing4),f.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),f.extend("--ft-notification-info-color","",d.contentInfoPrimary),f.extend("--ft-notification-info-border-color","",d.borderInfoPrimary),f.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),f.extend("--ft-notification-success-color","",d.contentSuccessPrimary),f.extend("--ft-notification-success-border-color","",d.borderSuccessPrimary),f.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),f.extend("--ft-notification-warning-color","",d.contentWarningPrimary),f.extend("--ft-notification-warning-border-color","",d.borderWarningPrimary),f.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),f.extend("--ft-notification-error-color","",d.contentErrorPrimary),f.extend("--ft-notification-error-border-color","",d.borderErrorPrimary),f.extend("--ft-notification-border-radius","",p.borderRadiusPill),f.create("--ft-notification-border-width","","SIZE","1px"),f.extend("--ft-notification-gap-leading","",p.spacing2),f.extend("--ft-notification-gap-trailing","",p.spacing8);const y=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),g=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),b={fontFamily:g,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},m=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",y),v=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",b.fontSize,"20px"),x=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",b.fontWeight,"normal"),O=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",b.letterSpacing,"0.15px"),w=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",b.lineHeight,"1.2"),N=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",b.textTransform,"inherit"),S=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",y),$=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",b.fontSize,"14px"),C=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",b.fontWeight,"normal"),k=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",b.letterSpacing,"0.105px"),I=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",b.lineHeight,"1.7"),E=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",b.textTransform,"inherit"),R=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",g),U=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",b.fontSize,"16px"),L=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",b.fontWeight,"600"),W=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",b.letterSpacing,"0.144px"),z=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",b.lineHeight,"1.5"),A=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",b.textTransform,"inherit"),B=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",g),K=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",b.fontSize,"14px"),D=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",b.fontWeight,"normal"),Z=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",b.letterSpacing,"0.098px"),F=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",b.lineHeight,"1.7"),T=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",b.textTransform,"inherit"),H=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",g),P=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",b.fontSize,"16px"),j=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",b.fontWeight,"normal"),M=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",b.letterSpacing,"0.496px"),_=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",b.lineHeight,"1.5"),G=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",b.textTransform,"inherit"),V={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",g),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",b.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",b.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",b.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",b.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",b.textTransform,"inherit")},Y=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",g),q=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",b.fontSize,"12px"),X=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",b.fontWeight,"normal"),J=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",b.letterSpacing,"0.396px"),Q=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",b.lineHeight,"1.33"),tt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",b.textTransform,"inherit"),ot=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",g),et=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",b.fontSize,"10px"),it=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",b.fontWeight,"normal"),rt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",b.letterSpacing,"0.33px"),nt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",b.lineHeight,"1.6"),at=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",b.textTransform,"inherit"),lt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",g),st=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",b.fontSize,"10px"),ct=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",b.fontWeight,"normal"),ft=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",b.letterSpacing,"1.5px"),pt=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",b.lineHeight,"1.6"),ht=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",b.textTransform,"uppercase"),dt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",g),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",b.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",b.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",b.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",b.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",b.textTransform,"uppercase")},ut=e.css`
31
31
  .ft-typography--title {
32
32
  font-family: ${m};
33
33
  font-size: ${v};
34
34
  font-weight: ${x};
35
35
  letter-spacing: ${O};
36
- line-height: ${N};
37
- text-transform: ${w};
36
+ line-height: ${w};
37
+ text-transform: ${N};
38
38
  }
39
39
  `,yt=e.css`
40
40
  .ft-typography--title-dense {
@@ -52,14 +52,14 @@
52
52
  font-weight: ${L};
53
53
  letter-spacing: ${W};
54
54
  line-height: ${z};
55
- text-transform: ${K};
55
+ text-transform: ${A};
56
56
  }
57
57
  `,bt=e.css`
58
58
  .ft-typography--subtitle2 {
59
59
  font-family: ${B};
60
- font-size: ${A};
61
- font-weight: ${Z};
62
- letter-spacing: ${D};
60
+ font-size: ${K};
61
+ font-weight: ${D};
62
+ letter-spacing: ${Z};
63
63
  line-height: ${F};
64
64
  text-transform: ${T};
65
65
  }
@@ -97,19 +97,19 @@
97
97
  font-size: ${et};
98
98
  font-weight: ${it};
99
99
  letter-spacing: ${rt};
100
- line-height: ${at};
101
- text-transform: ${nt};
100
+ line-height: ${nt};
101
+ text-transform: ${at};
102
102
  }
103
- `,Nt=e.css`
103
+ `,wt=e.css`
104
104
  .ft-typography--overline {
105
105
  font-family: ${lt};
106
106
  font-size: ${st};
107
107
  font-weight: ${ct};
108
- letter-spacing: ${pt};
109
- line-height: ${ft};
108
+ letter-spacing: ${ft};
109
+ line-height: ${pt};
110
110
  text-transform: ${ht};
111
111
  }
112
- `,wt=e.css`
112
+ `,Nt=e.css`
113
113
  .ft-typography--button {
114
114
  font-family: ${dt.fontFamily};
115
115
  font-size: ${dt.fontSize};
@@ -243,7 +243,7 @@
243
243
  opacity: ${kt.opacityContentOnSurfacePressed};
244
244
  transform: translate(-50%, -50%) scale(1);
245
245
  }
246
- `,Kt={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Bt=e.css`
246
+ `,At={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Bt=e.css`
247
247
  :host {
248
248
  line-height: 0;
249
249
  }
@@ -252,8 +252,8 @@
252
252
  display: inline-block;
253
253
  position: relative;
254
254
 
255
- width: ${Kt.size};
256
- height: ${Kt.size};
255
+ width: ${At.size};
256
+ height: ${At.size};
257
257
  }
258
258
 
259
259
  .ft-loader div {
@@ -262,7 +262,7 @@
262
262
  width: 25%;
263
263
  height: 25%;
264
264
  border-radius: 50%;
265
- background: ${Kt.color};
265
+ background: ${At.color};
266
266
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
267
267
  }
268
268
 
@@ -309,10 +309,10 @@
309
309
  transform: translate(0, 0);
310
310
  }
311
311
  100% {
312
- transform: translate(calc(0.35 * ${Kt.size}), 0);
312
+ transform: translate(calc(0.35 * ${At.size}), 0);
313
313
  }
314
314
  }
315
- `,At={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Zt=e.css`
315
+ `,Kt={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Dt=e.css`
316
316
  :host, i.ft-icon {
317
317
  display: inline-flex;
318
318
  align-items: center;
@@ -321,14 +321,14 @@
321
321
  }
322
322
 
323
323
  :host {
324
- width: ${At.size};
325
- height: ${At.size};
324
+ width: ${Kt.size};
325
+ height: ${Kt.size};
326
326
  }
327
327
 
328
328
  i.ft-icon {
329
329
  width: 100%;
330
330
  height: 100%;
331
- font-size: ${At.size};
331
+ font-size: ${Kt.size};
332
332
  line-height: 1;
333
333
  font-weight: normal;
334
334
  text-transform: none;
@@ -339,28 +339,28 @@
339
339
  text-rendering: auto;
340
340
  -webkit-font-smoothing: antialiased;
341
341
  -moz-osx-font-smoothing: grayscale;
342
- vertical-align: ${At.verticalAlign};
342
+ vertical-align: ${Kt.verticalAlign};
343
343
  }
344
344
 
345
345
  i.ft-icon.ft-icon--fluid-topics {
346
- font-family: ${At.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
346
+ font-family: ${Kt.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
347
347
 
348
348
  /* Ugly fix because font is broken */
349
- font-size: calc(0.75 * ${At.size});
350
- line-height: ${At.size};
349
+ font-size: calc(0.75 * ${Kt.size});
350
+ line-height: ${Kt.size};
351
351
  position: relative;
352
352
  top: -4%;
353
353
  justify-content: center;
354
354
  }
355
355
 
356
356
  .ft-icon--file-format {
357
- font-family: ${At.fileFormatFontFamily}, ft-mime, sans-serif;
357
+ font-family: ${Kt.fileFormatFontFamily}, ft-mime, sans-serif;
358
358
  }
359
359
 
360
360
  .ft-icon--material {
361
- font-family: ${At.materialFontFamily}, "Material Icons", sans-serif;
361
+ font-family: ${Kt.materialFontFamily}, "Material Icons", sans-serif;
362
362
  }
363
- `,Dt=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Ft={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Dt,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",dt.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Dt),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},Tt=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Ht={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:Tt,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Tt)},Pt=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),jt=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Mt=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),_t=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),Gt=[e.css`
363
+ `,Zt=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Ft={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Zt,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",dt.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Zt),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},Tt=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Ht={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:Tt,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Tt)},Pt=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),jt=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Mt=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),_t=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),Gt=[e.css`
364
364
  :host {
365
365
  display: inline-block;
366
366
  max-width: 100%;
@@ -402,7 +402,7 @@
402
402
 
403
403
  --ft-button-internal-line-height: max(calc(${Ft.fontSize} + 2px), ${Ft.iconSize});
404
404
  --ft-button-internal-color: ${Ft.color};
405
- ${o.setVariable(At.size,Ft.iconSize)};
405
+ ${o.setVariable(Kt.size,Ft.iconSize)};
406
406
  ${o.setVariable(kt.color,Ft.rippleColor)};
407
407
 
408
408
  border-radius: ${Ft.borderRadius};
@@ -494,8 +494,8 @@
494
494
  }
495
495
 
496
496
  ft-loader {
497
- ${o.setVariable(Kt.size,Ft.iconSize)};
498
- ${o.setVariable(Kt.color,"var(--ft-button-internal-color)")};
497
+ ${o.setVariable(At.size,Ft.iconSize)};
498
+ ${o.setVariable(At.color,"var(--ft-button-internal-color)")};
499
499
  }
500
500
  `,o.noTextSelect],Vt=o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),Yt=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurface,"Design system"),qt=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceMedium,"Design system"),Xt=o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),Jt=o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),Qt=o.FtCssVariableFactory.external(o.designSystemVariables.transitionDuration,"Design system"),to=o.FtCssVariableFactory.external(o.designSystemVariables.transitionTimingFunction,"Design system"),oo=[xt,e.css`
501
501
  :host {
@@ -670,43 +670,43 @@
670
670
  align-items: center;
671
671
  }
672
672
  `,ro=e.css`
673
- `,ao=e.css`
674
- `,no=o.FtReduxStore.get({name:"ft-app-info",reducers:{setBaseUrl:(t,o)=>{t.baseUrl=o.payload},setApiIntegrationIdentifier:(t,o)=>{t.apiIntegrationIdentifier=o.payload},setUiLocale:(t,o)=>{t.uiLocale=o.payload},setAvailableUiLocales:(t,o)=>{t.availableUiLocales=o.payload},setEditorMode:(t,o)=>{t.editorMode=o.payload},setNoCustom:(t,o)=>{t.noCustom=o.payload},setNoCustomComponent:(t,o)=>{t.noCustomComponent=o.payload},setSession:(t,o)=>{t.session=o.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class lo{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=no.getState(),i=null!=t?t:e;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static get(t){var o;return null!=t?lo.build(t):null!==(o=lo.API)&&void 0!==o?o:lo.API=lo.build()}static await(t){return new Promise((o=>{let e=lo.get(t);if(e)o(e);else{const i=no.subscribe((()=>{e=lo.get(t),e&&(i(),o(e))}))}}))}}var so;const co=Symbol("clearAfterUnitTest");class po{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={},this.currentUiLocale="",this[so]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=no.getState().uiLocale,no.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=no.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var i;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...e};o.deepEqual(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...i){var r,a,n;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(a=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==a?a:{};return new o.ParametrizedLabelResolver(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},l).resolve(e,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>o.delay(0).then((()=>t())).catch((()=>null)))))}}so=co,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new po((async(t,o)=>(await lo.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new po((async(t,o)=>(await lo.await()).getCustomMessageContext(t,o))));const fo=window.FluidTopicsI18nService,ho=window.FluidTopicsCustomI18nService;var uo=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class yo extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>lo.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
673
+ `,no=e.css`
674
+ `,ao=o.FtReduxStore.get({name:"ft-app-info",reducers:{setBaseUrl:(t,o)=>{t.baseUrl=o.payload},setApiIntegrationIdentifier:(t,o)=>{t.apiIntegrationIdentifier=o.payload},setUiLocale:(t,o)=>{t.uiLocale=o.payload},setAvailableUiLocales:(t,o)=>{t.availableUiLocales=o.payload},setEditorMode:(t,o)=>{t.editorMode=o.payload},setNoCustom:(t,o)=>{t.noCustom=o.payload},setNoCustomComponent:(t,o)=>{t.noCustomComponent=o.payload},setSession:(t,o)=>{t.session=o.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class lo{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=ao.getState(),i=null!=t?t:e;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static get(t){var o;return null!=t?lo.build(t):null!==(o=lo.API)&&void 0!==o?o:lo.API=lo.build()}static await(t){return new Promise((o=>{let e=lo.get(t);if(e)o(e);else{const i=ao.subscribe((()=>{e=lo.get(t),e&&(i(),o(e))}))}}))}}var so;const co=Symbol("clearAfterUnitTest");class fo{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={},this.currentUiLocale="",this[so]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=ao.getState().uiLocale,ao.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=ao.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var i;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...e};o.deepEqual(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...i){var r,n,a;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(n=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==n?n:{};return new o.ParametrizedLabelResolver(null!==(a=this.defaultMessages[t])&&void 0!==a?a:{},l).resolve(e,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>o.delay(0).then((()=>t())).catch((()=>null)))))}}so=co,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new fo((async(t,o)=>(await lo.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new fo((async(t,o)=>(await lo.await()).getCustomMessageContext(t,o))));const po=window.FluidTopicsI18nService,ho=window.FluidTopicsCustomI18nService;var uo=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class yo extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>lo.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
675
675
  <slot></slot>
676
- `}update(t){super.update(t),t.has("baseUrl")&&no.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&no.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&no.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&no.actions.setNoCustom(this.noCustom),t.has("editorMode")&&no.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&no.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&no.actions.setSession(this.session),t.has("availableUiLocales")&&no.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>fo.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const o=await t.getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),o.idleTimeoutInMillis),o}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}yo.elementDefinitions={},yo.styles=ao,uo([r.property()],yo.prototype,"baseUrl",void 0),uo([r.property()],yo.prototype,"apiIntegrationIdentifier",void 0),uo([r.property()],yo.prototype,"uiLocale",void 0),uo([o.jsonProperty([])],yo.prototype,"availableUiLocales",void 0),uo([r.property({type:Boolean})],yo.prototype,"editorMode",void 0),uo([r.property({type:Boolean})],yo.prototype,"noCustom",void 0),uo([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],yo.prototype,"noCustomComponent",void 0),uo([r.property({type:Boolean})],yo.prototype,"withManualResources",void 0),uo([o.jsonProperty([])],yo.prototype,"messageContexts",void 0),uo([o.jsonProperty(void 0)],yo.prototype,"session",void 0),uo([r.property({type:Object})],yo.prototype,"apiProvider",void 0);class go{async listMySearches(){var t;return(null===(t=no.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await lo.await()).listMySearches(no.getState().session.profile.userId):[]}}const bo=new o.CacheRegistry;class mo{async listMyBookmarks(){return bo.get("bookmarks",(async()=>(await lo.await()).listMyBookmarks(no.getState().session.profile.userId)))}clearCache(){bo.clear("bookmarks")}}const vo=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=no.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new mo,no.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=no.getState();o.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){vo.actions.savedSearches(void 0)}clearMyBookmarks(){vo.actions.bookmarks(void 0)}async reloadMySearches(){const t=new go,o=await t.listMySearches();vo.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;vo.actions.bookmarks(o)}}},o.customElement("ft-app-context")(yo);var xo=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};const Oo=Symbol("i18nProperties"),No=Symbol("i18nUnsubs");function wo(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?ho:fo}i18n(t,o,...e){var i;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const r=null!==(i=t.args)&&void 0!==i?i:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...r)}onI18nUpdate(t){var o;null===(o=this[Oo])||void 0===o||o.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var o;super.update(t),null===(o=this[Oo])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Oo]&&new Set([...this[Oo].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[No].has(t)||this[No].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages(t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[No].forEach((t=>t())),this[No].clear()}}return o=No,xo([r.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class So extends(wo(o.FtLitElement)){}class $o extends(wo(o.FtLitElementRedux)){}var Co,ko,Io,Eo,Ro,Uo,Lo,Wo,zo,Ko,Bo,Ao,Zo,Do,Fo=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class To extends $o{constructor(){super(),this.editorMode=!1,this.addStore(no)}render(){return this.key&&this.context?e.html`
676
+ `}update(t){super.update(t),t.has("baseUrl")&&ao.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&ao.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&ao.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&ao.actions.setNoCustom(this.noCustom),t.has("editorMode")&&ao.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&ao.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&ao.actions.setSession(this.session),t.has("availableUiLocales")&&ao.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>po.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const o=await t.getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),o.idleTimeoutInMillis),o}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}yo.elementDefinitions={},yo.styles=no,uo([r.property()],yo.prototype,"baseUrl",void 0),uo([r.property()],yo.prototype,"apiIntegrationIdentifier",void 0),uo([r.property()],yo.prototype,"uiLocale",void 0),uo([o.jsonProperty([])],yo.prototype,"availableUiLocales",void 0),uo([r.property({type:Boolean})],yo.prototype,"editorMode",void 0),uo([r.property({type:Boolean})],yo.prototype,"noCustom",void 0),uo([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],yo.prototype,"noCustomComponent",void 0),uo([r.property({type:Boolean})],yo.prototype,"withManualResources",void 0),uo([o.jsonProperty([])],yo.prototype,"messageContexts",void 0),uo([o.jsonProperty(void 0)],yo.prototype,"session",void 0),uo([r.property({type:Object})],yo.prototype,"apiProvider",void 0);class go{async listMySearches(){var t;return(null===(t=ao.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await lo.await()).listMySearches(ao.getState().session.profile.userId):[]}}const bo=new o.CacheRegistry;class mo{async listMyBookmarks(){return bo.get("bookmarks",(async()=>(await lo.await()).listMyBookmarks(ao.getState().session.profile.userId)))}clearCache(){bo.clear("bookmarks")}}const vo=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=ao.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new mo,ao.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=ao.getState();o.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){vo.actions.savedSearches(void 0)}clearMyBookmarks(){vo.actions.bookmarks(void 0)}async reloadMySearches(){const t=new go,o=await t.listMySearches();vo.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;vo.actions.bookmarks(o)}}},o.customElement("ft-app-context")(yo);var xo=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Oo=Symbol("i18nProperties"),wo=Symbol("i18nUnsubs");function No(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?ho:po}i18n(t,o,...e){var i;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const r=null!==(i=t.args)&&void 0!==i?i:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...r)}onI18nUpdate(t){var o;null===(o=this[Oo])||void 0===o||o.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var o;super.update(t),null===(o=this[Oo])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Oo]&&new Set([...this[Oo].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[wo].has(t)||this[wo].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages(t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[wo].forEach((t=>t())),this[wo].clear()}}return o=wo,xo([r.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class So extends(No(o.FtLitElement)){}class $o extends(No(o.FtLitElementRedux)){}var Co,ko,Io,Eo,Ro,Uo,Lo,Wo,zo,Ao,Bo,Ko,Do,Zo,Fo=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class To extends $o{constructor(){super(),this.editorMode=!1,this.addStore(ao)}render(){return this.key&&this.context?e.html`
677
677
  <span class="ft-i18n">
678
678
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
679
679
  </span>
680
- `:this.editorMode?"Select a context and a label key.":e.nothing}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}To.elementDefinitions={},To.styles=ro,Fo([o.redux()],To.prototype,"editorMode",void 0),Fo([r.property()],To.prototype,"context",void 0),Fo([r.property()],To.prototype,"key",void 0),Fo([o.jsonProperty([])],To.prototype,"args",void 0),Fo([r.property()],To.prototype,"defaultMessage",void 0);class Ho{static build(t){return new Ho(t)}static fromGwt(t){return new Ho(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>fo.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(To),function(t){!function(o){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function a(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function n(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function s(t){this.map={},t instanceof s?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function p(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function f(t){var o=new FileReader,e=p(o);return o.readAsArrayBuffer(t),e}function h(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=h(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t,o,e,i=c(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=p(o),o.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),i=0;i<o.length;i++)e[i]=String.fromCharCode(o[i]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(t,o){t=a(t),o=n(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},s.prototype.delete=function(t){delete this.map[a(t)]},s.prototype.get=function(t){return t=a(t),this.has(t)?this.map[t]:null},s.prototype.has=function(t){return this.map.hasOwnProperty(a(t))},s.prototype.set=function(t,o){this.map[a(t)]=n(o)},s.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},s.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},s.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},s.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,o){var e,i,r=(o=o||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new s(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new s(o.headers)),this.method=(e=o.method||this.method||"GET",i=e.toUpperCase(),u.indexOf(i)>-1?i:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function g(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),i=e.shift().replace(/\+/g," "),r=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(i),decodeURIComponent(r))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new s(o.headers),this.url=o.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},d.call(y.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function v(t,i){return new Promise((function(r,a){var n=new y(t,i);if(n.signal&&n.signal.aborted)return a(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function c(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new s,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),i=e.shift().trim();if(i){var r=e.join(":").trim();o.append(i,r)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var i="response"in l?l.response:l.responseText;r(new b(i,e))},l.onerror=function(){a(new TypeError("Network request failed"))},l.ontimeout=function(){a(new TypeError("Network request failed"))},l.onabort=function(){a(new o.DOMException("Aborted","AbortError"))},l.open(n.method,n.url,!0),"include"===n.credentials?l.withCredentials=!0:"omit"===n.credentials&&(l.withCredentials=!1),"responseType"in l&&e.blob&&(l.responseType="blob"),n.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),n.signal&&(n.signal.addEventListener("abort",c),l.onreadystatechange=function(){4===l.readyState&&n.signal.removeEventListener("abort",c)}),l.send(void 0===n._bodyInit?null:n._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=s,t.Request=y,t.Response=b),o.Headers=s,o.Request=y,o.Response=b,o.fetch=v,Object.defineProperty(o,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Co||(Co={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(ko||(ko={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(Io||(Io={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Eo||(Eo={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Ro||(Ro={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Uo||(Uo={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Lo||(Lo={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Wo||(Wo={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(zo||(zo={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Ko||(Ko={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Bo||(Bo={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Ao||(Ao={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(Zo||(Zo={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(Do||(Do={})),Do.PERSONAL_BOOK_SHARE_USER,Do.PERSONAL_BOOK_USER,Do.HTML_EXPORT_USER,Do.PERSONAL_BOOK_USER,Do.PDF_EXPORT_USER,Do.PERSONAL_BOOK_USER,Do.KHUB_ADMIN,Do.CONTENT_PUBLISHER,Do.ADMIN,Do.KHUB_ADMIN,Do.USERS_ADMIN,Do.PORTAL_ADMIN,Do.DEVELOPER,Do.BETA_USER,Do.DEBUG_USER;class Po extends Event{constructor(){super(Po.eventName)}}Po.eventName="search-context-clear-all-filters";var jo=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Mo extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const _o=Symbol("registerInterval");class Go extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[_o]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[_o]):this.dispatchEvent(new Mo)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=_o,jo([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}
680
+ `:this.editorMode?"Select a context and a label key.":e.nothing}update(t){var o;super.update(t),this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}To.elementDefinitions={},To.styles=ro,Fo([o.redux()],To.prototype,"editorMode",void 0),Fo([r.property()],To.prototype,"context",void 0),Fo([r.property()],To.prototype,"key",void 0),Fo([o.jsonProperty([])],To.prototype,"args",void 0),Fo([r.property()],To.prototype,"defaultMessage",void 0);class Ho{static build(t){return new Ho(t)}static fromGwt(t){return new Ho(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>po.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(To),function(t){!function(o){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function s(t){this.map={},t instanceof s?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function p(t){var o=new FileReader,e=f(o);return o.readAsArrayBuffer(t),e}function h(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=h(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var t,o,e,i=c(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=f(o),o.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),i=0;i<o.length;i++)e[i]=String.fromCharCode(o[i]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},s.prototype.delete=function(t){delete this.map[n(t)]},s.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},s.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},s.prototype.set=function(t,o){this.map[n(t)]=a(o)},s.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},s.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},s.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},s.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,o){var e,i,r=(o=o||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new s(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new s(o.headers)),this.method=(e=o.method||this.method||"GET",i=e.toUpperCase(),u.indexOf(i)>-1?i:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function g(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),i=e.shift().replace(/\+/g," "),r=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(i),decodeURIComponent(r))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new s(o.headers),this.url=o.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},d.call(y.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function v(t,i){return new Promise((function(r,n){var a=new y(t,i);if(a.signal&&a.signal.aborted)return n(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function c(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new s,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),i=e.shift().trim();if(i){var r=e.join(":").trim();o.append(i,r)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var i="response"in l?l.response:l.responseText;r(new b(i,e))},l.onerror=function(){n(new TypeError("Network request failed"))},l.ontimeout=function(){n(new TypeError("Network request failed"))},l.onabort=function(){n(new o.DOMException("Aborted","AbortError"))},l.open(a.method,a.url,!0),"include"===a.credentials?l.withCredentials=!0:"omit"===a.credentials&&(l.withCredentials=!1),"responseType"in l&&e.blob&&(l.responseType="blob"),a.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",c),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",c)}),l.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=s,t.Request=y,t.Response=b),o.Headers=s,o.Request=y,o.Response=b,o.fetch=v,Object.defineProperty(o,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Co||(Co={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(ko||(ko={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(Io||(Io={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Eo||(Eo={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Ro||(Ro={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Uo||(Uo={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Lo||(Lo={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Wo||(Wo={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(zo||(zo={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Ao||(Ao={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Bo||(Bo={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Ko||(Ko={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(Do||(Do={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(Zo||(Zo={})),Zo.PERSONAL_BOOK_SHARE_USER,Zo.PERSONAL_BOOK_USER,Zo.HTML_EXPORT_USER,Zo.PERSONAL_BOOK_USER,Zo.PDF_EXPORT_USER,Zo.PERSONAL_BOOK_USER,Zo.KHUB_ADMIN,Zo.CONTENT_PUBLISHER,Zo.ADMIN,Zo.KHUB_ADMIN,Zo.USERS_ADMIN,Zo.PORTAL_ADMIN,Zo.DEVELOPER,Zo.BETA_USER,Zo.DEBUG_USER;class Po extends Event{constructor(){super(Po.eventName)}}Po.eventName="search-context-clear-all-filters";var jo=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Mo extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const _o=Symbol("registerInterval");class Go extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[_o]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[_o]):this.dispatchEvent(new Mo)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=_o,jo([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}
681
681
  /**
682
682
  * @license
683
683
  * Copyright 2017 Google LLC
684
684
  * SPDX-License-Identifier: BSD-3-Clause
685
- */const Vo=globalThis,Yo=Vo.trustedTypes,qo=Yo?Yo.createPolicy("lit-html",{createHTML:t=>t}):void 0,Xo="$lit$",Jo=`lit$${(Math.random()+"").slice(9)}$`,Qo="?"+Jo,te=`<${Qo}>`,oe=document,ee=()=>oe.createComment(""),ie=t=>null===t||"object"!=typeof t&&"function"!=typeof t,re=Array.isArray,ae="[ \t\n\f\r]",ne=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,le=/-->/g,se=/>/g,ce=RegExp(`>|${ae}(?:([^\\s"'>=/]+)(${ae}*=${ae}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),pe=/'/g,fe=/"/g,he=/^(?:script|style|textarea|title)$/i,de=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),ue=Symbol.for("lit-noChange"),ye=Symbol.for("lit-nothing"),ge=new WeakMap,be=oe.createTreeWalker(oe,129);function me(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==qo?qo.createHTML(o):o}const ve=(t,o)=>{const e=t.length-1,i=[];let r,a=2===o?"<svg>":"",n=ne;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,p=0;for(;p<e.length&&(n.lastIndex=p,s=n.exec(e),null!==s);)p=n.lastIndex,n===ne?"!--"===s[1]?n=le:void 0!==s[1]?n=se:void 0!==s[2]?(he.test(s[2])&&(r=RegExp("</"+s[2],"g")),n=ce):void 0!==s[3]&&(n=ce):n===ce?">"===s[0]?(n=r??ne,c=-1):void 0===s[1]?c=-2:(c=n.lastIndex-s[2].length,l=s[1],n=void 0===s[3]?ce:'"'===s[3]?fe:pe):n===fe||n===pe?n=ce:n===le||n===se?n=ne:(n=ce,r=void 0);const f=n===ce&&t[o+1].startsWith("/>")?" ":"";a+=n===ne?e+te:c>=0?(i.push(l),e.slice(0,c)+Xo+e.slice(c)+Jo+f):e+Jo+(-2===c?o:f)}return[me(t,a+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class xe{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,a=0;const n=t.length-1,l=this.parts,[s,c]=ve(t,o);if(this.el=xe.createElement(s,e),be.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=be.nextNode())&&l.length<n;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Xo)){const o=c[a++],e=i.getAttribute(t).split(Jo),n=/([.?@])?(.*)/.exec(o);l.push({type:1,index:r,name:n[2],strings:e,ctor:"."===n[1]?$e:"?"===n[1]?Ce:"@"===n[1]?ke:Se}),i.removeAttribute(t)}else t.startsWith(Jo)&&(l.push({type:6,index:r}),i.removeAttribute(t));if(he.test(i.tagName)){const t=i.textContent.split(Jo),o=t.length-1;if(o>0){i.textContent=Yo?Yo.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],ee()),be.nextNode(),l.push({type:2,index:++r});i.append(t[o],ee())}}}else if(8===i.nodeType)if(i.data===Qo)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Jo,t+1));)l.push({type:7,index:r}),t+=Jo.length-1}r++}}static createElement(t,o){const e=oe.createElement("template");return e.innerHTML=t,e}}function Oe(t,o,e=t,i){if(o===ue)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const a=ie(o)?void 0:o._$litDirective$;return r?.constructor!==a&&(r?._$AO?.(!1),void 0===a?r=void 0:(r=new a(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=Oe(t,r._$AS(t,o.values),r,i)),o}class Ne{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??oe).importNode(o,!0);be.currentNode=i;let r=be.nextNode(),a=0,n=0,l=e[0];for(;void 0!==l;){if(a===l.index){let o;2===l.type?o=new we(r,r.nextSibling,this,t):1===l.type?o=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(o=new Ie(r,this,t)),this._$AV.push(o),l=e[++n]}a!==l?.index&&(r=be.nextNode(),a++)}return be.currentNode=oe,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class we{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=ye,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Oe(this,t,o),ie(t)?t===ye||null==t||""===t?(this._$AH!==ye&&this._$AR(),this._$AH=ye):t!==this._$AH&&t!==ue&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>re(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ye&&ie(this._$AH)?this._$AA.nextSibling.data=t:this.$(oe.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=xe.createElement(me(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new Ne(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=ge.get(t.strings);return void 0===o&&ge.set(t.strings,o=new xe(t)),o}T(t){re(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new we(this.k(ee()),this.k(ee()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class Se{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=ye,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=ye}_$AI(t,o=this,e,i){const r=this.strings;let a=!1;if(void 0===r)t=Oe(this,t,o,0),a=!ie(t)||t!==this._$AH&&t!==ue,a&&(this._$AH=t);else{const i=t;let n,l;for(t=r[0],n=0;n<r.length-1;n++)l=Oe(this,i[e+n],o,n),l===ue&&(l=this._$AH[n]),a||=!ie(l)||l!==this._$AH[n],l===ye?t=ye:t!==ye&&(t+=(l??"")+r[n+1]),this._$AH[n]=l}a&&!i&&this.O(t)}O(t){t===ye?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class $e extends Se{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ye?void 0:t}}class Ce extends Se{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ye)}}class ke extends Se{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=Oe(this,t,o,0)??ye)===ue)return;const e=this._$AH,i=t===ye&&e!==ye||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==ye&&(e===ye||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class Ie{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Oe(this,t)}}const Ee=Vo.litHtmlPolyfillSupport;Ee?.(xe,we),(Vo.litHtmlVersions??=[]).push("3.1.0");
685
+ */const Vo=globalThis,Yo=Vo.trustedTypes,qo=Yo?Yo.createPolicy("lit-html",{createHTML:t=>t}):void 0,Xo="$lit$",Jo=`lit$${(Math.random()+"").slice(9)}$`,Qo="?"+Jo,te=`<${Qo}>`,oe=document,ee=()=>oe.createComment(""),ie=t=>null===t||"object"!=typeof t&&"function"!=typeof t,re=Array.isArray,ne="[ \t\n\f\r]",ae=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,le=/-->/g,se=/>/g,ce=RegExp(`>|${ne}(?:([^\\s"'>=/]+)(${ne}*=${ne}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),fe=/'/g,pe=/"/g,he=/^(?:script|style|textarea|title)$/i,de=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),ue=Symbol.for("lit-noChange"),ye=Symbol.for("lit-nothing"),ge=new WeakMap,be=oe.createTreeWalker(oe,129);function me(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==qo?qo.createHTML(o):o}const ve=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=ae;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,s=a.exec(e),null!==s);)f=a.lastIndex,a===ae?"!--"===s[1]?a=le:void 0!==s[1]?a=se:void 0!==s[2]?(he.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=ce):void 0!==s[3]&&(a=ce):a===ce?">"===s[0]?(a=r??ae,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?ce:'"'===s[3]?pe:fe):a===pe||a===fe?a=ce:a===le||a===se?a=ae:(a=ce,r=void 0);const p=a===ce&&t[o+1].startsWith("/>")?" ":"";n+=a===ae?e+te:c>=0?(i.push(l),e.slice(0,c)+Xo+e.slice(c)+Jo+p):e+Jo+(-2===c?o:p)}return[me(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class xe{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[s,c]=ve(t,o);if(this.el=xe.createElement(s,e),be.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=be.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Xo)){const o=c[n++],e=i.getAttribute(t).split(Jo),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?$e:"?"===a[1]?Ce:"@"===a[1]?ke:Se}),i.removeAttribute(t)}else t.startsWith(Jo)&&(l.push({type:6,index:r}),i.removeAttribute(t));if(he.test(i.tagName)){const t=i.textContent.split(Jo),o=t.length-1;if(o>0){i.textContent=Yo?Yo.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],ee()),be.nextNode(),l.push({type:2,index:++r});i.append(t[o],ee())}}}else if(8===i.nodeType)if(i.data===Qo)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Jo,t+1));)l.push({type:7,index:r}),t+=Jo.length-1}r++}}static createElement(t,o){const e=oe.createElement("template");return e.innerHTML=t,e}}function Oe(t,o,e=t,i){if(o===ue)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=ie(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=Oe(t,r._$AS(t,o.values),r,i)),o}class we{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??oe).importNode(o,!0);be.currentNode=i;let r=be.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new Ne(r,r.nextSibling,this,t):1===l.type?o=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(o=new Ie(r,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(r=be.nextNode(),n++)}return be.currentNode=oe,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class Ne{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=ye,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Oe(this,t,o),ie(t)?t===ye||null==t||""===t?(this._$AH!==ye&&this._$AR(),this._$AH=ye):t!==this._$AH&&t!==ue&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>re(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ye&&ie(this._$AH)?this._$AA.nextSibling.data=t:this.$(oe.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=xe.createElement(me(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new we(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=ge.get(t.strings);return void 0===o&&ge.set(t.strings,o=new xe(t)),o}T(t){re(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new Ne(this.k(ee()),this.k(ee()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class Se{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=ye,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=ye}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=Oe(this,t,o,0),n=!ie(t)||t!==this._$AH&&t!==ue,n&&(this._$AH=t);else{const i=t;let a,l;for(t=r[0],a=0;a<r.length-1;a++)l=Oe(this,i[e+a],o,a),l===ue&&(l=this._$AH[a]),n||=!ie(l)||l!==this._$AH[a],l===ye?t=ye:t!==ye&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}n&&!i&&this.O(t)}O(t){t===ye?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class $e extends Se{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ye?void 0:t}}class Ce extends Se{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ye)}}class ke extends Se{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=Oe(this,t,o,0)??ye)===ue)return;const e=this._$AH,i=t===ye&&e!==ye||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==ye&&(e===ye||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class Ie{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Oe(this,t)}}const Ee=Vo.litHtmlPolyfillSupport;Ee?.(xe,Ne),(Vo.litHtmlVersions??=[]).push("3.1.0");
686
686
  /**
687
687
  * @license
688
688
  * Copyright 2020 Google LLC
689
689
  * SPDX-License-Identifier: BSD-3-Clause
690
690
  */
691
- const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$litStatic$:t,r:Re}),We=new Map,ze=(t=>(o,...e)=>{const i=e.length;let r,a;const n=[],l=[];let s,c=0,p=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(a=e[c],r=Ue(a));)s+=r+o[++c],p=!0;c!==i&&l.push(a),n.push(s),c++}if(c===i&&n.push(o[i]),p){const t=n.join("$$lit$$");void 0===(o=We.get(t))&&(n.raw=n,We.set(t,o=n)),e=l}return t(o,...e)})(de);var Ke;!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"}(Ke||(Ke={}));var Be=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ae extends o.FtLitElement{constructor(){super(...arguments),this.variant=Ke.body1}render(){return this.element?ze`
691
+ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$litStatic$:t,r:Re}),We=new Map,ze=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],l=[];let s,c=0,f=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(n=e[c],r=Ue(n));)s+=r+o[++c],f=!0;c!==i&&l.push(n),a.push(s),c++}if(c===i&&a.push(o[i]),f){const t=a.join("$$lit$$");void 0===(o=We.get(t))&&(a.raw=a,We.set(t,o=a)),e=l}return t(o,...e)})(de);var Ae;!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"}(Ae||(Ae={}));var Be=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ke extends o.FtLitElement{constructor(){super(...arguments),this.variant=Ae.body1}render(){return this.element?ze`
692
692
  <${Le(this.element)}
693
693
  class="ft-typography ft-typography--${this.variant}">
694
694
  <slot></slot>
695
695
  </${Le(this.element)}>
696
696
  `:ze`
697
697
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
698
- `}}Ae.styles=[ut,yt,gt,bt,mt,vt,xt,Ot,Nt,wt,St,...$t],Be([r.property()],Ae.prototype,"element",void 0),Be([r.property()],Ae.prototype,"variant",void 0),o.customElement("ft-typography")(Ae);var Ze=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class De extends o.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),a=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-a.x:a.width/2),this.originY=Math.round(null!=r?r-a.y:a.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
698
+ `}}Ke.styles=[ut,yt,gt,bt,mt,vt,xt,Ot,wt,Nt,St,...$t],Be([r.property()],Ke.prototype,"element",void 0),Be([r.property()],Ke.prototype,"variant",void 0),o.customElement("ft-typography")(Ke);var De=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ze extends o.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
699
699
  <style>
700
700
  .ft-ripple .ft-ripple--effect {
701
701
  left: ${this.originX}px;
702
702
  top: ${this.originY}px;
703
703
  }
704
704
  </style>
705
- <div class="${a.classMap(t)}">
705
+ <div class="${n.classMap(t)}">
706
706
  <div class="ft-ripple--background"></div>
707
707
  <div class="ft-ripple--effect"></div>
708
708
  </div>
709
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}De.elementDefinitions={},De.styles=zt,Ze([r.property({type:Boolean})],De.prototype,"primary",void 0),Ze([r.property({type:Boolean})],De.prototype,"secondary",void 0),Ze([r.property({type:Boolean})],De.prototype,"unbounded",void 0),Ze([r.property({type:Boolean})],De.prototype,"activated",void 0),Ze([r.property({type:Boolean})],De.prototype,"selected",void 0),Ze([r.property({type:Boolean})],De.prototype,"disabled",void 0),Ze([r.state()],De.prototype,"hovered",void 0),Ze([r.state()],De.prototype,"focused",void 0),Ze([r.state()],De.prototype,"pressed",void 0),Ze([r.state()],De.prototype,"rippling",void 0),Ze([r.state()],De.prototype,"originX",void 0),Ze([r.state()],De.prototype,"originY",void 0),Ze([r.query(".ft-ripple")],De.prototype,"ripple",void 0),Ze([r.query(".ft-ripple--effect")],De.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(De);var Fe,Te,He,Pe=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class je extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
709
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Ze.elementDefinitions={},Ze.styles=zt,De([r.property({type:Boolean})],Ze.prototype,"primary",void 0),De([r.property({type:Boolean})],Ze.prototype,"secondary",void 0),De([r.property({type:Boolean})],Ze.prototype,"unbounded",void 0),De([r.property({type:Boolean})],Ze.prototype,"activated",void 0),De([r.property({type:Boolean})],Ze.prototype,"selected",void 0),De([r.property({type:Boolean})],Ze.prototype,"disabled",void 0),De([r.state()],Ze.prototype,"hovered",void 0),De([r.state()],Ze.prototype,"focused",void 0),De([r.state()],Ze.prototype,"pressed",void 0),De([r.state()],Ze.prototype,"rippling",void 0),De([r.state()],Ze.prototype,"originX",void 0),De([r.state()],Ze.prototype,"originY",void 0),De([r.query(".ft-ripple")],Ze.prototype,"ripple",void 0),De([r.query(".ft-ripple--effect")],Ze.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Ze);const Fe=["start","end"],Te=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Fe[0],o+"-"+Fe[1])),[]),He=Math.min,Pe=Math.max,je=Math.round,Me=t=>({x:t,y:t}),_e={left:"right",right:"left",bottom:"top",top:"bottom"},Ge={start:"end",end:"start"};function Ve(t,o,e){return Pe(t,He(o,e))}function Ye(t,o){return"function"==typeof t?t(o):t}function qe(t){return t.split("-")[0]}function Xe(t){return t.split("-")[1]}function Je(t){return"x"===t?"y":"x"}function Qe(t){return"y"===t?"height":"width"}function ti(t){return["top","bottom"].includes(qe(t))?"y":"x"}function oi(t){return Je(ti(t))}function ei(t){return t.replace(/left|right|bottom|top/g,(t=>_e[t]))}function ii(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ri(t,o,e){let{reference:i,floating:r}=t;const n=ti(o),a=oi(o),l=Qe(a),s=qe(o),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,h=i[l]/2-r[l]/2;let d;switch(s){case"top":d={x:f,y:i.y-r.height};break;case"bottom":d={x:f,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:p};break;case"left":d={x:i.x-r.width,y:p};break;default:d={x:i.x,y:i.y}}switch(Xe(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function ni(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:d=0}=Ye(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=l[h?"floating"===p?"reference":"floating":p],g=ii(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.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)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=ii(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(g.top-x.top+u.top)/v.y,bottom:(x.bottom-g.bottom+u.bottom)/v.y,left:(g.left-x.left+u.left)/v.x,right:(x.right-g.right+u.right)/v.x}}function ai(t,o,e){return(t?[...e.filter((o=>Xe(o)===t)),...e.filter((o=>Xe(o)!==t))]:e.filter((t=>qe(t)===t))).filter((e=>!t||(Xe(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Ge[t]))}(e)!==e)))}const li=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:h=Te,autoAlignment:d=!0,...u}=Ye(t,o),y=void 0!==p||h===Te?ai(p||null,d,h):h,g=await ni(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const v=function(t,o,e){void 0===e&&(e=!1);const i=Xe(t),r=oi(t),n=Qe(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=ei(a)),[a,ei(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:y[0]}};const x=[g[qe(m)],g[v[0]],g[v[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:x}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const N=O.map((t=>{const o=Xe(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),S=N.filter((t=>t[2].slice(0,Xe(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=S[0])?void 0:r[0])||N[0][0];return $!==l?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function si(t){return pi(t)?(t.nodeName||"").toLowerCase():"#document"}function ci(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function fi(t){var o;return null==(o=(pi(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function pi(t){return t instanceof Node||t instanceof ci(t).Node}function hi(t){return t instanceof Element||t instanceof ci(t).Element}function di(t){return t instanceof HTMLElement||t instanceof ci(t).HTMLElement}function ui(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ci(t).ShadowRoot)}function yi(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=xi(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function gi(t){return["table","td","th"].includes(si(t))}function bi(t){const o=mi(),e=xi(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function mi(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function vi(t){return["html","body","#document"].includes(si(t))}function xi(t){return ci(t).getComputedStyle(t)}function Oi(t){return hi(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function wi(t){if("html"===si(t))return t;const o=t.assignedSlot||t.parentNode||ui(t)&&t.host||fi(t);return ui(o)?o.host:o}function Ni(t){const o=wi(t);return vi(o)?t.ownerDocument?t.ownerDocument.body:t.body:di(o)&&yi(o)?o:Ni(o)}function Si(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=Ni(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=ci(r);return n?o.concat(a,a.visualViewport||[],yi(r)?r:[],a.frameElement&&e?Si(a.frameElement):[]):o.concat(r,Si(r,[],e))}function $i(t){const o=xi(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=di(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,l=je(e)!==n||je(i)!==a;return l&&(e=n,i=a),{width:e,height:i,$:l}}function Ci(t){return hi(t)?t:t.contextElement}function ki(t){const o=Ci(t);if(!di(o))return Me(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=$i(o);let a=(n?je(e.width):e.width)/i,l=(n?je(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Ii=Me(0);function Ei(t){const o=ci(t);return mi()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Ii}function Ri(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=Ci(t);let a=Me(1);o&&(i?hi(i)&&(a=ki(i)):a=ki(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==ci(t))&&o}(n,e,i)?Ei(n):Me(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=ci(n),o=i&&hi(i)?ci(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=ki(e),o=e.getBoundingClientRect(),i=xi(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=r,c+=n,e=ci(e).frameElement}}return ii({width:f,height:p,x:s,y:c})}function Ui(t){return Ri(fi(t)).left+Oi(t).scrollLeft}function Li(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=ci(t),i=fi(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,l=0,s=0;if(r){n=r.width,a=r.height;const t=mi();(!t||t&&"fixed"===o)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)i=function(t){const o=fi(t),e=Oi(t),i=t.ownerDocument.body,r=Pe(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=Pe(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+Ui(t);const l=-e.scrollTop;return"rtl"===xi(i).direction&&(a+=Pe(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(fi(t));else if(hi(o))i=function(t,o){const e=Ri(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=di(t)?ki(t):Me(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=Ei(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return ii(i)}function Wi(t,o){const e=wi(t);return!(e===o||!hi(e)||vi(e))&&("fixed"===xi(e).position||Wi(e,o))}function zi(t,o,e){const i=di(o),r=fi(o),n="fixed"===e,a=Ri(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=Me(0);if(i||!i&&!n)if(("body"!==si(o)||yi(r))&&(l=Oi(o)),i){const t=Ri(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else r&&(s.x=Ui(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function Ai(t,o){return di(t)&&"fixed"!==xi(t).position?o?o(t):t.offsetParent:null}function Bi(t,o){const e=ci(t);if(!di(t))return e;let i=Ai(t,o);for(;i&&gi(i)&&"static"===xi(i).position;)i=Ai(i,o);return i&&("html"===si(i)||"body"===si(i)&&"static"===xi(i).position&&!bi(i))?e:i||function(t){let o=wi(t);for(;di(o)&&!vi(o);){if(bi(o))return o;o=wi(o)}return null}(t)||e}const Ki={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=di(e),n=fi(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Me(1);const s=Me(0);if((r||!r&&"fixed"!==i)&&(("body"!==si(e)||yi(n))&&(a=Oi(e)),di(e))){const t=Ri(e);l=ki(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:fi,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n="clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=Si(t,[],!1).filter((t=>hi(t)&&"body"!==si(t))),r=null;const n="fixed"===xi(t).position;let a=n?wi(t):t;for(;hi(a)&&!vi(a);){const o=xi(a),e=bi(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||yi(a)&&!e&&Wi(t,a))?i=i.filter((t=>t!==a)):r=o,a=wi(a)}return o.set(t,i),i}(o,this._c):[].concat(e),a=[...n,i],l=a[0],s=a.reduce(((t,e)=>{const i=Li(o,e,r);return t.top=Pe(i.top,t.top),t.right=He(i.right,t.right),t.bottom=He(i.bottom,t.bottom),t.left=Pe(i.left,t.left),t}),Li(o,l,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Bi,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||Bi,n=this.getDimensions;return{reference:zi(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return $i(t)},getScale:ki,isElement:hi,isRTL:function(t){return"rtl"===xi(t).direction}},Di=(t,o,e)=>{const i=new Map,r={platform:Ki,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:f,y:p}=ri(c,i,s),h=i,d={},u=0;for(let e=0;e<l.length;e++){const{name:n,fn:y}=l[e],{x:g,y:b,data:m,reset:v}=await y({x:f,y:p,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,p=null!=b?b:p,d={...d,[n]:{...d[n],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):v.rects),({x:f,y:p}=ri(c,h,s))),e=-1)}return{x:f,y:p,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};var Zi,Fi,Ti,Hi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Pi extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
710
710
  <div part="container"
711
711
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
712
712
  @mouseenter=${this.onHover}
@@ -724,21 +724,21 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
724
724
  </div>
725
725
  </div>
726
726
  </div>
727
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,i=(t.offsetHeight-e)/2,r=(t.offsetWidth-o)/2;let a=0,n=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":n=t.offsetTop-e-this.tooltip.offsetTop,a=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":n=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,a=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":n=t.offsetTop+i-this.tooltip.offsetTop,a=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":n=t.offsetTop+i-this.tooltip.offsetTop,a=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const s=this.tooltip.style;s.left=a+"px",s.top=n+"px";const c=this.tooltip.getBoundingClientRect();let p=-c.x,f=c.x+c.width-window.innerWidth;s.left=a+Math.round(this.correctOutOfWindowPixels(p,f))+"px";let h=-c.y,d=c.y+c.height-window.innerHeight;s.top=n+Math.round(this.correctOutOfWindowPixels(h,d))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${l.maxWidth})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}je.elementDefinitions={"ft-typography":Ae},je.styles=s,Pe([r.property()],je.prototype,"text",void 0),Pe([r.property({type:Boolean})],je.prototype,"manual",void 0),Pe([r.property({type:Boolean})],je.prototype,"inline",void 0),Pe([r.property({type:Number})],je.prototype,"delay",void 0),Pe([r.property()],je.prototype,"position",void 0),Pe([r.queryAssignedNodes()],je.prototype,"slotNodes",void 0),Pe([r.query(".ft-tooltip--container")],je.prototype,"container",void 0),Pe([r.query(".ft-tooltip")],je.prototype,"tooltip",void 0),Pe([r.query(".ft-tooltip--content")],je.prototype,"tooltipContent",void 0),Pe([r.state()],je.prototype,"visible",void 0),o.customElement("ft-tooltip")(je),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Fe||(Fe={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Te||(Te={})),new Map([...["abw"].map((t=>[t,Te.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Te.AUDIO])),...["avi"].map((t=>[t,Te.AVI])),...["chm","xhs"].map((t=>[t,Te.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Te.CODE])),...["csv"].map((t=>[t,Te.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Te.DITA])),...["epub"].map((t=>[t,Te.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Te.EXCEL])),...["flac"].map((t=>[t,Te.FLAC])),...["gif"].map((t=>[t,Te.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Te.GZIP])),...["html","htm","xhtml"].map((t=>[t,Te.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Te.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Te.JPEG])),...["json"].map((t=>[t,Te.JSON])),...["m4a","m4p"].map((t=>[t,Te.M4A])),...["mov","qt"].map((t=>[t,Te.MOV])),...["mp3"].map((t=>[t,Te.MP3])),...["mp4","m4v"].map((t=>[t,Te.MP4])),...["ogg","oga"].map((t=>[t,Te.OGG])),...["pdf","ps"].map((t=>[t,Te.PDF])),...["png"].map((t=>[t,Te.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Te.POWERPOINT])),...["rar"].map((t=>[t,Te.RAR])),...["stp"].map((t=>[t,Te.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Te.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Te.VIDEO])),...["wav"].map((t=>[t,Te.WAV])),...["wma"].map((t=>[t,Te.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Te.WORD])),...["xml","xsl","rdf"].map((t=>[t,Te.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Te.YAML])),...["zip"].map((t=>[t,Te.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(He||(He={}));var Me=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class _e extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(He).includes(this.variant)?this.variant:He.fluid_topics,o=t!==He.material||!!this.value;return e.html`
727
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Di(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:i,placement:r}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=Ye(t,o),c={x:e,y:i},f=await ni(o,s),p=ti(qe(r)),h=Je(p);let d=c[h],u=c[p];if(n){const t="y"===h?"bottom":"right";d=Ve(d+f["y"===h?"top":"left"],d,d-f[t])}if(a){const t="y"===p?"bottom":"right";u=Ve(u+f["y"===p?"top":"left"],u,u-f[t])}const y=l.fn({...o,[h]:d,[p]:u});return{...y,data:{x:y.x-e,y:y.y-i}}}}),li({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Pi.elementDefinitions={"ft-typography":Ke},Pi.styles=s,Hi([r.property()],Pi.prototype,"text",void 0),Hi([r.property({type:Boolean})],Pi.prototype,"manual",void 0),Hi([r.property({type:Boolean})],Pi.prototype,"inline",void 0),Hi([r.property({type:Number})],Pi.prototype,"delay",void 0),Hi([r.property()],Pi.prototype,"position",void 0),Hi([r.queryAssignedNodes()],Pi.prototype,"slotNodes",void 0),Hi([r.query(".ft-tooltip--container")],Pi.prototype,"container",void 0),Hi([r.query(".ft-tooltip")],Pi.prototype,"tooltip",void 0),Hi([r.query(".ft-tooltip--content")],Pi.prototype,"tooltipContent",void 0),Hi([r.state()],Pi.prototype,"visible",void 0),o.customElement("ft-tooltip")(Pi),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Zi||(Zi={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Fi||(Fi={})),new Map([...["abw"].map((t=>[t,Fi.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Fi.AUDIO])),...["avi"].map((t=>[t,Fi.AVI])),...["chm","xhs"].map((t=>[t,Fi.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Fi.CODE])),...["csv"].map((t=>[t,Fi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Fi.DITA])),...["epub"].map((t=>[t,Fi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Fi.EXCEL])),...["flac"].map((t=>[t,Fi.FLAC])),...["gif"].map((t=>[t,Fi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Fi.GZIP])),...["html","htm","xhtml"].map((t=>[t,Fi.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Fi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Fi.JPEG])),...["json"].map((t=>[t,Fi.JSON])),...["m4a","m4p"].map((t=>[t,Fi.M4A])),...["mov","qt"].map((t=>[t,Fi.MOV])),...["mp3"].map((t=>[t,Fi.MP3])),...["mp4","m4v"].map((t=>[t,Fi.MP4])),...["ogg","oga"].map((t=>[t,Fi.OGG])),...["pdf","ps"].map((t=>[t,Fi.PDF])),...["png"].map((t=>[t,Fi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Fi.POWERPOINT])),...["rar"].map((t=>[t,Fi.RAR])),...["stp"].map((t=>[t,Fi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Fi.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Fi.VIDEO])),...["wav"].map((t=>[t,Fi.WAV])),...["wma"].map((t=>[t,Fi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Fi.WORD])),...["xml","xsl","rdf"].map((t=>[t,Fi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Fi.YAML])),...["zip"].map((t=>[t,Fi.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ti||(Ti={}));var ji=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Mi extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Ti).includes(this.variant)?this.variant:Ti.fluid_topics,o=t!==Ti.material||!!this.value;return e.html`
728
728
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
729
- ${n.unsafeHTML(this.resolvedIcon)}
729
+ ${a.unsafeHTML(this.resolvedIcon)}
730
730
  <slot ?hidden=${o}></slot>
731
731
  </i>
732
- `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let i=this.value||this.textContent;switch(this.variant){case He.file_format:this.resolvedIcon=null!==(t=Te[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case He.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=Fe[i.replace("-","_").toUpperCase()])&&void 0!==o?o:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}_e.elementDefinitions={},_e.styles=Zt,Me([r.property()],_e.prototype,"variant",void 0),Me([r.property()],_e.prototype,"value",void 0),Me([r.state()],_e.prototype,"resolvedIcon",void 0),Me([r.query("slot")],_e.prototype,"slottedContent",void 0),o.customElement("ft-icon")(_e);class Ge extends o.FtLitElement{render(){return e.html`
732
+ `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let i=this.value||this.textContent;switch(this.variant){case Ti.file_format:this.resolvedIcon=null!==(t=Fi[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Ti.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=Zi[i.replace("-","_").toUpperCase()])&&void 0!==o?o:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Mi.elementDefinitions={},Mi.styles=Dt,ji([r.property()],Mi.prototype,"variant",void 0),ji([r.property()],Mi.prototype,"value",void 0),ji([r.state()],Mi.prototype,"resolvedIcon",void 0),ji([r.query("slot")],Mi.prototype,"slottedContent",void 0),o.customElement("ft-icon")(Mi);class _i extends o.FtLitElement{render(){return e.html`
733
733
  <div class="ft-loader">
734
734
  <div></div>
735
735
  <div></div>
736
736
  <div></div>
737
737
  <div></div>
738
738
  </div>
739
- `}}Ge.styles=Bt,o.customElement("ft-loader")(Ge);var Ve=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ye extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(e.html`
739
+ `}}_i.styles=Bt,o.customElement("ft-loader")(_i);var Gi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Vi extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(e.html`
740
740
  <button part="button"
741
- class="${a.classMap(this.buttonClasses)}"
741
+ class="${n.classMap(this.buttonClasses)}"
742
742
  aria-label="${this.getLabel()}"
743
743
  ?disabled=${this.isDisabled()}>
744
744
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
@@ -759,7 +759,7 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
759
759
  </ft-tooltip>
760
760
  `:t}resolveIcon(){return this.loading?e.html`
761
761
  <ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
762
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Ye.elementDefinitions={"ft-ripple":De,"ft-tooltip":je,"ft-typography":Ae,"ft-icon":_e,"ft-loader":Ge},Ve([r.property({type:String,reflect:!0})],Ye.prototype,"role",void 0),Ve([r.property()],Ye.prototype,"type",void 0),Ve([r.property({type:Boolean})],Ye.prototype,"disabled",void 0),Ve([r.property()],Ye.prototype,"label",void 0),Ve([r.property()],Ye.prototype,"icon",void 0),Ve([r.property()],Ye.prototype,"iconVariant",void 0),Ve([r.property({type:Boolean})],Ye.prototype,"trailingIcon",void 0),Ve([r.property({type:Boolean})],Ye.prototype,"loading",void 0),Ve([r.property()],Ye.prototype,"tooltipPosition",void 0),Ve([r.property({type:Boolean})],Ye.prototype,"hideTooltip",void 0),Ve([r.property({type:Boolean})],Ye.prototype,"forceTooltip",void 0),Ve([r.query(".ft-button")],Ye.prototype,"button",void 0),Ve([r.query(".ft-button--label slot")],Ye.prototype,"slottedContent",void 0);var qe=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Xe extends Ye{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"}}Xe.styles=[o.safariEllipsisFix,Gt],qe([r.property({type:Boolean})],Xe.prototype,"primary",void 0),qe([r.property({type:Boolean})],Xe.prototype,"outlined",void 0),qe([r.property({type:Boolean})],Xe.prototype,"dense",void 0),qe([r.property({type:Boolean})],Xe.prototype,"round",void 0);const Je=[e.css`
762
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Vi.elementDefinitions={"ft-ripple":Ze,"ft-tooltip":Pi,"ft-typography":Ke,"ft-icon":Mi,"ft-loader":_i},Gi([r.property({type:String,reflect:!0})],Vi.prototype,"role",void 0),Gi([r.property()],Vi.prototype,"type",void 0),Gi([r.property({type:Boolean})],Vi.prototype,"disabled",void 0),Gi([r.property()],Vi.prototype,"label",void 0),Gi([r.property()],Vi.prototype,"icon",void 0),Gi([r.property()],Vi.prototype,"iconVariant",void 0),Gi([r.property({type:Boolean})],Vi.prototype,"trailingIcon",void 0),Gi([r.property({type:Boolean})],Vi.prototype,"loading",void 0),Gi([r.property()],Vi.prototype,"tooltipPosition",void 0),Gi([r.property({type:Boolean})],Vi.prototype,"hideTooltip",void 0),Gi([r.property({type:Boolean})],Vi.prototype,"forceTooltip",void 0),Gi([r.query(".ft-button")],Vi.prototype,"button",void 0),Gi([r.query(".ft-button--label slot")],Vi.prototype,"slottedContent",void 0);var Yi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class qi extends Vi{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"}}qi.styles=[o.safariEllipsisFix,Gt],Yi([r.property({type:Boolean})],qi.prototype,"primary",void 0),Yi([r.property({type:Boolean})],qi.prototype,"outlined",void 0),Yi([r.property({type:Boolean})],qi.prototype,"dense",void 0),Yi([r.property({type:Boolean})],qi.prototype,"round",void 0);const Xi=[e.css`
763
763
  :host {
764
764
  display: inline-block;
765
765
  max-width: 100%;
@@ -838,7 +838,7 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
838
838
  /** Primary styles **/
839
839
 
840
840
  .ft-button--primary {
841
- ${o.setVariable(Kt.color,u.primaryIconColor)};
841
+ ${o.setVariable(At.color,u.primaryIconColor)};
842
842
 
843
843
  ${o.setVariable(kt.color,u.primaryStateLayerColor)};
844
844
  ${o.setVariable(kt.opacityContentOnSurfaceHover,u.primaryStateLayerOpacityHover)};
@@ -862,7 +862,7 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
862
862
  /** Secondary styles **/
863
863
 
864
864
  .ft-button--secondary {
865
- ${o.setVariable(Kt.color,u.secondaryIconColor)};
865
+ ${o.setVariable(At.color,u.secondaryIconColor)};
866
866
 
867
867
  ${o.setVariable(kt.color,u.secondaryStateLayerColor)};
868
868
  ${o.setVariable(kt.opacityContentOnSurfaceHover,u.secondaryStateLayerOpacityHover)};
@@ -887,7 +887,7 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
887
887
  /** Tertiary styles **/
888
888
 
889
889
  .ft-button--tertiary {
890
- ${o.setVariable(Kt.color,u.tertiaryIconColor)};
890
+ ${o.setVariable(At.color,u.tertiaryIconColor)};
891
891
 
892
892
  ${o.setVariable(kt.color,u.tertiaryStateLayerColor)};
893
893
  ${o.setVariable(kt.opacityContentOnSurfaceHover,u.tertiaryStateLayerOpacityHover)};
@@ -911,7 +911,7 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
911
911
  /** Neutral styles **/
912
912
 
913
913
  .ft-button--neutral {
914
- ${o.setVariable(Kt.color,u.neutralIconColor)};
914
+ ${o.setVariable(At.color,u.neutralIconColor)};
915
915
 
916
916
  ${o.setVariable(kt.backgroundColor,u.neutralStateLayerColor)};
917
917
  ${o.setVariable(kt.opacityContentOnSurfaceHover,u.neutralStateLayerOpacityHover)};
@@ -935,8 +935,8 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
935
935
  /** Large styles **/
936
936
 
937
937
  .ft-button--large {
938
- ${o.setVariable(At.size,u.largeIconSize)};
939
938
  ${o.setVariable(Kt.size,u.largeIconSize)};
939
+ ${o.setVariable(At.size,u.largeIconSize)};
940
940
 
941
941
  height: ${u.largeHeight};
942
942
  padding: 0 ${u.largeHorizontalPadding};
@@ -958,8 +958,8 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
958
958
  /** Small styles **/
959
959
 
960
960
  .ft-button--small {
961
- ${o.setVariable(At.size,u.smallIconSize)};
962
961
  ${o.setVariable(Kt.size,u.smallIconSize)};
962
+ ${o.setVariable(At.size,u.smallIconSize)};
963
963
 
964
964
  height: ${u.smallHeight};
965
965
  padding: 0 ${u.smallHorizontalPadding};
@@ -977,14 +977,14 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
977
977
  width: ${u.smallIconOnlyWidth};
978
978
  padding: unset;
979
979
  }
980
- `,o.noTextSelect];var Qe=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ti extends Ye{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?Ke.caption1medium:Ke.body2medium}}ti.styles=[o.safariEllipsisFix,Je],Qe([r.property({type:Boolean})],ti.prototype,"primary",void 0),Qe([r.property({type:Boolean})],ti.prototype,"secondary",void 0),Qe([r.property({type:Boolean})],ti.prototype,"tertiary",void 0),Qe([r.property({type:Boolean})],ti.prototype,"neutral",void 0),Qe([r.property({type:Boolean})],ti.prototype,"small",void 0),o.customElement("ft-button")(Xe),o.customElement("ftds-button")(ti);const oi=o.FtCssVariableFactory.extend("--ft-checkbox-text-color","",o.designSystemVariables.colorOnSurfaceHigh),ei=o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),ii=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnPrimary,"Design system"),ri=o.FtCssVariableFactory.extend("--ft-checkbox-border-color","",o.designSystemVariables.colorOnSurfaceMedium),ai=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),ni=e.css`
980
+ `,o.noTextSelect];var Ji=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Qi extends Vi{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?Ae.caption1medium:Ae.body2medium}}Qi.styles=[o.safariEllipsisFix,Xi],Ji([r.property({type:Boolean})],Qi.prototype,"primary",void 0),Ji([r.property({type:Boolean})],Qi.prototype,"secondary",void 0),Ji([r.property({type:Boolean})],Qi.prototype,"tertiary",void 0),Ji([r.property({type:Boolean})],Qi.prototype,"neutral",void 0),Ji([r.property({type:Boolean})],Qi.prototype,"small",void 0),o.customElement("ft-button")(qi),o.customElement("ftds-button")(Qi);const tr=o.FtCssVariableFactory.extend("--ft-checkbox-text-color","",o.designSystemVariables.colorOnSurfaceHigh),or=o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),er=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnPrimary,"Design system"),ir=o.FtCssVariableFactory.extend("--ft-checkbox-border-color","",o.designSystemVariables.colorOnSurfaceMedium),rr=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),nr=e.css`
981
981
  * {
982
982
  box-sizing: border-box;
983
983
  }
984
984
 
985
985
  .ft-checkbox {
986
986
  box-sizing: border-box;
987
- color: ${oi};
987
+ color: ${tr};
988
988
 
989
989
  display: inline-flex;
990
990
  align-items: center;
@@ -992,7 +992,7 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
992
992
  }
993
993
 
994
994
  .ft-checkbox--disabled {
995
- color: ${ai};
995
+ color: ${rr};
996
996
  }
997
997
 
998
998
  input {
@@ -1016,26 +1016,26 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
1016
1016
 
1017
1017
  .ft-checkbox--box {
1018
1018
  display: flex;
1019
- border: 2px solid ${ri};
1019
+ border: 2px solid ${ir};
1020
1020
  border-radius: 2px;
1021
1021
 
1022
1022
  width: 18px;
1023
1023
  height: 18px;
1024
1024
 
1025
- color: ${ii};
1025
+ color: ${er};
1026
1026
  }
1027
1027
 
1028
1028
 
1029
1029
  .ft-checkbox--checked .ft-checkbox--box,
1030
1030
  .ft-checkbox--indeterminate .ft-checkbox--box {
1031
- border-color: ${ei};
1032
- background-color: ${ei};
1031
+ border-color: ${or};
1032
+ background-color: ${or};
1033
1033
  }
1034
1034
 
1035
1035
  .ft-checkbox--disabled .ft-checkbox--box {
1036
- border-color: ${ai};
1036
+ border-color: ${rr};
1037
1037
  background-color: transparent;
1038
- color: ${ai};
1038
+ color: ${rr};
1039
1039
  }
1040
1040
 
1041
1041
  .ft-checkbox--checkmark {
@@ -1054,8 +1054,8 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
1054
1054
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
1055
1055
  opacity: 1;
1056
1056
  }
1057
- `;var li=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class si extends o.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return e.html`
1058
- <label class="${a.classMap(t)}" for="checkbox-input">
1057
+ `;var ar=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class lr extends o.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return e.html`
1058
+ <label class="${n.classMap(t)}" for="checkbox-input">
1059
1059
  <div class="ft-checkbox--box-container">
1060
1060
  <ft-ripple
1061
1061
  ?disabled=${this.disabled}
@@ -1080,14 +1080,14 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
1080
1080
  <slot></slot>
1081
1081
  </ft-typography>
1082
1082
  </label>
1083
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),null===(o=this.ripple)||void 0===o||o.setupFor(this.container)}}si.elementDefinitions={"ft-ripple":De,"ft-typography":Ae},si.styles=ni,li([r.property()],si.prototype,"name",void 0),li([r.property({type:Boolean,reflect:!0})],si.prototype,"checked",void 0),li([r.property({type:Boolean})],si.prototype,"indeterminate",void 0),li([r.property({type:Boolean})],si.prototype,"disabled",void 0),li([r.query(".ft-checkbox")],si.prototype,"container",void 0),li([r.query("ft-ripple")],si.prototype,"ripple",void 0),o.customElement("ft-checkbox")(si);const ci=o.FtCssVariableFactory.extend("--ft-radio-text-color","",o.designSystemVariables.colorOnSurfaceHigh),pi=o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),fi=(o.FtCssVariableFactory.external(o.designSystemVariables.colorOnPrimary,"Design system"),o.FtCssVariableFactory.extend("--ft-radio-border-color","",o.designSystemVariables.colorOnSurfaceMedium)),hi=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),di=e.css`
1083
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),null===(o=this.ripple)||void 0===o||o.setupFor(this.container)}}lr.elementDefinitions={"ft-ripple":Ze,"ft-typography":Ke},lr.styles=nr,ar([r.property()],lr.prototype,"name",void 0),ar([r.property({type:Boolean,reflect:!0})],lr.prototype,"checked",void 0),ar([r.property({type:Boolean})],lr.prototype,"indeterminate",void 0),ar([r.property({type:Boolean})],lr.prototype,"disabled",void 0),ar([r.query(".ft-checkbox")],lr.prototype,"container",void 0),ar([r.query("ft-ripple")],lr.prototype,"ripple",void 0),o.customElement("ft-checkbox")(lr);const sr=o.FtCssVariableFactory.extend("--ft-radio-text-color","",o.designSystemVariables.colorOnSurfaceHigh),cr=o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),fr=(o.FtCssVariableFactory.external(o.designSystemVariables.colorOnPrimary,"Design system"),o.FtCssVariableFactory.extend("--ft-radio-border-color","",o.designSystemVariables.colorOnSurfaceMedium)),pr=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),hr=e.css`
1084
1084
  * {
1085
1085
  box-sizing: border-box;
1086
1086
  }
1087
1087
 
1088
1088
  .ft-radio {
1089
1089
  box-sizing: border-box;
1090
- color: ${ci};
1090
+ color: ${sr};
1091
1091
 
1092
1092
  display: inline-flex;
1093
1093
  align-items: center;
@@ -1095,7 +1095,7 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
1095
1095
  }
1096
1096
 
1097
1097
  .ft-radio--disabled {
1098
- color: ${hi};
1098
+ color: ${pr};
1099
1099
  }
1100
1100
 
1101
1101
  input {
@@ -1118,7 +1118,7 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
1118
1118
  }
1119
1119
 
1120
1120
  .ft-radio--box {
1121
- border: 2px solid ${fi};
1121
+ border: 2px solid ${fr};
1122
1122
  border-radius: 50%;
1123
1123
 
1124
1124
  display: flex;
@@ -1131,7 +1131,7 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
1131
1131
 
1132
1132
  .ft-radio--box:after {
1133
1133
  content: " ";
1134
- background-color: ${pi};
1134
+ background-color: ${cr};
1135
1135
 
1136
1136
  border-radius: 50%;
1137
1137
 
@@ -1143,7 +1143,7 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
1143
1143
  }
1144
1144
 
1145
1145
  .ft-radio--checked .ft-radio--box {
1146
- border-color: ${pi};
1146
+ border-color: ${cr};
1147
1147
  }
1148
1148
 
1149
1149
 
@@ -1152,15 +1152,15 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
1152
1152
  }
1153
1153
 
1154
1154
  .ft-radio--disabled .ft-radio--box {
1155
- border-color: ${hi};
1155
+ border-color: ${pr};
1156
1156
  background-color: transparent;
1157
1157
  }
1158
1158
 
1159
1159
  .ft-radio--disabled .ft-radio--box:after {
1160
- background-color: ${hi};
1160
+ background-color: ${pr};
1161
1161
  }
1162
- `;var ui=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class yi extends CustomEvent{constructor(t,o){super("change",{detail:{value:t,checked:o},bubbles:!0,composed:!0})}}class gi extends o.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return e.html`
1163
- <div class="${a.classMap(t)}">
1162
+ `;var dr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ur extends CustomEvent{constructor(t,o){super("change",{detail:{value:t,checked:o},bubbles:!0,composed:!0})}}class yr extends o.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return e.html`
1163
+ <div class="${n.classMap(t)}">
1164
1164
  <div class="ft-radio--box-container">
1165
1165
  <ft-ripple
1166
1166
  ?disabled=${this.disabled}
@@ -1184,16 +1184,16 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
1184
1184
  </ft-typography>
1185
1185
  </label>
1186
1186
  </div>
1187
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new yi(this.value,this.checked))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),null===(o=this.ripple)||void 0===o||o.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new yi(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}gi.elementDefinitions={"ft-ripple":De,"ft-typography":Ae},gi.styles=di,ui([r.property()],gi.prototype,"value",void 0),ui([r.property()],gi.prototype,"name",void 0),ui([r.property({type:Boolean,reflect:!0})],gi.prototype,"checked",void 0),ui([r.property({type:Boolean})],gi.prototype,"disabled",void 0),ui([r.query(".ft-radio")],gi.prototype,"container",void 0),ui([r.query("ft-ripple")],gi.prototype,"ripple",void 0),ui([r.query("input")],gi.prototype,"input",void 0);const bi=e.css`
1187
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new ur(this.value,this.checked))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),null===(o=this.ripple)||void 0===o||o.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new ur(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}yr.elementDefinitions={"ft-ripple":Ze,"ft-typography":Ke},yr.styles=hr,dr([r.property()],yr.prototype,"value",void 0),dr([r.property()],yr.prototype,"name",void 0),dr([r.property({type:Boolean,reflect:!0})],yr.prototype,"checked",void 0),dr([r.property({type:Boolean})],yr.prototype,"disabled",void 0),dr([r.query(".ft-radio")],yr.prototype,"container",void 0),dr([r.query("ft-ripple")],yr.prototype,"ripple",void 0),dr([r.query("input")],yr.prototype,"input",void 0);const gr=e.css`
1188
1188
  :host {
1189
1189
  display: contents;
1190
1190
  }
1191
- `;var mi=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class vi extends o.FtLitElement{constructor(){super(...arguments),this.name=""}render(){return e.html`
1191
+ `;var br=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class mr extends o.FtLitElement{constructor(){super(...arguments),this.name=""}render(){return e.html`
1192
1192
  <slot @slotchange=${this.onSlotChange}
1193
1193
  @change=${this.onChange}
1194
1194
  @keydown=${this.onKeyDown}
1195
1195
  ></slot>
1196
- `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((o=>o.checked=t.detail.value===o.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let o=this.findFtRadio(t),e=this.radioButtons.indexOf(o)-1;this.radioButtons[e<0?this.radioButtons.length-1:e].select();break}case"ArrowDown":case"ArrowRight":{let o=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[o>this.radioButtons.length-1?0:o].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}vi.elementDefinitions={},vi.styles=bi,mi([r.property()],vi.prototype,"name",void 0),mi([r.queryAssignedElements()],vi.prototype,"radioButtons",void 0),o.customElement("ft-radio")(gi),o.customElement("ft-radio-group")(vi);const xi={borderRadiusM:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusM,"Design system"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),colorOnSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:o.FtCssVariableFactory.external(V.fontFamily,"Body2 typography"),fontSize:o.FtCssVariableFactory.external(V.fontSize,"Body2 typography"),fontWeight:o.FtCssVariableFactory.external(V.fontWeight,"Body2 typography"),letterSpacing:o.FtCssVariableFactory.external(V.letterSpacing,"Body2 typography"),lineHeight:o.FtCssVariableFactory.external(V.lineHeight,"Body2 typography"),textTransform:o.FtCssVariableFactory.external(V.textTransform,"Body2 typography")},Oi=e.css`
1196
+ `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((o=>o.checked=t.detail.value===o.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let o=this.findFtRadio(t),e=this.radioButtons.indexOf(o)-1;this.radioButtons[e<0?this.radioButtons.length-1:e].select();break}case"ArrowDown":case"ArrowRight":{let o=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[o>this.radioButtons.length-1?0:o].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}mr.elementDefinitions={},mr.styles=gr,br([r.property()],mr.prototype,"name",void 0),br([r.queryAssignedElements()],mr.prototype,"radioButtons",void 0),o.customElement("ft-radio")(yr),o.customElement("ft-radio-group")(mr);const vr={borderRadiusM:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusM,"Design system"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),colorOnSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:o.FtCssVariableFactory.external(V.fontFamily,"Body2 typography"),fontSize:o.FtCssVariableFactory.external(V.fontSize,"Body2 typography"),fontWeight:o.FtCssVariableFactory.external(V.fontWeight,"Body2 typography"),letterSpacing:o.FtCssVariableFactory.external(V.letterSpacing,"Body2 typography"),lineHeight:o.FtCssVariableFactory.external(V.lineHeight,"Body2 typography"),textTransform:o.FtCssVariableFactory.external(V.textTransform,"Body2 typography")},xr=e.css`
1197
1197
  .ft-filter-level--container {
1198
1198
  display: flex;
1199
1199
  flex-direction: column;
@@ -1207,14 +1207,14 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
1207
1207
  flex-shrink: 0;
1208
1208
  text-decoration: none;
1209
1209
  position: relative;
1210
- border-radius: ${xi.borderRadiusM};
1210
+ border-radius: ${vr.borderRadiusM};
1211
1211
  overflow: hidden;
1212
1212
  display: flex;
1213
1213
  align-items: center;
1214
1214
  padding: 4px 4px;
1215
1215
  gap: 4px;
1216
1216
  cursor: pointer;
1217
- color: ${xi.colorOnSurface};
1217
+ color: ${vr.colorOnSurface};
1218
1218
  }
1219
1219
 
1220
1220
  .ft-filter-level--go-back:focus {
@@ -1243,7 +1243,7 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
1243
1243
  }
1244
1244
 
1245
1245
  ft-button {
1246
- ${o.setVariable(Ft.color,xi.colorOnSurface)};
1246
+ ${o.setVariable(Ft.color,vr.colorOnSurface)};
1247
1247
  }
1248
1248
 
1249
1249
  ft-radio, ft-checkbox {
@@ -1257,9 +1257,9 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
1257
1257
 
1258
1258
  .ft-filter-level--no-values {
1259
1259
  margin: 10px 0;
1260
- color: ${xi.colorOnSurfaceMedium};
1260
+ color: ${vr.colorOnSurfaceMedium};
1261
1261
  }
1262
- `;var Ni=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class wi extends o.FtLitElement{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,o;return null!==(o=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==o?o:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const o=t.slice(0,this.limit);return e.html`
1262
+ `;var Or=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class wr extends o.FtLitElement{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,o;return null!==(o=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==o?o:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const o=t.slice(0,this.limit);return e.html`
1263
1263
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1264
1264
  ${null==this.parent?null:e.html`
1265
1265
  <div tabindex="0"
@@ -1323,7 +1323,7 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
1323
1323
  @change=${t=>t.stopPropagation()}>
1324
1324
  ${t.renderOption?t.renderOption:t.label}
1325
1325
  </ft-radio>
1326
- `}onRadioKeyUp(t,o){o.selected&&" "===t.key&&this.optionsChanged(t,o)}optionsChanged(t,o){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:o}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}wi.elementDefinitions={"ft-button":Xe,"ft-ripple":De,"ft-typography":Ae,"ft-checkbox":si,"ft-icon":_e,"ft-radio":gi},wi.styles=Oi,Ni([r.property({type:String})],wi.prototype,"filterId",void 0),Ni([r.property({type:Object})],wi.prototype,"parent",void 0),Ni([r.property({type:Array})],wi.prototype,"options",void 0),Ni([r.property({type:Boolean})],wi.prototype,"multivalued",void 0),Ni([r.property({type:Boolean})],wi.prototype,"disabled",void 0),Ni([r.property({type:Boolean})],wi.prototype,"hideSelectedOptions",void 0),Ni([r.property({type:Boolean})],wi.prototype,"preventNavigation",void 0),Ni([r.property({type:String})],wi.prototype,"filter",void 0),Ni([r.property({type:String})],wi.prototype,"moreValuesButtonLabel",void 0),Ni([r.property({type:String})],wi.prototype,"noValuesLabel",void 0),Ni([r.property({type:Number})],wi.prototype,"displayedValuesLimit",void 0),Ni([r.query(".ft-filter-level--container")],wi.prototype,"container",void 0),Ni([r.state()],wi.prototype,"displayedPages",void 0);const Si={buttonsColor:o.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",o.designSystemVariables.colorPrimary),buttonsZIndex:o.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:o.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system")},$i=e.css`
1326
+ `}onRadioKeyUp(t,o){o.selected&&" "===t.key&&this.optionsChanged(t,o)}optionsChanged(t,o){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:o}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}wr.elementDefinitions={"ft-button":qi,"ft-ripple":Ze,"ft-typography":Ke,"ft-checkbox":lr,"ft-icon":Mi,"ft-radio":yr},wr.styles=xr,Or([r.property({type:String})],wr.prototype,"filterId",void 0),Or([r.property({type:Object})],wr.prototype,"parent",void 0),Or([r.property({type:Array})],wr.prototype,"options",void 0),Or([r.property({type:Boolean})],wr.prototype,"multivalued",void 0),Or([r.property({type:Boolean})],wr.prototype,"disabled",void 0),Or([r.property({type:Boolean})],wr.prototype,"hideSelectedOptions",void 0),Or([r.property({type:Boolean})],wr.prototype,"preventNavigation",void 0),Or([r.property({type:String})],wr.prototype,"filter",void 0),Or([r.property({type:String})],wr.prototype,"moreValuesButtonLabel",void 0),Or([r.property({type:String})],wr.prototype,"noValuesLabel",void 0),Or([r.property({type:Number})],wr.prototype,"displayedValuesLimit",void 0),Or([r.query(".ft-filter-level--container")],wr.prototype,"container",void 0),Or([r.state()],wr.prototype,"displayedPages",void 0);const Nr={buttonsColor:o.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",o.designSystemVariables.colorPrimary),buttonsZIndex:o.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:o.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system")},Sr=e.css`
1327
1327
  .ft-snap-scroll {
1328
1328
  box-sizing: border-box;
1329
1329
  position: relative;
@@ -1358,7 +1358,7 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
1358
1358
  flex-wrap: nowrap;
1359
1359
  align-items: flex-start;
1360
1360
  justify-content: flex-start;
1361
- gap: ${Si.gap};
1361
+ gap: ${Nr.gap};
1362
1362
  }
1363
1363
 
1364
1364
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1401,11 +1401,11 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
1401
1401
  .ft-snap-scroll--next {
1402
1402
  position: absolute;
1403
1403
  display: flex;
1404
- z-index: ${Si.buttonsZIndex};
1404
+ z-index: ${Nr.buttonsZIndex};
1405
1405
  opacity: 1;
1406
1406
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1407
1407
  ${o.setVariable(Ft.backgroundColor,"transparent")};
1408
- ${o.setVariable(Ft.color,Si.buttonsColor)};
1408
+ ${o.setVariable(Ft.color,Nr.buttonsColor)};
1409
1409
  }
1410
1410
 
1411
1411
  .ft-snap-scroll--previous[hidden],
@@ -1418,37 +1418,37 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
1418
1418
  top: 0;
1419
1419
  left: -1px;
1420
1420
  bottom: 0;
1421
- background: linear-gradient(to right, ${Si.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1421
+ background: linear-gradient(to right, ${Nr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1422
1422
  }
1423
1423
 
1424
1424
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1425
1425
  top: -1px;
1426
1426
  left: 0;
1427
1427
  right: 0;
1428
- background: linear-gradient(to bottom, ${Si.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1428
+ background: linear-gradient(to bottom, ${Nr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1429
1429
  }
1430
1430
 
1431
1431
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1432
1432
  top: 0;
1433
1433
  right: -1px;
1434
1434
  bottom: 0;
1435
- background: linear-gradient(to left, ${Si.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1435
+ background: linear-gradient(to left, ${Nr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1436
1436
  }
1437
1437
 
1438
1438
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1439
1439
  left: 0;
1440
1440
  right: 0;
1441
1441
  bottom: -1px;
1442
- background: linear-gradient(to top, ${Si.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1442
+ background: linear-gradient(to top, ${Nr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1443
1443
  }
1444
1444
 
1445
1445
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1446
1446
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1447
1447
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1448
1448
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1449
- background-color: ${Si.colorSurface};
1449
+ background-color: ${Nr.colorSurface};
1450
1450
  }
1451
- `;var Ci=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ki extends CustomEvent{constructor(t,o){super("current-element-change",{detail:{index:t,element:o}})}}class Ii extends o.FtLitElement{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new o.Debouncer(200),this.updateScrollDebouncer=new o.Debouncer(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let o=this.elements[t];if(o){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,e=this.contentSlot[this.scrollAttribute]+this.prevSize;(o[this.offsetAttribute]<e||o[this.offsetAttribute]+o[this.sizeAttribute]>t)&&this.scrollToElement(o)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=a.classMap({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":o.isSafari}),i=this.controls&&this.withScroll;return e.html`
1451
+ `;var $r=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Cr extends CustomEvent{constructor(t,o){super("current-element-change",{detail:{index:t,element:o}})}}class kr extends o.FtLitElement{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new o.Debouncer(200),this.updateScrollDebouncer=new o.Debouncer(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let o=this.elements[t];if(o){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,e=this.contentSlot[this.scrollAttribute]+this.prevSize;(o[this.offsetAttribute]<e||o[this.offsetAttribute]+o[this.sizeAttribute]>t)&&this.scrollToElement(o)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=n.classMap({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":o.isSafari}),i=this.controls&&this.withScroll;return e.html`
1452
1452
  <div part="container" class="${t}">
1453
1453
  <ft-button
1454
1454
  class="ft-snap-scroll--previous"
@@ -1472,7 +1472,7 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
1472
1472
  @click=${this.next}
1473
1473
  ></ft-button>
1474
1474
  </div>
1475
- `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new ki(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(o=this.listenedContainer)||void 0===o||o.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const o=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<o&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var o,e;t&&(this.horizontal?null===(o=this.contentSlot)||void 0===o||o.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(e=this.contentSlot)||void 0===e||e.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,o;this.elements=null!==(o=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==o?o:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let o=0;o<this.elements.length;o++)(t<0||this.getDistanceFromStart(this.elements[o])<this.getDistanceFromStart(this.elements[t]))&&(t=o);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const o=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-o)}}Ii.elementDefinitions={"ft-button":Xe},Ii.styles=$i,Ci([r.property({type:Boolean})],Ii.prototype,"horizontal",void 0),Ci([r.property({type:Boolean})],Ii.prototype,"hideScrollbar",void 0),Ci([r.property({type:Boolean})],Ii.prototype,"controls",void 0),Ci([r.property({type:Boolean})],Ii.prototype,"limitSize",void 0),Ci([r.state()],Ii.prototype,"elements",void 0),Ci([r.state()],Ii.prototype,"currentElement",void 0),Ci([r.state()],Ii.prototype,"withScroll",void 0),Ci([r.state()],Ii.prototype,"startReached",void 0),Ci([r.state()],Ii.prototype,"endReached",void 0),Ci([r.query(".ft-snap-scroll--content")],Ii.prototype,"contentSlot",void 0),o.customElement("ft-snap-scroll")(Ii);var Ei=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ri extends CustomEvent{constructor(t){super("change",{detail:t})}}class Ui extends o.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new o.Debouncer(300),this.changeDebouncer=new o.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return o.flatDeep(this.options,(t=>{var o;return null!==(o=t.subOptions)&&void 0!==o?o:[]}))}get selectedValues(){return this.flatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),o=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return e.html`
1475
+ `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new Cr(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(o=this.listenedContainer)||void 0===o||o.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const o=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<o&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var o,e;t&&(this.horizontal?null===(o=this.contentSlot)||void 0===o||o.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(e=this.contentSlot)||void 0===e||e.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,o;this.elements=null!==(o=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==o?o:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let o=0;o<this.elements.length;o++)(t<0||this.getDistanceFromStart(this.elements[o])<this.getDistanceFromStart(this.elements[t]))&&(t=o);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const o=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-o)}}kr.elementDefinitions={"ft-button":qi},kr.styles=Sr,$r([r.property({type:Boolean})],kr.prototype,"horizontal",void 0),$r([r.property({type:Boolean})],kr.prototype,"hideScrollbar",void 0),$r([r.property({type:Boolean})],kr.prototype,"controls",void 0),$r([r.property({type:Boolean})],kr.prototype,"limitSize",void 0),$r([r.state()],kr.prototype,"elements",void 0),$r([r.state()],kr.prototype,"currentElement",void 0),$r([r.state()],kr.prototype,"withScroll",void 0),$r([r.state()],kr.prototype,"startReached",void 0),$r([r.state()],kr.prototype,"endReached",void 0),$r([r.query(".ft-snap-scroll--content")],kr.prototype,"contentSlot",void 0),o.customElement("ft-snap-scroll")(kr);var Ir=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Er extends CustomEvent{constructor(t){super("change",{detail:t})}}class Rr extends o.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new o.Debouncer(300),this.changeDebouncer=new o.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return o.flatDeep(this.options,(t=>{var o;return null!==(o=t.subOptions)&&void 0!==o?o:[]}))}get selectedValues(){return this.flatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),o=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return e.html`
1476
1476
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1477
1477
  part="container">
1478
1478
  ${this.label||t?e.html`
@@ -1505,7 +1505,7 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
1505
1505
  @slotchange=${this.updateOptionsFromSlot}
1506
1506
  @option-change=${this.optionsChanged}></slot>
1507
1507
  </div>
1508
- `}update(t){if(super.update(t),t.has("options")){const t=new Set(this.flatOptions.map((t=>t.value)));this.displayedLevels=this.displayedLevels.filter((o=>t.has(o))),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var o,e,i,r,a;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),null===(o=this.levelsContainer)||void 0===o||o.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout((()=>{var t;null===(t=this.levelsContainer)||void 0===t||t.next(),this.slideIn=void 0}),0),t.has("slideOut")&&this.slideOut&&(null===(e=this.levelsContainer)||void 0===e||e.previous(),setTimeout((()=>{this.displayedLevels.pop(),this.slideOut=void 0}),300)),this.lastLevelHasHiddenvalues=null!==(a=null===(r=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(".ft-filter--levels ft-filter-level:last-child"))||void 0===r?void 0:r.hasHiddenValues)&&void 0!==a&&a}renderLevels(){const t=this.flatOptions,o=t.filter((t=>t.selected)),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,r=i<0?"ft-filter--level-center":"ft-filter--level-left";return e.html`
1508
+ `}update(t){if(super.update(t),t.has("options")){const t=new Set(this.flatOptions.map((t=>t.value)));this.displayedLevels=this.displayedLevels.filter((o=>t.has(o))),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var o,e,i,r,n;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),null===(o=this.levelsContainer)||void 0===o||o.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout((()=>{var t;null===(t=this.levelsContainer)||void 0===t||t.next(),this.slideIn=void 0}),0),t.has("slideOut")&&this.slideOut&&(null===(e=this.levelsContainer)||void 0===e||e.previous(),setTimeout((()=>{this.displayedLevels.pop(),this.slideOut=void 0}),300)),this.lastLevelHasHiddenvalues=null!==(n=null===(r=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(".ft-filter--levels ft-filter-level:last-child"))||void 0===r?void 0:r.hasHiddenValues)&&void 0!==n&&n}renderLevels(){const t=this.flatOptions,o=t.filter((t=>t.selected)),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,r=i<0?"ft-filter--level-center":"ft-filter--level-left";return e.html`
1509
1509
  ${this.raiseSelectedOptions&&o.length>0?e.html`
1510
1510
  <ft-filter-level
1511
1511
  filterId="${this.id}"
@@ -1544,9 +1544,9 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
1544
1544
  .exportpartsPrefixes=${["values","available-values"]}
1545
1545
  noValuesLabel="${this.noValuesLabel}"
1546
1546
  ></ft-filter-level>
1547
- `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var o;t.stopPropagation();const e=this.flatOptions.find((o=>o.value===t.detail.value));e.selected=!e.selected;const i=t=>{var o;t!==e&&(t.selected=!1),null===(o=t.subOptions)||void 0===o||o.forEach(i)};this.multivalued?null===(o=e.subOptions)||void 0===o||o.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;o.deepEqual(this.lastDispatchedValues,t)||(this.dispatchEvent(new Ri(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,o;this.filter=null!==(o=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==o?o:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}Ui.elementDefinitions={"ft-button":Xe,"ft-filter-level":wi,"ft-snap-scroll":Ii,"ft-typography":Ae},Ui.styles=oo,Ei([r.property({type:String})],Ui.prototype,"id",void 0),Ei([r.property({type:String})],Ui.prototype,"label",void 0),Ei([r.property({type:String})],Ui.prototype,"filterPlaceHolder",void 0),Ei([r.property({type:String})],Ui.prototype,"clearButtonLabel",void 0),Ei([r.property({type:String})],Ui.prototype,"moreValuesButtonLabel",void 0),Ei([r.property({type:String})],Ui.prototype,"noValuesLabel",void 0),Ei([o.jsonProperty([])],Ui.prototype,"options",void 0),Ei([r.property({type:Boolean})],Ui.prototype,"multivalued",void 0),Ei([r.property({type:Boolean})],Ui.prototype,"disabled",void 0),Ei([r.property({type:Boolean})],Ui.prototype,"raiseSelectedOptions",void 0),Ei([r.property({type:Number})],Ui.prototype,"displayedValuesLimit",void 0),Ei([r.property({type:Boolean})],Ui.prototype,"hideClearButton",void 0),Ei([r.query(".ft-filter--slot")],Ui.prototype,"slotElement",void 0),Ei([r.query(".ft-filter--container")],Ui.prototype,"container",void 0),Ei([r.query(".ft-filter--values")],Ui.prototype,"valuesContainer",void 0),Ei([r.query(".ft-filter--levels")],Ui.prototype,"levelsContainer",void 0),Ei([r.state()],Ui.prototype,"lastLevelHasHiddenvalues",void 0),Ei([r.query(".ft-filter--filter input")],Ui.prototype,"filterInput",void 0),Ei([r.queryAll(".ft-filter--levels ft-filter-level")],Ui.prototype,"levels",void 0),Ei([r.state()],Ui.prototype,"withScroll",void 0),Ei([r.state()],Ui.prototype,"filter",void 0),Ei([r.state()],Ui.prototype,"slideIn",void 0),Ei([r.state()],Ui.prototype,"slideOut",void 0);var Li=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Wi extends o.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return e.html`
1547
+ `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var o;t.stopPropagation();const e=this.flatOptions.find((o=>o.value===t.detail.value));e.selected=!e.selected;const i=t=>{var o;t!==e&&(t.selected=!1),null===(o=t.subOptions)||void 0===o||o.forEach(i)};this.multivalued?null===(o=e.subOptions)||void 0===o||o.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;o.deepEqual(this.lastDispatchedValues,t)||(this.dispatchEvent(new Er(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,o;this.filter=null!==(o=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==o?o:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}Rr.elementDefinitions={"ft-button":qi,"ft-filter-level":wr,"ft-snap-scroll":kr,"ft-typography":Ke},Rr.styles=oo,Ir([r.property({type:String})],Rr.prototype,"id",void 0),Ir([r.property({type:String})],Rr.prototype,"label",void 0),Ir([r.property({type:String})],Rr.prototype,"filterPlaceHolder",void 0),Ir([r.property({type:String})],Rr.prototype,"clearButtonLabel",void 0),Ir([r.property({type:String})],Rr.prototype,"moreValuesButtonLabel",void 0),Ir([r.property({type:String})],Rr.prototype,"noValuesLabel",void 0),Ir([o.jsonProperty([])],Rr.prototype,"options",void 0),Ir([r.property({type:Boolean})],Rr.prototype,"multivalued",void 0),Ir([r.property({type:Boolean})],Rr.prototype,"disabled",void 0),Ir([r.property({type:Boolean})],Rr.prototype,"raiseSelectedOptions",void 0),Ir([r.property({type:Number})],Rr.prototype,"displayedValuesLimit",void 0),Ir([r.property({type:Boolean})],Rr.prototype,"hideClearButton",void 0),Ir([r.query(".ft-filter--slot")],Rr.prototype,"slotElement",void 0),Ir([r.query(".ft-filter--container")],Rr.prototype,"container",void 0),Ir([r.query(".ft-filter--values")],Rr.prototype,"valuesContainer",void 0),Ir([r.query(".ft-filter--levels")],Rr.prototype,"levelsContainer",void 0),Ir([r.state()],Rr.prototype,"lastLevelHasHiddenvalues",void 0),Ir([r.query(".ft-filter--filter input")],Rr.prototype,"filterInput",void 0),Ir([r.queryAll(".ft-filter--levels ft-filter-level")],Rr.prototype,"levels",void 0),Ir([r.state()],Rr.prototype,"withScroll",void 0),Ir([r.state()],Rr.prototype,"filter",void 0),Ir([r.state()],Rr.prototype,"slideIn",void 0),Ir([r.state()],Rr.prototype,"slideOut",void 0);var Ur=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Lr extends o.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return e.html`
1548
1548
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1549
- `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Wi.elementDefinitions={},Li([r.property({type:String})],Wi.prototype,"label",void 0),Li([r.property({type:Object,converter:t=>t})],Wi.prototype,"value",void 0),Li([r.property({type:Boolean,reflect:!0})],Wi.prototype,"selected",void 0),Li([r.property({type:Object})],Wi.prototype,"subOptions",void 0),Li([o.jsonProperty({})],Wi.prototype,"renderOption",void 0),Li([r.query(".ft-filter-option--slot")],Wi.prototype,"slotElement",void 0),o.customElement("ft-filter")(Ui),o.customElement("ft-filter-option")(Wi);const zi=Ho.build("designedSearchLocaleSelector"),Ki={label:"Select a language",allLanguagesWarningMessage:"Alla languages is only recommended when searching for language-agnostic keywords such as product references"};var Bi=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ai extends(wo(Go)){constructor(){super(),this.warningTooltipPosition="left",this.addStore(no),this.addI18nContext(zi,Ki)}render(){var t,o,r;return(null!==(o=null===(t=this.locales)||void 0===t?void 0:t.length)&&void 0!==o?o:0)<=1?this.editorMode?e.html`
1549
+ `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Lr.elementDefinitions={},Ur([r.property({type:String})],Lr.prototype,"label",void 0),Ur([r.property({type:Object,converter:t=>t})],Lr.prototype,"value",void 0),Ur([r.property({type:Boolean,reflect:!0})],Lr.prototype,"selected",void 0),Ur([r.property({type:Object})],Lr.prototype,"subOptions",void 0),Ur([o.jsonProperty({})],Lr.prototype,"renderOption",void 0),Ur([r.query(".ft-filter-option--slot")],Lr.prototype,"slotElement",void 0),o.customElement("ft-filter")(Rr),o.customElement("ft-filter-option")(Lr);const Wr=Ho.build("designedSearchLocaleSelector"),zr={label:"Select a language",allLanguagesWarningMessage:"Alla languages is only recommended when searching for language-agnostic keywords such as product references"};var Ar=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Br extends(No(Go)){constructor(){super(),this.warningTooltipPosition="left",this.addStore(ao),this.addI18nContext(Wr,zr)}render(){var t,o,r;return(null!==(o=null===(t=this.locales)||void 0===t?void 0:t.length)&&void 0!==o?o:0)<=1?this.editorMode?e.html`
1550
1550
  <div class="ft-search-locale-selector--placeholder">
1551
1551
  <ft-typography variant="caption">
1552
1552
  At least 2 search languages are required to display this selector.
@@ -1560,7 +1560,7 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
1560
1560
  <div part="container">
1561
1561
  <div part="header">
1562
1562
  <ft-typography variant="overline" part="label">
1563
- ${zi.messages.label()}
1563
+ ${Wr.messages.label()}
1564
1564
  </ft-typography>
1565
1565
  </div>
1566
1566
  <ft-radio-group @change=${t=>this.setContentLocale(t)}>
@@ -1570,7 +1570,7 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
1570
1570
  ${t.label.trim()}${null==t.lang&&null==this.currentSearchLocale?e.html`
1571
1571
  <ft-tooltip part="warning-tooltip"
1572
1572
  position="${this.warningTooltipPosition}"
1573
- text="${zi.messages.allLanguagesWarningMessage()}"
1573
+ text="${Wr.messages.allLanguagesWarningMessage()}"
1574
1574
  inline>
1575
1575
  <ft-icon value="warning" part="warning-icon"></ft-icon>
1576
1576
  </ft-tooltip>
@@ -1579,4 +1579,4 @@ const Re=Symbol.for(""),Ue=t=>{if(t?.r===Re)return t?._$litStatic$},Le=t=>({_$li
1579
1579
  `}))}
1580
1580
  </ft-radio-group>
1581
1581
  </div>
1582
- `}setContentLocale(t){var o;this.selectedSearchLocale=null===(o=this.stateManager)||void 0===o?void 0:o.setContentLocale("all"===t.detail?void 0:t.detail)}update(t){super.update(t),t.has("currentSearchLocale")&&(this.selectedSearchLocale=this.currentSearchLocale,this.dispatchEvent(new CustomEvent("current-search-locale-change",{detail:this.currentSearchLocale})))}}Ai.elementDefinitions={"ft-icon":_e,"ft-tooltip":je,"ft-filter":Ui,"ft-filter-option":Wi,"ft-radio-group":vi,"ft-radio":gi,"ft-typography":Ae},Ai.styles=io,Bi([r.property()],Ai.prototype,"warningTooltipPosition",void 0),Bi([o.redux({store:no.name})],Ai.prototype,"editorMode",void 0),Bi([o.redux({store:"search"})],Ai.prototype,"locales",void 0),Bi([o.redux({store:"search",selector:t=>t.request.contentLocale})],Ai.prototype,"currentSearchLocale",void 0),Bi([r.state()],Ai.prototype,"selectedSearchLocale",void 0),o.customElement("ft-search-locale-selector")(Ai),t.FtSearchLocaleSelector=Ai,t.FtSearchLocaleSelectorCssVariables=eo,t.styles=io}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litRepeat,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
1582
+ `}setContentLocale(t){var o;this.selectedSearchLocale=null===(o=this.stateManager)||void 0===o?void 0:o.setContentLocale("all"===t.detail?void 0:t.detail)}update(t){super.update(t),t.has("currentSearchLocale")&&(this.selectedSearchLocale=this.currentSearchLocale,this.dispatchEvent(new CustomEvent("current-search-locale-change",{detail:this.currentSearchLocale})))}}Br.elementDefinitions={"ft-icon":Mi,"ft-tooltip":Pi,"ft-filter":Rr,"ft-filter-option":Lr,"ft-radio-group":mr,"ft-radio":yr,"ft-typography":Ke},Br.styles=io,Ar([r.property()],Br.prototype,"warningTooltipPosition",void 0),Ar([o.redux({store:ao.name})],Br.prototype,"editorMode",void 0),Ar([o.redux({store:"search"})],Br.prototype,"locales",void 0),Ar([o.redux({store:"search",selector:t=>t.request.contentLocale})],Br.prototype,"currentSearchLocale",void 0),Ar([r.state()],Br.prototype,"selectedSearchLocale",void 0),o.customElement("ft-search-locale-selector")(Br),t.FtSearchLocaleSelector=Br,t.FtSearchLocaleSelectorCssVariables=eo,t.styles=io}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litRepeat,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);