@fluid-topics/ft-search-period-filter 1.1.64

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.
@@ -0,0 +1,1545 @@
1
+ !function(t,o,e,i,r,n,a){const l=t=>"string"==typeof t?e.unsafeCSS(t):t;class s{static create(t,o,i,r){const n=t=>l(null!=t?t:r),a=e.css`var(${l(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(${l(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(${l(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(${l(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):l(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${l(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(${l(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const c={colorWhite:s.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:s.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:s.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:s.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:s.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:s.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:s.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:s.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:s.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:s.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:s.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:s.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:s.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:s.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:s.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:s.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:s.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:s.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:s.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:s.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:s.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:s.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:s.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:s.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:s.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:s.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:s.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:s.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:s.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:s.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:s.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:s.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:s.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:s.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:s.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:s.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:s.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:s.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:s.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:s.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:s.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:s.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:s.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:s.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:s.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:s.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:s.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:s.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:s.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:s.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:s.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:s.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:s.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:s.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:s.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:s.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:s.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:s.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:s.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:s.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:s.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:s.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:s.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:s.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:s.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:s.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:s.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:s.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:s.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:s.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:s.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:s.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:s.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:s.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:s.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:s.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:s.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:s.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:s.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:s.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:s.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:s.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:s.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:s.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:s.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:s.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:s.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:s.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:s.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:s.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:s.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:s.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:s.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:s.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:s.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:s.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:s.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:s.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:s.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:s.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:s.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:s.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:s.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:s.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:s.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:s.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:s.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:s.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:s.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:s.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:s.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:s.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:s.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:s.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:s.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:s.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:s.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:s.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:s.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:s.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:s.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:s.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:s.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:s.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:s.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:s.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:s.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:s.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:s.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:s.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:s.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:s.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:s.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:s.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:s.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:s.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:s.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:s.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:s.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:s.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:s.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:s.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:s.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:s.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:s.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:s.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:s.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:s.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:s.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:s.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:s.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:s.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:s.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:s.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:s.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:s.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:s.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:s.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:s.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:s.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:s.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:s.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:s.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:s.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:s.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:s.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:s.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:s.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:s.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:s.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:s.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:s.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:s.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:s.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:s.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:s.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:s.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:s.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:s.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:s.create("--ft-icon-size-6","","SIZE","48px"),opacity0:s.create("--ft-opacity-0","","NUMBER","0"),opacity8:s.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:s.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:s.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:s.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:s.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:s.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:s.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:s.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:s.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:s.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:s.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:s.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:s.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:s.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},f={display:{fontFamily:s.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:s.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:s.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:s.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:s.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:s.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:s.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:s.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:s.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:s.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:s.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:s.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:s.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:s.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:s.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:s.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:s.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:s.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:s.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:s.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:s.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:s.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:s.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:s.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:s.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:s.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:s.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:s.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:s.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:s.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:s.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:s.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:s.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:s.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:s.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:s.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:s.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:s.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:s.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:s.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:s.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:s.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:s.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:s.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:s.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:s.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:s.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:s.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:s.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:s.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:s.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:s.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:s.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:s.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-medium-underline":{fontFamily:s.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:s.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:s.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:s.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:s.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:s.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:s.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},"body-2-semibold":{fontFamily:s.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:s.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:s.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:s.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:s.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:s.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:s.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:s.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:s.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:s.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:s.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:s.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:s.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:s.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:s.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:s.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:s.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:s.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:s.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:s.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:s.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:s.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:s.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:s.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:s.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:s.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:s.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:s.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:s.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:s.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:s.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:s.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:s.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:s.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:s.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:s.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:s.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:s.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:s.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:s.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:s.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:s.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:s.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:s.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:s.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:s.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:s.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:s.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:s.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:s.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:s.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:s.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:s.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:s.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:s.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:s.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:s.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:s.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:s.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:s.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:s.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:s.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:s.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:s.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:s.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:s.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:s.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:s.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:s.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:s.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:s.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:s.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:s.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:s.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:s.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:s.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:s.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:s.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:s.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:s.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:s.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:s.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:s.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:s.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:s.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:s.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:s.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:s.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:s.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:s.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:s.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:s.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:s.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:s.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:s.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:s.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},p={backgroundActionPrimary:s.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:s.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:s.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:s.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:s.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:s.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:s.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:s.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:s.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:s.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:s.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:s.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:s.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:s.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:s.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:s.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:s.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:s.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:s.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",c.colorGray200),contentGlobalSubtle:s.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:s.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:s.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:s.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:s.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:s.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:s.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:s.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:s.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:s.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:s.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:s.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:s.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:s.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:s.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80)},d={largeHeight:s.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:s.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:s.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:s.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:s.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:s.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:s.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:s.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:s.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:s.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:s.extend("--ft-button-small-horizontal-padding","",c.spacing3),smallGap:s.extend("--ft-button-small-gap","",c.spacing2),smallBorderRadius:s.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:s.extend("--ft-button-small-icon-size","",c.iconSize2),smallBorderWidth:s.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:s.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:s.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:s.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:s.extend("--ft-button-primary-background-color","",p.backgroundActionPrimary),primaryColor:s.extend("--ft-button-primary-color","",p.contentGlobalOnColor),primaryIconColor:s.extend("--ft-button-primary-icon-color","",p.contentGlobalOnColor),primaryStateLayerColor:s.extend("--ft-button-primary-state-layer-color","",p.contentGlobalOnColor),primaryHoverStateLayerOpacity:s.extend("--ft-button-primary-hover-state-layer-opacity","",c.opacity16),primaryFocusStateLayerOpacity:s.extend("--ft-button-primary-focus-state-layer-opacity","",c.opacity16),primaryActiveStateLayerOpacity:s.extend("--ft-button-primary-active-state-layer-opacity","",c.opacity24),primaryDisabledComponentOpacity:s.extend("--ft-button-primary-disabled-component-opacity","",c.opacity40),focusFocusRingColor:s.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBackgroundColor:s.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:s.extend("--ft-button-tertiary-color","",p.contentActionPrimary),tertiaryIconColor:s.extend("--ft-button-tertiary-icon-color","",p.contentActionPrimary),tertiaryStateLayerColor:s.extend("--ft-button-tertiary-state-layer-color","",p.contentActionPrimary),tertiaryHoverStateLayerOpacity:s.extend("--ft-button-tertiary-hover-state-layer-opacity","",c.opacity8),tertiaryFocusStateLayerOpacity:s.extend("--ft-button-tertiary-focus-state-layer-opacity","",c.opacity8),tertiaryActiveStateLayerOpacity:s.extend("--ft-button-tertiary-active-state-layer-opacity","",c.opacity16),tertiaryDisabledComponentOpacity:s.extend("--ft-button-tertiary-disabled-component-opacity","",c.opacity40),secondaryBackgroundColor:s.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:s.extend("--ft-button-secondary-color","",p.contentActionPrimary),secondaryIconColor:s.extend("--ft-button-secondary-icon-color","",p.contentActionPrimary),secondaryStateLayerColor:s.extend("--ft-button-secondary-state-layer-color","",p.contentActionPrimary),secondaryHoverStateLayerOpacity:s.extend("--ft-button-secondary-hover-state-layer-opacity","",c.opacity8),secondaryFocusStateLayerOpacity:s.extend("--ft-button-secondary-focus-state-layer-opacity","",c.opacity8),secondaryActiveStateLayerOpacity:s.extend("--ft-button-secondary-active-state-layer-opacity","",c.opacity16),secondaryDisabledComponentOpacity:s.extend("--ft-button-secondary-disabled-component-opacity","",c.opacity40),secondaryBorderColor:s.extend("--ft-button-secondary-border-color","",p.borderActionPrimary),neutralBackgroundColor:s.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:s.extend("--ft-button-neutral-icon-color","",p.contentGlobalSecondary),neutralColor:s.extend("--ft-button-neutral-color","",p.contentGlobalSecondary),neutralStateLayerColor:s.extend("--ft-button-neutral-state-layer-color","",p.contentGlobalSecondary),neutralHoverStateLayerOpacity:s.extend("--ft-button-neutral-hover-state-layer-opacity","",c.opacity8),neutralFocusStateLayerOpacity:s.extend("--ft-button-neutral-focus-state-layer-opacity","",c.opacity8),neutralActiveStateLayerOpacity:s.extend("--ft-button-neutral-active-state-layer-opacity","",c.opacity16),neutralDisabledComponentOpacity:s.extend("--ft-button-neutral-disabled-component-opacity","",c.opacity40)};s.extend("--ft-banner-icon-size","",c.iconSize5),s.create("--ft-banner-border-width","","SIZE","1px"),s.extend("--ft-banner-horizontal-padding","",c.spacing6),s.extend("--ft-banner-vertical-padding","",c.spacing6),s.extend("--ft-banner-horizontal-side-gap","",c.spacing6),s.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),s.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),s.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),s.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),s.extend("--ft-banner-info-color","",p.contentInfoPrimary),s.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),s.extend("--ft-breadcrumb-horizontal-gap","",c.spacing1),s.extend("--ft-breadcrumb-vertical-gap","",c.spacing2),s.extend("--ft-breadcrumb-current-element-color","",p.contentGlobalPrimary),s.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle),s.extend("--ft-page-header-horizontal-padding","",c.spacing12),s.extend("--ft-page-header-horizontal-gap","",c.spacing4),s.extend("--ft-page-header-vertical-gap","",c.spacing2),s.extend("--ft-page-header-classic-vertical-padding","",c.spacing6),s.extend("--ft-page-header-multiline-vertical-padding","",c.spacing4),s.extend("--ft-page-header-inline-vertical-padding","",c.spacing2),s.extend("--ft-page-header-background-color","",c.colorWhite),s.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),s.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),s.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary),s.create("--ft-modal-small-container-width","","SIZE","600px"),s.create("--ft-modal-large-container-width","","SIZE","900px"),s.extend("--ft-modal-overlay-background-color","",c.colorGray700),s.extend("--ft-modal-overlay-opacity","",c.opacity40),s.extend("--ft-modal-shadow","",c.shadowElevation03),s.extend("--ft-modal-body-background-color","",c.colorWhite),s.extend("--ft-modal-body-color","",p.contentGlobalPrimary),s.extend("--ft-modal-body-horizontal-padding","",c.spacing6),s.extend("--ft-modal-body-vertical-padding","",c.spacing6),s.extend("--ft-modal-body-vertical-gap","",c.spacing6),s.extend("--ft-modal-container-margin","",c.spacing3),s.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),s.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),s.extend("--ft-modal-header-color","",p.contentGlobalPrimary),s.extend("--ft-modal-header-trailing-icon-color","",p.contentGlobalSecondary),s.extend("--ft-modal-header-vertical-padding","",c.spacing1),s.extend("--ft-modal-header-right-padding","",c.spacing1),s.extend("--ft-modal-header-left-padding","",c.spacing6),s.extend("--ft-modal-header-gap","",c.spacing2),s.create("--ft-modal-header-border-bottom","","SIZE","1px"),s.extend("--ft-modal-border-radius","",c.borderRadiusM),s.extend("--ft-drawer-overlay-opacity","",c.opacity40),s.extend("--ft-drawer-shadow","",c.shadowElevation03),s.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),s.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),s.extend("--ft-drawer-body-vertical-padding","",c.spacing6),s.extend("--ft-drawer-body-gap","",c.spacing6),s.extend("--ft-drawer-body-background-color","",c.colorWhite),s.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),s.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),s.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),s.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),s.create("--ft-drawer-header-height","","SIZE","50px"),s.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),s.create("--ft-drawer-header-border-width","","SIZE","1px"),s.extend("--ft-drawer-header-gap","",c.spacing3),s.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),s.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),s.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),s.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing4),s.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),s.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),s.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),s.create("--ft-drawer-container-width","","SIZE","66%"),s.create("--ft-drawer-container-min-width","","SIZE","500px"),s.create("--ft-drawer-container-max-width","","SIZE","1000px"),s.create("--ft-drawer-container-height","","SIZE","100%"),s.extend("--ft-drawer-overlay-background-color","",c.colorGray700),s.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),s.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),s.extend("--ft-text-input-field-vertical-gap","",c.spacing05),s.extend("--ft-text-input-field-icon-size","",c.iconSize3),s.create("--ft-text-input-field-height","","SIZE","50px"),s.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),s.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),s.extend("--ft-text-input-helper-icon-size","",c.iconSize2),s.extend("--ft-text-input-border-radius","",c.borderRadiusM),s.extend("--ft-text-input-background-color","",c.colorWhite),s.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),s.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),s.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),s.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),s.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),s.create("--ft-text-input-default-border-width","","SIZE","1px"),s.create("--ft-text-input-error-border-width","","SIZE","2px"),s.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),s.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),s.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),s.create("--ft-text-input-warning-border-width","","SIZE","2px"),s.create("--ft-text-input-focus-outline-width","","SIZE","2px"),s.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),s.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),s.extend("--ft-text-input-disabled-component-opacity","",c.opacity40),s.extend("--ft-text-area-background-color","",c.colorWhite),s.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),s.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),s.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),s.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),s.create("--ft-text-area-default-border-width","","SIZE","1px"),s.create("--ft-text-area-error-border-width","","SIZE","2px"),s.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),s.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),s.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),s.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),s.create("--ft-text-area-focus-outline-width","","SIZE","2px"),s.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),s.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),s.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),s.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),s.extend("--ft-text-area-field-vertical-gap","",c.spacing05),s.create("--ft-text-area-field-min-height","","SIZE","64px"),s.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),s.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),s.extend("--ft-text-area-helper-icon-size","",c.iconSize2),s.extend("--ft-text-area-border-radius","",c.borderRadiusM),s.create("--ft-floating-menu-height","","SIZE","50px"),s.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),s.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),s.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),s.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),s.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),s.extend("--ft-floating-menu-gap","",c.spacing3),s.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),s.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),s.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),s.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),s.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),s.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),s.extend("--ft-floating-menu-icon-size","",c.iconSize3),s.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),s.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),s.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),s.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),s.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),s.create("--ft-combobox-single-select-field-height","","SIZE","50px"),s.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),s.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),s.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),s.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),s.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),s.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),s.extend("--ft-combobox-single-select-background-color","",c.colorWhite),s.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),s.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),s.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),s.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),s.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),s.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),s.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),s.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),s.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),s.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),s.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),s.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),s.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),s.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),s.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),s.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),s.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40),s.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),s.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),s.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),s.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),s.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),s.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),s.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),s.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),s.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),s.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),s.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),s.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),s.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),s.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),s.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),s.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),s.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),s.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),s.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),s.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),s.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),s.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),s.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),s.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),s.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),s.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),s.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),s.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),s.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),s.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM),s.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),s.extend("--ft-popover-horizontal-padding","",c.spacing6),s.extend("--ft-popover-vertical-padding","",c.spacing6),s.extend("--ft-popover-icon-color","",p.contentGlobalSecondary),s.extend("--ft-popover-icon-size","",c.iconSize2),s.extend("--ft-popover-title-color","",p.contentGlobalPrimary),s.extend("--ft-popover-body-color","",p.contentGlobalSecondary),s.extend("--ft-popover-link-color","",p.contentActionPrimary),s.extend("--ft-popover-gap","",c.spacing3),s.extend("--ft-popover-border-radius","",c.borderRadiusM),s.extend("--ft-popover-shadow","",c.shadowElevation02),s.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),s.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),s.extend("--ft-tabs-label-horizontal-padding","",c.spacing4),s.extend("--ft-tabs-label-vertical-padding","",c.spacing3),s.extend("--ft-tabs-label-gap","",c.spacing1),s.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),s.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),s.extend("--ft-tabs-off-active-state-layer-opacity","",c.opacity16),s.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),s.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),s.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),s.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity8),s.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity8),s.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity16),s.extend("--ft-tabs-on-disabled-component-opacity","",c.opacity40),s.extend("--ft-tabs-on-color","",p.contentActionPrimary),s.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),s.extend("--ft-tabs-icon-horizontal-padding","",c.spacing1),s.extend("--ft-tabs-icon-vertical-padding","",c.spacing4),s.create("--ft-tabs-focus-outline-width","","SIZE","2px"),s.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing),s.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),s.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),s.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),s.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),s.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),s.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),s.extend("--ft-collapsible-horizontal-padding","",c.spacing4),s.extend("--ft-collapsible-vertical-padding","",c.spacing3),s.extend("--ft-collapsible-color","",p.contentGlobalPrimary),s.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),s.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),s.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),s.extend("--ft-collapsible-icon-size","",c.iconSize3),s.extend("--ft-switch-group-horizontal-padding","",c.spacing1),s.extend("--ft-switch-group-vertical-padding","",c.spacing1),s.extend("--ft-switch-group-gap","",c.spacing1),s.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),s.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),s.create("--ft-switch-group-border-radius","","SIZE","6px"),s.extend("--ft-switch-label-horizontal-padding","",c.spacing2),s.extend("--ft-switch-label-vertical-padding","",c.spacing1),s.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),s.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),s.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),s.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),s.extend("--ft-switch-off-color","",p.contentGlobalSubtle),s.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),s.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),s.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),s.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),s.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),s.extend("--ft-switch-on-color","",p.contentActionPrimary),s.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),s.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),s.extend("--ft-switch-icon-vertical-padding","",c.spacing1),s.create("--ft-switch-focus-outline-width","","SIZE","2px"),s.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),s.extend("--ft-switch-option-border-radius","",c.borderRadiusS),s.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),s.extend("--ft-chart-1-base","for line charts",c.colorBrand0),s.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),s.extend("--ft-chart-2-base","for line charts",c.colorYellow100),s.extend("--ft-chart-3-light","",c.colorUltramarine40),s.extend("--ft-chart-3-base","",c.colorUltramarine70),s.extend("--ft-chart-4-light","",c.colorCyan50),s.extend("--ft-chart-4-base","",c.colorCyan100),s.extend("--ft-chart-5-light","",c.colorRed40),s.extend("--ft-chart-5-base","",c.colorRed60),s.extend("--ft-chart-6-light","",c.colorGreen40),s.extend("--ft-chart-6-base","",c.colorGreen70),s.extend("--ft-chart-7-light","",c.colorOrange70),s.extend("--ft-chart-7-base","",c.colorOrange100),s.extend("--ft-chart-8-light","",c.colorAvocado70),s.extend("--ft-chart-8-base","",c.colorAvocado200),s.extend("--ft-chart-9-light","",c.colorBrown50),s.extend("--ft-chart-9-base","",c.colorBrown200),s.extend("--ft-chart-10-light","",c.colorGray50),s.extend("--ft-chart-10-base","",c.colorGray80),s.extend("--ft-chart-monochrome-10","",c.colorBrand10),s.extend("--ft-chart-monochrome-20","",c.colorBrand20),s.extend("--ft-chart-monochrome-30","",c.colorBrand40),s.extend("--ft-chart-monochrome-40","",c.colorBrand60),s.extend("--ft-chart-monochrome-50","",c.colorBrand0),s.extend("--ft-chart-monochrome-60","",c.colorBrand200),s.extend("--ft-chip-large-horizontal-padding","",c.spacing4),s.extend("--ft-chip-large-vertical-padding","",c.spacing2),s.extend("--ft-chip-large-gap","",c.spacing1),s.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),s.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),s.extend("--ft-chip-large-border-radius","",c.borderRadiusPill),s.create("--ft-chip-large-border-width","","SIZE","1px"),s.extend("--ft-chip-large-icon-size","",c.iconSize3),s.extend("--ft-chip-medium-horizontal-padding","",c.spacing3),s.extend("--ft-chip-medium-vertical-padding","",c.spacing1),s.extend("--ft-chip-medium-gap","",c.spacing1),s.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),s.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),s.extend("--ft-chip-medium-border-radius","",c.borderRadiusPill),s.create("--ft-chip-medium-border-width","","SIZE","1px"),s.extend("--ft-chip-medium-icon-size","",c.iconSize2),s.extend("--ft-chip-small-horizontal-padding","",c.spacing2),s.extend("--ft-chip-small-vertical-padding","",c.spacing05),s.extend("--ft-chip-small-gap","",c.spacing1),s.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),s.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),s.extend("--ft-chip-small-border-radius","",c.borderRadiusPill),s.create("--ft-chip-small-border-width","","SIZE","1px"),s.extend("--ft-chip-small-icon-size","",c.iconSize1),s.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),s.extend("--ft-chip-neutral-color","",p.contentGlobalPrimary),s.extend("--ft-chip-neutral-icon-color","",p.contentGlobalPrimary),s.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),s.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),s.extend("--ft-chip-info-color","",p.contentInfoPrimary),s.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),s.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),s.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),s.extend("--ft-chip-success-color","",p.contentSuccessPrimary),s.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),s.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),s.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),s.extend("--ft-chip-warning-color","",p.contentWarningPrimary),s.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),s.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),s.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),s.extend("--ft-chip-error-color","",p.contentErrorPrimary),s.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),s.extend("--ft-chip-error-border-color","",p.borderErrorSubtle),s.extend("--ft-border-info-border-color","",p.borderInfoSubtle),s.create("--ft-notice-border-width","","SIZE","1px"),s.extend("--ft-notice-horizontal-padding","",c.spacing2),s.extend("--ft-notice-vertical-padding","",c.spacing1),s.extend("--ft-notice-border-radius","",c.borderRadiusS),s.extend("--ft-notice-gap","",c.spacing2),s.extend("--ft-notice-icon-size","",c.iconSize3),s.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),s.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),s.extend("--ft-notice-info-color","",p.contentInfoPrimary),s.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),s.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),s.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),s.extend("--ft-notice-warning-color","",p.contentWarningPrimary),s.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),s.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),s.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),s.extend("--ft-notice-error-color","",p.contentErrorPrimary),s.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),s.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),s.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),s.extend("--ft-notice-success-color","",p.contentSuccessPrimary),s.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly),s.extend("--ft-checkbox-color","",p.contentGlobalPrimary),s.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),s.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),s.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),s.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),s.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),s.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),s.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),s.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),s.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),s.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),s.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),s.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),s.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),s.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),s.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),s.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),s.extend("--ft-checkbox-gap","",c.spacing3),s.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),s.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),s.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),s.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),s.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),s.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),s.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),s.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),s.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),s.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),s.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),s.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),s.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),s.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),s.extend("--ft-toggle-color","",p.contentGlobalPrimary),s.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),s.extend("--ft-toggle-gap","",c.spacing3),s.extend("--ft-radio-color","",p.contentGlobalPrimary),s.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),s.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),s.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),s.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),s.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),s.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),s.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),s.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),s.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),s.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),s.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),s.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),s.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),s.create("--ft-radio-focus-outline-offset","","SIZE","3px"),s.create("--ft-radio-focus-outline-width","","SIZE","2px"),s.extend("--ft-radio-gap","",c.spacing3),s.extend("--ft-notification-icon-size","",c.iconSize4),s.extend("--ft-notification-horizontal-padding","",c.spacing4),s.extend("--ft-notification-vertical-padding","",c.spacing4),s.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),s.extend("--ft-notification-info-color","",p.contentInfoPrimary),s.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),s.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),s.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),s.extend("--ft-notification-success-color","",p.contentSuccessPrimary),s.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),s.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),s.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),s.extend("--ft-notification-warning-color","",p.contentWarningPrimary),s.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),s.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),s.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),s.extend("--ft-notification-error-color","",p.contentErrorPrimary),s.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),s.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),s.extend("--ft-notification-border-radius","",c.borderRadiusPill),s.create("--ft-notification-border-width","","SIZE","1px"),s.extend("--ft-notification-leading-gap","",c.spacing2),s.extend("--ft-notification-trailing-gap","",c.spacing8),s.extend("--ft-tooltip-horizontal-padding","",c.spacing2),s.extend("--ft-tooltip-vertical-padding","",c.spacing2),s.extend("--ft-tooltip-border-radius","",c.borderRadiusS),s.extend("--ft-tooltip-color","",p.contentGlobalOnColor),s.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),s.extend("--ft-tooltip-background-opacity","",c.opacity80),s.extend("--ft-tooltip-shadow","",c.shadowElevation03),s.create("--ft-tooltip-max-width","","SIZE","256px"),s.extend("--ft-tooltip-gap","",c.spacing05);const h=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),u=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),g={fontFamily:u,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")},y=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",h),b=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",g.fontSize,"20px"),m=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",g.fontWeight,"normal"),x=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",g.letterSpacing,"0.15px"),v=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",g.lineHeight,"1.2"),O=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",g.textTransform,"inherit"),w=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",h),S=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",g.fontSize,"14px"),N=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",g.fontWeight,"normal"),$=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",g.letterSpacing,"0.105px"),C=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",g.lineHeight,"1.7"),E=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",g.textTransform,"inherit"),I=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",u),k=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",g.fontSize,"16px"),R=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",g.fontWeight,"600"),U=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",g.letterSpacing,"0.144px"),L=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",g.lineHeight,"1.5"),W=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",g.textTransform,"inherit"),z=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",u),A=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",g.fontSize,"14px"),Z=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",g.fontWeight,"normal"),K=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",g.letterSpacing,"0.098px"),D=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",g.lineHeight,"1.7"),B=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",g.textTransform,"inherit"),F=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",u),T=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",g.fontSize,"16px"),H=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",g.fontWeight,"normal"),P=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",g.letterSpacing,"0.496px"),M=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",g.lineHeight,"1.5"),_=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",g.textTransform,"inherit"),j={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",u),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",g.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",g.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",g.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",g.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",g.textTransform,"inherit")},G=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",u),V=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",g.fontSize,"12px"),Y=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",g.fontWeight,"normal"),q=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",g.letterSpacing,"0.396px"),X=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",g.lineHeight,"1.33"),Q=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",g.textTransform,"inherit"),J=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",u),tt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",g.fontSize,"10px"),ot=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",g.fontWeight,"normal"),et=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",g.letterSpacing,"0.33px"),it=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",g.lineHeight,"1.6"),rt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",g.textTransform,"inherit"),nt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",u),at=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",g.fontSize,"10px"),lt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",g.fontWeight,"normal"),st=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",g.letterSpacing,"1.5px"),ct=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",g.lineHeight,"1.6"),ft=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",g.textTransform,"uppercase"),pt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",u),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",g.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",g.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",g.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",g.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",g.textTransform,"uppercase")},dt=e.css`
2
+ .ft-typography--title {
3
+ font-family: ${y};
4
+ font-size: ${b};
5
+ font-weight: ${m};
6
+ letter-spacing: ${x};
7
+ line-height: ${v};
8
+ text-transform: ${O};
9
+ }
10
+ `,ht=e.css`
11
+ .ft-typography--title-dense {
12
+ font-family: ${w};
13
+ font-size: ${S};
14
+ font-weight: ${N};
15
+ letter-spacing: ${$};
16
+ line-height: ${C};
17
+ text-transform: ${E};
18
+ }
19
+ `,ut=e.css`
20
+ .ft-typography--subtitle1 {
21
+ font-family: ${I};
22
+ font-size: ${k};
23
+ font-weight: ${R};
24
+ letter-spacing: ${U};
25
+ line-height: ${L};
26
+ text-transform: ${W};
27
+ }
28
+ `,gt=e.css`
29
+ .ft-typography--subtitle2 {
30
+ font-family: ${z};
31
+ font-size: ${A};
32
+ font-weight: ${Z};
33
+ letter-spacing: ${K};
34
+ line-height: ${D};
35
+ text-transform: ${B};
36
+ }
37
+
38
+ `,yt=e.css`
39
+ .ft-typography--body1 {
40
+ font-family: ${F};
41
+ font-size: ${T};
42
+ font-weight: ${H};
43
+ letter-spacing: ${P};
44
+ line-height: ${M};
45
+ text-transform: ${_};
46
+ }
47
+ `,bt=e.css`
48
+ .ft-typography--body2 {
49
+ font-family: ${j.fontFamily};
50
+ font-size: ${j.fontSize};
51
+ font-weight: ${j.fontWeight};
52
+ letter-spacing: ${j.letterSpacing};
53
+ line-height: ${j.lineHeight};
54
+ text-transform: ${j.textTransform};
55
+ }
56
+ `,mt=e.css`
57
+ .ft-typography--caption {
58
+ font-family: ${G};
59
+ font-size: ${V};
60
+ font-weight: ${Y};
61
+ letter-spacing: ${q};
62
+ line-height: ${X};
63
+ text-transform: ${Q};
64
+ }
65
+ `,xt=e.css`
66
+ .ft-typography--breadcrumb {
67
+ font-family: ${J};
68
+ font-size: ${tt};
69
+ font-weight: ${ot};
70
+ letter-spacing: ${et};
71
+ line-height: ${it};
72
+ text-transform: ${rt};
73
+ }
74
+ `,vt=e.css`
75
+ .ft-typography--overline {
76
+ font-family: ${nt};
77
+ font-size: ${at};
78
+ font-weight: ${lt};
79
+ letter-spacing: ${st};
80
+ line-height: ${ct};
81
+ text-transform: ${ft};
82
+ }
83
+ `,Ot=e.css`
84
+ .ft-typography--button {
85
+ font-family: ${pt.fontFamily};
86
+ font-size: ${pt.fontSize};
87
+ font-weight: ${pt.fontWeight};
88
+ letter-spacing: ${pt.letterSpacing};
89
+ line-height: ${pt.lineHeight};
90
+ text-transform: ${pt.textTransform};
91
+ }
92
+ `,wt=e.css`
93
+ .ft-typography {
94
+ vertical-align: inherit;
95
+ }
96
+ `,St=[Object.keys(f).map((t=>function(t){const o=f[t];return e.css`
97
+ .ft-typography--${e.unsafeCSS(t)} {
98
+ font-family: ${o.fontFamily};
99
+ font-size: ${o.fontSize};
100
+ font-weight: ${o.fontWeight};
101
+ letter-spacing: ${o.letterSpacing};
102
+ line-height: ${o.lineHeight};
103
+ text-transform: ${o.textCase};
104
+ }
105
+ `}(t)))],Nt=globalThis,$t=Nt.trustedTypes,Ct=$t?$t.createPolicy("lit-html",{createHTML:t=>t}):void 0,Et="$lit$",It=`lit$${(Math.random()+"").slice(9)}$`,kt="?"+It,Rt=`<${kt}>`,Ut=document,Lt=()=>Ut.createComment(""),Wt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,zt=Array.isArray,At="[ \t\n\f\r]",Zt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Kt=/-->/g,Dt=/>/g,Bt=RegExp(`>|${At}(?:([^\\s"'>=/]+)(${At}*=${At}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Ft=/'/g,Tt=/"/g,Ht=/^(?:script|style|textarea|title)$/i,Pt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),Mt=Symbol.for("lit-noChange"),_t=Symbol.for("lit-nothing"),jt=new WeakMap,Gt=Ut.createTreeWalker(Ut,129);function Vt(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ct?Ct.createHTML(o):o}const Yt=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=Zt;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===Zt?"!--"===s[1]?a=Kt:void 0!==s[1]?a=Dt:void 0!==s[2]?(Ht.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=Bt):void 0!==s[3]&&(a=Bt):a===Bt?">"===s[0]?(a=r??Zt,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?Bt:'"'===s[3]?Tt:Ft):a===Tt||a===Ft?a=Bt:a===Kt||a===Dt?a=Zt:(a=Bt,r=void 0);const p=a===Bt&&t[o+1].startsWith("/>")?" ":"";n+=a===Zt?e+Rt:c>=0?(i.push(l),e.slice(0,c)+Et+e.slice(c)+It+p):e+It+(-2===c?o:p)}return[Vt(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class qt{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]=Yt(t,o);if(this.el=qt.createElement(s,e),Gt.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=Gt.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Et)){const o=c[n++],e=i.getAttribute(t).split(It),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?oo:"?"===a[1]?eo:"@"===a[1]?io:to}),i.removeAttribute(t)}else t.startsWith(It)&&(l.push({type:6,index:r}),i.removeAttribute(t));if(Ht.test(i.tagName)){const t=i.textContent.split(It),o=t.length-1;if(o>0){i.textContent=$t?$t.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],Lt()),Gt.nextNode(),l.push({type:2,index:++r});i.append(t[o],Lt())}}}else if(8===i.nodeType)if(i.data===kt)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(It,t+1));)l.push({type:7,index:r}),t+=It.length-1}r++}}static createElement(t,o){const e=Ut.createElement("template");return e.innerHTML=t,e}}function Xt(t,o,e=t,i){if(o===Mt)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=Wt(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=Xt(t,r._$AS(t,o.values),r,i)),o}class Qt{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??Ut).importNode(o,!0);Gt.currentNode=i;let r=Gt.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new Jt(r,r.nextSibling,this,t):1===l.type?o=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(o=new ro(r,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(r=Gt.nextNode(),n++)}return Gt.currentNode=Ut,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 Jt{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=_t,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=Xt(this,t,o),Wt(t)?t===_t||null==t||""===t?(this._$AH!==_t&&this._$AR(),this._$AH=_t):t!==this._$AH&&t!==Mt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>zt(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!==_t&&Wt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ut.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=qt.createElement(Vt(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new Qt(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=jt.get(t.strings);return void 0===o&&jt.set(t.strings,o=new qt(t)),o}T(t){zt(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 Jt(this.k(Lt()),this.k(Lt()),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 to{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=_t,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=_t}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=Xt(this,t,o,0),n=!Wt(t)||t!==this._$AH&&t!==Mt,n&&(this._$AH=t);else{const i=t;let a,l;for(t=r[0],a=0;a<r.length-1;a++)l=Xt(this,i[e+a],o,a),l===Mt&&(l=this._$AH[a]),n||=!Wt(l)||l!==this._$AH[a],l===_t?t=_t:t!==_t&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}n&&!i&&this.O(t)}O(t){t===_t?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class oo extends to{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===_t?void 0:t}}class eo extends to{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==_t)}}class io extends to{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=Xt(this,t,o,0)??_t)===Mt)return;const e=this._$AH,i=t===_t&&e!==_t||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==_t&&(e===_t||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 ro{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){Xt(this,t)}}const no=Nt.litHtmlPolyfillSupport;no?.(qt,Jt),(Nt.litHtmlVersions??=[]).push("3.1.0");
106
+ /**
107
+ * @license
108
+ * Copyright 2020 Google LLC
109
+ * SPDX-License-Identifier: BSD-3-Clause
110
+ */
111
+ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$litStatic$:t,r:ao}),co=new Map,fo=(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=lo(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=co.get(t))&&(a.raw=a,co.set(t,o=a)),e=l}return t(o,...e)})(Pt);var po;!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"}(po||(po={}));var ho=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class uo extends o.FtLitElement{constructor(){super(...arguments),this.variant=po.body1}render(){return this.element?fo`
112
+ <${so(this.element)}
113
+ class="ft-typography ft-typography--${this.variant}">
114
+ <slot></slot>
115
+ </${so(this.element)}>
116
+ `:fo`
117
+ <slot class="ft-typography ft-typography--${this.variant}"></slot>
118
+ `}}uo.styles=[dt,ht,ut,gt,yt,bt,mt,xt,vt,Ot,wt,...St],ho([i.property()],uo.prototype,"element",void 0),ho([i.property()],uo.prototype,"variant",void 0),o.customElement("ft-typography")(uo);const go=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),yo={color:go,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",go),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},bo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),mo=bo,xo=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",bo),vo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),Oo=vo,wo=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",vo),So=e.css`
119
+ :host {
120
+ display: contents;
121
+ }
122
+
123
+ .ft-ripple {
124
+ position: absolute;
125
+ inset: 0;
126
+ pointer-events: none;
127
+ }
128
+
129
+ .ft-ripple:not(.ft-ripple--unbounded) {
130
+ overflow: hidden;
131
+ border-radius: ${yo.borderRadius};
132
+ }
133
+
134
+ .ft-ripple .ft-ripple--background,
135
+ .ft-ripple .ft-ripple--effect {
136
+ position: absolute;
137
+ opacity: 0;
138
+ }
139
+
140
+ .ft-ripple .ft-ripple--effect {
141
+ aspect-ratio: 1;
142
+ width: auto;
143
+ height: auto;
144
+ min-width: 170%;
145
+ min-height: 170%;
146
+ }
147
+
148
+ .ft-ripple .ft-ripple--background{
149
+ width: 100%;
150
+ height: 100%;
151
+ }
152
+
153
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
154
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
155
+ aspect-ratio: 1;
156
+ width: auto;
157
+ height: auto;
158
+ max-width: unset;
159
+ max-height: unset;
160
+ min-width: 100%;
161
+ min-height: 100%;
162
+ }
163
+
164
+ .ft-ripple .ft-ripple--background {
165
+ background-color: ${yo.backgroundColor};
166
+ }
167
+
168
+ .ft-ripple .ft-ripple--effect {
169
+ background-color: ${yo.color};
170
+ }
171
+
172
+ .ft-ripple.ft-ripple--secondary .ft-ripple--background {
173
+ background-color: ${wo};
174
+ }
175
+
176
+ .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
177
+ background-color: ${Oo};
178
+ }
179
+
180
+ .ft-ripple.ft-ripple--primary .ft-ripple--background {
181
+ background-color: ${xo};
182
+ }
183
+
184
+ .ft-ripple.ft-ripple--primary .ft-ripple--effect {
185
+ background-color: ${mo};
186
+ }
187
+
188
+ .ft-ripple .ft-ripple--background {
189
+ top: 0;
190
+ left: 0;
191
+ transition: opacity 75ms linear;
192
+ }
193
+
194
+ .ft-ripple .ft-ripple--effect,
195
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
196
+ border-radius: 50%;
197
+ }
198
+
199
+ .ft-ripple .ft-ripple--effect {
200
+ transform: translate(-50%, -50%) scale(0.15);
201
+ transition: transform 300ms ease, opacity 75ms linear;
202
+ }
203
+
204
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
205
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
206
+ left: 50%;
207
+ top: 50%;
208
+ }
209
+
210
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
211
+ transform: translate(-50%, -50%);
212
+ }
213
+
214
+ .ft-ripple.ft-ripple--hovered .ft-ripple--background {
215
+ opacity: ${yo.opacityContentOnSurfaceHover};
216
+ }
217
+
218
+ .ft-ripple.ft-ripple--selected .ft-ripple--background {
219
+ opacity: ${yo.opacityContentOnSurfaceSelected};
220
+ }
221
+
222
+ .ft-ripple.ft-ripple--focused .ft-ripple--background {
223
+ opacity: ${yo.opacityContentOnSurfaceFocused};
224
+ }
225
+
226
+ .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
227
+ opacity: ${yo.opacityContentOnSurfacePressed};
228
+ transform: translate(-50%, -50%) scale(1);
229
+ }
230
+ `,No={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},$o=e.css`
231
+ :host {
232
+ line-height: 0;
233
+ }
234
+
235
+ .ft-loader {
236
+ display: inline-block;
237
+ position: relative;
238
+
239
+ width: ${No.size};
240
+ height: ${No.size};
241
+ }
242
+
243
+ .ft-loader div {
244
+ position: absolute;
245
+ top: 37.5%;
246
+ width: 25%;
247
+ height: 25%;
248
+ border-radius: 50%;
249
+ background: ${No.color};
250
+ animation-timing-function: cubic-bezier(0, 1, 1, 0);
251
+ }
252
+
253
+ .ft-loader div:nth-child(1) {
254
+ left: 2.5%;
255
+ animation: appear 0.6s infinite;
256
+ }
257
+
258
+ .ft-loader div:nth-child(2) {
259
+ left: 2.5%;
260
+ animation: move 0.6s infinite;
261
+ }
262
+
263
+ .ft-loader div:nth-child(3) {
264
+ left: 37.5%;
265
+ animation: move 0.6s infinite;
266
+ }
267
+
268
+ .ft-loader div:nth-child(4) {
269
+ left: 72.5%;
270
+ animation: disappear 0.6s infinite;
271
+ }
272
+
273
+ @keyframes appear {
274
+ 0% {
275
+ transform: scale(0);
276
+ }
277
+ 100% {
278
+ transform: scale(1);
279
+ }
280
+ }
281
+
282
+ @keyframes disappear {
283
+ 0% {
284
+ transform: scale(1);
285
+ }
286
+ 100% {
287
+ transform: scale(0);
288
+ }
289
+ }
290
+
291
+ @keyframes move {
292
+ 0% {
293
+ transform: translate(0, 0);
294
+ }
295
+ 100% {
296
+ transform: translate(calc(0.35 * ${No.size}), 0);
297
+ }
298
+ }
299
+ `,Co={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Eo=e.css`
300
+ :host, i.ft-icon {
301
+ display: inline-flex;
302
+ align-items: center;
303
+ flex-shrink: 0;
304
+ flex-grow: 0;
305
+ }
306
+
307
+ :host {
308
+ width: ${Co.size};
309
+ height: ${Co.size};
310
+ }
311
+
312
+ i.ft-icon {
313
+ width: 100%;
314
+ height: 100%;
315
+ font-size: ${Co.size};
316
+ line-height: 1;
317
+ font-weight: normal;
318
+ text-transform: none;
319
+ font-style: normal;
320
+ font-variant: normal;
321
+ speak: none;
322
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
323
+ text-rendering: auto;
324
+ -webkit-font-smoothing: antialiased;
325
+ -moz-osx-font-smoothing: grayscale;
326
+ vertical-align: ${Co.verticalAlign};
327
+ }
328
+
329
+ i.ft-icon.ft-icon--fluid-topics {
330
+ font-family: ${Co.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
331
+
332
+ /* Ugly fix because font is broken */
333
+ font-size: calc(0.75 * ${Co.size});
334
+ line-height: ${Co.size};
335
+ position: relative;
336
+ top: -4%;
337
+ justify-content: center;
338
+ }
339
+
340
+ .ft-icon--file-format {
341
+ font-family: ${Co.fileFormatFontFamily}, ft-mime, sans-serif;
342
+ }
343
+
344
+ .ft-icon--material {
345
+ font-family: ${Co.materialFontFamily}, "Material Icons", sans-serif;
346
+ }
347
+ `,Io=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),ko={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Io,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",pt.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Io),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")},Ro=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Uo={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:Ro,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Ro)},Lo=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),Wo=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),zo=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Ao=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),Zo=[e.css`
348
+ :host {
349
+ display: inline-block;
350
+ max-width: 100%;
351
+ pointer-events: none;
352
+ }
353
+
354
+ button {
355
+ box-shadow: 0px 0px 0px transparent;
356
+ border: 0px solid transparent;
357
+ text-shadow: 0px 0px 0px transparent;
358
+ font-size: ${ko.fontSize};
359
+ }
360
+
361
+ button:hover {
362
+ box-shadow: 0px 0px 0px transparent;
363
+ border: 0px solid transparent;
364
+ text-shadow: 0px 0px 0px transparent;
365
+ }
366
+
367
+ button:active {
368
+ outline: none;
369
+ border: none;
370
+ }
371
+
372
+ button:focus {
373
+ outline: 0;
374
+ }
375
+
376
+ .ft-button {
377
+ position: relative;
378
+ display: flex;
379
+ justify-content: center;
380
+ align-items: center;
381
+ width: 100%;
382
+ overflow: hidden;
383
+ box-sizing: border-box;
384
+ border: none;
385
+ pointer-events: auto;
386
+
387
+ --ft-button-internal-line-height: max(calc(${ko.fontSize} + 2px), ${ko.iconSize});
388
+ --ft-button-internal-color: ${ko.color};
389
+ ${o.setVariable(Co.size,ko.iconSize)};
390
+ ${o.setVariable(yo.color,ko.rippleColor)};
391
+
392
+ border-radius: ${ko.borderRadius};
393
+ padding: ${ko.verticalPadding} ${ko.horizontalPadding};
394
+ background-color: ${ko.backgroundColor};
395
+ color: var(--ft-button-internal-color);
396
+ -webkit-mask-image: radial-gradient(white, black);
397
+ }
398
+
399
+ .ft-button.ft-button--outlined {
400
+ border: 1px solid var(--ft-button-internal-color);
401
+ padding: calc(${ko.verticalPadding} - 1px) calc(${ko.horizontalPadding} - 1px);
402
+ }
403
+
404
+ .ft-button.ft-button--dense {
405
+ padding: ${Wo} ${zo};
406
+ border-radius: ${Lo};
407
+ gap: ${Ao};
408
+ }
409
+
410
+ .ft-button.ft-button--dense.ft-button--outlined {
411
+ padding: calc(${Wo} - 1px) calc(${zo} - 1px);
412
+ }
413
+
414
+ .ft-button:not([disabled]):hover {
415
+ cursor: pointer;
416
+ }
417
+
418
+ .ft-button--round {
419
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ko.verticalPadding});
420
+ }
421
+
422
+ .ft-button--round.ft-button--dense {
423
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Wo});
424
+ }
425
+
426
+ .ft-button[disabled] {
427
+ filter: grayscale(1);
428
+ opacity: ${ko.opacityDisabled};
429
+ }
430
+
431
+ .ft-button.ft-button--primary {
432
+ background-color: ${Uo.backgroundColor};
433
+ --ft-button-internal-color: ${Uo.color};
434
+ ${o.setVariable(yo.color,Uo.rippleColor)};
435
+ }
436
+
437
+ .ft-button:focus {
438
+ outline: none;
439
+ }
440
+
441
+ .ft-button--label {
442
+ position: relative;
443
+ overflow: hidden;
444
+ white-space: nowrap;
445
+ text-overflow: ellipsis;
446
+ display: block;
447
+ margin: 0 ${ko.iconPadding};
448
+ ${o.setVariable(pt.fontSize,"1em")};
449
+ ${o.setVariable(pt.lineHeight,"var(--ft-button-internal-line-height)")};
450
+ }
451
+
452
+ .ft-button--dense .ft-button--label {
453
+ margin: 0 ${Ao};
454
+ }
455
+
456
+ .ft-button--label[hidden] {
457
+ display: none;
458
+ }
459
+
460
+ ft-icon {
461
+ flex-shrink: 0;
462
+ position: relative;
463
+ }
464
+
465
+ .ft-button--label[hidden] + ft-icon {
466
+ margin: 0 calc(${ko.horizontalPadding} * -1);
467
+ padding: 0 ${ko.verticalPadding};
468
+ }
469
+
470
+ .ft-button--dense .ft-button--label[hidden] + ft-icon {
471
+ margin: 0 calc(${zo} * -1);
472
+ padding: 0 ${Wo};
473
+ }
474
+
475
+ .ft-button:not(.ft-button--trailing-icon) ft-icon,
476
+ .ft-button:not(.ft-button--trailing-icon) ft-loader {
477
+ order: -1;
478
+ }
479
+
480
+ ft-loader {
481
+ ${o.setVariable(No.size,ko.iconSize)};
482
+ ${o.setVariable(No.color,"var(--ft-button-internal-color)")};
483
+ }
484
+ `,o.noTextSelect];var Ko=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 Do 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`
485
+ <style>
486
+ .ft-ripple .ft-ripple--effect {
487
+ left: ${this.originX}px;
488
+ top: ${this.originY}px;
489
+ }
490
+ </style>
491
+ <div class="${n.classMap(t)}">
492
+ <div class="ft-ripple--background"></div>
493
+ <div class="ft-ripple--effect"></div>
494
+ </div>
495
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Do.elementDefinitions={},Do.styles=So,Ko([i.property({type:Boolean})],Do.prototype,"primary",void 0),Ko([i.property({type:Boolean})],Do.prototype,"secondary",void 0),Ko([i.property({type:Boolean})],Do.prototype,"unbounded",void 0),Ko([i.property({type:Boolean})],Do.prototype,"activated",void 0),Ko([i.property({type:Boolean})],Do.prototype,"selected",void 0),Ko([i.property({type:Boolean})],Do.prototype,"disabled",void 0),Ko([i.state()],Do.prototype,"hovered",void 0),Ko([i.state()],Do.prototype,"focused",void 0),Ko([i.state()],Do.prototype,"pressed",void 0),Ko([i.state()],Do.prototype,"rippling",void 0),Ko([i.state()],Do.prototype,"originX",void 0),Ko([i.state()],Do.prototype,"originY",void 0),Ko([i.query(".ft-ripple")],Do.prototype,"ripple",void 0),Ko([i.query(".ft-ripple--effect")],Do.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Do);const Bo=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),Fo=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),To=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),Ho=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),Po=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),Mo=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),_o=e.css`
496
+ .ft-tooltip--container {
497
+ display: block;
498
+ }
499
+
500
+ .ft-tooltip--inline {
501
+ display: inline-block;
502
+ max-width: 100%;
503
+ }
504
+
505
+ .ft-tooltip {
506
+ position: fixed;
507
+ box-sizing: border-box;
508
+ overflow: hidden;
509
+ width: max-content;
510
+ max-width: ${Mo};
511
+ text-align: center;
512
+ padding: ${Bo};
513
+ z-index: ${Ho};
514
+ }
515
+
516
+ .ft-tooltip--content {
517
+ padding: 4px 8px;
518
+ border-radius: ${Po};
519
+ background-color: ${To};
520
+ color: ${Fo};
521
+ position: relative;
522
+ word-break: break-word;
523
+ }
524
+ `,jo=["start","end"],Go=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+jo[0],o+"-"+jo[1])),[]),Vo=Math.min,Yo=Math.max,qo=Math.round,Xo=t=>({x:t,y:t}),Qo={left:"right",right:"left",bottom:"top",top:"bottom"},Jo={start:"end",end:"start"};function te(t,o,e){return Yo(t,Vo(o,e))}function oe(t,o){return"function"==typeof t?t(o):t}function ee(t){return t.split("-")[0]}function ie(t){return t.split("-")[1]}function re(t){return"x"===t?"y":"x"}function ne(t){return"y"===t?"height":"width"}function ae(t){return["top","bottom"].includes(ee(t))?"y":"x"}function le(t){return re(ae(t))}function se(t){return t.replace(/left|right|bottom|top/g,(t=>Qo[t]))}function ce(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function fe(t,o,e){let{reference:i,floating:r}=t;const n=ae(o),a=le(o),l=ne(a),s=ee(o),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,d=i[l]/2-r[l]/2;let h;switch(s){case"top":h={x:f,y:i.y-r.height};break;case"bottom":h={x:f,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:p};break;case"left":h={x:i.x-r.width,y:p};break;default:h={x:i.x,y:i.y}}switch(ie(o)){case"start":h[a]-=d*(e&&c?-1:1);break;case"end":h[a]+=d*(e&&c?-1:1)}return h}async function pe(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:d=!1,padding:h=0}=oe(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),g=l[d?"floating"===p?"reference":"floating":p],y=ce(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(g)))||e?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:s})),b="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=ce(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-v.top+u.top)/x.y,bottom:(v.bottom-y.bottom+u.bottom)/x.y,left:(y.left-v.left+u.left)/x.x,right:(v.right-y.right+u.right)/x.x}}function de(t,o,e){return(t?[...e.filter((o=>ie(o)===t)),...e.filter((o=>ie(o)!==t))]:e.filter((t=>ee(t)===t))).filter((e=>!t||(ie(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Jo[t]))}(e)!==e)))}const he=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:d=Go,autoAlignment:h=!0,...u}=oe(t,o),g=void 0!==p||d===Go?de(p||null,h,d):d,y=await pe(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=ie(t),r=le(t),n=ne(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=se(a)),[a,se(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const v=[y[ee(m)],y[x[0]],y[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],w=g[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const o=ie(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])),N=S.filter((t=>t[2].slice(0,ie(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||S[0][0];return $!==l?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function ue(t){return be(t)?(t.nodeName||"").toLowerCase():"#document"}function ge(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function ye(t){var o;return null==(o=(be(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function be(t){return t instanceof Node||t instanceof ge(t).Node}function me(t){return t instanceof Element||t instanceof ge(t).Element}function xe(t){return t instanceof HTMLElement||t instanceof ge(t).HTMLElement}function ve(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ge(t).ShadowRoot)}function Oe(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=Ce(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function we(t){return["table","td","th"].includes(ue(t))}function Se(t){const o=Ne(),e=Ce(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 Ne(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function $e(t){return["html","body","#document"].includes(ue(t))}function Ce(t){return ge(t).getComputedStyle(t)}function Ee(t){return me(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ie(t){if("html"===ue(t))return t;const o=t.assignedSlot||t.parentNode||ve(t)&&t.host||ye(t);return ve(o)?o.host:o}function ke(t){const o=Ie(t);return $e(o)?t.ownerDocument?t.ownerDocument.body:t.body:xe(o)&&Oe(o)?o:ke(o)}function Re(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=ke(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=ge(r);return n?o.concat(a,a.visualViewport||[],Oe(r)?r:[],a.frameElement&&e?Re(a.frameElement):[]):o.concat(r,Re(r,[],e))}function Ue(t){const o=Ce(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=xe(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,l=qo(e)!==n||qo(i)!==a;return l&&(e=n,i=a),{width:e,height:i,$:l}}function Le(t){return me(t)?t:t.contextElement}function We(t){const o=Le(t);if(!xe(o))return Xo(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=Ue(o);let a=(n?qo(e.width):e.width)/i,l=(n?qo(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const ze=Xo(0);function Ae(t){const o=ge(t);return Ne()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ze}function Ze(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=Le(t);let a=Xo(1);o&&(i?me(i)&&(a=We(i)):a=We(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==ge(t))&&o}(n,e,i)?Ae(n):Xo(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=ge(n),o=i&&me(i)?ge(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=We(e),o=e.getBoundingClientRect(),i=Ce(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=ge(e).frameElement}}return ce({width:f,height:p,x:s,y:c})}function Ke(t){return Ze(ye(t)).left+Ee(t).scrollLeft}function De(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=ge(t),i=ye(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=Ne();(!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=ye(t),e=Ee(t),i=t.ownerDocument.body,r=Yo(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=Yo(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+Ke(t);const l=-e.scrollTop;return"rtl"===Ce(i).direction&&(a+=Yo(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(ye(t));else if(me(o))i=function(t,o){const e=Ze(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=xe(t)?We(t):Xo(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=Ae(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return ce(i)}function Be(t,o){const e=Ie(t);return!(e===o||!me(e)||$e(e))&&("fixed"===Ce(e).position||Be(e,o))}function Fe(t,o,e){const i=xe(o),r=ye(o),n="fixed"===e,a=Ze(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=Xo(0);if(i||!i&&!n)if(("body"!==ue(o)||Oe(r))&&(l=Ee(o)),i){const t=Ze(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else r&&(s.x=Ke(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function Te(t,o){return xe(t)&&"fixed"!==Ce(t).position?o?o(t):t.offsetParent:null}function He(t,o){const e=ge(t);if(!xe(t))return e;let i=Te(t,o);for(;i&&we(i)&&"static"===Ce(i).position;)i=Te(i,o);return i&&("html"===ue(i)||"body"===ue(i)&&"static"===Ce(i).position&&!Se(i))?e:i||function(t){let o=Ie(t);for(;xe(o)&&!$e(o);){if(Se(o))return o;o=Ie(o)}return null}(t)||e}const Pe={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=xe(e),n=ye(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Xo(1);const s=Xo(0);if((r||!r&&"fixed"!==i)&&(("body"!==ue(e)||Oe(n))&&(a=Ee(e)),xe(e))){const t=Ze(e);l=We(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:ye,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=Re(t,[],!1).filter((t=>me(t)&&"body"!==ue(t))),r=null;const n="fixed"===Ce(t).position;let a=n?Ie(t):t;for(;me(a)&&!$e(a);){const o=Ce(a),e=Se(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||Oe(a)&&!e&&Be(t,a))?i=i.filter((t=>t!==a)):r=o,a=Ie(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],l=n.reduce(((t,e)=>{const i=De(o,e,r);return t.top=Yo(i.top,t.top),t.right=Vo(i.right,t.right),t.bottom=Vo(i.bottom,t.bottom),t.left=Yo(i.left,t.left),t}),De(o,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:He,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||He,n=this.getDimensions;return{reference:Fe(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 Ue(t)},getScale:We,isElement:me,isRTL:function(t){return"rtl"===Ce(t).direction}},Me=(t,o,e)=>{const i=new Map,r={platform:Pe,...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}=fe(c,i,s),d=i,h={},u=0;for(let e=0;e<l.length;e++){const{name:n,fn:g}=l[e],{x:y,y:b,data:m,reset:x}=await g({x:f,y:p,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=y?y:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:f,y:p}=fe(c,d,s))),e=-1)}return{x:f,y:p,placement:d,strategy:r,middlewareData:h}})(t,o,{...r,platform:n})};function _e(t){return function(t){for(let o=t;o;o=je(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=je(t);o;o=je(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function je(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Ge,Ve,Ye,qe=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 Xe 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`
525
+ <div part="container"
526
+ class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
527
+ @mouseenter=${this.onHover}
528
+ @mouseleave=${this.onOut}
529
+ @focusin=${this.onHover}
530
+ @focusout=${this.onOut}
531
+ @touchstart=${this.onTouch}>
532
+ <slot part="slot" @click=${this.onClick}></slot>
533
+ <div part="tooltip" role="tooltip" inert
534
+ class="ft-tooltip ft-tooltip--${this.validPosition}"
535
+ ?hidden=${!this.visible}>
536
+ <div part="tooltip-content" class="ft-tooltip--content">
537
+ <slot name="text"></slot>
538
+ <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
539
+ </div>
540
+ </div>
541
+ </div>
542
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,o,e){return Me(t,o,{platform:{...Pe,getOffsetParent:t=>Pe.getOffsetParent(t,_e)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:o,y:e,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=oe(i,t),c={x:o,y:e},f=await pe(t,s),p=ae(ee(r)),d=re(p);let h=c[d],u=c[p];if(n){const t="y"===d?"bottom":"right";h=te(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";u=te(u+f["y"===p?"top":"left"],u,u-f[t])}const g=l.fn({...t,[d]:h,[p]:u});return{...g,data:{x:g.x-o,y:g.y-e}}}}),he({allowedPlacements:[e]})]});var i}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Xe.elementDefinitions={"ft-typography":uo},Xe.styles=_o,qe([i.property()],Xe.prototype,"text",void 0),qe([i.property({type:Boolean})],Xe.prototype,"manual",void 0),qe([i.property({type:Boolean})],Xe.prototype,"inline",void 0),qe([i.property({type:Number})],Xe.prototype,"delay",void 0),qe([i.property()],Xe.prototype,"position",void 0),qe([i.queryAssignedNodes()],Xe.prototype,"slotNodes",void 0),qe([i.query(".ft-tooltip--container")],Xe.prototype,"container",void 0),qe([i.query(".ft-tooltip")],Xe.prototype,"tooltip",void 0),qe([i.query(".ft-tooltip--content")],Xe.prototype,"tooltipContent",void 0),qe([i.state()],Xe.prototype,"visible",void 0),qe([i.eventOptions({passive:!0})],Xe.prototype,"onTouch",null),qe([i.eventOptions({passive:!0})],Xe.prototype,"onHover",null),qe([i.eventOptions({passive:!0})],Xe.prototype,"onOut",null),qe([i.eventOptions({passive:!0})],Xe.prototype,"onClick",null),o.customElement("ft-tooltip")(Xe),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE="&#xe909;",t.OCTAGON_XMARK="&#xe97d;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CONSUMER="&#xe97c;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;"}(Ge||(Ge={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Ve||(Ve={})),new Map([...["abw"].map((t=>[t,Ve.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,Ve.AUDIO])),...["avi"].map((t=>[t,Ve.AVI])),...["chm","xhs"].map((t=>[t,Ve.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,Ve.CODE])),...["csv"].map((t=>[t,Ve.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ve.DITA])),...["epub"].map((t=>[t,Ve.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ve.EXCEL])),...["flac"].map((t=>[t,Ve.FLAC])),...["gif"].map((t=>[t,Ve.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ve.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ve.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,Ve.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ve.JPEG])),...["json"].map((t=>[t,Ve.JSON])),...["m4a","m4p"].map((t=>[t,Ve.M4A])),...["mov","qt"].map((t=>[t,Ve.MOV])),...["mp3"].map((t=>[t,Ve.MP3])),...["mp4","m4v"].map((t=>[t,Ve.MP4])),...["ogg","oga"].map((t=>[t,Ve.OGG])),...["pdf","ps"].map((t=>[t,Ve.PDF])),...["png"].map((t=>[t,Ve.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ve.POWERPOINT])),...["rar"].map((t=>[t,Ve.RAR])),...["stp"].map((t=>[t,Ve.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ve.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,Ve.VIDEO])),...["wav"].map((t=>[t,Ve.WAV])),...["wma"].map((t=>[t,Ve.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ve.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ve.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ve.YAML])),...["zip"].map((t=>[t,Ve.ZIP]))]),Ve.ABW,Ve.AUDIO,Ve.AVI,Ve.CHM,Ve.CODE,Ve.CSV,Ve.DITA,Ve.EPUB,Ve.EXCEL,Ve.FLAC,Ve.GIF,Ve.GZIP,Ve.HTML,Ve.IMAGE,Ve.JPEG,Ve.JSON,Ve.M4A,Ve.MOV,Ve.MP3,Ve.MP4,Ve.OGG,Ve.PDF,Ve.PNG,Ve.POWERPOINT,Ve.RAR,Ve.STP,Ve.TEXT,Ve.UNKNOWN,Ve.VIDEO,Ve.WAV,Ve.WMA,Ve.WORD,Ve.XML,Ve.YAML,Ve.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ye||(Ye={}));var Qe=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 Je extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Ye).includes(this.variant)?this.variant:Ye.fluid_topics,o=t!==Ye.material||!!this.value;return e.html`
543
+ <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
544
+ ${a.unsafeHTML(this.resolvedIcon)}
545
+ <slot ?hidden=${o}></slot>
546
+ </i>
547
+ `}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 Ye.file_format:this.resolvedIcon=null!==(t=Ve[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Ye.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=Ge[i.replace("-","_").toUpperCase()])&&void 0!==o?o:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Je.elementDefinitions={},Je.styles=Eo,Qe([i.property()],Je.prototype,"variant",void 0),Qe([i.property()],Je.prototype,"value",void 0),Qe([i.state()],Je.prototype,"resolvedIcon",void 0),Qe([i.query("slot")],Je.prototype,"slottedContent",void 0),o.customElement("ft-icon")(Je);class ti extends o.FtLitElement{render(){return e.html`
548
+ <div class="ft-loader">
549
+ <div></div>
550
+ <div></div>
551
+ <div></div>
552
+ <div></div>
553
+ </div>
554
+ `}}ti.styles=$o,o.customElement("ft-loader")(ti);var oi=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 ei extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",(t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}))}render(){return this.addTooltipIfNeeded(e.html`
555
+ <button part="button"
556
+ class="${n.classMap(this.buttonClasses)}"
557
+ aria-label="${this.getLabel()}"
558
+ ?disabled=${this.isDisabled()}>
559
+ <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
560
+ <ft-typography part="label"
561
+ variant=${this.typographyVariant}
562
+ element="span"
563
+ class="ft-button--label ${o.isSafari?"ft-safari-ellipsis-fix":""}"
564
+ ?hidden=${!this.hasTextContent()}>
565
+ <slot @slotchange=${this.onSlotchange}></slot>
566
+ </ft-typography>
567
+ ${this.resolveIcon()}
568
+ </button>
569
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?e.html`
570
+ <ft-tooltip part="tooltip"
571
+ text="${this.getLabel()}"
572
+ position="${this.tooltipPosition}">
573
+ ${t}
574
+ </ft-tooltip>
575
+ `:t}resolveIcon(){return this.loading?e.html`
576
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
577
+ <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}}ei.elementDefinitions={"ft-ripple":Do,"ft-tooltip":Xe,"ft-typography":uo,"ft-icon":Je,"ft-loader":ti},oi([i.property({type:String,reflect:!0})],ei.prototype,"role",void 0),oi([i.property()],ei.prototype,"type",void 0),oi([i.property({type:Boolean})],ei.prototype,"disabled",void 0),oi([i.property()],ei.prototype,"label",void 0),oi([i.property()],ei.prototype,"icon",void 0),oi([i.property()],ei.prototype,"iconVariant",void 0),oi([i.property({type:Boolean})],ei.prototype,"trailingIcon",void 0),oi([i.property({type:Boolean})],ei.prototype,"loading",void 0),oi([i.property()],ei.prototype,"tooltipPosition",void 0),oi([i.property({type:Boolean})],ei.prototype,"hideTooltip",void 0),oi([i.property({type:Boolean})],ei.prototype,"forceTooltip",void 0),oi([i.query(".ft-button")],ei.prototype,"button",void 0),oi([i.query(".ft-button--label slot")],ei.prototype,"slottedContent",void 0);var ii=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 ri extends ei{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"}}ri.styles=[o.safariEllipsisFix,Zo],ii([i.property({type:Boolean})],ri.prototype,"primary",void 0),ii([i.property({type:Boolean})],ri.prototype,"outlined",void 0),ii([i.property({type:Boolean})],ri.prototype,"dense",void 0),ii([i.property({type:Boolean})],ri.prototype,"round",void 0);const ni=[e.css`
578
+ :host {
579
+ display: inline-block;
580
+ max-width: 100%;
581
+ pointer-events: none;
582
+ }
583
+
584
+ /** Remove default button styles **/
585
+
586
+ button {
587
+ box-shadow: 0 0 0 transparent;
588
+ border: 0 solid transparent;
589
+ text-shadow: 0 0 0 transparent;
590
+ }
591
+
592
+ button:hover {
593
+ box-shadow: 0 0 0 transparent;
594
+ text-shadow: 0 0 0 transparent;
595
+ }
596
+
597
+ button:active {
598
+ outline: none;
599
+ }
600
+
601
+ button:focus {
602
+ outline: 0;
603
+ }
604
+
605
+ /** Base styles **/
606
+
607
+ .ft-button {
608
+ position: relative;
609
+ display: flex;
610
+ justify-content: center;
611
+ align-items: center;
612
+ width: 100%;
613
+ overflow: hidden;
614
+ box-sizing: border-box;
615
+ pointer-events: auto;
616
+ }
617
+
618
+ .ft-button:not([disabled]):hover {
619
+ cursor: pointer;
620
+ }
621
+
622
+ .ft-button:focus {
623
+ outline: none;
624
+ }
625
+
626
+ .ft-button:focus-visible {
627
+ outline-color: ${d.focusFocusRingColor};
628
+ outline-style: solid;
629
+ }
630
+
631
+ ft-icon {
632
+ flex-shrink: 0;
633
+ position: relative;
634
+ }
635
+
636
+ .ft-button:not(.ft-button--trailing-icon) ft-icon,
637
+ .ft-button:not(.ft-button--trailing-icon) ft-loader {
638
+ order: -1;
639
+ }
640
+
641
+ .ft-button--label {
642
+ position: relative;
643
+ overflow: hidden;
644
+ white-space: nowrap;
645
+ text-overflow: ellipsis;
646
+ display: block;
647
+ }
648
+
649
+ .ft-button--label[hidden] {
650
+ display: none;
651
+ }
652
+
653
+ /** Primary styles **/
654
+
655
+ .ft-button--primary {
656
+ ${o.setVariable(No.color,d.primaryIconColor)};
657
+
658
+ ${o.setVariable(yo.color,d.primaryStateLayerColor)};
659
+ ${o.setVariable(yo.opacityContentOnSurfaceHover,d.primaryHoverStateLayerOpacity)};
660
+ ${o.setVariable(yo.opacityContentOnSurfaceFocused,d.primaryFocusStateLayerOpacity)};
661
+ ${o.setVariable(yo.opacityContentOnSurfaceSelected,d.primaryActiveStateLayerOpacity)};
662
+ ${o.setVariable(yo.opacityContentOnSurfacePressed,d.primaryActiveStateLayerOpacity)};
663
+
664
+ background-color: ${d.primaryBackgroundColor};
665
+ color: ${d.primaryColor};
666
+ border-style: none;
667
+ }
668
+
669
+ .ft-button--primary[disabled] {
670
+ opacity: ${d.primaryDisabledComponentOpacity};
671
+ }
672
+
673
+ .ft-button--primary ft-icon {
674
+ color: ${d.primaryIconColor};
675
+ }
676
+
677
+ /** Secondary styles **/
678
+
679
+ .ft-button--secondary {
680
+ ${o.setVariable(No.color,d.secondaryIconColor)};
681
+
682
+ ${o.setVariable(yo.color,d.secondaryStateLayerColor)};
683
+ ${o.setVariable(yo.opacityContentOnSurfaceHover,d.secondaryHoverStateLayerOpacity)};
684
+ ${o.setVariable(yo.opacityContentOnSurfaceFocused,d.secondaryFocusStateLayerOpacity)};
685
+ ${o.setVariable(yo.opacityContentOnSurfaceSelected,d.secondaryActiveStateLayerOpacity)};
686
+ ${o.setVariable(yo.opacityContentOnSurfacePressed,d.secondaryActiveStateLayerOpacity)};
687
+
688
+ background-color: ${d.secondaryBackgroundColor};
689
+ color: ${d.secondaryColor};
690
+ border-color: ${d.secondaryBorderColor};
691
+ border-style: solid;
692
+ }
693
+
694
+ .ft-button--secondary[disabled] {
695
+ opacity: ${d.secondaryDisabledComponentOpacity};
696
+ }
697
+
698
+ .ft-button--secondary ft-icon {
699
+ color: ${d.secondaryIconColor};
700
+ }
701
+
702
+ /** Tertiary styles **/
703
+
704
+ .ft-button--tertiary {
705
+ ${o.setVariable(No.color,d.tertiaryIconColor)};
706
+
707
+ ${o.setVariable(yo.color,d.tertiaryStateLayerColor)};
708
+ ${o.setVariable(yo.opacityContentOnSurfaceHover,d.tertiaryHoverStateLayerOpacity)};
709
+ ${o.setVariable(yo.opacityContentOnSurfaceFocused,d.tertiaryFocusStateLayerOpacity)};
710
+ ${o.setVariable(yo.opacityContentOnSurfaceSelected,d.tertiaryActiveStateLayerOpacity)};
711
+ ${o.setVariable(yo.opacityContentOnSurfacePressed,d.tertiaryActiveStateLayerOpacity)};
712
+
713
+ background-color: ${d.tertiaryBackgroundColor};
714
+ color: ${d.tertiaryColor};
715
+ border-style: none;
716
+ }
717
+
718
+ .ft-button--tertiary[disabled] {
719
+ opacity: ${d.tertiaryDisabledComponentOpacity};
720
+ }
721
+
722
+ .ft-button--tertiary ft-icon {
723
+ color: ${d.tertiaryIconColor};
724
+ }
725
+
726
+ /** Neutral styles **/
727
+
728
+ .ft-button--neutral {
729
+ ${o.setVariable(No.color,d.neutralIconColor)};
730
+
731
+ ${o.setVariable(yo.backgroundColor,d.neutralStateLayerColor)};
732
+ ${o.setVariable(yo.opacityContentOnSurfaceHover,d.neutralHoverStateLayerOpacity)};
733
+ ${o.setVariable(yo.opacityContentOnSurfaceFocused,d.neutralFocusStateLayerOpacity)};
734
+ ${o.setVariable(yo.opacityContentOnSurfaceSelected,d.neutralActiveStateLayerOpacity)};
735
+ ${o.setVariable(yo.opacityContentOnSurfacePressed,d.neutralActiveStateLayerOpacity)};
736
+
737
+ background-color: ${d.neutralBackgroundColor};
738
+ color: ${d.neutralColor};
739
+ border-style: none;
740
+ }
741
+
742
+ .ft-button--neutral[disabled] {
743
+ opacity: ${d.neutralDisabledComponentOpacity};
744
+ }
745
+
746
+ .ft-button--neutral ft-icon {
747
+ color: ${d.neutralIconColor};
748
+ }
749
+
750
+ /** Large styles **/
751
+
752
+ .ft-button--large {
753
+ ${o.setVariable(Co.size,d.largeIconSize)};
754
+ ${o.setVariable(No.size,d.largeIconSize)};
755
+
756
+ height: ${d.largeHeight};
757
+ padding: 0 ${d.largeHorizontalPadding};
758
+ gap: ${d.largeGap};
759
+ border-radius: ${d.largeBorderRadius};
760
+ border-width: ${d.largeBorderWidth};
761
+ }
762
+
763
+ .ft-button--large:focus-visible {
764
+ outline-width: ${d.largeFocusOutlineWidth};
765
+ outline-offset: ${d.largeFocusOutlineOffset};
766
+ }
767
+
768
+ .ft-button--large.ft-button--icon-only {
769
+ width: ${d.largeIconOnlyWidth};
770
+ padding: unset;
771
+ }
772
+
773
+ /** Small styles **/
774
+
775
+ .ft-button--small {
776
+ ${o.setVariable(Co.size,d.smallIconSize)};
777
+ ${o.setVariable(No.size,d.smallIconSize)};
778
+
779
+ height: ${d.smallHeight};
780
+ padding: 0 ${d.smallHorizontalPadding};
781
+ gap: ${d.smallGap};
782
+ border-radius: ${d.smallBorderRadius};
783
+ border-width: ${d.smallBorderWidth};
784
+ }
785
+
786
+ .ft-button--small:focus-visible {
787
+ outline-width: ${d.smallFocusOutlineWidth};
788
+ outline-offset: ${d.smallFocusOutlineOffset};
789
+ }
790
+
791
+ .ft-button--small.ft-button--icon-only {
792
+ width: ${d.smallIconOnlyWidth};
793
+ padding: unset;
794
+ }
795
+ `,o.noTextSelect];var ai=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 li extends ei{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?po.caption1medium:po.body2medium}}li.styles=[o.safariEllipsisFix,ni],ai([i.property({type:Boolean})],li.prototype,"primary",void 0),ai([i.property({type:Boolean})],li.prototype,"secondary",void 0),ai([i.property({type:Boolean})],li.prototype,"tertiary",void 0),ai([i.property({type:Boolean})],li.prototype,"neutral",void 0),ai([i.property({type:Boolean})],li.prototype,"small",void 0),o.customElement("ft-button")(ri),o.customElement("ftds-button")(li);const si=o.FtCssVariableFactory.extend("--ft-checkbox-text-color","",o.designSystemVariables.colorOnSurfaceHigh),ci=o.FtCssVariableFactory.extend("--ft-checkbox-font-size","",g.fontSize),fi=o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),pi=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnPrimary,"Design system"),di=o.FtCssVariableFactory.extend("--ft-checkbox-border-color","",o.designSystemVariables.colorOnSurfaceMedium),hi=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),ui=e.css`
796
+ * {
797
+ box-sizing: border-box;
798
+ }
799
+
800
+ .ft-checkbox {
801
+ box-sizing: border-box;
802
+ color: ${si};
803
+ font-size: ${ci};
804
+
805
+ display: inline-flex;
806
+ align-items: center;
807
+ gap: 4px;
808
+ }
809
+
810
+ .ft-checkbox--disabled {
811
+ color: ${hi};
812
+ }
813
+
814
+ input {
815
+ opacity: 0;
816
+ position: absolute;
817
+ width: 40px;
818
+ height: 40px;
819
+ margin: 0;
820
+ }
821
+
822
+ .ft-checkbox--box-container {
823
+ position: relative;
824
+ width: 40px;
825
+ height: 40px;
826
+
827
+ display: flex;
828
+ justify-content: center;
829
+ align-items: center;
830
+ flex-shrink: 0;
831
+ }
832
+
833
+ .ft-checkbox--box {
834
+ display: flex;
835
+ border: 2px solid ${di};
836
+ border-radius: 2px;
837
+
838
+ width: 18px;
839
+ height: 18px;
840
+
841
+ color: ${pi};
842
+ }
843
+
844
+
845
+ .ft-checkbox--checked .ft-checkbox--box,
846
+ .ft-checkbox--indeterminate .ft-checkbox--box {
847
+ border-color: ${fi};
848
+ background-color: ${fi};
849
+ }
850
+
851
+ .ft-checkbox--disabled .ft-checkbox--box {
852
+ border-color: ${hi};
853
+ background-color: transparent;
854
+ color: ${hi};
855
+ }
856
+
857
+ .ft-checkbox--checkmark {
858
+ transition: opacity 180ms cubic-bezier(0, 0, 0.2, 1) 0ms, transform 180ms cubic-bezier(0, 0, 0.2, 1) 0ms;
859
+ opacity: 0;
860
+ }
861
+
862
+ .ft-checkbox--checkmark-path {
863
+ stroke-dashoffset: 0;
864
+ stroke: currentcolor;
865
+ stroke-width: 3px;
866
+ stroke-dasharray: 30;
867
+ }
868
+
869
+ .ft-checkbox--checked .ft-checkbox--checkmark,
870
+ .ft-checkbox--indeterminate .ft-checkbox--checkmark {
871
+ opacity: 1;
872
+ }
873
+ `;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 yi 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`
874
+ <label class="${n.classMap(t)}" for="checkbox-input">
875
+ <div class="ft-checkbox--box-container">
876
+ <ft-ripple
877
+ ?disabled=${this.disabled}
878
+ ?primary=${this.checked||this.indeterminate}
879
+ unbounded>
880
+ </ft-ripple>
881
+ <div class="ft-checkbox--box">
882
+ <svg class="ft-checkbox--checkmark" viewBox="0 0 24 24">
883
+ <path class="ft-checkbox--checkmark-path" fill="none"
884
+ d=${this.indeterminate&&!this.checked?"M2,12 22,12":"M1.73,12.91 8.1,19.28 22.79,4.59"}></path>
885
+ </svg>
886
+ </div>
887
+ <input type="checkbox"
888
+ id="checkbox-input"
889
+ name="${this.name}"
890
+ .checked=${this.checked}
891
+ .disabled=${this.disabled}
892
+ @change=${this.onChange}
893
+ aria-checked=${this.indeterminate?"mixed":this.checked?"true":"false"}
894
+ >
895
+ </div>
896
+ <ft-typography variant="body2">
897
+ <slot></slot>
898
+ </ft-typography>
899
+ </label>
900
+ `}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)}}yi.elementDefinitions={"ft-ripple":Do,"ft-typography":uo},yi.styles=ui,gi([i.property()],yi.prototype,"name",void 0),gi([i.property({type:Boolean,reflect:!0})],yi.prototype,"checked",void 0),gi([i.property({type:Boolean})],yi.prototype,"indeterminate",void 0),gi([i.property({type:Boolean})],yi.prototype,"disabled",void 0),gi([i.query(".ft-checkbox")],yi.prototype,"container",void 0),gi([i.query("ft-ripple")],yi.prototype,"ripple",void 0),o.customElement("ft-checkbox")(yi);const bi=o.FtCssVariableFactory.extend("--ft-radio-text-color","",o.designSystemVariables.colorOnSurfaceHigh),mi=o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),xi=(o.FtCssVariableFactory.external(o.designSystemVariables.colorOnPrimary,"Design system"),o.FtCssVariableFactory.extend("--ft-radio-border-color","",o.designSystemVariables.colorOnSurfaceMedium)),vi=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),Oi=e.css`
901
+ * {
902
+ box-sizing: border-box;
903
+ }
904
+
905
+ .ft-radio {
906
+ box-sizing: border-box;
907
+ color: ${bi};
908
+
909
+ display: inline-flex;
910
+ align-items: center;
911
+ gap: 4px;
912
+ }
913
+
914
+ .ft-radio--disabled {
915
+ color: ${vi};
916
+ }
917
+
918
+ input {
919
+ opacity: 0;
920
+ position: absolute;
921
+ width: 40px;
922
+ height: 40px;
923
+ margin: 0;
924
+ }
925
+
926
+ .ft-radio--box-container {
927
+ position: relative;
928
+ width: 40px;
929
+ height: 40px;
930
+
931
+ display: flex;
932
+ justify-content: center;
933
+ align-items: center;
934
+ flex-shrink: 0;
935
+ }
936
+
937
+ .ft-radio--box {
938
+ border: 2px solid ${xi};
939
+ border-radius: 50%;
940
+
941
+ display: flex;
942
+ justify-content: center;
943
+ align-items: center;
944
+
945
+ width: 20px;
946
+ height: 20px;
947
+ }
948
+
949
+ .ft-radio--box:after {
950
+ content: " ";
951
+ background-color: ${mi};
952
+
953
+ border-radius: 50%;
954
+
955
+ width: 12px;
956
+ height: 12px;
957
+
958
+ transform: scale(0);
959
+ transition: transform 100ms ease;
960
+ }
961
+
962
+ .ft-radio--checked .ft-radio--box {
963
+ border-color: ${mi};
964
+ }
965
+
966
+
967
+ .ft-radio--checked .ft-radio--box:after {
968
+ transform: scale(1);
969
+ }
970
+
971
+ .ft-radio--disabled .ft-radio--box {
972
+ border-color: ${vi};
973
+ background-color: transparent;
974
+ }
975
+
976
+ .ft-radio--disabled .ft-radio--box:after {
977
+ background-color: ${vi};
978
+ }
979
+ `;var wi=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 Si extends CustomEvent{constructor(t,o){super("change",{detail:{value:t,checked:o},bubbles:!0,composed:!0})}}class Ni extends o.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1,this.tabIndex=-1,this.role="radio"}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return e.html`
980
+ <div class="${n.classMap(t)}">
981
+ <div class="ft-radio--box-container">
982
+ <ft-ripple
983
+ ?disabled=${this.disabled}
984
+ ?primary=${this.checked}
985
+ unbounded>
986
+ </ft-ripple>
987
+ <div class="ft-radio--box">
988
+ </div>
989
+ <input id="radio-button"
990
+ type="radio"
991
+ name="${this.name}"
992
+ value="${this.value}"
993
+ .checked=${this.checked}
994
+ .disabled=${this.disabled}
995
+ @change=${this.onChange}
996
+ >
997
+ </div>
998
+ <label for="radio-button" @click=${t=>t.stopPropagation()}>
999
+ <ft-typography variant="body2">
1000
+ <slot></slot>
1001
+ </ft-typography>
1002
+ </label>
1003
+ </div>
1004
+ `}update(t){super.update(t),t.has("checked")&&!t.has("aria-checked")&&(this.checked?(this.setAttribute("aria-checked","true"),this.tabIndex=0):(this.setAttribute("aria-checked","false"),this.tabIndex=-1))}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Si(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 Si(this.value,this.checked))}}Ni.elementDefinitions={"ft-ripple":Do,"ft-typography":uo},Ni.styles=Oi,wi([i.property()],Ni.prototype,"value",void 0),wi([i.property()],Ni.prototype,"name",void 0),wi([i.property({type:Boolean,reflect:!0})],Ni.prototype,"checked",void 0),wi([i.property({type:Boolean})],Ni.prototype,"disabled",void 0),wi([i.property({reflect:!0})],Ni.prototype,"tabIndex",void 0),wi([i.property({reflect:!0,attribute:"role"})],Ni.prototype,"role",void 0),wi([i.query(".ft-radio")],Ni.prototype,"container",void 0),wi([i.query("ft-ripple")],Ni.prototype,"ripple",void 0),wi([i.query("input")],Ni.prototype,"input",void 0);const $i=e.css`
1005
+ :host {
1006
+ display: contents;
1007
+ }
1008
+ `;var Ci=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 Ei extends o.FtLitElement{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy=""}render(){return e.html`
1009
+ <slot @slotchange=${this.onSlotChange}
1010
+ @change=${this.onChange}
1011
+ @keydown=${this.onKeyDown}
1012
+ ></slot>
1013
+ `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}contentAvailableCallback(t){super.contentAvailableCallback(t),this.radioButtons[0].setAttribute("tabindex","0")}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){let o=!1;switch(t.key){case"ArrowUp":case"ArrowLeft":{o=!0;let e=this.findFtRadio(t),i=this.radioButtons.indexOf(e)-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{o=!0;let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select(),this.radioButtons[e>this.radioButtons.length-1?0:e].focus();break}case"Enter":{let o=this.radioButtons.indexOf(this.findFtRadio(t));this.radioButtons[o].select()}}o&&(t.stopPropagation(),t.preventDefault())}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)}}Ei.elementDefinitions={},Ei.styles=$i,Ci([i.property()],Ei.prototype,"name",void 0),Ci([i.property({reflect:!0,attribute:"role"})],Ei.prototype,"role",void 0),Ci([i.property({reflect:!0,attribute:"aria-labelledby"})],Ei.prototype,"ariaLabelledBy",void 0),Ci([i.queryAssignedElements()],Ei.prototype,"radioButtons",void 0),o.customElement("ft-radio")(Ni),o.customElement("ft-radio-group")(Ei);const Ii={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(j.fontFamily,"Body2 typography"),fontSize:o.FtCssVariableFactory.external(j.fontSize,"Body2 typography"),fontWeight:o.FtCssVariableFactory.external(j.fontWeight,"Body2 typography"),letterSpacing:o.FtCssVariableFactory.external(j.letterSpacing,"Body2 typography"),lineHeight:o.FtCssVariableFactory.external(j.lineHeight,"Body2 typography"),textTransform:o.FtCssVariableFactory.external(j.textTransform,"Body2 typography")},ki=e.css`
1014
+ .ft-filter-level--container {
1015
+ display: flex;
1016
+ flex-direction: column;
1017
+ }
1018
+
1019
+ .ft-filter-level--container > * {
1020
+ padding: 0 10px;
1021
+ }
1022
+
1023
+ .ft-filter-level--go-back {
1024
+ flex-shrink: 0;
1025
+ text-decoration: none;
1026
+ position: relative;
1027
+ border-radius: ${Ii.borderRadiusM};
1028
+ overflow: hidden;
1029
+ display: flex;
1030
+ align-items: center;
1031
+ padding: 4px 4px;
1032
+ gap: 4px;
1033
+ cursor: pointer;
1034
+ color: ${Ii.colorOnSurface};
1035
+ }
1036
+
1037
+ .ft-filter-level--go-back:focus {
1038
+ outline: none;
1039
+ }
1040
+
1041
+ .ft-filter-level--go-back ft-icon {
1042
+ flex-shrink: 0;
1043
+ }
1044
+
1045
+ .ft-filter-level--go-back ft-typography {
1046
+ display: block;
1047
+ flex-grow: 1;
1048
+ flex-shrink: 0;
1049
+ }
1050
+
1051
+ .ft-filter-level--option {
1052
+ display: flex;
1053
+ align-items: center;
1054
+ max-width: 100%;
1055
+ }
1056
+
1057
+ .ft-filter-level--option ft-button {
1058
+ margin-right: -10px;
1059
+ flex-shrink: 0;
1060
+ }
1061
+
1062
+ ft-button {
1063
+ ${o.setVariable(ko.color,Ii.colorOnSurface)};
1064
+ }
1065
+
1066
+ ft-radio, ft-checkbox {
1067
+ flex-shrink: 1;
1068
+ flex-grow: 1;
1069
+ display: flex;
1070
+ max-width: calc(100% + 10px);
1071
+ margin-left: -10px;
1072
+ word-break: break-word;
1073
+ }
1074
+
1075
+ .ft-filter-level--no-values {
1076
+ margin: 10px 0;
1077
+ color: ${Ii.colorOnSurfaceMedium};
1078
+ }
1079
+ `;var Ri=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 Ui extends o.FtLitElement{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!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`
1080
+ <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1081
+ ${null==this.parent?null:e.html`
1082
+ <div tabindex="0"
1083
+ part="controls go-back"
1084
+ class="ft-filter-level--go-back"
1085
+ ?disabled=${this.disabled}
1086
+ @keyup=${this.goBackOnKeyPress}
1087
+ @click=${this.goBackOnClick}>
1088
+ <ft-ripple></ft-ripple>
1089
+ <ft-icon>thin_arrow_left</ft-icon>
1090
+ <ft-typography variant="body2">${this.parent.label}</ft-typography>
1091
+ </div>
1092
+ `}
1093
+ ${0===this.options.length&&this.noValuesLabel?e.html`
1094
+ <ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
1095
+ ${this.noValuesLabel}
1096
+ </ft-typography>
1097
+ `:e.nothing}
1098
+ ${r.repeat(o,(t=>t.value),(t=>{var o;return e.html`
1099
+ <div class="ft-filter-level--option" part="options">
1100
+ ${this.multivalued?this.buildMultiValuedOption(t):this.buildMonoValuedOption(t)}
1101
+ ${this.preventNavigation||t.selected||0===(null!==(o=t.subOptions)&&void 0!==o?o:[]).length?e.nothing:e.html`
1102
+ <ft-button icon="thin_arrow_right"
1103
+ part="controls navigate-hierarchy"
1104
+ label="${t.label}"
1105
+ ?disabled=${this.disabled}
1106
+ tooltipPosition="left"
1107
+ @click=${()=>this.displayLevel(t)}></ft-button>
1108
+ `}
1109
+ </div>
1110
+ `}))}
1111
+ ${o.length<t.length?e.html`
1112
+ <ft-button
1113
+ class="ft-filter-level--display-more"
1114
+ icon="thin_arrow"
1115
+ dense trailingIcon
1116
+ part="controls display-more"
1117
+ @click=${this.displayMore}>
1118
+ ${this.moreValuesButtonLabel}
1119
+ </ft-button>
1120
+ `:e.nothing}
1121
+ </div>
1122
+ `}goBackOnKeyPress(t){"Enter"!==t.key&&" "!==t.key||this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(t){var i;return e.html`
1123
+ <ft-checkbox name="${this.filterId}"
1124
+ part="multivalued-option"
1125
+ data-value="${t.value}"
1126
+
1127
+ .checked=${t.selected}
1128
+ .disabled=${this.disabled}
1129
+ .indeterminate=${o.flatDeep(null!==(i=t.subOptions)&&void 0!==i?i:[],(t=>{var o;return null!==(o=t.subOptions)&&void 0!==o?o:[]})).some((t=>t.selected))}
1130
+ @change=${o=>this.optionsChanged(o,t)}>
1131
+ ${t.renderOption?t.renderOption:t.label}${this.displayCount?` (${t.count})`:""}
1132
+ </ft-checkbox>
1133
+ `}buildMonoValuedOption(t){return e.html`
1134
+ <ft-radio name="${this.filterId+Math.round(1e6*Math.random())}"
1135
+ part="monovalued-option"
1136
+ data-value="${t.value}"
1137
+ .checked=${t.selected}
1138
+ .disabled=${this.disabled}
1139
+ @click=${o=>this.optionsChanged(o,t)}
1140
+ @keyup=${o=>this.onRadioKeyUp(o,t)}
1141
+ @change=${t=>t.stopPropagation()}>
1142
+ ${t.renderOption?t.renderOption:t.label}${this.displayCount?` (${t.count})`:""}
1143
+ </ft-radio>
1144
+ `}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}))}}Ui.elementDefinitions={"ft-button":ri,"ft-ripple":Do,"ft-typography":uo,"ft-checkbox":yi,"ft-icon":Je,"ft-radio":Ni},Ui.styles=ki,Ri([i.property({type:String})],Ui.prototype,"filterId",void 0),Ri([i.property({type:Object})],Ui.prototype,"parent",void 0),Ri([i.property({type:Array})],Ui.prototype,"options",void 0),Ri([i.property({type:Boolean})],Ui.prototype,"multivalued",void 0),Ri([i.property({type:Boolean})],Ui.prototype,"disabled",void 0),Ri([i.property({type:Boolean})],Ui.prototype,"hideSelectedOptions",void 0),Ri([i.property({type:Boolean})],Ui.prototype,"displayCount",void 0),Ri([i.property({type:Boolean})],Ui.prototype,"preventNavigation",void 0),Ri([i.property({type:String})],Ui.prototype,"filter",void 0),Ri([i.property({type:String})],Ui.prototype,"moreValuesButtonLabel",void 0),Ri([i.property({type:String})],Ui.prototype,"noValuesLabel",void 0),Ri([i.property({type:Number})],Ui.prototype,"displayedValuesLimit",void 0),Ri([i.query(".ft-filter-level--container")],Ui.prototype,"container",void 0),Ri([i.state()],Ui.prototype,"displayedPages",void 0);const Li={buttonsColor:o.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",o.designSystemVariables.colorPrimary),buttonsZIndex:o.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:o.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system")},Wi=e.css`
1145
+ .ft-snap-scroll {
1146
+ box-sizing: border-box;
1147
+ position: relative;
1148
+ display: flex;
1149
+
1150
+ --ft-snap-scroll-transparent-color: transparent;
1151
+ }
1152
+
1153
+ .ft-snap-scroll.ft-snap-scroll--safari-fix {
1154
+ /* Safari handles "transparent" as rgba(0,0,0,0) so it's ugly in linear-gradiant with default --ft-color-surface */
1155
+ /* this value should be overridden with --ft-color-surface with alpha set to 0 when needed */
1156
+ --ft-snap-scroll-transparent-color: rgba(255, 255, 255, 0);
1157
+ }
1158
+
1159
+ .ft-snap-scroll,
1160
+ .ft-snap-scroll--content {
1161
+ overflow: hidden;
1162
+ }
1163
+
1164
+ .ft-snap-scroll--limit-size,
1165
+ .ft-snap-scroll--limit-size .ft-snap-scroll--content {
1166
+ width: 100%;
1167
+ height: 100%;
1168
+ }
1169
+
1170
+ .ft-snap-scroll--content {
1171
+ flex-grow: 1;
1172
+ flex-shrink: 1;
1173
+ box-sizing: border-box;
1174
+ scroll-snap-align: start;
1175
+ display: flex;
1176
+ flex-wrap: nowrap;
1177
+ align-items: flex-start;
1178
+ justify-content: flex-start;
1179
+ gap: ${Li.gap};
1180
+ }
1181
+
1182
+ .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
1183
+ display: none;
1184
+ }
1185
+
1186
+ .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content {
1187
+ -ms-overflow-style: none;
1188
+ scrollbar-width: none;
1189
+ }
1190
+
1191
+ .ft-snap-scroll--content::slotted(*) {
1192
+ flex-shrink: 0;
1193
+ flex-grow: 1;
1194
+ max-height: 100%;
1195
+ max-width: 100%;
1196
+ }
1197
+
1198
+ .ft-snap-scroll--horizontal,
1199
+ .ft-snap-scroll--horizontal .ft-snap-scroll--content {
1200
+ width: 100%;
1201
+ }
1202
+
1203
+ .ft-snap-scroll--vertical,
1204
+ .ft-snap-scroll--vertical .ft-snap-scroll--content {
1205
+ height: 100%;
1206
+ }
1207
+
1208
+ .ft-snap-scroll--horizontal .ft-snap-scroll--content {
1209
+ flex-direction: row;
1210
+ overflow-x: auto;
1211
+ }
1212
+
1213
+ .ft-snap-scroll--vertical .ft-snap-scroll--content {
1214
+ flex-direction: column;
1215
+ overflow-y: auto;
1216
+ }
1217
+
1218
+ .ft-snap-scroll--previous,
1219
+ .ft-snap-scroll--next {
1220
+ position: absolute;
1221
+ display: flex;
1222
+ z-index: ${Li.buttonsZIndex};
1223
+ opacity: 1;
1224
+ transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1225
+ ${o.setVariable(ko.backgroundColor,"transparent")};
1226
+ ${o.setVariable(ko.color,Li.buttonsColor)};
1227
+ }
1228
+
1229
+ .ft-snap-scroll--previous[hidden],
1230
+ .ft-snap-scroll--next[hidden] {
1231
+ z-index: -1;
1232
+ opacity: 0;
1233
+ }
1234
+
1235
+ .ft-snap-scroll--horizontal .ft-snap-scroll--previous {
1236
+ top: 0;
1237
+ left: -1px;
1238
+ bottom: 0;
1239
+ background: linear-gradient(to right, ${Li.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1240
+ }
1241
+
1242
+ .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1243
+ top: -1px;
1244
+ left: 0;
1245
+ right: 0;
1246
+ background: linear-gradient(to bottom, ${Li.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1247
+ }
1248
+
1249
+ .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1250
+ top: 0;
1251
+ right: -1px;
1252
+ bottom: 0;
1253
+ background: linear-gradient(to left, ${Li.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1254
+ }
1255
+
1256
+ .ft-snap-scroll--vertical .ft-snap-scroll--next {
1257
+ left: 0;
1258
+ right: 0;
1259
+ bottom: -1px;
1260
+ background: linear-gradient(to top, ${Li.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1261
+ }
1262
+
1263
+ .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1264
+ .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1265
+ .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1266
+ .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1267
+ background-color: ${Li.colorSurface};
1268
+ }
1269
+ `;var zi=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 Ai extends CustomEvent{constructor(t,o){super("current-element-change",{detail:{index:t,element:o}})}}class Zi 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`
1270
+ <div part="container" class="${t}">
1271
+ <ft-button
1272
+ class="ft-snap-scroll--previous"
1273
+ part="controls"
1274
+ primary
1275
+ icon="${this.horizontal?"THIN_ARROW_LEFT":"THIN_ARROW_UP"}"
1276
+ ?hidden=${!i||this.startReached}
1277
+ ?disabled=${!i||this.startReached}
1278
+ @click=${this.previous}
1279
+ ></ft-button>
1280
+ <slot class="ft-snap-scroll--content"
1281
+ part="content"
1282
+ @slotchange=${this.onSlotChange}></slot>
1283
+ <ft-button
1284
+ class="ft-snap-scroll--next"
1285
+ part="controls"
1286
+ primary
1287
+ icon="${this.horizontal?"THIN_ARROW_RIGHT":"THIN_ARROW"}"
1288
+ ?hidden=${!i||this.endReached}
1289
+ ?disabled=${!i||this.endReached}
1290
+ @click=${this.next}
1291
+ ></ft-button>
1292
+ </div>
1293
+ `}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 Ai(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)}}Zi.elementDefinitions={"ft-button":ri},Zi.styles=Wi,zi([i.property({type:Boolean})],Zi.prototype,"horizontal",void 0),zi([i.property({type:Boolean})],Zi.prototype,"hideScrollbar",void 0),zi([i.property({type:Boolean})],Zi.prototype,"controls",void 0),zi([i.property({type:Boolean})],Zi.prototype,"limitSize",void 0),zi([i.state()],Zi.prototype,"elements",void 0),zi([i.state()],Zi.prototype,"currentElement",void 0),zi([i.state()],Zi.prototype,"withScroll",void 0),zi([i.state()],Zi.prototype,"startReached",void 0),zi([i.state()],Zi.prototype,"endReached",void 0),zi([i.query(".ft-snap-scroll--content")],Zi.prototype,"contentSlot",void 0),o.customElement("ft-snap-scroll")(Zi);const Ki=o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),Di=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurface,"Design system"),Bi=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceMedium,"Design system"),Fi=o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),Ti=o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),Hi=o.FtCssVariableFactory.external(o.designSystemVariables.transitionDuration,"Design system"),Pi=o.FtCssVariableFactory.external(o.designSystemVariables.transitionTimingFunction,"Design system"),Mi=o.FtCssVariableFactory.extend("--ft-filter-label-color","",o.designSystemVariables.colorOnSurface),_i=o.FtCssVariableFactory.extend("--ft-filter-label-font-size","",g.fontSize,"16px"),ji=[mt,e.css`
1294
+ :host {
1295
+ display: flex;
1296
+ max-height: 100%;
1297
+ max-width: 100%;
1298
+ }
1299
+
1300
+ .ft-filter--container {
1301
+ flex-grow: 1;
1302
+ display: flex;
1303
+ flex-direction: column;
1304
+ max-height: 100%;
1305
+ max-width: 100%;
1306
+ }
1307
+
1308
+ .ft-filter--header {
1309
+ display: flex;
1310
+ flex-wrap: wrap;
1311
+ gap: 4px;
1312
+ flex-shrink: 0;
1313
+ padding: 0 10px;
1314
+ margin-bottom: 8px;
1315
+ }
1316
+
1317
+ .ft-filter--header ft-button {
1318
+ flex-shrink: 0;
1319
+ margin-left: auto;
1320
+ ${o.setVariable(ko.iconSize,"18px")};
1321
+ }
1322
+ .filter-label {
1323
+ display: contents;
1324
+ }
1325
+
1326
+ .ft-filter--label {
1327
+ display: block;
1328
+ flex-shrink: 1;
1329
+ flex-grow: 1;
1330
+ word-break: break-word;
1331
+ color: ${Mi};
1332
+ font-size: ${_i};
1333
+ ${o.setVariable(g.lineHeight,"22px")};
1334
+ ${o.setVariable(g.fontWeight,"bold")};
1335
+ }
1336
+
1337
+ .ft-filter--filter {
1338
+ flex-shrink: 0;
1339
+ display: flex;
1340
+ margin: 0;
1341
+ margin-bottom: 8px;
1342
+ padding: 0 10px;
1343
+ overflow: hidden;
1344
+ height: 32px;
1345
+ transition: height ${Hi} ${Pi},
1346
+ margin ${Hi} ${Pi};
1347
+ transition-delay: 500ms;
1348
+ }
1349
+
1350
+ .ft-filter--filter[hidden] {
1351
+ height: 0;
1352
+ margin-bottom: 0;
1353
+ }
1354
+
1355
+ input {
1356
+ display: block;
1357
+ width: 100%;
1358
+ border-radius: 4px;
1359
+ border: 1px solid ${Ki};
1360
+ padding: 4px;
1361
+ background-color: ${Ti};
1362
+ color: ${Di};
1363
+ outline-color: ${Fi};
1364
+ }
1365
+
1366
+ input::placeholder {
1367
+ color: ${Bi};
1368
+ }
1369
+
1370
+ input:placeholder-shown {
1371
+ text-overflow: ellipsis;
1372
+ }
1373
+
1374
+ .ft-filter--values {
1375
+ flex-grow: 1;
1376
+ flex-shrink: 1;
1377
+ max-width: 100%;
1378
+ overflow-x: hidden;
1379
+ overflow-y: auto;
1380
+ }
1381
+
1382
+ .ft-filter--separator {
1383
+ border-top: 1px solid ${Ki};
1384
+ margin: 4px 10px;
1385
+ }
1386
+
1387
+ .ft-filter--levels-container {
1388
+ position: relative;
1389
+ overflow: hidden;
1390
+ }
1391
+
1392
+ .ft-filter--levels {
1393
+ position: relative;
1394
+ overflow: hidden;
1395
+ }
1396
+
1397
+ ft-filter-level {
1398
+ width: 100%;
1399
+ }
1400
+
1401
+ .ft-filter--level-left {
1402
+ height: 0;
1403
+ }
1404
+
1405
+ slot:not([name]) {
1406
+ display: none;
1407
+ }
1408
+ `];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 CustomEvent{constructor(t){super("change",{detail:t})}}class Yi 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.displayCount=!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 childrenFilteredFlatOptions(){return o.flatDeep(this.options,(t=>{var o;return t.selected?[]:null!==(o=t.subOptions)&&void 0!==o?o:[]}))}get selectedValues(){return this.childrenFilteredFlatOptions.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`
1409
+ <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1410
+ part="container">
1411
+ ${this.label||t?e.html`
1412
+
1413
+ <div class="ft-filter--header" part="header">
1414
+ <div class="filter-label" id="id-group-${this.id}">
1415
+ <ft-typography class="ft-filter--label" variant="overline" part="label">
1416
+ ${this.label}
1417
+ </ft-typography>
1418
+ <slot name="label"></slot>
1419
+ </div>
1420
+ ${t&&!this.hideClearButton?e.html`
1421
+ <ft-button icon="close" dense @click=${this.clear} part="clear-button">
1422
+ ${this.clearButtonLabel}
1423
+ </ft-button>
1424
+ `:null}
1425
+ </div>
1426
+ `:null}
1427
+ <div class="ft-filter--filter" ?hidden=${!o}>
1428
+ <input type="search"
1429
+ part="input"
1430
+ class="ft-typography--caption"
1431
+ ?disabled=${!o}
1432
+ placeholder="${i}"
1433
+ size="${o?i.length:0}"
1434
+ @search=${this.onFilterChange}
1435
+ @keyup=${this.onFilterChange}>
1436
+ </div>
1437
+ <div class="ft-filter--values" role="group" aria-labelledby="id-group-${this.id}">
1438
+ ${this.renderLevels()}
1439
+ </div>
1440
+ <slot class="ft-filter--slot"
1441
+ @slotchange=${this.updateOptionsFromSlot}
1442
+ @option-change=${this.optionsChanged}></slot>
1443
+ </div>
1444
+ `}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`
1445
+ ${this.raiseSelectedOptions&&o.length>0?e.html`
1446
+ <ft-filter-level
1447
+ filterId="${this.id}"
1448
+ ?multivalued=${this.multivalued}
1449
+ ?disabled=${this.disabled}
1450
+ ?displayCount="${this.displayCount}"
1451
+ preventNavigation
1452
+ .options=${o}
1453
+ @change=${this.onChange}
1454
+ part="values selected-values"
1455
+ .exportpartsPrefixes=${["values","selected-values"]}
1456
+ ></ft-filter-level>
1457
+ <div class="ft-filter--separator">
1458
+ `:null}
1459
+ <ft-snap-scroll horizontal hideScrollbar
1460
+ class="ft-filter--levels"
1461
+ @current-element-change=${t=>this.levelsScrollDebouncer.run((()=>{for(;t.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()}))}>
1462
+ ${this.renderLevel(r,this.options)}
1463
+ ${this.displayedLevels.map((o=>t.find((t=>t.value===o)))).map(((t,o)=>{var e;const r=(null==t?void 0:t.value)===this.slideIn||(null==t?void 0:t.value)===this.slideOut?"ft-filter--level-right":o===i?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(r,null!==(e=null==t?void 0:t.subOptions)&&void 0!==e?e:[],t)}))}
1464
+ </ft-snap-scroll>
1465
+ `}renderLevel(t,o,i){return e.html`
1466
+ <ft-filter-level
1467
+ class="${t}"
1468
+ filterId="${this.id}"
1469
+ .filter="${this.filter}"
1470
+ moreValuesButtonLabel="${this.moreValuesButtonLabel}"
1471
+ ?multivalued=${this.multivalued}
1472
+ ?disabled=${this.disabled||"ft-filter--level-center"!==t}
1473
+ ?hideSelectedOptions=${this.raiseSelectedOptions}
1474
+ ?displayCount="${this.displayCount}"
1475
+ .parent=${i}
1476
+ .options=${o}
1477
+ .displayedValuesLimit=${this.displayedValuesLimit}
1478
+ @change=${this.onChange}
1479
+ @go-back=${this.goBack}
1480
+ @display-level=${this.onDisplayLevel}
1481
+ part="values available-values"
1482
+ .exportpartsPrefixes=${["values","available-values"]}
1483
+ noValuesLabel="${this.noValuesLabel}"
1484
+ ></ft-filter-level>
1485
+ `}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 Vi(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)}}Yi.elementDefinitions={"ft-button":ri,"ft-filter-level":Ui,"ft-snap-scroll":Zi,"ft-typography":uo},Yi.styles=ji,Gi([i.property({type:String})],Yi.prototype,"id",void 0),Gi([i.property({type:String})],Yi.prototype,"label",void 0),Gi([i.property({type:String})],Yi.prototype,"filterPlaceHolder",void 0),Gi([i.property({type:String})],Yi.prototype,"clearButtonLabel",void 0),Gi([i.property({type:String})],Yi.prototype,"moreValuesButtonLabel",void 0),Gi([i.property({type:String})],Yi.prototype,"noValuesLabel",void 0),Gi([o.jsonProperty([])],Yi.prototype,"options",void 0),Gi([i.property({type:Boolean})],Yi.prototype,"multivalued",void 0),Gi([i.property({type:Boolean})],Yi.prototype,"disabled",void 0),Gi([i.property({type:Boolean})],Yi.prototype,"raiseSelectedOptions",void 0),Gi([i.property({type:Boolean})],Yi.prototype,"displayCount",void 0),Gi([i.property({type:Number})],Yi.prototype,"displayedValuesLimit",void 0),Gi([i.property({type:Boolean})],Yi.prototype,"hideClearButton",void 0),Gi([i.query(".ft-filter--slot")],Yi.prototype,"slotElement",void 0),Gi([i.query(".ft-filter--container")],Yi.prototype,"container",void 0),Gi([i.query(".ft-filter--values")],Yi.prototype,"valuesContainer",void 0),Gi([i.query(".ft-filter--levels")],Yi.prototype,"levelsContainer",void 0),Gi([i.state()],Yi.prototype,"lastLevelHasHiddenvalues",void 0),Gi([i.query(".ft-filter--filter input")],Yi.prototype,"filterInput",void 0),Gi([i.queryAll(".ft-filter--levels ft-filter-level")],Yi.prototype,"levels",void 0),Gi([i.state()],Yi.prototype,"withScroll",void 0),Gi([i.state()],Yi.prototype,"filter",void 0),Gi([i.state()],Yi.prototype,"slideIn",void 0),Gi([i.state()],Yi.prototype,"slideOut",void 0);var qi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Xi extends o.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return e.html`
1486
+ <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1487
+ `}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}))}}Xi.elementDefinitions={},qi([i.property({type:String})],Xi.prototype,"label",void 0),qi([i.property({type:Object,converter:t=>t})],Xi.prototype,"value",void 0),qi([i.property({type:Boolean,reflect:!0})],Xi.prototype,"selected",void 0),qi([i.property({type:Object})],Xi.prototype,"subOptions",void 0),qi([o.jsonProperty({})],Xi.prototype,"renderOption",void 0),qi([i.query(".ft-filter-option--slot")],Xi.prototype,"slotElement",void 0),o.customElement("ft-filter")(Yi),o.customElement("ft-filter-option")(Xi);const Qi={headerColor:o.FtCssVariableFactory.extend("--ft-search-period-filter-header-color","",o.designSystemVariables.colorOnSurface)},Ji=e.css`
1488
+ [part="container"] {
1489
+ flex-grow: 1;
1490
+ display: flex;
1491
+ flex-direction: column;
1492
+ max-height: 100%;
1493
+ max-width: 100%;
1494
+ }
1495
+
1496
+ [part="container"] > ft-radio-group {
1497
+ flex-grow: 1;
1498
+ flex-shrink: 1;
1499
+ overflow: auto;
1500
+ display: flex;
1501
+ flex-direction: column;
1502
+ ${o.setVariable(g.lineHeight,"22px")};
1503
+ }
1504
+
1505
+ [part="header"] {
1506
+ display: flex;
1507
+ flex-wrap: wrap;
1508
+ gap: 4px;
1509
+ flex-shrink: 0;
1510
+ padding: 0 10px;
1511
+ margin-bottom: 8px;
1512
+ color: ${Qi.headerColor};
1513
+ }
1514
+
1515
+ [part="label"] {
1516
+ display: block;
1517
+ flex-shrink: 1;
1518
+ flex-grow: 1;
1519
+ word-break: break-word;
1520
+ font-size: ${_i};
1521
+ ${o.setVariable(g.fontWeight,"bold")};
1522
+ }
1523
+
1524
+ `,tr=e.css`
1525
+ `,or=e.css`
1526
+ `,er=o.FtReduxStore.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1}});class ir{static get(t){const{baseUrl:o,apiIntegrationIdentifier:e}=er.getState(),i=null!=t?t:e;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(t){return new Promise((o=>{let e=ir.get(t);if(e)o(e);else{const i=er.subscribe((()=>{e=ir.get(t),e&&(i(),o(e))}))}}))}}class rr{constructor(t=!0,e){var i;this.overrideApi=e;let r=this.constructor;r.commonCache=null!==(i=r.commonCache)&&void 0!==i?i:new o.CacheRegistry,this.cache=t?r.commonCache:new o.CacheRegistry}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:ir.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:ir.await()}clearCache(){this.cache.clearAll()}}var nr;const ar=Symbol("clearAfterUnitTest");class lr extends rr{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[nr]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=er.getState().uiLocale,er.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=er.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)))))}}nr=ar,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends lr{constructor(){super((async(t,o)=>(await this.awaitApi).getFluidTopicsMessageContext(t,o)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends lr{constructor(){super((async(t,o)=>(await this.awaitApi).getCustomMessageContext(t,o)))}});const sr=window.FluidTopicsI18nService,cr=window.FluidTopicsCustomI18nService;var fr=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 pr extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>ir.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
1527
+ <slot></slot>
1528
+ `}update(t){super.update(t),t.has("baseUrl")&&(er.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&er.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&er.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&er.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&er.actions.noCustom(this.noCustom),t.has("editorMode")&&er.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&er.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&er.actions.session(this.session),t.has("availableUiLocales")&&er.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>sr.addContext(t))),t.has("openExternalDocumentInNewTab")&&er.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}pr.elementDefinitions={},pr.styles=or,fr([i.property()],pr.prototype,"baseUrl",void 0),fr([i.property()],pr.prototype,"apiIntegrationIdentifier",void 0),fr([i.property()],pr.prototype,"uiLocale",void 0),fr([o.jsonProperty(null)],pr.prototype,"availableUiLocales",void 0),fr([o.jsonProperty(null)],pr.prototype,"metadataConfiguration",void 0),fr([i.property({type:Boolean})],pr.prototype,"editorMode",void 0),fr([i.property({type:Boolean})],pr.prototype,"noCustom",void 0),fr([i.property({type:Boolean})],pr.prototype,"openExternalDocumentInNewTab",void 0),fr([i.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],pr.prototype,"noCustomComponent",void 0),fr([i.property({type:Boolean})],pr.prototype,"withManualResources",void 0),fr([o.jsonProperty([])],pr.prototype,"messageContexts",void 0),fr([o.jsonProperty(void 0)],pr.prototype,"session",void 0),fr([i.property({type:Object})],pr.prototype,"apiProvider",void 0);class dr extends rr{async listMySearches(){let t=er.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class hr extends rr{async listMyBookmarks(){let t=er.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const ur=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=er.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new hr,this.savedSearchesService=new dr,er.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=er.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(){this.savedSearchesService.clearCache(),ur.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),ur.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();ur.actions.savedSearches(t)}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;ur.actions.bookmarks(o)}}},o.customElement("ft-app-context")(pr);var gr=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 yr=Symbol("i18nAttributes"),br=Symbol("i18nProperties"),mr=Symbol("i18nUnsubs");function xr(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?cr:sr}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,e;null===(o=this[yr])||void 0===o||o.forEach(((o,e)=>{var i;const r=this.getI18nAttributeValue(e);(null===(i=null==r?void 0:r.context)||void 0===i?void 0:i.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(e,r,o)})),null===(e=this[br])||void 0===e||e.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,o,e){this[t]={...o,message:this.i18n({context:o.context,key:o.key,...e})}}update(t){var o,e;super.update(t),null===(o=this[yr])||void 0===o||o.forEach(((o,e)=>{const i=this.getI18nAttributeValue(e);(null==i?void 0:i.context)&&i.key&&(t.has(e)||null!=o.argsProvider)&&(t.has(e)&&this.addI18nContext(i.context),this.updateI18nAttributeMessage(e,i,o))})),null===(e=this[br])||void 0===e||e.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,o,e,i;super.connectedCallback(),new Set([...null!==(o=null===(t=this[br])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(i=null===(e=this[yr])||void 0===e?void 0:e.keys())&&void 0!==i?i:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[mr].has(t)||this[mr].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages("string"==typeof t?t:t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[mr].forEach((t=>t())),this[mr].clear()}}return o=mr,gr([i.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class vr extends(xr(o.FtLitElement)){}class Or extends(xr(o.FtLitElementRedux)){}var wr,Sr,Nr,$r,Cr,Er,Ir,kr,Rr,Ur,Lr,Wr,zr,Ar,Zr,Kr,Dr,Br,Fr=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 Tr extends Or{constructor(){super(),this.editorMode=!1,this.addStore(er)}render(){return this.key&&this.context?e.html`
1529
+ <span class="ft-i18n">
1530
+ ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1531
+ </span>
1532
+ `:this.editorMode?"Select a context and a label key.":e.nothing}update(t){var o;super.update(t),["context","key","defaultMessage"].some((o=>t.has(o)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}Tr.elementDefinitions={},Tr.styles=tr,Fr([o.redux()],Tr.prototype,"editorMode",void 0),Fr([i.property()],Tr.prototype,"context",void 0),Fr([i.property()],Tr.prototype,"key",void 0),Fr([o.jsonProperty([])],Tr.prototype,"args",void 0),Fr([i.property()],Tr.prototype,"defaultMessage",void 0);class Hr{static build(t){return new Hr(t)}static fromGwt(t){return new Hr(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)=>sr.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(Tr),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 d(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function h(){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=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=d(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(y)}),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 g(t,o){var e,i,r=(o=o||{}).body;if(t instanceof g){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 y(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)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},h.call(g.prototype),h.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 x(t,i){return new Promise((function(r,n){var a=new g(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)}))}x.polyfill=!0,t.fetch||(t.fetch=x,t.Headers=s,t.Request=g,t.Response=b),o.Headers=s,o.Request=g,o.Response=b,o.fetch=x,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"}(wr||(wr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Sr||(Sr={})),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"}(Nr||(Nr={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}($r||($r={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(Cr||(Cr={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Er||(Er={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Ir||(Ir={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(kr||(kr={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Rr||(Rr={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Ur||(Ur={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Lr||(Lr={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Wr||(Wr={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(zr||(zr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Ar||(Ar={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Zr||(Zr={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(Kr||(Kr={})),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.GENERATIVE_AI_USER="GENERATIVE_AI_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"}(Dr||(Dr={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(Br||(Br={})),Dr.PERSONAL_BOOK_SHARE_USER,Dr.PERSONAL_BOOK_USER,Dr.HTML_EXPORT_USER,Dr.PERSONAL_BOOK_USER,Dr.PDF_EXPORT_USER,Dr.PERSONAL_BOOK_USER,Dr.KHUB_ADMIN,Dr.CONTENT_PUBLISHER,Dr.ADMIN,Dr.KHUB_ADMIN,Dr.USERS_ADMIN,Dr.PORTAL_ADMIN,Dr.DEVELOPER,Dr.BETA_USER,Dr.DEBUG_USER;class Pr extends Event{constructor(){super(Pr.eventName)}}Pr.eventName="search-context-clear-all-filters";var Mr=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 _r extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const jr=Symbol("registerInterval");class Gr 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[jr]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[jr]):this.dispatchEvent(new _r)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=jr,Mr([i.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}const Vr=Hr.build("designedSearchPeriodFilter"),Yr={label:"Last update",anyTime:"Any time",LAST_WEEK:"Less than a week",LAST_MONTH:"Less than a month",LAST_QUARTER:"Less than a quarter",LAST_YEAR:"Less than a year",CUSTOM:"Custom period",customPeriod:"From {0} to {1}",period:"Period: {0}"};var qr=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 Xr extends(xr(Gr)){constructor(){super(),this.addI18nContext(Vr,Yr)}render(){var t,o,i,r;return e.html`<div part="container">
1533
+ <div part="header">
1534
+ <ft-typography variant="overline" part="label" id="label">
1535
+ ${Vr.messages.label()}
1536
+ </ft-typography>
1537
+ </div>
1538
+ <ft-radio-group @change=${t=>this.setPeriodFilter(t)} aria-labelledby="label">
1539
+ <ft-radio value="anyTime" ?checked=${void 0===this.periodFilter||void 0===this.periodFilter.periodType}>${Vr.messages.anyTime()}</ft-radio>
1540
+ ${this.lessThanAWeek?e.html`<ft-radio ?checked=${"LAST_WEEK"==(null===(t=this.periodFilter)||void 0===t?void 0:t.periodType)} value="LAST_WEEK">${Vr.messages.LAST_WEEK()}</ft-radio>`:e.nothing}
1541
+ ${this.lessThanAMonth?e.html`<ft-radio ?checked=${"LAST_MONTH"==(null===(o=this.periodFilter)||void 0===o?void 0:o.periodType)} value="LAST_MONTH">${Vr.messages.LAST_MONTH()}</ft-radio>`:e.nothing}
1542
+ ${this.lessThanAQuarter?e.html`<ft-radio ?checked=${"LAST_QUARTER"==(null===(i=this.periodFilter)||void 0===i?void 0:i.periodType)} value="LAST_QUARTER">${Vr.messages.LAST_QUARTER()}</ft-radio>`:e.nothing}
1543
+ ${this.lessThanAYear?e.html`<ft-radio ?checked=${"LAST_YEAR"==(null===(r=this.periodFilter)||void 0===r?void 0:r.periodType)} value="LAST_YEAR">${Vr.messages.LAST_YEAR()}</ft-radio>`:e.nothing}
1544
+ </ft-radio-group>
1545
+ </div>`}setPeriodFilter(t){var o;const e=kr[t.detail];null===(o=this.stateManager)||void 0===o||o.setPeriodFilter(void 0===e?void 0:{periodType:e})}}Xr.elementDefinitions={"ft-radio-group":Ei,"ft-radio":Ni,"ft-typography":uo},Xr.styles=Ji,qr([i.property({type:Boolean})],Xr.prototype,"lessThanAWeek",void 0),qr([i.property({type:Boolean})],Xr.prototype,"lessThanAMonth",void 0),qr([i.property({type:Boolean})],Xr.prototype,"lessThanAQuarter",void 0),qr([i.property({type:Boolean})],Xr.prototype,"lessThanAYear",void 0),qr([o.redux({store:"search",selector:t=>t.request.periodFilter})],Xr.prototype,"periodFilter",void 0),o.customElement("ft-search-period-filter")(Xr),t.FtSearchPeriodFilter=Xr,t.FtSearchPeriodFilterCssVariables=Qi,t.periodFilterContext=Vr,t.periodFilterDefaultMessages=Yr,t.styles=Ji}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litRepeat,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);