@fluid-topics/ft-reader-toc 1.1.70 → 1.1.71
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.
- package/build/ft-reader-toc.light.js +311 -300
- package/build/ft-reader-toc.min.js +506 -443
- package/package.json +7 -7
|
@@ -1,145 +1,138 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* @license
|
|
4
|
-
* Copyright 2017 Google LLC
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litStatic$:t,r:V}),J=new Map,Q=(t=>(o,...e)=>{const r=e.length;let a,i;const n=[],l=[];let c,p=0,s=!1;for(;p<r;){for(c=o[p];p<r&&void 0!==(i=e[p],a=X(i));)c+=a+o[++p],s=!0;p!==r&&l.push(i),n.push(c),p++}if(p===r&&n.push(o[r]),s){const t=n.join("$$lit$$");void 0===(o=J.get(t))&&(n.raw=n,J.set(t,o=n)),e=l}return t(o,...e)})(R);var tt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(tt||(tt={}));const ot=t=>"string"==typeof t?e.unsafeCSS(t):t;class et{static create(t,o,r,a){const i=t=>ot(null!=t?t:a),n=e.css`var(${ot(t)}, ${i(a)})`;return n.name=t,n.description=o,n.category=r,n.defaultValue=a,n.defaultCssValue=i,n.get=o=>e.css`var(${ot(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>a,n}static extend(t,o,r,a){const i=t=>r.get(null!=t?t:a),n=e.css`var(${ot(t)}, ${i(a)})`;return n.name=t,n.description=o,n.category=r.category,n.fallbackVariable=r,n.defaultValue=a,n.defaultCssValue=i,n.get=o=>e.css`var(${ot(t)}, ${i(o)})`,n.breadcrumb=()=>[r.name,...r.breadcrumb()],n.lastResortDefaultValue=()=>null!=a?a:r.lastResortDefaultValue(),n}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):ot(null!=o?o:t.lastResortDefaultValue()),a=e.css`var(${ot(t.name)}, ${r(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=r,a.get=o=>e.css`var(${ot(t.name)}, ${r(o)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}}const rt={colorWhite:et.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:et.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:et.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:et.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:et.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:et.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:et.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:et.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:et.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:et.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:et.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:et.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:et.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:et.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:et.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:et.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:et.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:et.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:et.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:et.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:et.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:et.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:et.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:et.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:et.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:et.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:et.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:et.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:et.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:et.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:et.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:et.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:et.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:et.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:et.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:et.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:et.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:et.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:et.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:et.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:et.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:et.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:et.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:et.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:et.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:et.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:et.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:et.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:et.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:et.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:et.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:et.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:et.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:et.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:et.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:et.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:et.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:et.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:et.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:et.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:et.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:et.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:et.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:et.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:et.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:et.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:et.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:et.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:et.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:et.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:et.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:et.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:et.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:et.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:et.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:et.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:et.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:et.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:et.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:et.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:et.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:et.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:et.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:et.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:et.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:et.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:et.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:et.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:et.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:et.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:et.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:et.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:et.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:et.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:et.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:et.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:et.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:et.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:et.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:et.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:et.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:et.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:et.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:et.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:et.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:et.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:et.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:et.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:et.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:et.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:et.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:et.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:et.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:et.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:et.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:et.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:et.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:et.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:et.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:et.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:et.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:et.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:et.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:et.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:et.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:et.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:et.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:et.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:et.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:et.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:et.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:et.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:et.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:et.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:et.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:et.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:et.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:et.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:et.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:et.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:et.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:et.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:et.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:et.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:et.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:et.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:et.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:et.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:et.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:et.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:et.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:et.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:et.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:et.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:et.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:et.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:et.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:et.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:et.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:et.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:et.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:et.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:et.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:et.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:et.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:et.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:et.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:et.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:et.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:et.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:et.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:et.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:et.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:et.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:et.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:et.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:et.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:et.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:et.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:et.create("--ft-icon-size-6","","SIZE","48px"),opacity0:et.create("--ft-opacity-0","","NUMBER","0"),opacity8:et.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:et.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:et.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:et.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:et.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:et.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:et.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:et.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:et.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:et.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:et.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:et.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:et.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:et.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)")},at={display:{fontFamily:et.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:et.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:et.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:et.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:et.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:et.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:et.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:et.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:et.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:et.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:et.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:et.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:et.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:et.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:et.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:et.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-medium-underline":{fontFamily:et.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:et.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:et.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},"body-2-semibold":{fontFamily:et.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:et.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:et.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:et.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:et.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:et.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:et.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:et.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:et.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:et.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:et.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:et.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:et.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:et.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:et.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:et.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:et.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:et.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:et.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},it={backgroundActionPrimary:et.extend("--ft-background-action-primary","Used as backgorund of primary action components.",rt.colorBrand0),backgroundErrorSubtle:et.extend("--ft-background-error-subtle","Used as background of subtle error components.",rt.colorRed10),backgroundInfoSubtle:et.extend("--ft-background-info-subtle","Used as background of subtle information components.",rt.colorCyan10),backgroundWarningSubtle:et.extend("--ft-background-warning-subtle","Used as background of subtle information components.",rt.colorOrange10),backgroundSuccessSubtle:et.extend("--ft-background-success-subtle","Used as background of subtle success components.",rt.colorGreen10),backgroundGlobalSurface:et.extend("--ft-background-global-surface","Used as app background.",rt.colorWhite),backgroundGlobalOnSurface:et.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",rt.colorGray10),backgroundGlobalOnSurfaceDark:et.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",rt.colorGray30),contentActionPrimary:et.extend("--ft-content-action-primary","Used on label of primary action on light surface.",rt.colorBrand0),contentWarningPrimary:et.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",rt.colorOrange200),contentWarningIconOnly:et.extend("--ft-content-warning-icon-only","Used on warning status icons alone",rt.colorOrange0),contentErrorPrimary:et.extend("--ft-content-error-primary","Used on label of error messages on light surface.",rt.colorRed0),contentErrorIconOnly:et.extend("--ft-content-error-icon-only","Used on error status icons alone",rt.colorRed70),contentInfoPrimary:et.extend("--ft-content-info-primary","Used on label of information messages on light surface.",rt.colorCyan200),contentInfoIconOnly:et.extend("--ft-content-info-icon-only","Used on info status icons alone",rt.colorCyan0),contentSuccessPrimary:et.extend("--ft-content-success-primary","Used on label of success messages on light surface.",rt.colorGreen200),contentSuccessIconOnly:et.extend("--ft-content-success-icon-only","Used on success status icons alone",rt.colorGreen0),contentGlobalPrimary:et.extend("--ft-content-global-primary","Used for main content on the page.",rt.colorGray500),contentGlobalSecondary:et.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",rt.colorGray200),contentGlobalSubtle:et.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",rt.colorGray0),contentGlobalOnColor:et.extend("--ft-content-global-on-color","Used for content on a dominant color.",rt.colorWhite),borderActionPrimary:et.extend("--ft-border-action-primary","Used as border for primary action components.",rt.colorBrand0),borderActionFocusRing:et.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",rt.colorCyan0),borderWarningPrimary:et.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",rt.colorOrange200),borderWarningSubtle:et.extend("--ft-border-warning-subtle","Used as border for warning components.",rt.colorOrange30),borderSuccessPrimary:et.extend("--ft-border-success-primary","Used as border for success buttons.",rt.colorGreen200),borderSuccessSubtle:et.extend("--ft-border-success-subtle","Used as border for success components.",rt.colorGreen30),borderErrorPrimary:et.extend("--ft-border-error-primary","Used as border for text fields in error states.",rt.colorRed0),borderErrorSubtle:et.extend("--ft-border-error-subtle","Used as border for error components.",rt.colorRed30),borderInfoPrimary:et.extend("--ft-border-info-primary","Used as border for buttons in info color.",rt.colorCyan200),borderInfoSubtle:et.extend("--ft-border-info-subtle","Used as border for information components.",rt.colorCyan30),borderGlobalPrimary:et.extend("--ft-border-global-primary","Used as border for element like input.",rt.colorGray50),borderGlobalSubtle:et.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",rt.colorGray30),borderInputPrimary:et.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",rt.colorGray80)},nt={largeHeight:et.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:et.extend("--ft-button-large-horizontal-padding","",rt.spacing4),largeGap:et.extend("--ft-button-large-gap","",rt.spacing2),largeBorderRadius:et.extend("--ft-button-large-border-radius","",rt.borderRadiusS),largeIconSize:et.extend("--ft-button-large-icon-size","",rt.iconSize3),largeBorderWidth:et.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:et.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:et.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:et.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:et.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:et.extend("--ft-button-small-horizontal-padding","",rt.spacing3),smallGap:et.extend("--ft-button-small-gap","",rt.spacing2),smallBorderRadius:et.extend("--ft-button-small-border-radius","",rt.borderRadiusS),smallIconSize:et.extend("--ft-button-small-icon-size","",rt.iconSize2),smallBorderWidth:et.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:et.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:et.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:et.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:et.extend("--ft-button-primary-background-color","",it.backgroundActionPrimary),primaryColor:et.extend("--ft-button-primary-color","",it.contentGlobalOnColor),primaryIconColor:et.extend("--ft-button-primary-icon-color","",it.contentGlobalOnColor),primaryStateLayerColor:et.extend("--ft-button-primary-state-layer-color","",it.contentGlobalOnColor),primaryHoverStateLayerOpacity:et.extend("--ft-button-primary-hover-state-layer-opacity","",rt.opacity16),primaryFocusStateLayerOpacity:et.extend("--ft-button-primary-focus-state-layer-opacity","",rt.opacity16),primaryActiveStateLayerOpacity:et.extend("--ft-button-primary-active-state-layer-opacity","",rt.opacity24),primaryDisabledComponentOpacity:et.extend("--ft-button-primary-disabled-component-opacity","",rt.opacity40),focusFocusRingColor:et.extend("--ft-button-focus-focus-ring-color","",it.borderActionFocusRing),tertiaryBackgroundColor:et.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:et.extend("--ft-button-tertiary-color","",it.contentActionPrimary),tertiaryIconColor:et.extend("--ft-button-tertiary-icon-color","",it.contentActionPrimary),tertiaryStateLayerColor:et.extend("--ft-button-tertiary-state-layer-color","",it.contentActionPrimary),tertiaryHoverStateLayerOpacity:et.extend("--ft-button-tertiary-hover-state-layer-opacity","",rt.opacity8),tertiaryFocusStateLayerOpacity:et.extend("--ft-button-tertiary-focus-state-layer-opacity","",rt.opacity8),tertiaryActiveStateLayerOpacity:et.extend("--ft-button-tertiary-active-state-layer-opacity","",rt.opacity16),tertiaryDisabledComponentOpacity:et.extend("--ft-button-tertiary-disabled-component-opacity","",rt.opacity40),secondaryBackgroundColor:et.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:et.extend("--ft-button-secondary-color","",it.contentActionPrimary),secondaryIconColor:et.extend("--ft-button-secondary-icon-color","",it.contentActionPrimary),secondaryStateLayerColor:et.extend("--ft-button-secondary-state-layer-color","",it.contentActionPrimary),secondaryHoverStateLayerOpacity:et.extend("--ft-button-secondary-hover-state-layer-opacity","",rt.opacity8),secondaryFocusStateLayerOpacity:et.extend("--ft-button-secondary-focus-state-layer-opacity","",rt.opacity8),secondaryActiveStateLayerOpacity:et.extend("--ft-button-secondary-active-state-layer-opacity","",rt.opacity16),secondaryDisabledComponentOpacity:et.extend("--ft-button-secondary-disabled-component-opacity","",rt.opacity40),secondaryBorderColor:et.extend("--ft-button-secondary-border-color","",it.borderActionPrimary),neutralBackgroundColor:et.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:et.extend("--ft-button-neutral-icon-color","",it.contentGlobalSecondary),neutralColor:et.extend("--ft-button-neutral-color","",it.contentGlobalSecondary),neutralStateLayerColor:et.extend("--ft-button-neutral-state-layer-color","",it.contentGlobalSecondary),neutralHoverStateLayerOpacity:et.extend("--ft-button-neutral-hover-state-layer-opacity","",rt.opacity8),neutralFocusStateLayerOpacity:et.extend("--ft-button-neutral-focus-state-layer-opacity","",rt.opacity8),neutralActiveStateLayerOpacity:et.extend("--ft-button-neutral-active-state-layer-opacity","",rt.opacity16),neutralDisabledComponentOpacity:et.extend("--ft-button-neutral-disabled-component-opacity","",rt.opacity40)};et.extend("--ft-banner-icon-size","",rt.iconSize5),et.create("--ft-banner-border-width","","SIZE","1px"),et.extend("--ft-banner-horizontal-padding","",rt.spacing6),et.extend("--ft-banner-vertical-padding","",rt.spacing6),et.extend("--ft-banner-horizontal-side-gap","",rt.spacing6),et.extend("--ft-banner-horizontal-mobile-gap","",rt.spacing4),et.extend("--ft-banner-vertical-mobile-gap","",rt.spacing6),et.extend("--ft-banner-horizontal-middle-gap","",rt.spacing20),et.extend("--ft-banner-info-background-color","",it.backgroundInfoSubtle),et.extend("--ft-banner-info-color","",it.contentInfoPrimary),et.extend("--ft-banner-info-icon-color","",it.contentInfoIconOnly),et.extend("--ft-breadcrumb-horizontal-gap","",rt.spacing1),et.extend("--ft-breadcrumb-vertical-gap","",rt.spacing2),et.extend("--ft-breadcrumb-current-element-color","",it.contentGlobalPrimary),et.extend("--ft-breadcrumb-icon-color","",it.contentGlobalSubtle),et.extend("--ft-page-header-horizontal-padding","",rt.spacing12),et.extend("--ft-page-header-horizontal-gap","",rt.spacing4),et.extend("--ft-page-header-vertical-gap","",rt.spacing2),et.extend("--ft-page-header-classic-vertical-padding","",rt.spacing6),et.extend("--ft-page-header-multiline-vertical-padding","",rt.spacing4),et.extend("--ft-page-header-inline-vertical-padding","",rt.spacing2),et.extend("--ft-page-header-background-color","",rt.colorWhite),et.extend("--ft-page-header-bottom-border-color","",it.borderGlobalSubtle),et.extend("--ft-page-header-title-color","",it.contentGlobalPrimary),et.extend("--ft-page-header-subtitle-color","",it.contentGlobalSecondary),et.create("--ft-modal-small-container-width","","SIZE","600px"),et.create("--ft-modal-large-container-width","","SIZE","900px"),et.extend("--ft-modal-overlay-background-color","",rt.colorGray700),et.extend("--ft-modal-overlay-opacity","",rt.opacity40),et.extend("--ft-modal-shadow","",rt.shadowElevation03),et.extend("--ft-modal-body-background-color","",rt.colorWhite),et.extend("--ft-modal-body-color","",it.contentGlobalPrimary),et.extend("--ft-modal-body-horizontal-padding","",rt.spacing6),et.extend("--ft-modal-body-vertical-padding","",rt.spacing6),et.extend("--ft-modal-body-vertical-gap","",rt.spacing6),et.extend("--ft-modal-container-margin","",rt.spacing3),et.extend("--ft-modal-header-background-color","",it.backgroundGlobalOnSurface),et.extend("--ft-modal-header-border-color","",it.borderGlobalSubtle),et.extend("--ft-modal-header-color","",it.contentGlobalPrimary),et.extend("--ft-modal-header-trailing-icon-color","",it.contentGlobalSecondary),et.extend("--ft-modal-header-vertical-padding","",rt.spacing1),et.extend("--ft-modal-header-right-padding","",rt.spacing1),et.extend("--ft-modal-header-left-padding","",rt.spacing6),et.extend("--ft-modal-header-gap","",rt.spacing2),et.create("--ft-modal-header-border-bottom","","SIZE","1px"),et.extend("--ft-modal-border-radius","",rt.borderRadiusM),et.extend("--ft-drawer-overlay-opacity","",rt.opacity40),et.extend("--ft-drawer-shadow","",rt.shadowElevation03),et.extend("--ft-drawer-body-color","",it.contentGlobalPrimary),et.extend("--ft-drawer-body-horizontal-padding","",rt.spacing6),et.extend("--ft-drawer-body-vertical-padding","",rt.spacing6),et.extend("--ft-drawer-body-gap","",rt.spacing6),et.extend("--ft-drawer-body-background-color","",rt.colorWhite),et.extend("--ft-drawer-header-background-color","",it.backgroundGlobalOnSurface),et.extend("--ft-drawer-header-border-color","",it.borderGlobalSubtle),et.extend("--ft-drawer-header-color","",it.contentGlobalPrimary),et.extend("--ft-drawer-header-trailing-icon-color","",it.contentGlobalSecondary),et.create("--ft-drawer-header-height","","SIZE","50px"),et.extend("--ft-drawer-header-horizontal-padding","",rt.spacing2),et.create("--ft-drawer-header-border-width","","SIZE","1px"),et.extend("--ft-drawer-header-gap","",rt.spacing3),et.extend("--ft-drawer-buttons-bar-background-color","",it.backgroundGlobalOnSurface),et.extend("--ft-drawer-buttons-bar-border-color","",it.borderGlobalSubtle),et.extend("--ft-drawer-buttons-bar-color","",it.contentGlobalPrimary),et.extend("--ft-drawer-buttons-bar-horizontal-padding","",rt.spacing4),et.extend("--ft-drawer-buttons-bar-vertical-padding","",rt.spacing4),et.extend("--ft-drawer-buttons-bar-gap","",rt.spacing3),et.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),et.create("--ft-drawer-container-width","","SIZE","66%"),et.create("--ft-drawer-container-min-width","","SIZE","500px"),et.create("--ft-drawer-container-max-width","","SIZE","1000px"),et.create("--ft-drawer-container-height","","SIZE","100%"),et.extend("--ft-drawer-overlay-background-color","",rt.colorGray700),et.extend("--ft-text-input-field-horizontal-padding","",rt.spacing4),et.extend("--ft-text-input-field-horizontal-gap","",rt.spacing3),et.extend("--ft-text-input-field-vertical-gap","",rt.spacing05),et.extend("--ft-text-input-field-icon-size","",rt.iconSize3),et.create("--ft-text-input-field-height","","SIZE","50px"),et.extend("--ft-text-input-helper-horizontal-padding","",rt.spacing4),et.extend("--ft-text-input-helper-horizontal-gap","",rt.spacing1),et.extend("--ft-text-input-helper-icon-size","",rt.iconSize2),et.extend("--ft-text-input-border-radius","",rt.borderRadiusM),et.extend("--ft-text-input-background-color","",rt.colorWhite),et.extend("--ft-text-input-content-value-color","",it.contentGlobalPrimary),et.extend("--ft-text-input-trailing-icon-color","",it.contentGlobalSubtle),et.extend("--ft-text-input-label-color","",it.contentGlobalSubtle),et.extend("--ft-text-input-default-border-color","",it.borderInputPrimary),et.extend("--ft-text-input-default-helper-text-color","",it.contentGlobalSubtle),et.create("--ft-text-input-default-border-width","","SIZE","1px"),et.create("--ft-text-input-error-border-width","","SIZE","2px"),et.extend("--ft-text-input-error-border-color","",it.borderErrorPrimary),et.extend("--ft-text-input-error-helper-text-color","",it.contentErrorPrimary),et.extend("--ft-text-input-error-helper-icon-color","",it.contentErrorIconOnly),et.create("--ft-text-input-warning-border-width","","SIZE","2px"),et.create("--ft-text-input-focus-outline-width","","SIZE","2px"),et.extend("--ft-text-input-focus-focus-ring-color","",it.borderActionFocusRing),et.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),et.extend("--ft-text-input-disabled-component-opacity","",rt.opacity40),et.extend("--ft-text-area-background-color","",rt.colorWhite),et.extend("--ft-text-area-content-value-color","",it.contentGlobalPrimary),et.extend("--ft-text-area-label-color","",it.contentGlobalSubtle),et.extend("--ft-text-area-default-border-color","",it.borderInputPrimary),et.extend("--ft-text-area-default-helper-text-color","",it.contentGlobalSubtle),et.create("--ft-text-area-default-border-width","","SIZE","1px"),et.create("--ft-text-area-error-border-width","","SIZE","2px"),et.extend("--ft-text-area-error-border-color","",it.borderErrorPrimary),et.extend("--ft-text-area-error-helper-text-color","",it.contentErrorPrimary),et.extend("--ft-text-area-error-helper-icon-color","",it.contentErrorIconOnly),et.extend("--ft-text-area-focus-focus-ring-color","",it.borderActionFocusRing),et.create("--ft-text-area-focus-outline-width","","SIZE","2px"),et.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),et.extend("--ft-text-area-disabled-component-opacity","",rt.opacity40),et.extend("--ft-text-area-field-horizontal-left-padding","",rt.spacing4),et.extend("--ft-text-area-field-horizontal-gap","",rt.spacing3),et.extend("--ft-text-area-field-vertical-gap","",rt.spacing05),et.create("--ft-text-area-field-min-height","","SIZE","64px"),et.extend("--ft-text-area-helper-horizontal-padding","",rt.spacing4),et.extend("--ft-text-area-helper-horizontal-gap","",rt.spacing1),et.extend("--ft-text-area-helper-icon-size","",rt.iconSize2),et.extend("--ft-text-area-border-radius","",rt.borderRadiusM),et.create("--ft-floating-menu-height","","SIZE","50px"),et.extend("--ft-floating-menu-horizontal-padding","",rt.spacing4),et.extend("--ft-floating-menu-off-icon-color","",it.contentGlobalPrimary),et.extend("--ft-floating-menu-off-color","",it.contentGlobalPrimary),et.extend("--ft-floating-menu-on-color","",it.contentActionPrimary),et.extend("--ft-floating-menu-on-state-layer-color","",it.contentActionPrimary),et.extend("--ft-floating-menu-gap","",rt.spacing3),et.extend("--ft-floating-menu-focus-focus-ring-color","",it.borderActionFocusRing),et.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),et.extend("--ft-floating-menu-focus-state-layer-opacity","",rt.opacity8),et.extend("--ft-floating-menu-hover-state-layer-opacity","",rt.opacity8),et.extend("--ft-floating-menu-active-state-layer-opacity","",rt.opacity16),et.extend("--ft-floating-menu-disabled-component-opacity","",rt.opacity40),et.extend("--ft-floating-menu-icon-size","",rt.iconSize3),et.extend("--ft-floating-menu-background-color","",it.backgroundGlobalOnSurface),et.extend("--ft-combobox-single-select-field-horizontal-padding","",rt.spacing4),et.extend("--ft-combobox-single-select-field-horizontal-gap","",rt.spacing3),et.extend("--ft-combobox-single-select-field-vertical-gap","",rt.spacing05),et.extend("--ft-combobox-single-select-field-icon-size","",rt.iconSize3),et.create("--ft-combobox-single-select-field-height","","SIZE","50px"),et.extend("--ft-combobox-single-select-helper-horizontal-padding","",rt.spacing4),et.extend("--ft-combobox-single-select-helper-horizontal-gap","",rt.spacing1),et.extend("--ft-combobox-single-select-helper-vertical-gap","",rt.spacing1),et.extend("--ft-combobox-single-select-helper-icon-size","",rt.iconSize2),et.extend("--ft-combobox-single-select-menu-vertical-gap","",rt.spacing2),et.extend("--ft-combobox-single-select-border-radius","",rt.borderRadiusM),et.extend("--ft-combobox-single-select-background-color","",rt.colorWhite),et.extend("--ft-combobox-single-select-label-color","",it.contentGlobalSubtle),et.extend("--ft-combobox-single-select-content-value-color","",it.contentGlobalPrimary),et.extend("--ft-combobox-single-select-trailing-icon-color","",it.contentGlobalSubtle),et.extend("--ft-combobox-single-select-default-border-color","",it.borderInputPrimary),et.extend("--ft-combobox-single-select-default-helper-text-color","",it.contentGlobalSubtle),et.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),et.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),et.extend("--ft-combobox-single-select-error-border-color","",it.borderErrorPrimary),et.extend("--ft-combobox-single-select-error-helper-text-color","",it.contentErrorPrimary),et.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),et.extend("--ft-combobox-single-select-warning-border-color","",it.borderWarningPrimary),et.extend("--ft-combobox-single-select-warning-helper-text-color","",it.contentWarningPrimary),et.extend("--ft-combobox-single-select-warning-helper-icon-color","",it.contentWarningIconOnly),et.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),et.extend("--ft-combobox-single-select-focus-focus-ring-color","",it.borderActionFocusRing),et.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),et.extend("--ft-combobox-single-select-disabled-component-opacity","",rt.opacity40),et.extend("--ft-combobox-multi-select-background-color","",rt.colorWhite),et.extend("--ft-combobox-multi-select-label-color","",it.contentGlobalSubtle),et.extend("--ft-combobox-multi-select-trailing-icon-color","",it.contentGlobalSubtle),et.extend("--ft-combobox-multi-select-default-border-color","",it.borderInputPrimary),et.extend("--ft-combobox-multi-select-default-helper-text-color","",it.contentGlobalSubtle),et.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),et.extend("--ft-combobox-multi-select-error-border-color","",it.borderErrorPrimary),et.extend("--ft-combobox-multi-select-error-helper-text-color","",it.contentErrorPrimary),et.extend("--ft-combobox-multi-select-error-helper-icon","",it.contentErrorIconOnly),et.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),et.extend("--ft-combobox-multi-select-warning-border-color","",it.borderWarningPrimary),et.extend("--ft-combobox-multi-select-warning-helper-text-color","",it.contentWarningPrimary),et.extend("--ft-combobox-multi-select-warning-helper-icon-color","",it.contentWarningIconOnly),et.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),et.extend("--ft-combobox-multi-select-focus-focus-ring-color","",it.borderActionFocusRing),et.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),et.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),et.extend("--ft-combobox-multi-select-disabled-component-opacity","",rt.opacity40),et.extend("--ft-combobox-multi-select-helper-horizontal-padding","",rt.spacing4),et.extend("--ft-combobox-multi-select-helper-horizontal-gap","",rt.spacing1),et.extend("--ft-combobox-multi-select-helper-vertical-gap","",rt.spacing1),et.extend("--ft-combobox-multi-select-helper-icon-size","",rt.iconSize2),et.extend("--ft-combobox-multi-select-field-horizontal-padding","",rt.spacing4),et.extend("--ft-combobox-multi-select-field-horizontal-gap","",rt.spacing3),et.extend("--ft-combobox-multi-select-field-vertical-gap","",rt.spacing05),et.extend("--ft-combobox-multi-select-field-icon-size","",rt.iconSize3),et.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),et.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",rt.spacing1),et.extend("--ft-combobox-multi-select-content-values-vertical-gap","",rt.spacing1),et.extend("--ft-combobox-multi-select-border-radius","",rt.borderRadiusM),et.extend("--ft-popover-background-color","",it.backgroundGlobalOnSurface),et.extend("--ft-popover-horizontal-padding","",rt.spacing6),et.extend("--ft-popover-vertical-padding","",rt.spacing6),et.extend("--ft-popover-icon-color","",it.contentGlobalSecondary),et.extend("--ft-popover-icon-size","",rt.iconSize2),et.extend("--ft-popover-title-color","",it.contentGlobalPrimary),et.extend("--ft-popover-body-color","",it.contentGlobalSecondary),et.extend("--ft-popover-link-color","",it.contentActionPrimary),et.extend("--ft-popover-gap","",rt.spacing3),et.extend("--ft-popover-border-radius","",rt.borderRadiusM),et.extend("--ft-popover-shadow","",rt.shadowElevation02),et.extend("--ft-tabs-top-left-border-radius","",rt.borderRadiusS),et.extend("--ft-tabs-top-right-border-radius","",rt.borderRadiusS),et.extend("--ft-tabs-label-horizontal-padding","",rt.spacing4),et.extend("--ft-tabs-label-vertical-padding","",rt.spacing3),et.extend("--ft-tabs-label-gap","",rt.spacing1),et.extend("--ft-tabs-off-hover-state-layer-opacity","",rt.opacity8),et.extend("--ft-tabs-off-focus-state-layer-opacity","",rt.opacity8),et.extend("--ft-tabs-off-active-state-layer-opacity","",rt.opacity16),et.extend("--ft-tabs-off-disabled-component-opacity","",rt.opacity40),et.extend("--ft-tabs-off-color","",it.contentGlobalSubtle),et.extend("--ft-tabs-off-state-layer-color","",it.contentGlobalSubtle),et.extend("--ft-tabs-on-hover-state-layer-opacity","",rt.opacity8),et.extend("--ft-tabs-on-focus-state-layer-opacity","",rt.opacity8),et.extend("--ft-tabs-on-active-state-layer-opacity","",rt.opacity16),et.extend("--ft-tabs-on-disabled-component-opacity","",rt.opacity40),et.extend("--ft-tabs-on-color","",it.contentActionPrimary),et.extend("--ft-tabs-on-state-layer-color","",it.contentActionPrimary),et.extend("--ft-tabs-icon-horizontal-padding","",rt.spacing1),et.extend("--ft-tabs-icon-vertical-padding","",rt.spacing4),et.create("--ft-tabs-focus-outline-width","","SIZE","2px"),et.extend("--ft-tabs-focus-focus-ring-color","",it.borderActionFocusRing),et.extend("--ft-collapsible-hover-state-layer-opacity","",rt.opacity8),et.extend("--ft-collapsible-focus-state-layer-opacity","",rt.opacity8),et.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),et.extend("--ft-collapsible-focus-focus-ring-color","",it.borderActionFocusRing),et.extend("--ft-collapsible-active-state-layer-opacity","",rt.opacity16),et.extend("--ft-collapsible-disabled-component-opacity","",rt.opacity40),et.extend("--ft-collapsible-horizontal-padding","",rt.spacing4),et.extend("--ft-collapsible-vertical-padding","",rt.spacing3),et.extend("--ft-collapsible-color","",it.contentGlobalPrimary),et.extend("--ft-collapsible-state-layer-color","",it.contentGlobalPrimary),et.extend("--ft-collapsible-background-color","",it.backgroundGlobalOnSurface),et.extend("--ft-collapsible-border-color","",it.borderGlobalSubtle),et.extend("--ft-collapsible-icon-size","",rt.iconSize3),et.extend("--ft-switch-group-horizontal-padding","",rt.spacing1),et.extend("--ft-switch-group-vertical-padding","",rt.spacing1),et.extend("--ft-switch-group-gap","",rt.spacing1),et.extend("--ft-switch-group-background-color","",it.backgroundGlobalSurface),et.extend("--ft-switch-group-border-color","",it.borderGlobalSubtle),et.create("--ft-switch-group-border-radius","","SIZE","6px"),et.extend("--ft-switch-label-horizontal-padding","",rt.spacing2),et.extend("--ft-switch-label-vertical-padding","",rt.spacing1),et.extend("--ft-switch-off-hover-state-layer-opacity","",rt.opacity8),et.extend("--ft-switch-off-focus-state-layer-opacity","",rt.opacity8),et.extend("--ft-switch-off-active-state-layer-opacity","",rt.opacity16),et.extend("--ft-switch-off-disabled-component-opacity","",rt.opacity40),et.extend("--ft-switch-off-color","",it.contentGlobalSubtle),et.extend("--ft-switch-off-state-layer-color","",it.contentGlobalSubtle),et.extend("--ft-switch-on-hover-state-layer-opacity","",rt.opacity8),et.extend("--ft-switch-on-focus-state-layer-opacity","",rt.opacity8),et.extend("--ft-switch-on-active-state-layer-opacity","",rt.opacity16),et.extend("--ft-switch-on-disabled-component-opacity","",rt.opacity40),et.extend("--ft-switch-on-color","",it.contentActionPrimary),et.extend("--ft-switch-on-state-layer-color","",it.contentActionPrimary),et.extend("--ft-switch-icon-horizontal-padding","",rt.spacing1),et.extend("--ft-switch-icon-vertical-padding","",rt.spacing1),et.create("--ft-switch-focus-outline-width","","SIZE","2px"),et.extend("--ft-switch-focus-focus-ring-color","",it.borderActionFocusRing),et.extend("--ft-switch-option-border-radius","",rt.borderRadiusS),et.extend("--ft-chart-1-light","for area color charts",rt.colorBrand40),et.extend("--ft-chart-1-base","for line charts",rt.colorBrand0),et.extend("--ft-chart-2-light","for area color charts",rt.colorYellow60),et.extend("--ft-chart-2-base","for line charts",rt.colorYellow100),et.extend("--ft-chart-3-light","",rt.colorUltramarine40),et.extend("--ft-chart-3-base","",rt.colorUltramarine70),et.extend("--ft-chart-4-light","",rt.colorCyan50),et.extend("--ft-chart-4-base","",rt.colorCyan100),et.extend("--ft-chart-5-light","",rt.colorRed40),et.extend("--ft-chart-5-base","",rt.colorRed60),et.extend("--ft-chart-6-light","",rt.colorGreen40),et.extend("--ft-chart-6-base","",rt.colorGreen70),et.extend("--ft-chart-7-light","",rt.colorOrange70),et.extend("--ft-chart-7-base","",rt.colorOrange100),et.extend("--ft-chart-8-light","",rt.colorAvocado70),et.extend("--ft-chart-8-base","",rt.colorAvocado200),et.extend("--ft-chart-9-light","",rt.colorBrown50),et.extend("--ft-chart-9-base","",rt.colorBrown200),et.extend("--ft-chart-10-light","",rt.colorGray50),et.extend("--ft-chart-10-base","",rt.colorGray80),et.extend("--ft-chart-monochrome-10","",rt.colorBrand10),et.extend("--ft-chart-monochrome-20","",rt.colorBrand20),et.extend("--ft-chart-monochrome-30","",rt.colorBrand40),et.extend("--ft-chart-monochrome-40","",rt.colorBrand60),et.extend("--ft-chart-monochrome-50","",rt.colorBrand0),et.extend("--ft-chart-monochrome-60","",rt.colorBrand200),et.extend("--ft-chip-large-horizontal-padding","",rt.spacing4),et.extend("--ft-chip-large-vertical-padding","",rt.spacing2),et.extend("--ft-chip-large-gap","",rt.spacing1),et.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-large-border-radius","",rt.borderRadiusPill),et.create("--ft-chip-large-border-width","","SIZE","1px"),et.extend("--ft-chip-large-icon-size","",rt.iconSize3),et.extend("--ft-chip-medium-horizontal-padding","",rt.spacing3),et.extend("--ft-chip-medium-vertical-padding","",rt.spacing1),et.extend("--ft-chip-medium-gap","",rt.spacing1),et.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-medium-border-radius","",rt.borderRadiusPill),et.create("--ft-chip-medium-border-width","","SIZE","1px"),et.extend("--ft-chip-medium-icon-size","",rt.iconSize2),et.extend("--ft-chip-small-horizontal-padding","",rt.spacing2),et.extend("--ft-chip-small-vertical-padding","",rt.spacing05),et.extend("--ft-chip-small-gap","",rt.spacing1),et.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-small-border-radius","",rt.borderRadiusPill),et.create("--ft-chip-small-border-width","","SIZE","1px"),et.extend("--ft-chip-small-icon-size","",rt.iconSize1),et.extend("--ft-chip-neutral-background-color","",it.backgroundGlobalOnSurface),et.extend("--ft-chip-neutral-color","",it.contentGlobalPrimary),et.extend("--ft-chip-neutral-icon-color","",it.contentGlobalPrimary),et.extend("--ft-chip-neutral-border-color","",it.borderGlobalSubtle),et.extend("--ft-chip-info-background-color","",it.backgroundInfoSubtle),et.extend("--ft-chip-info-color","",it.contentInfoPrimary),et.extend("--ft-chip-info-icon-color","",it.contentInfoIconOnly),et.extend("--ft-chip-info-border-color","",it.borderInfoSubtle),et.extend("--ft-chip-success-background-color","",it.backgroundSuccessSubtle),et.extend("--ft-chip-success-color","",it.contentSuccessPrimary),et.extend("--ft-chip-success-icon-color","",it.contentSuccessIconOnly),et.extend("--ft-chip-success-border-color","",it.borderSuccessSubtle),et.extend("--ft-chip-warning-background-color","",it.backgroundWarningSubtle),et.extend("--ft-chip-warning-color","",it.contentWarningPrimary),et.extend("--ft-chip-warning-icon-color","",it.contentWarningIconOnly),et.extend("--ft-chip-warning-border-color","",it.borderWarningSubtle),et.extend("--ft-chip-error-background-color","",it.backgroundErrorSubtle),et.extend("--ft-chip-error-color","",it.contentErrorPrimary),et.extend("--ft-chip-error-icon-color","",it.contentErrorIconOnly),et.extend("--ft-chip-error-border-color","",it.borderErrorSubtle),et.extend("--ft-border-info-border-color","",it.borderInfoSubtle),et.create("--ft-notice-border-width","","SIZE","1px"),et.extend("--ft-notice-horizontal-padding","",rt.spacing2),et.extend("--ft-notice-vertical-padding","",rt.spacing1),et.extend("--ft-notice-border-radius","",rt.borderRadiusS),et.extend("--ft-notice-gap","",rt.spacing2),et.extend("--ft-notice-icon-size","",rt.iconSize3),et.extend("--ft-notice-info-background-color","",it.backgroundInfoSubtle),et.extend("--ft-notice-info-border-color","",it.borderInfoSubtle),et.extend("--ft-notice-info-color","",it.contentInfoPrimary),et.extend("--ft-notice-info-icon-color","",it.contentInfoIconOnly),et.extend("--ft-notice-warning-background-color","",it.backgroundWarningSubtle),et.extend("--ft-notice-warning-border-color","",it.borderWarningSubtle),et.extend("--ft-notice-warning-color","",it.contentWarningPrimary),et.extend("--ft-notice-warning-icon-color","",it.contentWarningIconOnly),et.extend("--ft-notice-error-background-color","",it.backgroundErrorSubtle),et.extend("--ft-notice-error-border-color","",it.borderErrorSubtle),et.extend("--ft-notice-error-color","",it.contentErrorPrimary),et.extend("--ft-notice-error-icon-color","",it.contentErrorIconOnly),et.extend("--ft-notice-success-background-color","",it.backgroundSuccessSubtle),et.extend("--ft-notice-success-border-color","",it.borderSuccessSubtle),et.extend("--ft-notice-success-color","",it.contentSuccessPrimary),et.extend("--ft-notice-success-icon-color","",it.contentSuccessIconOnly),et.extend("--ft-checkbox-color","",it.contentGlobalPrimary),et.extend("--ft-checkbox-checked-background-color","",it.contentActionPrimary),et.extend("--ft-checkbox-checked-state-layer-color","",it.contentActionPrimary),et.extend("--ft-checkbox-checked-icon-color","",it.contentGlobalOnColor),et.extend("--ft-checkbox-checked-hover-state-layer-opacity","",rt.opacity16),et.extend("--ft-checkbox-checked-focus-state-layer-opacity","",rt.opacity16),et.extend("--ft-checkbox-checked-active-state-layer-opacity","",rt.opacity24),et.extend("--ft-checkbox-checked-disabled-component-opacity","",rt.opacity40),et.extend("--ft-checkbox-unchecked-border-color","",rt.colorGray80),et.extend("--ft-checkbox-unchecked-state-layer-color","",rt.colorGray80),et.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",rt.opacity16),et.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",rt.opacity16),et.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",rt.opacity24),et.extend("--ft-checkbox-unchecked-disabled-component-opacity","",rt.opacity40),et.extend("--ft-checkbox-focus-focus-ring-color","",it.borderActionFocusRing),et.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),et.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),et.extend("--ft-checkbox-gap","",rt.spacing3),et.extend("--ft-toggle-off-hover-state-layer-opacity","",rt.opacity16),et.extend("--ft-toggle-off-focus-state-layer-opacity","",rt.opacity16),et.extend("--ft-toggle-off-active-state-layer-opacity","",rt.opacity24),et.extend("--ft-toggle-off-disabled-component-opacity","",rt.opacity40),et.extend("--ft-toggle-off-background-color","",it.contentGlobalSubtle),et.extend("--ft-toggle-off-icon-color","",it.contentGlobalSubtle),et.extend("--ft-toggle-off-state-layer-color","",it.contentGlobalSubtle),et.extend("--ft-toggle-on-hover-state-layer-opacity","",rt.opacity16),et.extend("--ft-toggle-on-focus-state-layer-opacity","",rt.opacity16),et.extend("--ft-toggle-on-active-state-layer-opacity","",rt.opacity24),et.extend("--ft-toggle-on-disabled-component-opacity","",rt.opacity40),et.extend("--ft-toggle-on-background-color","",it.contentActionPrimary),et.extend("--ft-toggle-on-state-layer-color","",it.contentActionPrimary),et.extend("--ft-toggle-on-icon-color","",it.contentActionPrimary),et.extend("--ft-toggle-color","",it.contentGlobalPrimary),et.extend("--ft-toggle-focus-focus-ring-color","",it.borderActionFocusRing),et.extend("--ft-toggle-gap","",rt.spacing3),et.extend("--ft-radio-color","",it.contentGlobalPrimary),et.extend("--ft-radio-selected-radio-color","",it.contentActionPrimary),et.extend("--ft-radio-selected-state-layer-color","",it.contentActionPrimary),et.extend("--ft-radio-selected-hover-state-layer-opacity","",rt.opacity16),et.extend("--ft-radio-selected-focus-state-layer-opacity","",rt.opacity16),et.extend("--ft-radio-selected-active-state-layer-opacity","",rt.opacity24),et.extend("--ft-radio-selected-disabled-component-opacity","",rt.opacity40),et.extend("--ft-radio-unselected-state-layer-color","",it.borderInputPrimary),et.extend("--ft-radio-unselected-border-color","",it.borderInputPrimary),et.extend("--ft-radio-unselected-hover-state-layer-opacity","",rt.opacity16),et.extend("--ft-radio-unselected-focus-state-layer-opacity","",rt.opacity16),et.extend("--ft-radio-unselected-active-state-layer-opacity","",rt.opacity24),et.extend("--ft-radio-unselected-disabled-component-opacity","",rt.opacity40),et.extend("--ft-radio-focus-focus-ring-color","",it.borderActionFocusRing),et.create("--ft-radio-focus-outline-offset","","SIZE","3px"),et.create("--ft-radio-focus-outline-width","","SIZE","2px"),et.extend("--ft-radio-gap","",rt.spacing3),et.extend("--ft-notification-icon-size","",rt.iconSize4),et.extend("--ft-notification-horizontal-padding","",rt.spacing4),et.extend("--ft-notification-vertical-padding","",rt.spacing4),et.extend("--ft-notification-info-background-color","",it.backgroundInfoSubtle),et.extend("--ft-notification-info-color","",it.contentInfoPrimary),et.extend("--ft-notification-info-icon-color","",it.contentInfoIconOnly),et.extend("--ft-notification-info-border-color","",it.borderInfoSubtle),et.extend("--ft-notification-success-background-color","",it.backgroundSuccessSubtle),et.extend("--ft-notification-success-color","",it.contentSuccessPrimary),et.extend("--ft-notification-success-icon-color","",it.contentSuccessIconOnly),et.extend("--ft-notification-success-border-color","",it.borderSuccessSubtle),et.extend("--ft-notification-warning-background-color","",it.backgroundWarningSubtle),et.extend("--ft-notification-warning-color","",it.contentWarningPrimary),et.extend("--ft-notification-warning-icon-color","",it.contentWarningIconOnly),et.extend("--ft-notification-warning-border-color","",it.borderWarningSubtle),et.extend("--ft-notification-error-background-color","",it.backgroundErrorSubtle),et.extend("--ft-notification-error-color","",it.contentErrorPrimary),et.extend("--ft-notification-error-icon-color","",it.contentErrorIconOnly),et.extend("--ft-notification-error-border-color","",it.borderErrorSubtle),et.extend("--ft-notification-border-radius","",rt.borderRadiusPill),et.create("--ft-notification-border-width","","SIZE","1px"),et.extend("--ft-notification-leading-gap","",rt.spacing2),et.extend("--ft-notification-trailing-gap","",rt.spacing8),et.extend("--ft-tooltip-horizontal-padding","",rt.spacing2),et.extend("--ft-tooltip-vertical-padding","",rt.spacing2),et.extend("--ft-tooltip-border-radius","",rt.borderRadiusS),et.extend("--ft-tooltip-color","",it.contentGlobalOnColor),et.extend("--ft-tooltip-background-color","",it.contentGlobalPrimary),et.extend("--ft-tooltip-background-opacity","",rt.opacity80),et.extend("--ft-tooltip-shadow","",rt.shadowElevation03),et.create("--ft-tooltip-max-width","","SIZE","256px"),et.extend("--ft-tooltip-gap","",rt.spacing05);const lt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),ct=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),pt={fontFamily:ct,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},st=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",lt),ft=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",pt.fontSize,"20px"),dt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",pt.fontWeight,"normal"),ht=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",pt.letterSpacing,"0.15px"),gt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",pt.lineHeight,"1.2"),yt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",pt.textTransform,"inherit"),ut=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",lt),bt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",pt.fontSize,"14px"),mt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",pt.fontWeight,"normal"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",pt.letterSpacing,"0.105px"),vt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",pt.lineHeight,"1.7"),Ot=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",pt.textTransform,"inherit"),Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ct),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",pt.fontSize,"16px"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",pt.fontWeight,"600"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",pt.letterSpacing,"0.144px"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",pt.lineHeight,"1.5"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",pt.textTransform,"inherit"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ct),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",pt.fontSize,"14px"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",pt.fontWeight,"normal"),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",pt.letterSpacing,"0.098px"),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",pt.lineHeight,"1.7"),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",pt.textTransform,"inherit"),zt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ct),Zt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",pt.fontSize,"16px"),Kt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",pt.fontWeight,"normal"),Ft=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",pt.letterSpacing,"0.496px"),Bt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",pt.lineHeight,"1.5"),Dt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",pt.textTransform,"inherit"),At=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ct),Ht=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",pt.fontSize,"14px"),Gt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",pt.fontWeight,"normal"),Pt=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",pt.letterSpacing,"0.252px"),Tt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",pt.lineHeight,"1.4"),jt=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",pt.textTransform,"inherit"),Mt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ct),_t=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",pt.fontSize,"12px"),Yt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",pt.fontWeight,"normal"),Vt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",pt.letterSpacing,"0.396px"),Xt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",pt.lineHeight,"1.33"),qt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",pt.textTransform,"inherit"),Jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ct),Qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",pt.fontSize,"10px"),to=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",pt.fontWeight,"normal"),oo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",pt.letterSpacing,"0.33px"),eo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",pt.lineHeight,"1.6"),ro=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",pt.textTransform,"inherit"),ao=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ct),io=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",pt.fontSize,"10px"),no=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",pt.fontWeight,"normal"),lo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",pt.letterSpacing,"1.5px"),co=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",pt.lineHeight,"1.6"),po=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",pt.textTransform,"uppercase"),so={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ct),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",pt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",pt.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",pt.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",pt.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",pt.textTransform,"uppercase")},fo=e.css`
|
|
1
|
+
"use strict";(()=>{var oa=Object.create;var bo=Object.defineProperty;var ra=Object.getOwnPropertyDescriptor;var na=Object.getOwnPropertyNames;var aa=Object.getPrototypeOf,ia=Object.prototype.hasOwnProperty;var $t=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var la=(e,o,r,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of na(o))!ia.call(e,i)&&i!==r&&bo(e,i,{get:()=>o[i],enumerable:!(a=ra(o,i))||a.enumerable});return e};var u=(e,o,r)=>(r=e!=null?oa(aa(e)):{},la(o||!e||!e.__esModule?bo(r,"default",{value:e,enumerable:!0}):r,e));var E=$t((_a,xo)=>{xo.exports=ftGlobals.wcUtils});var T=$t((ka,Oo)=>{Oo.exports=ftGlobals.lit});var Co=$t((Ha,So)=>{So.exports=ftGlobals.litRepeat});var ie=$t((Ua,vo)=>{vo.exports=ftGlobals.litClassMap});var wo=$t((Da,No)=>{No.exports=ftGlobals.litStyleMap});var lt=$t((Ga,Eo)=>{Eo.exports=ftGlobals.litDecorators});var Dr=$t((ks,Ur)=>{Ur.exports=ftGlobals.litUnsafeHTML});var Qn=u(E());var at=u(T()),ho=u(Co()),qn=u(ie()),Jn=u(wo()),I=u(lt()),it=u(E());var Ao=u(E()),Lo=u(lt());var Ro;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Ro||(Ro={}));var ca=function(e,o,r,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,r):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,r,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,r,l):c(o,r))||l);return i>3&&l&&Object.defineProperty(o,r,l),l},Ge=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},De=Symbol("registerInterval");function sa(e){var o;class r extends e{constructor(){super(...arguments),this[o]=0}setReaderStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var i;return(i=this.stateManager)===null||i===void 0?void 0:i.service}connectedCallback(){super.connectedCallback(),this[De]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[De]):this.dispatchEvent(new Ge)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=De,ca([(0,Lo.state)()],r.prototype,"stateManager",void 0),r}var Ut=class extends sa(Ao.FtLitElementRedux){};var Tr=u(E());var Ye=globalThis,Ne=Ye.trustedTypes,$o=Ne?Ne.createPolicy("lit-html",{createHTML:e=>e}):void 0,zo="$lit$",Et=`lit$${(Math.random()+"").slice(9)}$`,_o="?"+Et,pa=`<${_o}>`,Wt=document,we=()=>Wt.createComment(""),ce=e=>e===null||typeof e!="object"&&typeof e!="function",ko=Array.isArray,da=e=>ko(e)||typeof e?.[Symbol.iterator]=="function",Me=`[
|
|
2
|
+
\f\r]`,le=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Io=/-->/g,Po=/>/g,It=RegExp(`>|${Me}(?:([^\\s"'>=/]+)(${Me}*=${Me}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Wo=/'/g,To=/"/g,Ho=/^(?:script|style|textarea|title)$/i,Uo=e=>(o,...r)=>({_$litType$:e,strings:o,values:r}),Do=Uo(1),Go=Uo(2),se=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Bo=new WeakMap,Pt=Wt.createTreeWalker(Wt,129);function Mo(e,o){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return $o!==void 0?$o.createHTML(o):o}var fa=(e,o)=>{let r=e.length-1,a=[],i,l=o===2?"<svg>":"",c=le;for(let p=0;p<r;p++){let d=e[p],g,x,m=-1,v=0;for(;v<d.length&&(c.lastIndex=v,x=c.exec(d),x!==null);)v=c.lastIndex,c===le?x[1]==="!--"?c=Io:x[1]!==void 0?c=Po:x[2]!==void 0?(Ho.test(x[2])&&(i=RegExp("</"+x[2],"g")),c=It):x[3]!==void 0&&(c=It):c===It?x[0]===">"?(c=i??le,m=-1):x[1]===void 0?m=-2:(m=c.lastIndex-x[2].length,g=x[1],c=x[3]===void 0?It:x[3]==='"'?To:Wo):c===To||c===Wo?c=It:c===Io||c===Po?c=le:(c=It,i=void 0);let S=c===It&&e[p+1].startsWith("/>")?" ":"";l+=c===le?d+pa:m>=0?(a.push(g),d.slice(0,m)+zo+d.slice(m)+Et+S):d+Et+(m===-2?p:S)}return[Mo(e,l+(e[r]||"<?>")+(o===2?"</svg>":"")),a]},pe=class e{constructor({strings:o,_$litType$:r},a){let i;this.parts=[];let l=0,c=0,p=o.length-1,d=this.parts,[g,x]=fa(o,r);if(this.el=e.createElement(g,a),Pt.currentNode=this.el.content,r===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=Pt.nextNode())!==null&&d.length<p;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(zo)){let v=x[c++],S=i.getAttribute(m).split(Et),A=/([.?@])?(.*)/.exec(v);d.push({type:1,index:l,name:A[2],strings:S,ctor:A[1]==="."?Ze:A[1]==="?"?Fe:A[1]==="@"?Ve:Gt}),i.removeAttribute(m)}else m.startsWith(Et)&&(d.push({type:6,index:l}),i.removeAttribute(m));if(Ho.test(i.tagName)){let m=i.textContent.split(Et),v=m.length-1;if(v>0){i.textContent=Ne?Ne.emptyScript:"";for(let S=0;S<v;S++)i.append(m[S],we()),Pt.nextNode(),d.push({type:2,index:++l});i.append(m[v],we())}}}else if(i.nodeType===8)if(i.data===_o)d.push({type:2,index:l});else{let m=-1;for(;(m=i.data.indexOf(Et,m+1))!==-1;)d.push({type:7,index:l}),m+=Et.length-1}l++}}static createElement(o,r){let a=Wt.createElement("template");return a.innerHTML=o,a}};function Dt(e,o,r=e,a){if(o===se)return o;let i=a!==void 0?r._$Co?.[a]:r._$Cl,l=ce(o)?void 0:o._$litDirective$;return i?.constructor!==l&&(i?._$AO?.(!1),l===void 0?i=void 0:(i=new l(e),i._$AT(e,r,a)),a!==void 0?(r._$Co??=[])[a]=i:r._$Cl=i),i!==void 0&&(o=Dt(e,i._$AS(e,o.values),i,a)),o}var Ke=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:a}=this._$AD,i=(o?.creationScope??Wt).importNode(r,!0);Pt.currentNode=i;let l=Pt.nextNode(),c=0,p=0,d=a[0];for(;d!==void 0;){if(c===d.index){let g;d.type===2?g=new Ee(l,l.nextSibling,this,o):d.type===1?g=new d.ctor(l,d.name,d.strings,this,o):d.type===6&&(g=new je(l,this,o)),this._$AV.push(g),d=a[++p]}c!==d?.index&&(l=Pt.nextNode(),c++)}return Pt.currentNode=Wt,i}p(o){let r=0;for(let a of this._$AV)a!==void 0&&(a.strings!==void 0?(a._$AI(o,a,r),r+=a.strings.length-2):a._$AI(o[r])),r++}},Ee=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,r,a,i){this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=o,this._$AB=r,this._$AM=a,this.options=i,this._$Cv=i?.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=Dt(this,o,r),ce(o)?o===G||o==null||o===""?(this._$AH!==G&&this._$AR(),this._$AH=G):o!==this._$AH&&o!==se&&this._(o):o._$litType$!==void 0?this.g(o):o.nodeType!==void 0?this.$(o):da(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!==G&&ce(this._$AH)?this._$AA.nextSibling.data=o:this.$(Wt.createTextNode(o)),this._$AH=o}g(o){let{values:r,_$litType$:a}=o,i=typeof a=="number"?this._$AC(o):(a.el===void 0&&(a.el=pe.createElement(Mo(a.h,a.h[0]),this.options)),a);if(this._$AH?._$AD===i)this._$AH.p(r);else{let l=new Ke(i,this),c=l.u(this.options);l.p(r),this.$(c),this._$AH=l}}_$AC(o){let r=Bo.get(o.strings);return r===void 0&&Bo.set(o.strings,r=new pe(o)),r}T(o){ko(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,a,i=0;for(let l of o)i===r.length?r.push(a=new e(this.k(we()),this.k(we()),this,this.options)):a=r[i],a._$AI(l),i++;i<r.length&&(this._$AR(a&&a._$AB.nextSibling,i),r.length=i)}_$AR(o=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);o&&o!==this._$AB;){let a=o.nextSibling;o.remove(),o=a}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},Gt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,r,a,i,l){this.type=1,this._$AH=G,this._$AN=void 0,this.element=o,this.name=r,this._$AM=i,this.options=l,a.length>2||a[0]!==""||a[1]!==""?(this._$AH=Array(a.length-1).fill(new String),this.strings=a):this._$AH=G}_$AI(o,r=this,a,i){let l=this.strings,c=!1;if(l===void 0)o=Dt(this,o,r,0),c=!ce(o)||o!==this._$AH&&o!==se,c&&(this._$AH=o);else{let p=o,d,g;for(o=l[0],d=0;d<l.length-1;d++)g=Dt(this,p[a+d],r,d),g===se&&(g=this._$AH[d]),c||=!ce(g)||g!==this._$AH[d],g===G?o=G:o!==G&&(o+=(g??"")+l[d+1]),this._$AH[d]=g}c&&!i&&this.O(o)}O(o){o===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},Ze=class extends Gt{constructor(){super(...arguments),this.type=3}O(o){this.element[this.name]=o===G?void 0:o}},Fe=class extends Gt{constructor(){super(...arguments),this.type=4}O(o){this.element.toggleAttribute(this.name,!!o&&o!==G)}},Ve=class extends Gt{constructor(o,r,a,i,l){super(o,r,a,i,l),this.type=5}_$AI(o,r=this){if((o=Dt(this,o,r,0)??G)===se)return;let a=this._$AH,i=o===G&&a!==G||o.capture!==a.capture||o.once!==a.once||o.passive!==a.passive,l=o!==G&&(a===G||i);i&&this.element.removeEventListener(this.name,this,a),l&&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)}},je=class{constructor(o,r,a){this.element=o,this.type=6,this._$AN=void 0,this._$AM=r,this.options=a}get _$AU(){return this._$AM._$AU}_$AI(o){Dt(this,o)}};var ga=Ye.litHtmlPolyfillSupport;ga?.(pe,Ee),(Ye.litHtmlVersions??=[]).push("3.1.0");var Zo=Symbol.for(""),ha=e=>{if(e?.r===Zo)return e?._$litStatic$},Xe=e=>({_$litStatic$:e,r:Zo});var Ko=new Map,Fo=e=>(o,...r)=>{let a=r.length,i,l,c=[],p=[],d,g=0,x=!1;for(;g<a;){for(d=o[g];g<a&&(l=r[g],(i=ha(l))!==void 0);)d+=i+o[++g],x=!0;g!==a&&p.push(l),c.push(d),g++}if(g===a&&c.push(o[a]),x){let m=c.join("$$lit$$");(o=Ko.get(m))===void 0&&(c.raw=c,Ko.set(m,o=c)),r=p}return e(o,...r)},qe=Fo(Do),ja=Fo(Go);var Je=u(lt()),Wr=u(E());var Tt;(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"})(Tt||(Tt={}));var ct=u(T()),h=u(E());var bt=u(T(),1),Rt=e=>typeof e=="string"?(0,bt.unsafeCSS)(e):e,t=class{static create(o,r,a,i){let l=p=>Rt(p??i),c=bt.css`var(${Rt(o)}, ${l(i)})`;return c.name=o,c.description=r,c.category=a,c.defaultValue=i,c.defaultCssValue=l,c.get=p=>bt.css`var(${Rt(o)}, ${l(p)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(o,r,a,i){let l=p=>a.get(p??i),c=bt.css`var(${Rt(o)}, ${l(i)})`;return c.name=o,c.description=r,c.category=a.category,c.fallbackVariable=a,c.defaultValue=i,c.defaultCssValue=l,c.get=p=>bt.css`var(${Rt(o)}, ${l(p)})`,c.breadcrumb=()=>[a.name,...a.breadcrumb()],c.lastResortDefaultValue=()=>i??a.lastResortDefaultValue(),c}static external(o,r){let a=l=>o.fallbackVariable?o.fallbackVariable.get(l??o.defaultValue):Rt(l??o.lastResortDefaultValue()),i=bt.css`var(${Rt(o.name)}, ${a(o.defaultValue)})`;return i.name=o.name,i.category=o.category,i.fallbackVariable=o.fallbackVariable,i.defaultValue=o.defaultValue,i.context=r,i.defaultCssValue=a,i.get=l=>bt.css`var(${Rt(o.name)}, ${a(l)})`,i.breadcrumb=()=>o.fallbackVariable?[o.fallbackVariable.name,...o.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>o.lastResortDefaultValue(),i}};var n={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","12px"),iconSize2:t.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:t.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:t.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:t.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:t.create("--ft-icon-size-6","","SIZE","48px"),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"),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)")},Vo={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")},jo={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")},Yo={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")},Xo={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")},qo={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")},Jo={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")},Qo={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")},tr={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")},er={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")},ua={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")},or={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")},rr={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")},nr={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")},ar={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")},ir={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")},lr={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")},cr={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")},sr={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")},pr={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")},dr={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")},fr={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")},gr={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")},hr={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")},ur={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")},yr={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")},mr={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")},Re={display:Vo,"title-1":jo,"title-2":Yo,"title-3":Xo,"body-1-regular":qo,"body-1-medium":Jo,"body-1-semibold":Qo,"body-2-regular":tr,"body-2-medium":er,"body-2-medium-underline":ua,"body-2-semibold":or,"label-1-medium":rr,"label-1-semibold":nr,"label-1-bold":ar,"label-2-medium":ir,"label-2-semibold":lr,"label-2-bold":cr,"caption-1-medium":sr,"caption-1-semibold":pr,"caption-1-bold":dr,"caption-2-medium":fr,"caption-2-semibold":gr,"caption-2-bold":hr,"caption-3-medium":ur,"caption-3-semibold":yr,"caption-3-bold":mr};var s={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",n.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",n.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",n.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",n.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",n.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",n.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",n.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",n.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",n.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",n.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",n.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",n.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",n.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",n.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",n.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",n.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",n.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",n.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
4
|
+
Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",n.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",n.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",n.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",n.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",n.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",n.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",n.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",n.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",n.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",n.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",n.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",n.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",n.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",n.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",n.colorGray80)};var y={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",n.spacing4),largeGap:t.extend("--ft-button-large-gap","",n.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",n.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",n.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"),smallHeight:t.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",n.spacing3),smallGap:t.extend("--ft-button-small-gap","",n.spacing2),smallBorderRadius:t.extend("--ft-button-small-border-radius","",n.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",n.iconSize2),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","30px"),primaryBackgroundColor:t.extend("--ft-button-primary-background-color","",s.backgroundActionPrimary),primaryColor:t.extend("--ft-button-primary-color","",s.contentGlobalOnColor),primaryIconColor:t.extend("--ft-button-primary-icon-color","",s.contentGlobalOnColor),primaryStateLayerColor:t.extend("--ft-button-primary-state-layer-color","",s.contentGlobalOnColor),primaryHoverStateLayerOpacity:t.extend("--ft-button-primary-hover-state-layer-opacity","",n.opacity16),primaryFocusStateLayerOpacity:t.extend("--ft-button-primary-focus-state-layer-opacity","",n.opacity16),primaryActiveStateLayerOpacity:t.extend("--ft-button-primary-active-state-layer-opacity","",n.opacity24),primaryDisabledComponentOpacity:t.extend("--ft-button-primary-disabled-component-opacity","",n.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",s.borderActionFocusRing),tertiaryBackgroundColor:t.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:t.extend("--ft-button-tertiary-color","",s.contentActionPrimary),tertiaryIconColor:t.extend("--ft-button-tertiary-icon-color","",s.contentActionPrimary),tertiaryStateLayerColor:t.extend("--ft-button-tertiary-state-layer-color","",s.contentActionPrimary),tertiaryHoverStateLayerOpacity:t.extend("--ft-button-tertiary-hover-state-layer-opacity","",n.opacity8),tertiaryFocusStateLayerOpacity:t.extend("--ft-button-tertiary-focus-state-layer-opacity","",n.opacity8),tertiaryActiveStateLayerOpacity:t.extend("--ft-button-tertiary-active-state-layer-opacity","",n.opacity16),tertiaryDisabledComponentOpacity:t.extend("--ft-button-tertiary-disabled-component-opacity","",n.opacity40),secondaryBackgroundColor:t.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:t.extend("--ft-button-secondary-color","",s.contentActionPrimary),secondaryIconColor:t.extend("--ft-button-secondary-icon-color","",s.contentActionPrimary),secondaryStateLayerColor:t.extend("--ft-button-secondary-state-layer-color","",s.contentActionPrimary),secondaryHoverStateLayerOpacity:t.extend("--ft-button-secondary-hover-state-layer-opacity","",n.opacity8),secondaryFocusStateLayerOpacity:t.extend("--ft-button-secondary-focus-state-layer-opacity","",n.opacity8),secondaryActiveStateLayerOpacity:t.extend("--ft-button-secondary-active-state-layer-opacity","",n.opacity16),secondaryDisabledComponentOpacity:t.extend("--ft-button-secondary-disabled-component-opacity","",n.opacity40),secondaryBorderColor:t.extend("--ft-button-secondary-border-color","",s.borderActionPrimary),neutralBackgroundColor:t.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:t.extend("--ft-button-neutral-icon-color","",s.contentGlobalSecondary),neutralColor:t.extend("--ft-button-neutral-color","",s.contentGlobalSecondary),neutralStateLayerColor:t.extend("--ft-button-neutral-state-layer-color","",s.contentGlobalSecondary),neutralHoverStateLayerOpacity:t.extend("--ft-button-neutral-hover-state-layer-opacity","",n.opacity8),neutralFocusStateLayerOpacity:t.extend("--ft-button-neutral-focus-state-layer-opacity","",n.opacity8),neutralActiveStateLayerOpacity:t.extend("--ft-button-neutral-active-state-layer-opacity","",n.opacity16),neutralDisabledComponentOpacity:t.extend("--ft-button-neutral-disabled-component-opacity","",n.opacity40)};var fi={iconSize:t.extend("--ft-banner-icon-size","",n.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-banner-horizontal-padding","",n.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",n.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",n.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",n.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",n.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",n.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",s.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",s.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",s.contentInfoIconOnly)};var mi={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",n.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",n.spacing2),currentElementColor:t.extend("--ft-breadcrumb-current-element-color","",s.contentGlobalPrimary),iconColor:t.extend("--ft-breadcrumb-icon-color","",s.contentGlobalSubtle)};var Ci={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",n.spacing12),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",n.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",n.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",n.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",n.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",n.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",n.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",s.borderGlobalSubtle),titleColor:t.extend("--ft-page-header-title-color","",s.contentGlobalPrimary),subtitleColor:t.extend("--ft-page-header-subtitle-color","",s.contentGlobalSecondary)};var Ri={smallContainerWidth:t.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:t.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",n.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",n.opacity40),shadow:t.extend("--ft-modal-shadow","",n.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",n.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",s.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",n.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",n.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",n.spacing6),containerMargin:t.extend("--ft-modal-container-margin","",n.spacing3),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",s.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",s.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",s.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-modal-header-trailing-icon-color","",s.contentGlobalSecondary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",n.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",n.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",n.spacing6),headerGap:t.extend("--ft-modal-header-gap","",n.spacing2),headerBorderBottom:t.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",n.borderRadiusM)};var Pi={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",n.opacity40),shadow:t.extend("--ft-drawer-shadow","",n.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",s.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",n.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",n.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",n.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",n.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",s.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",s.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",s.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",s.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",n.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",n.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",s.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",s.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",s.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",n.spacing4),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",n.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",n.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","",n.colorGray700)};var _i={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",n.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",n.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",n.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",n.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",n.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",n.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",s.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",s.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",s.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",s.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","",s.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",s.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",s.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","",s.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",n.opacity40)};var Gi={backgroundColor:t.extend("--ft-text-area-background-color","",n.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",s.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",s.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",s.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","",s.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",s.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",s.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",s.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","",n.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",n.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",n.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",n.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",n.borderRadiusM)};var Vi={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",n.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",s.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",s.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",s.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",s.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",n.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",n.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",n.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",n.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",n.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",n.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",s.backgroundGlobalOnSurface)};var Ji={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",n.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",n.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",n.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",n.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",n.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",n.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",n.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",n.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",s.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",s.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",s.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",s.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","",s.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",s.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",s.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",s.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",s.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",n.opacity40)};var rl={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",n.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",s.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",s.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",s.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",s.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",s.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",s.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",s.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",s.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",s.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",s.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","",n.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",n.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",n.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",n.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",n.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",n.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",n.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",n.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",n.borderRadiusM)};var cl={backgroundColor:t.extend("--ft-popover-background-color","",s.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",n.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",n.spacing6),iconColor:t.extend("--ft-popover-icon-color","",s.contentGlobalSecondary),iconSize:t.extend("--ft-popover-icon-size","",n.iconSize2),titleColor:t.extend("--ft-popover-title-color","",s.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",s.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",s.contentActionPrimary),gap:t.extend("--ft-popover-gap","",n.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",n.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",n.shadowElevation02)};var gl={topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",n.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",n.borderRadiusS),labelHorizontalPadding:t.extend("--ft-tabs-label-horizontal-padding","",n.spacing4),labelVerticalPadding:t.extend("--ft-tabs-label-vertical-padding","",n.spacing3),labelGap:t.extend("--ft-tabs-label-gap","",n.spacing1),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",n.opacity8),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",n.opacity8),offActiveStateLayerOpacity:t.extend("--ft-tabs-off-active-state-layer-opacity","",n.opacity16),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",n.opacity40),offColor:t.extend("--ft-tabs-off-color","",s.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",s.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",n.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",n.opacity8),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",n.opacity16),onDisabledComponentOpacity:t.extend("--ft-tabs-on-disabled-component-opacity","",n.opacity40),onColor:t.extend("--ft-tabs-on-color","",s.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",s.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-tabs-icon-horizontal-padding","",n.spacing1),iconVerticalPadding:t.extend("--ft-tabs-icon-vertical-padding","",n.spacing4),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",s.borderActionFocusRing)};var bl={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",n.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",n.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",s.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",n.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",n.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",n.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",n.spacing3),color:t.extend("--ft-collapsible-color","",s.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",s.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",s.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",s.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",n.iconSize3)};var vl={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",n.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",n.spacing1),groupGap:t.extend("--ft-switch-group-gap","",n.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",s.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",s.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",n.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",n.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",n.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",n.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",n.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",n.opacity40),offColor:t.extend("--ft-switch-off-color","",s.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",s.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",n.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",n.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",n.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",n.opacity40),onColor:t.extend("--ft-switch-on-color","",s.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",s.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",n.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",n.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",s.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",n.borderRadiusS)};var Rl={color1Light:t.extend("--ft-chart-1-light","for area color charts",n.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",n.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",n.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",n.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",n.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",n.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",n.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",n.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",n.colorRed40),color5Base:t.extend("--ft-chart-5-base","",n.colorRed60),color6Light:t.extend("--ft-chart-6-light","",n.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",n.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",n.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",n.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",n.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",n.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",n.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",n.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",n.colorGray50),color10Base:t.extend("--ft-chart-10-base","",n.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",n.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",n.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",n.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",n.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",n.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",n.colorBrand200)};var Pl={largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",n.spacing4),largeVerticalPadding:t.extend("--ft-chip-large-vertical-padding","",n.spacing2),largeGap:t.extend("--ft-chip-large-gap","",n.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.extend("--ft-chip-large-border-radius","",n.borderRadiusPill),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",n.iconSize3),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",n.spacing3),mediumVerticalPadding:t.extend("--ft-chip-medium-vertical-padding","",n.spacing1),mediumGap:t.extend("--ft-chip-medium-gap","",n.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.extend("--ft-chip-medium-border-radius","",n.borderRadiusPill),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",n.iconSize2),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",n.spacing2),smallVerticalPadding:t.extend("--ft-chip-small-vertical-padding","",n.spacing05),smallGap:t.extend("--ft-chip-small-gap","",n.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.extend("--ft-chip-small-border-radius","",n.borderRadiusPill),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",n.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",s.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",s.contentGlobalPrimary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",s.contentGlobalPrimary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",s.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",s.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",s.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",s.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",s.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",s.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",s.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",s.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",s.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",s.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",s.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",s.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",s.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",s.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",s.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",s.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",s.borderErrorSubtle)};var zl={infoBorderColor:t.extend("--ft-border-info-border-color","",s.borderInfoSubtle)};var Dl={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",n.spacing2),verticalPadding:t.extend("--ft-notice-vertical-padding","",n.spacing1),borderRadius:t.extend("--ft-notice-border-radius","",n.borderRadiusS),gap:t.extend("--ft-notice-gap","",n.spacing2),iconSize:t.extend("--ft-notice-icon-size","",n.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",s.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",s.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",s.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",s.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",s.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",s.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",s.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",s.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",s.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",s.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",s.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",s.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",s.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",s.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",s.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",s.contentSuccessIconOnly)};var Fl={color:t.extend("--ft-checkbox-color","",s.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",s.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",s.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",s.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",n.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",n.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",n.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",n.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",n.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",n.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",n.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",n.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",n.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",n.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",s.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","",n.spacing3)};var ql={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",n.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",n.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",n.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",n.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",s.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",s.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",s.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",n.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",n.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",n.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",n.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",s.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",s.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",s.contentActionPrimary),color:t.extend("--ft-toggle-color","",s.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",s.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",n.spacing3)};var oc={color:t.extend("--ft-radio-color","",s.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",s.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",s.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",n.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",n.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",n.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",n.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",s.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",s.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",n.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",n.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",n.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",n.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",s.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","",n.spacing3)};var lc={iconSize:t.extend("--ft-notification-icon-size","",n.iconSize4),horizontalPadding:t.extend("--ft-notification-horizontal-padding","",n.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",n.spacing4),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",s.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",s.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",s.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",s.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",s.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",s.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",s.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",s.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",s.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",s.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",s.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",s.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",s.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",s.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",s.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",s.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",n.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",n.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",n.spacing8)};var fc={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",n.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",n.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",n.borderRadiusS),color:t.extend("--ft-tooltip-color","",s.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",s.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",n.opacity80),shadow:t.extend("--ft-tooltip-shadow","",n.shadowElevation03),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",n.spacing05)};var Ae=u(T());function br(e){let o=Re[e];return Ae.css`
|
|
5
|
+
.ft-typography--${(0,Ae.unsafeCSS)(e)} {
|
|
6
|
+
font-family: ${o.fontFamily};
|
|
7
|
+
font-size: ${o.fontSize};
|
|
8
|
+
font-weight: ${o.fontWeight};
|
|
9
|
+
letter-spacing: ${o.letterSpacing};
|
|
10
|
+
line-height: ${o.lineHeight};
|
|
11
|
+
text-transform: ${o.textCase};
|
|
12
|
+
}
|
|
13
|
+
`}var xr=h.FtCssVariableFactory.extend("--ft-typography-font-family","",h.designSystemVariables.titleFont),xt=h.FtCssVariableFactory.extend("--ft-typography-font-family","",h.designSystemVariables.contentFont),b={fontFamily:xt,fontSize:h.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:h.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:h.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:h.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:h.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Mt={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-title-font-family","",xr),fontSize:h.FtCssVariableFactory.extend("--ft-typography-title-font-size","",b.fontSize,"20px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",b.fontWeight,"normal"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",b.letterSpacing,"0.15px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-title-line-height","",b.lineHeight,"1.2"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",b.textTransform,"inherit")},Kt={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",xr),fontSize:h.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",b.fontSize,"14px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",b.fontWeight,"normal"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",b.letterSpacing,"0.105px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",b.lineHeight,"1.7"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",b.textTransform,"inherit")},Zt={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",xt),fontSize:h.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",b.fontSize,"16px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",b.fontWeight,"600"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",b.letterSpacing,"0.144px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",b.lineHeight,"1.5"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",b.textTransform,"inherit")},Ft={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",xt),fontSize:h.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",b.fontSize,"14px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",b.fontWeight,"normal"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",b.letterSpacing,"0.098px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",b.lineHeight,"1.7"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",b.textTransform,"inherit")},Vt={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",xt),fontSize:h.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",b.fontSize,"16px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",b.fontWeight,"normal"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",b.letterSpacing,"0.496px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",b.lineHeight,"1.5"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",b.textTransform,"inherit")},jt={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",xt),fontSize:h.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",b.fontSize,"14px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",b.fontWeight,"normal"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",b.letterSpacing,"0.252px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",b.lineHeight,"1.4"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",b.textTransform,"inherit")},Yt={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",xt),fontSize:h.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",b.fontSize,"12px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",b.fontWeight,"normal"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",b.letterSpacing,"0.396px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",b.lineHeight,"1.33"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",b.textTransform,"inherit")},Xt={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",xt),fontSize:h.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",b.fontSize,"10px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",b.fontWeight,"normal"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",b.letterSpacing,"0.33px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",b.lineHeight,"1.6"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",b.textTransform,"inherit")},qt={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",xt),fontSize:h.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",b.fontSize,"10px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",b.fontWeight,"normal"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",b.letterSpacing,"1.5px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",b.lineHeight,"1.6"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",b.textTransform,"uppercase")},ht={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-button-font-family","",xt),fontSize:h.FtCssVariableFactory.extend("--ft-typography-button-font-size","",b.fontSize,"14px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",b.fontWeight,"600"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",b.letterSpacing,"1.246px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-button-line-height","",b.lineHeight,"1.15"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",b.textTransform,"uppercase")},Or=ct.css`
|
|
13
14
|
.ft-typography--title {
|
|
14
|
-
font-family: ${
|
|
15
|
-
font-size: ${
|
|
16
|
-
font-weight: ${
|
|
17
|
-
letter-spacing: ${
|
|
18
|
-
line-height: ${
|
|
19
|
-
text-transform: ${
|
|
20
|
-
}
|
|
21
|
-
`,
|
|
15
|
+
font-family: ${Mt.fontFamily};
|
|
16
|
+
font-size: ${Mt.fontSize};
|
|
17
|
+
font-weight: ${Mt.fontWeight};
|
|
18
|
+
letter-spacing: ${Mt.letterSpacing};
|
|
19
|
+
line-height: ${Mt.lineHeight};
|
|
20
|
+
text-transform: ${Mt.textTransform};
|
|
21
|
+
}
|
|
22
|
+
`,Sr=ct.css`
|
|
22
23
|
.ft-typography--title-dense {
|
|
23
|
-
font-family: ${
|
|
24
|
-
font-size: ${
|
|
25
|
-
font-weight: ${
|
|
26
|
-
letter-spacing: ${
|
|
27
|
-
line-height: ${
|
|
28
|
-
text-transform: ${
|
|
29
|
-
}
|
|
30
|
-
`,
|
|
24
|
+
font-family: ${Kt.fontFamily};
|
|
25
|
+
font-size: ${Kt.fontSize};
|
|
26
|
+
font-weight: ${Kt.fontWeight};
|
|
27
|
+
letter-spacing: ${Kt.letterSpacing};
|
|
28
|
+
line-height: ${Kt.lineHeight};
|
|
29
|
+
text-transform: ${Kt.textTransform};
|
|
30
|
+
}
|
|
31
|
+
`,Cr=ct.css`
|
|
31
32
|
.ft-typography--subtitle1 {
|
|
32
|
-
font-family: ${
|
|
33
|
-
font-size: ${
|
|
34
|
-
font-weight: ${
|
|
35
|
-
letter-spacing: ${
|
|
36
|
-
line-height: ${
|
|
37
|
-
text-transform: ${
|
|
38
|
-
}
|
|
39
|
-
`,
|
|
33
|
+
font-family: ${Zt.fontFamily};
|
|
34
|
+
font-size: ${Zt.fontSize};
|
|
35
|
+
font-weight: ${Zt.fontWeight};
|
|
36
|
+
letter-spacing: ${Zt.letterSpacing};
|
|
37
|
+
line-height: ${Zt.lineHeight};
|
|
38
|
+
text-transform: ${Zt.textTransform};
|
|
39
|
+
}
|
|
40
|
+
`,vr=ct.css`
|
|
40
41
|
.ft-typography--subtitle2 {
|
|
41
|
-
font-family: ${
|
|
42
|
-
font-size: ${
|
|
43
|
-
font-weight: ${
|
|
44
|
-
letter-spacing: ${
|
|
45
|
-
line-height: ${
|
|
46
|
-
text-transform: ${
|
|
42
|
+
font-family: ${Ft.fontFamily};
|
|
43
|
+
font-size: ${Ft.fontSize};
|
|
44
|
+
font-weight: ${Ft.fontWeight};
|
|
45
|
+
letter-spacing: ${Ft.letterSpacing};
|
|
46
|
+
line-height: ${Ft.lineHeight};
|
|
47
|
+
text-transform: ${Ft.textTransform};
|
|
47
48
|
}
|
|
48
49
|
|
|
49
|
-
`,
|
|
50
|
+
`,Nr=ct.css`
|
|
50
51
|
.ft-typography--body1 {
|
|
51
|
-
font-family: ${
|
|
52
|
-
font-size: ${
|
|
53
|
-
font-weight: ${
|
|
54
|
-
letter-spacing: ${
|
|
55
|
-
line-height: ${
|
|
56
|
-
text-transform: ${
|
|
57
|
-
}
|
|
58
|
-
`,
|
|
52
|
+
font-family: ${Vt.fontFamily};
|
|
53
|
+
font-size: ${Vt.fontSize};
|
|
54
|
+
font-weight: ${Vt.fontWeight};
|
|
55
|
+
letter-spacing: ${Vt.letterSpacing};
|
|
56
|
+
line-height: ${Vt.lineHeight};
|
|
57
|
+
text-transform: ${Vt.textTransform};
|
|
58
|
+
}
|
|
59
|
+
`,wr=ct.css`
|
|
59
60
|
.ft-typography--body2 {
|
|
60
|
-
font-family: ${
|
|
61
|
-
font-size: ${
|
|
62
|
-
font-weight: ${
|
|
63
|
-
letter-spacing: ${
|
|
64
|
-
line-height: ${
|
|
65
|
-
text-transform: ${jt};
|
|
66
|
-
}
|
|
67
|
-
`,
|
|
61
|
+
font-family: ${jt.fontFamily};
|
|
62
|
+
font-size: ${jt.fontSize};
|
|
63
|
+
font-weight: ${jt.fontWeight};
|
|
64
|
+
letter-spacing: ${jt.letterSpacing};
|
|
65
|
+
line-height: ${jt.lineHeight};
|
|
66
|
+
text-transform: ${jt.textTransform};
|
|
67
|
+
}
|
|
68
|
+
`,Er=ct.css`
|
|
68
69
|
.ft-typography--caption {
|
|
69
|
-
font-family: ${
|
|
70
|
-
font-size: ${
|
|
71
|
-
font-weight: ${Yt};
|
|
72
|
-
letter-spacing: ${
|
|
73
|
-
line-height: ${
|
|
74
|
-
text-transform: ${
|
|
75
|
-
}
|
|
76
|
-
`,
|
|
70
|
+
font-family: ${Yt.fontFamily};
|
|
71
|
+
font-size: ${Yt.fontSize};
|
|
72
|
+
font-weight: ${Yt.fontWeight};
|
|
73
|
+
letter-spacing: ${Yt.letterSpacing};
|
|
74
|
+
line-height: ${Yt.lineHeight};
|
|
75
|
+
text-transform: ${Yt.textTransform};
|
|
76
|
+
}
|
|
77
|
+
`,Rr=ct.css`
|
|
77
78
|
.ft-typography--breadcrumb {
|
|
78
|
-
font-family: ${
|
|
79
|
-
font-size: ${
|
|
80
|
-
font-weight: ${
|
|
81
|
-
letter-spacing: ${
|
|
82
|
-
line-height: ${
|
|
83
|
-
text-transform: ${
|
|
84
|
-
}
|
|
85
|
-
`,
|
|
79
|
+
font-family: ${Xt.fontFamily};
|
|
80
|
+
font-size: ${Xt.fontSize};
|
|
81
|
+
font-weight: ${Xt.fontWeight};
|
|
82
|
+
letter-spacing: ${Xt.letterSpacing};
|
|
83
|
+
line-height: ${Xt.lineHeight};
|
|
84
|
+
text-transform: ${Xt.textTransform};
|
|
85
|
+
}
|
|
86
|
+
`,Ar=ct.css`
|
|
86
87
|
.ft-typography--overline {
|
|
87
|
-
font-family: ${
|
|
88
|
-
font-size: ${
|
|
89
|
-
font-weight: ${
|
|
90
|
-
letter-spacing: ${
|
|
91
|
-
line-height: ${
|
|
92
|
-
text-transform: ${
|
|
93
|
-
}
|
|
94
|
-
`,
|
|
88
|
+
font-family: ${qt.fontFamily};
|
|
89
|
+
font-size: ${qt.fontSize};
|
|
90
|
+
font-weight: ${qt.fontWeight};
|
|
91
|
+
letter-spacing: ${qt.letterSpacing};
|
|
92
|
+
line-height: ${qt.lineHeight};
|
|
93
|
+
text-transform: ${qt.textTransform};
|
|
94
|
+
}
|
|
95
|
+
`,Lr=ct.css`
|
|
95
96
|
.ft-typography--button {
|
|
96
|
-
font-family: ${
|
|
97
|
-
font-size: ${
|
|
98
|
-
font-weight: ${
|
|
99
|
-
letter-spacing: ${
|
|
100
|
-
line-height: ${
|
|
101
|
-
text-transform: ${
|
|
102
|
-
}
|
|
103
|
-
|
|
97
|
+
font-family: ${ht.fontFamily};
|
|
98
|
+
font-size: ${ht.fontSize};
|
|
99
|
+
font-weight: ${ht.fontWeight};
|
|
100
|
+
letter-spacing: ${ht.letterSpacing};
|
|
101
|
+
line-height: ${ht.lineHeight};
|
|
102
|
+
text-transform: ${ht.textTransform};
|
|
103
|
+
}
|
|
104
|
+
`,$r=ct.css`
|
|
104
105
|
.ft-typography {
|
|
105
106
|
vertical-align: inherit;
|
|
106
107
|
}
|
|
107
|
-
`,
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
font-size: ${o.fontSize};
|
|
111
|
-
font-weight: ${o.fontWeight};
|
|
112
|
-
letter-spacing: ${o.letterSpacing};
|
|
113
|
-
line-height: ${o.lineHeight};
|
|
114
|
-
text-transform: ${o.textCase};
|
|
115
|
-
}
|
|
116
|
-
`}(t)))];var wo=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class Co extends o.FtLitElement{constructor(){super(...arguments),this.variant=tt.body1}render(){return this.element?Q`
|
|
117
|
-
<${q(this.element)}
|
|
108
|
+
`,Ir=[Object.keys(Re).map(e=>br(e))];var Pr=function(e,o,r,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,r):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,r,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,r,l):c(o,r))||l);return i>3&&l&&Object.defineProperty(o,r,l),l},et=class extends Wr.FtLitElement{constructor(){super(...arguments),this.variant=Tt.body1}render(){return this.element?qe`
|
|
109
|
+
<${Xe(this.element)}
|
|
110
|
+
part="text"
|
|
118
111
|
class="ft-typography ft-typography--${this.variant}">
|
|
119
112
|
<slot></slot>
|
|
120
|
-
</${
|
|
121
|
-
`:
|
|
122
|
-
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
123
|
-
`}}
|
|
113
|
+
</${Xe(this.element)}>
|
|
114
|
+
`:qe`
|
|
115
|
+
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
116
|
+
`}};et.styles=[Or,Sr,Cr,vr,Nr,wr,Er,Rr,Ar,Lr,$r,...Ir];Pr([(0,Je.property)()],et.prototype,"element",void 0);Pr([(0,Je.property)()],et.prototype,"variant",void 0);(0,Tr.customElement)("ft-typography")(et);var Hr=u(E());var _r=u(T()),de=u(lt()),kr=u(ie());var Le=u(E()),Br=u(T()),ya={outlineColor:Le.FtCssVariableFactory.extend("--ft-reader-internal-link-outline-color","",Le.designSystemVariables.colorPrimary)},zr=Br.css`
|
|
124
117
|
:host {
|
|
125
118
|
display: contents;
|
|
126
119
|
}
|
|
127
120
|
|
|
128
121
|
a:focus {
|
|
129
|
-
outline-color: ${
|
|
122
|
+
outline-color: ${ya.outlineColor};
|
|
130
123
|
}
|
|
131
124
|
|
|
132
125
|
.ft-reader-link--remove-style {
|
|
133
126
|
text-decoration: none;
|
|
134
127
|
color: inherit;
|
|
135
128
|
}
|
|
136
|
-
`;var
|
|
137
|
-
<a class=${
|
|
138
|
-
href="${
|
|
139
|
-
@click=${
|
|
129
|
+
`;var $e=function(e,o,r,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,r):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,r,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,r,l):c(o,r))||l);return i>3&&l&&Object.defineProperty(o,r,l),l},st=class extends Ut{constructor(){super(...arguments),this.removeStyle=!1}render(){var o;let r=(0,kr.classMap)({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return _r.html`
|
|
130
|
+
<a class=${r}
|
|
131
|
+
href="${(o=this.service)===null||o===void 0?void 0:o.getLink(this.tocId,this.pageNumber,this.section)}"
|
|
132
|
+
@click=${a=>this.onLinkClick(a)}>
|
|
140
133
|
<slot></slot>
|
|
141
134
|
</a>
|
|
142
|
-
`}onLinkClick(
|
|
135
|
+
`}onLinkClick(o){var r;!o.ctrlKey&&!o.metaKey&&(o.stopPropagation(),o.preventDefault(),performance.mark(`fluid_topics__reader_link_click__${this.tocId}`),(r=this.stateManager)===null||r===void 0||r.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}};st.styles=zr;$e([(0,de.property)()],st.prototype,"tocId",void 0);$e([(0,de.property)()],st.prototype,"section",void 0);$e([(0,de.property)({type:Number})],st.prototype,"pageNumber",void 0);$e([(0,de.property)({type:Boolean})],st.prototype,"removeStyle",void 0);(0,Hr.customElement)("ft-reader-internal-link")(st);var Fr=u(E());var fe=u(T()),Bt=u(lt()),Kr=u(E()),Zr=u(Dr());var Ie;(function(e){e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.STAR="",e.STAR_PLAIN="",e.DESKTOP="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.ARROW_RIGHT_TO_LINE="",e.THIN_ARROW_UP="",e.CONTEXTUAL="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_NORMALIZED="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.UNSTRUCTURED_DOC="",e.RESET="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.MY_COLLECTIONS="",e.OFFLINE_SETTINGS="",e.MY_LIBRARY="",e.RATE_PLAIN="",e.RATE="",e.FEEDBACK_PLAIN="",e.PAUSE="",e.PLAY="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.SHORTCUT_MENU="",e.PRINT="",e.DEFAULT_ROLES="",e.ACCOUNT_SETTINGS="",e.ONLINE="",e.OFFLINE="",e.UPLOAD="",e.BOOK_PLAIN="",e.SYNC="",e.SHARED_PBK="",e.COLLECTIONS="",e.SEARCH_IN_PUBLICATION="",e.BOOKS="",e.LOCKER="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SAVE="",e.MAILS_AND_NOTIFICATIONS="",e.DOT="",e.MINUS="",e.PLUS="",e.FILTERS="",e.STRIPE_ARROW_RIGHT="",e.STRIPE_ARROW_LEFT="",e.ATTACHMENTS="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.EXPORT="",e.MENU="",e.TAG="",e.TAG_PLAIN="",e.COPY_TO_CLIPBOARD="",e.COLUMNS="",e.ARTICLE="",e.CLOSE="",e.OCTAGON_XMARK="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.LOGOUT="",e.SIGN_IN="",e.THIN_ARROW="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.FACET_HAS_DESCENDANT="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.INFO="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.SHARE="󨃱",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.EXTLINK="",e.EXTLINK_LIGHT="",e.CALENDAR="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.TOPICS="",e.EYE="",e.EYE_SLASH="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN_THEME="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.HOME="",e.TRANSLATE="",e.USER="",e.ADMIN="",e.ANALYTICS="",e.ADMIN_KHUB="",e.ADMIN_USERS="",e.ADMIN_INTEGRATION="",e.ADMIN_PORTAL="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.PIP="",e.PIP_WIDE="",e.EXPAND_WIDE="",e.X_MARK="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CONSUMER="",e.HOURGLASS_HALF="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE=""})(Ie||(Ie={}));var f;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(f||(f={}));var Hs=new Map([...["abw"].map(e=>[e,f.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,f.AUDIO]),...["avi"].map(e=>[e,f.AVI]),...["chm","xhs"].map(e=>[e,f.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,f.CODE]),...["csv"].map(e=>[e,f.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,f.DITA]),...["epub"].map(e=>[e,f.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,f.EXCEL]),...["flac"].map(e=>[e,f.FLAC]),...["gif"].map(e=>[e,f.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,f.GZIP]),...["html","htm","xhtml"].map(e=>[e,f.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,f.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,f.JPEG]),...["json"].map(e=>[e,f.JSON]),...["m4a","m4p"].map(e=>[e,f.M4A]),...["mov","qt"].map(e=>[e,f.MOV]),...["mp3"].map(e=>[e,f.MP3]),...["mp4","m4v"].map(e=>[e,f.MP4]),...["ogg","oga"].map(e=>[e,f.OGG]),...["pdf","ps"].map(e=>[e,f.PDF]),...["png"].map(e=>[e,f.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,f.POWERPOINT]),...["rar"].map(e=>[e,f.RAR]),...["stp"].map(e=>[e,f.STP]),...["txt","rtf","md","mdown"].map(e=>[e,f.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,f.VIDEO]),...["wav"].map(e=>[e,f.WAV]),...["wma"].map(e=>[e,f.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,f.WORD]),...["xml","xsl","rdf"].map(e=>[e,f.XML]),...["yaml","yml","x-yaml"].map(e=>[e,f.YAML]),...["zip"].map(e=>[e,f.ZIP])]);var Us={[f.ABW]:"#91ABC6",[f.AUDIO]:"#1795E3",[f.AVI]:"#E63324",[f.CHM]:"#71C3EB",[f.CODE]:"#71C3EB",[f.CSV]:"#1F7345",[f.DITA]:"#71C3EB",[f.EPUB]:"#85B926",[f.EXCEL]:"#1F7345",[f.FLAC]:"#1795E3",[f.GIF]:"#59B031",[f.GZIP]:"#F8AB36",[f.HTML]:"#71C3EB",[f.IMAGE]:"#59B031",[f.JPEG]:"#59B031",[f.JSON]:"#71C3EB",[f.M4A]:"#1795E3",[f.MOV]:"#E63324",[f.MP3]:"#1795E3",[f.MP4]:"#E63324",[f.OGG]:"#1795E3",[f.PDF]:"#E44948",[f.PNG]:"#59B031",[f.POWERPOINT]:"#B54A2B",[f.RAR]:"#F8AB36",[f.STP]:"#3764B1",[f.TEXT]:"#3162AB",[f.UNKNOWN]:"#999999",[f.VIDEO]:"#E63324",[f.WAV]:"#1795E3",[f.WMA]:"#1795E3",[f.WORD]:"#3162AB",[f.XML]:"#71C3EB",[f.YAML]:"#71C3EB",[f.ZIP]:"#F8AB36"};var Gr=u(T()),Ot=u(E()),j={size:Ot.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ot.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Ot.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ot.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Ot.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ot.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Ot.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ot.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Mr=Gr.css`
|
|
143
136
|
:host, i.ft-icon {
|
|
144
137
|
display: inline-flex;
|
|
145
138
|
align-items: center;
|
|
@@ -148,14 +141,14 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
148
141
|
}
|
|
149
142
|
|
|
150
143
|
:host {
|
|
151
|
-
width: ${
|
|
152
|
-
height: ${
|
|
144
|
+
width: ${j.size};
|
|
145
|
+
height: ${j.size};
|
|
153
146
|
}
|
|
154
147
|
|
|
155
148
|
i.ft-icon {
|
|
156
149
|
width: 100%;
|
|
157
150
|
height: 100%;
|
|
158
|
-
font-size: ${
|
|
151
|
+
font-size: ${j.size};
|
|
159
152
|
line-height: 1;
|
|
160
153
|
font-weight: normal;
|
|
161
154
|
text-transform: none;
|
|
@@ -166,33 +159,33 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
166
159
|
text-rendering: auto;
|
|
167
160
|
-webkit-font-smoothing: antialiased;
|
|
168
161
|
-moz-osx-font-smoothing: grayscale;
|
|
169
|
-
vertical-align: ${
|
|
162
|
+
vertical-align: ${j.verticalAlign};
|
|
170
163
|
}
|
|
171
164
|
|
|
172
165
|
i.ft-icon.ft-icon--fluid-topics {
|
|
173
|
-
font-family: ${
|
|
166
|
+
font-family: ${j.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
174
167
|
|
|
175
168
|
/* Ugly fix because font is broken */
|
|
176
|
-
font-size: calc(0.75 * ${
|
|
177
|
-
line-height: ${
|
|
169
|
+
font-size: calc(0.75 * ${j.size});
|
|
170
|
+
line-height: ${j.size};
|
|
178
171
|
position: relative;
|
|
179
172
|
top: -4%;
|
|
180
173
|
justify-content: center;
|
|
181
174
|
}
|
|
182
175
|
|
|
183
176
|
.ft-icon--file-format {
|
|
184
|
-
font-family: ${
|
|
177
|
+
font-family: ${j.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
185
178
|
}
|
|
186
179
|
|
|
187
180
|
.ft-icon--material {
|
|
188
|
-
font-family: ${
|
|
181
|
+
font-family: ${j.materialFontFamily}, "Material Icons", sans-serif;
|
|
189
182
|
}
|
|
190
|
-
`;var
|
|
191
|
-
<i class="ft-icon ft-icon--${
|
|
192
|
-
${
|
|
193
|
-
<slot ?hidden=${
|
|
183
|
+
`;var pt;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(pt||(pt={}));var Pe=function(e,o,r,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,r):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,r,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,r,l):c(o,r))||l);return i>3&&l&&Object.defineProperty(o,r,l),l},Y=class extends Kr.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=fe.nothing}render(){let o=this.variant&&Object.values(pt).includes(this.variant)?this.variant:pt.fluid_topics,r=o!==pt.material||!!this.value;return fe.html`
|
|
184
|
+
<i class="ft-icon ft-icon--${o}" part="icon icon-${o}">
|
|
185
|
+
${(0,Zr.unsafeHTML)(this.resolvedIcon)}
|
|
186
|
+
<slot ?hidden=${r}></slot>
|
|
194
187
|
</i>
|
|
195
|
-
`}get textContent(){var
|
|
188
|
+
`}get textContent(){var o,r;return(r=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(a=>a.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 a=this.value||this.textContent;switch(this.variant){case pt.file_format:this.resolvedIcon=(o=f[a.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:a;break;case pt.material:this.resolvedIcon=this.value||fe.nothing;break;default:this.resolvedIcon=(r=Ie[a.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:a;break}}firstUpdated(o){super.firstUpdated(o),setTimeout(()=>this.resolveIcon())}};Y.elementDefinitions={};Y.styles=Mr;Pe([(0,Bt.property)()],Y.prototype,"variant",void 0);Pe([(0,Bt.property)()],Y.prototype,"value",void 0);Pe([(0,Bt.state)()],Y.prototype,"resolvedIcon",void 0);Pe([(0,Bt.query)("slot")],Y.prototype,"slottedContent",void 0);(0,Fr.customElement)("ft-icon")(Y);var po=u(E());var Se=u(lt()),Dn=u(E());var nn=u(T()),O=u(E());var Jr=u(T()),_=u(E()),Vr=_.FtCssVariableFactory.extend("--ft-ripple-color","",_.designSystemVariables.colorContent),N={color:Vr,backgroundColor:_.FtCssVariableFactory.extend("--ft-ripple-background-color","",Vr),opacityContentOnSurfacePressed:_.FtCssVariableFactory.external(_.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:_.FtCssVariableFactory.external(_.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:_.FtCssVariableFactory.external(_.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:_.FtCssVariableFactory.external(_.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:_.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},jr=_.FtCssVariableFactory.extend("--ft-ripple-color","",_.designSystemVariables.colorPrimary),Yr={color:jr,backgroundColor:_.FtCssVariableFactory.extend("--ft-ripple-background-color","",jr)},Xr=_.FtCssVariableFactory.extend("--ft-ripple-color","",_.designSystemVariables.colorSecondary),qr={color:Xr,backgroundColor:_.FtCssVariableFactory.extend("--ft-ripple-background-color","",Xr)},Qr=Jr.css`
|
|
196
189
|
:host {
|
|
197
190
|
display: contents;
|
|
198
191
|
}
|
|
@@ -205,7 +198,7 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
205
198
|
|
|
206
199
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
207
200
|
overflow: hidden;
|
|
208
|
-
border-radius: ${
|
|
201
|
+
border-radius: ${N.borderRadius};
|
|
209
202
|
}
|
|
210
203
|
|
|
211
204
|
.ft-ripple .ft-ripple--background,
|
|
@@ -239,27 +232,27 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
239
232
|
}
|
|
240
233
|
|
|
241
234
|
.ft-ripple .ft-ripple--background {
|
|
242
|
-
background-color: ${
|
|
235
|
+
background-color: ${N.backgroundColor};
|
|
243
236
|
}
|
|
244
237
|
|
|
245
238
|
.ft-ripple .ft-ripple--effect {
|
|
246
|
-
background-color: ${
|
|
239
|
+
background-color: ${N.color};
|
|
247
240
|
}
|
|
248
241
|
|
|
249
242
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
250
|
-
background-color: ${
|
|
243
|
+
background-color: ${qr.backgroundColor};
|
|
251
244
|
}
|
|
252
245
|
|
|
253
246
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
254
|
-
background-color: ${
|
|
247
|
+
background-color: ${qr.color};
|
|
255
248
|
}
|
|
256
249
|
|
|
257
250
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
258
|
-
background-color: ${
|
|
251
|
+
background-color: ${Yr.backgroundColor};
|
|
259
252
|
}
|
|
260
253
|
|
|
261
254
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
262
|
-
background-color: ${
|
|
255
|
+
background-color: ${Yr.color};
|
|
263
256
|
}
|
|
264
257
|
|
|
265
258
|
.ft-ripple .ft-ripple--background {
|
|
@@ -289,22 +282,22 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
289
282
|
}
|
|
290
283
|
|
|
291
284
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
292
|
-
opacity: ${
|
|
285
|
+
opacity: ${N.opacityContentOnSurfaceHover};
|
|
293
286
|
}
|
|
294
287
|
|
|
295
288
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
296
|
-
opacity: ${
|
|
289
|
+
opacity: ${N.opacityContentOnSurfaceSelected};
|
|
297
290
|
}
|
|
298
291
|
|
|
299
292
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
300
|
-
opacity: ${
|
|
293
|
+
opacity: ${N.opacityContentOnSurfaceFocused};
|
|
301
294
|
}
|
|
302
295
|
|
|
303
296
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
304
|
-
opacity: ${
|
|
297
|
+
opacity: ${N.opacityContentOnSurfacePressed};
|
|
305
298
|
transform: translate(-50%, -50%) scale(1);
|
|
306
299
|
}
|
|
307
|
-
|
|
300
|
+
`;var tn=u(T()),ge=u(E()),X={color:ge.FtCssVariableFactory.extend("--ft-loader-color","",ge.designSystemVariables.colorPrimary),size:ge.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},en=tn.css`
|
|
308
301
|
:host {
|
|
309
302
|
line-height: 0;
|
|
310
303
|
}
|
|
@@ -313,8 +306,8 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
313
306
|
display: inline-block;
|
|
314
307
|
position: relative;
|
|
315
308
|
|
|
316
|
-
width: ${
|
|
317
|
-
height: ${
|
|
309
|
+
width: ${X.size};
|
|
310
|
+
height: ${X.size};
|
|
318
311
|
}
|
|
319
312
|
|
|
320
313
|
.ft-loader div {
|
|
@@ -323,7 +316,7 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
323
316
|
width: 25%;
|
|
324
317
|
height: 25%;
|
|
325
318
|
border-radius: 50%;
|
|
326
|
-
background: ${
|
|
319
|
+
background: ${X.color};
|
|
327
320
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
328
321
|
}
|
|
329
322
|
|
|
@@ -370,10 +363,10 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
370
363
|
transform: translate(0, 0);
|
|
371
364
|
}
|
|
372
365
|
100% {
|
|
373
|
-
transform: translate(calc(0.35 * ${
|
|
366
|
+
transform: translate(calc(0.35 * ${X.size}), 0);
|
|
374
367
|
}
|
|
375
368
|
}
|
|
376
|
-
|
|
369
|
+
`;var on=O.FtCssVariableFactory.extend("--ft-button-color","",O.designSystemVariables.colorPrimary),$={backgroundColor:O.FtCssVariableFactory.extend("--ft-button-background-color","",O.designSystemVariables.colorSurface),borderRadius:O.FtCssVariableFactory.extend("--ft-button-border-radius","",O.designSystemVariables.borderRadiusL),color:on,fontSize:O.FtCssVariableFactory.extend("--ft-button-font-size","",ht.fontSize),iconSize:O.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:O.FtCssVariableFactory.extend("--ft-button-ripple-color","",on),verticalPadding:O.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:O.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:O.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:O.FtCssVariableFactory.external(O.designSystemVariables.colorOpacityDisabled,"Design system")},rn=O.FtCssVariableFactory.extend("--ft-button-primary-color","",O.FtCssVariableFactory.extend("--ft-button-color","",O.designSystemVariables.colorOnPrimary)),Qe={backgroundColor:O.FtCssVariableFactory.extend("--ft-button-primary-background-color","",O.FtCssVariableFactory.extend("--ft-button-background-color","",O.designSystemVariables.colorPrimary)),color:rn,rippleColor:O.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",rn)},ut={borderRadius:O.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",O.FtCssVariableFactory.extend("--ft-button-border-radius","",O.designSystemVariables.borderRadiusM)),verticalPadding:O.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:O.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:O.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},an=[nn.css`
|
|
377
370
|
:host {
|
|
378
371
|
display: inline-block;
|
|
379
372
|
max-width: 100%;
|
|
@@ -384,7 +377,7 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
384
377
|
box-shadow: 0px 0px 0px transparent;
|
|
385
378
|
border: 0px solid transparent;
|
|
386
379
|
text-shadow: 0px 0px 0px transparent;
|
|
387
|
-
font-size: ${
|
|
380
|
+
font-size: ${$.fontSize};
|
|
388
381
|
}
|
|
389
382
|
|
|
390
383
|
button:hover {
|
|
@@ -413,31 +406,31 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
413
406
|
border: none;
|
|
414
407
|
pointer-events: auto;
|
|
415
408
|
|
|
416
|
-
--ft-button-internal-line-height: max(calc(${
|
|
417
|
-
--ft-button-internal-color: ${
|
|
418
|
-
${
|
|
419
|
-
${
|
|
409
|
+
--ft-button-internal-line-height: max(calc(${$.fontSize} + 2px), ${$.iconSize});
|
|
410
|
+
--ft-button-internal-color: ${$.color};
|
|
411
|
+
${(0,O.setVariable)(j.size,$.iconSize)};
|
|
412
|
+
${(0,O.setVariable)(N.color,$.rippleColor)};
|
|
420
413
|
|
|
421
|
-
border-radius: ${
|
|
422
|
-
padding: ${
|
|
423
|
-
background-color: ${
|
|
414
|
+
border-radius: ${$.borderRadius};
|
|
415
|
+
padding: ${$.verticalPadding} ${$.horizontalPadding};
|
|
416
|
+
background-color: ${$.backgroundColor};
|
|
424
417
|
color: var(--ft-button-internal-color);
|
|
425
418
|
-webkit-mask-image: radial-gradient(white, black);
|
|
426
419
|
}
|
|
427
420
|
|
|
428
421
|
.ft-button.ft-button--outlined {
|
|
429
422
|
border: 1px solid var(--ft-button-internal-color);
|
|
430
|
-
padding: calc(${
|
|
423
|
+
padding: calc(${$.verticalPadding} - 1px) calc(${$.horizontalPadding} - 1px);
|
|
431
424
|
}
|
|
432
425
|
|
|
433
426
|
.ft-button.ft-button--dense {
|
|
434
|
-
padding: ${
|
|
435
|
-
border-radius: ${
|
|
436
|
-
gap: ${
|
|
427
|
+
padding: ${ut.verticalPadding} ${ut.horizontalPadding};
|
|
428
|
+
border-radius: ${ut.borderRadius};
|
|
429
|
+
gap: ${ut.iconPadding};
|
|
437
430
|
}
|
|
438
431
|
|
|
439
432
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
440
|
-
padding: calc(${
|
|
433
|
+
padding: calc(${ut.verticalPadding} - 1px) calc(${ut.horizontalPadding} - 1px);
|
|
441
434
|
}
|
|
442
435
|
|
|
443
436
|
.ft-button:not([disabled]):hover {
|
|
@@ -445,22 +438,22 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
445
438
|
}
|
|
446
439
|
|
|
447
440
|
.ft-button--round {
|
|
448
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
441
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${$.verticalPadding});
|
|
449
442
|
}
|
|
450
443
|
|
|
451
444
|
.ft-button--round.ft-button--dense {
|
|
452
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
445
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ut.verticalPadding});
|
|
453
446
|
}
|
|
454
447
|
|
|
455
448
|
.ft-button[disabled] {
|
|
456
449
|
filter: grayscale(1);
|
|
457
|
-
opacity: ${
|
|
450
|
+
opacity: ${$.opacityDisabled};
|
|
458
451
|
}
|
|
459
452
|
|
|
460
453
|
.ft-button.ft-button--primary {
|
|
461
|
-
background-color: ${
|
|
462
|
-
--ft-button-internal-color: ${
|
|
463
|
-
${
|
|
454
|
+
background-color: ${Qe.backgroundColor};
|
|
455
|
+
--ft-button-internal-color: ${Qe.color};
|
|
456
|
+
${(0,O.setVariable)(N.color,Qe.rippleColor)};
|
|
464
457
|
}
|
|
465
458
|
|
|
466
459
|
.ft-button:focus {
|
|
@@ -473,55 +466,54 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
473
466
|
white-space: nowrap;
|
|
474
467
|
text-overflow: ellipsis;
|
|
475
468
|
display: block;
|
|
476
|
-
margin: 0 ${
|
|
477
|
-
${
|
|
478
|
-
${
|
|
469
|
+
margin: 0 ${$.iconPadding};
|
|
470
|
+
${(0,O.setVariable)(ht.fontSize,"1em")};
|
|
471
|
+
${(0,O.setVariable)(ht.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
479
472
|
}
|
|
480
473
|
|
|
481
474
|
.ft-button--dense .ft-button--label {
|
|
482
|
-
margin: 0 ${
|
|
475
|
+
margin: 0 ${ut.iconPadding};
|
|
483
476
|
}
|
|
484
477
|
|
|
485
478
|
.ft-button--label[hidden] {
|
|
486
479
|
display: none;
|
|
487
480
|
}
|
|
488
481
|
|
|
489
|
-
|
|
482
|
+
[part="icon"] {
|
|
490
483
|
flex-shrink: 0;
|
|
491
484
|
position: relative;
|
|
492
485
|
}
|
|
493
486
|
|
|
494
|
-
.ft-button--label[hidden] +
|
|
495
|
-
margin: 0 calc(${
|
|
496
|
-
padding: 0 ${
|
|
487
|
+
.ft-button--label[hidden] + [part="icon"] {
|
|
488
|
+
margin: 0 calc(${$.horizontalPadding} * -1);
|
|
489
|
+
padding: 0 ${$.verticalPadding};
|
|
497
490
|
}
|
|
498
491
|
|
|
499
|
-
.ft-button--dense .ft-button--label[hidden] +
|
|
500
|
-
margin: 0 calc(${
|
|
501
|
-
padding: 0 ${
|
|
492
|
+
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
493
|
+
margin: 0 calc(${ut.horizontalPadding} * -1);
|
|
494
|
+
padding: 0 ${ut.verticalPadding};
|
|
502
495
|
}
|
|
503
496
|
|
|
504
|
-
.ft-button:not(.ft-button--trailing-icon)
|
|
505
|
-
|
|
506
|
-
order: -1;
|
|
497
|
+
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
498
|
+
order: 2;
|
|
507
499
|
}
|
|
508
500
|
|
|
509
501
|
ft-loader {
|
|
510
|
-
${
|
|
511
|
-
${
|
|
502
|
+
${(0,O.setVariable)(X.size,$.iconSize)};
|
|
503
|
+
${(0,O.setVariable)(X.color,"var(--ft-button-internal-color)")};
|
|
512
504
|
}
|
|
513
|
-
`,
|
|
505
|
+
`,O.noTextSelect];var re=u(E());var sn=u(E());var ln=u(T()),K=u(lt()),cn=u(ie()),he=u(E());var q=function(e,o,r,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,r):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,r,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,r,l):c(o,r))||l);return i>3&&l&&Object.defineProperty(o,r,l),l},P=class extends he.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 he.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 he.Debouncer(10),this.moveRipple=o=>{var r,a;let{x:i,y:l}=this.getCoordinates(o),c=(a=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&a!==void 0?a:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-c.x:c.width/2),this.originY=Math.round(l!=null?l-c.y:c.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 ln.html`
|
|
514
506
|
<style>
|
|
515
507
|
.ft-ripple .ft-ripple--effect {
|
|
516
508
|
left: ${this.originX}px;
|
|
517
509
|
top: ${this.originY}px;
|
|
518
510
|
}
|
|
519
511
|
</style>
|
|
520
|
-
<div class="${
|
|
512
|
+
<div class="${(0,cn.classMap)(o)}">
|
|
521
513
|
<div class="ft-ripple--background"></div>
|
|
522
514
|
<div class="ft-ripple--effect"></div>
|
|
523
515
|
</div>
|
|
524
|
-
`}contentAvailableCallback(
|
|
516
|
+
`}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,a;super.update(o),o.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(a=this.target)===null||a===void 0||a.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 a=(o=this.shadowRoot)===null||o===void 0?void 0:o.host.parentElement;a&&this.setupFor((r=this.target)!==null&&r!==void 0?r:a)}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=(...p)=>d=>{p.forEach(g=>window.addEventListener(g,this.endPress,{once:!0})),this.startPress(d)},a=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),l=p=>{["Enter"," "].includes(p.key)&&r("keyup")(p)},c={passive:!0};o.addEventListener("mouseover",this.startHover,c),o.addEventListener("mousemove",this.moveRipple,c),o.addEventListener("mouseleave",this.endHover,c),o.addEventListener("mousedown",a,c),o.addEventListener("touchstart",i,c),o.addEventListener("touchmove",this.moveRipple,c),o.addEventListener("keydown",l,c),o.addEventListener("focus",this.startFocus,c),o.addEventListener("blur",this.endFocus,c),o.addEventListener("focusin",this.startFocus,c),o.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{o.removeAttribute("data-is-ft-ripple-target"),o.removeEventListener("mouseover",this.startHover,c),o.removeEventListener("mousemove",this.moveRipple,c),o.removeEventListener("mouseleave",this.endHover,c),o.removeEventListener("mousedown",a,c),o.removeEventListener("touchstart",i,c),o.removeEventListener("touchmove",this.moveRipple,c),o.removeEventListener("keydown",l,c),o.removeEventListener("focus",this.startFocus,c),o.removeEventListener("blur",this.endFocus,c),o.removeEventListener("focusin",this.startFocus,c),o.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(o){let r=o,a=o,i,l;return r.x!=null?{x:i,y:l}=r:a.touches!=null&&(i=a.touches[0].clientX,l=a.touches[0].clientY),{x:i,y:l}}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()}};P.elementDefinitions={};P.styles=Qr;q([(0,K.property)({type:Boolean})],P.prototype,"primary",void 0);q([(0,K.property)({type:Boolean})],P.prototype,"secondary",void 0);q([(0,K.property)({type:Boolean})],P.prototype,"unbounded",void 0);q([(0,K.property)({type:Boolean})],P.prototype,"activated",void 0);q([(0,K.property)({type:Boolean})],P.prototype,"selected",void 0);q([(0,K.property)({type:Boolean})],P.prototype,"disabled",void 0);q([(0,K.state)()],P.prototype,"hovered",void 0);q([(0,K.state)()],P.prototype,"focused",void 0);q([(0,K.state)()],P.prototype,"pressed",void 0);q([(0,K.state)()],P.prototype,"rippling",void 0);q([(0,K.state)()],P.prototype,"originX",void 0);q([(0,K.state)()],P.prototype,"originY",void 0);q([(0,K.query)(".ft-ripple")],P.prototype,"ripple",void 0);q([(0,K.query)(".ft-ripple--effect")],P.prototype,"rippleEffect",void 0);(0,sn.customElement)("ft-ripple")(P);var zn=u(E());var Bn=u(T()),D=u(lt()),Oe=u(E());var pn=u(T()),St=u(E()),Jt={distance:St.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:St.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:St.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:St.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:St.FtCssVariableFactory.external(St.designSystemVariables.borderRadiusS,"Design system"),maxWidth:St.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},dn=pn.css`
|
|
525
517
|
.ft-tooltip--container {
|
|
526
518
|
display: block;
|
|
527
519
|
}
|
|
@@ -536,21 +528,21 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
536
528
|
box-sizing: border-box;
|
|
537
529
|
overflow: hidden;
|
|
538
530
|
width: max-content;
|
|
539
|
-
max-width: ${
|
|
531
|
+
max-width: ${Jt.maxWidth};
|
|
540
532
|
text-align: center;
|
|
541
|
-
padding: ${
|
|
542
|
-
z-index: ${
|
|
533
|
+
padding: ${Jt.distance};
|
|
534
|
+
z-index: ${Jt.zIndex};
|
|
543
535
|
}
|
|
544
536
|
|
|
545
537
|
.ft-tooltip--content {
|
|
546
538
|
padding: 4px 8px;
|
|
547
|
-
border-radius: ${
|
|
548
|
-
background-color: ${
|
|
549
|
-
color: ${
|
|
539
|
+
border-radius: ${Jt.borderRadiusS};
|
|
540
|
+
background-color: ${Jt.backgroundColor};
|
|
541
|
+
color: ${Jt.color};
|
|
550
542
|
position: relative;
|
|
551
543
|
word-break: break-word;
|
|
552
544
|
}
|
|
553
|
-
`,de=["start","end"],he=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+de[0],o+"-"+de[1])),[]),ge=Math.min,ye=Math.max,ue=Math.round,be=t=>({x:t,y:t}),me={left:"right",right:"left",bottom:"top",top:"bottom"},xe={start:"end",end:"start"};function ve(t,o,e){return ye(t,ge(o,e))}function Oe(t,o){return"function"==typeof t?t(o):t}function Ne(t){return t.split("-")[0]}function Se(t){return t.split("-")[1]}function we(t){return"x"===t?"y":"x"}function Ce(t){return"y"===t?"height":"width"}function $e(t){return["top","bottom"].includes(Ne(t))?"y":"x"}function Ie(t){return we($e(t))}function Ee(t){return t.replace(/left|right|bottom|top/g,(t=>me[t]))}function We(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ke(t,o,e){let{reference:r,floating:a}=t;const i=$e(o),n=Ie(o),l=Ce(n),c=Ne(o),p="y"===i,s=r.x+r.width/2-a.width/2,f=r.y+r.height/2-a.height/2,d=r[l]/2-a[l]/2;let h;switch(c){case"top":h={x:s,y:r.y-a.height};break;case"bottom":h={x:s,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-a.width,y:f};break;default:h={x:r.x,y:r.y}}switch(Se(o)){case"start":h[n]-=d*(e&&p?-1:1);break;case"end":h[n]+=d*(e&&p?-1:1)}return h}async function Ue(t,o){var e;void 0===o&&(o={});const{x:r,y:a,platform:i,rects:n,elements:l,strategy:c}=t,{boundary:p="clippingAncestors",rootBoundary:s="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=Oe(o,t),g=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),y=l[d?"floating"===f?"reference":"floating":f],u=We(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(y)))||e?y:y.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:p,rootBoundary:s,strategy:c})),b="floating"===f?{...n.floating,x:r,y:a}:n.reference,m=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),x=await(null==i.isElement?void 0:i.isElement(m))&&await(null==i.getScale?void 0:i.getScale(m))||{x:1,y:1},v=We(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(u.top-v.top+g.top)/x.y,bottom:(v.bottom-u.bottom+g.bottom)/x.y,left:(u.left-v.left+g.left)/x.x,right:(v.right-u.right+g.right)/x.x}}function Re(t,o,e){return(t?[...e.filter((o=>Se(o)===t)),...e.filter((o=>Se(o)!==t))]:e.filter((t=>Ne(t)===t))).filter((e=>!t||(Se(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>xe[t]))}(e)!==e)))}const Le=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,a;const{rects:i,middlewareData:n,placement:l,platform:c,elements:p}=o,{crossAxis:s=!1,alignment:f,allowedPlacements:d=he,autoAlignment:h=!0,...g}=Oe(t,o),y=void 0!==f||d===he?Re(f||null,h,d):d,u=await Ue(o,g),b=(null==(e=n.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=Se(t),a=Ie(t),i=Ce(a);let n="x"===a?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[i]>o.floating[i]&&(n=Ee(n)),[n,Ee(n)]}(m,i,await(null==c.isRTL?void 0:c.isRTL(p.floating)));if(l!==m)return{reset:{placement:y[0]}};const v=[u[Ne(m)],u[x[0]],u[x[1]]],O=[...(null==(r=n.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:v}],N=y[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const S=O.map((t=>{const o=Se(t.placement);return[t.placement,o&&s?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,Se(t[0])?2:3).every((t=>t<=0)))),C=(null==(a=w[0])?void 0:a[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function ze(t){return Fe(t)?(t.nodeName||"").toLowerCase():"#document"}function Ze(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Ke(t){var o;return null==(o=(Fe(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Fe(t){return t instanceof Node||t instanceof Ze(t).Node}function Be(t){return t instanceof Element||t instanceof Ze(t).Element}function De(t){return t instanceof HTMLElement||t instanceof Ze(t).HTMLElement}function Ae(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Ze(t).ShadowRoot)}function He(t){const{overflow:o,overflowX:e,overflowY:r,display:a}=Me(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(a)}function Ge(t){return["table","td","th"].includes(ze(t))}function Pe(t){const o=Te(),e=Me(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Te(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function je(t){return["html","body","#document"].includes(ze(t))}function Me(t){return Ze(t).getComputedStyle(t)}function _e(t){return Be(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ye(t){if("html"===ze(t))return t;const o=t.assignedSlot||t.parentNode||Ae(t)&&t.host||Ke(t);return Ae(o)?o.host:o}function Ve(t){const o=Ye(t);return je(o)?t.ownerDocument?t.ownerDocument.body:t.body:De(o)&&He(o)?o:Ve(o)}function Xe(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const a=Ve(t),i=a===(null==(r=t.ownerDocument)?void 0:r.body),n=Ze(a);return i?o.concat(n,n.visualViewport||[],He(a)?a:[],n.frameElement&&e?Xe(n.frameElement):[]):o.concat(a,Xe(a,[],e))}function qe(t){const o=Me(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const a=De(t),i=a?t.offsetWidth:e,n=a?t.offsetHeight:r,l=ue(e)!==i||ue(r)!==n;return l&&(e=i,r=n),{width:e,height:r,$:l}}function Je(t){return Be(t)?t:t.contextElement}function Qe(t){const o=Je(t);if(!De(o))return be(1);const e=o.getBoundingClientRect(),{width:r,height:a,$:i}=qe(o);let n=(i?ue(e.width):e.width)/r,l=(i?ue(e.height):e.height)/a;return n&&Number.isFinite(n)||(n=1),l&&Number.isFinite(l)||(l=1),{x:n,y:l}}const tr=be(0);function or(t){const o=Ze(t);return Te()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:tr}function er(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const a=t.getBoundingClientRect(),i=Je(t);let n=be(1);o&&(r?Be(r)&&(n=Qe(r)):n=Qe(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Ze(t))&&o}(i,e,r)?or(i):be(0);let c=(a.left+l.x)/n.x,p=(a.top+l.y)/n.y,s=a.width/n.x,f=a.height/n.y;if(i){const t=Ze(i),o=r&&Be(r)?Ze(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Qe(e),o=e.getBoundingClientRect(),r=Me(e),a=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,i=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,p*=t.y,s*=t.x,f*=t.y,c+=a,p+=i,e=Ze(e).frameElement}}return We({width:s,height:f,x:c,y:p})}function rr(t){return er(Ke(t)).left+_e(t).scrollLeft}function ar(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Ze(t),r=Ke(t),a=e.visualViewport;let i=r.clientWidth,n=r.clientHeight,l=0,c=0;if(a){i=a.width,n=a.height;const t=Te();(!t||t&&"fixed"===o)&&(l=a.offsetLeft,c=a.offsetTop)}return{width:i,height:n,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=Ke(t),e=_e(t),r=t.ownerDocument.body,a=ye(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),i=ye(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let n=-e.scrollLeft+rr(t);const l=-e.scrollTop;return"rtl"===Me(r).direction&&(n+=ye(o.clientWidth,r.clientWidth)-a),{width:a,height:i,x:n,y:l}}(Ke(t));else if(Be(o))r=function(t,o){const e=er(t,!0,"fixed"===o),r=e.top+t.clientTop,a=e.left+t.clientLeft,i=De(t)?Qe(t):be(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:a*i.x,y:r*i.y}}(o,e);else{const e=or(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return We(r)}function ir(t,o){const e=Ye(t);return!(e===o||!Be(e)||je(e))&&("fixed"===Me(e).position||ir(e,o))}function nr(t,o,e){const r=De(o),a=Ke(o),i="fixed"===e,n=er(t,!0,i,o);let l={scrollLeft:0,scrollTop:0};const c=be(0);if(r||!r&&!i)if(("body"!==ze(o)||He(a))&&(l=_e(o)),r){const t=er(o,!0,i,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else a&&(c.x=rr(a));return{x:n.left+l.scrollLeft-c.x,y:n.top+l.scrollTop-c.y,width:n.width,height:n.height}}function lr(t,o){return De(t)&&"fixed"!==Me(t).position?o?o(t):t.offsetParent:null}function cr(t,o){const e=Ze(t);if(!De(t))return e;let r=lr(t,o);for(;r&&Ge(r)&&"static"===Me(r).position;)r=lr(r,o);return r&&("html"===ze(r)||"body"===ze(r)&&"static"===Me(r).position&&!Pe(r))?e:r||function(t){let o=Ye(t);for(;De(o)&&!je(o);){if(Pe(o))return o;o=Ye(o)}return null}(t)||e}const pr={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const a=De(e),i=Ke(e);if(e===i)return o;let n={scrollLeft:0,scrollTop:0},l=be(1);const c=be(0);if((a||!a&&"fixed"!==r)&&(("body"!==ze(e)||He(i))&&(n=_e(e)),De(e))){const t=er(e);l=Qe(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-n.scrollLeft*l.x+c.x,y:o.y*l.y-n.scrollTop*l.y+c.y}},getDocumentElement:Ke,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:a}=t;const i=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=Xe(t,[],!1).filter((t=>Be(t)&&"body"!==ze(t))),a=null;const i="fixed"===Me(t).position;let n=i?Ye(t):t;for(;Be(n)&&!je(n);){const o=Me(n),e=Pe(n);e||"fixed"!==o.position||(a=null),(i?!e&&!a:!e&&"static"===o.position&&a&&["absolute","fixed"].includes(a.position)||He(n)&&!e&&ir(t,n))?r=r.filter((t=>t!==n)):a=o,n=Ye(n)}return o.set(t,r),r}(o,this._c):[].concat(e),r],n=i[0],l=i.reduce(((t,e)=>{const r=ar(o,e,a);return t.top=ye(r.top,t.top),t.right=ge(r.right,t.right),t.bottom=ge(r.bottom,t.bottom),t.left=ye(r.left,t.left),t}),ar(o,n,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:cr,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const a=this.getOffsetParent||cr,i=this.getDimensions;return{reference:nr(o,await a(e),r),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return qe(t)},getScale:Qe,isElement:Be,isRTL:function(t){return"rtl"===Me(t).direction}},sr=(t,o,e)=>{const r=new Map,a={platform:pr,...e},i={...a.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:n}=e,l=i.filter(Boolean),c=await(null==n.isRTL?void 0:n.isRTL(o));let p=await n.getElementRects({reference:t,floating:o,strategy:a}),{x:s,y:f}=ke(p,r,c),d=r,h={},g=0;for(let e=0;e<l.length;e++){const{name:i,fn:y}=l[e],{x:u,y:b,data:m,reset:x}=await y({x:s,y:f,initialPlacement:r,placement:d,strategy:a,middlewareData:h,rects:p,platform:n,elements:{reference:t,floating:o}});s=null!=u?u:s,f=null!=b?b:f,h={...h,[i]:{...h[i],...m}},x&&g<=50&&(g++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(p=!0===x.rects?await n.getElementRects({reference:t,floating:o,strategy:a}):x.rects),({x:s,y:f}=ke(p,d,c))),e=-1)}return{x:s,y:f,placement:d,strategy:a,middlewareData:h}})(t,o,{...a,platform:i})};function fr(t){return function(t){for(let o=t;o;o=dr(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=dr(t);o;o=dr(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function dr(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var hr=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class gr extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
545
|
+
`;var gn=["top","right","bottom","left"],fn=["start","end"],eo=gn.reduce((e,o)=>e.concat(o,o+"-"+fn[0],o+"-"+fn[1]),[]),ue=Math.min,At=Math.max,ye=Math.round;var Ct=e=>({x:e,y:e}),ma={left:"right",right:"left",bottom:"top",top:"bottom"},ba={start:"end",end:"start"};function oo(e,o,r){return At(e,ue(o,r))}function We(e,o){return typeof e=="function"?e(o):e}function Qt(e){return e.split("-")[0]}function Lt(e){return e.split("-")[1]}function ro(e){return e==="x"?"y":"x"}function no(e){return e==="y"?"height":"width"}function Te(e){return["top","bottom"].includes(Qt(e))?"y":"x"}function ao(e){return ro(Te(e))}function hn(e,o,r){r===void 0&&(r=!1);let a=Lt(e),i=ao(e),l=no(i),c=i==="x"?a===(r?"end":"start")?"right":"left":a==="start"?"bottom":"top";return o.reference[l]>o.floating[l]&&(c=to(c)),[c,to(c)]}function un(e){return e.replace(/start|end/g,o=>ba[o])}function to(e){return e.replace(/left|right|bottom|top/g,o=>ma[o])}function xa(e){return{top:0,right:0,bottom:0,left:0,...e}}function yn(e){return typeof e!="number"?xa(e):{top:e,right:e,bottom:e,left:e}}function zt(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function mn(e,o,r){let{reference:a,floating:i}=e,l=Te(o),c=ao(o),p=no(c),d=Qt(o),g=l==="y",x=a.x+a.width/2-i.width/2,m=a.y+a.height/2-i.height/2,v=a[p]/2-i[p]/2,S;switch(d){case"top":S={x,y:a.y-i.height};break;case"bottom":S={x,y:a.y+a.height};break;case"right":S={x:a.x+a.width,y:m};break;case"left":S={x:a.x-i.width,y:m};break;default:S={x:a.x,y:a.y}}switch(Lt(o)){case"start":S[c]-=v*(r&&g?-1:1);break;case"end":S[c]+=v*(r&&g?-1:1);break}return S}var bn=async(e,o,r)=>{let{placement:a="bottom",strategy:i="absolute",middleware:l=[],platform:c}=r,p=l.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(o)),g=await c.getElementRects({reference:e,floating:o,strategy:i}),{x,y:m}=mn(g,a,d),v=a,S={},A=0;for(let B=0;B<p.length;B++){let{name:H,fn:z}=p[B],{x:U,y:F,data:wt,reset:Z}=await z({x,y:m,initialPlacement:a,placement:v,strategy:i,middlewareData:S,rects:g,platform:c,elements:{reference:e,floating:o}});if(x=U??x,m=F??m,S={...S,[H]:{...S[H],...wt}},Z&&A<=50){A++,typeof Z=="object"&&(Z.placement&&(v=Z.placement),Z.rects&&(g=Z.rects===!0?await c.getElementRects({reference:e,floating:o,strategy:i}):Z.rects),{x,y:m}=mn(g,v,d)),B=-1;continue}}return{x,y:m,placement:v,strategy:i,middlewareData:S}};async function io(e,o){var r;o===void 0&&(o={});let{x:a,y:i,platform:l,rects:c,elements:p,strategy:d}=e,{boundary:g="clippingAncestors",rootBoundary:x="viewport",elementContext:m="floating",altBoundary:v=!1,padding:S=0}=We(o,e),A=yn(S),H=p[v?m==="floating"?"reference":"floating":m],z=zt(await l.getClippingRect({element:(r=await(l.isElement==null?void 0:l.isElement(H)))==null||r?H:H.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(p.floating)),boundary:g,rootBoundary:x,strategy:d})),U=m==="floating"?{...c.floating,x:a,y:i}:c.reference,F=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p.floating)),wt=await(l.isElement==null?void 0:l.isElement(F))?await(l.getScale==null?void 0:l.getScale(F))||{x:1,y:1}:{x:1,y:1},Z=zt(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({rect:U,offsetParent:F,strategy:d}):U);return{top:(z.top-Z.top+A.top)/wt.y,bottom:(Z.bottom-z.bottom+A.bottom)/wt.y,left:(z.left-Z.left+A.left)/wt.x,right:(Z.right-z.right+A.right)/wt.x}}function Oa(e,o,r){return(e?[...r.filter(i=>Lt(i)===e),...r.filter(i=>Lt(i)!==e)]:r.filter(i=>Qt(i)===i)).filter(i=>e?Lt(i)===e||(o?un(i)!==i:!1):!0)}var lo=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var r,a,i;let{rects:l,middlewareData:c,placement:p,platform:d,elements:g}=o,{crossAxis:x=!1,alignment:m,allowedPlacements:v=eo,autoAlignment:S=!0,...A}=We(e,o),B=m!==void 0||v===eo?Oa(m||null,S,v):v,H=await io(o,A),z=((r=c.autoPlacement)==null?void 0:r.index)||0,U=B[z];if(U==null)return{};let F=hn(U,l,await(d.isRTL==null?void 0:d.isRTL(g.floating)));if(p!==U)return{reset:{placement:B[0]}};let wt=[H[Qt(U)],H[F[0]],H[F[1]]],Z=[...((a=c.autoPlacement)==null?void 0:a.overflows)||[],{placement:U,overflows:wt}],uo=B[z+1];if(uo)return{data:{index:z+1,overflows:Z},reset:{placement:uo}};let yo=Z.map(gt=>{let ae=Lt(gt.placement);return[gt.placement,ae&&x?gt.overflows.slice(0,2).reduce((ta,ea)=>ta+ea,0):gt.overflows[0],gt.overflows]}).sort((gt,ae)=>gt[1]-ae[1]),mo=((i=yo.filter(gt=>gt[2].slice(0,Lt(gt[0])?2:3).every(ae=>ae<=0))[0])==null?void 0:i[0])||yo[0][0];return mo!==p?{data:{index:z+1,overflows:Z},reset:{placement:mo}}:{}}}};var co=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:r,y:a,placement:i}=o,{mainAxis:l=!0,crossAxis:c=!1,limiter:p={fn:H=>{let{x:z,y:U}=H;return{x:z,y:U}}},...d}=We(e,o),g={x:r,y:a},x=await io(o,d),m=Te(Qt(i)),v=ro(m),S=g[v],A=g[m];if(l){let H=v==="y"?"top":"left",z=v==="y"?"bottom":"right",U=S+x[H],F=S-x[z];S=oo(U,S,F)}if(c){let H=m==="y"?"top":"left",z=m==="y"?"bottom":"right",U=A+x[H],F=A-x[z];A=oo(U,A,F)}let B=p.fn({...o,[v]:S,[m]:A});return{...B,data:{x:B.x-r,y:B.y-a}}}}};function vt(e){return On(e)?(e.nodeName||"").toLowerCase():"#document"}function J(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function Nt(e){var o;return(o=(On(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function On(e){return e instanceof Node||e instanceof J(e).Node}function yt(e){return e instanceof Element||e instanceof J(e).Element}function dt(e){return e instanceof HTMLElement||e instanceof J(e).HTMLElement}function xn(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof J(e).ShadowRoot}function te(e){let{overflow:o,overflowX:r,overflowY:a,display:i}=ot(e);return/auto|scroll|overlay|hidden|clip/.test(o+a+r)&&!["inline","contents"].includes(i)}function Sn(e){return["table","td","th"].includes(vt(e))}function ze(e){let o=_e(),r=ot(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(a=>(r.willChange||"").includes(a))||["paint","layout","strict","content"].some(a=>(r.contain||"").includes(a))}function Cn(e){let o=_t(e);for(;dt(o)&&!me(o);){if(ze(o))return o;o=_t(o)}return null}function _e(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function me(e){return["html","body","#document"].includes(vt(e))}function ot(e){return J(e).getComputedStyle(e)}function be(e){return yt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function _t(e){if(vt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||xn(e)&&e.host||Nt(e);return xn(o)?o.host:o}function vn(e){let o=_t(e);return me(o)?e.ownerDocument?e.ownerDocument.body:e.body:dt(o)&&te(o)?o:vn(o)}function Be(e,o,r){var a;o===void 0&&(o=[]),r===void 0&&(r=!0);let i=vn(e),l=i===((a=e.ownerDocument)==null?void 0:a.body),c=J(i);return l?o.concat(c,c.visualViewport||[],te(i)?i:[],c.frameElement&&r?Be(c.frameElement):[]):o.concat(i,Be(i,[],r))}function En(e){let o=ot(e),r=parseFloat(o.width)||0,a=parseFloat(o.height)||0,i=dt(e),l=i?e.offsetWidth:r,c=i?e.offsetHeight:a,p=ye(r)!==l||ye(a)!==c;return p&&(r=l,a=c),{width:r,height:a,$:p}}function Rn(e){return yt(e)?e:e.contextElement}function ee(e){let o=Rn(e);if(!dt(o))return Ct(1);let r=o.getBoundingClientRect(),{width:a,height:i,$:l}=En(o),c=(l?ye(r.width):r.width)/a,p=(l?ye(r.height):r.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!p||!Number.isFinite(p))&&(p=1),{x:c,y:p}}var Sa=Ct(0);function An(e){let o=J(e);return!_e()||!o.visualViewport?Sa:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function Ca(e,o,r){return o===void 0&&(o=!1),!r||o&&r!==J(e)?!1:o}function xe(e,o,r,a){o===void 0&&(o=!1),r===void 0&&(r=!1);let i=e.getBoundingClientRect(),l=Rn(e),c=Ct(1);o&&(a?yt(a)&&(c=ee(a)):c=ee(e));let p=Ca(l,r,a)?An(l):Ct(0),d=(i.left+p.x)/c.x,g=(i.top+p.y)/c.y,x=i.width/c.x,m=i.height/c.y;if(l){let v=J(l),S=a&&yt(a)?J(a):a,A=v.frameElement;for(;A&&a&&S!==v;){let B=ee(A),H=A.getBoundingClientRect(),z=ot(A),U=H.left+(A.clientLeft+parseFloat(z.paddingLeft))*B.x,F=H.top+(A.clientTop+parseFloat(z.paddingTop))*B.y;d*=B.x,g*=B.y,x*=B.x,m*=B.y,d+=U,g+=F,A=J(A).frameElement}}return zt({width:x,height:m,x:d,y:g})}function va(e){let{rect:o,offsetParent:r,strategy:a}=e,i=dt(r),l=Nt(r);if(r===l)return o;let c={scrollLeft:0,scrollTop:0},p=Ct(1),d=Ct(0);if((i||!i&&a!=="fixed")&&((vt(r)!=="body"||te(l))&&(c=be(r)),dt(r))){let g=xe(r);p=ee(r),d.x=g.x+r.clientLeft,d.y=g.y+r.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-c.scrollLeft*p.x+d.x,y:o.y*p.y-c.scrollTop*p.y+d.y}}function Na(e){return Array.from(e.getClientRects())}function Ln(e){return xe(Nt(e)).left+be(e).scrollLeft}function wa(e){let o=Nt(e),r=be(e),a=e.ownerDocument.body,i=At(o.scrollWidth,o.clientWidth,a.scrollWidth,a.clientWidth),l=At(o.scrollHeight,o.clientHeight,a.scrollHeight,a.clientHeight),c=-r.scrollLeft+Ln(e),p=-r.scrollTop;return ot(a).direction==="rtl"&&(c+=At(o.clientWidth,a.clientWidth)-i),{width:i,height:l,x:c,y:p}}function Ea(e,o){let r=J(e),a=Nt(e),i=r.visualViewport,l=a.clientWidth,c=a.clientHeight,p=0,d=0;if(i){l=i.width,c=i.height;let g=_e();(!g||g&&o==="fixed")&&(p=i.offsetLeft,d=i.offsetTop)}return{width:l,height:c,x:p,y:d}}function Ra(e,o){let r=xe(e,!0,o==="fixed"),a=r.top+e.clientTop,i=r.left+e.clientLeft,l=dt(e)?ee(e):Ct(1),c=e.clientWidth*l.x,p=e.clientHeight*l.y,d=i*l.x,g=a*l.y;return{width:c,height:p,x:d,y:g}}function Nn(e,o,r){let a;if(o==="viewport")a=Ea(e,r);else if(o==="document")a=wa(Nt(e));else if(yt(o))a=Ra(o,r);else{let i=An(e);a={...o,x:o.x-i.x,y:o.y-i.y}}return zt(a)}function $n(e,o){let r=_t(e);return r===o||!yt(r)||me(r)?!1:ot(r).position==="fixed"||$n(r,o)}function Aa(e,o){let r=o.get(e);if(r)return r;let a=Be(e,[],!1).filter(p=>yt(p)&&vt(p)!=="body"),i=null,l=ot(e).position==="fixed",c=l?_t(e):e;for(;yt(c)&&!me(c);){let p=ot(c),d=ze(c);!d&&p.position==="fixed"&&(i=null),(l?!d&&!i:!d&&p.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||te(c)&&!d&&$n(e,c))?a=a.filter(x=>x!==c):i=p,c=_t(c)}return o.set(e,a),a}function La(e){let{element:o,boundary:r,rootBoundary:a,strategy:i}=e,c=[...r==="clippingAncestors"?Aa(o,this._c):[].concat(r),a],p=c[0],d=c.reduce((g,x)=>{let m=Nn(o,x,i);return g.top=At(m.top,g.top),g.right=ue(m.right,g.right),g.bottom=ue(m.bottom,g.bottom),g.left=At(m.left,g.left),g},Nn(o,p,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function $a(e){return En(e)}function Ia(e,o,r){let a=dt(o),i=Nt(o),l=r==="fixed",c=xe(e,!0,l,o),p={scrollLeft:0,scrollTop:0},d=Ct(0);if(a||!a&&!l)if((vt(o)!=="body"||te(i))&&(p=be(o)),a){let g=xe(o,!0,l,o);d.x=g.x+o.clientLeft,d.y=g.y+o.clientTop}else i&&(d.x=Ln(i));return{x:c.left+p.scrollLeft-d.x,y:c.top+p.scrollTop-d.y,width:c.width,height:c.height}}function wn(e,o){return!dt(e)||ot(e).position==="fixed"?null:o?o(e):e.offsetParent}function In(e,o){let r=J(e);if(!dt(e))return r;let a=wn(e,o);for(;a&&Sn(a)&&ot(a).position==="static";)a=wn(a,o);return a&&(vt(a)==="html"||vt(a)==="body"&&ot(a).position==="static"&&!ze(a))?r:a||Cn(e)||r}var Pa=async function(e){let{reference:o,floating:r,strategy:a}=e,i=this.getOffsetParent||In,l=this.getDimensions;return{reference:Ia(o,await i(r),a),floating:{x:0,y:0,...await l(r)}}};function Wa(e){return ot(e).direction==="rtl"}var ke={convertOffsetParentRelativeRectToViewportRelativeRect:va,getDocumentElement:Nt,getClippingRect:La,getOffsetParent:In,getElementRects:Pa,getClientRects:Na,getDimensions:$a,getScale:ee,isElement:yt,isRTL:Wa};var Pn=(e,o,r)=>{let a=new Map,i={platform:ke,...r},l={...i.platform,_c:a};return bn(e,o,{...i,platform:l})};function Wn(e){return Ta(e)}function so(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Ta(e){for(let o=e;o;o=so(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=so(e);o;o=so(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 Tn(e,o,r){return Pn(e,o,{platform:{...ke,getOffsetParent:a=>ke.getOffsetParent(a,Wn)},middleware:[co({crossAxis:!0}),lo({allowedPlacements:[r]})]})}var Q=function(e,o,r,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,r):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,r,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,r,l):c(o,r))||l);return i>3&&l&&Object.defineProperty(o,r,l),l},W=class extends Oe.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 Oe.Debouncer,this.revealDebouncer=new Oe.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Bn.html`
|
|
554
546
|
<div part="container"
|
|
555
547
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
556
548
|
@mouseenter=${this.onHover}
|
|
@@ -568,37 +560,40 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
568
560
|
</div>
|
|
569
561
|
</div>
|
|
570
562
|
</div>
|
|
571
|
-
`}updated(
|
|
563
|
+
`}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="",Tn(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))}};W.elementDefinitions={"ft-typography":et};W.styles=dn;Q([(0,D.property)()],W.prototype,"text",void 0);Q([(0,D.property)({type:Boolean})],W.prototype,"manual",void 0);Q([(0,D.property)({type:Boolean})],W.prototype,"inline",void 0);Q([(0,D.property)({type:Number})],W.prototype,"delay",void 0);Q([(0,D.property)()],W.prototype,"position",void 0);Q([(0,D.queryAssignedNodes)()],W.prototype,"slotNodes",void 0);Q([(0,D.query)(".ft-tooltip--container")],W.prototype,"container",void 0);Q([(0,D.query)(".ft-tooltip")],W.prototype,"tooltip",void 0);Q([(0,D.query)(".ft-tooltip--content")],W.prototype,"tooltipContent",void 0);Q([(0,D.state)()],W.prototype,"visible",void 0);Q([(0,D.eventOptions)({passive:!0})],W.prototype,"onTouch",null);Q([(0,D.eventOptions)({passive:!0})],W.prototype,"onHover",null);Q([(0,D.eventOptions)({passive:!0})],W.prototype,"onOut",null);Q([(0,D.eventOptions)({passive:!0})],W.prototype,"onClick",null);(0,zn.customElement)("ft-tooltip")(W);var Hn=u(E());var _n=u(T()),kn=u(E());var kt=class extends kn.FtLitElement{render(){return _n.html`
|
|
572
564
|
<div class="ft-loader">
|
|
573
565
|
<div></div>
|
|
574
566
|
<div></div>
|
|
575
567
|
<div></div>
|
|
576
568
|
<div></div>
|
|
577
569
|
</div>
|
|
578
|
-
`}}
|
|
570
|
+
`}};kt.styles=en;(0,Hn.customElement)("ft-loader")(kt);var oe=u(T()),Un=u(ie()),V=u(lt()),rt=function(e,o,r,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,r):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,r,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,r,l):c(o,r))||l);return i>3&&l&&Object.defineProperty(o,r,l),l},k=class extends(0,re.toFtFormComponent)(re.FtLitElement,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",o=>{var r;this.isDisabled()?(o.preventDefault(),o.stopPropagation(),o.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(oe.html`
|
|
579
571
|
<button part="button"
|
|
580
|
-
class="${
|
|
572
|
+
class="${(0,Un.classMap)(this.buttonClasses)}"
|
|
581
573
|
aria-label="${this.getLabel()}"
|
|
582
574
|
?disabled=${this.isDisabled()}>
|
|
583
575
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
584
576
|
<ft-typography part="label"
|
|
585
577
|
variant=${this.typographyVariant}
|
|
586
578
|
element="span"
|
|
587
|
-
class="ft-button--label ${
|
|
579
|
+
class="ft-button--label ${re.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
588
580
|
?hidden=${!this.hasTextContent()}>
|
|
589
581
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
590
582
|
</ft-typography>
|
|
591
583
|
${this.resolveIcon()}
|
|
592
584
|
</button>
|
|
593
|
-
`)}addTooltipIfNeeded(
|
|
585
|
+
`)}addTooltipIfNeeded(o){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?oe.html`
|
|
594
586
|
<ft-tooltip part="tooltip"
|
|
595
587
|
text="${this.getLabel()}"
|
|
596
588
|
position="${this.tooltipPosition}">
|
|
597
|
-
${
|
|
589
|
+
${o}
|
|
598
590
|
</ft-tooltip>
|
|
599
|
-
`:
|
|
600
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
601
|
-
|
|
591
|
+
`:o}resolveIcon(){return this.loading?oe.html`
|
|
592
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?oe.html`
|
|
593
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
594
|
+
`:oe.html`
|
|
595
|
+
<slot part="icon" name="icon"></slot>
|
|
596
|
+
`}focus(){var o;(o=this.button)===null||o===void 0||o.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(o){return o instanceof HTMLSlotElement?o.assignedNodes().map(r=>this.unslotText(r)).join(""):o?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};k.elementDefinitions={"ft-ripple":P,"ft-tooltip":W,"ft-typography":et,"ft-icon":Y,"ft-loader":kt};rt([(0,V.property)({type:String,reflect:!0})],k.prototype,"role",void 0);rt([(0,V.property)()],k.prototype,"type",void 0);rt([(0,V.property)({type:Boolean})],k.prototype,"disabled",void 0);rt([(0,V.property)()],k.prototype,"label",void 0);rt([(0,V.property)()],k.prototype,"icon",void 0);rt([(0,V.property)()],k.prototype,"iconVariant",void 0);rt([(0,V.property)({type:Boolean})],k.prototype,"trailingIcon",void 0);rt([(0,V.property)({type:Boolean})],k.prototype,"loading",void 0);rt([(0,V.property)()],k.prototype,"tooltipPosition",void 0);rt([(0,V.property)({type:Boolean})],k.prototype,"hideTooltip",void 0);rt([(0,V.property)({type:Boolean})],k.prototype,"forceTooltip",void 0);rt([(0,V.query)(".ft-button")],k.prototype,"button",void 0);rt([(0,V.query)(".ft-button--label slot")],k.prototype,"slottedContent",void 0);var He=function(e,o,r,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,r):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,r,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,r,l):c(o,r))||l);return i>3&&l&&Object.defineProperty(o,r,l),l},ft=class extends k{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"}};ft.styles=[Dn.safariEllipsisFix,an];He([(0,Se.property)({type:Boolean})],ft.prototype,"primary",void 0);He([(0,Se.property)({type:Boolean})],ft.prototype,"outlined",void 0);He([(0,Se.property)({type:Boolean})],ft.prototype,"dense",void 0);He([(0,Se.property)({type:Boolean})],ft.prototype,"round",void 0);var ne=u(lt());var Kn=u(E());var Gn=u(T()),w=u(E());var Mn=[Gn.css`
|
|
602
597
|
:host {
|
|
603
598
|
display: inline-block;
|
|
604
599
|
max-width: 100%;
|
|
@@ -648,7 +643,7 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
648
643
|
}
|
|
649
644
|
|
|
650
645
|
.ft-button:focus-visible {
|
|
651
|
-
outline-color: ${
|
|
646
|
+
outline-color: ${y.focusFocusRingColor};
|
|
652
647
|
outline-style: solid;
|
|
653
648
|
}
|
|
654
649
|
|
|
@@ -677,146 +672,146 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
677
672
|
/** Primary styles **/
|
|
678
673
|
|
|
679
674
|
.ft-button--primary {
|
|
680
|
-
${
|
|
675
|
+
${(0,w.setVariable)(X.color,y.primaryIconColor)};
|
|
681
676
|
|
|
682
|
-
${
|
|
683
|
-
${
|
|
684
|
-
${
|
|
685
|
-
${
|
|
686
|
-
${
|
|
677
|
+
${(0,w.setVariable)(N.color,y.primaryStateLayerColor)};
|
|
678
|
+
${(0,w.setVariable)(N.opacityContentOnSurfaceHover,y.primaryHoverStateLayerOpacity)};
|
|
679
|
+
${(0,w.setVariable)(N.opacityContentOnSurfaceFocused,y.primaryFocusStateLayerOpacity)};
|
|
680
|
+
${(0,w.setVariable)(N.opacityContentOnSurfaceSelected,y.primaryActiveStateLayerOpacity)};
|
|
681
|
+
${(0,w.setVariable)(N.opacityContentOnSurfacePressed,y.primaryActiveStateLayerOpacity)};
|
|
687
682
|
|
|
688
|
-
background-color: ${
|
|
689
|
-
color: ${
|
|
683
|
+
background-color: ${y.primaryBackgroundColor};
|
|
684
|
+
color: ${y.primaryColor};
|
|
690
685
|
border-style: none;
|
|
691
686
|
}
|
|
692
687
|
|
|
693
688
|
.ft-button--primary[disabled] {
|
|
694
|
-
opacity: ${
|
|
689
|
+
opacity: ${y.primaryDisabledComponentOpacity};
|
|
695
690
|
}
|
|
696
691
|
|
|
697
692
|
.ft-button--primary ft-icon {
|
|
698
|
-
color: ${
|
|
693
|
+
color: ${y.primaryIconColor};
|
|
699
694
|
}
|
|
700
695
|
|
|
701
696
|
/** Secondary styles **/
|
|
702
697
|
|
|
703
698
|
.ft-button--secondary {
|
|
704
|
-
${
|
|
699
|
+
${(0,w.setVariable)(X.color,y.secondaryIconColor)};
|
|
705
700
|
|
|
706
|
-
${
|
|
707
|
-
${
|
|
708
|
-
${
|
|
709
|
-
${
|
|
710
|
-
${
|
|
701
|
+
${(0,w.setVariable)(N.color,y.secondaryStateLayerColor)};
|
|
702
|
+
${(0,w.setVariable)(N.opacityContentOnSurfaceHover,y.secondaryHoverStateLayerOpacity)};
|
|
703
|
+
${(0,w.setVariable)(N.opacityContentOnSurfaceFocused,y.secondaryFocusStateLayerOpacity)};
|
|
704
|
+
${(0,w.setVariable)(N.opacityContentOnSurfaceSelected,y.secondaryActiveStateLayerOpacity)};
|
|
705
|
+
${(0,w.setVariable)(N.opacityContentOnSurfacePressed,y.secondaryActiveStateLayerOpacity)};
|
|
711
706
|
|
|
712
|
-
background-color: ${
|
|
713
|
-
color: ${
|
|
714
|
-
border-color: ${
|
|
707
|
+
background-color: ${y.secondaryBackgroundColor};
|
|
708
|
+
color: ${y.secondaryColor};
|
|
709
|
+
border-color: ${y.secondaryBorderColor};
|
|
715
710
|
border-style: solid;
|
|
716
711
|
}
|
|
717
712
|
|
|
718
713
|
.ft-button--secondary[disabled] {
|
|
719
|
-
opacity: ${
|
|
714
|
+
opacity: ${y.secondaryDisabledComponentOpacity};
|
|
720
715
|
}
|
|
721
716
|
|
|
722
717
|
.ft-button--secondary ft-icon {
|
|
723
|
-
color: ${
|
|
718
|
+
color: ${y.secondaryIconColor};
|
|
724
719
|
}
|
|
725
720
|
|
|
726
721
|
/** Tertiary styles **/
|
|
727
722
|
|
|
728
723
|
.ft-button--tertiary {
|
|
729
|
-
${
|
|
724
|
+
${(0,w.setVariable)(X.color,y.tertiaryIconColor)};
|
|
730
725
|
|
|
731
|
-
${
|
|
732
|
-
${
|
|
733
|
-
${
|
|
734
|
-
${
|
|
735
|
-
${
|
|
726
|
+
${(0,w.setVariable)(N.color,y.tertiaryStateLayerColor)};
|
|
727
|
+
${(0,w.setVariable)(N.opacityContentOnSurfaceHover,y.tertiaryHoverStateLayerOpacity)};
|
|
728
|
+
${(0,w.setVariable)(N.opacityContentOnSurfaceFocused,y.tertiaryFocusStateLayerOpacity)};
|
|
729
|
+
${(0,w.setVariable)(N.opacityContentOnSurfaceSelected,y.tertiaryActiveStateLayerOpacity)};
|
|
730
|
+
${(0,w.setVariable)(N.opacityContentOnSurfacePressed,y.tertiaryActiveStateLayerOpacity)};
|
|
736
731
|
|
|
737
|
-
background-color: ${
|
|
738
|
-
color: ${
|
|
732
|
+
background-color: ${y.tertiaryBackgroundColor};
|
|
733
|
+
color: ${y.tertiaryColor};
|
|
739
734
|
border-style: none;
|
|
740
735
|
}
|
|
741
736
|
|
|
742
737
|
.ft-button--tertiary[disabled] {
|
|
743
|
-
opacity: ${
|
|
738
|
+
opacity: ${y.tertiaryDisabledComponentOpacity};
|
|
744
739
|
}
|
|
745
740
|
|
|
746
741
|
.ft-button--tertiary ft-icon {
|
|
747
|
-
color: ${
|
|
742
|
+
color: ${y.tertiaryIconColor};
|
|
748
743
|
}
|
|
749
744
|
|
|
750
745
|
/** Neutral styles **/
|
|
751
746
|
|
|
752
747
|
.ft-button--neutral {
|
|
753
|
-
${
|
|
748
|
+
${(0,w.setVariable)(X.color,y.neutralIconColor)};
|
|
754
749
|
|
|
755
|
-
${
|
|
756
|
-
${
|
|
757
|
-
${
|
|
758
|
-
${
|
|
759
|
-
${
|
|
750
|
+
${(0,w.setVariable)(N.backgroundColor,y.neutralStateLayerColor)};
|
|
751
|
+
${(0,w.setVariable)(N.opacityContentOnSurfaceHover,y.neutralHoverStateLayerOpacity)};
|
|
752
|
+
${(0,w.setVariable)(N.opacityContentOnSurfaceFocused,y.neutralFocusStateLayerOpacity)};
|
|
753
|
+
${(0,w.setVariable)(N.opacityContentOnSurfaceSelected,y.neutralActiveStateLayerOpacity)};
|
|
754
|
+
${(0,w.setVariable)(N.opacityContentOnSurfacePressed,y.neutralActiveStateLayerOpacity)};
|
|
760
755
|
|
|
761
|
-
background-color: ${
|
|
762
|
-
color: ${
|
|
756
|
+
background-color: ${y.neutralBackgroundColor};
|
|
757
|
+
color: ${y.neutralColor};
|
|
763
758
|
border-style: none;
|
|
764
759
|
}
|
|
765
760
|
|
|
766
761
|
.ft-button--neutral[disabled] {
|
|
767
|
-
opacity: ${
|
|
762
|
+
opacity: ${y.neutralDisabledComponentOpacity};
|
|
768
763
|
}
|
|
769
764
|
|
|
770
765
|
.ft-button--neutral ft-icon {
|
|
771
|
-
color: ${
|
|
766
|
+
color: ${y.neutralIconColor};
|
|
772
767
|
}
|
|
773
768
|
|
|
774
769
|
/** Large styles **/
|
|
775
770
|
|
|
776
771
|
.ft-button--large {
|
|
777
|
-
${
|
|
778
|
-
${
|
|
772
|
+
${(0,w.setVariable)(j.size,y.largeIconSize)};
|
|
773
|
+
${(0,w.setVariable)(X.size,y.largeIconSize)};
|
|
779
774
|
|
|
780
|
-
height: ${
|
|
781
|
-
padding: 0 ${
|
|
782
|
-
gap: ${
|
|
783
|
-
border-radius: ${
|
|
784
|
-
border-width: ${
|
|
775
|
+
height: ${y.largeHeight};
|
|
776
|
+
padding: 0 ${y.largeHorizontalPadding};
|
|
777
|
+
gap: ${y.largeGap};
|
|
778
|
+
border-radius: ${y.largeBorderRadius};
|
|
779
|
+
border-width: ${y.largeBorderWidth};
|
|
785
780
|
}
|
|
786
781
|
|
|
787
782
|
.ft-button--large:focus-visible {
|
|
788
|
-
outline-width: ${
|
|
789
|
-
outline-offset: ${
|
|
783
|
+
outline-width: ${y.largeFocusOutlineWidth};
|
|
784
|
+
outline-offset: ${y.largeFocusOutlineOffset};
|
|
790
785
|
}
|
|
791
786
|
|
|
792
787
|
.ft-button--large.ft-button--icon-only {
|
|
793
|
-
width: ${
|
|
788
|
+
width: ${y.largeIconOnlyWidth};
|
|
794
789
|
padding: unset;
|
|
795
790
|
}
|
|
796
791
|
|
|
797
792
|
/** Small styles **/
|
|
798
793
|
|
|
799
794
|
.ft-button--small {
|
|
800
|
-
${
|
|
801
|
-
${
|
|
795
|
+
${(0,w.setVariable)(j.size,y.smallIconSize)};
|
|
796
|
+
${(0,w.setVariable)(X.size,y.smallIconSize)};
|
|
802
797
|
|
|
803
|
-
height: ${
|
|
804
|
-
padding: 0 ${
|
|
805
|
-
gap: ${
|
|
806
|
-
border-radius: ${
|
|
807
|
-
border-width: ${
|
|
798
|
+
height: ${y.smallHeight};
|
|
799
|
+
padding: 0 ${y.smallHorizontalPadding};
|
|
800
|
+
gap: ${y.smallGap};
|
|
801
|
+
border-radius: ${y.smallBorderRadius};
|
|
802
|
+
border-width: ${y.smallBorderWidth};
|
|
808
803
|
}
|
|
809
804
|
|
|
810
805
|
.ft-button--small:focus-visible {
|
|
811
|
-
outline-width: ${
|
|
812
|
-
outline-offset: ${
|
|
806
|
+
outline-width: ${y.smallFocusOutlineWidth};
|
|
807
|
+
outline-offset: ${y.smallFocusOutlineOffset};
|
|
813
808
|
}
|
|
814
809
|
|
|
815
810
|
.ft-button--small.ft-button--icon-only {
|
|
816
|
-
width: ${
|
|
811
|
+
width: ${y.smallIconOnlyWidth};
|
|
817
812
|
padding: unset;
|
|
818
813
|
}
|
|
819
|
-
`,
|
|
814
|
+
`,w.noTextSelect];var Ce=function(e,o,r,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,r):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,r,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,r,l):c(o,r))||l);return i>3&&l&&Object.defineProperty(o,r,l),l},mt=class extends k{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Tt.caption1medium:Tt.body2medium}};mt.styles=[Kn.safariEllipsisFix,Mn];Ce([(0,ne.property)({type:Boolean})],mt.prototype,"primary",void 0);Ce([(0,ne.property)({type:Boolean})],mt.prototype,"secondary",void 0);Ce([(0,ne.property)({type:Boolean})],mt.prototype,"tertiary",void 0);Ce([(0,ne.property)({type:Boolean})],mt.prototype,"neutral",void 0);Ce([(0,ne.property)({type:Boolean})],mt.prototype,"small",void 0);(0,po.customElement)("ft-button")(ft);(0,po.customElement)("ftds-button")(mt);var jn=u(E());var Vn=u(T()),Ht=u(lt()),Ue=u(E());var tt;(function(e){e.S="S",e.M="M",e.L="L",e.XL="XL",e.XXL="XXL"})(tt||(tt={}));var Zn=u(T());var Fn=Zn.css`
|
|
820
815
|
.ft-size-watcher--pixel {
|
|
821
816
|
width: 0;
|
|
822
817
|
height: 0;
|
|
@@ -835,48 +830,48 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
835
830
|
.ft-size-watcher--local .ft-size-watcher--watcher {
|
|
836
831
|
width: 100%;
|
|
837
832
|
}
|
|
838
|
-
`;var
|
|
833
|
+
`;var ve=function(e,o,r,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,r):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,r,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,r,l):c(o,r))||l);return i>3&&l&&Object.defineProperty(o,r,l),l},fo=class extends CustomEvent{constructor(o,r){super("change",{detail:{size:o,category:r}})}},nt=class extends Ue.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=tt.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new Ue.Debouncer}render(){return Vn.html`
|
|
839
834
|
<div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
|
|
840
835
|
<div class="ft-size-watcher--watcher"></div>
|
|
841
836
|
</div>
|
|
842
|
-
`}contentAvailableCallback(
|
|
837
|
+
`}contentAvailableCallback(o){super.contentAvailableCallback(o),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=tt.S:this.size<976?this.category=tt.M:this.size<1024?this.category=tt.L:this.size<1440?this.category=tt.XL:this.category=tt.XXL,this.dispatchEvent(new fo(this.size,this.category)))},this.debounceTimeout)}};nt.elementDefinitions={};nt.styles=Fn;ve([(0,Ht.property)({type:Number})],nt.prototype,"debounceTimeout",void 0);ve([(0,Ht.property)({type:Boolean})],nt.prototype,"local",void 0);ve([(0,Ht.property)({type:Number,reflect:!0})],nt.prototype,"size",void 0);ve([(0,Ht.property)({type:String,reflect:!0})],nt.prototype,"category",void 0);ve([(0,Ht.query)(".ft-size-watcher--watcher")],nt.prototype,"watcher",void 0);(0,jn.customElement)("ft-size-watcher")(nt);var go={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"};var Yn=u(T()),R=u(E());var M={tabulationSize:R.FtCssVariableFactory.create("--ft-reader-toc-tabulation-size","","SIZE","16px"),verticalSpacing:R.FtCssVariableFactory.create("--ft-reader-toc-vertical-spacing","","SIZE","4px"),textColor:R.FtCssVariableFactory.extend("--ft-reader-toc-text-color","",R.designSystemVariables.colorOnSurface),hoverColor:R.FtCssVariableFactory.extend("--ft-reader-toc-hover-color","",R.designSystemVariables.colorPrimary),highlightedTextColor:R.FtCssVariableFactory.extend("--ft-reader-toc-highlighted-text-color","",R.designSystemVariables.colorPrimary),highlightedFontWeight:R.FtCssVariableFactory.create("--ft-reader-toc-highlighted-font-weight","","UNKNOWN","bold"),highlightedBackgroundColor:R.FtCssVariableFactory.create("--ft-reader-toc-highlighted-background-color","","COLOR","transparent"),iconFontSize:R.FtCssVariableFactory.create("--ft-reader-toc-icon-font-size","","SIZE","16px"),treeNodeIconColor:R.FtCssVariableFactory.create("--ft-reader-toc-tree-node-icon-color","","COLOR",R.designSystemVariables.colorPrimary),leafNodeIconColor:R.FtCssVariableFactory.create("--ft-reader-toc-leaf-node-icon-color","","COLOR",R.designSystemVariables.colorPrimary),nodeButtonBackgroundColor:R.FtCssVariableFactory.create("--ft-reader-toc-node-button-background-color","","COLOR",R.designSystemVariables.colorSurface),expandCollapseAllButtonColor:R.FtCssVariableFactory.create("--ft-reader-toc-expand-collapse-all-button-color","","COLOR",R.designSystemVariables.colorPrimary),expandCollapseAllButtonBackgroundColor:R.FtCssVariableFactory.create("--ft-reader-toc-expand-collapse-all-button-background-color","","COLOR",R.designSystemVariables.colorSurface)},Xn=Yn.css`
|
|
843
838
|
.ft-reader-toc {
|
|
844
|
-
color: ${
|
|
839
|
+
color: ${M.textColor};
|
|
845
840
|
}
|
|
846
841
|
|
|
847
842
|
.ft-reader-toc--node-highlighted > .ft-reader-toc--link-container {
|
|
848
|
-
background-color: ${
|
|
849
|
-
color: ${
|
|
850
|
-
${
|
|
843
|
+
background-color: ${M.highlightedBackgroundColor};
|
|
844
|
+
color: ${M.highlightedTextColor};
|
|
845
|
+
${(0,R.setVariable)(b.fontWeight,M.highlightedFontWeight)}
|
|
851
846
|
}
|
|
852
847
|
|
|
853
848
|
.ft-reader-toc--link-container {
|
|
854
849
|
display: flex;
|
|
855
850
|
gap: 4px;
|
|
856
|
-
padding: ${
|
|
851
|
+
padding: ${M.verticalSpacing} 4px; /* left padding is override on inline style */
|
|
857
852
|
align-items: center;
|
|
858
853
|
}
|
|
859
854
|
|
|
860
855
|
.ft-reader-toc--link-container ft-reader-internal-link:hover {
|
|
861
|
-
color: ${
|
|
856
|
+
color: ${M.hoverColor};
|
|
862
857
|
}
|
|
863
858
|
|
|
864
859
|
ft-button {
|
|
865
|
-
${
|
|
860
|
+
${(0,R.setVariable)($.iconSize,M.iconFontSize)};
|
|
866
861
|
}
|
|
867
862
|
|
|
868
863
|
[part="leaf-node-icon"] {
|
|
869
|
-
color: ${
|
|
864
|
+
color: ${M.leafNodeIconColor};
|
|
870
865
|
}
|
|
871
866
|
|
|
872
867
|
.ft-reader-toc--tree-node-button {
|
|
873
|
-
${
|
|
874
|
-
${
|
|
868
|
+
${(0,R.setVariable)($.color,M.treeNodeIconColor)};
|
|
869
|
+
${(0,R.setVariable)($.backgroundColor,M.nodeButtonBackgroundColor)};
|
|
875
870
|
}
|
|
876
871
|
|
|
877
872
|
.ft-reader-toc--expand-collapse-all-button {
|
|
878
|
-
${
|
|
879
|
-
${
|
|
873
|
+
${(0,R.setVariable)($.color,M.expandCollapseAllButtonColor)};
|
|
874
|
+
${(0,R.setVariable)($.backgroundColor,M.expandCollapseAllButtonBackgroundColor)};
|
|
880
875
|
}
|
|
881
876
|
|
|
882
877
|
.ft-reader-toc--toggle-container {
|
|
@@ -884,11 +879,11 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
884
879
|
}
|
|
885
880
|
|
|
886
881
|
.ft-reader-toc-mobile .ft-reader-toc--toggle-container {
|
|
887
|
-
width: calc(${
|
|
882
|
+
width: calc(${M.iconFontSize} + 12px); /*--ft-button-internal-horizontal-padding: 8px; in ft-button NOT dense*/
|
|
888
883
|
}
|
|
889
884
|
|
|
890
885
|
.ft-reader-toc-desktop .ft-reader-toc--toggle-container {
|
|
891
|
-
width: calc(${
|
|
886
|
+
width: calc(${M.iconFontSize} + 4px); /*--ft-button-internal-horizontal-padding: 4px; in ft-button dense*/
|
|
892
887
|
}
|
|
893
888
|
|
|
894
889
|
.ft-reader-toc-expanded .ft-reader-toc--toggle-container {
|
|
@@ -896,11 +891,11 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
896
891
|
}
|
|
897
892
|
|
|
898
893
|
.ft-reader-toc-mobile .ft-reader-toc--leaf-node-icon {
|
|
899
|
-
width: calc(${
|
|
894
|
+
width: calc(${M.iconFontSize} + 12px);
|
|
900
895
|
}
|
|
901
896
|
|
|
902
897
|
.ft-reader-toc-desktop .ft-reader-toc--leaf-node-icon {
|
|
903
|
-
width: calc(${
|
|
898
|
+
width: calc(${M.iconFontSize} + 4px);
|
|
904
899
|
}
|
|
905
900
|
|
|
906
901
|
.ft-reader-toc-expand-collapse-all-container {
|
|
@@ -919,13 +914,13 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
919
914
|
.ft-reader-toc-expand-collapse-all-justify ft-button {
|
|
920
915
|
flex-grow: 1;
|
|
921
916
|
}
|
|
922
|
-
`;var
|
|
923
|
-
<div class=${
|
|
917
|
+
`;var L=function(e,o,r,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,r):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,r,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,r,l):c(o,r))||l);return i>3&&l&&Object.defineProperty(o,r,l),l},C=class extends Ut{constructor(){super(...arguments),this.expanded=!1,this.iconVariant=pt.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.leafNodeIconVariant=pt.fluid_topics,this.leafNodeIcon="DOT",this.expandCollapseAll=!1,this.expandCollapseAllHideLabel=!1,this.expandCollapseAllTrailingIcon=!1,this.expandCollapseAllAlignment="left",this.expandCollapseAllHideIcon=!1,this.collapseAllIcon="ICON_COLLAPSE",this.expandAllIcon="ICON_EXPAND",this.autoCollapse=!1,this.scope="pages",this.empty=!0,this.labels={},this.labelResolver=new it.ParametrizedLabelResolver(go,{}),this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.expandAll=!1,this.viewportSize=tt.M,this.nodesToExpandExist=!1}get isCurrentPageToc(){return this.scope==="current-page"}update(o){var r,a,i;super.update(o),o.has("toc")&&(this.nodesToExpandExist=((r=this.toc)!==null&&r!==void 0?r:[]).some(l=>l.children.length>0)),o.has("labels")&&(this.labelResolver=new it.ParametrizedLabelResolver(go,this.labels)),o.has("highlightedTocIds")&&!this.expanded&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes((a=this.highlightedTocIds)!==null&&a!==void 0?a:[])),this.empty=((i=this.toc)!==null&&i!==void 0?i:[]).length===0}render(){var o;let r={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===tt.S,"ft-reader-toc-desktop":this.viewportSize!==tt.S,"ft-reader-toc-loaded":this.currentPage!=null,"ft-reader-toc-expanded":this.expanded};return at.html`
|
|
918
|
+
<div class=${(0,qn.classMap)(r)}>
|
|
924
919
|
<ft-size-watcher @change=${this.onViewportSizeChange}></ft-size-watcher>
|
|
925
920
|
${this.renderExpandCollapseAll()}
|
|
926
|
-
${
|
|
921
|
+
${(0,ho.repeat)((o=this.toc)!==null&&o!==void 0?o:[],a=>a.tocId,a=>this.renderNode(a))}
|
|
927
922
|
</div>
|
|
928
|
-
`}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?
|
|
923
|
+
`}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?at.html`
|
|
929
924
|
<div part="expand-collapse-all-container"
|
|
930
925
|
class="ft-reader-toc-expand-collapse-all-container ft-reader-toc-expand-collapse-all-${this.expandCollapseAllAlignment}">
|
|
931
926
|
<ft-button
|
|
@@ -941,42 +936,58 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
941
936
|
${this.expandCollapseAllHideLabel?"":this.labelResolver.resolve(this.expandAll?"collapseAll":"expandAll")}
|
|
942
937
|
</ft-button>
|
|
943
938
|
</div>
|
|
944
|
-
`:
|
|
939
|
+
`:at.nothing}renderNode(o){var r,a,i;let l=(r=this.highlightedTocIds)===null||r===void 0?void 0:r.includes(o.tocId),c=this.expanded||this.manuallyExpandedNodes.has(o.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(o.tocId))&&!this.manuallyCollapsedNodes.has(o.tocId),p=o.children.length>0,d=this.isCurrentPageToc?((i=(a=this.currentPage)===null||a===void 0?void 0:a.breadcrumb.length)!==null&&i!==void 0?i:0)+1:0,g=o.depth-1-d,x={"padding-left":`calc( ${M.tabulationSize} * ${g} + 4px)`};return at.html`
|
|
945
940
|
<div class="ft-reader-toc--node ${l?"ft-reader-toc--node-highlighted":""}">
|
|
946
|
-
<div class="ft-reader-toc--link-container" data-depth="${
|
|
947
|
-
${this.nodesToExpandExist&&!this.expanded?
|
|
941
|
+
<div class="ft-reader-toc--link-container" data-depth="${o.depth}" style=${(0,Jn.styleMap)(x)}>
|
|
942
|
+
${this.nodesToExpandExist&&!this.expanded?at.html`
|
|
948
943
|
<div class="ft-reader-toc--toggle-container">
|
|
949
|
-
${p?
|
|
944
|
+
${p?at.html`
|
|
950
945
|
<ft-button
|
|
951
946
|
part="expand-collapse-node"
|
|
952
947
|
class="ft-reader-toc--tree-node-button"
|
|
953
948
|
round hideTooltip
|
|
954
|
-
?dense=${this.viewportSize!==
|
|
955
|
-
label="${this.labelResolver.resolve(c?"collapse":"expand",
|
|
949
|
+
?dense=${this.viewportSize!==tt.S}
|
|
950
|
+
label="${this.labelResolver.resolve(c?"collapse":"expand",o.title)}"
|
|
956
951
|
.iconVariant="${this.iconVariant}"
|
|
957
952
|
icon="${c?this.collapseIcon||"MINUS":this.expandIcon||"PLUS"}"
|
|
958
|
-
@click=${()=>this.manuallyToggle(
|
|
959
|
-
data-expand-node="${
|
|
960
|
-
aria-controls="${
|
|
953
|
+
@click=${()=>this.manuallyToggle(o.tocId,c)}
|
|
954
|
+
data-expand-node="${o.tocId}"
|
|
955
|
+
aria-controls="${o.tocId}-children"
|
|
961
956
|
aria-expanded="${c}"
|
|
962
957
|
>
|
|
963
958
|
</ft-button>
|
|
964
959
|
`:this.getLeafNodeIcon()}
|
|
965
960
|
</div>
|
|
966
|
-
`:p?
|
|
961
|
+
`:p?at.nothing:this.getLeafNodeIcon()}
|
|
967
962
|
<ft-reader-internal-link
|
|
968
963
|
part="node-link"
|
|
969
|
-
tocId="${
|
|
964
|
+
tocId="${o.tocId}"
|
|
970
965
|
removeStyle>
|
|
971
|
-
<ft-typography part="node-label" variant="body2">${
|
|
966
|
+
<ft-typography part="node-label" variant="body2">${o.title}</ft-typography>
|
|
972
967
|
</ft-reader-internal-link>
|
|
973
968
|
</div>
|
|
974
|
-
${p?
|
|
975
|
-
<div class="ft-reader-toc--node-children" id="${
|
|
969
|
+
${p?at.html`
|
|
970
|
+
<div class="ft-reader-toc--node-children" id="${o.tocId}-children"
|
|
976
971
|
?hidden=${!c}>
|
|
977
|
-
${c?
|
|
972
|
+
${c?(0,ho.repeat)(o.children,m=>m.tocId,m=>this.renderNode(m)):at.nothing}
|
|
978
973
|
</div>
|
|
979
|
-
`:
|
|
974
|
+
`:at.nothing}
|
|
980
975
|
</div>
|
|
981
|
-
`}buildAutomaticallyExpandedNodes(
|
|
982
|
-
<ft-icon class="ft-reader-toc--leaf-node-icon" part="leaf-node-icon" .variant="${this.leafNodeIconVariant}" .value="${this.leafNodeIcon}"></ft-icon>`}}
|
|
976
|
+
`}buildAutomaticallyExpandedNodes(o){var r,a;let i=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let l of o){let c=l;for(;c&&!i.has(c);)i.add(c),this.manuallyCollapsedNodes.delete(c),c=(a=(r=this.service)===null||r===void 0?void 0:r.getTocNodeNow(c))===null||a===void 0?void 0:a.parentTocId}return i}manuallyToggle(o,r){r?(this.manuallyCollapsedNodes.add(o),this.manuallyExpandedNodes.delete(o)):(this.manuallyExpandedNodes.add(o),this.manuallyCollapsedNodes.delete(o)),this.requestUpdate()}onViewportSizeChange(o){this.viewportSize=o.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}getLeafNodeIcon(){return at.html`
|
|
977
|
+
<ft-icon class="ft-reader-toc--leaf-node-icon" part="leaf-node-icon" .variant="${this.leafNodeIconVariant}" .value="${this.leafNodeIcon}"></ft-icon>`}};C.elementDefinitions={"ft-button":ft,"ft-icon":Y,"ft-reader-internal-link":st,"ft-size-watcher":nt,"ft-typography":et};C.styles=Xn;L([(0,I.property)({type:Boolean})],C.prototype,"expanded",void 0);L([(0,I.property)()],C.prototype,"iconVariant",void 0);L([(0,I.property)()],C.prototype,"collapseIcon",void 0);L([(0,I.property)()],C.prototype,"expandIcon",void 0);L([(0,I.property)()],C.prototype,"leafNodeIconVariant",void 0);L([(0,I.property)()],C.prototype,"leafNodeIcon",void 0);L([(0,I.property)({type:Boolean})],C.prototype,"expandCollapseAll",void 0);L([(0,I.property)({type:Boolean})],C.prototype,"expandCollapseAllHideLabel",void 0);L([(0,I.property)({type:Boolean})],C.prototype,"expandCollapseAllTrailingIcon",void 0);L([(0,I.property)()],C.prototype,"expandCollapseAllAlignment",void 0);L([(0,I.property)({type:Boolean})],C.prototype,"expandCollapseAllHideIcon",void 0);L([(0,I.property)()],C.prototype,"expandCollapseAllIconVariant",void 0);L([(0,I.property)()],C.prototype,"collapseAllIcon",void 0);L([(0,I.property)()],C.prototype,"expandAllIcon",void 0);L([(0,I.property)({type:Boolean})],C.prototype,"autoCollapse",void 0);L([(0,I.property)()],C.prototype,"scope",void 0);L([(0,I.property)({type:Boolean,reflect:!0})],C.prototype,"empty",void 0);L([(0,it.jsonProperty)({})],C.prototype,"labels",void 0);L([(0,it.redux)({selector:(e,o)=>{var r,a,i;return o.isCurrentPageToc?!((r=e.paginationConfiguration)===null||r===void 0)&&r.splitCurrentPageToc?(a=e.currentPage)===null||a===void 0?void 0:a.toc:void 0:!((i=e.paginationConfiguration)===null||i===void 0)&&i.splitCurrentPageToc?e.pagesToc:e.toc}})],C.prototype,"toc",void 0);L([(0,it.redux)()],C.prototype,"currentPage",void 0);L([(0,it.redux)({selector:(e,o)=>{var r,a;return!((r=e.paginationConfiguration)===null||r===void 0)&&r.splitCurrentPageToc&&!o.isCurrentPageToc?[(a=e.currentPage)===null||a===void 0?void 0:a.rootTocId]:e.visibleTopics}})],C.prototype,"highlightedTocIds",void 0);L([(0,I.state)({hasChanged:(e,o)=>!(0,it.deepEqual)(e,o)})],C.prototype,"automaticallyExpandedNodes",void 0);L([(0,I.state)({hasChanged:(e,o)=>!(0,it.deepEqual)(e,o)})],C.prototype,"manuallyExpandedNodes",void 0);L([(0,I.state)({hasChanged:(e,o)=>!(0,it.deepEqual)(e,o)})],C.prototype,"manuallyCollapsedNodes",void 0);L([(0,I.state)()],C.prototype,"expandAll",void 0);L([(0,I.state)()],C.prototype,"viewportSize",void 0);(0,Qn.customElement)("ft-reader-toc")(C);})();
|
|
978
|
+
/*! Bundled license information:
|
|
979
|
+
|
|
980
|
+
lit-html/lit-html.js:
|
|
981
|
+
(**
|
|
982
|
+
* @license
|
|
983
|
+
* Copyright 2017 Google LLC
|
|
984
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
985
|
+
*)
|
|
986
|
+
|
|
987
|
+
lit-html/static.js:
|
|
988
|
+
(**
|
|
989
|
+
* @license
|
|
990
|
+
* Copyright 2020 Google LLC
|
|
991
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
992
|
+
*)
|
|
993
|
+
*/
|