@fluid-topics/ft-search-load-more-button 1.1.30 → 1.1.32
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.
|
@@ -111,16 +111,16 @@
|
|
|
111
111
|
opacity: ${s.opacityContentOnSurfacePressed};
|
|
112
112
|
transform: translate(-50%, -50%) scale(1);
|
|
113
113
|
}
|
|
114
|
-
`,g=t=>"string"==typeof t?e.unsafeCSS(t):t;class b{static create(t,o,r,i){const n=t=>g(null!=t?t:i),a=e.css`var(${g(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${g(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(t,o,r,i){const n=t=>r.get(null!=t?t:i),a=e.css`var(${g(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r.category,a.fallbackVariable=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${g(t)}, ${n(o)})`,a.breadcrumb=()=>[r.name,...r.breadcrumb()],a.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),a}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):g(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${g(t.name)}, ${r(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=r,i.get=o=>e.css`var(${g(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const m={colorWhite:b.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:b.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:b.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:b.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:b.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:b.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:b.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:b.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:b.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:b.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:b.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:b.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:b.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:b.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:b.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:b.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:b.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:b.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:b.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:b.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:b.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:b.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:b.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:b.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:b.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:b.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:b.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:b.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:b.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:b.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:b.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:b.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:b.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:b.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:b.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:b.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:b.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:b.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:b.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:b.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:b.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:b.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:b.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:b.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:b.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:b.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:b.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:b.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:b.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:b.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:b.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:b.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:b.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:b.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:b.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:b.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:b.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:b.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:b.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:b.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:b.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:b.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:b.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:b.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:b.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:b.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:b.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:b.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:b.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:b.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:b.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:b.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:b.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:b.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:b.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:b.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:b.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:b.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:b.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:b.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:b.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:b.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:b.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:b.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:b.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:b.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:b.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:b.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:b.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:b.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:b.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:b.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:b.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:b.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:b.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:b.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:b.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:b.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:b.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:b.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:b.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:b.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:b.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:b.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:b.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:b.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:b.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:b.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:b.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:b.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:b.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:b.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:b.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:b.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:b.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:b.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:b.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:b.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:b.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:b.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:b.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:b.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:b.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:b.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:b.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:b.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:b.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:b.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:b.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:b.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:b.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:b.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:b.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:b.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:b.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:b.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:b.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:b.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:b.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:b.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:b.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:b.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:b.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:b.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:b.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:b.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:b.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:b.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:b.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:b.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:b.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:b.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:b.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:b.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:b.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:b.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:b.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:b.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:b.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:b.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:b.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:b.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:b.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:b.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:b.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:b.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:b.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:b.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:b.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:b.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:b.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:b.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:b.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:b.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:b.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:b.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:b.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:b.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:b.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:b.create("--ft-icon-size-6","","SIZE","48px"),opacity0:b.create("--ft-opacity-0","","NUMBER","0"),opacity8:b.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:b.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:b.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:b.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:b.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:b.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:b.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:b.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:b.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:b.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:b.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:b.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:b.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:b.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)")},x={display:{fontFamily:b.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:b.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:b.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:b.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:b.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:b.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:b.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:b.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:b.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:b.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:b.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:b.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:b.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:b.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:b.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:b.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:b.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:b.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:b.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:b.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:b.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:b.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:b.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:b.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:b.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:b.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:b.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:b.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:b.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:b.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:b.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:b.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:b.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:b.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:b.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:b.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:b.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:b.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:b.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:b.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:b.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:b.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:b.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:b.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},O={backgroundActionPrimary:b.extend("--ft-background-action-primary","Used as backgorund of primary action components.",m.colorBrand0),backgroundErrorPrimary:b.extend("--ft-background-error-primary","Used as background of error components.",m.colorRed0),backgroundErrorSubtle:b.extend("--ft-background-error-subtle","Used as background of subtle error components.",m.colorRed10),backgroundInfoPrimary:b.extend("--ft-background-info-primary","Used as background of information components.",m.colorCyan200),backgroundInfoSubtle:b.extend("--ft-background-info-subtle","Used as background of subtle information components.",m.colorCyan10),backgroundWarningPrimary:b.extend("--ft-background-warning-primary","Used as background of warning components.",m.colorOrange300),backgroundWarningSubtle:b.extend("--ft-background-warning-subtle","Used as background of subtle information components.",m.colorOrange10),backgroundSuccessPrimary:b.extend("--ft-background-success-primary","Used as background of success components.",m.colorGreen200),backgroundSuccessSubtle:b.extend("--ft-background-success-subtle","Used as background of subtle success components.",m.colorGreen10),backgroundGlobalSurface:b.extend("--ft-background-global-surface","Used as app background.",m.colorWhite),backgroundGlobalOnSurface:b.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",m.colorGray10),backgroundGlobalOnSurfaceDark:b.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",m.colorGray30),contentActionPrimary:b.extend("--ft-content-action-primary","Used on label of primary action on light surface.",m.colorBrand0),contentWarningPrimary:b.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",m.colorOrange300),contentWarningIconOnly:b.extend("--ft-content-warning-icon-only","Used on warning status icons alone",m.colorOrange0),contentErrorPrimary:b.extend("--ft-content-error-primary","Used on label of error messages on light surface.",m.colorRed0),contentErrorIconOnly:b.extend("--ft-content-error-icon-only","Used on error status icons alone",m.colorRed0),contentInfoPrimary:b.extend("--ft-content-info-primary","Used on label of information messages on light surface.",m.colorCyan200),contentInfoIconOnly:b.extend("--ft-content-info-icon-only","Used on info status icons alone",m.colorCyan0),contentSuccessPrimary:b.extend("--ft-content-success-primary","Used on label of success messages on light surface.",m.colorGreen200),contentSuccessIconOnly:b.extend("--ft-content-success-icon-only","Used on success status icons alone",m.colorGreen0),contentGlobalPrimary:b.extend("--ft-content-global-primary","Used for main content on the page.",m.colorGray500),contentGlobalSecondary:b.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",m.colorGray200),contentGlobalSubtle:b.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",m.colorGray0),contentGlobalOnColor:b.extend("--ft-content-global-on-color","Used for content on a dominant color.",m.colorWhite),borderActionPrimary:b.extend("--ft-border-action-primary","Used as border for primary action components.",m.colorBrand0),borderActionFocusRing:b.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",m.colorCyan0),borderWarningPrimary:b.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",m.colorOrange300),borderWarningSubtle:b.extend("--ft-border-warning-subtle","Used as border for warning components.",m.colorOrange30),borderSuccessPrimary:b.extend("--ft-border-success-primary","Used as border for success buttons.",m.colorGreen200),borderSuccessSubtle:b.extend("--ft-border-success-subtle","Used as border for success components.",m.colorGreen30),borderErrorPrimary:b.extend("--ft-border-error-primary","Used as border for text fields in error states.",m.colorRed0),borderErrorSubtle:b.extend("--ft-border-error-subtle","Used as border for error components.",m.colorRed30),borderInfoPrimary:b.extend("--ft-border-info-primary","Used as border for buttons in info color.",m.colorCyan200),borderInfoSubtle:b.extend("--ft-border-info-subtle","Used as border for information components.",m.colorCyan30),borderGlobalPrimary:b.extend("--ft-border-global-primary","Used as border for element like input.",m.colorGray50),borderGlobalSubtle:b.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",m.colorGray30),borderInputPrimary:b.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",m.colorGray80)},v={largeHeight:b.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:b.extend("--ft-button-large-horizontal-padding","",m.spacing4),largeGap:b.extend("--ft-button-large-gap","",m.spacing2),largeBorderRadius:b.extend("--ft-button-large-border-radius","",m.borderRadiusS),largeIconSize:b.extend("--ft-button-large-icon-size","",m.iconSize3),largeBorderWidth:b.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:b.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:b.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:b.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:b.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:b.extend("--ft-button-small-horizontal-padding","",m.spacing3),smallGap:b.extend("--ft-button-small-gap","",m.spacing2),smallBorderRadius:b.extend("--ft-button-small-border-radius","",m.borderRadiusS),smallIconSize:b.extend("--ft-button-small-icon-size","",m.iconSize2),smallBorderWidth:b.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:b.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:b.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:b.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:b.extend("--ft-button-primary-background-color","",O.backgroundActionPrimary),primaryColor:b.extend("--ft-button-primary-color","",O.contentGlobalOnColor),primaryIconColor:b.extend("--ft-button-primary-icon-color","",O.contentGlobalOnColor),primaryStateLayerColor:b.extend("--ft-button-primary-state-layer-color","",O.contentGlobalOnColor),primaryStateLayerOpacityHover:b.extend("--ft-button-primary-state-layer-opacity-hover","",m.opacity16),primaryStateLayerOpacityFocus:b.extend("--ft-button-primary-state-layer-opacity-focus","",m.opacity16),primaryStateLayerOpacityActive:b.extend("--ft-button-primary-state-layer-opacity-active","",m.opacity24),primaryComponentOpacityDisabled:b.extend("--ft-button-primary-component-opacity-disabled","",m.opacity40),focusFocusRingColor:b.extend("--ft-button-focus-focus-ring-color","",O.borderActionFocusRing),tertiaryBackgroundColor:b.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:b.extend("--ft-button-tertiary-color","",O.contentActionPrimary),tertiaryIconColor:b.extend("--ft-button-tertiary-icon-color","",O.contentActionPrimary),tertiaryStateLayerColor:b.extend("--ft-button-tertiary-state-layer-color","",O.contentActionPrimary),tertiaryStateLayerOpacityHover:b.extend("--ft-button-tertiary-state-layer-opacity-hover","",m.opacity8),tertiaryStateLayerOpacityFocus:b.extend("--ft-button-tertiary-state-layer-opacity-focus","",m.opacity8),tertiaryStateLayerOpacityActive:b.extend("--ft-button-tertiary-state-layer-opacity-active","",m.opacity16),tertiaryComponentOpacityDisabled:b.extend("--ft-button-tertiary-component-opacity-disabled","",m.opacity40),secondaryBackgroundColor:b.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:b.extend("--ft-button-secondary-color","",O.contentActionPrimary),secondaryIconColor:b.extend("--ft-button-secondary-icon-color","",O.contentActionPrimary),secondaryStateLayerColor:b.extend("--ft-button-secondary-state-layer-color","",O.contentActionPrimary),secondaryStateLayerOpacityHover:b.extend("--ft-button-secondary-state-layer-opacity-hover","",m.opacity8),secondaryStateLayerOpacityFocus:b.extend("--ft-button-secondary-state-layer-opacity-focus","",m.opacity8),secondaryStateLayerOpacityActive:b.extend("--ft-button-secondary-state-layer-opacity-active","",m.opacity16),secondaryComponentOpacityDisabled:b.extend("--ft-button-secondary-component-opacity-disabled","",m.opacity40),secondaryBorderColor:b.extend("--ft-button-secondary-border-color","",O.borderActionPrimary),neutralBackgroundColor:b.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:b.extend("--ft-button-neutral-icon-color","",O.contentGlobalSecondary),neutralColor:b.extend("--ft-button-neutral-color","",O.contentGlobalSecondary),neutralStateLayerColor:b.extend("--ft-button-neutral-state-layer-color","",O.contentGlobalSecondary),neutralStateLayerOpacityHover:b.extend("--ft-button-neutral-state-layer-opacity-hover","",m.opacity8),neutralStateLayerOpacityFocus:b.extend("--ft-button-neutral-state-layer-opacity-focus","",m.opacity8),neutralStateLayerOpacityActive:b.extend("--ft-button-neutral-state-layer-opacity-active","",m.opacity16),neutralComponentOpacityDisabled:b.extend("--ft-button-neutral-component-opacity-disabled","",m.opacity40)};b.extend("--ft-floating-menu-horizontal-padding","",m.spacing4),b.extend("--ft-floating-menu-vertical-padding","",m.spacing4),b.extend("--ft-floating-menu-off-icon-color","",O.contentGlobalPrimary),b.extend("--ft-floating-menu-off-color","",O.contentGlobalPrimary),b.extend("--ft-floating-menu-on-color","",O.contentActionPrimary),b.extend("--ft-floating-menu-on-icon-color","",O.contentActionPrimary),b.extend("--ft-floating-menu-on-state-layer-color","",O.contentActionPrimary),b.extend("--ft-floating-menu-gap","",m.spacing3),b.extend("--ft-floating-menu-focus-focus-ring-color","",O.borderActionFocusRing),b.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),b.extend("--ft-floating-menu-state-layer-opacity-hover","",m.opacity8),b.extend("--ft-floating-menu-state-layer-opacity-active","",m.opacity16),b.extend("--ft-floating-menu-state-layer-opacity-focus","",m.opacity8),b.extend("--ft-floating-menu-component-opacity-disabled","",m.opacity40),b.extend("--ft-floating-menu-icon-size","",m.iconSize3),b.extend("--ft-floating-menu-background-color","",O.backgroundGlobalOnSurface),b.extend("--ft-tabs-top-left-border-radius","",m.borderRadiusS),b.extend("--ft-tabs-top-right-border-radius","",m.borderRadiusS),b.extend("--ft-tabs-label-horizontal-padding","",m.spacing4),b.extend("--ft-tabs-label-vertical-padding","",m.spacing3),b.extend("--ft-tabs-label-gap","",m.spacing1),b.extend("--ft-tabs-icon-horizontal-padding","",m.spacing1),b.extend("--ft-tabs-icon-vertical-padding","",m.spacing4),b.create("--ft-tabs-focus-outline-width","","SIZE","2px"),b.extend("--ft-tabs-focus-focus-ring-color","",O.borderActionFocusRing),b.extend("--ft-tabs-off-state-layer-opacity-hover","",m.opacity8),b.extend("--ft-tabs-off-state-layer-opacity-focus","",m.opacity8),b.extend("--ft-tabs-off-state-layer-opacity-active","",m.opacity16),b.extend("--ft-tabs-off-component-opacity-disabled","",m.opacity40),b.extend("--ft-tabs-off-color","",O.contentGlobalSubtle),b.extend("--ft-tabs-off-state-layer-color","",O.contentGlobalSubtle),b.extend("--ft-tabs-on-state-layer-opacity-hover","",m.opacity8),b.extend("--ft-tabs-on-state-layer-opacity-focus","",m.opacity8),b.extend("--ft-tabs-on-state-layer-opacity-active","",m.opacity16),b.extend("--ft-tabs-on-component-opacity-disabled","",m.opacity40),b.extend("--ft-tabs-on-color","",O.contentActionPrimary),b.extend("--ft-tabs-on-state-layer-color","",O.contentActionPrimary),b.extend("--ft-collapsible-state-layer-opacity-hover","",m.opacity8),b.extend("--ft-collapsible-state-layer-opacity-focus","",m.opacity8),b.extend("--ft-collapsible-state-layer-opacity-active","",m.opacity16),b.extend("--ft-collapsible-component-opacity-disabled","",m.opacity40),b.extend("--ft-collapsible-horizontal-padding","",m.spacing4),b.extend("--ft-collapsible-vertical-padding","",m.spacing3),b.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),b.extend("--ft-collapsible-focus-focus-ring-color","",O.borderActionFocusRing),b.extend("--ft-collapsible-color","",O.contentGlobalPrimary),b.extend("--ft-collapsible-state-layer-color","",O.contentGlobalPrimary),b.extend("--ft-collapsible-background-color","",O.backgroundGlobalOnSurface),b.extend("--ft-collapsible-border-color","",O.borderGlobalSubtle),b.extend("--ft-collapsible-icon-size","",m.iconSize3),b.extend("--ft-switch-group-horizontal-padding","",m.spacing1),b.extend("--ft-switch-group-vertical-padding","",m.spacing1),b.extend("--ft-switch-group-gap","",m.spacing1),b.extend("--ft-switch-group-background-color","",O.backgroundGlobalSurface),b.extend("--ft-switch-group-border-color","",O.borderGlobalSubtle),b.create("--ft-switch-group-border-radius","","SIZE","6px"),b.extend("--ft-switch-label-horizontal-padding","",m.spacing2),b.extend("--ft-switch-label-vertical-padding","",m.spacing1),b.extend("--ft-switch-icon-horizontal-padding","",m.spacing1),b.extend("--ft-switch-icon-vertical-padding","",m.spacing1),b.create("--ft-switch-focus-outline-width","","SIZE","2px"),b.extend("--ft-switch-focus-focus-ring-color","",O.borderActionFocusRing),b.extend("--ft-switch-option-border-radius","",m.borderRadiusS),b.extend("--ft-switch-off-state-layer-opacity-hover","",m.opacity8),b.extend("--ft-switch-off-state-layer-opacity-focus","",m.opacity8),b.extend("--ft-switch-off-state-layer-opacity-active","",m.opacity16),b.extend("--ft-switch-off-component-opacity-disabled","",m.opacity40),b.extend("--ft-switch-off-color","",O.contentGlobalSubtle),b.extend("--ft-switch-off-state-layer-color","",O.contentGlobalSubtle),b.extend("--ft-switch-on-state-layer-opacity-hover","",m.opacity8),b.extend("--ft-switch-on-state-layer-opacity-focus","",m.opacity8),b.extend("--ft-switch-on-state-layer-opacity-active","",m.opacity16),b.extend("--ft-switch-on-component-opacity-disabled","",m.opacity40),b.extend("--ft-switch-on-color","",O.contentActionPrimary),b.extend("--ft-switch-on-state-layer-color","",O.contentActionPrimary),b.extend("--ft-chart-1-light","for area color charts",m.colorBrand40),b.extend("--ft-chart-1-base","for line charts",m.colorBrand0),b.extend("--ft-chart-2-light","for area color charts",m.colorYellow60),b.extend("--ft-chart-2-base","for line charts",m.colorYellow100),b.extend("--ft-chart-3-light","",m.colorUltramarine40),b.extend("--ft-chart-3-base","",m.colorUltramarine70),b.extend("--ft-chart-4-light","",m.colorCyan50),b.extend("--ft-chart-4-base","",m.colorCyan100),b.extend("--ft-chart-5-light","",m.colorRed40),b.extend("--ft-chart-5-base","",m.colorRed60),b.extend("--ft-chart-6-light","",m.colorGreen40),b.extend("--ft-chart-6-base","",m.colorGreen70),b.extend("--ft-chart-7-light","",m.colorOrange70),b.extend("--ft-chart-7-base","",m.colorOrange100),b.extend("--ft-chart-8-light","",m.colorAvocado70),b.extend("--ft-chart-8-base","",m.colorAvocado200),b.extend("--ft-chart-9-light","",m.colorBrown50),b.extend("--ft-chart-9-base","",m.colorBrown200),b.extend("--ft-chart-10-light","",m.colorGray50),b.extend("--ft-chart-10-base","",m.colorGray80),b.extend("--ft-chart-monochrome-10","",m.colorBrand10),b.extend("--ft-chart-monochrome-20","",m.colorBrand20),b.extend("--ft-chart-monochrome-30","",m.colorBrand40),b.extend("--ft-chart-monochrome-40","",m.colorBrand60),b.extend("--ft-chart-monochrome-50","",m.colorBrand0),b.extend("--ft-chart-monochrome-60","",m.colorBrand200),b.extend("--ft-chip-large-horizontal-padding","",m.spacing4),b.extend("--ft-chip-large-vertical-padding","",m.spacing2),b.extend("--ft-chip-large-gap","",m.spacing1),b.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),b.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),b.extend("--ft-chip-large-border-radius","",m.borderRadiusPill),b.create("--ft-chip-large-border-width","","SIZE","1px"),b.extend("--ft-chip-large-icon-size","",m.iconSize3),b.extend("--ft-chip-medium-horizontal-padding","",m.spacing3),b.extend("--ft-chip-medium-vertical-padding","",m.spacing1),b.extend("--ft-chip-medium-gap","",m.spacing1),b.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),b.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),b.extend("--ft-chip-medium-border-radius","",m.borderRadiusPill),b.create("--ft-chip-medium-border-width","","SIZE","1px"),b.extend("--ft-chip-medium-icon-size","",m.iconSize2),b.extend("--ft-chip-small-horizontal-padding","",m.spacing2),b.extend("--ft-chip-small-vertical-padding","",m.spacing05),b.extend("--ft-chip-small-gap","",m.spacing1),b.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),b.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),b.extend("--ft-chip-small-border-radius","",m.borderRadiusPill),b.create("--ft-chip-small-border-width","","SIZE","1px"),b.extend("--ft-chip-small-icon-size","",m.iconSize1),b.extend("--ft-chip-neutral-background-color","",O.backgroundGlobalOnSurface),b.extend("--ft-chip-neutral-color","",O.contentGlobalPrimary),b.extend("--ft-chip-neutral-border-color","",O.borderGlobalSubtle),b.extend("--ft-chip-info-background-color","",O.backgroundInfoSubtle),b.extend("--ft-chip-info-color","",O.contentInfoPrimary),b.extend("--ft-chip-info-border-color","",O.borderInfoSubtle),b.extend("--ft-chip-success-background-color","",O.backgroundSuccessSubtle),b.extend("--ft-chip-success-color","",O.contentSuccessPrimary),b.extend("--ft-chip-success-border-color","",O.borderSuccessSubtle),b.extend("--ft-chip-warning-background-color","",O.backgroundWarningSubtle),b.extend("--ft-chip-warning-color","",O.contentWarningPrimary),b.extend("--ft-chip-warning-border-color","",O.borderWarningSubtle),b.extend("--ft-chip-error-background-color","",O.backgroundErrorSubtle),b.extend("--ft-chip-error-color","",O.contentErrorPrimary),b.extend("--ft-chip-error-border-color","",O.borderErrorSubtle),b.create("--ft-notice-border-width","","SIZE","1px"),b.extend("--ft-notice-horizontal-padding","",m.spacing2),b.extend("--ft-notice-vertical-padding","",m.spacing1),b.extend("--ft-notice-border-radius","",m.borderRadiusS),b.extend("--ft-notice-gap","",m.spacing2),b.extend("--ft-notice-icon-size","",m.iconSize3),b.extend("--ft-notice-info-background-color","",O.backgroundInfoSubtle),b.extend("--ft-notice-info-border-color","",O.borderInfoSubtle),b.extend("--ft-notice-info-color","",O.contentInfoPrimary),b.extend("--ft-notice-warning-background-color","",O.backgroundWarningSubtle),b.extend("--ft-notice-warning-border-color","",O.borderWarningSubtle),b.extend("--ft-notice-warning-color","",O.contentWarningPrimary),b.extend("--ft-checkbox-label-color","",O.contentGlobalPrimary),b.extend("--ft-checkbox-checked-background-color","",O.contentActionPrimary),b.extend("--ft-checkbox-checked-state-layer-color","",O.contentActionPrimary),b.extend("--ft-checkbox-checked-color","",O.contentGlobalOnColor),b.extend("--ft-checkbox-checked-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-checkbox-checked-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-checkbox-checked-state-layer-opacity-active","",m.opacity24),b.extend("--ft-checkbox-checked-component-opacity-disabled","",m.opacity40),b.extend("--ft-checkbox-unchecked-border-color","",m.colorGray80),b.extend("--ft-checkbox-unchecked-state-layer-color","",m.colorGray80),b.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",m.opacity24),b.extend("--ft-checkbox-unchecked-component-opacity-disabled","",m.opacity40),b.extend("--ft-checkbox-focus-focus-ring-color","",O.borderActionFocusRing),b.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),b.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),b.extend("--ft-checkbox-gap","",m.spacing3),b.extend("--ft-toggle-off-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-toggle-off-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-toggle-off-state-layer-opacity-active","",m.opacity24),b.extend("--ft-toggle-off-component-opacity-disabled","",m.opacity40),b.extend("--ft-toggle-off-background-color","",O.contentGlobalSubtle),b.extend("--ft-toggle-off-icon-color","",O.contentGlobalSubtle),b.extend("--ft-toggle-off-state-layer-color","",O.contentGlobalSubtle),b.extend("--ft-toggle-on-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-toggle-on-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-toggle-on-state-layer-opacity-active","",m.opacity24),b.extend("--ft-toggle-on-component-opacity-disabled","",m.opacity40),b.extend("--ft-toggle-on-background-color","",O.contentActionPrimary),b.extend("--ft-toggle-on-icon-color","",O.contentActionPrimary),b.extend("--ft-toggle-on-state-layer-color","",O.contentActionPrimary),b.extend("--ft-toggle-label-color","",O.contentGlobalPrimary),b.extend("--ft-toggle-focus-focus-ring-color","",O.borderActionFocusRing),b.extend("--ft-toggle-gap","",m.spacing3),b.extend("--ft-radio-label-color","",O.contentGlobalPrimary),b.extend("--ft-radio-selected-color","",O.contentActionPrimary),b.extend("--ft-radio-selected-state-layer-color","",O.contentActionPrimary),b.extend("--ft-radio-selected-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-radio-selected-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-radio-selected-state-layer-opacity-active","",m.opacity24),b.extend("--ft-radio-selected-component-opacity-disabled","",m.opacity40),b.extend("--ft-radio-unselected-state-layer-color","",m.colorGray80),b.extend("--ft-radio-unselected-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-radio-unselected-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-radio-unselected-state-layer-opacity-active","",m.opacity24),b.extend("--ft-radio-unselected-component-opacity-disabled","",m.opacity40),b.extend("--ft-radio-focus-focus-ring-color","",O.borderActionFocusRing),b.create("--ft-radio-focus-outline-offset","","SIZE","3px"),b.create("--ft-radio-focus-outline-width","","SIZE","2px"),b.extend("--ft-radio-gap","",m.spacing3),b.extend("--ft-notification-icon-size","",m.iconSize4),b.extend("--ft-notification-horizontal-padding","",m.spacing4),b.extend("--ft-notification-vertical-padding","",m.spacing4),b.extend("--ft-notification-info-background-color","",O.backgroundInfoSubtle),b.extend("--ft-notification-info-color","",O.contentInfoPrimary),b.extend("--ft-notification-info-border-color","",O.borderInfoSubtle),b.extend("--ft-notification-success-background-color","",O.backgroundSuccessSubtle),b.extend("--ft-notification-success-color","",O.contentSuccessPrimary),b.extend("--ft-notification-success-border-color","",O.borderSuccessSubtle),b.extend("--ft-notification-warning-background-color","",O.backgroundWarningSubtle),b.extend("--ft-notification-warning-color","",O.contentWarningPrimary),b.extend("--ft-notification-warning-border-color","",O.borderWarningSubtle),b.extend("--ft-notification-error-background-color","",O.backgroundErrorSubtle),b.extend("--ft-notification-error-color","",O.contentErrorPrimary),b.extend("--ft-notification-error-border-color","",O.borderErrorSubtle),b.extend("--ft-notification-border-radius","",m.borderRadiusPill),b.create("--ft-notification-border-width","","SIZE","1px"),b.extend("--ft-notification-gap-leading","",m.spacing2),b.extend("--ft-notification-gap-trailing","",m.spacing8),b.extend("--ft-tooltip-horizontal-padding","",m.spacing2),b.extend("--ft-tooltip-vertical-padding","",m.spacing2),b.extend("--ft-tooltip-border-radius","",m.borderRadiusS),b.extend("--ft-tooltip-label","",O.contentGlobalOnColor),b.extend("--ft-tooltip-background","",O.contentGlobalPrimary),b.extend("--ft-tooltip-background-opacity","",m.opacity80),b.extend("--ft-tooltip-shadow","",m.shadowElevation03);const N=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),S=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),w={fontFamily:S,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")},C=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",N),I=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",w.fontSize,"20px"),E=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",w.fontWeight,"normal"),$=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",w.letterSpacing,"0.15px"),U=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",w.lineHeight,"1.2"),R=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",w.textTransform,"inherit"),L=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",N),W=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",w.fontSize,"14px"),k=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",w.fontWeight,"normal"),K=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",w.letterSpacing,"0.105px"),A=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",w.lineHeight,"1.7"),Z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",w.textTransform,"inherit"),z=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",S),D=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",w.fontSize,"16px"),F=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",w.fontWeight,"600"),B=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",w.letterSpacing,"0.144px"),H=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",w.lineHeight,"1.5"),T=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",w.textTransform,"inherit"),P=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",S),M=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",w.fontSize,"14px"),G=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",w.fontWeight,"normal"),j=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",w.letterSpacing,"0.098px"),_=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",w.lineHeight,"1.7"),Y=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",w.textTransform,"inherit"),V=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",S),X=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",w.fontSize,"16px"),q=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",w.fontWeight,"normal"),J=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",w.letterSpacing,"0.496px"),Q=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",w.lineHeight,"1.5"),tt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",w.textTransform,"inherit"),ot=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",S),et=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",w.fontSize,"14px"),rt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",w.fontWeight,"normal"),it=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",w.letterSpacing,"0.252px"),nt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",w.lineHeight,"1.4"),at=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",w.textTransform,"inherit"),lt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",S),st=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",w.fontSize,"12px"),ct=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",w.fontWeight,"normal"),pt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",w.letterSpacing,"0.396px"),ft=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",w.lineHeight,"1.33"),dt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",w.textTransform,"inherit"),ht=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",S),ut=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",w.fontSize,"10px"),yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",w.fontWeight,"normal"),gt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",w.letterSpacing,"0.33px"),bt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",w.lineHeight,"1.6"),mt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",w.textTransform,"inherit"),xt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",S),Ot=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",w.fontSize,"10px"),vt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",w.fontWeight,"normal"),Nt=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",w.letterSpacing,"1.5px"),St=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",w.lineHeight,"1.6"),wt=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",w.textTransform,"uppercase"),Ct={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",S),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",w.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",w.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",w.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",w.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",w.textTransform,"uppercase")},It=e.css`
|
|
114
|
+
`,g=t=>"string"==typeof t?e.unsafeCSS(t):t;class b{static create(t,o,r,i){const n=t=>g(null!=t?t:i),a=e.css`var(${g(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${g(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(t,o,r,i){const n=t=>r.get(null!=t?t:i),a=e.css`var(${g(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r.category,a.fallbackVariable=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${g(t)}, ${n(o)})`,a.breadcrumb=()=>[r.name,...r.breadcrumb()],a.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),a}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):g(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${g(t.name)}, ${r(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=r,i.get=o=>e.css`var(${g(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const m={colorWhite:b.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:b.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:b.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:b.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:b.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:b.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:b.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:b.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:b.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:b.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:b.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:b.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:b.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:b.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:b.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:b.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:b.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:b.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:b.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:b.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:b.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:b.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:b.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:b.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:b.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:b.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:b.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:b.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:b.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:b.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:b.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:b.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:b.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:b.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:b.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:b.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:b.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:b.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:b.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:b.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:b.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:b.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:b.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:b.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:b.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:b.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:b.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:b.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:b.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:b.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:b.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:b.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:b.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:b.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:b.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:b.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:b.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:b.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:b.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:b.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:b.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:b.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:b.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:b.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:b.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:b.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:b.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:b.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:b.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:b.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:b.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:b.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:b.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:b.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:b.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:b.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:b.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:b.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:b.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:b.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:b.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:b.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:b.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:b.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:b.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:b.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:b.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:b.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:b.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:b.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:b.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:b.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:b.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:b.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:b.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:b.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:b.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:b.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:b.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:b.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:b.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:b.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:b.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:b.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:b.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:b.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:b.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:b.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:b.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:b.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:b.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:b.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:b.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:b.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:b.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:b.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:b.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:b.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:b.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:b.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:b.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:b.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:b.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:b.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:b.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:b.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:b.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:b.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:b.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:b.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:b.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:b.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:b.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:b.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:b.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:b.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:b.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:b.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:b.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:b.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:b.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:b.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:b.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:b.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:b.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:b.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:b.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:b.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:b.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:b.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:b.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:b.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:b.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:b.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:b.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:b.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:b.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:b.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:b.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:b.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:b.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:b.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:b.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:b.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:b.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:b.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:b.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:b.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:b.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:b.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:b.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:b.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:b.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:b.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:b.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:b.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:b.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:b.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:b.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:b.create("--ft-icon-size-6","","SIZE","48px"),opacity0:b.create("--ft-opacity-0","","NUMBER","0"),opacity8:b.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:b.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:b.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:b.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:b.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:b.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:b.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:b.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:b.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:b.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:b.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:b.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:b.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:b.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)")},x={display:{fontFamily:b.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:b.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:b.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:b.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:b.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:b.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:b.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:b.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:b.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:b.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:b.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:b.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:b.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:b.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:b.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:b.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:b.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:b.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:b.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:b.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:b.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:b.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:b.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:b.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:b.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:b.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:b.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:b.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:b.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:b.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:b.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:b.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:b.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:b.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:b.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:b.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:b.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:b.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:b.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:b.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:b.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:b.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:b.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:b.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},O={backgroundActionPrimary:b.extend("--ft-background-action-primary","Used as backgorund of primary action components.",m.colorBrand0),backgroundErrorPrimary:b.extend("--ft-background-error-primary","Used as background of error components.",m.colorRed0),backgroundErrorSubtle:b.extend("--ft-background-error-subtle","Used as background of subtle error components.",m.colorRed10),backgroundInfoPrimary:b.extend("--ft-background-info-primary","Used as background of information components.",m.colorCyan200),backgroundInfoSubtle:b.extend("--ft-background-info-subtle","Used as background of subtle information components.",m.colorCyan10),backgroundWarningPrimary:b.extend("--ft-background-warning-primary","Used as background of warning components.",m.colorOrange300),backgroundWarningSubtle:b.extend("--ft-background-warning-subtle","Used as background of subtle information components.",m.colorOrange10),backgroundSuccessPrimary:b.extend("--ft-background-success-primary","Used as background of success components.",m.colorGreen200),backgroundSuccessSubtle:b.extend("--ft-background-success-subtle","Used as background of subtle success components.",m.colorGreen10),backgroundGlobalSurface:b.extend("--ft-background-global-surface","Used as app background.",m.colorWhite),backgroundGlobalOnSurface:b.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",m.colorGray10),backgroundGlobalOnSurfaceDark:b.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",m.colorGray30),contentActionPrimary:b.extend("--ft-content-action-primary","Used on label of primary action on light surface.",m.colorBrand0),contentWarningPrimary:b.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",m.colorOrange300),contentWarningIconOnly:b.extend("--ft-content-warning-icon-only","Used on warning status icons alone",m.colorOrange0),contentErrorPrimary:b.extend("--ft-content-error-primary","Used on label of error messages on light surface.",m.colorRed0),contentErrorIconOnly:b.extend("--ft-content-error-icon-only","Used on error status icons alone",m.colorRed0),contentInfoPrimary:b.extend("--ft-content-info-primary","Used on label of information messages on light surface.",m.colorCyan200),contentInfoIconOnly:b.extend("--ft-content-info-icon-only","Used on info status icons alone",m.colorCyan0),contentSuccessPrimary:b.extend("--ft-content-success-primary","Used on label of success messages on light surface.",m.colorGreen200),contentSuccessIconOnly:b.extend("--ft-content-success-icon-only","Used on success status icons alone",m.colorGreen0),contentGlobalPrimary:b.extend("--ft-content-global-primary","Used for main content on the page.",m.colorGray500),contentGlobalSecondary:b.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",m.colorGray200),contentGlobalSubtle:b.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",m.colorGray0),contentGlobalOnColor:b.extend("--ft-content-global-on-color","Used for content on a dominant color.",m.colorWhite),borderActionPrimary:b.extend("--ft-border-action-primary","Used as border for primary action components.",m.colorBrand0),borderActionFocusRing:b.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",m.colorCyan0),borderWarningPrimary:b.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",m.colorOrange300),borderWarningSubtle:b.extend("--ft-border-warning-subtle","Used as border for warning components.",m.colorOrange30),borderSuccessPrimary:b.extend("--ft-border-success-primary","Used as border for success buttons.",m.colorGreen200),borderSuccessSubtle:b.extend("--ft-border-success-subtle","Used as border for success components.",m.colorGreen30),borderErrorPrimary:b.extend("--ft-border-error-primary","Used as border for text fields in error states.",m.colorRed0),borderErrorSubtle:b.extend("--ft-border-error-subtle","Used as border for error components.",m.colorRed30),borderInfoPrimary:b.extend("--ft-border-info-primary","Used as border for buttons in info color.",m.colorCyan200),borderInfoSubtle:b.extend("--ft-border-info-subtle","Used as border for information components.",m.colorCyan30),borderGlobalPrimary:b.extend("--ft-border-global-primary","Used as border for element like input.",m.colorGray50),borderGlobalSubtle:b.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",m.colorGray30),borderInputPrimary:b.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",m.colorGray80)},v={largeHeight:b.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:b.extend("--ft-button-large-horizontal-padding","",m.spacing4),largeGap:b.extend("--ft-button-large-gap","",m.spacing2),largeBorderRadius:b.extend("--ft-button-large-border-radius","",m.borderRadiusS),largeIconSize:b.extend("--ft-button-large-icon-size","",m.iconSize3),largeBorderWidth:b.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:b.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:b.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:b.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:b.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:b.extend("--ft-button-small-horizontal-padding","",m.spacing3),smallGap:b.extend("--ft-button-small-gap","",m.spacing2),smallBorderRadius:b.extend("--ft-button-small-border-radius","",m.borderRadiusS),smallIconSize:b.extend("--ft-button-small-icon-size","",m.iconSize2),smallBorderWidth:b.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:b.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:b.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:b.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:b.extend("--ft-button-primary-background-color","",O.backgroundActionPrimary),primaryColor:b.extend("--ft-button-primary-color","",O.contentGlobalOnColor),primaryIconColor:b.extend("--ft-button-primary-icon-color","",O.contentGlobalOnColor),primaryStateLayerColor:b.extend("--ft-button-primary-state-layer-color","",O.contentGlobalOnColor),primaryStateLayerOpacityHover:b.extend("--ft-button-primary-state-layer-opacity-hover","",m.opacity16),primaryStateLayerOpacityFocus:b.extend("--ft-button-primary-state-layer-opacity-focus","",m.opacity16),primaryStateLayerOpacityActive:b.extend("--ft-button-primary-state-layer-opacity-active","",m.opacity24),primaryComponentOpacityDisabled:b.extend("--ft-button-primary-component-opacity-disabled","",m.opacity40),focusFocusRingColor:b.extend("--ft-button-focus-focus-ring-color","",O.borderActionFocusRing),tertiaryBackgroundColor:b.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:b.extend("--ft-button-tertiary-color","",O.contentActionPrimary),tertiaryIconColor:b.extend("--ft-button-tertiary-icon-color","",O.contentActionPrimary),tertiaryStateLayerColor:b.extend("--ft-button-tertiary-state-layer-color","",O.contentActionPrimary),tertiaryStateLayerOpacityHover:b.extend("--ft-button-tertiary-state-layer-opacity-hover","",m.opacity8),tertiaryStateLayerOpacityFocus:b.extend("--ft-button-tertiary-state-layer-opacity-focus","",m.opacity8),tertiaryStateLayerOpacityActive:b.extend("--ft-button-tertiary-state-layer-opacity-active","",m.opacity16),tertiaryComponentOpacityDisabled:b.extend("--ft-button-tertiary-component-opacity-disabled","",m.opacity40),secondaryBackgroundColor:b.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:b.extend("--ft-button-secondary-color","",O.contentActionPrimary),secondaryIconColor:b.extend("--ft-button-secondary-icon-color","",O.contentActionPrimary),secondaryStateLayerColor:b.extend("--ft-button-secondary-state-layer-color","",O.contentActionPrimary),secondaryStateLayerOpacityHover:b.extend("--ft-button-secondary-state-layer-opacity-hover","",m.opacity8),secondaryStateLayerOpacityFocus:b.extend("--ft-button-secondary-state-layer-opacity-focus","",m.opacity8),secondaryStateLayerOpacityActive:b.extend("--ft-button-secondary-state-layer-opacity-active","",m.opacity16),secondaryComponentOpacityDisabled:b.extend("--ft-button-secondary-component-opacity-disabled","",m.opacity40),secondaryBorderColor:b.extend("--ft-button-secondary-border-color","",O.borderActionPrimary),neutralBackgroundColor:b.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:b.extend("--ft-button-neutral-icon-color","",O.contentGlobalSecondary),neutralColor:b.extend("--ft-button-neutral-color","",O.contentGlobalSecondary),neutralStateLayerColor:b.extend("--ft-button-neutral-state-layer-color","",O.contentGlobalSecondary),neutralStateLayerOpacityHover:b.extend("--ft-button-neutral-state-layer-opacity-hover","",m.opacity8),neutralStateLayerOpacityFocus:b.extend("--ft-button-neutral-state-layer-opacity-focus","",m.opacity8),neutralStateLayerOpacityActive:b.extend("--ft-button-neutral-state-layer-opacity-active","",m.opacity16),neutralComponentOpacityDisabled:b.extend("--ft-button-neutral-component-opacity-disabled","",m.opacity40)};b.extend("--ft-floating-menu-horizontal-padding","",m.spacing4),b.extend("--ft-floating-menu-vertical-padding","",m.spacing4),b.extend("--ft-floating-menu-off-icon-color","",O.contentGlobalPrimary),b.extend("--ft-floating-menu-off-color","",O.contentGlobalPrimary),b.extend("--ft-floating-menu-on-color","",O.contentActionPrimary),b.extend("--ft-floating-menu-on-icon-color","",O.contentActionPrimary),b.extend("--ft-floating-menu-on-state-layer-color","",O.contentActionPrimary),b.extend("--ft-floating-menu-gap","",m.spacing3),b.extend("--ft-floating-menu-focus-focus-ring-color","",O.borderActionFocusRing),b.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),b.extend("--ft-floating-menu-state-layer-opacity-hover","",m.opacity8),b.extend("--ft-floating-menu-state-layer-opacity-active","",m.opacity16),b.extend("--ft-floating-menu-state-layer-opacity-focus","",m.opacity8),b.extend("--ft-floating-menu-component-opacity-disabled","",m.opacity40),b.extend("--ft-floating-menu-icon-size","",m.iconSize3),b.extend("--ft-floating-menu-background-color","",O.backgroundGlobalOnSurface),b.extend("--ft-tabs-top-left-border-radius","",m.borderRadiusS),b.extend("--ft-tabs-top-right-border-radius","",m.borderRadiusS),b.extend("--ft-tabs-label-horizontal-padding","",m.spacing4),b.extend("--ft-tabs-label-vertical-padding","",m.spacing3),b.extend("--ft-tabs-label-gap","",m.spacing1),b.extend("--ft-tabs-icon-horizontal-padding","",m.spacing1),b.extend("--ft-tabs-icon-vertical-padding","",m.spacing4),b.create("--ft-tabs-focus-outline-width","","SIZE","2px"),b.extend("--ft-tabs-focus-focus-ring-color","",O.borderActionFocusRing),b.extend("--ft-tabs-off-state-layer-opacity-hover","",m.opacity8),b.extend("--ft-tabs-off-state-layer-opacity-focus","",m.opacity8),b.extend("--ft-tabs-off-state-layer-opacity-active","",m.opacity16),b.extend("--ft-tabs-off-component-opacity-disabled","",m.opacity40),b.extend("--ft-tabs-off-color","",O.contentGlobalSubtle),b.extend("--ft-tabs-off-state-layer-color","",O.contentGlobalSubtle),b.extend("--ft-tabs-on-state-layer-opacity-hover","",m.opacity8),b.extend("--ft-tabs-on-state-layer-opacity-focus","",m.opacity8),b.extend("--ft-tabs-on-state-layer-opacity-active","",m.opacity16),b.extend("--ft-tabs-on-component-opacity-disabled","",m.opacity40),b.extend("--ft-tabs-on-color","",O.contentActionPrimary),b.extend("--ft-tabs-on-state-layer-color","",O.contentActionPrimary),b.extend("--ft-collapsible-state-layer-opacity-hover","",m.opacity8),b.extend("--ft-collapsible-state-layer-opacity-focus","",m.opacity8),b.extend("--ft-collapsible-state-layer-opacity-active","",m.opacity16),b.extend("--ft-collapsible-component-opacity-disabled","",m.opacity40),b.extend("--ft-collapsible-horizontal-padding","",m.spacing4),b.extend("--ft-collapsible-vertical-padding","",m.spacing3),b.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),b.extend("--ft-collapsible-focus-focus-ring-color","",O.borderActionFocusRing),b.extend("--ft-collapsible-color","",O.contentGlobalPrimary),b.extend("--ft-collapsible-state-layer-color","",O.contentGlobalPrimary),b.extend("--ft-collapsible-background-color","",O.backgroundGlobalOnSurface),b.extend("--ft-collapsible-border-color","",O.borderGlobalSubtle),b.extend("--ft-collapsible-icon-size","",m.iconSize3),b.extend("--ft-switch-group-horizontal-padding","",m.spacing1),b.extend("--ft-switch-group-vertical-padding","",m.spacing1),b.extend("--ft-switch-group-gap","",m.spacing1),b.extend("--ft-switch-group-background-color","",O.backgroundGlobalSurface),b.extend("--ft-switch-group-border-color","",O.borderGlobalSubtle),b.create("--ft-switch-group-border-radius","","SIZE","6px"),b.extend("--ft-switch-label-horizontal-padding","",m.spacing2),b.extend("--ft-switch-label-vertical-padding","",m.spacing1),b.extend("--ft-switch-icon-horizontal-padding","",m.spacing1),b.extend("--ft-switch-icon-vertical-padding","",m.spacing1),b.create("--ft-switch-focus-outline-width","","SIZE","2px"),b.extend("--ft-switch-focus-focus-ring-color","",O.borderActionFocusRing),b.extend("--ft-switch-option-border-radius","",m.borderRadiusS),b.extend("--ft-switch-off-state-layer-opacity-hover","",m.opacity8),b.extend("--ft-switch-off-state-layer-opacity-focus","",m.opacity8),b.extend("--ft-switch-off-state-layer-opacity-active","",m.opacity16),b.extend("--ft-switch-off-component-opacity-disabled","",m.opacity40),b.extend("--ft-switch-off-color","",O.contentGlobalSubtle),b.extend("--ft-switch-off-state-layer-color","",O.contentGlobalSubtle),b.extend("--ft-switch-on-state-layer-opacity-hover","",m.opacity8),b.extend("--ft-switch-on-state-layer-opacity-focus","",m.opacity8),b.extend("--ft-switch-on-state-layer-opacity-active","",m.opacity16),b.extend("--ft-switch-on-component-opacity-disabled","",m.opacity40),b.extend("--ft-switch-on-color","",O.contentActionPrimary),b.extend("--ft-switch-on-state-layer-color","",O.contentActionPrimary),b.extend("--ft-chart-1-light","for area color charts",m.colorBrand40),b.extend("--ft-chart-1-base","for line charts",m.colorBrand0),b.extend("--ft-chart-2-light","for area color charts",m.colorYellow60),b.extend("--ft-chart-2-base","for line charts",m.colorYellow100),b.extend("--ft-chart-3-light","",m.colorUltramarine40),b.extend("--ft-chart-3-base","",m.colorUltramarine70),b.extend("--ft-chart-4-light","",m.colorCyan50),b.extend("--ft-chart-4-base","",m.colorCyan100),b.extend("--ft-chart-5-light","",m.colorRed40),b.extend("--ft-chart-5-base","",m.colorRed60),b.extend("--ft-chart-6-light","",m.colorGreen40),b.extend("--ft-chart-6-base","",m.colorGreen70),b.extend("--ft-chart-7-light","",m.colorOrange70),b.extend("--ft-chart-7-base","",m.colorOrange100),b.extend("--ft-chart-8-light","",m.colorAvocado70),b.extend("--ft-chart-8-base","",m.colorAvocado200),b.extend("--ft-chart-9-light","",m.colorBrown50),b.extend("--ft-chart-9-base","",m.colorBrown200),b.extend("--ft-chart-10-light","",m.colorGray50),b.extend("--ft-chart-10-base","",m.colorGray80),b.extend("--ft-chart-monochrome-10","",m.colorBrand10),b.extend("--ft-chart-monochrome-20","",m.colorBrand20),b.extend("--ft-chart-monochrome-30","",m.colorBrand40),b.extend("--ft-chart-monochrome-40","",m.colorBrand60),b.extend("--ft-chart-monochrome-50","",m.colorBrand0),b.extend("--ft-chart-monochrome-60","",m.colorBrand200),b.extend("--ft-chip-large-horizontal-padding","",m.spacing4),b.extend("--ft-chip-large-vertical-padding","",m.spacing2),b.extend("--ft-chip-large-gap","",m.spacing1),b.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),b.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),b.extend("--ft-chip-large-border-radius","",m.borderRadiusPill),b.create("--ft-chip-large-border-width","","SIZE","1px"),b.extend("--ft-chip-large-icon-size","",m.iconSize3),b.extend("--ft-chip-medium-horizontal-padding","",m.spacing3),b.extend("--ft-chip-medium-vertical-padding","",m.spacing1),b.extend("--ft-chip-medium-gap","",m.spacing1),b.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),b.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),b.extend("--ft-chip-medium-border-radius","",m.borderRadiusPill),b.create("--ft-chip-medium-border-width","","SIZE","1px"),b.extend("--ft-chip-medium-icon-size","",m.iconSize2),b.extend("--ft-chip-small-horizontal-padding","",m.spacing2),b.extend("--ft-chip-small-vertical-padding","",m.spacing05),b.extend("--ft-chip-small-gap","",m.spacing1),b.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),b.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),b.extend("--ft-chip-small-border-radius","",m.borderRadiusPill),b.create("--ft-chip-small-border-width","","SIZE","1px"),b.extend("--ft-chip-small-icon-size","",m.iconSize1),b.extend("--ft-chip-neutral-background-color","",O.backgroundGlobalOnSurface),b.extend("--ft-chip-neutral-color","",O.contentGlobalPrimary),b.extend("--ft-chip-neutral-border-color","",O.borderGlobalSubtle),b.extend("--ft-chip-info-background-color","",O.backgroundInfoSubtle),b.extend("--ft-chip-info-color","",O.contentInfoPrimary),b.extend("--ft-chip-info-border-color","",O.borderInfoSubtle),b.extend("--ft-chip-success-background-color","",O.backgroundSuccessSubtle),b.extend("--ft-chip-success-color","",O.contentSuccessPrimary),b.extend("--ft-chip-success-border-color","",O.borderSuccessSubtle),b.extend("--ft-chip-warning-background-color","",O.backgroundWarningSubtle),b.extend("--ft-chip-warning-color","",O.contentWarningPrimary),b.extend("--ft-chip-warning-border-color","",O.borderWarningSubtle),b.extend("--ft-chip-error-background-color","",O.backgroundErrorSubtle),b.extend("--ft-chip-error-color","",O.contentErrorPrimary),b.extend("--ft-chip-error-border-color","",O.borderErrorSubtle),b.create("--ft-notice-border-width","","SIZE","1px"),b.extend("--ft-notice-horizontal-padding","",m.spacing2),b.extend("--ft-notice-vertical-padding","",m.spacing1),b.extend("--ft-notice-border-radius","",m.borderRadiusS),b.extend("--ft-notice-gap","",m.spacing2),b.extend("--ft-notice-icon-size","",m.iconSize3),b.extend("--ft-notice-info-background-color","",O.backgroundInfoSubtle),b.extend("--ft-notice-info-border-color","",O.borderInfoSubtle),b.extend("--ft-notice-info-color","",O.contentInfoPrimary),b.extend("--ft-notice-warning-background-color","",O.backgroundWarningSubtle),b.extend("--ft-notice-warning-border-color","",O.borderWarningSubtle),b.extend("--ft-notice-warning-color","",O.contentWarningPrimary),b.extend("--ft-checkbox-label-color","",O.contentGlobalPrimary),b.extend("--ft-checkbox-checked-background-color","",O.contentActionPrimary),b.extend("--ft-checkbox-checked-state-layer-color","",O.contentActionPrimary),b.extend("--ft-checkbox-checked-color","",O.contentGlobalOnColor),b.extend("--ft-checkbox-checked-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-checkbox-checked-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-checkbox-checked-state-layer-opacity-active","",m.opacity24),b.extend("--ft-checkbox-checked-component-opacity-disabled","",m.opacity40),b.extend("--ft-checkbox-unchecked-border-color","",m.colorGray80),b.extend("--ft-checkbox-unchecked-state-layer-color","",m.colorGray80),b.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",m.opacity24),b.extend("--ft-checkbox-unchecked-component-opacity-disabled","",m.opacity40),b.extend("--ft-checkbox-focus-focus-ring-color","",O.borderActionFocusRing),b.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),b.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),b.extend("--ft-checkbox-gap","",m.spacing3),b.extend("--ft-toggle-off-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-toggle-off-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-toggle-off-state-layer-opacity-active","",m.opacity24),b.extend("--ft-toggle-off-component-opacity-disabled","",m.opacity40),b.extend("--ft-toggle-off-background-color","",O.contentGlobalSubtle),b.extend("--ft-toggle-off-icon-color","",O.contentGlobalSubtle),b.extend("--ft-toggle-off-state-layer-color","",O.contentGlobalSubtle),b.extend("--ft-toggle-on-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-toggle-on-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-toggle-on-state-layer-opacity-active","",m.opacity24),b.extend("--ft-toggle-on-component-opacity-disabled","",m.opacity40),b.extend("--ft-toggle-on-background-color","",O.contentActionPrimary),b.extend("--ft-toggle-on-icon-color","",O.contentActionPrimary),b.extend("--ft-toggle-on-state-layer-color","",O.contentActionPrimary),b.extend("--ft-toggle-label-color","",O.contentGlobalPrimary),b.extend("--ft-toggle-focus-focus-ring-color","",O.borderActionFocusRing),b.extend("--ft-toggle-gap","",m.spacing3),b.extend("--ft-radio-label-color","",O.contentGlobalPrimary),b.extend("--ft-radio-selected-color","",O.contentActionPrimary),b.extend("--ft-radio-selected-state-layer-color","",O.contentActionPrimary),b.extend("--ft-radio-selected-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-radio-selected-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-radio-selected-state-layer-opacity-active","",m.opacity24),b.extend("--ft-radio-selected-component-opacity-disabled","",m.opacity40),b.extend("--ft-radio-unselected-state-layer-color","",m.colorGray80),b.extend("--ft-radio-unselected-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-radio-unselected-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-radio-unselected-state-layer-opacity-active","",m.opacity24),b.extend("--ft-radio-unselected-component-opacity-disabled","",m.opacity40),b.extend("--ft-radio-focus-focus-ring-color","",O.borderActionFocusRing),b.create("--ft-radio-focus-outline-offset","","SIZE","3px"),b.create("--ft-radio-focus-outline-width","","SIZE","2px"),b.extend("--ft-radio-gap","",m.spacing3),b.extend("--ft-notification-icon-size","",m.iconSize4),b.extend("--ft-notification-horizontal-padding","",m.spacing4),b.extend("--ft-notification-vertical-padding","",m.spacing4),b.extend("--ft-notification-info-background-color","",O.backgroundInfoSubtle),b.extend("--ft-notification-info-color","",O.contentInfoPrimary),b.extend("--ft-notification-info-border-color","",O.borderInfoSubtle),b.extend("--ft-notification-success-background-color","",O.backgroundSuccessSubtle),b.extend("--ft-notification-success-color","",O.contentSuccessPrimary),b.extend("--ft-notification-success-border-color","",O.borderSuccessSubtle),b.extend("--ft-notification-warning-background-color","",O.backgroundWarningSubtle),b.extend("--ft-notification-warning-color","",O.contentWarningPrimary),b.extend("--ft-notification-warning-border-color","",O.borderWarningSubtle),b.extend("--ft-notification-error-background-color","",O.backgroundErrorSubtle),b.extend("--ft-notification-error-color","",O.contentErrorPrimary),b.extend("--ft-notification-error-border-color","",O.borderErrorSubtle),b.extend("--ft-notification-border-radius","",m.borderRadiusPill),b.create("--ft-notification-border-width","","SIZE","1px"),b.extend("--ft-notification-gap-leading","",m.spacing2),b.extend("--ft-notification-gap-trailing","",m.spacing8),b.extend("--ft-tooltip-horizontal-padding","",m.spacing2),b.extend("--ft-tooltip-vertical-padding","",m.spacing2),b.extend("--ft-tooltip-border-radius","",m.borderRadiusS),b.extend("--ft-tooltip-label","",O.contentGlobalOnColor),b.extend("--ft-tooltip-background","",O.contentGlobalPrimary),b.extend("--ft-tooltip-background-opacity","",m.opacity80),b.extend("--ft-tooltip-shadow","",m.shadowElevation03);const N=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),S=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),w={fontFamily:S,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")},C=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",N),E=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",w.fontSize,"20px"),I=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",w.fontWeight,"normal"),U=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",w.letterSpacing,"0.15px"),$=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",w.lineHeight,"1.2"),R=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",w.textTransform,"inherit"),L=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",N),W=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",w.fontSize,"14px"),k=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",w.fontWeight,"normal"),K=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",w.letterSpacing,"0.105px"),A=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",w.lineHeight,"1.7"),Z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",w.textTransform,"inherit"),z=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",S),D=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",w.fontSize,"16px"),F=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",w.fontWeight,"600"),B=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",w.letterSpacing,"0.144px"),T=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",w.lineHeight,"1.5"),H=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",w.textTransform,"inherit"),P=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",S),M=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",w.fontSize,"14px"),G=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",w.fontWeight,"normal"),_=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",w.letterSpacing,"0.098px"),j=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",w.lineHeight,"1.7"),Y=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",w.textTransform,"inherit"),V=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",S),X=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",w.fontSize,"16px"),q=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",w.fontWeight,"normal"),J=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",w.letterSpacing,"0.496px"),Q=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",w.lineHeight,"1.5"),tt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",w.textTransform,"inherit"),ot=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",S),et=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",w.fontSize,"14px"),rt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",w.fontWeight,"normal"),it=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",w.letterSpacing,"0.252px"),nt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",w.lineHeight,"1.4"),at=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",w.textTransform,"inherit"),lt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",S),st=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",w.fontSize,"12px"),ct=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",w.fontWeight,"normal"),pt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",w.letterSpacing,"0.396px"),ft=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",w.lineHeight,"1.33"),dt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",w.textTransform,"inherit"),ht=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",S),ut=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",w.fontSize,"10px"),yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",w.fontWeight,"normal"),gt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",w.letterSpacing,"0.33px"),bt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",w.lineHeight,"1.6"),mt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",w.textTransform,"inherit"),xt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",S),Ot=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",w.fontSize,"10px"),vt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",w.fontWeight,"normal"),Nt=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",w.letterSpacing,"1.5px"),St=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",w.lineHeight,"1.6"),wt=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",w.textTransform,"uppercase"),Ct={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",S),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",w.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",w.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",w.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",w.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",w.textTransform,"uppercase")},Et=e.css`
|
|
115
115
|
.ft-typography--title {
|
|
116
116
|
font-family: ${C};
|
|
117
|
-
font-size: ${
|
|
118
|
-
font-weight: ${
|
|
119
|
-
letter-spacing: ${
|
|
120
|
-
line-height: ${
|
|
117
|
+
font-size: ${E};
|
|
118
|
+
font-weight: ${I};
|
|
119
|
+
letter-spacing: ${U};
|
|
120
|
+
line-height: ${$};
|
|
121
121
|
text-transform: ${R};
|
|
122
122
|
}
|
|
123
|
-
`,
|
|
123
|
+
`,It=e.css`
|
|
124
124
|
.ft-typography--title-dense {
|
|
125
125
|
font-family: ${L};
|
|
126
126
|
font-size: ${W};
|
|
@@ -129,22 +129,22 @@
|
|
|
129
129
|
line-height: ${A};
|
|
130
130
|
text-transform: ${Z};
|
|
131
131
|
}
|
|
132
|
-
|
|
132
|
+
`,Ut=e.css`
|
|
133
133
|
.ft-typography--subtitle1 {
|
|
134
134
|
font-family: ${z};
|
|
135
135
|
font-size: ${D};
|
|
136
136
|
font-weight: ${F};
|
|
137
137
|
letter-spacing: ${B};
|
|
138
|
-
line-height: ${
|
|
139
|
-
text-transform: ${
|
|
138
|
+
line-height: ${T};
|
|
139
|
+
text-transform: ${H};
|
|
140
140
|
}
|
|
141
|
-
|
|
141
|
+
`,$t=e.css`
|
|
142
142
|
.ft-typography--subtitle2 {
|
|
143
143
|
font-family: ${P};
|
|
144
144
|
font-size: ${M};
|
|
145
145
|
font-weight: ${G};
|
|
146
|
-
letter-spacing: ${
|
|
147
|
-
line-height: ${
|
|
146
|
+
letter-spacing: ${_};
|
|
147
|
+
line-height: ${j};
|
|
148
148
|
text-transform: ${Y};
|
|
149
149
|
}
|
|
150
150
|
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
transform: translate(calc(0.35 * ${Dt.size}), 0);
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
|
-
`,Bt={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")},
|
|
287
|
+
`,Bt={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")},Tt=e.css`
|
|
288
288
|
:host, i.ft-icon {
|
|
289
289
|
display: inline-flex;
|
|
290
290
|
align-items: center;
|
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
.ft-icon--material {
|
|
333
333
|
font-family: ${Bt.materialFontFamily}, "Material Icons", sans-serif;
|
|
334
334
|
}
|
|
335
|
-
`,
|
|
335
|
+
`,Ht=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Pt={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Ht,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",Ct.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Ht),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")},Mt=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Gt={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:Mt,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Mt)},_t=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),jt=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Yt=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Vt=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),Xt=[e.css`
|
|
336
336
|
:host {
|
|
337
337
|
display: inline-block;
|
|
338
338
|
max-width: 100%;
|
|
@@ -390,13 +390,13 @@
|
|
|
390
390
|
}
|
|
391
391
|
|
|
392
392
|
.ft-button.ft-button--dense {
|
|
393
|
-
padding: ${
|
|
394
|
-
border-radius: ${
|
|
393
|
+
padding: ${jt} ${Yt};
|
|
394
|
+
border-radius: ${_t};
|
|
395
395
|
gap: ${Vt};
|
|
396
396
|
}
|
|
397
397
|
|
|
398
398
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
399
|
-
padding: calc(${
|
|
399
|
+
padding: calc(${jt} - 1px) calc(${Yt} - 1px);
|
|
400
400
|
}
|
|
401
401
|
|
|
402
402
|
.ft-button:not([disabled]):hover {
|
|
@@ -408,7 +408,7 @@
|
|
|
408
408
|
}
|
|
409
409
|
|
|
410
410
|
.ft-button--round.ft-button--dense {
|
|
411
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
411
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${jt});
|
|
412
412
|
}
|
|
413
413
|
|
|
414
414
|
.ft-button[disabled] {
|
|
@@ -457,7 +457,7 @@
|
|
|
457
457
|
|
|
458
458
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
459
459
|
margin: 0 calc(${Yt} * -1);
|
|
460
|
-
padding: 0 ${
|
|
460
|
+
padding: 0 ${jt};
|
|
461
461
|
}
|
|
462
462
|
|
|
463
463
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -486,20 +486,20 @@
|
|
|
486
486
|
* Copyright 2017 Google LLC
|
|
487
487
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
488
488
|
*/
|
|
489
|
-
const Qt=globalThis,to=Qt.trustedTypes,oo=to?to.createPolicy("lit-html",{createHTML:t=>t}):void 0,eo="$lit$",ro=`lit$${(Math.random()+"").slice(9)}$`,io="?"+ro,no=`<${io}>`,ao=document,lo=()=>ao.createComment(""),so=t=>null===t||"object"!=typeof t&&"function"!=typeof t,co=Array.isArray,po="[ \t\n\f\r]",fo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ho=/-->/g,uo=/>/g,yo=RegExp(`>|${po}(?:([^\\s"'>=/]+)(${po}*=${po}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),go=/'/g,bo=/"/g,mo=/^(?:script|style|textarea|title)$/i,xo=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),Oo=Symbol.for("lit-noChange"),vo=Symbol.for("lit-nothing"),No=new WeakMap,So=ao.createTreeWalker(ao,129);function wo(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==oo?oo.createHTML(o):o}const Co=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=fo;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,s=a.exec(e),null!==s);)p=a.lastIndex,a===fo?"!--"===s[1]?a=ho:void 0!==s[1]?a=uo:void 0!==s[2]?(mo.test(s[2])&&(i=RegExp("</"+s[2],"g")),a=yo):void 0!==s[3]&&(a=yo):a===yo?">"===s[0]?(a=i??fo,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?yo:'"'===s[3]?bo:go):a===bo||a===go?a=yo:a===ho||a===uo?a=fo:(a=yo,i=void 0);const f=a===yo&&t[o+1].startsWith("/>")?" ":"";n+=a===fo?e+no:c>=0?(r.push(l),e.slice(0,c)+eo+e.slice(c)+ro+f):e+ro+(-2===c?o:f)}return[wo(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class
|
|
489
|
+
const Qt=globalThis,to=Qt.trustedTypes,oo=to?to.createPolicy("lit-html",{createHTML:t=>t}):void 0,eo="$lit$",ro=`lit$${(Math.random()+"").slice(9)}$`,io="?"+ro,no=`<${io}>`,ao=document,lo=()=>ao.createComment(""),so=t=>null===t||"object"!=typeof t&&"function"!=typeof t,co=Array.isArray,po="[ \t\n\f\r]",fo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ho=/-->/g,uo=/>/g,yo=RegExp(`>|${po}(?:([^\\s"'>=/]+)(${po}*=${po}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),go=/'/g,bo=/"/g,mo=/^(?:script|style|textarea|title)$/i,xo=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),Oo=Symbol.for("lit-noChange"),vo=Symbol.for("lit-nothing"),No=new WeakMap,So=ao.createTreeWalker(ao,129);function wo(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==oo?oo.createHTML(o):o}const Co=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=fo;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,s=a.exec(e),null!==s);)p=a.lastIndex,a===fo?"!--"===s[1]?a=ho:void 0!==s[1]?a=uo:void 0!==s[2]?(mo.test(s[2])&&(i=RegExp("</"+s[2],"g")),a=yo):void 0!==s[3]&&(a=yo):a===yo?">"===s[0]?(a=i??fo,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?yo:'"'===s[3]?bo:go):a===bo||a===go?a=yo:a===ho||a===uo?a=fo:(a=yo,i=void 0);const f=a===yo&&t[o+1].startsWith("/>")?" ":"";n+=a===fo?e+no:c>=0?(r.push(l),e.slice(0,c)+eo+e.slice(c)+ro+f):e+ro+(-2===c?o:f)}return[wo(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class Eo{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[s,c]=Co(t,o);if(this.el=Eo.createElement(s,e),So.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=So.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(eo)){const o=c[n++],e=r.getAttribute(t).split(ro),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?Lo:"?"===a[1]?Wo:"@"===a[1]?ko:Ro}),r.removeAttribute(t)}else t.startsWith(ro)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(mo.test(r.tagName)){const t=r.textContent.split(ro),o=t.length-1;if(o>0){r.textContent=to?to.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],lo()),So.nextNode(),l.push({type:2,index:++i});r.append(t[o],lo())}}}else if(8===r.nodeType)if(r.data===io)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(ro,t+1));)l.push({type:7,index:i}),t+=ro.length-1}i++}}static createElement(t,o){const e=ao.createElement("template");return e.innerHTML=t,e}}function Io(t,o,e=t,r){if(o===Oo)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=so(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=Io(t,i._$AS(t,o.values),i,r)),o}class Uo{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,r=(t?.creationScope??ao).importNode(o,!0);So.currentNode=r;let i=So.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new $o(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new Ko(i,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(i=So.nextNode(),n++)}return So.currentNode=ao,r}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 $o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=vo,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.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=Io(this,t,o),so(t)?t===vo||null==t||""===t?(this._$AH!==vo&&this._$AR(),this._$AH=vo):t!==this._$AH&&t!==Oo&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>co(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!==vo&&so(this._$AH)?this._$AA.nextSibling.data=t:this.$(ao.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=Eo.createElement(wo(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new Uo(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=No.get(t.strings);return void 0===o&&No.set(t.strings,o=new Eo(t)),o}T(t){co(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new $o(this.k(lo()),this.k(lo()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$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 Ro{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=vo,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=vo}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=Io(this,t,o,0),n=!so(t)||t!==this._$AH&&t!==Oo,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=Io(this,r[e+a],o,a),l===Oo&&(l=this._$AH[a]),n||=!so(l)||l!==this._$AH[a],l===vo?t=vo:t!==vo&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===vo?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Lo extends Ro{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===vo?void 0:t}}class Wo extends Ro{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==vo)}}class ko extends Ro{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=Io(this,t,o,0)??vo)===Oo)return;const e=this._$AH,r=t===vo&&e!==vo||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==vo&&(e===vo||r);r&&this.element.removeEventListener(this.name,this,e),i&&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 Ko{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){Io(this,t)}}const Ao=Qt.litHtmlPolyfillSupport;Ao?.(Eo,$o),(Qt.litHtmlVersions??=[]).push("3.1.0");
|
|
490
490
|
/**
|
|
491
491
|
* @license
|
|
492
492
|
* Copyright 2020 Google LLC
|
|
493
493
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
494
494
|
*/
|
|
495
|
-
const Zo=Symbol.for(""),zo=t=>{if(t?.r===Zo)return t?._$litStatic$},Do=t=>({_$litStatic$:t,r:Zo}),Fo=new Map,Bo=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],l=[];let s,c=0,p=!1;for(;c<r;){for(s=o[c];c<r&&void 0!==(n=e[c],i=zo(n));)s+=i+o[++c],p=!0;c!==r&&l.push(n),a.push(s),c++}if(c===r&&a.push(o[r]),p){const t=a.join("$$lit$$");void 0===(o=Fo.get(t))&&(a.raw=a,Fo.set(t,o=a)),e=l}return t(o,...e)})(xo);var
|
|
495
|
+
const Zo=Symbol.for(""),zo=t=>{if(t?.r===Zo)return t?._$litStatic$},Do=t=>({_$litStatic$:t,r:Zo}),Fo=new Map,Bo=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],l=[];let s,c=0,p=!1;for(;c<r;){for(s=o[c];c<r&&void 0!==(n=e[c],i=zo(n));)s+=i+o[++c],p=!0;c!==r&&l.push(n),a.push(s),c++}if(c===r&&a.push(o[r]),p){const t=a.join("$$lit$$");void 0===(o=Fo.get(t))&&(a.raw=a,Fo.set(t,o=a)),e=l}return t(o,...e)})(xo);var To;!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"}(To||(To={}));var Ho=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Po extends o.FtLitElement{constructor(){super(...arguments),this.variant=To.body1}render(){return this.element?Bo`
|
|
496
496
|
<${Do(this.element)}
|
|
497
497
|
class="ft-typography ft-typography--${this.variant}">
|
|
498
498
|
<slot></slot>
|
|
499
499
|
</${Do(this.element)}>
|
|
500
500
|
`:Bo`
|
|
501
501
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
502
|
-
`}}Po.styles=[It,
|
|
502
|
+
`}}Po.styles=[Et,It,Ut,$t,Rt,Lt,Wt,kt,Kt,At,Zt,...zt],Ho([r.property()],Po.prototype,"element",void 0),Ho([r.property()],Po.prototype,"variant",void 0),o.customElement("ft-typography")(Po);const Mo=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),Go=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),_o=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),jo=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),Yo=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),Vo=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),Xo=e.css`
|
|
503
503
|
.ft-tooltip--container {
|
|
504
504
|
display: block;
|
|
505
505
|
}
|
|
@@ -517,18 +517,18 @@ const Zo=Symbol.for(""),zo=t=>{if(t?.r===Zo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
517
517
|
max-width: ${Vo};
|
|
518
518
|
text-align: center;
|
|
519
519
|
padding: ${Mo};
|
|
520
|
-
z-index: ${
|
|
520
|
+
z-index: ${jo};
|
|
521
521
|
}
|
|
522
522
|
|
|
523
523
|
.ft-tooltip--content {
|
|
524
524
|
padding: 4px 8px;
|
|
525
525
|
border-radius: ${Yo};
|
|
526
|
-
background-color: ${
|
|
526
|
+
background-color: ${_o};
|
|
527
527
|
color: ${Go};
|
|
528
528
|
position: relative;
|
|
529
529
|
word-break: break-word;
|
|
530
530
|
}
|
|
531
|
-
`,qo=["start","end"],Jo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+qo[0],o+"-"+qo[1])),[]),Qo=Math.min,te=Math.max,oe=Math.round,ee=t=>({x:t,y:t}),re={left:"right",right:"left",bottom:"top",top:"bottom"},ie={start:"end",end:"start"};function ne(t,o,e){return te(t,Qo(o,e))}function ae(t,o){return"function"==typeof t?t(o):t}function le(t){return t.split("-")[0]}function se(t){return t.split("-")[1]}function ce(t){return"x"===t?"y":"x"}function pe(t){return"y"===t?"height":"width"}function fe(t){return["top","bottom"].includes(le(t))?"y":"x"}function de(t){return ce(fe(t))}function he(t){return t.replace(/left|right|bottom|top/g,(t=>re[t]))}function ue(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ye(t,o,e){let{reference:r,floating:i}=t;const n=fe(o),a=de(o),l=pe(a),s=le(o),c="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(s){case"top":h={x:p,y:r.y-i.height};break;case"bottom":h={x:p,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(se(o)){case"start":h[a]-=d*(e&&c?-1:1);break;case"end":h[a]+=d*(e&&c?-1:1)}return h}async function ge(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=ae(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),y=l[d?"floating"===f?"reference":"floating":f],g=ue(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:p,strategy:s})),b="floating"===f?{...a.floating,x:r,y:i}: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},O=ue(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(g.top-O.top+u.top)/x.y,bottom:(O.bottom-g.bottom+u.bottom)/x.y,left:(g.left-O.left+u.left)/x.x,right:(O.right-g.right+u.right)/x.x}}function be(t,o,e){return(t?[...e.filter((o=>se(o)===t)),...e.filter((o=>se(o)!==t))]:e.filter((t=>le(t)===t))).filter((e=>!t||(se(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>ie[t]))}(e)!==e)))}const me=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:d=Jo,autoAlignment:h=!0,...u}=ae(t,o),y=void 0!==f||d===Jo?be(f||null,h,d):d,g=await ge(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=se(t),i=de(t),n=pe(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=he(a)),[a,he(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:y[0]}};const O=[g[le(m)],g[x[0]],g[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=y[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=se(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,se(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function xe(t){return Ne(t)?(t.nodeName||"").toLowerCase():"#document"}function Oe(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function ve(t){var o;return null==(o=(Ne(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Ne(t){return t instanceof Node||t instanceof Oe(t).Node}function Se(t){return t instanceof Element||t instanceof Oe(t).Element}function we(t){return t instanceof HTMLElement||t instanceof Oe(t).HTMLElement}function Ce(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Oe(t).ShadowRoot)}function Ie(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Le(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function Ee(t){return["table","td","th"].includes(xe(t))}function $e(t){const o=Ue(),e=Le(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 Ue(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Re(t){return["html","body","#document"].includes(xe(t))}function Le(t){return Oe(t).getComputedStyle(t)}function We(t){return Se(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ke(t){if("html"===xe(t))return t;const o=t.assignedSlot||t.parentNode||Ce(t)&&t.host||ve(t);return Ce(o)?o.host:o}function Ke(t){const o=ke(t);return Re(o)?t.ownerDocument?t.ownerDocument.body:t.body:we(o)&&Ie(o)?o:Ke(o)}function Ae(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=Ke(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Oe(i);return n?o.concat(a,a.visualViewport||[],Ie(i)?i:[],a.frameElement&&e?Ae(a.frameElement):[]):o.concat(i,Ae(i,[],e))}function Ze(t){const o=Le(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=we(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=oe(e)!==n||oe(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function ze(t){return Se(t)?t:t.contextElement}function De(t){const o=ze(t);if(!we(o))return ee(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=Ze(o);let a=(n?oe(e.width):e.width)/r,l=(n?oe(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Fe=ee(0);function Be(t){const o=Oe(t);return Ue()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Fe}function He(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=ze(t);let a=ee(1);o&&(r?Se(r)&&(a=De(r)):a=De(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Oe(t))&&o}(n,e,r)?Be(n):ee(0);let s=(i.left+l.x)/a.x,c=(i.top+l.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=Oe(n),o=r&&Se(r)?Oe(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=De(e),o=e.getBoundingClientRect(),r=Le(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;s*=t.x,c*=t.y,p*=t.x,f*=t.y,s+=i,c+=n,e=Oe(e).frameElement}}return ue({width:p,height:f,x:s,y:c})}function Te(t){return He(ve(t)).left+We(t).scrollLeft}function Pe(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Oe(t),r=ve(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,s=0;if(i){n=i.width,a=i.height;const t=Ue();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,s=i.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)r=function(t){const o=ve(t),e=We(t),r=t.ownerDocument.body,i=te(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=te(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Te(t);const l=-e.scrollTop;return"rtl"===Le(r).direction&&(a+=te(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(ve(t));else if(Se(o))r=function(t,o){const e=He(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=we(t)?De(t):ee(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=Be(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return ue(r)}function Me(t,o){const e=ke(t);return!(e===o||!Se(e)||Re(e))&&("fixed"===Le(e).position||Me(e,o))}function Ge(t,o,e){const r=we(o),i=ve(o),n="fixed"===e,a=He(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=ee(0);if(r||!r&&!n)if(("body"!==xe(o)||Ie(i))&&(l=We(o)),r){const t=He(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else i&&(s.x=Te(i));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function je(t,o){return we(t)&&"fixed"!==Le(t).position?o?o(t):t.offsetParent:null}function _e(t,o){const e=Oe(t);if(!we(t))return e;let r=je(t,o);for(;r&&Ee(r)&&"static"===Le(r).position;)r=je(r,o);return r&&("html"===xe(r)||"body"===xe(r)&&"static"===Le(r).position&&!$e(r))?e:r||function(t){let o=ke(t);for(;we(o)&&!Re(o);){if($e(o))return o;o=ke(o)}return null}(t)||e}const Ye={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=we(e),n=ve(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=ee(1);const s=ee(0);if((i||!i&&"fixed"!==r)&&(("body"!==xe(e)||Ie(n))&&(a=We(e)),we(e))){const t=He(e);l=De(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:ve,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n="clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=Ae(t,[],!1).filter((t=>Se(t)&&"body"!==xe(t))),i=null;const n="fixed"===Le(t).position;let a=n?ke(t):t;for(;Se(a)&&!Re(a);){const o=Le(a),e=$e(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Ie(a)&&!e&&Me(t,a))?r=r.filter((t=>t!==a)):i=o,a=ke(a)}return o.set(t,r),r}(o,this._c):[].concat(e),a=[...n,r],l=a[0],s=a.reduce(((t,e)=>{const r=Pe(o,e,i);return t.top=te(r.top,t.top),t.right=Qo(r.right,t.right),t.bottom=Qo(r.bottom,t.bottom),t.left=te(r.left,t.left),t}),Pe(o,l,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:_e,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||_e,n=this.getDimensions;return{reference:Ge(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ze(t)},getScale:De,isElement:Se,isRTL:function(t){return"rtl"===Le(t).direction}},Ve=(t,o,e)=>{const r=new Map,i={platform:Ye,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="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:i}),{x:p,y:f}=ye(c,r,s),d=r,h={},u=0;for(let e=0;e<l.length;e++){const{name:n,fn:y}=l[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=ye(c,d,s))),e=-1)}return{x:p,y:f,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function Xe(t){return function(t){for(let o=t;o;o=qe(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=qe(t);o;o=qe(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 qe(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Je,Qe,tr,or=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class er 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`
|
|
531
|
+
`,qo=["start","end"],Jo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+qo[0],o+"-"+qo[1])),[]),Qo=Math.min,te=Math.max,oe=Math.round,ee=t=>({x:t,y:t}),re={left:"right",right:"left",bottom:"top",top:"bottom"},ie={start:"end",end:"start"};function ne(t,o,e){return te(t,Qo(o,e))}function ae(t,o){return"function"==typeof t?t(o):t}function le(t){return t.split("-")[0]}function se(t){return t.split("-")[1]}function ce(t){return"x"===t?"y":"x"}function pe(t){return"y"===t?"height":"width"}function fe(t){return["top","bottom"].includes(le(t))?"y":"x"}function de(t){return ce(fe(t))}function he(t){return t.replace(/left|right|bottom|top/g,(t=>re[t]))}function ue(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ye(t,o,e){let{reference:r,floating:i}=t;const n=fe(o),a=de(o),l=pe(a),s=le(o),c="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(s){case"top":h={x:p,y:r.y-i.height};break;case"bottom":h={x:p,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(se(o)){case"start":h[a]-=d*(e&&c?-1:1);break;case"end":h[a]+=d*(e&&c?-1:1)}return h}async function ge(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=ae(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),y=l[d?"floating"===f?"reference":"floating":f],g=ue(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:p,strategy:s})),b="floating"===f?{...a.floating,x:r,y:i}: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},O=ue(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(g.top-O.top+u.top)/x.y,bottom:(O.bottom-g.bottom+u.bottom)/x.y,left:(g.left-O.left+u.left)/x.x,right:(O.right-g.right+u.right)/x.x}}function be(t,o,e){return(t?[...e.filter((o=>se(o)===t)),...e.filter((o=>se(o)!==t))]:e.filter((t=>le(t)===t))).filter((e=>!t||(se(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>ie[t]))}(e)!==e)))}const me=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:d=Jo,autoAlignment:h=!0,...u}=ae(t,o),y=void 0!==f||d===Jo?be(f||null,h,d):d,g=await ge(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=se(t),i=de(t),n=pe(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=he(a)),[a,he(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:y[0]}};const O=[g[le(m)],g[x[0]],g[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=y[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=se(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,se(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function xe(t){return Ne(t)?(t.nodeName||"").toLowerCase():"#document"}function Oe(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function ve(t){var o;return null==(o=(Ne(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Ne(t){return t instanceof Node||t instanceof Oe(t).Node}function Se(t){return t instanceof Element||t instanceof Oe(t).Element}function we(t){return t instanceof HTMLElement||t instanceof Oe(t).HTMLElement}function Ce(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Oe(t).ShadowRoot)}function Ee(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Le(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function Ie(t){return["table","td","th"].includes(xe(t))}function Ue(t){const o=$e(),e=Le(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 $e(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Re(t){return["html","body","#document"].includes(xe(t))}function Le(t){return Oe(t).getComputedStyle(t)}function We(t){return Se(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ke(t){if("html"===xe(t))return t;const o=t.assignedSlot||t.parentNode||Ce(t)&&t.host||ve(t);return Ce(o)?o.host:o}function Ke(t){const o=ke(t);return Re(o)?t.ownerDocument?t.ownerDocument.body:t.body:we(o)&&Ee(o)?o:Ke(o)}function Ae(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=Ke(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Oe(i);return n?o.concat(a,a.visualViewport||[],Ee(i)?i:[],a.frameElement&&e?Ae(a.frameElement):[]):o.concat(i,Ae(i,[],e))}function Ze(t){const o=Le(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=we(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=oe(e)!==n||oe(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function ze(t){return Se(t)?t:t.contextElement}function De(t){const o=ze(t);if(!we(o))return ee(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=Ze(o);let a=(n?oe(e.width):e.width)/r,l=(n?oe(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Fe=ee(0);function Be(t){const o=Oe(t);return $e()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Fe}function Te(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=ze(t);let a=ee(1);o&&(r?Se(r)&&(a=De(r)):a=De(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Oe(t))&&o}(n,e,r)?Be(n):ee(0);let s=(i.left+l.x)/a.x,c=(i.top+l.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=Oe(n),o=r&&Se(r)?Oe(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=De(e),o=e.getBoundingClientRect(),r=Le(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;s*=t.x,c*=t.y,p*=t.x,f*=t.y,s+=i,c+=n,e=Oe(e).frameElement}}return ue({width:p,height:f,x:s,y:c})}function He(t){return Te(ve(t)).left+We(t).scrollLeft}function Pe(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Oe(t),r=ve(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,s=0;if(i){n=i.width,a=i.height;const t=$e();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,s=i.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)r=function(t){const o=ve(t),e=We(t),r=t.ownerDocument.body,i=te(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=te(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+He(t);const l=-e.scrollTop;return"rtl"===Le(r).direction&&(a+=te(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(ve(t));else if(Se(o))r=function(t,o){const e=Te(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=we(t)?De(t):ee(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=Be(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return ue(r)}function Me(t,o){const e=ke(t);return!(e===o||!Se(e)||Re(e))&&("fixed"===Le(e).position||Me(e,o))}function Ge(t,o,e){const r=we(o),i=ve(o),n="fixed"===e,a=Te(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=ee(0);if(r||!r&&!n)if(("body"!==xe(o)||Ee(i))&&(l=We(o)),r){const t=Te(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else i&&(s.x=He(i));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function _e(t,o){return we(t)&&"fixed"!==Le(t).position?o?o(t):t.offsetParent:null}function je(t,o){const e=Oe(t);if(!we(t))return e;let r=_e(t,o);for(;r&&Ie(r)&&"static"===Le(r).position;)r=_e(r,o);return r&&("html"===xe(r)||"body"===xe(r)&&"static"===Le(r).position&&!Ue(r))?e:r||function(t){let o=ke(t);for(;we(o)&&!Re(o);){if(Ue(o))return o;o=ke(o)}return null}(t)||e}const Ye={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=we(e),n=ve(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=ee(1);const s=ee(0);if((i||!i&&"fixed"!==r)&&(("body"!==xe(e)||Ee(n))&&(a=We(e)),we(e))){const t=Te(e);l=De(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:ve,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n="clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=Ae(t,[],!1).filter((t=>Se(t)&&"body"!==xe(t))),i=null;const n="fixed"===Le(t).position;let a=n?ke(t):t;for(;Se(a)&&!Re(a);){const o=Le(a),e=Ue(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Ee(a)&&!e&&Me(t,a))?r=r.filter((t=>t!==a)):i=o,a=ke(a)}return o.set(t,r),r}(o,this._c):[].concat(e),a=[...n,r],l=a[0],s=a.reduce(((t,e)=>{const r=Pe(o,e,i);return t.top=te(r.top,t.top),t.right=Qo(r.right,t.right),t.bottom=Qo(r.bottom,t.bottom),t.left=te(r.left,t.left),t}),Pe(o,l,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:je,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||je,n=this.getDimensions;return{reference:Ge(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ze(t)},getScale:De,isElement:Se,isRTL:function(t){return"rtl"===Le(t).direction}},Ve=(t,o,e)=>{const r=new Map,i={platform:Ye,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="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:i}),{x:p,y:f}=ye(c,r,s),d=r,h={},u=0;for(let e=0;e<l.length;e++){const{name:n,fn:y}=l[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=ye(c,d,s))),e=-1)}return{x:p,y:f,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function Xe(t){return function(t){for(let o=t;o;o=qe(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=qe(t);o;o=qe(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 qe(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Je,Qe,tr,or=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class er 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`
|
|
532
532
|
<div part="container"
|
|
533
533
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
534
534
|
@mouseenter=${this.onHover}
|
|
@@ -551,7 +551,7 @@ const Zo=Symbol.for(""),zo=t=>{if(t?.r===Zo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
551
551
|
${n.unsafeHTML(this.resolvedIcon)}
|
|
552
552
|
<slot ?hidden=${o}></slot>
|
|
553
553
|
</i>
|
|
554
|
-
`}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 r=this.value||this.textContent;switch(this.variant){case tr.file_format:this.resolvedIcon=null!==(t=Qe[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case tr.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=Je[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ir.elementDefinitions={},ir.styles=
|
|
554
|
+
`}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 r=this.value||this.textContent;switch(this.variant){case tr.file_format:this.resolvedIcon=null!==(t=Qe[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case tr.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=Je[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ir.elementDefinitions={},ir.styles=Tt,rr([r.property()],ir.prototype,"variant",void 0),rr([r.property()],ir.prototype,"value",void 0),rr([r.state()],ir.prototype,"resolvedIcon",void 0),rr([r.query("slot")],ir.prototype,"slottedContent",void 0),o.customElement("ft-icon")(ir);class nr extends o.FtLitElement{render(){return e.html`
|
|
555
555
|
<div class="ft-loader">
|
|
556
556
|
<div></div>
|
|
557
557
|
<div></div>
|
|
@@ -799,10 +799,10 @@ const Zo=Symbol.for(""),zo=t=>{if(t?.r===Zo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
799
799
|
width: ${v.smallIconOnlyWidth};
|
|
800
800
|
padding: unset;
|
|
801
801
|
}
|
|
802
|
-
`,o.noTextSelect];var fr,dr,hr,ur,yr,gr,br,mr,xr,Or,vr,Nr,Sr,wr,Cr,Ir,Er,$r,Ur=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Rr extends lr{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?Ho.caption1medium:Ho.body2medium}}Rr.styles=[o.safariEllipsisFix,pr],Ur([r.property({type:Boolean})],Rr.prototype,"primary",void 0),Ur([r.property({type:Boolean})],Rr.prototype,"secondary",void 0),Ur([r.property({type:Boolean})],Rr.prototype,"tertiary",void 0),Ur([r.property({type:Boolean})],Rr.prototype,"neutral",void 0),Ur([r.property({type:Boolean})],Rr.prototype,"small",void 0),o.customElement("ft-button")(cr),o.customElement("ftds-button")(Rr),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 r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(t){return t&&r.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 p(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function f(t){var o=new FileReader,e=p(o);return o.readAsArrayBuffer(t),e}function 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)||i(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(f)}),this.text=function(){var t,o,e,r=c(this);if(r)return r;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=p(o),o.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),r=0;r<o.length;r++)e[r]=String.fromCharCode(o[r]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},s.prototype.delete=function(t){delete this.map[n(t)]},s.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},s.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},s.prototype.set=function(t,o){this.map[n(t)]=a(o)},s.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},s.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},s.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},s.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,o){var e,r,i=(o=o||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new s(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=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",r=e.toUpperCase(),u.indexOf(r)>-1?r:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),r=e.shift().replace(/\+/g," "),i=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(r),decodeURIComponent(i))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new s(o.headers),this.url=o.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},h.call(y.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,r){return new Promise((function(i,n){var a=new y(t,r);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(":"),r=e.shift().trim();if(r){var i=e.join(":").trim();o.append(r,i)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var r="response"in l?l.response:l.responseText;i(new b(r,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=y,t.Response=b),o.Headers=s,o.Request=y,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"}(fr||(fr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(dr||(dr={})),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"}(hr||(hr={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(ur||(ur={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(yr||(yr={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(gr||(gr={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(br||(br={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(mr||(mr={})),function(t){t.ASC="ASC",t.DESC="DESC"}(xr||(xr={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Or||(Or={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(vr||(vr={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Nr||(Nr={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Sr||(Sr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(wr||(wr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Cr||(Cr={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(Ir||(Ir={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(Er||(Er={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}($r||($r={})),Er.PERSONAL_BOOK_SHARE_USER,Er.PERSONAL_BOOK_USER,Er.HTML_EXPORT_USER,Er.PERSONAL_BOOK_USER,Er.PDF_EXPORT_USER,Er.PERSONAL_BOOK_USER,Er.KHUB_ADMIN,Er.CONTENT_PUBLISHER,Er.ADMIN,Er.KHUB_ADMIN,Er.USERS_ADMIN,Er.PORTAL_ADMIN,Er.DEVELOPER,Er.BETA_USER,Er.DEBUG_USER;const Lr=e.css`
|
|
802
|
+
`,o.noTextSelect];var fr,dr,hr,ur,yr,gr,br,mr,xr,Or,vr,Nr,Sr,wr,Cr,Er,Ir,Ur,$r=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Rr extends lr{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?To.caption1medium:To.body2medium}}Rr.styles=[o.safariEllipsisFix,pr],$r([r.property({type:Boolean})],Rr.prototype,"primary",void 0),$r([r.property({type:Boolean})],Rr.prototype,"secondary",void 0),$r([r.property({type:Boolean})],Rr.prototype,"tertiary",void 0),$r([r.property({type:Boolean})],Rr.prototype,"neutral",void 0),$r([r.property({type:Boolean})],Rr.prototype,"small",void 0),o.customElement("ft-button")(cr),o.customElement("ftds-button")(Rr),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 r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(t){return t&&r.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 p(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function f(t){var o=new FileReader,e=p(o);return o.readAsArrayBuffer(t),e}function 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)||i(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(f)}),this.text=function(){var t,o,e,r=c(this);if(r)return r;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=p(o),o.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),r=0;r<o.length;r++)e[r]=String.fromCharCode(o[r]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},s.prototype.delete=function(t){delete this.map[n(t)]},s.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},s.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},s.prototype.set=function(t,o){this.map[n(t)]=a(o)},s.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},s.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},s.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},s.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,o){var e,r,i=(o=o||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new s(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=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",r=e.toUpperCase(),u.indexOf(r)>-1?r:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),r=e.shift().replace(/\+/g," "),i=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(r),decodeURIComponent(i))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new s(o.headers),this.url=o.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},h.call(y.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,r){return new Promise((function(i,n){var a=new y(t,r);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(":"),r=e.shift().trim();if(r){var i=e.join(":").trim();o.append(r,i)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var r="response"in l?l.response:l.responseText;i(new b(r,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=y,t.Response=b),o.Headers=s,o.Request=y,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"}(fr||(fr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(dr||(dr={})),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"}(hr||(hr={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(ur||(ur={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(yr||(yr={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(gr||(gr={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(br||(br={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(mr||(mr={})),function(t){t.ASC="ASC",t.DESC="DESC"}(xr||(xr={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Or||(Or={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(vr||(vr={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Nr||(Nr={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Sr||(Sr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(wr||(wr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Cr||(Cr={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(Er||(Er={})),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"}(Ir||(Ir={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(Ur||(Ur={})),Ir.PERSONAL_BOOK_SHARE_USER,Ir.PERSONAL_BOOK_USER,Ir.HTML_EXPORT_USER,Ir.PERSONAL_BOOK_USER,Ir.PDF_EXPORT_USER,Ir.PERSONAL_BOOK_USER,Ir.KHUB_ADMIN,Ir.CONTENT_PUBLISHER,Ir.ADMIN,Ir.KHUB_ADMIN,Ir.USERS_ADMIN,Ir.PORTAL_ADMIN,Ir.DEVELOPER,Ir.BETA_USER,Ir.DEBUG_USER;const Lr=e.css`
|
|
803
803
|
`,Wr=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}});class kr{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=Wr.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?kr.build(t):null!==(o=kr.API)&&void 0!==o?o:kr.API=kr.build()}static await(t){return new Promise((o=>{let e=kr.get(t);if(e)o(e);else{const r=Wr.subscribe((()=>{e=kr.get(t),e&&(r(),o(e))}))}}))}}var Kr;const Ar=Symbol("clearAfterUnitTest");class Zr{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={},this.currentUiLocale="",this[Kr]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=Wr.getState().uiLocale,Wr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Wr.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 r;if(t=t.toLowerCase(),Object.keys(e).length>0){const i={...null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},...e};o.deepEqual(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...r){var i,n,a;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(n=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==n?n:{};return new o.ParametrizedLabelResolver(null!==(a=this.defaultMessages[t])&&void 0!==a?a:{},l).resolve(e,...r)}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)))))}}Kr=Ar,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Zr((async(t,o)=>(await kr.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Zr((async(t,o)=>(await kr.await()).getCustomMessageContext(t,o))));const zr=window.FluidTopicsI18nService,Dr=window.FluidTopicsCustomI18nService;var Fr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Br extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>kr.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
|
|
804
804
|
<slot></slot>
|
|
805
|
-
`}update(t){super.update(t),t.has("baseUrl")&&(Wr.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&Wr.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Wr.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Wr.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Wr.actions.noCustom(this.noCustom),t.has("editorMode")&&Wr.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Wr.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Wr.actions.session(this.session),t.has("availableUiLocales")&&Wr.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>zr.addContext(t))),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()))}}Br.elementDefinitions={},Br.styles=Lr,Fr([r.property()],Br.prototype,"baseUrl",void 0),Fr([r.property()],Br.prototype,"apiIntegrationIdentifier",void 0),Fr([r.property()],Br.prototype,"uiLocale",void 0),Fr([o.jsonProperty(null)],Br.prototype,"availableUiLocales",void 0),Fr([o.jsonProperty(null)],Br.prototype,"metadataConfiguration",void 0),Fr([r.property({type:Boolean})],Br.prototype,"editorMode",void 0),Fr([r.property({type:Boolean})],Br.prototype,"noCustom",void 0),Fr([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Br.prototype,"noCustomComponent",void 0),Fr([r.property({type:Boolean})],Br.prototype,"withManualResources",void 0),Fr([o.jsonProperty([])],Br.prototype,"messageContexts",void 0),Fr([o.jsonProperty(void 0)],Br.prototype,"session",void 0),Fr([r.property({type:Object})],Br.prototype,"apiProvider",void 0);class
|
|
805
|
+
`}update(t){super.update(t),t.has("baseUrl")&&(Wr.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&Wr.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Wr.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Wr.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Wr.actions.noCustom(this.noCustom),t.has("editorMode")&&Wr.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Wr.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Wr.actions.session(this.session),t.has("availableUiLocales")&&Wr.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>zr.addContext(t))),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()))}}Br.elementDefinitions={},Br.styles=Lr,Fr([r.property()],Br.prototype,"baseUrl",void 0),Fr([r.property()],Br.prototype,"apiIntegrationIdentifier",void 0),Fr([r.property()],Br.prototype,"uiLocale",void 0),Fr([o.jsonProperty(null)],Br.prototype,"availableUiLocales",void 0),Fr([o.jsonProperty(null)],Br.prototype,"metadataConfiguration",void 0),Fr([r.property({type:Boolean})],Br.prototype,"editorMode",void 0),Fr([r.property({type:Boolean})],Br.prototype,"noCustom",void 0),Fr([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Br.prototype,"noCustomComponent",void 0),Fr([r.property({type:Boolean})],Br.prototype,"withManualResources",void 0),Fr([o.jsonProperty([])],Br.prototype,"messageContexts",void 0),Fr([o.jsonProperty(void 0)],Br.prototype,"session",void 0),Fr([r.property({type:Object})],Br.prototype,"apiProvider",void 0);class Tr{async listMySearches(){var t;return(null===(t=Wr.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await kr.await()).listMySearches(Wr.getState().session.profile.userId):[]}}const Hr=new o.CacheRegistry;class Pr{async listMyBookmarks(){return Hr.get("bookmarks",(async()=>(await kr.await()).listMyBookmarks(Wr.getState().session.profile.userId)))}clearCache(){Hr.clear("bookmarks")}}const Mr=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=Wr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Pr,Wr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Wr.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(){Mr.actions.savedSearches(void 0)}clearMyBookmarks(){Mr.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Tr,o=await t.listMySearches();Mr.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Mr.actions.bookmarks(o)}}},o.customElement("ft-app-context")(Br);class Gr extends Event{constructor(){super(Gr.eventName)}}Gr.eventName="search-context-clear-all-filters";var _r=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class jr extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Yr=Symbol("registerInterval");class Vr 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[Yr]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Yr]):this.dispatchEvent(new jr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Yr,_r([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}const Xr=e.css`
|
|
806
806
|
`;var qr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Jr=Symbol("i18nProperties"),Qr=Symbol("i18nUnsubs");function ti(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Dr:zr}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var o;null===(o=this[Jr])||void 0===o||o.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var o;super.update(t),null===(o=this[Jr])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Jr]&&new Set([...this[Jr].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[Qr].has(t)||this[Qr].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages(t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[Qr].forEach((t=>t())),this[Qr].clear()}}return o=Qr,qr([r.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class oi extends(ti(o.FtLitElement)){}class ei extends(ti(o.FtLitElementRedux)){}var ri=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ii extends ei{constructor(){super(),this.editorMode=!1,this.addStore(Wr)}render(){return this.key&&this.context?e.html`
|
|
807
807
|
<span class="ft-i18n">
|
|
808
808
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
@@ -929,7 +929,7 @@ class rs extends Fa{constructor(t){if(super(t),this.et=rt,t.type!==Aa)throw Erro
|
|
|
929
929
|
width: ${Re.smallIconOnlyWidth};
|
|
930
930
|
padding: unset;
|
|
931
931
|
}
|
|
932
|
-
`,zo];var gs,bs,ms,vs,xs,Os,ws,Ss,Ns,Cs,Es,Rs,Us,$s,Is,ks,Ls,Ws,As=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class Ks extends hs{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?_a.caption1medium:_a.body2medium}}Ks.styles=[To,ys],As([U({type:Boolean})],Ks.prototype,"primary",void 0),As([U({type:Boolean})],Ks.prototype,"secondary",void 0),As([U({type:Boolean})],Ks.prototype,"tertiary",void 0),As([U({type:Boolean})],Ks.prototype,"neutral",void 0),As([U({type:Boolean})],Ks.prototype,"small",void 0),A("ft-button")(ds),A("ftds-button")(Ks),function(t){!function(e){var o={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(o.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function i(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 s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function l(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function p(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function h(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function u(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||n(t))?this._bodyArrayBuffer=h(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=l(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?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),r=0;r<e.length;r++)o[r]=String.fromCharCode(e[r]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,e){t=i(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},c.prototype.delete=function(t){delete this.map[i(t)]},c.prototype.get=function(t){return t=i(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(i(t))},c.prototype.set=function(t,e){this.map[i(t)]=a(e)},c.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},c.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,r,n=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new c(e.headers)),this.method=(o=e.method||this.method||"GET",r=o.toUpperCase(),d.indexOf(r)>-1?r:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function g(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),r=o.shift().replace(/\+/g," "),n=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(n))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new c(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},u.call(y.prototype),u.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(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,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,r){return new Promise((function(n,i){var a=new y(t,r);if(a.signal&&a.signal.aborted)return i(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),r=o.shift().trim();if(r){var n=o.join(":").trim();e.append(r,n)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;n(new b(r,o))},s.onerror=function(){i(new TypeError("Network request failed"))},s.ontimeout=function(){i(new TypeError("Network request failed"))},s.onabort=function(){i(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=c,t.Request=y,t.Response=b),e.Headers=c,e.Request=y,e.Response=b,e.fetch=v,Object.defineProperty(e,"U",{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"}(gs||(gs={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(bs||(bs={})),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"}(ms||(ms={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(vs||(vs={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(xs||(xs={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Os||(Os={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(ws||(ws={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Ss||(Ss={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Ns||(Ns={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Cs||(Cs={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Es||(Es={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Rs||(Rs={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Us||(Us={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}($s||($s={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Is||(Is={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(ks||(ks={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(Ls||(Ls={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(Ws||(Ws={})),Ls.PERSONAL_BOOK_SHARE_USER,Ls.PERSONAL_BOOK_USER,Ls.HTML_EXPORT_USER,Ls.PERSONAL_BOOK_USER,Ls.PDF_EXPORT_USER,Ls.PERSONAL_BOOK_USER,Ls.KHUB_ADMIN,Ls.CONTENT_PUBLISHER,Ls.ADMIN,Ls.KHUB_ADMIN,Ls.USERS_ADMIN,Ls.PORTAL_ADMIN,Ls.DEVELOPER,Ls.BETA_USER,Ls.DEBUG_USER;const Fs=wt`
|
|
932
|
+
`,zo];var gs,bs,ms,vs,xs,Os,ws,Ss,Ns,Cs,Es,Rs,Us,$s,Is,ks,Ls,Ws,As=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class Ks extends hs{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?_a.caption1medium:_a.body2medium}}Ks.styles=[To,ys],As([U({type:Boolean})],Ks.prototype,"primary",void 0),As([U({type:Boolean})],Ks.prototype,"secondary",void 0),As([U({type:Boolean})],Ks.prototype,"tertiary",void 0),As([U({type:Boolean})],Ks.prototype,"neutral",void 0),As([U({type:Boolean})],Ks.prototype,"small",void 0),A("ft-button")(ds),A("ftds-button")(Ks),function(t){!function(e){var o={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(o.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function i(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 s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function l(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function p(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function h(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function u(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||n(t))?this._bodyArrayBuffer=h(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=l(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?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),r=0;r<e.length;r++)o[r]=String.fromCharCode(e[r]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,e){t=i(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},c.prototype.delete=function(t){delete this.map[i(t)]},c.prototype.get=function(t){return t=i(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(i(t))},c.prototype.set=function(t,e){this.map[i(t)]=a(e)},c.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},c.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,r,n=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new c(e.headers)),this.method=(o=e.method||this.method||"GET",r=o.toUpperCase(),d.indexOf(r)>-1?r:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function g(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),r=o.shift().replace(/\+/g," "),n=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(n))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new c(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},u.call(y.prototype),u.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(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,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,r){return new Promise((function(n,i){var a=new y(t,r);if(a.signal&&a.signal.aborted)return i(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),r=o.shift().trim();if(r){var n=o.join(":").trim();e.append(r,n)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;n(new b(r,o))},s.onerror=function(){i(new TypeError("Network request failed"))},s.ontimeout=function(){i(new TypeError("Network request failed"))},s.onabort=function(){i(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=c,t.Request=y,t.Response=b),e.Headers=c,e.Request=y,e.Response=b,e.fetch=v,Object.defineProperty(e,"U",{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"}(gs||(gs={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(bs||(bs={})),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"}(ms||(ms={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(vs||(vs={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(xs||(xs={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Os||(Os={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(ws||(ws={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Ss||(Ss={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Ns||(Ns={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Cs||(Cs={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Es||(Es={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Rs||(Rs={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Us||(Us={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}($s||($s={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Is||(Is={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(ks||(ks={})),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"}(Ls||(Ls={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(Ws||(Ws={})),Ls.PERSONAL_BOOK_SHARE_USER,Ls.PERSONAL_BOOK_USER,Ls.HTML_EXPORT_USER,Ls.PERSONAL_BOOK_USER,Ls.PDF_EXPORT_USER,Ls.PERSONAL_BOOK_USER,Ls.KHUB_ADMIN,Ls.CONTENT_PUBLISHER,Ls.ADMIN,Ls.KHUB_ADMIN,Ls.USERS_ADMIN,Ls.PORTAL_ADMIN,Ls.DEVELOPER,Ls.BETA_USER,Ls.DEBUG_USER;const Fs=wt`
|
|
933
933
|
`,js=Tn.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}});class Ps{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=js.getState(),r=null!=t?t:o;if(e&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,r,!0)}static get(t){var e;return null!=t?Ps.build(t):null!==(e=Ps.API)&&void 0!==e?e:Ps.API=Ps.build()}static await(t){return new Promise((e=>{let o=Ps.get(t);if(o)e(o);else{const r=js.subscribe((()=>{o=Ps.get(t),o&&(r(),e(o))}))}}))}}var Ds;const Ms=Symbol("clearAfterUnitTest");class zs{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[Ds]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=js.getState().uiLocale,js.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=js.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};W(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var r,n,i;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(n=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==n?n:{};return new Zo(null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},a).resolve(e,...o)}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,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}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=>{return(e=0,new Promise((t=>setTimeout(t,e)))).then((()=>t())).catch((()=>null));var e})))}}Ds=Ms,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new zs((async(t,e)=>(await Ps.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new zs((async(t,e)=>(await Ps.await()).getCustomMessageContext(t,e))));const Ts=window.FluidTopicsI18nService,Zs=window.FluidTopicsCustomI18nService;var Bs=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class _s extends Do{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Ps.get(),this.cache=new r,this.cleanSessionDebouncer=new n}render(){return ne`
|
|
934
934
|
<slot></slot>
|
|
935
935
|
`}update(t){super.update(t),t.has("baseUrl")&&(js.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&js.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&js.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&js.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&js.actions.noCustom(this.noCustom),t.has("editorMode")&&js.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&js.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&js.actions.session(this.session),t.has("availableUiLocales")&&js.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Ts.addContext(t))),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()))}}_s.elementDefinitions={},_s.styles=Fs,Bs([U()],_s.prototype,"baseUrl",void 0),Bs([U()],_s.prototype,"apiIntegrationIdentifier",void 0),Bs([U()],_s.prototype,"uiLocale",void 0),Bs([K(null)],_s.prototype,"availableUiLocales",void 0),Bs([K(null)],_s.prototype,"metadataConfiguration",void 0),Bs([U({type:Boolean})],_s.prototype,"editorMode",void 0),Bs([U({type:Boolean})],_s.prototype,"noCustom",void 0),Bs([U({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],_s.prototype,"noCustomComponent",void 0),Bs([U({type:Boolean})],_s.prototype,"withManualResources",void 0),Bs([K([])],_s.prototype,"messageContexts",void 0),Bs([K(void 0)],_s.prototype,"session",void 0),Bs([U({type:Object})],_s.prototype,"apiProvider",void 0);class Hs{async listMySearches(){var t;return(null===(t=js.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Ps.await()).listMySearches(js.getState().session.profile.userId):[]}}const Gs=new r;class Vs{async listMyBookmarks(){return Gs.get("bookmarks",(async()=>(await Ps.await()).listMyBookmarks(js.getState().session.profile.userId)))}clearCache(){Gs.clear("bookmarks")}}const qs=Tn.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=js.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Vs,js.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=js.getState();W(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(){qs.actions.savedSearches(void 0)}clearMyBookmarks(){qs.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Hs,e=await t.listMySearches();qs.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;qs.actions.bookmarks(e)}}},A("ft-app-context")(_s);class Ys extends Event{constructor(){super(Ys.eventName)}}Ys.eventName="search-context-clear-all-filters";var Xs=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class Js extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Qs=Symbol("registerInterval");class tc extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=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[Qs]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Qs]):this.dispatchEvent(new Js)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Qs,Xs([$()],o.prototype,"stateManager",void 0),o}(Qo)){}const ec=wt`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-search-load-more-button",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.32",
|
|
4
4
|
"description": "A button to load more result in a search context",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-button": "1.1.
|
|
23
|
-
"@fluid-topics/ft-search-context": "1.1.
|
|
24
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
25
|
-
"@fluid-topics/public-api": "1.0.
|
|
22
|
+
"@fluid-topics/ft-button": "1.1.32",
|
|
23
|
+
"@fluid-topics/ft-search-context": "1.1.32",
|
|
24
|
+
"@fluid-topics/ft-wc-utils": "1.1.32",
|
|
25
|
+
"@fluid-topics/public-api": "1.0.58",
|
|
26
26
|
"lit": "3.1.0"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "7aceb8fb7c61e391e77ab55affab94df9d3f91aa"
|
|
29
29
|
}
|