@fluid-topics/ft-confirm-button 1.1.121

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,1218 @@
1
+ "use strict";(()=>{var _c=Object.create;var yn=Object.defineProperty;var Wc=Object.getOwnPropertyDescriptor;var Dc=Object.getOwnPropertyNames;var Mc=Object.getPrototypeOf,zc=Object.prototype.hasOwnProperty;var Me=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var Uc=(e,o,r,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of Dc(o))!zc.call(e,a)&&a!==r&&yn(e,a,{get:()=>o[a],enumerable:!(n=Wc(o,a))||n.enumerable});return e};var S=(e,o,r)=>(r=e!=null?_c(Mc(e)):{},Uc(o||!e||!e.__esModule?yn(r,"default",{value:e,enumerable:!0}):r,e));var j=Me((is,hn)=>{hn.exports=ftGlobals.litDecorators});var I=Me((cs,mn)=>{mn.exports=ftGlobals.wcUtils});var B=Me((ls,gn)=>{gn.exports=ftGlobals.lit});var mo=Me((nu,ba)=>{ba.exports=ftGlobals.litClassMap});var mi=Me((iy,hi)=>{hi.exports=ftGlobals.litUnsafeHTML});var q=S(j()),Tc=S(I()),nr=S(B());var Ar=S(I());var Qe=S(j()),wi=S(I());var ma=S(B()),P=S(I());var Cn=S(B()),F=S(I()),bn=F.FtCssVariableFactory.extend("--ft-ripple-color","",F.designSystemVariables.colorContent),O={color:bn,backgroundColor:F.FtCssVariableFactory.extend("--ft-ripple-background-color","",bn),opacityContentOnSurfacePressed:F.FtCssVariableFactory.external(F.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:F.FtCssVariableFactory.external(F.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:F.FtCssVariableFactory.external(F.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:F.FtCssVariableFactory.external(F.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:F.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},xn=F.FtCssVariableFactory.extend("--ft-ripple-color","",F.designSystemVariables.colorPrimary),vn={color:xn,backgroundColor:F.FtCssVariableFactory.extend("--ft-ripple-background-color","",xn)},Sn=F.FtCssVariableFactory.extend("--ft-ripple-color","",F.designSystemVariables.colorSecondary),On={color:Sn,backgroundColor:F.FtCssVariableFactory.extend("--ft-ripple-background-color","",Sn)},wn=Cn.css`
2
+ :host {
3
+ display: contents;
4
+ }
5
+
6
+ .ft-ripple {
7
+ position: absolute;
8
+ inset: 0;
9
+ pointer-events: none;
10
+ }
11
+
12
+ .ft-ripple:not(.ft-ripple--unbounded) {
13
+ overflow: hidden;
14
+ border-radius: ${O.borderRadius};
15
+ }
16
+
17
+ .ft-ripple .ft-ripple--background,
18
+ .ft-ripple .ft-ripple--effect {
19
+ position: absolute;
20
+ opacity: 0;
21
+ }
22
+
23
+ .ft-ripple .ft-ripple--effect {
24
+ aspect-ratio: 1;
25
+ width: auto;
26
+ height: auto;
27
+ min-width: 170%;
28
+ min-height: 170%;
29
+ }
30
+
31
+ .ft-ripple .ft-ripple--background{
32
+ width: 100%;
33
+ height: 100%;
34
+ }
35
+
36
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
37
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
38
+ aspect-ratio: 1;
39
+ width: auto;
40
+ height: auto;
41
+ max-width: unset;
42
+ max-height: unset;
43
+ min-width: 100%;
44
+ min-height: 100%;
45
+ }
46
+
47
+ .ft-ripple .ft-ripple--background {
48
+ background-color: ${O.backgroundColor};
49
+ }
50
+
51
+ .ft-ripple .ft-ripple--effect {
52
+ background-color: ${O.color};
53
+ }
54
+
55
+ .ft-ripple.ft-ripple--secondary .ft-ripple--background {
56
+ background-color: ${On.backgroundColor};
57
+ }
58
+
59
+ .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
60
+ background-color: ${On.color};
61
+ }
62
+
63
+ .ft-ripple.ft-ripple--primary .ft-ripple--background {
64
+ background-color: ${vn.backgroundColor};
65
+ }
66
+
67
+ .ft-ripple.ft-ripple--primary .ft-ripple--effect {
68
+ background-color: ${vn.color};
69
+ }
70
+
71
+ .ft-ripple .ft-ripple--background {
72
+ top: 0;
73
+ left: 0;
74
+ transition: opacity 75ms linear;
75
+ }
76
+
77
+ .ft-ripple .ft-ripple--effect,
78
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
79
+ border-radius: 50%;
80
+ }
81
+
82
+ .ft-ripple .ft-ripple--effect {
83
+ transform: translate(-50%, -50%) scale(0.15);
84
+ transition: transform 300ms ease, opacity 75ms linear;
85
+ }
86
+
87
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
88
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
89
+ left: 50%;
90
+ top: 50%;
91
+ }
92
+
93
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
94
+ transform: translate(-50%, -50%);
95
+ }
96
+
97
+ .ft-ripple.ft-ripple--hovered .ft-ripple--background {
98
+ opacity: ${O.opacityContentOnSurfaceHover};
99
+ }
100
+
101
+ .ft-ripple.ft-ripple--selected .ft-ripple--background {
102
+ opacity: ${O.opacityContentOnSurfaceSelected};
103
+ }
104
+
105
+ .ft-ripple.ft-ripple--focused .ft-ripple--background {
106
+ opacity: ${O.opacityContentOnSurfaceFocused};
107
+ }
108
+
109
+ .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
110
+ opacity: ${O.opacityContentOnSurfacePressed};
111
+ transform: translate(-50%, -50%) scale(1);
112
+ }
113
+ `;var bt=S(B()),w=S(I());var kt=S(B(),1),Gt=e=>typeof e=="string"?(0,kt.unsafeCSS)(e):e,t=class{static create(o,r,n,a){let i=s=>Gt(s??a),l=kt.css`var(${Gt(o)}, ${i(a)})`;return l.name=o,l.description=r,l.category=n,l.defaultValue=a,l.defaultCssValue=i,l.get=s=>kt.css`var(${Gt(o)}, ${i(s)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>a,l}static extend(o,r,n,a){let i=s=>n.get(s??a),l=kt.css`var(${Gt(o)}, ${i(a)})`;return l.name=o,l.description=r,l.category=n.category,l.fallbackVariable=n,l.defaultValue=a,l.defaultCssValue=i,l.get=s=>kt.css`var(${Gt(o)}, ${i(s)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),l}static external(o,r){let n=i=>o.fallbackVariable?o.fallbackVariable.get(i??o.defaultValue):Gt(i??o.lastResortDefaultValue()),a=kt.css`var(${Gt(o.name)}, ${n(o.defaultValue)})`;return a.name=o.name,a.category=o.category,a.fallbackVariable=o.fallbackVariable,a.defaultValue=o.defaultValue,a.context=r,a.defaultCssValue=n,a.get=i=>kt.css`var(${Gt(o.name)}, ${n(i)})`,a.breadcrumb=()=>o.fallbackVariable?[o.fallbackVariable.name,...o.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>o.lastResortDefaultValue(),a}};var c={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:t.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:t.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:t.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:t.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:t.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:t.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:t.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:t.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:t.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:t.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:t.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:t.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:t.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:t.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},En={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},Nn={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},An={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Rn={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ln={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Pn={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},In={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},kn={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},$n={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Hc={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Tn={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Bn={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},_n={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Wn={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Dn={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Mn={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},zn={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Un={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Hn={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Fn={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Gn={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},jn={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Kn={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Zn={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Vn={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Yn={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},uo={display:En,"title-1":Nn,"title-2":An,"title-3":Rn,"body-1-regular":Ln,"body-1-medium":Pn,"body-1-semibold":In,"body-2-regular":kn,"body-2-medium":$n,"body-2-medium-underline":Hc,"body-2-semibold":Tn,"label-1-medium":Bn,"label-1-semibold":_n,"label-1-bold":Wn,"label-2-medium":Dn,"label-2-semibold":Mn,"label-2-bold":zn,"caption-1-medium":Un,"caption-1-semibold":Hn,"caption-1-bold":Fn,"caption-2-medium":Gn,"caption-2-semibold":jn,"caption-2-bold":Kn,"caption-3-medium":Zn,"caption-3-semibold":Vn,"caption-3-bold":Yn};var d={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
114
+ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:t.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var u={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:t.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:t.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:t.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:t.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:t.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:t.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:t.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:t.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:t.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:t.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:t.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:t.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:t.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:t.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:t.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:t.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:t.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:t.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:t.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:t.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:t.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:t.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:t.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:t.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:t.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:t.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:t.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:t.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:t.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:t.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:t.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:t.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:t.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:t.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:t.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:t.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:t.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:t.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:t.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:t.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:t.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:t.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:t.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:t.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:t.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:t.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:t.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:t.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:t.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:t.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:t.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:t.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:t.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:t.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:t.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:t.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:t.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:t.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:t.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:t.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:t.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:t.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:t.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:t.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:t.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:t.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:t.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:t.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:t.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:t.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:t.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:t.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:t.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:t.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:t.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:t.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:t.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:t.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:t.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:t.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:t.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:t.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:t.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:t.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:t.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:t.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:t.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:t.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:t.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:t.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:t.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:t.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:t.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:t.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:t.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:t.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:t.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:t.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:t.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:t.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:t.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:t.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:t.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:t.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:t.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:t.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:t.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:t.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:t.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:t.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:t.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:t.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:t.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:t.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:t.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:t.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:t.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:t.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var Cs={neutralOffHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:t.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:t.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:t.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:t.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:t.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:t.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:t.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:t.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:t.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:t.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:t.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:t.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:t.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:t.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:t.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var Rs={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:t.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:t.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)};var $s={brandHoverOpacity:t.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:t.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:t.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:t.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:t.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:t.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:t.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:t.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:t.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:t.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:t.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:t.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:t.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:t.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:t.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:t.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:t.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:t.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var Ds={iconSize:t.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)};var Fs={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:t.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",d.contentActionPrimary)};var Vs={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",c.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",c.spacing2),currentColor:t.extend("--ft-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:t.extend("--ft-breadcrumb-icon-color","",d.contentGlobalSubtle)};var Qs={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",c.spacing6),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",c.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",c.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",c.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",c.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",c.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),titleColor:t.extend("--ft-page-header-title-color","",d.contentGlobalPrimary),subtitleColor:t.extend("--ft-page-header-subtitle-color","",d.contentGlobalSecondary)};var D={smallContainerTargetWidth:t.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:t.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:t.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:t.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:t.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:t.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:t.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:t.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:t.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:t.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",c.borderRadiusM)};var ld={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:t.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var ud={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:t.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:t.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var bd={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var Cd={backgroundColor:t.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var Rd={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var $d={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Dd={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var Fd={backgroundColor:t.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:t.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:t.extend("--ft-popover-gap","",c.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:t.create("--ft-popover-max-width","","SIZE","440px")};var Vd={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:t.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",c.iconSize3)};var Qd={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:t.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:t.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:t.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var rf={color1Light:t.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",c.colorRed40),color5Base:t.extend("--ft-chart-5-base","",c.colorRed60),color6Light:t.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",c.colorGray50),color10Base:t.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",c.colorBrand200)};var lf={color1IconColor:t.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:t.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:t.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:t.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:t.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:t.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:t.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:t.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:t.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:t.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:t.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:t.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:t.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:t.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:t.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:t.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var uf={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:t.extend("--ft-notice-gap","",c.spacing2),iconSize:t.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly)};var bf={color:t.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-checkbox-gap","",c.spacing3)};var Cf={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:t.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",c.spacing3)};var Rf={color:t.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",c.spacing3)};var $f={iconSize:t.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",c.spacing8)};var Df={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:t.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:t.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",c.spacing05)};var yo;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(yo||(yo={}));var pt;(function(e){e.large="large",e.medium="medium",e.small="small"})(pt||(pt={}));var ho=S(B());function qn(e){let o=uo[e];return ho.css`
115
+ .ft-typography--${(0,ho.unsafeCSS)(e)} {
116
+ font-family: ${o.fontFamily};
117
+ font-size: ${o.fontSize};
118
+ font-weight: ${o.fontWeight};
119
+ letter-spacing: ${o.letterSpacing};
120
+ line-height: ${o.lineHeight};
121
+ text-transform: ${o.textCase};
122
+ }
123
+ `}var Xn=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.titleFont),$t=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.contentFont),A={fontFamily:$t,fontSize:w.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:w.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:w.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:w.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:w.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ge={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Xn),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-font-size","",A.fontSize,"20px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",A.letterSpacing,"0.15px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-line-height","",A.lineHeight,"1.2"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",A.textTransform,"inherit")},be={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Xn),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",A.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",A.letterSpacing,"0.105px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",A.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",A.textTransform,"inherit")},xe={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",$t),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",A.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",A.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",A.letterSpacing,"0.144px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",A.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",A.textTransform,"inherit")},ve={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",$t),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",A.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",A.letterSpacing,"0.098px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",A.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",A.textTransform,"inherit")},Se={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",$t),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",A.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",A.letterSpacing,"0.496px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",A.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",A.textTransform,"inherit")},Oe={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",$t),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",A.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",A.letterSpacing,"0.252px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",A.lineHeight,"1.4"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",A.textTransform,"inherit")},Ce={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",$t),fontSize:w.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",A.fontSize,"12px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",A.letterSpacing,"0.396px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",A.lineHeight,"1.33"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",A.textTransform,"inherit")},we={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",$t),fontSize:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",A.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",A.letterSpacing,"0.33px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",A.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",A.textTransform,"inherit")},Ee={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",$t),fontSize:w.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",A.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",A.letterSpacing,"1.5px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",A.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",A.textTransform,"uppercase")},At={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-button-font-family","",$t),fontSize:w.FtCssVariableFactory.extend("--ft-typography-button-font-size","",A.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",A.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",A.letterSpacing,"1.246px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-button-line-height","",A.lineHeight,"1.15"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",A.textTransform,"uppercase")},Jn=bt.css`
124
+ .ft-typography--title {
125
+ font-family: ${ge.fontFamily};
126
+ font-size: ${ge.fontSize};
127
+ font-weight: ${ge.fontWeight};
128
+ letter-spacing: ${ge.letterSpacing};
129
+ line-height: ${ge.lineHeight};
130
+ text-transform: ${ge.textTransform};
131
+ }
132
+ `,Qn=bt.css`
133
+ .ft-typography--title-dense {
134
+ font-family: ${be.fontFamily};
135
+ font-size: ${be.fontSize};
136
+ font-weight: ${be.fontWeight};
137
+ letter-spacing: ${be.letterSpacing};
138
+ line-height: ${be.lineHeight};
139
+ text-transform: ${be.textTransform};
140
+ }
141
+ `,ta=bt.css`
142
+ .ft-typography--subtitle1 {
143
+ font-family: ${xe.fontFamily};
144
+ font-size: ${xe.fontSize};
145
+ font-weight: ${xe.fontWeight};
146
+ letter-spacing: ${xe.letterSpacing};
147
+ line-height: ${xe.lineHeight};
148
+ text-transform: ${xe.textTransform};
149
+ }
150
+ `,ea=bt.css`
151
+ .ft-typography--subtitle2 {
152
+ font-family: ${ve.fontFamily};
153
+ font-size: ${ve.fontSize};
154
+ font-weight: ${ve.fontWeight};
155
+ letter-spacing: ${ve.letterSpacing};
156
+ line-height: ${ve.lineHeight};
157
+ text-transform: ${ve.textTransform};
158
+ }
159
+
160
+ `,oa=bt.css`
161
+ .ft-typography--body1 {
162
+ font-family: ${Se.fontFamily};
163
+ font-size: ${Se.fontSize};
164
+ font-weight: ${Se.fontWeight};
165
+ letter-spacing: ${Se.letterSpacing};
166
+ line-height: ${Se.lineHeight};
167
+ text-transform: ${Se.textTransform};
168
+ }
169
+ `,ra=bt.css`
170
+ .ft-typography--body2 {
171
+ font-family: ${Oe.fontFamily};
172
+ font-size: ${Oe.fontSize};
173
+ font-weight: ${Oe.fontWeight};
174
+ letter-spacing: ${Oe.letterSpacing};
175
+ line-height: ${Oe.lineHeight};
176
+ text-transform: ${Oe.textTransform};
177
+ }
178
+ `,na=bt.css`
179
+ .ft-typography--caption {
180
+ font-family: ${Ce.fontFamily};
181
+ font-size: ${Ce.fontSize};
182
+ font-weight: ${Ce.fontWeight};
183
+ letter-spacing: ${Ce.letterSpacing};
184
+ line-height: ${Ce.lineHeight};
185
+ text-transform: ${Ce.textTransform};
186
+ }
187
+ `,aa=bt.css`
188
+ .ft-typography--breadcrumb {
189
+ font-family: ${we.fontFamily};
190
+ font-size: ${we.fontSize};
191
+ font-weight: ${we.fontWeight};
192
+ letter-spacing: ${we.letterSpacing};
193
+ line-height: ${we.lineHeight};
194
+ text-transform: ${we.textTransform};
195
+ }
196
+ `,ia=bt.css`
197
+ .ft-typography--overline {
198
+ font-family: ${Ee.fontFamily};
199
+ font-size: ${Ee.fontSize};
200
+ font-weight: ${Ee.fontWeight};
201
+ letter-spacing: ${Ee.letterSpacing};
202
+ line-height: ${Ee.lineHeight};
203
+ text-transform: ${Ee.textTransform};
204
+ }
205
+ `,ca=bt.css`
206
+ .ft-typography--button {
207
+ font-family: ${At.fontFamily};
208
+ font-size: ${At.fontSize};
209
+ font-weight: ${At.fontWeight};
210
+ letter-spacing: ${At.letterSpacing};
211
+ line-height: ${At.lineHeight};
212
+ text-transform: ${At.textTransform};
213
+ }
214
+ `,la=bt.css`
215
+ .ft-typography {
216
+ vertical-align: inherit;
217
+ }
218
+ `,sa=[Object.keys(uo).map(e=>qn(e))];var da=S(B()),ze=S(I()),_={color:ze.FtCssVariableFactory.extend("--ft-loader-color","",ze.designSystemVariables.colorPrimary),size:ze.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},fa=da.css`
219
+ :host {
220
+ line-height: 0;
221
+ }
222
+
223
+ .ft-loader {
224
+ display: inline-block;
225
+ position: relative;
226
+
227
+ width: ${_.size};
228
+ height: ${_.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: ${_.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 * ${_.size}), 0);
285
+ }
286
+ }
287
+ `;var pa=S(B()),Tt=S(I()),Q={size:Tt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Tt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Tt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Tt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Tt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Tt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Tt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Tt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ua=pa.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: ${Q.size};
297
+ height: ${Q.size};
298
+ }
299
+
300
+ i.ft-icon {
301
+ width: 100%;
302
+ height: 100%;
303
+ font-size: ${Q.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: ${Q.verticalAlign};
315
+ }
316
+
317
+ i.ft-icon.ft-icon--fluid-topics {
318
+ font-family: ${Q.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
319
+
320
+ /* Ugly fix because font is broken */
321
+ font-size: calc(0.75 * ${Q.size});
322
+ line-height: ${Q.size};
323
+ position: relative;
324
+ top: -4%;
325
+ justify-content: center;
326
+ }
327
+
328
+ .ft-icon--file-format {
329
+ font-family: ${Q.fileFormatFontFamily}, ft-mime, sans-serif;
330
+ }
331
+
332
+ .ft-icon--material {
333
+ font-family: ${Q.materialFontFamily}, "Material Icons", sans-serif;
334
+ }
335
+ `;var ya=P.FtCssVariableFactory.extend("--ft-button-color","",P.designSystemVariables.colorPrimary),K={backgroundColor:P.FtCssVariableFactory.extend("--ft-button-background-color","",P.designSystemVariables.colorSurface),borderRadius:P.FtCssVariableFactory.extend("--ft-button-border-radius","",P.designSystemVariables.borderRadiusL),color:ya,fontSize:P.FtCssVariableFactory.extend("--ft-button-font-size","",At.fontSize),iconSize:P.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:P.FtCssVariableFactory.extend("--ft-button-ripple-color","",ya),verticalPadding:P.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:P.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:P.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:P.FtCssVariableFactory.external(P.designSystemVariables.colorOpacityDisabled,"Design system")},ha=P.FtCssVariableFactory.extend("--ft-button-primary-color","",P.FtCssVariableFactory.extend("--ft-button-color","",P.designSystemVariables.colorOnPrimary)),ir={backgroundColor:P.FtCssVariableFactory.extend("--ft-button-primary-background-color","",P.FtCssVariableFactory.extend("--ft-button-background-color","",P.designSystemVariables.colorPrimary)),color:ha,rippleColor:P.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",ha)},Rt={borderRadius:P.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",P.FtCssVariableFactory.extend("--ft-button-border-radius","",P.designSystemVariables.borderRadiusM)),verticalPadding:P.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:P.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:P.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},ga=[ma.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: ${K.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(${K.fontSize} + 2px), ${K.iconSize});
376
+ --ft-button-internal-color: ${K.color};
377
+ ${(0,P.setVariable)(Q.size,K.iconSize)};
378
+ ${(0,P.setVariable)(O.color,K.rippleColor)};
379
+
380
+ border-radius: ${K.borderRadius};
381
+ padding: ${K.verticalPadding} ${K.horizontalPadding};
382
+ background-color: ${K.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(${K.verticalPadding} - 1px) calc(${K.horizontalPadding} - 1px);
390
+ }
391
+
392
+ .ft-button.ft-button--dense {
393
+ padding: ${Rt.verticalPadding} ${Rt.horizontalPadding};
394
+ border-radius: ${Rt.borderRadius};
395
+ gap: ${Rt.iconPadding};
396
+ }
397
+
398
+ .ft-button.ft-button--dense.ft-button--outlined {
399
+ padding: calc(${Rt.verticalPadding} - 1px) calc(${Rt.horizontalPadding} - 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 + ${K.verticalPadding});
408
+ }
409
+
410
+ .ft-button--round.ft-button--dense {
411
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Rt.verticalPadding});
412
+ }
413
+
414
+ .ft-button[disabled] {
415
+ filter: grayscale(1);
416
+ opacity: ${K.opacityDisabled};
417
+ }
418
+
419
+ .ft-button.ft-button--primary {
420
+ background-color: ${ir.backgroundColor};
421
+ --ft-button-internal-color: ${ir.color};
422
+ ${(0,P.setVariable)(O.color,ir.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 ${K.iconPadding};
436
+ ${(0,P.setVariable)(At.fontSize,"1em")};
437
+ ${(0,P.setVariable)(At.lineHeight,"var(--ft-button-internal-line-height)")};
438
+ }
439
+
440
+ .ft-button--dense .ft-button--label {
441
+ margin: 0 ${Rt.iconPadding};
442
+ }
443
+
444
+ .ft-button--label[hidden] {
445
+ display: none;
446
+ }
447
+
448
+ [part="icon"] {
449
+ flex-shrink: 0;
450
+ position: relative;
451
+ }
452
+
453
+ .ft-button--label[hidden] + [part="icon"] {
454
+ margin: 0 calc(${K.horizontalPadding} * -1);
455
+ padding: 0 ${K.verticalPadding};
456
+ }
457
+
458
+ .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
459
+ margin: 0 calc(${Rt.horizontalPadding} * -1);
460
+ padding: 0 ${Rt.verticalPadding};
461
+ }
462
+
463
+ .ft-button:not(.ft-button--trailing-icon) [part="label"]{
464
+ order: 2;
465
+ }
466
+
467
+ ft-loader {
468
+ ${(0,P.setVariable)(_.size,K.iconSize)};
469
+ ${(0,P.setVariable)(_.color,"var(--ft-button-internal-color)")};
470
+ }
471
+ `,P.noTextSelect];var Vt=S(I());var Sa=S(I());var xa=S(B()),V=S(j()),va=S(mo()),Ue=S(I());var rt=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},M=class extends Ue.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 Ue.Debouncer(1e3),this.onTransitionStart=o=>{o.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=o=>{o.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Ue.Debouncer(10),this.moveRipple=o=>{var r,n;let{x:a,y:i}=this.getCoordinates(o),l=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-l.x:l.width/2),this.originY=Math.round(i!=null?i-l.y:l.height/2)},this.startPress=o=>{this.moveRipple(o),this.pressed=!this.isIgnored(o)},this.endPress=()=>{this.pressed=!1},this.startHover=o=>{this.hovered=!this.isIgnored(o)},this.endHover=()=>{this.hovered=!1},this.startFocus=o=>{this.focused=this.isFocusVisible(o?.target)&&!this.isIgnored(o)},this.endFocus=()=>{this.focused=!1}}render(){let o={"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 xa.html`
472
+ <style>
473
+ .ft-ripple .ft-ripple--effect {
474
+ left: ${this.originX}px;
475
+ top: ${this.originY}px;
476
+ }
477
+ </style>
478
+ <div class="${(0,va.classMap)(o)}">
479
+ <div class="ft-ripple--background"></div>
480
+ <div class="ft-ripple--effect"></div>
481
+ </div>
482
+ `}contentAvailableCallback(o){super.contentAvailableCallback(o),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(o){var r,n;super.update(o),o.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.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 o,r;let n=(o=this.shadowRoot)===null||o===void 0?void 0:o.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(o){if(this.setupDebouncer.cancel(),this.target===o)return;this.onDisconnect&&this.onDisconnect(),this.target=o,o.setAttribute("data-is-ft-ripple-target","true");let r=(...s)=>p=>{s.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(p)},n=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),i=s=>{["Enter"," "].includes(s.key)&&r("keyup")(s)},l={passive:!0};o.addEventListener("mouseover",this.startHover,l),o.addEventListener("mousemove",this.moveRipple,l),o.addEventListener("mouseleave",this.endHover,l),o.addEventListener("mousedown",n,l),o.addEventListener("touchstart",a,l),o.addEventListener("touchmove",this.moveRipple,l),o.addEventListener("keydown",i,l),o.addEventListener("focus",this.startFocus,l),o.addEventListener("blur",this.endFocus,l),o.addEventListener("focusin",this.startFocus,l),o.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{o.removeAttribute("data-is-ft-ripple-target"),o.removeEventListener("mouseover",this.startHover,l),o.removeEventListener("mousemove",this.moveRipple,l),o.removeEventListener("mouseleave",this.endHover,l),o.removeEventListener("mousedown",n,l),o.removeEventListener("touchstart",a,l),o.removeEventListener("touchmove",this.moveRipple,l),o.removeEventListener("keydown",i,l),o.removeEventListener("focus",this.startFocus,l),o.removeEventListener("blur",this.endFocus,l),o.removeEventListener("focusin",this.startFocus,l),o.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(o){let r=o,n=o,a,i;return r.x!=null?{x:a,y:i}=r:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(o){return o instanceof HTMLElement?o.matches(":focus-visible"):!0}isIgnored(o){if(this.disabled)return!0;if(o!=null)for(let r of o.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};M.elementDefinitions={};M.styles=wn;rt([(0,V.property)({type:Boolean})],M.prototype,"primary",void 0);rt([(0,V.property)({type:Boolean})],M.prototype,"secondary",void 0);rt([(0,V.property)({type:Boolean})],M.prototype,"unbounded",void 0);rt([(0,V.property)({type:Boolean})],M.prototype,"activated",void 0);rt([(0,V.property)({type:Boolean})],M.prototype,"selected",void 0);rt([(0,V.property)({type:Boolean})],M.prototype,"disabled",void 0);rt([(0,V.state)()],M.prototype,"hovered",void 0);rt([(0,V.state)()],M.prototype,"focused",void 0);rt([(0,V.state)()],M.prototype,"pressed",void 0);rt([(0,V.state)()],M.prototype,"rippling",void 0);rt([(0,V.state)()],M.prototype,"originX",void 0);rt([(0,V.state)()],M.prototype,"originY",void 0);rt([(0,V.query)(".ft-ripple")],M.prototype,"ripple",void 0);rt([(0,V.query)(".ft-ripple--effect")],M.prototype,"rippleEffect",void 0);(0,Sa.customElement)("ft-ripple")(M);var yi=S(I());var ui=S(B()),G=S(j()),Xe=S(I());var Ua=S(I());var ur=globalThis,go=ur.trustedTypes,Oa=go?go.createPolicy("lit-html",{createHTML:e=>e}):void 0,Ra="$lit$",jt=`lit$${(Math.random()+"").slice(9)}$`,La="?"+jt,Fc=`<${La}>`,ce=document,bo=()=>ce.createComment(""),Fe=e=>e===null||typeof e!="object"&&typeof e!="function",Pa=Array.isArray,Gc=e=>Pa(e)||typeof e?.[Symbol.iterator]=="function",cr=`[
483
+ \f\r]`,He=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ca=/-->/g,wa=/>/g,ae=RegExp(`>|${cr}(?:([^\\s"'>=/]+)(${cr}*=${cr}*(?:[^
484
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Ea=/'/g,Na=/"/g,Ia=/^(?:script|style|textarea|title)$/i,ka=e=>(o,...r)=>({_$litType$:e,strings:o,values:r}),$a=ka(1),Ta=ka(2),Ge=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),Aa=new WeakMap,ie=ce.createTreeWalker(ce,129);function Ba(e,o){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Oa!==void 0?Oa.createHTML(o):o}var jc=(e,o)=>{let r=e.length-1,n=[],a,i=o===2?"<svg>":"",l=He;for(let s=0;s<r;s++){let p=e[s],f,y,h=-1,m=0;for(;m<p.length&&(l.lastIndex=m,y=l.exec(p),y!==null);)m=l.lastIndex,l===He?y[1]==="!--"?l=Ca:y[1]!==void 0?l=wa:y[2]!==void 0?(Ia.test(y[2])&&(a=RegExp("</"+y[2],"g")),l=ae):y[3]!==void 0&&(l=ae):l===ae?y[0]===">"?(l=a??He,h=-1):y[1]===void 0?h=-2:(h=l.lastIndex-y[2].length,f=y[1],l=y[3]===void 0?ae:y[3]==='"'?Na:Ea):l===Na||l===Ea?l=ae:l===Ca||l===wa?l=He:(l=ae,a=void 0);let b=l===ae&&e[s+1].startsWith("/>")?" ":"";i+=l===He?p+Fc:h>=0?(n.push(f),p.slice(0,h)+Ra+p.slice(h)+jt+b):p+jt+(h===-2?s:b)}return[Ba(e,i+(e[r]||"<?>")+(o===2?"</svg>":"")),n]},je=class e{constructor({strings:o,_$litType$:r},n){let a;this.parts=[];let i=0,l=0,s=o.length-1,p=this.parts,[f,y]=jc(o,r);if(this.el=e.createElement(f,n),ie.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=ie.nextNode())!==null&&p.length<s;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(Ra)){let m=y[l++],b=a.getAttribute(h).split(jt),g=/([.?@])?(.*)/.exec(m);p.push({type:1,index:i,name:g[2],strings:b,ctor:g[1]==="."?sr:g[1]==="?"?dr:g[1]==="@"?fr:Ae}),a.removeAttribute(h)}else h.startsWith(jt)&&(p.push({type:6,index:i}),a.removeAttribute(h));if(Ia.test(a.tagName)){let h=a.textContent.split(jt),m=h.length-1;if(m>0){a.textContent=go?go.emptyScript:"";for(let b=0;b<m;b++)a.append(h[b],bo()),ie.nextNode(),p.push({type:2,index:++i});a.append(h[m],bo())}}}else if(a.nodeType===8)if(a.data===La)p.push({type:2,index:i});else{let h=-1;for(;(h=a.data.indexOf(jt,h+1))!==-1;)p.push({type:7,index:i}),h+=jt.length-1}i++}}static createElement(o,r){let n=ce.createElement("template");return n.innerHTML=o,n}};function Ne(e,o,r=e,n){if(o===Ge)return o;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=Fe(o)?void 0:o._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(o=Ne(e,a._$AS(e,o.values),a,n)),o}var lr=class{constructor(o,r){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){let{el:{content:r},parts:n}=this._$AD,a=(o?.creationScope??ce).importNode(r,!0);ie.currentNode=a;let i=ie.nextNode(),l=0,s=0,p=n[0];for(;p!==void 0;){if(l===p.index){let f;p.type===2?f=new xo(i,i.nextSibling,this,o):p.type===1?f=new p.ctor(i,p.name,p.strings,this,o):p.type===6&&(f=new pr(i,this,o)),this._$AV.push(f),p=n[++s]}l!==p?.index&&(i=ie.nextNode(),l++)}return ie.currentNode=ce,a}p(o){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(o,n,r),r+=n.strings.length-2):n._$AI(o[r])),r++}},xo=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,r,n,a){this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=o,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let o=this._$AA.parentNode,r=this._$AM;return r!==void 0&&o?.nodeType===11&&(o=r.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,r=this){o=Ne(this,o,r),Fe(o)?o===Z||o==null||o===""?(this._$AH!==Z&&this._$AR(),this._$AH=Z):o!==this._$AH&&o!==Ge&&this._(o):o._$litType$!==void 0?this.g(o):o.nodeType!==void 0?this.$(o):Gc(o)?this.T(o):this._(o)}k(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}$(o){this._$AH!==o&&(this._$AR(),this._$AH=this.k(o))}_(o){this._$AH!==Z&&Fe(this._$AH)?this._$AA.nextSibling.data=o:this.$(ce.createTextNode(o)),this._$AH=o}g(o){let{values:r,_$litType$:n}=o,a=typeof n=="number"?this._$AC(o):(n.el===void 0&&(n.el=je.createElement(Ba(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new lr(a,this),l=i.u(this.options);i.p(r),this.$(l),this._$AH=i}}_$AC(o){let r=Aa.get(o.strings);return r===void 0&&Aa.set(o.strings,r=new je(o)),r}T(o){Pa(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of o)a===r.length?r.push(n=new e(this.k(bo()),this.k(bo()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(o=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);o&&o!==this._$AB;){let n=o.nextSibling;o.remove(),o=n}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},Ae=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,r,n,a,i){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=o,this.name=r,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=Z}_$AI(o,r=this,n,a){let i=this.strings,l=!1;if(i===void 0)o=Ne(this,o,r,0),l=!Fe(o)||o!==this._$AH&&o!==Ge,l&&(this._$AH=o);else{let s=o,p,f;for(o=i[0],p=0;p<i.length-1;p++)f=Ne(this,s[n+p],r,p),f===Ge&&(f=this._$AH[p]),l||=!Fe(f)||f!==this._$AH[p],f===Z?o=Z:o!==Z&&(o+=(f??"")+i[p+1]),this._$AH[p]=f}l&&!a&&this.O(o)}O(o){o===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},sr=class extends Ae{constructor(){super(...arguments),this.type=3}O(o){this.element[this.name]=o===Z?void 0:o}},dr=class extends Ae{constructor(){super(...arguments),this.type=4}O(o){this.element.toggleAttribute(this.name,!!o&&o!==Z)}},fr=class extends Ae{constructor(o,r,n,a,i){super(o,r,n,a,i),this.type=5}_$AI(o,r=this){if((o=Ne(this,o,r,0)??Z)===Ge)return;let n=this._$AH,a=o===Z&&n!==Z||o.capture!==n.capture||o.once!==n.once||o.passive!==n.passive,i=o!==Z&&(n===Z||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,o):this._$AH.handleEvent(o)}},pr=class{constructor(o,r,n){this.element=o,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(o){Ne(this,o)}};var Kc=ur.litHtmlPolyfillSupport;Kc?.(je,xo),(ur.litHtmlVersions??=[]).push("3.1.0");var Wa=Symbol.for(""),Zc=e=>{if(e?.r===Wa)return e?._$litStatic$},yr=e=>({_$litStatic$:e,r:Wa});var _a=new Map,Da=e=>(o,...r)=>{let n=r.length,a,i,l=[],s=[],p,f=0,y=!1;for(;f<n;){for(p=o[f];f<n&&(i=r[f],(a=Zc(i))!==void 0);)p+=a+o[++f],y=!0;f!==n&&s.push(i),l.push(p),f++}if(f===n&&l.push(o[n]),y){let h=l.join("$$lit$$");(o=_a.get(h))===void 0&&(l.raw=l,_a.set(h,o=l)),r=s}return e(o,...r)},hr=Da($a),yu=Da(Ta);var mr=S(j()),za=S(I());var xt;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(xt||(xt={}));var Ma=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},tt=class extends za.FtLitElement{constructor(){super(...arguments),this.variant=xt.body1}render(){return this.element?hr`
485
+ <${yr(this.element)}
486
+ part="text"
487
+ class="ft-typography ft-typography--${this.variant}">
488
+ <slot></slot>
489
+ </${yr(this.element)}>
490
+ `:hr`
491
+ <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
492
+ `}};tt.styles=[Jn,Qn,ta,ea,oa,ra,na,aa,ia,ca,la,...sa];Ma([(0,mr.property)()],tt.prototype,"element",void 0);Ma([(0,mr.property)()],tt.prototype,"variant",void 0);(0,Ua.customElement)("ft-typography")(tt);var Ha=S(B()),Bt=S(I()),Re={distance:Bt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Bt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Bt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Bt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Bt.FtCssVariableFactory.external(Bt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Bt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Fa=Ha.css`
493
+ .ft-tooltip--container {
494
+ display: block;
495
+ }
496
+
497
+ .ft-tooltip--inline {
498
+ display: inline-block;
499
+ max-width: 100%;
500
+ }
501
+
502
+ .ft-tooltip {
503
+ position: fixed;
504
+ box-sizing: border-box;
505
+ overflow: hidden;
506
+ width: max-content;
507
+ max-width: ${Re.maxWidth};
508
+ text-align: center;
509
+ padding: ${Re.distance};
510
+ z-index: ${Re.zIndex};
511
+ }
512
+
513
+ .ft-tooltip--content {
514
+ padding: 4px 8px;
515
+ border-radius: ${Re.borderRadiusS};
516
+ background-color: ${Re.backgroundColor};
517
+ color: ${Re.color};
518
+ position: relative;
519
+ word-break: break-word;
520
+ }
521
+ `;var ja=["top","right","bottom","left"],Ga=["start","end"],br=ja.reduce((e,o)=>e.concat(o,o+"-"+Ga[0],o+"-"+Ga[1]),[]),Ke=Math.min,Kt=Math.max,Ze=Math.round;var _t=e=>({x:e,y:e}),Vc={left:"right",right:"left",bottom:"top",top:"bottom"},Yc={start:"end",end:"start"};function xr(e,o,r){return Kt(e,Ke(o,r))}function vo(e,o){return typeof e=="function"?e(o):e}function Le(e){return e.split("-")[0]}function Zt(e){return e.split("-")[1]}function vr(e){return e==="x"?"y":"x"}function Sr(e){return e==="y"?"height":"width"}function So(e){return["top","bottom"].includes(Le(e))?"y":"x"}function Or(e){return vr(So(e))}function Ka(e,o,r){r===void 0&&(r=!1);let n=Zt(e),a=Or(e),i=Sr(a),l=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return o.reference[i]>o.floating[i]&&(l=gr(l)),[l,gr(l)]}function Za(e){return e.replace(/start|end/g,o=>Yc[o])}function gr(e){return e.replace(/left|right|bottom|top/g,o=>Vc[o])}function qc(e){return{top:0,right:0,bottom:0,left:0,...e}}function Va(e){return typeof e!="number"?qc(e):{top:e,right:e,bottom:e,left:e}}function le(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Ya(e,o,r){let{reference:n,floating:a}=e,i=So(o),l=Or(o),s=Sr(l),p=Le(o),f=i==="y",y=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2,m=n[s]/2-a[s]/2,b;switch(p){case"top":b={x:y,y:n.y-a.height};break;case"bottom":b={x:y,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:h};break;case"left":b={x:n.x-a.width,y:h};break;default:b={x:n.x,y:n.y}}switch(Zt(o)){case"start":b[l]-=m*(r&&f?-1:1);break;case"end":b[l]+=m*(r&&f?-1:1);break}return b}var qa=async(e,o,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:l}=r,s=i.filter(Boolean),p=await(l.isRTL==null?void 0:l.isRTL(o)),f=await l.getElementRects({reference:e,floating:o,strategy:a}),{x:y,y:h}=Ya(f,n,p),m=n,b={},g=0;for(let v=0;v<s.length;v++){let{name:R,fn:E}=s[v],{x:N,y:L,data:$,reset:T}=await E({x:y,y:h,initialPlacement:n,placement:m,strategy:a,middlewareData:b,rects:f,platform:l,elements:{reference:e,floating:o}});if(y=N??y,h=L??h,b={...b,[R]:{...b[R],...$}},T&&g<=50){g++,typeof T=="object"&&(T.placement&&(m=T.placement),T.rects&&(f=T.rects===!0?await l.getElementRects({reference:e,floating:o,strategy:a}):T.rects),{x:y,y:h}=Ya(f,m,p)),v=-1;continue}}return{x:y,y:h,placement:m,strategy:a,middlewareData:b}};async function Cr(e,o){var r;o===void 0&&(o={});let{x:n,y:a,platform:i,rects:l,elements:s,strategy:p}=e,{boundary:f="clippingAncestors",rootBoundary:y="viewport",elementContext:h="floating",altBoundary:m=!1,padding:b=0}=vo(o,e),g=Va(b),R=s[m?h==="floating"?"reference":"floating":h],E=le(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(R)))==null||r?R:R.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:f,rootBoundary:y,strategy:p})),N=h==="floating"?{...l.floating,x:n,y:a}:l.reference,L=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),$=await(i.isElement==null?void 0:i.isElement(L))?await(i.getScale==null?void 0:i.getScale(L))||{x:1,y:1}:{x:1,y:1},T=le(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:N,offsetParent:L,strategy:p}):N);return{top:(E.top-T.top+g.top)/$.y,bottom:(T.bottom-E.bottom+g.bottom)/$.y,left:(E.left-T.left+g.left)/$.x,right:(T.right-E.right+g.right)/$.x}}function Xc(e,o,r){return(e?[...r.filter(a=>Zt(a)===e),...r.filter(a=>Zt(a)!==e)]:r.filter(a=>Le(a)===a)).filter(a=>e?Zt(a)===e||(o?Za(a)!==a:!1):!0)}var wr=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var r,n,a;let{rects:i,middlewareData:l,placement:s,platform:p,elements:f}=o,{crossAxis:y=!1,alignment:h,allowedPlacements:m=br,autoAlignment:b=!0,...g}=vo(e,o),v=h!==void 0||m===br?Xc(h||null,b,m):m,R=await Cr(o,g),E=((r=l.autoPlacement)==null?void 0:r.index)||0,N=v[E];if(N==null)return{};let L=Ka(N,i,await(p.isRTL==null?void 0:p.isRTL(f.floating)));if(s!==N)return{reset:{placement:v[0]}};let $=[R[Le(N)],R[L[0]],R[L[1]]],T=[...((n=l.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:$}],mt=v[E+1];if(mt)return{data:{index:E+1,overflows:T},reset:{placement:mt}};let Ht=T.map(dt=>{let gt=Zt(dt.placement);return[dt.placement,gt&&y?dt.overflows.slice(0,2).reduce((ft,ne)=>ft+ne,0):dt.overflows[0],dt.overflows]}).sort((dt,gt)=>dt[1]-gt[1]),Ft=((a=Ht.filter(dt=>dt[2].slice(0,Zt(dt[0])?2:3).every(gt=>gt<=0))[0])==null?void 0:a[0])||Ht[0][0];return Ft!==s?{data:{index:E+1,overflows:T},reset:{placement:Ft}}:{}}}};var Er=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:r,y:n,placement:a}=o,{mainAxis:i=!0,crossAxis:l=!1,limiter:s={fn:R=>{let{x:E,y:N}=R;return{x:E,y:N}}},...p}=vo(e,o),f={x:r,y:n},y=await Cr(o,p),h=So(Le(a)),m=vr(h),b=f[m],g=f[h];if(i){let R=m==="y"?"top":"left",E=m==="y"?"bottom":"right",N=b+y[R],L=b-y[E];b=xr(N,b,L)}if(l){let R=h==="y"?"top":"left",E=h==="y"?"bottom":"right",N=g+y[R],L=g-y[E];g=xr(N,g,L)}let v=s.fn({...o,[m]:b,[h]:g});return{...v,data:{x:v.x-r,y:v.y-n}}}}};function Wt(e){return Ja(e)?(e.nodeName||"").toLowerCase():"#document"}function nt(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function Dt(e){var o;return(o=(Ja(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function Ja(e){return e instanceof Node||e instanceof nt(e).Node}function Lt(e){return e instanceof Element||e instanceof nt(e).Element}function Ot(e){return e instanceof HTMLElement||e instanceof nt(e).HTMLElement}function Xa(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof nt(e).ShadowRoot}function Pe(e){let{overflow:o,overflowX:r,overflowY:n,display:a}=ut(e);return/auto|scroll|overlay|hidden|clip/.test(o+n+r)&&!["inline","contents"].includes(a)}function Qa(e){return["table","td","th"].includes(Wt(e))}function Co(e){let o=wo(),r=ut(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!o&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!o&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function ti(e){let o=se(e);for(;Ot(o)&&!Ve(o);){if(Co(o))return o;o=se(o)}return null}function wo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ve(e){return["html","body","#document"].includes(Wt(e))}function ut(e){return nt(e).getComputedStyle(e)}function Ye(e){return Lt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function se(e){if(Wt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||Xa(e)&&e.host||Dt(e);return Xa(o)?o.host:o}function ei(e){let o=se(e);return Ve(o)?e.ownerDocument?e.ownerDocument.body:e.body:Ot(o)&&Pe(o)?o:ei(o)}function Oo(e,o,r){var n;o===void 0&&(o=[]),r===void 0&&(r=!0);let a=ei(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),l=nt(a);return i?o.concat(l,l.visualViewport||[],Pe(a)?a:[],l.frameElement&&r?Oo(l.frameElement):[]):o.concat(a,Oo(a,[],r))}function ni(e){let o=ut(e),r=parseFloat(o.width)||0,n=parseFloat(o.height)||0,a=Ot(e),i=a?e.offsetWidth:r,l=a?e.offsetHeight:n,s=Ze(r)!==i||Ze(n)!==l;return s&&(r=i,n=l),{width:r,height:n,$:s}}function ai(e){return Lt(e)?e:e.contextElement}function Ie(e){let o=ai(e);if(!Ot(o))return _t(1);let r=o.getBoundingClientRect(),{width:n,height:a,$:i}=ni(o),l=(i?Ze(r.width):r.width)/n,s=(i?Ze(r.height):r.height)/a;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}var tl=_t(0);function ii(e){let o=nt(e);return!wo()||!o.visualViewport?tl:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function el(e,o,r){return o===void 0&&(o=!1),!r||o&&r!==nt(e)?!1:o}function qe(e,o,r,n){o===void 0&&(o=!1),r===void 0&&(r=!1);let a=e.getBoundingClientRect(),i=ai(e),l=_t(1);o&&(n?Lt(n)&&(l=Ie(n)):l=Ie(e));let s=el(i,r,n)?ii(i):_t(0),p=(a.left+s.x)/l.x,f=(a.top+s.y)/l.y,y=a.width/l.x,h=a.height/l.y;if(i){let m=nt(i),b=n&&Lt(n)?nt(n):n,g=m.frameElement;for(;g&&n&&b!==m;){let v=Ie(g),R=g.getBoundingClientRect(),E=ut(g),N=R.left+(g.clientLeft+parseFloat(E.paddingLeft))*v.x,L=R.top+(g.clientTop+parseFloat(E.paddingTop))*v.y;p*=v.x,f*=v.y,y*=v.x,h*=v.y,p+=N,f+=L,g=nt(g).frameElement}}return le({width:y,height:h,x:p,y:f})}function ol(e){let{rect:o,offsetParent:r,strategy:n}=e,a=Ot(r),i=Dt(r);if(r===i)return o;let l={scrollLeft:0,scrollTop:0},s=_t(1),p=_t(0);if((a||!a&&n!=="fixed")&&((Wt(r)!=="body"||Pe(i))&&(l=Ye(r)),Ot(r))){let f=qe(r);s=Ie(r),p.x=f.x+r.clientLeft,p.y=f.y+r.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-l.scrollLeft*s.x+p.x,y:o.y*s.y-l.scrollTop*s.y+p.y}}function rl(e){return Array.from(e.getClientRects())}function ci(e){return qe(Dt(e)).left+Ye(e).scrollLeft}function nl(e){let o=Dt(e),r=Ye(e),n=e.ownerDocument.body,a=Kt(o.scrollWidth,o.clientWidth,n.scrollWidth,n.clientWidth),i=Kt(o.scrollHeight,o.clientHeight,n.scrollHeight,n.clientHeight),l=-r.scrollLeft+ci(e),s=-r.scrollTop;return ut(n).direction==="rtl"&&(l+=Kt(o.clientWidth,n.clientWidth)-a),{width:a,height:i,x:l,y:s}}function al(e,o){let r=nt(e),n=Dt(e),a=r.visualViewport,i=n.clientWidth,l=n.clientHeight,s=0,p=0;if(a){i=a.width,l=a.height;let f=wo();(!f||f&&o==="fixed")&&(s=a.offsetLeft,p=a.offsetTop)}return{width:i,height:l,x:s,y:p}}function il(e,o){let r=qe(e,!0,o==="fixed"),n=r.top+e.clientTop,a=r.left+e.clientLeft,i=Ot(e)?Ie(e):_t(1),l=e.clientWidth*i.x,s=e.clientHeight*i.y,p=a*i.x,f=n*i.y;return{width:l,height:s,x:p,y:f}}function oi(e,o,r){let n;if(o==="viewport")n=al(e,r);else if(o==="document")n=nl(Dt(e));else if(Lt(o))n=il(o,r);else{let a=ii(e);n={...o,x:o.x-a.x,y:o.y-a.y}}return le(n)}function li(e,o){let r=se(e);return r===o||!Lt(r)||Ve(r)?!1:ut(r).position==="fixed"||li(r,o)}function cl(e,o){let r=o.get(e);if(r)return r;let n=Oo(e,[],!1).filter(s=>Lt(s)&&Wt(s)!=="body"),a=null,i=ut(e).position==="fixed",l=i?se(e):e;for(;Lt(l)&&!Ve(l);){let s=ut(l),p=Co(l);!p&&s.position==="fixed"&&(a=null),(i?!p&&!a:!p&&s.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Pe(l)&&!p&&li(e,l))?n=n.filter(y=>y!==l):a=s,l=se(l)}return o.set(e,n),n}function ll(e){let{element:o,boundary:r,rootBoundary:n,strategy:a}=e,l=[...r==="clippingAncestors"?cl(o,this._c):[].concat(r),n],s=l[0],p=l.reduce((f,y)=>{let h=oi(o,y,a);return f.top=Kt(h.top,f.top),f.right=Ke(h.right,f.right),f.bottom=Ke(h.bottom,f.bottom),f.left=Kt(h.left,f.left),f},oi(o,s,a));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function sl(e){return ni(e)}function dl(e,o,r){let n=Ot(o),a=Dt(o),i=r==="fixed",l=qe(e,!0,i,o),s={scrollLeft:0,scrollTop:0},p=_t(0);if(n||!n&&!i)if((Wt(o)!=="body"||Pe(a))&&(s=Ye(o)),n){let f=qe(o,!0,i,o);p.x=f.x+o.clientLeft,p.y=f.y+o.clientTop}else a&&(p.x=ci(a));return{x:l.left+s.scrollLeft-p.x,y:l.top+s.scrollTop-p.y,width:l.width,height:l.height}}function ri(e,o){return!Ot(e)||ut(e).position==="fixed"?null:o?o(e):e.offsetParent}function si(e,o){let r=nt(e);if(!Ot(e))return r;let n=ri(e,o);for(;n&&Qa(n)&&ut(n).position==="static";)n=ri(n,o);return n&&(Wt(n)==="html"||Wt(n)==="body"&&ut(n).position==="static"&&!Co(n))?r:n||ti(e)||r}var fl=async function(e){let{reference:o,floating:r,strategy:n}=e,a=this.getOffsetParent||si,i=this.getDimensions;return{reference:dl(o,await a(r),n),floating:{x:0,y:0,...await i(r)}}};function pl(e){return ut(e).direction==="rtl"}var Eo={convertOffsetParentRelativeRectToViewportRelativeRect:ol,getDocumentElement:Dt,getClippingRect:ll,getOffsetParent:si,getElementRects:fl,getClientRects:rl,getDimensions:sl,getScale:Ie,isElement:Lt,isRTL:pl};var di=(e,o,r)=>{let n=new Map,a={platform:Eo,...r},i={...a.platform,_c:n};return qa(e,o,{...a,platform:i})};function fi(e){return ul(e)}function Nr(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function ul(e){for(let o=e;o;o=Nr(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=Nr(e);o;o=Nr(o)){if(!(o instanceof Element))continue;let r=getComputedStyle(o);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||o.tagName==="BODY"))return o}return null}async function pi(e,o,r){return di(e,o,{platform:{...Eo,getOffsetParent:n=>Eo.getOffsetParent(n,fi)},middleware:[Er({crossAxis:!0}),wr({allowedPlacements:[r]})]})}var at=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},z=class extends Xe.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 Xe.Debouncer,this.revealDebouncer=new Xe.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ui.html`
522
+ <div part="container"
523
+ class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
524
+ @mouseenter=${this.onHover}
525
+ @mouseleave=${this.onOut}
526
+ @focusin=${this.onHover}
527
+ @focusout=${this.onOut}
528
+ @touchstart=${this.onTouch}>
529
+ <slot part="slot" @click=${this.onClick}></slot>
530
+ <div part="tooltip" role="tooltip" inert
531
+ class="ft-tooltip ft-tooltip--${this.validPosition}"
532
+ ?hidden=${!this.visible}>
533
+ <div part="tooltip-content" class="ft-tooltip--content">
534
+ <slot name="text"></slot>
535
+ <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
536
+ </div>
537
+ </div>
538
+ </div>
539
+ `}updated(o){o.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(o)}contentAvailableCallback(o){super.contentAvailableCallback(o),["visible","text"].some(r=>o.has(r))&&this.visible&&this.positionTooltip()}async show(o){this.visible=!0,o!=null&&await this.hideDebounce.run(()=>{this.hide()},o)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var o;return((o=this.slotNodes)!==null&&o!==void 0?o:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let o=this.tooltipContent.style;switch(o.transition="none",this.validPosition){case"top":o.top=this.tooltip.clientHeight+"px",o.left="0";break;case"bottom":o.top=-this.tooltip.clientHeight+"px",o.left="0";break;case"left":o.top="0",o.left=this.tooltip.clientWidth+"px";break;case"right":o.top="0",o.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",pi(this.slottedElement,this.tooltip,this.position).then(({x:o,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${o}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",o=>{o.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(o,r){return Math.max(o,Math.min(0,-r))}};z.elementDefinitions={"ft-typography":tt};z.styles=Fa;at([(0,G.property)()],z.prototype,"text",void 0);at([(0,G.property)({type:Boolean})],z.prototype,"manual",void 0);at([(0,G.property)({type:Boolean})],z.prototype,"inline",void 0);at([(0,G.property)({type:Number})],z.prototype,"delay",void 0);at([(0,G.property)()],z.prototype,"position",void 0);at([(0,G.queryAssignedNodes)()],z.prototype,"slotNodes",void 0);at([(0,G.query)(".ft-tooltip--container")],z.prototype,"container",void 0);at([(0,G.query)(".ft-tooltip")],z.prototype,"tooltip",void 0);at([(0,G.query)(".ft-tooltip--content")],z.prototype,"tooltipContent",void 0);at([(0,G.state)()],z.prototype,"visible",void 0);at([(0,G.eventOptions)({passive:!0})],z.prototype,"onTouch",null);at([(0,G.eventOptions)({passive:!0})],z.prototype,"onHover",null);at([(0,G.eventOptions)({passive:!0})],z.prototype,"onOut",null);at([(0,G.eventOptions)({passive:!0})],z.prototype,"onClick",null);(0,yi.customElement)("ft-tooltip")(z);var xi=S(I());var Je=S(B()),de=S(j()),gi=S(I()),bi=S(mi());var yt;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.LIST_MAGNIFYING_GLASS="&#xe995;",e.MEDAL="&#xe996;",e.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",e.ARROW_TURN_DOWN_RIGHT="&#xe998;",e.FLASK="&#xe999;",e.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",e.HOURGLASS_END="&#xe99b;",e.CIRCLE_QUESTION="&#xe99c;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(yt||(yt={}));var C;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(C||(C={}));var cy=new Map([...["abw"].map(e=>[e,C.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(e=>[e,C.AUDIO]),...["avi"].map(e=>[e,C.AVI]),...["chm","xhs"].map(e=>[e,C.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(e=>[e,C.CODE]),...["csv"].map(e=>[e,C.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,C.DITA]),...["epub"].map(e=>[e,C.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,C.EXCEL]),...["flac"].map(e=>[e,C.FLAC]),...["gif"].map(e=>[e,C.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,C.GZIP]),...["html","htm","xhtml"].map(e=>[e,C.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,C.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,C.JPEG]),...["json"].map(e=>[e,C.JSON]),...["m4a","m4p"].map(e=>[e,C.M4A]),...["mov","qt"].map(e=>[e,C.MOV]),...["mp3"].map(e=>[e,C.MP3]),...["mp4","m4v"].map(e=>[e,C.MP4]),...["ogg","oga"].map(e=>[e,C.OGG]),...["pdf","ps"].map(e=>[e,C.PDF]),...["png"].map(e=>[e,C.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,C.POWERPOINT]),...["rar"].map(e=>[e,C.RAR]),...["stp"].map(e=>[e,C.STP]),...["txt","rtf","md","mdown"].map(e=>[e,C.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(e=>[e,C.VIDEO]),...["wav"].map(e=>[e,C.WAV]),...["wma"].map(e=>[e,C.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,C.WORD]),...["xml","xsl","rdf"].map(e=>[e,C.XML]),...["yaml","yml","x-yaml"].map(e=>[e,C.YAML]),...["zip"].map(e=>[e,C.ZIP])]);var ly={[C.ABW]:"#91ABC6",[C.AUDIO]:"#1795E3",[C.AVI]:"#E63324",[C.CHM]:"#71C3EB",[C.CODE]:"#71C3EB",[C.CSV]:"#1F7345",[C.DITA]:"#71C3EB",[C.EPUB]:"#85B926",[C.EXCEL]:"#1F7345",[C.FLAC]:"#1795E3",[C.GIF]:"#59B031",[C.GZIP]:"#F8AB36",[C.HTML]:"#71C3EB",[C.IMAGE]:"#59B031",[C.JPEG]:"#59B031",[C.JSON]:"#71C3EB",[C.M4A]:"#1795E3",[C.MOV]:"#E63324",[C.MP3]:"#1795E3",[C.MP4]:"#E63324",[C.OGG]:"#1795E3",[C.PDF]:"#E44948",[C.PNG]:"#59B031",[C.POWERPOINT]:"#B54A2B",[C.RAR]:"#F8AB36",[C.STP]:"#3764B1",[C.TEXT]:"#3162AB",[C.UNKNOWN]:"#999999",[C.VIDEO]:"#E63324",[C.WAV]:"#1795E3",[C.WMA]:"#1795E3",[C.WORD]:"#3162AB",[C.XML]:"#71C3EB",[C.YAML]:"#71C3EB",[C.ZIP]:"#F8AB36"};var Pt;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Pt||(Pt={}));var No=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},it=class extends gi.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Je.nothing}render(){let o=this.variant&&Object.values(Pt).includes(this.variant)?this.variant:Pt.fluid_topics,r=o!==Pt.material||!!this.value;return Je.html`
540
+ <i class="ft-icon ft-icon--${o}" part="icon icon-${o}">
541
+ ${(0,bi.unsafeHTML)(this.resolvedIcon)}
542
+ <slot ?hidden=${r}></slot>
543
+ </i>
544
+ `}get textContent(){var o,r;return(r=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(o){super.update(o),["value","variant"].some(r=>o.has(r))&&this.resolveIcon()}resolveIcon(){var o,r;let n=this.value||this.textContent;switch(this.variant){case Pt.file_format:this.resolvedIcon=(o=C[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break;case Pt.material:this.resolvedIcon=this.value||Je.nothing;break;default:this.resolvedIcon=(r=yt[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(o){super.firstUpdated(o),setTimeout(()=>this.resolveIcon())}};it.elementDefinitions={};it.styles=ua;No([(0,de.property)()],it.prototype,"variant",void 0);No([(0,de.property)()],it.prototype,"value",void 0);No([(0,de.state)()],it.prototype,"resolvedIcon",void 0);No([(0,de.query)("slot")],it.prototype,"slottedContent",void 0);(0,xi.customElement)("ft-icon")(it);var Oi=S(I());var vi=S(B()),Si=S(I());var fe=class extends Si.FtLitElement{render(){return vi.html`
545
+ <div class="ft-loader">
546
+ <div></div>
547
+ <div></div>
548
+ <div></div>
549
+ <div></div>
550
+ </div>
551
+ `}};fe.styles=fa;(0,Oi.customElement)("ft-loader")(fe);var ke=S(B()),Ci=S(mo()),X=S(j()),ct=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},U=class extends(0,Vt.toFtFormComponent)(Vt.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",o=>{var r;this.isDisabled()?(o.preventDefault(),o.stopPropagation(),o.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var o;return this.addTooltipIfNeeded(ke.html`
552
+ <button part="button"
553
+ class="${(0,Ci.classMap)(this.buttonClasses)}"
554
+ aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
555
+ ?disabled=${this.isDisabled()}>
556
+ <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
557
+ <ft-typography part="label"
558
+ variant=${this.typographyVariant}
559
+ element="span"
560
+ class="ft-button--label ${Vt.isSafari?"ft-safari-ellipsis-fix":""}"
561
+ ?hidden=${!this.hasTextContent()}>
562
+ <slot @slotchange=${this.onSlotchange}></slot>
563
+ </ft-typography>
564
+ ${this.resolveIcon()}
565
+ </button>
566
+ `)}addTooltipIfNeeded(o){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?ke.html`
567
+ <ft-tooltip part="tooltip"
568
+ text="${this.getLabel()}"
569
+ position="${this.tooltipPosition}">
570
+ ${o}
571
+ </ft-tooltip>
572
+ `:o}resolveIcon(){return this.loading?ke.html`
573
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?ke.html`
574
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
575
+ `:ke.html`
576
+ <slot part="icon" name="icon"></slot>
577
+ `}focus(){var o;(o=this.button)===null||o===void 0||o.focus()}getLabel(){return this.label||this.textContent}get textContent(){return(0,Vt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};U.elementDefinitions={"ft-ripple":M,"ft-tooltip":z,"ft-typography":tt,"ft-icon":it,"ft-loader":fe};ct([(0,X.property)({type:String,reflect:!0})],U.prototype,"role",void 0);ct([(0,X.property)()],U.prototype,"type",void 0);ct([(0,X.property)({type:Boolean})],U.prototype,"disabled",void 0);ct([(0,X.property)()],U.prototype,"label",void 0);ct([(0,X.property)()],U.prototype,"icon",void 0);ct([(0,X.property)()],U.prototype,"iconVariant",void 0);ct([(0,X.property)({type:Boolean})],U.prototype,"trailingIcon",void 0);ct([(0,X.property)({type:Boolean})],U.prototype,"loading",void 0);ct([(0,X.property)({attribute:"aria-label"})],U.prototype,"ariaLabel",void 0);ct([(0,X.property)()],U.prototype,"tooltipPosition",void 0);ct([(0,X.property)({type:Boolean})],U.prototype,"hideTooltip",void 0);ct([(0,X.property)({type:Boolean})],U.prototype,"forceTooltip",void 0);ct([(0,X.query)(".ft-button")],U.prototype,"button",void 0);ct([(0,X.query)(".ft-button--label slot")],U.prototype,"slottedContent",void 0);var Ao=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},Mt=class extends U{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"}};Mt.styles=[wi.safariEllipsisFix,ga];Ao([(0,Qe.property)({type:Boolean})],Mt.prototype,"primary",void 0);Ao([(0,Qe.property)({type:Boolean})],Mt.prototype,"outlined",void 0);Ao([(0,Qe.property)({type:Boolean})],Mt.prototype,"dense",void 0);Ao([(0,Qe.property)({type:Boolean})],Mt.prototype,"round",void 0);var to=S(j());var Lo=S(I());var Ei=S(B()),x=S(I());var Ni=[Ei.css`
578
+ :host {
579
+ display: inline-block;
580
+ max-width: 100%;
581
+ pointer-events: none;
582
+ }
583
+
584
+ /** Remove default button styles **/
585
+
586
+ button {
587
+ box-shadow: 0 0 0 transparent;
588
+ border: 0 solid transparent;
589
+ text-shadow: 0 0 0 transparent;
590
+ }
591
+
592
+ button:hover {
593
+ box-shadow: 0 0 0 transparent;
594
+ text-shadow: 0 0 0 transparent;
595
+ }
596
+
597
+ button:active {
598
+ outline: none;
599
+ }
600
+
601
+ button:focus {
602
+ outline: 0;
603
+ }
604
+
605
+ /** Base styles **/
606
+
607
+ .ft-button {
608
+ position: relative;
609
+ display: flex;
610
+ justify-content: center;
611
+ align-items: center;
612
+ width: 100%;
613
+ overflow: hidden;
614
+ box-sizing: border-box;
615
+ pointer-events: auto;
616
+ }
617
+
618
+ .ft-button:not([disabled]):hover {
619
+ cursor: pointer;
620
+ }
621
+
622
+ .ft-button:focus {
623
+ outline: none;
624
+ }
625
+
626
+ .ft-button:focus-visible {
627
+ outline-color: ${u.focusFocusRingColor};
628
+ outline-style: solid;
629
+ }
630
+
631
+ ft-icon {
632
+ flex-shrink: 0;
633
+ position: relative;
634
+ }
635
+
636
+ .ft-button:not(.ft-button--trailing-icon) ft-icon,
637
+ .ft-button:not(.ft-button--trailing-icon) ft-loader {
638
+ order: -1;
639
+ }
640
+
641
+ .ft-button--label {
642
+ position: relative;
643
+ overflow: hidden;
644
+ white-space: nowrap;
645
+ text-overflow: ellipsis;
646
+ display: block;
647
+ }
648
+
649
+ .ft-button--label[hidden] {
650
+ display: none;
651
+ }
652
+
653
+ .ft-button.ft-button--icon-only {
654
+ padding: unset;
655
+ border-radius: 50%;
656
+ }
657
+
658
+ /** Brand Primary styles **/
659
+
660
+ .ftds--family-brand.ft-button--primary {
661
+ ${(0,x.setVariable)(_.color,u.primaryBrandIconColor)};
662
+
663
+ ${(0,x.setVariable)(O.color,u.primaryBrandStateLayerColor)};
664
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.primaryBrandHoverStateLayerOpacity)};
665
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.primaryBrandFocusStateLayerOpacity)};
666
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.primaryBrandActiveStateLayerOpacity)};
667
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.primaryBrandActiveStateLayerOpacity)};
668
+
669
+ background-color: ${u.primaryBrandBackgroundColor};
670
+ color: ${u.primaryBrandColor};
671
+ border-style: none;
672
+ }
673
+
674
+ .ftds--family-brand.ft-button--primary[disabled] {
675
+ opacity: ${u.primaryBrandDisabledComponentOpacity};
676
+ }
677
+
678
+ .ftds--family-brand.ft-button--primary ft-icon {
679
+ color: ${u.primaryBrandIconColor};
680
+ }
681
+
682
+ /** Brand Secondary styles **/
683
+
684
+ .ftds--family-brand.ft-button--secondary {
685
+ ${(0,x.setVariable)(_.color,u.secondaryBrandIconColor)};
686
+
687
+ ${(0,x.setVariable)(O.color,u.secondaryBrandStateLayerColor)};
688
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.secondaryBrandHoverStateLayerOpacity)};
689
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.secondaryBrandFocusStateLayerOpacity)};
690
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.secondaryBrandActiveStateLayerOpacity)};
691
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.secondaryBrandActiveStateLayerOpacity)};
692
+
693
+ background-color: ${u.secondaryBrandBackgroundColor};
694
+ color: ${u.secondaryBrandColor};
695
+ border-color: ${u.secondaryBrandBorderColor};
696
+ border-style: solid;
697
+ }
698
+
699
+ .ftds--family-brand.ft-button--secondary[disabled] {
700
+ opacity: ${u.secondaryBrandDisabledComponentOpacity};
701
+ }
702
+
703
+ .ftds--family-brand.ft-button--secondary ft-icon {
704
+ color: ${u.secondaryBrandIconColor};
705
+ }
706
+
707
+ /** Brand Tertiary styles **/
708
+
709
+ .ftds--family-brand.ft-button--tertiary {
710
+ ${(0,x.setVariable)(_.color,u.tertiaryBrandIconColor)};
711
+
712
+ ${(0,x.setVariable)(O.color,u.tertiaryBrandStateLayerColor)};
713
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.tertiaryBrandHoverStateLayerOpacity)};
714
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.tertiaryBrandFocusStateLayerOpacity)};
715
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.tertiaryBrandActiveStateLayerOpacity)};
716
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.tertiaryBrandActiveStateLayerOpacity)};
717
+
718
+ background-color: ${u.tertiaryBrandBackgroundColor};
719
+ color: ${u.tertiaryBrandColor};
720
+ border-style: none;
721
+ }
722
+
723
+ .ftds--family-brand.ft-button--tertiary[disabled] {
724
+ opacity: ${u.tertiaryBrandDisabledComponentOpacity};
725
+ }
726
+
727
+ .ftds--family-brand.ft-button--tertiary ft-icon {
728
+ color: ${u.tertiaryBrandIconColor};
729
+ }
730
+
731
+ /** Neutral Secondary styles **/
732
+
733
+ .ftds--family-neutral.ft-button--secondary {
734
+ ${(0,x.setVariable)(_.color,u.secondaryNeutralIconColor)};
735
+
736
+ ${(0,x.setVariable)(O.backgroundColor,u.secondaryNeutralStateLayerColor)};
737
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.secondaryNeutralHoverStateLayerOpacity)};
738
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.secondaryNeutralFocusStateLayerOpacity)};
739
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.secondaryNeutralActiveStateLayerOpacity)};
740
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.secondaryNeutralActiveStateLayerOpacity)};
741
+
742
+ background-color: ${u.secondaryNeutralBackgroundColor};
743
+ color: ${u.secondaryNeutralColor};
744
+ border-color: ${u.secondaryNeutralBorderColor};
745
+ border-style: solid;
746
+ }
747
+
748
+ .ftds--family-neutral.ft-button--secondary[disabled] {
749
+ opacity: ${u.secondaryNeutralDisabledComponentOpacity};
750
+ }
751
+
752
+ .ftds--family-neutral.ft-button--secondary ft-icon {
753
+ color: ${u.secondaryNeutralIconColor};
754
+ }
755
+
756
+ /** Neutral Tertiary styles **/
757
+
758
+ .ftds--family-neutral.ft-button--tertiary {
759
+ ${(0,x.setVariable)(_.color,u.tertiaryNeutralIconColor)};
760
+
761
+ ${(0,x.setVariable)(O.backgroundColor,u.tertiaryNeutralStateLayerColor)};
762
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.tertiaryNeutralHoverStateLayerOpacity)};
763
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.tertiaryNeutralFocusStateLayerOpacity)};
764
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.tertiaryNeutralActiveStateLayerOpacity)};
765
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.tertiaryNeutralActiveStateLayerOpacity)};
766
+
767
+ background-color: ${u.tertiaryNeutralBackgroundColor};
768
+ color: ${u.tertiaryNeutralColor};
769
+ border-style: none;
770
+ }
771
+
772
+ .ftds--family-neutral.ft-button--tertiary[disabled] {
773
+ opacity: ${u.tertiaryNeutralDisabledComponentOpacity};
774
+ }
775
+
776
+ .ftds--family-neutral.ft-button--tertiary ft-icon {
777
+ color: ${u.tertiaryNeutralIconColor};
778
+ }
779
+
780
+ /** Info Secondary styles **/
781
+
782
+ .ftds--family-info.ft-button--secondary {
783
+ ${(0,x.setVariable)(_.color,u.secondaryInfoIconColor)};
784
+
785
+ ${(0,x.setVariable)(O.backgroundColor,u.secondaryInfoStateLayerColor)};
786
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.secondaryInfoHoverStateLayerOpacity)};
787
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.secondaryInfoFocusStateLayerOpacity)};
788
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.secondaryInfoActiveStateLayerOpacity)};
789
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.secondaryInfoActiveStateLayerOpacity)};
790
+
791
+ background-color: ${u.secondaryInfoBackgroundColor};
792
+ color: ${u.secondaryInfoColor};
793
+ border-color: ${u.secondaryInfoBorderColor};
794
+ border-style: solid;
795
+ }
796
+
797
+ .ftds--family-info.ft-button--secondary[disabled] {
798
+ opacity: ${u.secondaryInfoDisabledComponentOpacity};
799
+ }
800
+
801
+ .ftds--family-info.ft-button--secondary ft-icon {
802
+ color: ${u.secondaryInfoIconColor};
803
+ }
804
+
805
+ /** Info Tertiary styles **/
806
+
807
+ .ftds--family-info.ft-button--tertiary {
808
+ ${(0,x.setVariable)(_.color,u.tertiaryInfoIconColor)};
809
+
810
+ ${(0,x.setVariable)(O.backgroundColor,u.tertiaryInfoStateLayerColor)};
811
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.tertiaryInfoHoverStateLayerOpacity)};
812
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.tertiaryInfoFocusStateLayerOpacity)};
813
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.tertiaryInfoActiveStateLayerOpacity)};
814
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.tertiaryInfoActiveStateLayerOpacity)};
815
+
816
+ background-color: ${u.tertiaryInfoBackgroundColor};
817
+ color: ${u.tertiaryInfoColor};
818
+ border-style: none;
819
+ }
820
+
821
+ .ftds--family-info.ft-button--tertiary[disabled] {
822
+ opacity: ${u.tertiaryInfoDisabledComponentOpacity};
823
+ }
824
+
825
+ .ftds--family-info.ft-button--tertiary ft-icon {
826
+ color: ${u.tertiaryInfoIconColor};
827
+ }
828
+
829
+ /** Success Secondary styles **/
830
+
831
+ .ftds--family-success.ft-button--secondary {
832
+ ${(0,x.setVariable)(_.color,u.secondarySuccessIconColor)};
833
+
834
+ ${(0,x.setVariable)(O.backgroundColor,u.secondarySuccessStateLayerColor)};
835
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.secondarySuccessHoverStateLayerOpacity)};
836
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.secondarySuccessFocusStateLayerOpacity)};
837
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.secondarySuccessActiveStateLayerOpacity)};
838
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.secondarySuccessActiveStateLayerOpacity)};
839
+
840
+ background-color: ${u.secondarySuccessBackgroundColor};
841
+ color: ${u.secondarySuccessColor};
842
+ border-color: ${u.secondarySuccessBorderColor};
843
+ border-style: solid;
844
+ }
845
+
846
+ .ftds--family-success.ft-button--secondary[disabled] {
847
+ opacity: ${u.secondarySuccessDisabledComponentOpacity};
848
+ }
849
+
850
+ .ftds--family-success.ft-button--secondary ft-icon {
851
+ color: ${u.secondarySuccessIconColor};
852
+ }
853
+
854
+ /** Success Tertiary styles **/
855
+
856
+ .ftds--family-success.ft-button--tertiary {
857
+ ${(0,x.setVariable)(_.color,u.tertiarySuccessIconColor)};
858
+
859
+ ${(0,x.setVariable)(O.backgroundColor,u.tertiarySuccessStateLayerColor)};
860
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.tertiarySuccessHoverStateLayerOpacity)};
861
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.tertiarySuccessFocusStateLayerOpacity)};
862
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.tertiarySuccessActiveStateLayerOpacity)};
863
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.tertiarySuccessActiveStateLayerOpacity)};
864
+
865
+ background-color: ${u.tertiarySuccessBackgroundColor};
866
+ color: ${u.tertiarySuccessColor};
867
+ border-style: none;
868
+ }
869
+
870
+ .ftds--family-success.ft-button--tertiary[disabled] {
871
+ opacity: ${u.tertiarySuccessDisabledComponentOpacity};
872
+ }
873
+
874
+ .ftds--family-success.ft-button--tertiary ft-icon {
875
+ color: ${u.tertiarySuccessIconColor};
876
+ }
877
+
878
+ /** Warning Secondary styles **/
879
+
880
+ .ftds--family-warning.ft-button--secondary {
881
+ ${(0,x.setVariable)(_.color,u.secondaryWarningIconColor)};
882
+
883
+ ${(0,x.setVariable)(O.backgroundColor,u.secondaryWarningStateLayerColor)};
884
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.secondaryWarningHoverStateLayerOpacity)};
885
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.secondaryWarningFocusStateLayerOpacity)};
886
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.secondaryWarningActiveStateLayerOpacity)};
887
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.secondaryWarningActiveStateLayerOpacity)};
888
+
889
+ background-color: ${u.secondaryWarningBackgroundColor};
890
+ color: ${u.secondaryWarningColor};
891
+ border-color: ${u.secondaryWarningBorderColor};
892
+ border-style: solid;
893
+ }
894
+
895
+ .ftds--family-warning.ft-button--secondary[disabled] {
896
+ opacity: ${u.secondaryWarningDisabledComponentOpacity};
897
+ }
898
+
899
+ .ftds--family-warning.ft-button--secondary ft-icon {
900
+ color: ${u.secondaryWarningIconColor};
901
+ }
902
+
903
+ /** Warning Tertiary styles **/
904
+
905
+ .ftds--family-warning.ft-button--tertiary {
906
+ ${(0,x.setVariable)(_.color,u.tertiaryWarningIconColor)};
907
+
908
+ ${(0,x.setVariable)(O.backgroundColor,u.tertiaryWarningStateLayerColor)};
909
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.tertiaryWarningHoverStateLayerOpacity)};
910
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.tertiaryWarningFocusStateLayerOpacity)};
911
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.tertiaryWarningActiveStateLayerOpacity)};
912
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.tertiaryWarningActiveStateLayerOpacity)};
913
+
914
+ background-color: ${u.tertiaryWarningBackgroundColor};
915
+ color: ${u.tertiaryWarningColor};
916
+ border-style: none;
917
+ }
918
+
919
+ .ftds--family-warning.ft-button--tertiary[disabled] {
920
+ opacity: ${u.tertiaryWarningDisabledComponentOpacity};
921
+ }
922
+
923
+ .ftds--family-warning.ft-button--tertiary ft-icon {
924
+ color: ${u.tertiaryWarningIconColor};
925
+ }
926
+
927
+ /** Error Secondary styles **/
928
+
929
+ .ftds--family-error.ft-button--secondary {
930
+ ${(0,x.setVariable)(_.color,u.secondaryErrorIconColor)};
931
+
932
+ ${(0,x.setVariable)(O.backgroundColor,u.secondaryErrorStateLayerColor)};
933
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.secondaryErrorHoverStateLayerOpacity)};
934
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.secondaryErrorFocusStateLayerOpacity)};
935
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.secondaryErrorActiveStateLayerOpacity)};
936
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.secondaryErrorActiveStateLayerOpacity)};
937
+
938
+ background-color: ${u.secondaryErrorBackgroundColor};
939
+ color: ${u.secondaryErrorColor};
940
+ border-color: ${u.secondaryErrorBorderColor};
941
+ border-style: solid;
942
+ }
943
+
944
+ .ftds--family-error.ft-button--secondary[disabled] {
945
+ opacity: ${u.secondaryErrorDisabledComponentOpacity};
946
+ }
947
+
948
+ .ftds--family-error.ft-button--secondary ft-icon {
949
+ color: ${u.secondaryErrorIconColor};
950
+ }
951
+
952
+ /** Error Tertiary styles **/
953
+
954
+ .ftds--family-error.ft-button--tertiary {
955
+ ${(0,x.setVariable)(_.color,u.tertiaryErrorIconColor)};
956
+
957
+ ${(0,x.setVariable)(O.backgroundColor,u.tertiaryErrorStateLayerColor)};
958
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.tertiaryErrorHoverStateLayerOpacity)};
959
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.tertiaryErrorFocusStateLayerOpacity)};
960
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.tertiaryErrorActiveStateLayerOpacity)};
961
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.tertiaryErrorActiveStateLayerOpacity)};
962
+
963
+ background-color: ${u.tertiaryErrorBackgroundColor};
964
+ color: ${u.tertiaryErrorColor};
965
+ border-style: none;
966
+ }
967
+
968
+ .ftds--family-error.ft-button--tertiary[disabled] {
969
+ opacity: ${u.tertiaryErrorDisabledComponentOpacity};
970
+ }
971
+
972
+ .ftds--family-error.ft-button--tertiary ft-icon {
973
+ color: ${u.tertiaryErrorIconColor};
974
+ }
975
+
976
+ /** Large styles **/
977
+
978
+ .ftds--size-large {
979
+ ${(0,x.setVariable)(Q.size,u.largeIconSize)};
980
+ ${(0,x.setVariable)(_.size,u.largeIconSize)};
981
+
982
+ height: ${u.largeHeight};
983
+ padding: 0 ${u.largeHorizontalPadding};
984
+ gap: ${u.largeGap};
985
+ border-radius: ${u.largeBorderRadius};
986
+ border-width: ${u.largeBorderWidth};
987
+ }
988
+
989
+ .ftds--size-large:focus-visible {
990
+ outline-width: ${u.largeFocusOutlineWidth};
991
+ outline-offset: ${u.largeFocusOutlineOffset};
992
+ }
993
+
994
+ .ftds--size-large.ft-button--icon-only {
995
+ width: ${u.largeIconOnlyWidth};
996
+ }
997
+
998
+ /** Small styles **/
999
+
1000
+ .ftds--size-medium {
1001
+ ${(0,x.setVariable)(Q.size,u.mediumIconSize)};
1002
+ ${(0,x.setVariable)(_.size,u.mediumIconSize)};
1003
+
1004
+ height: ${u.mediumHeight};
1005
+ padding: 0 ${u.mediumHorizontalPadding};
1006
+ gap: ${u.mediumGap};
1007
+ border-radius: ${u.mediumBorderRadius};
1008
+ border-width: ${u.mediumBorderWidth};
1009
+ }
1010
+
1011
+ .ftds--size-medium:focus-visible {
1012
+ outline-width: ${u.mediumFocusOutlineWidth};
1013
+ outline-offset: ${u.mediumFocusOutlineOffset};
1014
+ }
1015
+
1016
+ .ftds--size-medium.ft-button--icon-only {
1017
+ width: ${u.mediumIconOnlyWidth};
1018
+ }
1019
+
1020
+
1021
+ /** Small styles **/
1022
+
1023
+ .ftds--size-small {
1024
+ ${(0,x.setVariable)(Q.size,u.smallIconSize)};
1025
+ ${(0,x.setVariable)(_.size,u.smallIconSize)};
1026
+
1027
+ height: ${u.smallHeight};
1028
+ padding: 0 ${u.smallHorizontalPadding};
1029
+ gap: ${u.smallGap};
1030
+ border-radius: ${u.smallBorderRadius};
1031
+ border-width: ${u.smallBorderWidth};
1032
+ }
1033
+
1034
+ .ftds--size-small:focus-visible {
1035
+ outline-width: ${u.smallFocusOutlineWidth};
1036
+ outline-offset: ${u.smallFocusOutlineOffset};
1037
+ }
1038
+
1039
+ .ftds--size-small.ft-button--icon-only {
1040
+ width: ${u.smallIconOnlyWidth};
1041
+ }
1042
+ `,x.noTextSelect];var Ro=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},et=class extends(0,Lo.toFtdsBase)(U){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=yo.brand,this.iconVariant=Pt.fluid_topics}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,"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,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case pt.large:return xt.body2medium;case pt.medium:return xt.caption1medium;case pt.small:return xt.caption2medium}}};et.styles=[Lo.safariEllipsisFix,Ni];Ro([(0,to.property)({type:Boolean})],et.prototype,"primary",void 0);Ro([(0,to.property)({type:Boolean})],et.prototype,"secondary",void 0);Ro([(0,to.property)({type:Boolean})],et.prototype,"tertiary",void 0);Ro([(0,to.property)({type:Boolean})],et.prototype,"round",void 0);(0,Ar.customElement)("ft-button")(Mt);(0,Ar.customElement)("ftds-button")(et);var un=S(I());var so=S(B()),fo=S(j()),De=S(I()),Ic=S(mo());var Ai=S(B());var Rr=S(I());var Ri=[Ai.css`
1043
+
1044
+ .ftds--size-small [part=dialog] {
1045
+ --ftds-modal--target-width: ${D.smallContainerTargetWidth};
1046
+ }
1047
+
1048
+ .ftds--size-medium [part=dialog] {
1049
+ --ftds-modal--target-width: ${D.mediumContainerTargetWidth};
1050
+ }
1051
+
1052
+ .ftds--size-large [part=dialog] {
1053
+ --ftds-modal--target-width: ${D.largeContainerTargetWidth};
1054
+ }
1055
+
1056
+ [part=dialog] {
1057
+ padding: 0;
1058
+ border: none;
1059
+ box-shadow: ${D.shadow};
1060
+ border-radius: ${D.borderRadius};
1061
+ width: var(--ftds-modal--target-width);
1062
+ margin:
1063
+ auto
1064
+ max(
1065
+ ${Rr.foundation.spacing6},
1066
+ calc((100% - var(--ftds-modal--target-width)) / 2)
1067
+ );
1068
+ }
1069
+
1070
+ ::backdrop {
1071
+ background-color: rgba(from ${D.overlayBackgroundColor} r g b / ${D.overlayOpacity});
1072
+ border-radius: unset;
1073
+ }
1074
+
1075
+ [part=header] {
1076
+ padding: ${D.headerVerticalPadding} ${D.headerRightPadding} ${D.headerVerticalPadding} ${D.headerLeftPadding};
1077
+ display: flex;
1078
+ align-items: center;
1079
+ gap: ${D.headerGap};
1080
+ border-color: ${D.headerBorderColor};
1081
+ border-bottom-width: ${D.headerBorderBottomWidth};
1082
+ border-bottom-style: solid;
1083
+ color: ${D.headerColor};
1084
+ background-color: ${D.headerBackgroundColor};
1085
+ }
1086
+
1087
+ [part=heading] {
1088
+ flex-grow: 1;
1089
+ }
1090
+
1091
+ [part=icon] {
1092
+ color: ${D.headerLeadingIconColor};
1093
+ }
1094
+
1095
+ [part=closing-button] {
1096
+ justify-self: flex-end;
1097
+ }
1098
+
1099
+ [part=body] {
1100
+ padding: ${D.bodyVerticalPadding} ${D.bodyHorizontalPadding};
1101
+ display: flex;
1102
+ flex-direction: column;
1103
+ gap: ${D.bodyVerticalGap};
1104
+ color: ${D.bodyColor};
1105
+ background-color: ${D.bodyBackgroundColor};
1106
+ }
1107
+
1108
+ [part=actions] {
1109
+ align-self: flex-end;
1110
+ display: flex;
1111
+ gap: ${Rr.foundation.spacing3}
1112
+ }
1113
+ `];var Lc=S(I());var Qo=S(B()),tr=S(j()),er=S(I());var Li=S(B());var Pi=Li.css`
1114
+ `;var Xo=S(I());var Nc=S(I());var Bi=S(B()),vt=S(j()),Ct=S(I());var Ii=S(B());var ki=Ii.css`
1115
+ `;var Po=S(I()),yl="ft-app-info",Lr=class extends CustomEvent{constructor(o){super("authentication-change",{detail:o})}},hl={session:(e,o)=>{(0,Po.deepEqual)(e.session,o.payload)||(e.session=o.payload,setTimeout(()=>k.eventBus.dispatchEvent(new Lr(o.payload)),0))}},k=Po.FtReduxStore.get({name:yl,reducers:hl,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var qt=S(I());var Pr=S(I());var pe=class e{static get(o){let{baseUrl:r,apiIntegrationIdentifier:n}=k.getState(),a=o??n;if(r&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,a,!0)}static await(o){return new Promise(r=>{let n=e.get(o);if(n)r(n);else{let a=k.subscribe(()=>{n=e.get(o),n&&(a(),r(n))})}})}};var Yt=class{constructor(o=!0,r){var n;this.overrideApi=r;let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new Pr.CacheRegistry,this.cache=o?a.commonCache:new Pr.CacheRegistry}get api(){var o;return(o=this.overrideApi)!==null&&o!==void 0?o:pe.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):pe.await()}clearCache(){this.cache.clearAll()}};var $i,ml=Symbol("clearAfterUnitTest"),Io=class extends Yt{constructor(o){super(),this.messageContextProvider=o,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[$i]=()=>{this.defaultMessages={},this.cache=new qt.CacheRegistry,this.listeners={}},this.currentUiLocale=k.getState().uiLocale,k.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:o}=k.getState();this.currentUiLocale!==o&&(this.currentUiLocale=o,this.cache.clearAll(),this.notifyAll())}addContext(o){let r=o.name.toLowerCase();this.cache.setFinal(r,o),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(o,r){var n;if(o=o.toLowerCase(),Object.keys(r).length>0){let a={...(n=this.defaultMessages[o])!==null&&n!==void 0?n:{},...r};(0,qt.deepEqual)(this.defaultMessages[o],a)||(this.defaultMessages[o]=a,await this.notify(o))}await this.fetchContext(o)}resolveContext(o){var r,n;return this.fetchContext(o),(n=(r=this.cache.getNow(o))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(o,r){let n=o.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(o,r,...n){var a;let i=o.toLowerCase(),l=this.resolveContext(i);return new qt.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},l).resolve(r,...n)}async fetchContext(o){if(!this.cache.has(o))try{await this.cache.get(o,()=>this.messageContextProvider(this.currentUiLocale,o)),await this.notify(o)}catch(r){console.error(r)}}subscribe(o,r){var n;return o=o.toLowerCase(),this.listeners[o]=(n=this.listeners[o])!==null&&n!==void 0?n:new Set,this.listeners[o].add(r),()=>{var a;return(a=this.listeners[o])===null||a===void 0?void 0:a.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(o=>this.notify(o)))}async notify(o){this.listeners[o]!=null&&await Promise.all([...this.listeners[o].values()].map(r=>(0,qt.delay)(0).then(()=>r()).catch(()=>null)))}};$i=ml;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Io{constructor(){super(async(e,o)=>(await this.awaitApi).getFluidTopicsMessageContext(e,o))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Io{constructor(){super(async(e,o)=>(await this.awaitApi).getCustomMessageContext(e,o))}});var ue=window.FluidTopicsI18nService,Ti=window.FluidTopicsCustomI18nService;var ot=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},H=class extends Ct.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>pe.get(),this.messageContexts=[],this.cache=new Ct.CacheRegistry,this.cleanSessionDebouncer=new Ct.Debouncer}render(){return Bi.html`
1116
+ <slot></slot>
1117
+ `}update(o){super.update(o),o.has("baseUrl")&&(k.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),o.has("apiIntegrationIdentifier")&&k.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),o.has("uiLocale")&&k.actions.uiLocale(this.uiLocale),o.has("metadataConfiguration")&&k.actions.metadataConfiguration(this.metadataConfiguration),o.has("noCustom")&&k.actions.noCustom(this.noCustom),o.has("editorMode")&&k.actions.editorMode(this.editorMode),o.has("noCustomComponent")&&k.actions.noCustomComponent(this.noCustomComponent),o.has("session")&&k.actions.session(this.session),o.has("availableUiLocales")&&k.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),o.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>ue.addContext(r)),o.has("openExternalDocumentInNewTab")&&k.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),o.has("navigatorOnline")&&k.actions.navigatorOnline(this.navigatorOnline),o.has("forcedOffline")&&k.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let o=await this.apiProvider().getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},o.idleTimeoutInMillis),o})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};H.elementDefinitions={};H.styles=ki;ot([(0,vt.property)()],H.prototype,"baseUrl",void 0);ot([(0,vt.property)()],H.prototype,"apiIntegrationIdentifier",void 0);ot([(0,vt.property)()],H.prototype,"uiLocale",void 0);ot([(0,Ct.jsonProperty)(null)],H.prototype,"availableUiLocales",void 0);ot([(0,Ct.jsonProperty)(null)],H.prototype,"metadataConfiguration",void 0);ot([(0,vt.property)({type:Boolean})],H.prototype,"editorMode",void 0);ot([(0,vt.property)({type:Boolean})],H.prototype,"noCustom",void 0);ot([(0,vt.property)({type:Boolean})],H.prototype,"openExternalDocumentInNewTab",void 0);ot([(0,vt.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],H.prototype,"noCustomComponent",void 0);ot([(0,vt.property)({type:Boolean})],H.prototype,"withManualResources",void 0);ot([(0,vt.property)({type:Boolean})],H.prototype,"navigatorOnline",void 0);ot([(0,vt.property)({type:Boolean})],H.prototype,"forcedOffline",void 0);ot([(0,vt.property)({type:Object})],H.prototype,"apiProvider",void 0);ot([(0,Ct.jsonProperty)([])],H.prototype,"messageContexts",void 0);ot([(0,Ct.jsonProperty)(void 0)],H.prototype,"session",void 0);var os=S(j());function gl(e,o){if(e===o)return!0;if(e&&o&&typeof e=="object"&&typeof o=="object"){if(e.constructor!==o.constructor)return!1;var r,n,a;if(Array.isArray(e)){if(r=e.length,r!=o.length)return!1;for(n=r;n--!==0;)if(!ko(e[n],o[n]))return!1;return!0}if(e instanceof Map&&o instanceof Map){if(e.size!==o.size)return!1;for(n of e.entries())if(!o.has(n[0]))return!1;for(n of e.entries())if(!ko(n[1],o.get(n[0])))return!1;return!0}if(e instanceof Set&&o instanceof Set){if(e.size!==o.size)return!1;for(n of e.entries())if(!o.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===o.source&&e.flags===o.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===o.valueOf();if(a=Object.keys(e),r=a.length,r!==Object.keys(o).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(o,a[n]))return!1;for(n=r;n--!==0;){var i=a[n];if(!ko(e[i],o[i]))return!1}return!0}return e!==e&&o!==o}function ko(e,o){try{return gl(e,o)}catch{return!1}}function Ir(e,o){return!ko(e,o)}var bl=S(j(),1);var $o=class{constructor(){this.queue=[]}add(o,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==o.type)),this.queue.push(o)}consume(o){let r=this.queue.find(n=>n.type===o);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};var eo=S(j(),1);var _i=S(j(),1);function Wi(e,o){let r=()=>JSON.parse(JSON.stringify(e));return(0,_i.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Ir,...o??{}})}var To=class{constructor(o=0){this.timeout=o,this.callbacks=[]}run(o,r){return this.callbacks=[o],this.debounce(r)}queue(o,r){return this.callbacks.push(o),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(o){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),o??this.timeout),this.promise}async runCallbacks(){var o,r;let n=[...this.callbacks];this.callbacks=[];let a=(o=this.rejectPromise)!==null&&o!==void 0?o:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let l of n)try{await l()}catch(s){a(s);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Mi=S(B(),1);var Bo=window,xl=Bo.ShadowRoot&&(Bo.ShadyCSS===void 0||Bo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ph=Symbol();var Di=(e,o)=>{xl?e.adoptedStyleSheets=o.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):o.forEach(r=>{let n=document.createElement("style"),a=Bo.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,e.appendChild(n)})};var _o=class extends Mi.LitElement{createRenderRoot(){let o=this.constructor;o.elementDefinitions&&!o.registry&&(o.registry=new CustomElementRegistry,Object.entries(o.elementDefinitions).forEach(([a,i])=>o.registry.define(a,i)));let r={...o.shadowRootOptions,customElements:o.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Di(n,o.elementStyles),n}};var Wo=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},Fi,zi=Symbol("constructorPrototype"),Ui=Symbol("constructorName"),Gi=Symbol("exportpartsDebouncer"),Hi=Symbol("dynamicDependenciesLoaded"),Xt=class extends _o{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Fi]=new To(5),this[Ui]=this.constructor.name,this[zi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ui]&&Object.setPrototypeOf(this,this[zi])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let o=this.constructor;o[Hi]||(o[Hi]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(o){super.updated(o),this.updateComplete.then(()=>{this.contentAvailableCallback(o),this.applyCustomStylesheet(o),this.scheduleExportpartsUpdate()})}contentAvailableCallback(o){}applyCustomStylesheet(o){var r,n,a;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(o.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var o,r,n;(!((o=this.exportpartsPrefix)===null||o===void 0)&&o.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Gi].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(o){var r,n,a,i,l,s;let p=m=>m!=null&&m.trim().length>0,f=o.filter(p).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let y=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(i=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],g=(s=(l=m.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(v=>v.split(":")[1]))!==null&&s!==void 0?s:[];new Array(...b,...g).filter(p).map(v=>v.trim()).forEach(v=>y.add(v))}if(y.size===0){this.removeAttribute("exportparts");return}let h=[...y.values()].flatMap(m=>f.map(b=>`${m}:${b}--${m}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};Fi=Gi;Wo([(0,eo.property)()],Xt.prototype,"exportpartsPrefix",void 0);Wo([Wi([])],Xt.prototype,"exportpartsPrefixes",void 0);Wo([(0,eo.property)()],Xt.prototype,"customStylesheet",void 0);Wo([(0,eo.state)()],Xt.prototype,"useAdoptedStyleSheets",void 0);function oo(e){var o;return(o=e?.isFtReduxStore)!==null&&o!==void 0?o:!1}var ji,Ki,Zi,Do=Symbol("internalReduxEventsUnsubscribers"),Jt=Symbol("internalStoresUnsubscribers"),ye=Symbol("internalStores"),ro=class extends Xt{constructor(){super(...arguments),this[ji]=new Map,this[Ki]=new Map,this[Zi]=[]}get reduxConstructor(){return this.constructor}update(o){super.update(o),[...this.reduxConstructor.reduxReactiveProperties].some(r=>o.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[ye].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ye].values()][0]}getStore(o){return o==null?this.getUnnamedStore():this[ye].get(o)}addStore(o,r){var n;r=(n=r??(oo(o)?o.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,o)}removeStore(o){let r=typeof o=="string"?o:o.name;this.unsubscribeFromStore(r),this[ye].delete(r)}setupStore(o,r){this[ye].set(o,r),this.subscribeToStore(o,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ye].forEach((o,r)=>this.subscribeToStore(r,o)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((o,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let a=this.getStore(o.store);a&&(o.store?this[Jt].has(o.store):this[Jt].size>0)&&(this[r]=o.selector(a.getState(),this))}})}subscribeToStore(o,r){var n;this[Jt].set(o,r.subscribe(()=>this.updateFromStores())),oo(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||r.name===a.store)){let l=s=>this[i](s);r.eventBus.addEventListener(a.eventName,l),this[Do].push(()=>r.eventBus.removeEventListener(a.eventName,l))}})),this.onStoreAvailable(o)}unsubscribeFromStores(){this[Jt].forEach((o,r)=>this.unsubscribeFromStore(r)),this[Do].forEach(o=>o()),this[Do]=[]}unsubscribeFromStore(o){this[Jt].has(o)&&this[Jt].get(o)(),this[Jt].delete(o)}onStoreAvailable(o){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};ji=Jt,Ki=ye,Zi=Do;ro.reduxProperties=new Map;ro.reduxReactiveProperties=new Set;ro.reduxEventListeners=new Map;function St(e){for(var o=arguments.length,r=Array(o>1?o-1:0),n=1;n<o;n++)r[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function zt(e){return!!e&&!!e[W]}function wt(e){var o;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===Al}(e)||Array.isArray(e)||!!e[tc]||!!(!((o=e.constructor)===null||o===void 0)&&o[tc])||zr(e)||Ur(e))}function he(e,o,r){r===void 0&&(r=!1),Be(e)===0?(r?Object.keys:Te)(e).forEach(function(n){r&&typeof n=="symbol"||o(n,e[n],e)}):e.forEach(function(n,a){return o(a,n,e)})}function Be(e){var o=e[W];return o?o.i>3?o.i-4:o.i:Array.isArray(e)?1:zr(e)?2:Ur(e)?3:0}function $e(e,o){return Be(e)===2?e.has(o):Object.prototype.hasOwnProperty.call(e,o)}function vl(e,o){return Be(e)===2?e.get(o):e[o]}function ec(e,o,r){var n=Be(e);n===2?e.set(o,r):n===3?e.add(r):e[o]=r}function oc(e,o){return e===o?e!==0||1/e==1/o:e!=e&&o!=o}function zr(e){return El&&e instanceof Map}function Ur(e){return Nl&&e instanceof Set}function Qt(e){return e.o||e.t}function Hr(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var o=ac(e);delete o[W];for(var r=Te(o),n=0;n<r.length;n++){var a=r[n],i=o[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(o[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),o)}function Fr(e,o){return o===void 0&&(o=!1),Gr(e)||zt(e)||!wt(e)||(Be(e)>1&&(e.set=e.add=e.clear=e.delete=Sl),Object.freeze(e),o&&he(e,function(r,n){return Fr(n,!0)},!0)),e}function Sl(){St(2)}function Gr(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function It(e){var o=Mr[e];return o||St(18,e),o}function Ol(e,o){Mr[e]||(Mr[e]=o)}function _r(){return ao}function kr(e,o){o&&(It("Patches"),e.u=[],e.s=[],e.v=o)}function Mo(e){Wr(e),e.p.forEach(Cl),e.p=null}function Wr(e){e===ao&&(ao=e.l)}function Vi(e){return ao={p:[],l:ao,h:e,m:!0,_:0}}function Cl(e){var o=e[W];o.i===0||o.i===1?o.j():o.g=!0}function $r(e,o){o._=o.p.length;var r=o.p[0],n=e!==void 0&&e!==r;return o.h.O||It("ES5").S(o,e,n),n?(r[W].P&&(Mo(o),St(4)),wt(e)&&(e=zo(o,e),o.l||Uo(o,e)),o.u&&It("Patches").M(r[W].t,e,o.u,o.s)):e=zo(o,r,[]),Mo(o),o.u&&o.v(o.u,o.s),e!==nc?e:void 0}function zo(e,o,r){if(Gr(o))return o;var n=o[W];if(!n)return he(o,function(s,p){return Yi(e,n,o,s,p,r)},!0),o;if(n.A!==e)return o;if(!n.P)return Uo(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Hr(n.k):n.o,i=a,l=!1;n.i===3&&(i=new Set(a),a.clear(),l=!0),he(i,function(s,p){return Yi(e,n,a,s,p,r,l)}),Uo(e,a,!1),r&&e.u&&It("Patches").N(n,r,e.u,e.s)}return n.o}function Yi(e,o,r,n,a,i,l){if(zt(a)){var s=zo(e,a,i&&o&&o.i!==3&&!$e(o.R,n)?i.concat(n):void 0);if(ec(r,n,s),!zt(s))return;e.m=!1}else l&&r.add(a);if(wt(a)&&!Gr(a)){if(!e.h.D&&e._<1)return;zo(e,a),o&&o.A.l||Uo(e,a)}}function Uo(e,o,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&Fr(o,r)}function Tr(e,o){var r=e[W];return(r?Qt(r):e)[o]}function qi(e,o){if(o in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,o);if(n)return n;r=Object.getPrototypeOf(r)}}function te(e){e.P||(e.P=!0,e.l&&te(e.l))}function Br(e){e.o||(e.o=Hr(e.t))}function Dr(e,o,r){var n=zr(o)?It("MapSet").F(o,r):Ur(o)?It("MapSet").T(o,r):e.O?function(a,i){var l=Array.isArray(a),s={i:l?1:0,A:i?i.A:_r(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},p=s,f=io;l&&(p=[s],f=no);var y=Proxy.revocable(p,f),h=y.revoke,m=y.proxy;return s.k=m,s.j=h,m}(o,r):It("ES5").J(o,r);return(r?r.A:_r()).p.push(n),n}function wl(e){return zt(e)||St(22,e),function o(r){if(!wt(r))return r;var n,a=r[W],i=Be(r);if(a){if(!a.P&&(a.i<4||!It("ES5").K(a)))return a.t;a.I=!0,n=Xi(r,i),a.I=!1}else n=Xi(r,i);return he(n,function(l,s){a&&vl(a.t,l)===s||ec(n,l,o(s))}),i===3?new Set(n):n}(e)}function Xi(e,o){switch(o){case 2:return new Map(e);case 3:return Array.from(e)}return Hr(e)}function rc(){function e(l,s){var p=i[l];return p?p.enumerable=s:i[l]=p={configurable:!0,enumerable:s,get:function(){var f=this[W];return io.get(f,l)},set:function(f){var y=this[W];io.set(y,l,f)}},p}function o(l){for(var s=l.length-1;s>=0;s--){var p=l[s][W];if(!p.P)switch(p.i){case 5:n(p)&&te(p);break;case 4:r(p)&&te(p)}}}function r(l){for(var s=l.t,p=l.k,f=Te(p),y=f.length-1;y>=0;y--){var h=f[y];if(h!==W){var m=s[h];if(m===void 0&&!$e(s,h))return!0;var b=p[h],g=b&&b[W];if(g?g.t!==m:!oc(b,m))return!0}}var v=!!s[W];return f.length!==Te(s).length+(v?0:1)}function n(l){var s=l.k;if(s.length!==l.t.length)return!0;var p=Object.getOwnPropertyDescriptor(s,s.length-1);if(p&&!p.get)return!0;for(var f=0;f<s.length;f++)if(!s.hasOwnProperty(f))return!0;return!1}function a(l){l.g&&St(3,JSON.stringify(Qt(l)))}var i={};Ol("ES5",{J:function(l,s){var p=Array.isArray(l),f=function(h,m){if(h){for(var b=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(b,""+g,e(g,!0));return b}var v=ac(m);delete v[W];for(var R=Te(v),E=0;E<R.length;E++){var N=R[E];v[N]=e(N,h||!!v[N].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(p,l),y={i:p?5:4,A:s?s.A:_r(),P:!1,I:!1,R:{},l:s,t:l,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,W,{value:y,writable:!0}),f},S:function(l,s,p){p?zt(s)&&s[W].A===l&&o(l.p):(l.u&&function f(y){if(y&&typeof y=="object"){var h=y[W];if(h){var m=h.t,b=h.k,g=h.R,v=h.i;if(v===4)he(b,function($){$!==W&&(m[$]!==void 0||$e(m,$)?g[$]||f(b[$]):(g[$]=!0,te(h)))}),he(m,function($){b[$]!==void 0||$e(b,$)||(g[$]=!1,te(h))});else if(v===5){if(n(h)&&(te(h),g.length=!0),b.length<m.length)for(var R=b.length;R<m.length;R++)g[R]=!1;else for(var E=m.length;E<b.length;E++)g[E]=!0;for(var N=Math.min(b.length,m.length),L=0;L<N;L++)b.hasOwnProperty(L)||(g[L]=!0),g[L]===void 0&&f(b[L])}}}}(l.p[0]),o(l.p))},K:function(l){return l.i===4?r(l):n(l)}})}var Ji,ao,jr=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",El=typeof Map<"u",Nl=typeof Set<"u",Qi=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",nc=jr?Symbol.for("immer-nothing"):((Ji={})["immer-nothing"]=!0,Ji),tc=jr?Symbol.for("immer-draftable"):"__$immer_draftable",W=jr?Symbol.for("immer-state"):"__$immer_state";var Al=""+Object.prototype.constructor,Te=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,ac=Object.getOwnPropertyDescriptors||function(e){var o={};return Te(e).forEach(function(r){o[r]=Object.getOwnPropertyDescriptor(e,r)}),o},Mr={},io={get:function(e,o){if(o===W)return e;var r=Qt(e);if(!$e(r,o))return function(a,i,l){var s,p=qi(i,l);return p?"value"in p?p.value:(s=p.get)===null||s===void 0?void 0:s.call(a.k):void 0}(e,r,o);var n=r[o];return e.I||!wt(n)?n:n===Tr(e.t,o)?(Br(e),e.o[o]=Dr(e.A.h,n,e)):n},has:function(e,o){return o in Qt(e)},ownKeys:function(e){return Reflect.ownKeys(Qt(e))},set:function(e,o,r){var n=qi(Qt(e),o);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var a=Tr(Qt(e),o),i=a?.[W];if(i&&i.t===r)return e.o[o]=r,e.R[o]=!1,!0;if(oc(r,a)&&(r!==void 0||$e(e.t,o)))return!0;Br(e),te(e)}return e.o[o]===r&&(r!==void 0||o in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[o])||(e.o[o]=r,e.R[o]=!0),!0},deleteProperty:function(e,o){return Tr(e.t,o)!==void 0||o in e.t?(e.R[o]=!1,Br(e),te(e)):delete e.R[o],e.o&&delete e.o[o],!0},getOwnPropertyDescriptor:function(e,o){var r=Qt(e),n=Reflect.getOwnPropertyDescriptor(r,o);return n&&{writable:!0,configurable:e.i!==1||o!=="length",enumerable:n.enumerable,value:r[o]}},defineProperty:function(){St(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){St(12)}},no={};he(io,function(e,o){no[e]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}}),no.deleteProperty=function(e,o){return no.set.call(this,e,o,void 0)},no.set=function(e,o,r){return io.set.call(this,e[0],o,r,e[0])};var Rl=function(){function e(r){var n=this;this.O=Qi,this.D=!0,this.produce=function(a,i,l){if(typeof a=="function"&&typeof i!="function"){var s=i;i=a;var p=n;return function(v){var R=this;v===void 0&&(v=s);for(var E=arguments.length,N=Array(E>1?E-1:0),L=1;L<E;L++)N[L-1]=arguments[L];return p.produce(v,function($){var T;return(T=i).call.apply(T,[R,$].concat(N))})}}var f;if(typeof i!="function"&&St(6),l!==void 0&&typeof l!="function"&&St(7),wt(a)){var y=Vi(n),h=Dr(n,a,void 0),m=!0;try{f=i(h),m=!1}finally{m?Mo(y):Wr(y)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(v){return kr(y,l),$r(v,y)},function(v){throw Mo(y),v}):(kr(y,l),$r(f,y))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===nc&&(f=void 0),n.D&&Fr(f,!0),l){var b=[],g=[];It("Patches").M(a,f,b,g),l(b,g)}return f}St(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(f){for(var y=arguments.length,h=Array(y>1?y-1:0),m=1;m<y;m++)h[m-1]=arguments[m];return n.produceWithPatches(f,function(b){return a.apply(void 0,[b].concat(h))})};var l,s,p=n.produce(a,i,function(f,y){l=f,s=y});return typeof Promise<"u"&&p instanceof Promise?p.then(function(f){return[f,l,s]}):[p,l,s]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var o=e.prototype;return o.createDraft=function(r){wt(r)||St(8),zt(r)&&(r=wl(r));var n=Vi(this),a=Dr(this,r,void 0);return a[W].C=!0,Wr(n),a},o.finishDraft=function(r,n){var a=r&&r[W],i=a.A;return kr(i,n),$r(void 0,i)},o.setAutoFreeze=function(r){this.D=r},o.setUseProxies=function(r){r&&!Qi&&St(20),this.O=r},o.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(n=n.slice(a+1));var l=It("Patches").$;return zt(r)?l(r,n):this.produce(r,function(s){return l(s,n)})},e}(),ht=new Rl,Ll=ht.produce,Hh=ht.produceWithPatches.bind(ht),Fh=ht.setAutoFreeze.bind(ht),Gh=ht.setUseProxies.bind(ht),jh=ht.applyPatches.bind(ht),Kh=ht.createDraft.bind(ht),Zh=ht.finishDraft.bind(ht),Ho=Ll;function ee(e){"@babel/helpers - typeof";return ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},ee(e)}function Kr(e,o){if(ee(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,o||"default");if(ee(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(e)}function Zr(e){var o=Kr(e,"string");return ee(o)==="symbol"?o:String(o)}function Vr(e,o,r){return o=Zr(o),o in e?Object.defineProperty(e,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[o]=r,e}function ic(e,o){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Fo(e){for(var o=1;o<arguments.length;o++){var r=arguments[o]!=null?arguments[o]:{};o%2?ic(Object(r),!0).forEach(function(n){Vr(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ic(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function J(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var cc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Yr=function(){return Math.random().toString(36).substring(7).split("").join(".")},Go={INIT:"@@redux/INIT"+Yr(),REPLACE:"@@redux/REPLACE"+Yr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Yr()}};function Pl(e){if(typeof e!="object"||e===null)return!1;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(e)===o}function qr(e,o,r){var n;if(typeof o=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(J(0));if(typeof o=="function"&&typeof r>"u"&&(r=o,o=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(J(1));return r(qr)(e,o)}if(typeof e!="function")throw new Error(J(2));var a=e,i=o,l=[],s=l,p=!1;function f(){s===l&&(s=l.slice())}function y(){if(p)throw new Error(J(3));return i}function h(v){if(typeof v!="function")throw new Error(J(4));if(p)throw new Error(J(5));var R=!0;return f(),s.push(v),function(){if(R){if(p)throw new Error(J(6));R=!1,f();var N=s.indexOf(v);s.splice(N,1),l=null}}}function m(v){if(!Pl(v))throw new Error(J(7));if(typeof v.type>"u")throw new Error(J(8));if(p)throw new Error(J(9));try{p=!0,i=a(i,v)}finally{p=!1}for(var R=l=s,E=0;E<R.length;E++){var N=R[E];N()}return v}function b(v){if(typeof v!="function")throw new Error(J(10));a=v,m({type:Go.REPLACE})}function g(){var v,R=h;return v={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(J(11));function L(){N.next&&N.next(y())}L();var $=R(L);return{unsubscribe:$}}},v[cc]=function(){return this},v}return m({type:Go.INIT}),n={dispatch:m,subscribe:h,getState:y,replaceReducer:b},n[cc]=g,n}function Il(e){Object.keys(e).forEach(function(o){var r=e[o],n=r(void 0,{type:Go.INIT});if(typeof n>"u")throw new Error(J(12));if(typeof r(void 0,{type:Go.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(J(13))})}function lc(e){for(var o=Object.keys(e),r={},n=0;n<o.length;n++){var a=o[n];typeof e[a]=="function"&&(r[a]=e[a])}var i=Object.keys(r),l,s;try{Il(r)}catch(p){s=p}return function(f,y){if(f===void 0&&(f={}),s)throw s;if(0)var h;for(var m=!1,b={},g=0;g<i.length;g++){var v=i[g],R=r[v],E=f[v],N=R(E,y);if(typeof N>"u"){var L=y&&y.type;throw new Error(J(14))}b[v]=N,m=m||N!==E}return m=m||i.length!==Object.keys(f).length,m?b:f}}function _e(){for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return o.length===0?function(n){return n}:o.length===1?o[0]:o.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function sc(){for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(J(15))},l={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},s=o.map(function(p){return p(l)});return i=_e.apply(void 0,s)(a.dispatch),Fo(Fo({},a),{},{dispatch:i})}}}function dc(e){var o=function(n){var a=n.dispatch,i=n.getState;return function(l){return function(s){return typeof s=="function"?s(a,i,e):l(s)}}};return o}var fc=dc();fc.withExtraArgument=dc;var Xr=fc;var mc=function(){var e=function(o,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},e(o,r)};return function(o,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(o,r);function n(){this.constructor=o}o.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),kl=function(e,o){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(f){return function(y){return p([f,y])}}function p(f){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=f[0]&2?a.return:f[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,f[1])).done)return i;switch(a=0,i&&(f=[f[0]&2,i.value]),f[0]){case 0:case 1:i=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,a=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!i||f[1]>i[0]&&f[1]<i[3])){r.label=f[1];break}if(f[0]===6&&r.label<i[1]){r.label=i[1],i=f;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(f);break}i[2]&&r.ops.pop(),r.trys.pop();continue}f=o.call(e,r)}catch(y){f=[6,y],a=0}finally{n=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},We=function(e,o){for(var r=0,n=o.length,a=e.length;r<n;r++,a++)e[a]=o[r];return e},$l=Object.defineProperty,Tl=Object.defineProperties,Bl=Object.getOwnPropertyDescriptors,pc=Object.getOwnPropertySymbols,_l=Object.prototype.hasOwnProperty,Wl=Object.prototype.propertyIsEnumerable,uc=function(e,o,r){return o in e?$l(e,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[o]=r},oe=function(e,o){for(var r in o||(o={}))_l.call(o,r)&&uc(e,r,o[r]);if(pc)for(var n=0,a=pc(o);n<a.length;n++){var r=a[n];Wl.call(o,r)&&uc(e,r,o[r])}return e},Jr=function(e,o){return Tl(e,Bl(o))},Dl=function(e,o,r){return new Promise(function(n,a){var i=function(p){try{s(r.next(p))}catch(f){a(f)}},l=function(p){try{s(r.throw(p))}catch(f){a(f)}},s=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(i,l)};s((r=r.apply(e,o)).next())})};var Ml=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?_e:_e.apply(null,arguments)},fm=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function zl(e){if(typeof e!="object"||e===null)return!1;var o=Object.getPrototypeOf(e);if(o===null)return!0;for(var r=o;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return o===r}var Ul=function(e){mc(o,e);function o(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,o.prototype),a}return Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},o.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(o.bind.apply(o,We([void 0],r[0].concat(this)))):new(o.bind.apply(o,We([void 0],r.concat(this))))},o}(Array),Hl=function(e){mc(o,e);function o(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,o.prototype),a}return Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},o.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(o.bind.apply(o,We([void 0],r[0].concat(this)))):new(o.bind.apply(o,We([void 0],r.concat(this))))},o}(Array);function en(e){return wt(e)?Ho(e,function(){}):e}function Fl(e){return typeof e=="boolean"}function Gl(){return function(o){return jl(o)}}function jl(e){e===void 0&&(e={});var o=e.thunk,r=o===void 0?!0:o,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,l=i===void 0?!0:i,s=new Ul;if(r&&(Fl(r)?s.push(Xr):s.push(Xr.withExtraArgument(r.extraArgument))),0){if(a)var p;if(l)var f}return s}var Qr=!0;function gc(e){var o=Gl(),r=e||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,l=i===void 0?o():i,s=r.devTools,p=s===void 0?!0:s,f=r.preloadedState,y=f===void 0?void 0:f,h=r.enhancers,m=h===void 0?void 0:h,b;if(typeof a=="function")b=a;else if(zl(a))b=lc(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var g=l;if(typeof g=="function"&&(g=g(o),!Qr&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Qr&&g.some(function($){return typeof $!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=sc.apply(void 0,g),R=_e;p&&(R=Ml(oe({trace:!Qr},typeof p=="object"&&p)));var E=new Hl(v),N=E;Array.isArray(m)?N=We([v],m):typeof m=="function"&&(N=m(E));var L=R.apply(void 0,N);return qr(b,y,L)}function re(e,o){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(o){var i=o.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return oe(oe({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function bc(e){var o={},r=[],n,a={addCase:function(i,l){var s=typeof i=="string"?i:i.type;if(s in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[s]=l,a},addMatcher:function(i,l){return r.push({matcher:i,reducer:l}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[o,r,n]}function Kl(e){return typeof e=="function"}function Zl(e,o,r,n){r===void 0&&(r=[]);var a=typeof o=="function"?bc(o):[o,r,n],i=a[0],l=a[1],s=a[2],p;if(Kl(e))p=function(){return en(e())};else{var f=en(e);p=function(){return f}}function y(h,m){h===void 0&&(h=p());var b=We([i[m.type]],l.filter(function(g){var v=g.matcher;return v(m)}).map(function(g){var v=g.reducer;return v}));return b.filter(function(g){return!!g}).length===0&&(b=[s]),b.reduce(function(g,v){if(v)if(zt(g)){var R=g,E=v(R,m);return E===void 0?g:E}else{if(wt(g))return Ho(g,function(N){return v(N,m)});var E=v(g,m);if(E===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return g},h)}return y.getInitialState=p,y}function Vl(e,o){return e+"/"+o}function xc(e){var o=e.name;if(!o)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:en(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},l={},s={};a.forEach(function(y){var h=n[y],m=Vl(o,y),b,g;"reducer"in h?(b=h.reducer,g=h.prepare):b=h,i[y]=b,l[m]=b,s[y]=g?re(m,g):re(m)});function p(){var y=typeof e.extraReducers=="function"?bc(e.extraReducers):[e.extraReducers],h=y[0],m=h===void 0?{}:h,b=y[1],g=b===void 0?[]:b,v=y[2],R=v===void 0?void 0:v,E=oe(oe({},m),l);return Zl(r,function(N){for(var L in E)N.addCase(L,E[L]);for(var $=0,T=g;$<T.length;$++){var mt=T[$];N.addMatcher(mt.matcher,mt.reducer)}R&&N.addDefaultCase(R)})}var f;return{name:o,reducer:function(y,h){return f||(f=p()),f(y,h)},actions:s,caseReducers:i,getInitialState:function(){return f||(f=p()),f.getInitialState()}}}var Yl="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",ql=function(e){e===void 0&&(e=21);for(var o="",r=e;r--;)o+=Yl[Math.random()*64|0];return o},Xl=["name","message","stack","code"],tn=function(){function e(o,r){this.payload=o,this.meta=r}return e}(),yc=function(){function e(o,r){this.payload=o,this.meta=r}return e}(),Jl=function(e){if(typeof e=="object"&&e!==null){for(var o={},r=0,n=Xl;r<n.length;r++){var a=n[r];typeof e[a]=="string"&&(o[a]=e[a])}return o}return{message:String(e)}},hm=function(){function e(o,r,n){var a=re(o+"/fulfilled",function(y,h,m,b){return{payload:y,meta:Jr(oe({},b||{}),{arg:m,requestId:h,requestStatus:"fulfilled"})}}),i=re(o+"/pending",function(y,h,m){return{payload:void 0,meta:Jr(oe({},m||{}),{arg:h,requestId:y,requestStatus:"pending"})}}),l=re(o+"/rejected",function(y,h,m,b,g){return{payload:b,error:(n&&n.serializeError||Jl)(y||"Rejected"),meta:Jr(oe({},g||{}),{arg:m,requestId:h,rejectedWithValue:!!b,requestStatus:"rejected",aborted:y?.name==="AbortError",condition:y?.name==="ConditionError"})}}),s=!1,p=typeof AbortController<"u"?AbortController:function(){function y(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return y.prototype.abort=function(){},y}();function f(y){return function(h,m,b){var g=n?.idGenerator?n.idGenerator(y):ql(),v=new p,R,E=!1;function N($){R=$,v.abort()}var L=function(){return Dl(this,null,function(){var $,T,mt,Ht,ar,Ft,dt;return kl(this,function(gt){switch(gt.label){case 0:return gt.trys.push([0,4,,5]),Ht=($=n?.condition)==null?void 0:$.call(n,y,{getState:m,extra:b}),ts(Ht)?[4,Ht]:[3,2];case 1:Ht=gt.sent(),gt.label=2;case 2:if(Ht===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,ar=new Promise(function(ft,ne){return v.signal.addEventListener("abort",function(){return ne({name:"AbortError",message:R||"Aborted"})})}),h(i(g,y,(T=n?.getPendingMeta)==null?void 0:T.call(n,{requestId:g,arg:y},{getState:m,extra:b}))),[4,Promise.race([ar,Promise.resolve(r(y,{dispatch:h,getState:m,extra:b,requestId:g,signal:v.signal,abort:N,rejectWithValue:function(ft,ne){return new tn(ft,ne)},fulfillWithValue:function(ft,ne){return new yc(ft,ne)}})).then(function(ft){if(ft instanceof tn)throw ft;return ft instanceof yc?a(ft.payload,g,y,ft.meta):a(ft,g,y)})])];case 3:return mt=gt.sent(),[3,5];case 4:return Ft=gt.sent(),mt=Ft instanceof tn?l(null,g,y,Ft.payload,Ft.meta):l(Ft,g,y),[3,5];case 5:return dt=n&&!n.dispatchConditionRejection&&l.match(mt)&&mt.meta.condition,dt||h(mt),[2,mt]}})})}();return Object.assign(L,{abort:N,requestId:g,arg:y,unwrap:function(){return L.then(Ql)}})}}return Object.assign(f,{pending:i,rejected:l,fulfilled:a,typePrefix:o})}return e.withTypes=function(){return e},e}();function Ql(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function ts(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var vc="listener",Sc="completed",Oc="cancelled",mm="task-"+Oc,gm="task-"+Sc,bm=vc+"-"+Oc,xm=vc+"-"+Sc;var on="listenerMiddleware";var vm=re(on+"/add"),Sm=re(on+"/removeAll"),Om=re(on+"/remove");var hc,Cm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(hc||(hc=Promise.resolve())).then(e).catch(function(o){return setTimeout(function(){throw o},0)})},es=function(e){return function(o){setTimeout(o,e)}},wm=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:es(10);rc();window.ftReduxStores||(window.ftReduxStores={});var Cc=class e{static get(o){var r;let n=typeof o=="string"?o:o.name,a=typeof o=="string"?void 0:o,i=window.ftReduxStores[n];if(oo(i))return i;if(a==null)return;let l=xc({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),s=gc({reducer:(p,f)=>f.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...f.overwrites}:l.reducer(p,f)});return window.ftReduxStores[a.name]=new e(l,s)}constructor(o,r){this.reduxSlice=o,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new $o,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,a,i)=>{let l=a,s=n[l];return s?(...p)=>{let f=s(...p);return this.reduxStore.dispatch(f),f}:p=>{this.setState({[l]:p})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(o){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(o).join("_"),overwrites:o})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(o){throw new Error("Not implemented yet.")}subscribe(o){return this.reduxStore.subscribe(o)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Vo=S(I());var jo=class extends Yt{async listMySearches(){let o=k.getState().session;return o?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(o.profile.userId),5*60*1e3):[]}};var Ko=class extends Yt{async listMyBookmarks(){let o=k.getState().session;return o?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(o.profile.userId),5*60*1e3):[]}};var rs="ft-user-assets",Zo=Vo.FtReduxStore.get({name:rs,initialState:{savedSearches:void 0,bookmarks:void 0}}),rn=class{constructor(){this.currentSession=k.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ko,this.savedSearchesService=new jo,k.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var o;let{session:r}=k.getState();(0,Vo.deepEqual)((o=this.currentSession)===null||o===void 0?void 0:o.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Zo.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Zo.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let o=await this.savedSearchesService.listMySearches();Zo.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var o;if(this.bookmarksAreUsed){let r=!((o=this.currentSession)===null||o===void 0)&&o.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Zo.actions.bookmarks(r)}}},Qm=new rn;var nn=class{addCommand(o,r=!1){k.commands.add(o,r)}consumeCommand(o){return k.commands.consume(o)}};window.FluidTopicsAppInfoStoreService=new nn;var wc=S(I()),an=class{highlightHtml(o,r,n){(0,wc.highlightHtml)(o,r,n)}};window.FluidTopicsHighlightHtmlService=new an;var Ec=S(I());var cn=class{isDate(o){var r,n,a,i;return(i=(a=((n=(r=k.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(s=>s.key===o))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(o,r){var n,a,i;return Ec.DateFormatter.format(o,(n=r?.locale)!==null&&n!==void 0?n:k.getState().uiLocale,(a=r?.longFormat)!==null&&a!==void 0?a:!1,(i=r?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new cn;(0,Nc.customElement)("ft-app-context")(H);var Rc=S(j()),ns=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},ln=Symbol("i18nAttributes"),sn=Symbol("i18nListAttributes"),Yo=Symbol("i18nProperties"),co=Symbol("i18nUnsubs");function Jo(e){var o;class r extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Ti:ue}i18n(a,i,...l){var s;if(typeof a=="string")return this.i18nService.resolveMessage(a,i,...l);let p=(s=a.args)!==null&&s!==void 0?s:a.argsProvider?a.argsProvider(this):[];return this.i18nService.resolveMessage(a.context,a.key,...p)}onI18nUpdate(a){var i,l,s;(i=this[ln])===null||i===void 0||i.forEach((p,f)=>{let y=this.getI18nAttributeValue(f);y&&(this[f]=this.getI18nAttributeMessage(y,p,a))}),(l=this[sn])===null||l===void 0||l.forEach((p,f)=>{let y=this.getI18nListAttributeValues(f);this[f]=y?.map(h=>this.getI18nAttributeMessage(h,p,a))}),(s=this[Yo])===null||s===void 0||s.forEach((p,f)=>{p.context.toLowerCase()===a.toLowerCase()&&(this[f]=this.i18n(p))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(a,i){return{...a,message:this.i18n({context:a.context,key:a.key,...i})}}getI18nAttributeMessage(a,i,l){var s;let p=!l||((s=a.context)===null||s===void 0?void 0:s.toLowerCase())===l.toLowerCase();return a.context&&a.key&&p?this.buildI18nAttributeMessage(a,i):a}update(a){var i,l,s;super.update(a),(i=this[ln])===null||i===void 0||i.forEach((p,f)=>{let y=this.getI18nAttributeValue(f);y?.context&&y.key&&(a.has(f)||p.argsProvider!=null)&&(this.addI18nContextIfNeeded(y,a,f),this[f]=this.getI18nAttributeMessage(y,p))}),(l=this[sn])===null||l===void 0||l.forEach((p,f)=>{let y=this.getI18nListAttributeValues(f);(a.has(f)||p.argsProvider!=null)&&(this[f]=y?.map(h=>(this.addI18nContextIfNeeded(h,a,f),this.getI18nAttributeMessage(h,p))))}),(s=this[Yo])===null||s===void 0||s.forEach((p,f)=>{p.argsProvider!=null&&(this[f]=this.i18n(p))})}getI18nAttributeValue(a){return this[a]}getI18nListAttributeValues(a){return this[a]}addI18nContextIfNeeded(a,i,l){a.context&&a.key&&i.has(l)&&this.addI18nContext(a.context)}connectedCallback(){var a,i,l,s,p,f;super.connectedCallback(),new Set([...(i=(a=this[Yo])===null||a===void 0?void 0:a.values())!==null&&i!==void 0?i:[],...[...(s=(l=this[ln])===null||l===void 0?void 0:l.keys())!==null&&s!==void 0?s:[]].map(y=>this.getI18nAttributeValue(y)),...[...(f=(p=this[sn])===null||p===void 0?void 0:p.keys())!==null&&f!==void 0?f:[]].flatMap(y=>this.getI18nListAttributeValues(y))].map(y=>y?.context)).forEach(y=>y&&this.addI18nMessages(y))}addI18nMessages(a,i){a=a.toLowerCase(),this[co].has(a)||this[co].set(a,this.i18nService.subscribe(a,()=>this.onI18nUpdate(a))),this.i18nService.prepareContext(a,i??{}),this.onI18nUpdate(a)}addI18nContext(a,i){this.addI18nMessages(typeof a=="string"?a:a.name,i)}disconnectedCallback(){super.disconnectedCallback(),this[co].forEach(a=>a()),this[co].clear()}}return o=co,ns([(0,Rc.property)({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var Ac=class extends Jo(Xo.FtLitElement){},qo=class extends Jo(Xo.FtLitElementRedux){};var lo=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},Et=class extends qo{constructor(){super(),this.editorMode=!1,this.addStore(k)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Qo.nothing:Qo.html`
1118
+ <span class="ft-i18n">
1119
+ ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1120
+ </span>
1121
+ `}update(o){var r;super.update(o),["context","key","defaultMessage"].some(n=>o.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Et.elementDefinitions={};Et.styles=Pi;lo([(0,er.redux)()],Et.prototype,"editorMode",void 0);lo([(0,tr.property)()],Et.prototype,"context",void 0);lo([(0,tr.property)()],Et.prototype,"key",void 0);lo([(0,er.jsonProperty)([])],Et.prototype,"args",void 0);lo([(0,tr.property)()],Et.prototype,"defaultMessage",void 0);var or=class e{static build(o){return new e(o)}static fromGwt(o){return new e(o)}constructor(o){this.name=o,this.properties=new Proxy({},{get:(r,n)=>{let a=n;return i=>({context:this.name,key:a,args:typeof i=="function"?void 0:i,argsProvider:typeof i=="function"?i:void 0})}}),this.messages=new Proxy({},{get:(r,n)=>(...a)=>ue.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(r,n)=>ue.resolveRawMessage(this.name,n)})}};(0,Lc.customElement)("ft-i18n")(Et);var dn=or.build("dsModal"),Pc={closeModal:"Close modal"};var pn=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},fn=class extends CustomEvent{constructor(){super("close",{composed:!0,bubbles:!0})}},Nt=class extends Jo(De.FtdsBase){constructor(){super(),this.heading="",this.size=pt.small,this.addI18nContext(dn,Pc)}render(){let o={"ftds-modal":!0,...this.getDesignSystemBaseClasses()};return so.html`
1122
+ <div class="${(0,Ic.classMap)(o)}" part="container">
1123
+ <dialog part="dialog"
1124
+ @click="${this.onDialogClick}"
1125
+ @close="${()=>this.dispatchEvent(new fn)}">
1126
+ <div part="inner-container">
1127
+ <div part="header">
1128
+ ${this.icon?so.html`
1129
+ <ft-icon part="icon" value="${this.icon}"/>
1130
+ `:so.nothing}
1131
+ <ft-typography part="heading" variant="${xt.body1semibold}">
1132
+ ${this.heading}
1133
+ </ft-typography>
1134
+ <ftds-button part="closing-button"
1135
+ size="${pt.large}"
1136
+ icon="${yt.CLOSE}"
1137
+ tertiary
1138
+ family="${De.DesignSystemFamily.neutral}"
1139
+ label="${dn.messages.closeModal()}"
1140
+ @click="${this.close}">
1141
+ </ftds-button>
1142
+ </div>
1143
+ <div part="body">
1144
+ <div part="content">
1145
+ <slot></slot>
1146
+ </div>
1147
+ <div part="actions">
1148
+ <slot name="actions"></slot>
1149
+ </div>
1150
+ </div>
1151
+ </div>
1152
+ </dialog>
1153
+ </div>
1154
+ `}open(){this.dialog.showModal()}close(){this.dialog.close()}disconnectedCallback(){super.disconnectedCallback(),this.close()}onDialogClick(o){(0,De.eventPathContainsMatchingElement)(o,["[part='inner-container']"],this)||this.close()}};Nt.elementDefinitions={"ftds-button":et,"ft-typography":tt,"ft-icon":it};Nt.styles=Ri;pn([(0,fo.property)({type:String})],Nt.prototype,"heading",void 0);pn([(0,fo.property)({type:String})],Nt.prototype,"icon",void 0);pn([(0,fo.query)("dialog")],Nt.prototype,"dialog",void 0);var rr=S(I()),$c=S(B());var kc=xt.body2regular;var Ut=S(j());var me=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},lt=class extends rr.FtLitElement{constructor(){super(...arguments),this.confirmText="Confirm",this.cancelText="Cancel",this.confirmIcon=yt.CHECK,this.cancelIcon=yt.CLOSE}render(){return $c.html`
1155
+ <ftds-modal
1156
+ heading="${this.heading}"
1157
+ size="${pt.small}"
1158
+ @close="${this.onCancel}"
1159
+ >
1160
+ <ft-typography variant="${kc}">
1161
+ ${this.text}
1162
+ </ft-typography>
1163
+ <ftds-button slot="actions"
1164
+ tertiary
1165
+ family="${rr.DesignSystemFamily.neutral}"
1166
+ size="${pt.large}"
1167
+ icon="${this.cancelIcon}"
1168
+ @click="${this.onCancel}">
1169
+ ${this.cancelText}
1170
+ </ftds-button>
1171
+ <ftds-button slot="actions"
1172
+ primary
1173
+ size="${pt.large}"
1174
+ @click="${this.onConfirm}"
1175
+ icon="${this.confirmIcon}">
1176
+ ${this.confirmText}
1177
+ </ftds-button>
1178
+ </ftds-modal>
1179
+ `}async askConfirmation(){this.modal.open();let o=await new Promise(r=>{this.promiseResolve=r});return this.modal.close(),o}onConfirm(){var o;(o=this.promiseResolve)===null||o===void 0||o.call(this,!0),this.promiseResolve=void 0}onCancel(){var o;(o=this.promiseResolve)===null||o===void 0||o.call(this,!1),this.promiseResolve=void 0}};lt.elementDefinitions={"ftds-modal":Nt,"ft-typography":tt,"ftds-button":et};me([(0,Ut.property)({type:String})],lt.prototype,"heading",void 0);me([(0,Ut.property)({type:String})],lt.prototype,"text",void 0);me([(0,Ut.property)({type:String})],lt.prototype,"confirmText",void 0);me([(0,Ut.property)({type:String})],lt.prototype,"cancelText",void 0);me([(0,Ut.property)({type:String})],lt.prototype,"confirmIcon",void 0);me([(0,Ut.property)({type:String})],lt.prototype,"cancelIcon",void 0);me([(0,Ut.query)("ftds-modal")],lt.prototype,"modal",void 0);(0,un.customElement)("ftds-modal")(Nt);(0,un.customElement)("ftds-modal-confirm")(lt);var st=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},po=class extends CustomEvent{constructor(){super("confirm")}},Y=class extends Tc.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.buttonIcon=yt.CLOSE,this.heading="",this.text="",this.confirmText="",this.cancelText="",this.confirmIcon=yt.CHECK,this.cancelIcon=yt.CLOSE,this.loading=!1,this.disabled=!1}render(){return nr.html`
1180
+ <ftds-button icon=${this.buttonIcon}
1181
+ ?primary=${this.primary}
1182
+ ?secondary=${this.secondary}
1183
+ ?loading=${this.loading}
1184
+ ?disabled=${this.disabled}
1185
+ @click=${()=>this.askConfirmation()}>
1186
+ ${this.buttonText}
1187
+ </ftds-button>
1188
+ <ftds-modal-confirm heading=${this.heading}
1189
+ text=${this.text}
1190
+ confirmText=${this.confirmText}
1191
+ confirmIcon=${this.confirmIcon}
1192
+ cancelText=${this.cancelText}
1193
+ cancelIcon=${this.cancelIcon}
1194
+ ></ftds-modal-confirm>
1195
+ `}async askConfirmation(){await this.modal.askConfirmation()&&this.dispatchEvent(new po)}};Y.elementDefinitions={"ftds-button":et,"ftds-modal-confirm":lt};Y.styles=nr.css``;st([(0,q.property)({type:Boolean})],Y.prototype,"primary",void 0);st([(0,q.property)({type:Boolean})],Y.prototype,"secondary",void 0);st([(0,q.property)()],Y.prototype,"buttonText",void 0);st([(0,q.property)()],Y.prototype,"buttonIcon",void 0);st([(0,q.property)()],Y.prototype,"heading",void 0);st([(0,q.property)()],Y.prototype,"text",void 0);st([(0,q.property)()],Y.prototype,"confirmText",void 0);st([(0,q.property)()],Y.prototype,"cancelText",void 0);st([(0,q.property)()],Y.prototype,"confirmIcon",void 0);st([(0,q.property)()],Y.prototype,"cancelIcon",void 0);st([(0,q.property)({type:Boolean})],Y.prototype,"loading",void 0);st([(0,q.property)({type:Boolean})],Y.prototype,"disabled",void 0);st([(0,q.query)("ftds-modal-confirm")],Y.prototype,"modal",void 0);Y=st([(0,q.customElement)("ftds-confirm-button")],Y);var Bc=class{constructor(o){this.confirmButton=o}clickAndConfirm(){this.confirmButton.dispatchEvent(new po)}};})();
1196
+ /*! Bundled license information:
1197
+
1198
+ lit-html/lit-html.js:
1199
+ (**
1200
+ * @license
1201
+ * Copyright 2017 Google LLC
1202
+ * SPDX-License-Identifier: BSD-3-Clause
1203
+ *)
1204
+
1205
+ lit-html/static.js:
1206
+ (**
1207
+ * @license
1208
+ * Copyright 2020 Google LLC
1209
+ * SPDX-License-Identifier: BSD-3-Clause
1210
+ *)
1211
+
1212
+ @lit/reactive-element/css-tag.js:
1213
+ (**
1214
+ * @license
1215
+ * Copyright 2019 Google LLC
1216
+ * SPDX-License-Identifier: BSD-3-Clause
1217
+ *)
1218
+ */