@fluid-topics/ft-search-load-more-button 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,814 @@
1
+ !function(t,o,e,r,i,a){const n=e.css`
2
+ `,l=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),s={color:l,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",l),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},c=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),p=c,f=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",c),h=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),d=h,y=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",h),g=e.css`
3
+ :host {
4
+ display: contents;
5
+ }
6
+
7
+ .ft-ripple {
8
+ position: absolute;
9
+ inset: 0;
10
+ pointer-events: none;
11
+ }
12
+
13
+ .ft-ripple:not(.ft-ripple--unbounded) {
14
+ overflow: hidden;
15
+ border-radius: ${s.borderRadius};
16
+ }
17
+
18
+ .ft-ripple .ft-ripple--background,
19
+ .ft-ripple .ft-ripple--effect {
20
+ position: absolute;
21
+ opacity: 0;
22
+ }
23
+
24
+ .ft-ripple .ft-ripple--effect {
25
+ aspect-ratio: 1;
26
+ width: auto;
27
+ height: auto;
28
+ min-width: 170%;
29
+ min-height: 170%;
30
+ }
31
+
32
+ .ft-ripple .ft-ripple--background{
33
+ width: 100%;
34
+ height: 100%;
35
+ }
36
+
37
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
38
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
39
+ aspect-ratio: 1;
40
+ width: auto;
41
+ height: auto;
42
+ max-width: unset;
43
+ max-height: unset;
44
+ min-width: 100%;
45
+ min-height: 100%;
46
+ }
47
+
48
+ .ft-ripple .ft-ripple--background {
49
+ background-color: ${s.backgroundColor};
50
+ }
51
+
52
+ .ft-ripple .ft-ripple--effect {
53
+ background-color: ${s.color};
54
+ }
55
+
56
+ .ft-ripple.ft-ripple--secondary .ft-ripple--background {
57
+ background-color: ${y};
58
+ }
59
+
60
+ .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
61
+ background-color: ${d};
62
+ }
63
+
64
+ .ft-ripple.ft-ripple--primary .ft-ripple--background {
65
+ background-color: ${f};
66
+ }
67
+
68
+ .ft-ripple.ft-ripple--primary .ft-ripple--effect {
69
+ background-color: ${p};
70
+ }
71
+
72
+ .ft-ripple .ft-ripple--background {
73
+ top: 0;
74
+ left: 0;
75
+ transition: opacity 75ms linear;
76
+ }
77
+
78
+ .ft-ripple .ft-ripple--effect,
79
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
80
+ border-radius: 50%;
81
+ }
82
+
83
+ .ft-ripple .ft-ripple--effect {
84
+ transform: translate(-50%, -50%) scale(0.15);
85
+ transition: transform 300ms ease, opacity 75ms linear;
86
+ }
87
+
88
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
89
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
90
+ left: 50%;
91
+ top: 50%;
92
+ }
93
+
94
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
95
+ transform: translate(-50%, -50%);
96
+ }
97
+
98
+ .ft-ripple.ft-ripple--hovered .ft-ripple--background {
99
+ opacity: ${s.opacityContentOnSurfaceHover};
100
+ }
101
+
102
+ .ft-ripple.ft-ripple--selected .ft-ripple--background {
103
+ opacity: ${s.opacityContentOnSurfaceSelected};
104
+ }
105
+
106
+ .ft-ripple.ft-ripple--focused .ft-ripple--background {
107
+ opacity: ${s.opacityContentOnSurfaceFocused};
108
+ }
109
+
110
+ .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
111
+ opacity: ${s.opacityContentOnSurfacePressed};
112
+ transform: translate(-50%, -50%) scale(1);
113
+ }
114
+ `,u=t=>"string"==typeof t?e.unsafeCSS(t):t;class b{static create(t,o,r,i){const a=t=>u(null!=t?t:i),n=e.css`var(${u(t)}, ${a(i)})`;return n.name=t,n.description=o,n.category=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${u(t)}, ${a(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,r,i){const a=t=>r.get(null!=t?t:i),n=e.css`var(${u(t)}, ${a(i)})`;return n.name=t,n.description=o,n.category=r.category,n.fallbackVariable=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${u(t)}, ${a(o)})`,n.breadcrumb=()=>[r.name,...r.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),n}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):u(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${u(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(${u(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")},O={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","2rem"),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","600"),lineHeight:b.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),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","600"),lineHeight:b.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),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")}},x={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),contentSuccessIconOnly:b.extend("--ft-content-success-icon-only","Used on success status icons alone",m.colorGreen0),contentSuccessPrimary:b.extend("--ft-content-success-primary","Used on label of success messages on light surface.",m.colorGreen200),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 warning components.",m.colorOrange30),borderSuccessPrimary:b.extend("--ft-border-success-primary","Used as border for success components.",m.colorGreen30),borderErrorPrimary:b.extend("--ft-border-error-primary","Used as border for error components.",m.colorRed30),borderInfoPrimary:b.extend("--ft-border-info-primary","Used as border for information components.",m.colorCyan30),borderGlobalSubtle:b.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",m.colorGray30),borderGlobalPrimary:b.extend("--ft-border-global-primary","Used as border for element like input.",m.colorGray50),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","",x.backgroundActionPrimary),primaryColor:b.extend("--ft-button-primary-color","",x.contentGlobalOnColor),primaryIconColor:b.extend("--ft-button-primary-icon-color","",x.contentGlobalOnColor),primaryStateLayerColor:b.extend("--ft-button-primary-state-layer-color","",x.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","",x.borderActionFocusRing),tertiaryBackgroundColor:b.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:b.extend("--ft-button-tertiary-color","",x.contentActionPrimary),tertiaryIconColor:b.extend("--ft-button-tertiary-icon-color","",x.contentActionPrimary),tertiaryStateLayerColor:b.extend("--ft-button-tertiary-state-layer-color","",x.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","",x.contentActionPrimary),secondaryIconColor:b.extend("--ft-button-secondary-icon-color","",x.contentActionPrimary),secondaryStateLayerColor:b.extend("--ft-button-secondary-state-layer-color","",x.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","",x.borderActionPrimary),neutralBackgroundColor:b.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:b.extend("--ft-button-neutral-icon-color","",x.contentGlobalSecondary),neutralColor:b.extend("--ft-button-neutral-color","",x.contentGlobalSecondary),neutralStateLayerColor:b.extend("--ft-button-neutral-state-layer-color","",x.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-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-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","",x.backgroundGlobalSurface),b.extend("--ft-switch-group-border-color","",x.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","",x.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","",x.contentGlobalSubtle),b.extend("--ft-switch-off-state-layer-color","",x.contentGlobalSubtle),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","",x.backgroundGlobalOnSurface),b.extend("--ft-chip-neutral-color","",x.contentGlobalPrimary),b.extend("--ft-chip-neutral-border-color","",x.borderGlobalSubtle),b.extend("--ft-chip-info-background-color","",x.backgroundInfoSubtle),b.extend("--ft-chip-info-color","",x.contentInfoPrimary),b.extend("--ft-chip-info-border-color","",x.borderInfoPrimary),b.extend("--ft-chip-success-background-color","",x.backgroundSuccessSubtle),b.extend("--ft-chip-success-color","",x.contentSuccessPrimary),b.extend("--ft-chip-success-border-color","",x.borderSuccessPrimary),b.extend("--ft-chip-warning-background-color","",x.backgroundWarningSubtle),b.extend("--ft-chip-warning-color","",x.contentWarningPrimary),b.extend("--ft-chip-warning-border-color","",x.borderWarningPrimary),b.extend("--ft-chip-error-background-color","",x.backgroundErrorSubtle),b.extend("--ft-chip-error-color","",x.contentErrorPrimary),b.extend("--ft-chip-error-border-color","",x.borderErrorPrimary),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","",x.backgroundInfoSubtle),b.extend("--ft-notice-info-border-color","",x.borderInfoPrimary),b.extend("--ft-notice-info-color","",x.contentInfoPrimary),b.extend("--ft-notice-warning-background-color","",x.backgroundWarningSubtle),b.extend("--ft-notice-warning-border-color","",x.borderWarningPrimary),b.extend("--ft-notice-warning-color","",x.contentWarningPrimary),b.extend("--ft-checkbox-label-color","",x.contentGlobalPrimary),b.extend("--ft-checkbox-checked-background-color","",x.contentActionPrimary),b.extend("--ft-checkbox-checked-state-layer-color","",x.contentActionPrimary),b.extend("--ft-checkbox-checked-color","",x.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","",x.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","",x.contentGlobalSubtle),b.extend("--ft-toggle-off-icon-color","",x.contentGlobalSubtle),b.extend("--ft-toggle-off-state-layer-color","",x.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","",x.contentActionPrimary),b.extend("--ft-toggle-on-icon-color","",x.contentActionPrimary),b.extend("--ft-toggle-on-state-layer-color","",x.contentActionPrimary),b.extend("--ft-toggle-label-color","",x.contentGlobalPrimary),b.extend("--ft-toggle-focus-focus-ring-color","",x.borderActionFocusRing),b.extend("--ft-toggle-gap","",m.spacing3),b.extend("--ft-radio-label-color","",x.contentGlobalPrimary),b.extend("--ft-radio-selected-color","",x.contentActionPrimary),b.extend("--ft-radio-selected-state-layer-color","",x.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","",x.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","",x.backgroundInfoSubtle),b.extend("--ft-notification-info-color","",x.contentInfoPrimary),b.extend("--ft-notification-info-border-color","",x.borderInfoPrimary),b.extend("--ft-notification-success-background-color","",x.backgroundSuccessSubtle),b.extend("--ft-notification-success-color","",x.contentSuccessPrimary),b.extend("--ft-notification-success-border-color","",x.borderSuccessPrimary),b.extend("--ft-notification-warning-background-color","",x.backgroundWarningSubtle),b.extend("--ft-notification-warning-color","",x.contentWarningPrimary),b.extend("--ft-notification-warning-border-color","",x.borderWarningPrimary),b.extend("--ft-notification-error-background-color","",x.backgroundErrorSubtle),b.extend("--ft-notification-error-color","",x.contentErrorPrimary),b.extend("--ft-notification-error-border-color","",x.borderErrorPrimary),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);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),$=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",w.fontSize,"20px"),I=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",w.fontWeight,"normal"),E=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),k=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",w.fontSize,"14px"),W=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"),Z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",w.lineHeight,"1.7"),A=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",w.textTransform,"inherit"),z=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",S),B=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",w.fontSize,"16px"),F=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",w.fontWeight,"600"),D=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),G=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",w.fontSize,"14px"),M=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),q=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",w.fontSize,"16px"),X=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"),at=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",w.lineHeight,"1.4"),nt=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"),ht=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",w.textTransform,"inherit"),dt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",S),yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",w.fontSize,"10px"),gt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",w.fontWeight,"normal"),ut=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"),Ot=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",S),xt=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")},$t=e.css`
115
+ .ft-typography--title {
116
+ font-family: ${C};
117
+ font-size: ${$};
118
+ font-weight: ${I};
119
+ letter-spacing: ${E};
120
+ line-height: ${U};
121
+ text-transform: ${R};
122
+ }
123
+ `,It=e.css`
124
+ .ft-typography--title-dense {
125
+ font-family: ${L};
126
+ font-size: ${k};
127
+ font-weight: ${W};
128
+ letter-spacing: ${K};
129
+ line-height: ${Z};
130
+ text-transform: ${A};
131
+ }
132
+ `,Et=e.css`
133
+ .ft-typography--subtitle1 {
134
+ font-family: ${z};
135
+ font-size: ${B};
136
+ font-weight: ${F};
137
+ letter-spacing: ${D};
138
+ line-height: ${T};
139
+ text-transform: ${H};
140
+ }
141
+ `,Ut=e.css`
142
+ .ft-typography--subtitle2 {
143
+ font-family: ${P};
144
+ font-size: ${G};
145
+ font-weight: ${M};
146
+ letter-spacing: ${j};
147
+ line-height: ${_};
148
+ text-transform: ${Y};
149
+ }
150
+
151
+ `,Rt=e.css`
152
+ .ft-typography--body1 {
153
+ font-family: ${V};
154
+ font-size: ${q};
155
+ font-weight: ${X};
156
+ letter-spacing: ${J};
157
+ line-height: ${Q};
158
+ text-transform: ${tt};
159
+ }
160
+ `,Lt=e.css`
161
+ .ft-typography--body2 {
162
+ font-family: ${ot};
163
+ font-size: ${et};
164
+ font-weight: ${rt};
165
+ letter-spacing: ${it};
166
+ line-height: ${at};
167
+ text-transform: ${nt};
168
+ }
169
+ `,kt=e.css`
170
+ .ft-typography--caption {
171
+ font-family: ${lt};
172
+ font-size: ${st};
173
+ font-weight: ${ct};
174
+ letter-spacing: ${pt};
175
+ line-height: ${ft};
176
+ text-transform: ${ht};
177
+ }
178
+ `,Wt=e.css`
179
+ .ft-typography--breadcrumb {
180
+ font-family: ${dt};
181
+ font-size: ${yt};
182
+ font-weight: ${gt};
183
+ letter-spacing: ${ut};
184
+ line-height: ${bt};
185
+ text-transform: ${mt};
186
+ }
187
+ `,Kt=e.css`
188
+ .ft-typography--overline {
189
+ font-family: ${Ot};
190
+ font-size: ${xt};
191
+ font-weight: ${vt};
192
+ letter-spacing: ${Nt};
193
+ line-height: ${St};
194
+ text-transform: ${wt};
195
+ }
196
+ `,Zt=e.css`
197
+ .ft-typography--button {
198
+ font-family: ${Ct.fontFamily};
199
+ font-size: ${Ct.fontSize};
200
+ font-weight: ${Ct.fontWeight};
201
+ letter-spacing: ${Ct.letterSpacing};
202
+ line-height: ${Ct.lineHeight};
203
+ text-transform: ${Ct.textTransform};
204
+ }
205
+ `,At=e.css`
206
+ .ft-typography {
207
+ vertical-align: inherit;
208
+ }
209
+ `,zt=[Object.keys(O).map((t=>function(t){const o=O[t];return e.css`
210
+ .ft-typography--${e.unsafeCSS(t)} {
211
+ font-family: ${o.fontFamily};
212
+ font-size: ${o.fontSize};
213
+ font-weight: ${o.fontWeight};
214
+ letter-spacing: ${o.letterSpacing};
215
+ line-height: ${o.lineHeight};
216
+ text-transform: ${o.textCase};
217
+ }
218
+ `}(t)))],Bt={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Ft=e.css`
219
+ :host {
220
+ line-height: 0;
221
+ }
222
+
223
+ .ft-loader {
224
+ display: inline-block;
225
+ position: relative;
226
+
227
+ width: ${Bt.size};
228
+ height: ${Bt.size};
229
+ }
230
+
231
+ .ft-loader div {
232
+ position: absolute;
233
+ top: 37.5%;
234
+ width: 25%;
235
+ height: 25%;
236
+ border-radius: 50%;
237
+ background: ${Bt.color};
238
+ animation-timing-function: cubic-bezier(0, 1, 1, 0);
239
+ }
240
+
241
+ .ft-loader div:nth-child(1) {
242
+ left: 2.5%;
243
+ animation: appear 0.6s infinite;
244
+ }
245
+
246
+ .ft-loader div:nth-child(2) {
247
+ left: 2.5%;
248
+ animation: move 0.6s infinite;
249
+ }
250
+
251
+ .ft-loader div:nth-child(3) {
252
+ left: 37.5%;
253
+ animation: move 0.6s infinite;
254
+ }
255
+
256
+ .ft-loader div:nth-child(4) {
257
+ left: 72.5%;
258
+ animation: disappear 0.6s infinite;
259
+ }
260
+
261
+ @keyframes appear {
262
+ 0% {
263
+ transform: scale(0);
264
+ }
265
+ 100% {
266
+ transform: scale(1);
267
+ }
268
+ }
269
+
270
+ @keyframes disappear {
271
+ 0% {
272
+ transform: scale(1);
273
+ }
274
+ 100% {
275
+ transform: scale(0);
276
+ }
277
+ }
278
+
279
+ @keyframes move {
280
+ 0% {
281
+ transform: translate(0, 0);
282
+ }
283
+ 100% {
284
+ transform: translate(calc(0.35 * ${Bt.size}), 0);
285
+ }
286
+ }
287
+ `,Dt={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
+ :host, i.ft-icon {
289
+ display: inline-flex;
290
+ align-items: center;
291
+ flex-shrink: 0;
292
+ flex-grow: 0;
293
+ }
294
+
295
+ :host {
296
+ width: ${Dt.size};
297
+ height: ${Dt.size};
298
+ }
299
+
300
+ i.ft-icon {
301
+ width: 100%;
302
+ height: 100%;
303
+ font-size: ${Dt.size};
304
+ line-height: 1;
305
+ font-weight: normal;
306
+ text-transform: none;
307
+ font-style: normal;
308
+ font-variant: normal;
309
+ speak: none;
310
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
311
+ text-rendering: auto;
312
+ -webkit-font-smoothing: antialiased;
313
+ -moz-osx-font-smoothing: grayscale;
314
+ vertical-align: ${Dt.verticalAlign};
315
+ }
316
+
317
+ i.ft-icon.ft-icon--fluid-topics {
318
+ font-family: ${Dt.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
319
+
320
+ /* Ugly fix because font is broken */
321
+ font-size: calc(0.75 * ${Dt.size});
322
+ line-height: ${Dt.size};
323
+ position: relative;
324
+ top: -4%;
325
+ justify-content: center;
326
+ }
327
+
328
+ .ft-icon--file-format {
329
+ font-family: ${Dt.fileFormatFontFamily}, ft-mime, sans-serif;
330
+ }
331
+
332
+ .ft-icon--material {
333
+ font-family: ${Dt.materialFontFamily}, "Material Icons", sans-serif;
334
+ }
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")},Gt=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Mt={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:Gt,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Gt)},jt=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),_t=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"),qt=[e.css`
336
+ :host {
337
+ display: inline-block;
338
+ max-width: 100%;
339
+ pointer-events: none;
340
+ }
341
+
342
+ button {
343
+ box-shadow: 0px 0px 0px transparent;
344
+ border: 0px solid transparent;
345
+ text-shadow: 0px 0px 0px transparent;
346
+ font-size: ${Pt.fontSize};
347
+ }
348
+
349
+ button:hover {
350
+ box-shadow: 0px 0px 0px transparent;
351
+ border: 0px solid transparent;
352
+ text-shadow: 0px 0px 0px transparent;
353
+ }
354
+
355
+ button:active {
356
+ outline: none;
357
+ border: none;
358
+ }
359
+
360
+ button:focus {
361
+ outline: 0;
362
+ }
363
+
364
+ .ft-button {
365
+ position: relative;
366
+ display: flex;
367
+ justify-content: center;
368
+ align-items: center;
369
+ width: 100%;
370
+ overflow: hidden;
371
+ box-sizing: border-box;
372
+ border: none;
373
+ pointer-events: auto;
374
+
375
+ --ft-button-internal-line-height: max(calc(${Pt.fontSize} + 2px), ${Pt.iconSize});
376
+ --ft-button-internal-color: ${Pt.color};
377
+ ${o.setVariable(Dt.size,Pt.iconSize)};
378
+ ${o.setVariable(s.color,Pt.rippleColor)};
379
+
380
+ border-radius: ${Pt.borderRadius};
381
+ padding: ${Pt.verticalPadding} ${Pt.horizontalPadding};
382
+ background-color: ${Pt.backgroundColor};
383
+ color: var(--ft-button-internal-color);
384
+ -webkit-mask-image: radial-gradient(white, black);
385
+ }
386
+
387
+ .ft-button.ft-button--outlined {
388
+ border: 1px solid var(--ft-button-internal-color);
389
+ padding: calc(${Pt.verticalPadding} - 1px) calc(${Pt.horizontalPadding} - 1px);
390
+ }
391
+
392
+ .ft-button.ft-button--dense {
393
+ padding: ${_t} ${Yt};
394
+ border-radius: ${jt};
395
+ gap: ${Vt};
396
+ }
397
+
398
+ .ft-button.ft-button--dense.ft-button--outlined {
399
+ padding: calc(${_t} - 1px) calc(${Yt} - 1px);
400
+ }
401
+
402
+ .ft-button:not([disabled]):hover {
403
+ cursor: pointer;
404
+ }
405
+
406
+ .ft-button--round {
407
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Pt.verticalPadding});
408
+ }
409
+
410
+ .ft-button--round.ft-button--dense {
411
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${_t});
412
+ }
413
+
414
+ .ft-button[disabled] {
415
+ filter: grayscale(1);
416
+ opacity: ${Pt.opacityDisabled};
417
+ }
418
+
419
+ .ft-button.ft-button--primary {
420
+ background-color: ${Mt.backgroundColor};
421
+ --ft-button-internal-color: ${Mt.color};
422
+ ${o.setVariable(s.color,Mt.rippleColor)};
423
+ }
424
+
425
+ .ft-button:focus {
426
+ outline: none;
427
+ }
428
+
429
+ .ft-button--label {
430
+ position: relative;
431
+ overflow: hidden;
432
+ white-space: nowrap;
433
+ text-overflow: ellipsis;
434
+ display: block;
435
+ margin: 0 ${Pt.iconPadding};
436
+ ${o.setVariable(Ct.fontSize,"1em")};
437
+ ${o.setVariable(Ct.lineHeight,"var(--ft-button-internal-line-height)")};
438
+ }
439
+
440
+ .ft-button--dense .ft-button--label {
441
+ margin: 0 ${Vt};
442
+ }
443
+
444
+ .ft-button--label[hidden] {
445
+ display: none;
446
+ }
447
+
448
+ ft-icon {
449
+ flex-shrink: 0;
450
+ position: relative;
451
+ }
452
+
453
+ .ft-button--label[hidden] + ft-icon {
454
+ margin: 0 calc(${Pt.horizontalPadding} * -1);
455
+ padding: 0 ${Pt.verticalPadding};
456
+ }
457
+
458
+ .ft-button--dense .ft-button--label[hidden] + ft-icon {
459
+ margin: 0 calc(${Yt} * -1);
460
+ padding: 0 ${_t};
461
+ }
462
+
463
+ .ft-button:not(.ft-button--trailing-icon) ft-icon,
464
+ .ft-button:not(.ft-button--trailing-icon) ft-loader {
465
+ order: -1;
466
+ }
467
+
468
+ ft-loader {
469
+ ${o.setVariable(Bt.size,Pt.iconSize)};
470
+ ${o.setVariable(Bt.color,"var(--ft-button-internal-color)")};
471
+ }
472
+ `,o.noTextSelect];var Xt=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Jt extends o.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),a=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-a.x:a.width/2),this.originY=Math.round(null!=i?i-a.y:a.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
473
+ <style>
474
+ .ft-ripple .ft-ripple--effect {
475
+ left: ${this.originX}px;
476
+ top: ${this.originY}px;
477
+ }
478
+ </style>
479
+ <div class="${i.classMap(t)}">
480
+ <div class="ft-ripple--background"></div>
481
+ <div class="ft-ripple--effect"></div>
482
+ </div>
483
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Jt.elementDefinitions={},Jt.styles=g,Xt([r.property({type:Boolean})],Jt.prototype,"primary",void 0),Xt([r.property({type:Boolean})],Jt.prototype,"secondary",void 0),Xt([r.property({type:Boolean})],Jt.prototype,"unbounded",void 0),Xt([r.property({type:Boolean})],Jt.prototype,"activated",void 0),Xt([r.property({type:Boolean})],Jt.prototype,"selected",void 0),Xt([r.property({type:Boolean})],Jt.prototype,"disabled",void 0),Xt([r.state()],Jt.prototype,"hovered",void 0),Xt([r.state()],Jt.prototype,"focused",void 0),Xt([r.state()],Jt.prototype,"pressed",void 0),Xt([r.state()],Jt.prototype,"rippling",void 0),Xt([r.state()],Jt.prototype,"originX",void 0),Xt([r.state()],Jt.prototype,"originY",void 0),Xt([r.query(".ft-ripple")],Jt.prototype,"ripple",void 0),Xt([r.query(".ft-ripple--effect")],Jt.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Jt);
484
+ /**
485
+ * @license
486
+ * Copyright 2017 Google LLC
487
+ * SPDX-License-Identifier: BSD-3-Clause
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,ao=`<${io}>`,no=document,lo=()=>no.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,yo=/>/g,go=RegExp(`>|${po}(?:([^\\s"'>=/]+)(${po}*=${po}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),uo=/'/g,bo=/"/g,mo=/^(?:script|style|textarea|title)$/i,Oo=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),xo=Symbol.for("lit-noChange"),vo=Symbol.for("lit-nothing"),No=new WeakMap,So=no.createTreeWalker(no,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,a=2===o?"<svg>":"",n=fo;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,p=0;for(;p<e.length&&(n.lastIndex=p,s=n.exec(e),null!==s);)p=n.lastIndex,n===fo?"!--"===s[1]?n=ho:void 0!==s[1]?n=yo:void 0!==s[2]?(mo.test(s[2])&&(i=RegExp("</"+s[2],"g")),n=go):void 0!==s[3]&&(n=go):n===go?">"===s[0]?(n=i??fo,c=-1):void 0===s[1]?c=-2:(c=n.lastIndex-s[2].length,l=s[1],n=void 0===s[3]?go:'"'===s[3]?bo:uo):n===bo||n===uo?n=go:n===ho||n===yo?n=fo:(n=go,i=void 0);const f=n===go&&t[o+1].startsWith("/>")?" ":"";a+=n===fo?e+ao:c>=0?(r.push(l),e.slice(0,c)+eo+e.slice(c)+ro+f):e+ro+(-2===c?o:f)}return[wo(t,a+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class $o{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,a=0;const n=t.length-1,l=this.parts,[s,c]=Co(t,o);if(this.el=$o.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<n;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(eo)){const o=c[a++],e=r.getAttribute(t).split(ro),n=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:n[2],strings:e,ctor:"."===n[1]?Lo:"?"===n[1]?ko:"@"===n[1]?Wo: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=no.createElement("template");return e.innerHTML=t,e}}function Io(t,o,e=t,r){if(o===xo)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const a=so(o)?void 0:o._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),void 0===a?i=void 0:(i=new a(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 Eo{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??no).importNode(o,!0);So.currentNode=r;let i=So.nextNode(),a=0,n=0,l=e[0];for(;void 0!==l;){if(a===l.index){let o;2===l.type?o=new Uo(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[++n]}a!==l?.index&&(i=So.nextNode(),a++)}return So.currentNode=no,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 Uo{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!==xo&&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.$(no.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=$o.createElement(wo(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new Eo(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 $o(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 Uo(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 a=!1;if(void 0===i)t=Io(this,t,o,0),a=!so(t)||t!==this._$AH&&t!==xo,a&&(this._$AH=t);else{const r=t;let n,l;for(t=i[0],n=0;n<i.length-1;n++)l=Io(this,r[e+n],o,n),l===xo&&(l=this._$AH[n]),a||=!so(l)||l!==this._$AH[n],l===vo?t=vo:t!==vo&&(t+=(l??"")+i[n+1]),this._$AH[n]=l}a&&!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 ko extends Ro{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==vo)}}class Wo 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)===xo)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 Zo=Qt.litHtmlPolyfillSupport;Zo?.($o,Uo),(Qt.litHtmlVersions??=[]).push("3.1.0");
490
+ /**
491
+ * @license
492
+ * Copyright 2020 Google LLC
493
+ * SPDX-License-Identifier: BSD-3-Clause
494
+ */
495
+ const Ao=Symbol.for(""),zo=t=>{if(t?.r===Ao)return t?._$litStatic$},Bo=t=>({_$litStatic$:t,r:Ao}),Fo=new Map,Do=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],l=[];let s,c=0,p=!1;for(;c<r;){for(s=o[c];c<r&&void 0!==(a=e[c],i=zo(a));)s+=i+o[++c],p=!0;c!==r&&l.push(a),n.push(s),c++}if(c===r&&n.push(o[r]),p){const t=n.join("$$lit$$");void 0===(o=Fo.get(t))&&(n.raw=n,Fo.set(t,o=n)),e=l}return t(o,...e)})(Oo);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,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Po extends o.FtLitElement{constructor(){super(...arguments),this.variant=To.body1}render(){return this.element?Do`
496
+ <${Bo(this.element)}
497
+ class="ft-typography ft-typography--${this.variant}">
498
+ <slot></slot>
499
+ </${Bo(this.element)}>
500
+ `:Do`
501
+ <slot class="ft-typography ft-typography--${this.variant}"></slot>
502
+ `}}Po.styles=[$t,It,Et,Ut,Rt,Lt,kt,Wt,Kt,Zt,At,...zt],Ho([r.property()],Po.prototype,"element",void 0),Ho([r.property()],Po.prototype,"variant",void 0),o.customElement("ft-typography")(Po);const Go=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),Mo=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),jo=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),_o=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"),qo=e.css`
503
+ .ft-tooltip--container {
504
+ display: block;
505
+ }
506
+
507
+ .ft-tooltip--inline {
508
+ display: inline-block;
509
+ max-width: 100%;
510
+ }
511
+
512
+ .ft-tooltip {
513
+ position: absolute;
514
+ box-sizing: border-box;
515
+ overflow: hidden;
516
+ width: max-content;
517
+ max-width: ${Vo};
518
+ text-align: center;
519
+ padding: ${Go};
520
+ z-index: ${_o};
521
+ }
522
+
523
+ .ft-tooltip--content {
524
+ padding: 4px 8px;
525
+ border-radius: ${Yo};
526
+ background-color: ${jo};
527
+ color: ${Mo};
528
+ position: relative;
529
+ word-break: break-word;
530
+ }
531
+ `;var Xo,Jo,Qo,te=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class oe 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
+ <div part="container"
533
+ class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
534
+ @mouseenter=${this.onHover}
535
+ @mouseleave=${this.onOut}
536
+ @focusin=${this.onHover}
537
+ @focusout=${this.onOut}
538
+ @touchstart=${this.onTouch}>
539
+ <slot></slot>
540
+ <div part="tooltip" role="tooltip" inert
541
+ class="ft-tooltip ft-tooltip--${this.validPosition}"
542
+ ?hidden=${!this.visible}>
543
+ <div part="tooltip-content" class="ft-tooltip--content">
544
+ <slot name="text"></slot>
545
+ <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
546
+ </div>
547
+ </div>
548
+ </div>
549
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,r=(t.offsetHeight-e)/2,i=(t.offsetWidth-o)/2;let a=0,n=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":n=t.offsetTop-e-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"bottom":n=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"left":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=a+"px",l.top=n+"px";const s=this.tooltip.getBoundingClientRect();let c=-s.x,p=s.x+s.width-window.innerWidth;l.left=a+Math.round(this.correctOutOfWindowPixels(c,p))+"px";let f=-s.y,h=s.y+s.height-window.innerHeight;l.top=n+Math.round(this.correctOutOfWindowPixels(f,h))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${Vo})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}oe.elementDefinitions={"ft-typography":Po},oe.styles=qo,te([r.property()],oe.prototype,"text",void 0),te([r.property({type:Boolean})],oe.prototype,"manual",void 0),te([r.property({type:Boolean})],oe.prototype,"inline",void 0),te([r.property({type:Number})],oe.prototype,"delay",void 0),te([r.property()],oe.prototype,"position",void 0),te([r.queryAssignedNodes()],oe.prototype,"slotNodes",void 0),te([r.query(".ft-tooltip--container")],oe.prototype,"container",void 0),te([r.query(".ft-tooltip")],oe.prototype,"tooltip",void 0),te([r.query(".ft-tooltip--content")],oe.prototype,"tooltipContent",void 0),te([r.state()],oe.prototype,"visible",void 0),o.customElement("ft-tooltip")(oe),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Xo||(Xo={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Jo||(Jo={})),new Map([...["abw"].map((t=>[t,Jo.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Jo.AUDIO])),...["avi"].map((t=>[t,Jo.AVI])),...["chm","xhs"].map((t=>[t,Jo.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Jo.CODE])),...["csv"].map((t=>[t,Jo.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Jo.DITA])),...["epub"].map((t=>[t,Jo.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Jo.EXCEL])),...["flac"].map((t=>[t,Jo.FLAC])),...["gif"].map((t=>[t,Jo.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Jo.GZIP])),...["html","htm","xhtml"].map((t=>[t,Jo.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Jo.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Jo.JPEG])),...["json"].map((t=>[t,Jo.JSON])),...["m4a","m4p"].map((t=>[t,Jo.M4A])),...["mov","qt"].map((t=>[t,Jo.MOV])),...["mp3"].map((t=>[t,Jo.MP3])),...["mp4","m4v"].map((t=>[t,Jo.MP4])),...["ogg","oga"].map((t=>[t,Jo.OGG])),...["pdf","ps"].map((t=>[t,Jo.PDF])),...["png"].map((t=>[t,Jo.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Jo.POWERPOINT])),...["rar"].map((t=>[t,Jo.RAR])),...["stp"].map((t=>[t,Jo.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Jo.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Jo.VIDEO])),...["wav"].map((t=>[t,Jo.WAV])),...["wma"].map((t=>[t,Jo.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Jo.WORD])),...["xml","xsl","rdf"].map((t=>[t,Jo.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Jo.YAML])),...["zip"].map((t=>[t,Jo.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Qo||(Qo={}));var ee=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class re extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Qo).includes(this.variant)?this.variant:Qo.fluid_topics,o=t!==Qo.material||!!this.value;return e.html`
550
+ <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
551
+ ${a.unsafeHTML(this.resolvedIcon)}
552
+ <slot ?hidden=${o}></slot>
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 Qo.file_format:this.resolvedIcon=null!==(t=Jo[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case Qo.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=Xo[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}re.elementDefinitions={},re.styles=Tt,ee([r.property()],re.prototype,"variant",void 0),ee([r.property()],re.prototype,"value",void 0),ee([r.state()],re.prototype,"resolvedIcon",void 0),ee([r.query("slot")],re.prototype,"slottedContent",void 0),o.customElement("ft-icon")(re);class ie extends o.FtLitElement{render(){return e.html`
555
+ <div class="ft-loader">
556
+ <div></div>
557
+ <div></div>
558
+ <div></div>
559
+ <div></div>
560
+ </div>
561
+ `}}ie.styles=Ft,o.customElement("ft-loader")(ie);var ae=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ne extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(e.html`
562
+ <button part="button"
563
+ class="${i.classMap(this.buttonClasses)}"
564
+ aria-label="${this.getLabel()}"
565
+ ?disabled=${this.isDisabled()}>
566
+ <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
567
+ <ft-typography part="label"
568
+ variant=${this.typographyVariant}
569
+ element="span"
570
+ class="ft-button--label ${o.isSafari?"ft-safari-ellipsis-fix":""}"
571
+ ?hidden=${!this.hasTextContent()}>
572
+ <slot @slotchange=${this.onSlotchange}></slot>
573
+ </ft-typography>
574
+ ${this.resolveIcon()}
575
+ </button>
576
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?e.html`
577
+ <ft-tooltip part="tooltip"
578
+ text="${this.getLabel()}"
579
+ position="${this.tooltipPosition}">
580
+ ${t}
581
+ </ft-tooltip>
582
+ `:t}resolveIcon(){return this.loading?e.html`
583
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
584
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}ne.elementDefinitions={"ft-ripple":Jt,"ft-tooltip":oe,"ft-typography":Po,"ft-icon":re,"ft-loader":ie},ae([r.property({type:String,reflect:!0})],ne.prototype,"role",void 0),ae([r.property()],ne.prototype,"type",void 0),ae([r.property({type:Boolean})],ne.prototype,"disabled",void 0),ae([r.property()],ne.prototype,"label",void 0),ae([r.property()],ne.prototype,"icon",void 0),ae([r.property()],ne.prototype,"iconVariant",void 0),ae([r.property({type:Boolean})],ne.prototype,"trailingIcon",void 0),ae([r.property({type:Boolean})],ne.prototype,"loading",void 0),ae([r.property()],ne.prototype,"tooltipPosition",void 0),ae([r.property({type:Boolean})],ne.prototype,"hideTooltip",void 0),ae([r.property({type:Boolean})],ne.prototype,"forceTooltip",void 0),ae([r.query(".ft-button")],ne.prototype,"button",void 0),ae([r.query(".ft-button--label slot")],ne.prototype,"slottedContent",void 0);var le=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class se extends ne{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}se.styles=[o.safariEllipsisFix,qt],le([r.property({type:Boolean})],se.prototype,"primary",void 0),le([r.property({type:Boolean})],se.prototype,"outlined",void 0),le([r.property({type:Boolean})],se.prototype,"dense",void 0),le([r.property({type:Boolean})],se.prototype,"round",void 0);const ce=[e.css`
585
+ :host {
586
+ display: inline-block;
587
+ max-width: 100%;
588
+ pointer-events: none;
589
+ }
590
+
591
+ /** Remove default button styles **/
592
+
593
+ button {
594
+ box-shadow: 0 0 0 transparent;
595
+ border: 0 solid transparent;
596
+ text-shadow: 0 0 0 transparent;
597
+ }
598
+
599
+ button:hover {
600
+ box-shadow: 0 0 0 transparent;
601
+ text-shadow: 0 0 0 transparent;
602
+ }
603
+
604
+ button:active {
605
+ outline: none;
606
+ }
607
+
608
+ button:focus {
609
+ outline: 0;
610
+ }
611
+
612
+ /** Base styles **/
613
+
614
+ .ft-button {
615
+ position: relative;
616
+ display: flex;
617
+ justify-content: center;
618
+ align-items: center;
619
+ width: 100%;
620
+ overflow: hidden;
621
+ box-sizing: border-box;
622
+ pointer-events: auto;
623
+ }
624
+
625
+ .ft-button:not([disabled]):hover {
626
+ cursor: pointer;
627
+ }
628
+
629
+ .ft-button:focus {
630
+ outline: none;
631
+ }
632
+
633
+ .ft-button:focus-visible {
634
+ outline-color: ${v.focusFocusRingColor};
635
+ outline-style: solid;
636
+ }
637
+
638
+ ft-icon {
639
+ flex-shrink: 0;
640
+ position: relative;
641
+ }
642
+
643
+ .ft-button:not(.ft-button--trailing-icon) ft-icon,
644
+ .ft-button:not(.ft-button--trailing-icon) ft-loader {
645
+ order: -1;
646
+ }
647
+
648
+ .ft-button--label {
649
+ position: relative;
650
+ overflow: hidden;
651
+ white-space: nowrap;
652
+ text-overflow: ellipsis;
653
+ display: block;
654
+ }
655
+
656
+ .ft-button--label[hidden] {
657
+ display: none;
658
+ }
659
+
660
+ /** Primary styles **/
661
+
662
+ .ft-button--primary {
663
+ ${o.setVariable(Bt.color,v.primaryIconColor)};
664
+
665
+ ${o.setVariable(s.color,v.primaryStateLayerColor)};
666
+ ${o.setVariable(s.opacityContentOnSurfaceHover,v.primaryStateLayerOpacityHover)};
667
+ ${o.setVariable(s.opacityContentOnSurfaceFocused,v.primaryStateLayerOpacityFocus)};
668
+ ${o.setVariable(s.opacityContentOnSurfaceSelected,v.primaryStateLayerOpacityActive)};
669
+ ${o.setVariable(s.opacityContentOnSurfacePressed,v.primaryStateLayerOpacityActive)};
670
+
671
+ background-color: ${v.primaryBackgroundColor};
672
+ color: ${v.primaryColor};
673
+ border-style: none;
674
+ }
675
+
676
+ .ft-button--primary[disabled] {
677
+ opacity: ${v.primaryComponentOpacityDisabled};
678
+ }
679
+
680
+ .ft-button--primary ft-icon {
681
+ color: ${v.primaryIconColor};
682
+ }
683
+
684
+ /** Secondary styles **/
685
+
686
+ .ft-button--secondary {
687
+ ${o.setVariable(Bt.color,v.secondaryIconColor)};
688
+
689
+ ${o.setVariable(s.color,v.secondaryStateLayerColor)};
690
+ ${o.setVariable(s.opacityContentOnSurfaceHover,v.secondaryStateLayerOpacityHover)};
691
+ ${o.setVariable(s.opacityContentOnSurfaceFocused,v.secondaryStateLayerOpacityFocus)};
692
+ ${o.setVariable(s.opacityContentOnSurfaceSelected,v.secondaryStateLayerOpacityActive)};
693
+ ${o.setVariable(s.opacityContentOnSurfacePressed,v.secondaryStateLayerOpacityActive)};
694
+
695
+ background-color: ${v.secondaryBackgroundColor};
696
+ color: ${v.secondaryColor};
697
+ border-color: ${v.secondaryBorderColor};
698
+ border-style: solid;
699
+ }
700
+
701
+ .ft-button--secondary[disabled] {
702
+ opacity: ${v.secondaryComponentOpacityDisabled};
703
+ }
704
+
705
+ .ft-button--secondary ft-icon {
706
+ color: ${v.secondaryIconColor};
707
+ }
708
+
709
+ /** Tertiary styles **/
710
+
711
+ .ft-button--tertiary {
712
+ ${o.setVariable(Bt.color,v.tertiaryIconColor)};
713
+
714
+ ${o.setVariable(s.color,v.tertiaryStateLayerColor)};
715
+ ${o.setVariable(s.opacityContentOnSurfaceHover,v.tertiaryStateLayerOpacityHover)};
716
+ ${o.setVariable(s.opacityContentOnSurfaceFocused,v.tertiaryStateLayerOpacityFocus)};
717
+ ${o.setVariable(s.opacityContentOnSurfaceSelected,v.tertiaryStateLayerOpacityActive)};
718
+ ${o.setVariable(s.opacityContentOnSurfacePressed,v.tertiaryStateLayerOpacityActive)};
719
+
720
+ background-color: ${v.tertiaryBackgroundColor};
721
+ color: ${v.tertiaryColor};
722
+ border-style: none;
723
+ }
724
+
725
+ .ft-button--tertiary[disabled] {
726
+ opacity: ${v.tertiaryComponentOpacityDisabled};
727
+ }
728
+
729
+ .ft-button--tertiary ft-icon {
730
+ color: ${v.tertiaryIconColor};
731
+ }
732
+
733
+ /** Neutral styles **/
734
+
735
+ .ft-button--neutral {
736
+ ${o.setVariable(Bt.color,v.neutralIconColor)};
737
+
738
+ ${o.setVariable(s.backgroundColor,v.neutralStateLayerColor)};
739
+ ${o.setVariable(s.opacityContentOnSurfaceHover,v.neutralStateLayerOpacityHover)};
740
+ ${o.setVariable(s.opacityContentOnSurfaceFocused,v.neutralStateLayerOpacityFocus)};
741
+ ${o.setVariable(s.opacityContentOnSurfaceSelected,v.neutralStateLayerOpacityActive)};
742
+ ${o.setVariable(s.opacityContentOnSurfacePressed,v.neutralStateLayerOpacityActive)};
743
+
744
+ background-color: ${v.neutralBackgroundColor};
745
+ color: ${v.neutralColor};
746
+ border-style: none;
747
+ }
748
+
749
+ .ft-button--neutral[disabled] {
750
+ opacity: ${v.neutralComponentOpacityDisabled};
751
+ }
752
+
753
+ .ft-button--neutral ft-icon {
754
+ color: ${v.neutralIconColor};
755
+ }
756
+
757
+ /** Large styles **/
758
+
759
+ .ft-button--large {
760
+ ${o.setVariable(Dt.size,v.largeIconSize)};
761
+ ${o.setVariable(Bt.size,v.largeIconSize)};
762
+
763
+ height: ${v.largeHeight};
764
+ padding: 0 ${v.largeHorizontalPadding};
765
+ gap: ${v.largeGap};
766
+ border-radius: ${v.largeBorderRadius};
767
+ border-width: ${v.largeBorderWidth};
768
+ }
769
+
770
+ .ft-button--large:focus-visible {
771
+ outline-width: ${v.largeFocusOutlineWidth};
772
+ outline-offset: ${v.largeFocusOutlineOffset};
773
+ }
774
+
775
+ .ft-button--large.ft-button--icon-only {
776
+ width: ${v.largeIconOnlyWidth};
777
+ padding: unset;
778
+ }
779
+
780
+ /** Small styles **/
781
+
782
+ .ft-button--small {
783
+ ${o.setVariable(Dt.size,v.smallIconSize)};
784
+ ${o.setVariable(Bt.size,v.smallIconSize)};
785
+
786
+ height: ${v.smallHeight};
787
+ padding: 0 ${v.smallHorizontalPadding};
788
+ gap: ${v.smallGap};
789
+ border-radius: ${v.smallBorderRadius};
790
+ border-width: ${v.smallBorderWidth};
791
+ }
792
+
793
+ .ft-button--small:focus-visible {
794
+ outline-width: ${v.smallFocusOutlineWidth};
795
+ outline-offset: ${v.smallFocusOutlineOffset};
796
+ }
797
+
798
+ .ft-button--small.ft-button--icon-only {
799
+ width: ${v.smallIconOnlyWidth};
800
+ padding: unset;
801
+ }
802
+ `,o.noTextSelect];var pe,fe,he,de,ye,ge,ue,be,me,Oe,xe,ve,Ne,Se,we=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ce extends ne{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}}Ce.styles=[o.safariEllipsisFix,ce],we([r.property({type:Boolean})],Ce.prototype,"primary",void 0),we([r.property({type:Boolean})],Ce.prototype,"secondary",void 0),we([r.property({type:Boolean})],Ce.prototype,"tertiary",void 0),we([r.property({type:Boolean})],Ce.prototype,"neutral",void 0),we([r.property({type:Boolean})],Ce.prototype,"small",void 0),o.customElement("ft-button")(se),o.customElement("ftds-button")(Ce),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 a(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function n(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function s(t){this.map={},t instanceof s?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function p(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function f(t){var o=new FileReader,e=p(o);return o.readAsArrayBuffer(t),e}function h(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=h(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t,o,e,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(u)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(t,o){t=a(t),o=n(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},s.prototype.delete=function(t){delete this.map[a(t)]},s.prototype.get=function(t){return t=a(t),this.has(t)?this.map[t]:null},s.prototype.has=function(t){return this.map.hasOwnProperty(a(t))},s.prototype.set=function(t,o){this.map[a(t)]=n(o)},s.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},s.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},s.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},s.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var y=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,o){var e,r,i=(o=o||{}).body;if(t instanceof g){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new s(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,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(),y.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 u(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)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},d.call(g.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function O(t,r){return new Promise((function(i,a){var n=new g(t,r);if(n.signal&&n.signal.aborted)return a(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function c(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new s,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),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(){a(new TypeError("Network request failed"))},l.ontimeout=function(){a(new TypeError("Network request failed"))},l.onabort=function(){a(new o.DOMException("Aborted","AbortError"))},l.open(n.method,n.url,!0),"include"===n.credentials?l.withCredentials=!0:"omit"===n.credentials&&(l.withCredentials=!1),"responseType"in l&&e.blob&&(l.responseType="blob"),n.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),n.signal&&(n.signal.addEventListener("abort",c),l.onreadystatechange=function(){4===l.readyState&&n.signal.removeEventListener("abort",c)}),l.send(void 0===n._bodyInit?null:n._bodyInit)}))}O.polyfill=!0,t.fetch||(t.fetch=O,t.Headers=s,t.Request=g,t.Response=b),o.Headers=s,o.Request=g,o.Response=b,o.fetch=O,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"}(pe||(pe={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(fe||(fe={})),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"}(he||(he={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(de||(de={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(ye||(ye={})),function(t){t.ASC="ASC",t.DESC="DESC"}(ge||(ge={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(ue||(ue={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(be||(be={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(me||(me={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Oe||(Oe={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(xe||(xe={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(ve||(ve={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(Ne||(Ne={})),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"}(Se||(Se={})),Se.PERSONAL_BOOK_SHARE_USER,Se.PERSONAL_BOOK_USER,Se.HTML_EXPORT_USER,Se.PERSONAL_BOOK_USER,Se.PDF_EXPORT_USER,Se.PERSONAL_BOOK_USER,Se.KHUB_ADMIN,Se.CONTENT_PUBLISHER,Se.ADMIN,Se.KHUB_ADMIN,Se.USERS_ADMIN,Se.PORTAL_ADMIN,Se.DEVELOPER,Se.BETA_USER,Se.DEBUG_USER;const $e=e.css`
803
+ `,Ie=o.FtReduxStore.get({name:"ft-app-info",reducers:{setBaseUrl:(t,o)=>{t.baseUrl=o.payload},setApiIntegrationIdentifier:(t,o)=>{t.apiIntegrationIdentifier=o.payload},setUiLocale:(t,o)=>{t.uiLocale=o.payload},setAvailableUiLocales:(t,o)=>{t.availableUiLocales=o.payload},setEditorMode:(t,o)=>{t.editorMode=o.payload},setNoCustom:(t,o)=>{t.noCustom=o.payload},setNoCustomComponent:(t,o)=>{t.noCustomComponent=o.payload},setSession:(t,o)=>{t.session=o.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class Ee{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=Ie.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?Ee.build(t):null!==(o=Ee.API)&&void 0!==o?o:Ee.API=Ee.build()}static await(t){return new Promise((o=>{let e=Ee.get(t);if(e)o(e);else{const r=Ie.subscribe((()=>{e=Ee.get(t),e&&(r(),o(e))}))}}))}}var Ue;const Re=Symbol("clearAfterUnitTest");class Le{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={},this.currentUiLocale="",this[Ue]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=Ie.getState().uiLocale,Ie.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Ie.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,a,n;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(a=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==a?a:{};return new o.ParametrizedLabelResolver(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},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)))))}}Ue=Re,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Le((async(t,o)=>(await Ee.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Le((async(t,o)=>(await Ee.await()).getCustomMessageContext(t,o))));const ke=window.FluidTopicsI18nService,We=window.FluidTopicsCustomI18nService;var Ke=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ze extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Ee.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
804
+ <slot></slot>
805
+ `}update(t){super.update(t),t.has("baseUrl")&&Ie.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&Ie.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Ie.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&Ie.actions.setNoCustom(this.noCustom),t.has("editorMode")&&Ie.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&Ie.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&Ie.actions.setSession(this.session),t.has("availableUiLocales")&&Ie.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>ke.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const o=await t.getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),o.idleTimeoutInMillis),o}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}Ze.elementDefinitions={},Ze.styles=$e,Ke([r.property()],Ze.prototype,"baseUrl",void 0),Ke([r.property()],Ze.prototype,"apiIntegrationIdentifier",void 0),Ke([r.property()],Ze.prototype,"uiLocale",void 0),Ke([o.jsonProperty([])],Ze.prototype,"availableUiLocales",void 0),Ke([r.property({type:Boolean})],Ze.prototype,"editorMode",void 0),Ke([r.property({type:Boolean})],Ze.prototype,"noCustom",void 0),Ke([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Ze.prototype,"noCustomComponent",void 0),Ke([r.property({type:Boolean})],Ze.prototype,"withManualResources",void 0),Ke([o.jsonProperty([])],Ze.prototype,"messageContexts",void 0),Ke([o.jsonProperty(void 0)],Ze.prototype,"session",void 0),Ke([r.property({type:Object})],Ze.prototype,"apiProvider",void 0);class Ae{async listMySearches(){var t;return(null===(t=Ie.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Ee.await()).listMySearches(Ie.getState().session.profile.userId):[]}}const ze=new o.CacheRegistry;class Be{async listMyBookmarks(){return ze.get("bookmarks",(async()=>(await Ee.await()).listMyBookmarks(Ie.getState().session.profile.userId)))}clearCache(){ze.clear("bookmarks")}}const Fe=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=Ie.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Be,Ie.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Ie.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(){Fe.actions.savedSearches(void 0)}clearMyBookmarks(){Fe.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Ae,o=await t.listMySearches();Fe.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;Fe.actions.bookmarks(o)}}},o.customElement("ft-app-context")(Ze);class De extends Event{constructor(){super(De.eventName)}}De.eventName="search-context-clear-all-filters";var Te=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class He extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Pe=Symbol("registerInterval");class Ge 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[Pe]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Pe]):this.dispatchEvent(new He)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Pe,Te([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}const Me=e.css`
806
+ `;var je=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};const _e=Symbol("i18nProperties"),Ye=Symbol("i18nUnsubs");function Ve(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?We:ke}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[_e])||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[_e])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[_e]&&new Set([...this[_e].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[Ye].has(t)||this[Ye].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[Ye].forEach((t=>t())),this[Ye].clear()}}return o=Ye,je([r.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class qe extends(Ve(o.FtLitElement)){}class Xe extends(Ve(o.FtLitElementRedux)){}var Je=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Qe extends Xe{constructor(){super(),this.editorMode=!1,this.addStore(Ie)}render(){return this.key&&this.context?e.html`
807
+ <span class="ft-i18n">
808
+ ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
809
+ </span>
810
+ `:this.editorMode?"Select a context and a label key.":e.nothing}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}Qe.elementDefinitions={},Qe.styles=Me,Je([o.redux()],Qe.prototype,"editorMode",void 0),Je([r.property()],Qe.prototype,"context",void 0),Je([r.property()],Qe.prototype,"key",void 0),Je([o.jsonProperty([])],Qe.prototype,"args",void 0),Je([r.property()],Qe.prototype,"defaultMessage",void 0);class tr{static build(t){return new tr(t)}static fromGwt(t){return new tr(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>ke.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(Qe);const or=tr.fromGwt("designedActionBlockAriaLabels");var er=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class rr extends(Ve(Ge)){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(or)}render(){return this.isLastPage?e.nothing:e.html`
811
+ <ft-button @click="${this.loadMore}">
812
+ ${or.messages.searchPageLoadMore()}
813
+ </ft-button>
814
+ `}loadMore(){var t;null===(t=this.stateManager)||void 0===t||t.setPageNumber(this.currentPage+1)}}rr.elementDefinitions={"ft-button":se},rr.styles=n,er([o.redux({store:"search",selector:t=>{var o,e;return null!==(e=null===(o=t.paging)||void 0===o?void 0:o.currentPage)&&void 0!==e?e:1}})],rr.prototype,"currentPage",void 0),er([o.redux({store:"search",selector:t=>{var o,e;return null===(e=null===(o=t.paging)||void 0===o?void 0:o.isLastPage)||void 0===e||e}})],rr.prototype,"isLastPage",void 0),o.customElement("ft-search-load-more-button")(rr),t.FtSearchLoadMoreButton=rr,t.FtSearchLoadMoreButtonCssVariables={},t.styles=n}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);