@fluid-topics/ft-pager 1.1.22 → 1.1.23
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-pager.light.js +1 -1
- package/build/ft-pager.min.js +211 -210
- package/package.json +6 -6
package/build/ft-pager.min.js
CHANGED
|
@@ -81,16 +81,17 @@ const Kt=globalThis,Zt=Kt.trustedTypes,Bt=Zt?Zt.createPolicy("lit-html",{createH
|
|
|
81
81
|
* Copyright 2017 Google LLC
|
|
82
82
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
83
83
|
*/
|
|
84
|
-
class be extends Ft{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new pe(e.insertBefore(jt(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return oe}}be._$litElement$=!0,be.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:be});const me=globalThis.litElementPolyfillSupport;me?.({LitElement:be}),(globalThis.litElementVersions??=[]).push("4.0.2");const xe=t=>"string"==typeof t?mt(t):t;class ve{static create(t,e,o,i){const r=t=>xe(null!=t?t:i),n=xt`var(${xe(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>xt`var(${xe(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=xt`var(${xe(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>xt`var(${xe(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):xe(null!=e?e:t.lastResortDefaultValue()),i=xt`var(${xe(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>xt`var(${xe(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Oe(t,e){return xe(`${t.name}: ${e}`)}const Se={colorWhite:ve.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:ve.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:ve.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:ve.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:ve.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:ve.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:ve.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:ve.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:ve.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:ve.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:ve.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:ve.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:ve.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:ve.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:ve.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:ve.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:ve.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:ve.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:ve.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:ve.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:ve.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:ve.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:ve.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:ve.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:ve.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:ve.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:ve.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:ve.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:ve.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:ve.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:ve.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:ve.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:ve.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:ve.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:ve.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:ve.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:ve.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:ve.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:ve.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:ve.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:ve.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:ve.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:ve.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:ve.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:ve.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:ve.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:ve.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:ve.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:ve.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:ve.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:ve.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:ve.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:ve.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:ve.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:ve.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:ve.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:ve.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:ve.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:ve.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:ve.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:ve.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:ve.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:ve.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:ve.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:ve.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:ve.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:ve.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:ve.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:ve.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:ve.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:ve.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:ve.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:ve.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:ve.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:ve.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:ve.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:ve.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:ve.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:ve.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:ve.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:ve.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:ve.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:ve.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:ve.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:ve.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:ve.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:ve.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:ve.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:ve.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:ve.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:ve.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:ve.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:ve.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:ve.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:ve.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:ve.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:ve.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:ve.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:ve.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:ve.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:ve.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:ve.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:ve.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:ve.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:ve.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:ve.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:ve.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:ve.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:ve.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:ve.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:ve.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:ve.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:ve.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:ve.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:ve.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:ve.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:ve.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:ve.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:ve.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:ve.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:ve.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:ve.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:ve.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:ve.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:ve.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:ve.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:ve.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:ve.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:ve.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:ve.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:ve.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:ve.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:ve.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:ve.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:ve.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:ve.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:ve.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:ve.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:ve.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:ve.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:ve.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:ve.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:ve.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:ve.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:ve.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:ve.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:ve.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:ve.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:ve.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:ve.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:ve.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:ve.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:ve.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:ve.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:ve.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:ve.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:ve.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:ve.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:ve.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:ve.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:ve.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:ve.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:ve.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:ve.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:ve.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:ve.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:ve.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:ve.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:ve.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:ve.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:ve.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:ve.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:ve.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:ve.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:ve.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:ve.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:ve.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:ve.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:ve.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:ve.create("--ft-icon-size-6","","SIZE","48px"),opacity0:ve.create("--ft-opacity-0","","NUMBER","0"),opacity8:ve.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:ve.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:ve.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:ve.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:ve.create("--ft-opacity-80","","NUMBER","0.8")},Ne={display:{fontFamily:ve.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:ve.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ve.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:ve.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:ve.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ve.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:ve.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:ve.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ve.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:ve.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:ve.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:ve.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:ve.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:ve.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:ve.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:ve.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:ve.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:ve.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:ve.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:ve.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:ve.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:ve.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:ve.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:ve.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:ve.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:ve.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:ve.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:ve.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:ve.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:ve.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:ve.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:ve.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:ve.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:ve.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:ve.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:ve.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:ve.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:ve.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},we={backgroundActionPrimary:ve.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Se.colorBrand0),backgroundErrorPrimary:ve.extend("--ft-background-error-primary","Used as background of error components.",Se.colorRed0),backgroundErrorSubtle:ve.extend("--ft-background-error-subtle","Used as background of subtle error components.",Se.colorRed10),backgroundInfoPrimary:ve.extend("--ft-background-info-primary","Used as background of information components.",Se.colorCyan200),backgroundInfoSubtle:ve.extend("--ft-background-info-subtle","Used as background of subtle information components.",Se.colorCyan10),backgroundWarningPrimary:ve.extend("--ft-background-warning-primary","Used as background of warning components.",Se.colorOrange300),backgroundWarningSubtle:ve.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Se.colorOrange10),backgroundSuccessPrimary:ve.extend("--ft-background-success-primary","Used as background of success components.",Se.colorGreen200),backgroundSuccessSubtle:ve.extend("--ft-background-success-subtle","Used as background of subtle success components.",Se.colorGreen10),backgroundGlobalSurface:ve.extend("--ft-background-global-surface","Used as app background.",Se.colorWhite),backgroundGlobalOnSurface:ve.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Se.colorGray10),backgroundGlobalOnSurfaceDark:ve.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Se.colorGray30),contentActionPrimary:ve.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Se.colorBrand0),contentWarningPrimary:ve.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Se.colorOrange300),contentWarningIconOnly:ve.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Se.colorOrange0),contentErrorPrimary:ve.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Se.colorRed0),contentErrorIconOnly:ve.extend("--ft-content-error-icon-only","Used on error status icons alone",Se.colorRed0),contentInfoPrimary:ve.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Se.colorCyan200),contentInfoIconOnly:ve.extend("--ft-content-info-icon-only","Used on info status icons alone",Se.colorCyan0),contentSuccessIconOnly:ve.extend("--ft-content-success-icon-only","Used on success status icons alone",Se.colorGreen0),contentSuccessPrimary:ve.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Se.colorGreen200),contentGlobalPrimary:ve.extend("--ft-content-global-primary","Used for main content on the page.",Se.colorGray500),contentGlobalSecondary:ve.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Se.colorGray200),contentGlobalSubtle:ve.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Se.colorGray0),contentGlobalOnColor:ve.extend("--ft-content-global-on-color","Used for content on a dominant color.",Se.colorWhite),borderActionPrimary:ve.extend("--ft-border-action-primary","Used as border for primary action components.",Se.colorBrand0),borderActionFocusRing:ve.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Se.colorCyan0),borderWarningPrimary:ve.extend("--ft-border-warning-primary","Used as border for warning components.",Se.colorOrange30),borderSuccessPrimary:ve.extend("--ft-border-success-primary","Used as border for success components.",Se.colorGreen30),borderErrorPrimary:ve.extend("--ft-border-error-primary","Used as border for error components.",Se.colorRed30),borderInfoPrimary:ve.extend("--ft-border-info-primary","Used as border for information components.",Se.colorCyan30),borderGlobalSubtle:ve.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Se.colorGray30),borderGlobalPrimary:ve.extend("--ft-border-global-primary","Used as border for element like input.",Se.colorGray50),borderInputPrimary:ve.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Se.colorGray80)},$e={largeHeight:ve.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:ve.extend("--ft-button-large-horizontal-padding","",Se.spacing4),largeGap:ve.extend("--ft-button-large-gap","",Se.spacing2),largeBorderRadius:ve.extend("--ft-button-large-border-radius","",Se.borderRadiusS),largeIconSize:ve.extend("--ft-button-large-icon-size","",Se.iconSize3),largeBorderWidth:ve.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:ve.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ve.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:ve.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:ve.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:ve.extend("--ft-button-small-horizontal-padding","",Se.spacing3),smallGap:ve.extend("--ft-button-small-gap","",Se.spacing2),smallBorderRadius:ve.extend("--ft-button-small-border-radius","",Se.borderRadiusS),smallIconSize:ve.extend("--ft-button-small-icon-size","",Se.iconSize2),smallBorderWidth:ve.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:ve.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ve.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:ve.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:ve.extend("--ft-button-primary-background-color","",we.backgroundActionPrimary),primaryColor:ve.extend("--ft-button-primary-color","",we.contentGlobalOnColor),primaryIconColor:ve.extend("--ft-button-primary-icon-color","",we.contentGlobalOnColor),primaryStateLayerColor:ve.extend("--ft-button-primary-state-layer-color","",we.contentGlobalOnColor),primaryStateLayerOpacityHover:ve.extend("--ft-button-primary-state-layer-opacity-hover","",Se.opacity16),primaryStateLayerOpacityFocus:ve.extend("--ft-button-primary-state-layer-opacity-focus","",Se.opacity16),primaryStateLayerOpacityActive:ve.extend("--ft-button-primary-state-layer-opacity-active","",Se.opacity24),primaryComponentOpacityDisabled:ve.extend("--ft-button-primary-component-opacity-disabled","",Se.opacity40),focusFocusRingColor:ve.extend("--ft-button-focus-focus-ring-color","",we.borderActionFocusRing),tertiaryBackgroundColor:ve.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:ve.extend("--ft-button-tertiary-color","",we.contentActionPrimary),tertiaryIconColor:ve.extend("--ft-button-tertiary-icon-color","",we.contentActionPrimary),tertiaryStateLayerColor:ve.extend("--ft-button-tertiary-state-layer-color","",we.contentActionPrimary),tertiaryStateLayerOpacityHover:ve.extend("--ft-button-tertiary-state-layer-opacity-hover","",Se.opacity8),tertiaryStateLayerOpacityFocus:ve.extend("--ft-button-tertiary-state-layer-opacity-focus","",Se.opacity8),tertiaryStateLayerOpacityActive:ve.extend("--ft-button-tertiary-state-layer-opacity-active","",Se.opacity16),tertiaryComponentOpacityDisabled:ve.extend("--ft-button-tertiary-component-opacity-disabled","",Se.opacity40),secondaryBackgroundColor:ve.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:ve.extend("--ft-button-secondary-color","",we.contentActionPrimary),secondaryIconColor:ve.extend("--ft-button-secondary-icon-color","",we.contentActionPrimary),secondaryStateLayerColor:ve.extend("--ft-button-secondary-state-layer-color","",we.contentActionPrimary),secondaryStateLayerOpacityHover:ve.extend("--ft-button-secondary-state-layer-opacity-hover","",Se.opacity8),secondaryStateLayerOpacityFocus:ve.extend("--ft-button-secondary-state-layer-opacity-focus","",Se.opacity8),secondaryStateLayerOpacityActive:ve.extend("--ft-button-secondary-state-layer-opacity-active","",Se.opacity16),secondaryComponentOpacityDisabled:ve.extend("--ft-button-secondary-component-opacity-disabled","",Se.opacity40),secondaryBorderColor:ve.extend("--ft-button-secondary-border-color","",we.borderActionPrimary),neutralBackgroundColor:ve.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:ve.extend("--ft-button-neutral-icon-color","",we.contentGlobalSecondary),neutralColor:ve.extend("--ft-button-neutral-color","",we.contentGlobalSecondary),neutralStateLayerColor:ve.extend("--ft-button-neutral-state-layer-color","",we.contentGlobalSecondary),neutralStateLayerOpacityHover:ve.extend("--ft-button-neutral-state-layer-opacity-hover","",Se.opacity8),neutralStateLayerOpacityFocus:ve.extend("--ft-button-neutral-state-layer-opacity-focus","",Se.opacity8),neutralStateLayerOpacityActive:ve.extend("--ft-button-neutral-state-layer-opacity-active","",Se.opacity16),neutralComponentOpacityDisabled:ve.extend("--ft-button-neutral-component-opacity-disabled","",Se.opacity40)};ve.extend("--ft-tabs-top-left-border-radius","",Se.borderRadiusS),ve.extend("--ft-tabs-top-right-border-radius","",Se.borderRadiusS),ve.extend("--ft-tabs-label-horizontal-padding","",Se.spacing4),ve.extend("--ft-tabs-label-vertical-padding","",Se.spacing3),ve.extend("--ft-tabs-label-gap","",Se.spacing1),ve.extend("--ft-switch-group-horizontal-padding","",Se.spacing1),ve.extend("--ft-switch-group-vertical-padding","",Se.spacing1),ve.extend("--ft-switch-group-gap","",Se.spacing1),ve.extend("--ft-switch-group-background-color","",we.backgroundGlobalSurface),ve.extend("--ft-switch-group-border-color","",we.borderGlobalSubtle),ve.create("--ft-switch-group-border-radius","","SIZE","6px"),ve.extend("--ft-switch-label-horizontal-padding","",Se.spacing2),ve.extend("--ft-switch-label-vertical-padding","",Se.spacing1),ve.extend("--ft-switch-icon-horizontal-padding","",Se.spacing1),ve.extend("--ft-switch-icon-vertical-padding","",Se.spacing1),ve.create("--ft-switch-focus-outline-width","","SIZE","2px"),ve.extend("--ft-switch-focus-focus-ring-color","",we.borderActionFocusRing),ve.extend("--ft-switch-option-border-radius","",Se.borderRadiusS),ve.extend("--ft-switch-off-state-layer-opacity-hover","",Se.opacity8),ve.extend("--ft-switch-off-state-layer-opacity-focus","",Se.opacity8),ve.extend("--ft-switch-off-state-layer-opacity-active","",Se.opacity16),ve.extend("--ft-switch-off-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-switch-off-color","",we.contentGlobalSubtle),ve.extend("--ft-switch-off-state-layer-color","",we.contentGlobalSubtle),ve.extend("--ft-chart-1-light","for area color charts",Se.colorBrand40),ve.extend("--ft-chart-1-base","for line charts",Se.colorBrand0),ve.extend("--ft-chart-2-light","for area color charts",Se.colorYellow60),ve.extend("--ft-chart-2-base","for line charts",Se.colorYellow100),ve.extend("--ft-chart-3-light","",Se.colorUltramarine40),ve.extend("--ft-chart-3-base","",Se.colorUltramarine70),ve.extend("--ft-chart-4-light","",Se.colorCyan50),ve.extend("--ft-chart-4-base","",Se.colorCyan100),ve.extend("--ft-chart-5-light","",Se.colorRed40),ve.extend("--ft-chart-5-base","",Se.colorRed60),ve.extend("--ft-chart-6-light","",Se.colorGreen40),ve.extend("--ft-chart-6-base","",Se.colorGreen70),ve.extend("--ft-chart-7-light","",Se.colorOrange70),ve.extend("--ft-chart-7-base","",Se.colorOrange100),ve.extend("--ft-chart-8-light","",Se.colorAvocado70),ve.extend("--ft-chart-8-base","",Se.colorAvocado200),ve.extend("--ft-chart-9-light","",Se.colorBrown50),ve.extend("--ft-chart-9-base","",Se.colorBrown200),ve.extend("--ft-chart-10-light","",Se.colorGray50),ve.extend("--ft-chart-10-base","",Se.colorGray80),ve.extend("--ft-chart-monochrome-10","",Se.colorBrand10),ve.extend("--ft-chart-monochrome-20","",Se.colorBrand20),ve.extend("--ft-chart-monochrome-30","",Se.colorBrand40),ve.extend("--ft-chart-monochrome-40","",Se.colorBrand60),ve.extend("--ft-chart-monochrome-50","",Se.colorBrand0),ve.extend("--ft-chart-monochrome-60","",Se.colorBrand200),ve.extend("--ft-chip-large-horizontal-padding","",Se.spacing4),ve.extend("--ft-chip-large-vertical-padding","",Se.spacing2),ve.extend("--ft-chip-large-gap","",Se.spacing1),ve.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),ve.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),ve.extend("--ft-chip-large-border-radius","",Se.borderRadiusPill),ve.create("--ft-chip-large-border-width","","SIZE","1px"),ve.extend("--ft-chip-large-icon-size","",Se.iconSize3),ve.extend("--ft-chip-medium-horizontal-padding","",Se.spacing3),ve.extend("--ft-chip-medium-vertical-padding","",Se.spacing1),ve.extend("--ft-chip-medium-gap","",Se.spacing1),ve.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),ve.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),ve.extend("--ft-chip-medium-border-radius","",Se.borderRadiusPill),ve.create("--ft-chip-medium-border-width","","SIZE","1px"),ve.extend("--ft-chip-medium-icon-size","",Se.iconSize2),ve.extend("--ft-chip-small-horizontal-padding","",Se.spacing2),ve.extend("--ft-chip-small-vertical-padding","",Se.spacing05),ve.extend("--ft-chip-small-gap","",Se.spacing1),ve.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),ve.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),ve.extend("--ft-chip-small-border-radius","",Se.borderRadiusPill),ve.create("--ft-chip-small-border-width","","SIZE","1px"),ve.extend("--ft-chip-small-icon-size","",Se.iconSize1),ve.extend("--ft-chip-neutral-background-color","",we.backgroundGlobalOnSurface),ve.extend("--ft-chip-neutral-color","",we.contentGlobalPrimary),ve.extend("--ft-chip-neutral-border-color","",we.borderGlobalSubtle),ve.extend("--ft-chip-info-background-color","",we.backgroundInfoSubtle),ve.extend("--ft-chip-info-color","",we.contentInfoPrimary),ve.extend("--ft-chip-info-border-color","",we.borderInfoPrimary),ve.extend("--ft-chip-success-background-color","",we.backgroundSuccessSubtle),ve.extend("--ft-chip-success-color","",we.contentSuccessPrimary),ve.extend("--ft-chip-success-border-color","",we.borderSuccessPrimary),ve.extend("--ft-chip-warning-background-color","",we.backgroundWarningSubtle),ve.extend("--ft-chip-warning-color","",we.contentWarningPrimary),ve.extend("--ft-chip-warning-border-color","",we.borderWarningPrimary),ve.extend("--ft-chip-error-background-color","",we.backgroundErrorSubtle),ve.extend("--ft-chip-error-color","",we.contentErrorPrimary),ve.extend("--ft-chip-error-border-color","",we.borderErrorPrimary),ve.create("--ft-notice-border-width","","SIZE","1px"),ve.extend("--ft-notice-horizontal-padding","",Se.spacing2),ve.extend("--ft-notice-vertical-padding","",Se.spacing1),ve.extend("--ft-notice-border-radius","",Se.borderRadiusS),ve.extend("--ft-notice-gap","",Se.spacing2),ve.extend("--ft-notice-icon-size","",Se.iconSize3),ve.extend("--ft-notice-info-background-color","",we.backgroundInfoSubtle),ve.extend("--ft-notice-info-border-color","",we.borderInfoPrimary),ve.extend("--ft-notice-info-color","",we.contentInfoPrimary),ve.extend("--ft-notice-warning-background-color","",we.backgroundWarningSubtle),ve.extend("--ft-notice-warning-border-color","",we.borderWarningPrimary),ve.extend("--ft-notice-warning-color","",we.contentWarningPrimary),ve.extend("--ft-checkbox-label-color","",we.contentGlobalPrimary),ve.extend("--ft-checkbox-checked-background-color","",we.contentActionPrimary),ve.extend("--ft-checkbox-checked-state-layer-color","",we.contentActionPrimary),ve.extend("--ft-checkbox-checked-color","",we.contentGlobalOnColor),ve.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-checkbox-checked-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-checkbox-checked-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-checkbox-unchecked-border-color","",Se.colorGray80),ve.extend("--ft-checkbox-unchecked-state-layer-color","",Se.colorGray80),ve.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-checkbox-focus-focus-ring-color","",we.borderActionFocusRing),ve.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),ve.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),ve.extend("--ft-checkbox-gap","",Se.spacing3),ve.extend("--ft-toggle-off-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-toggle-off-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-toggle-off-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-toggle-off-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-toggle-off-background-color","",we.contentGlobalSubtle),ve.extend("--ft-toggle-off-icon-color","",we.contentGlobalSubtle),ve.extend("--ft-toggle-off-state-layer-color","",we.contentGlobalSubtle),ve.extend("--ft-toggle-on-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-toggle-on-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-toggle-on-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-toggle-on-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-toggle-on-background-color","",we.contentActionPrimary),ve.extend("--ft-toggle-on-icon-color","",we.contentActionPrimary),ve.extend("--ft-toggle-on-state-layer-color","",we.contentActionPrimary),ve.extend("--ft-toggle-label-color","",we.contentGlobalPrimary),ve.extend("--ft-toggle-focus-focus-ring-color","",we.borderActionFocusRing),ve.extend("--ft-toggle-gap","",Se.spacing3),ve.extend("--ft-radio-label-color","",we.contentGlobalPrimary),ve.extend("--ft-radio-selected-color","",we.contentActionPrimary),ve.extend("--ft-radio-selected-state-layer-color","",we.contentActionPrimary),ve.extend("--ft-radio-selected-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-radio-selected-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-radio-selected-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-radio-selected-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-radio-unselected-state-layer-color","",Se.colorGray80),ve.extend("--ft-radio-unselected-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-radio-unselected-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-radio-unselected-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-radio-unselected-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-radio-focus-focus-ring-color","",we.borderActionFocusRing),ve.create("--ft-radio-focus-outline-offset","","SIZE","3px"),ve.create("--ft-radio-focus-outline-width","","SIZE","2px"),ve.extend("--ft-radio-gap","",Se.spacing3),ve.extend("--ft-notification-icon-size","",Se.iconSize4),ve.extend("--ft-notification-horizontal-padding","",Se.spacing4),ve.extend("--ft-notification-vertical-padding","",Se.spacing4),ve.extend("--ft-notification-info-background-color","",we.backgroundInfoSubtle),ve.extend("--ft-notification-info-color","",we.contentInfoPrimary),ve.extend("--ft-notification-info-border-color","",we.borderInfoPrimary),ve.extend("--ft-notification-success-background-color","",we.backgroundSuccessSubtle),ve.extend("--ft-notification-success-color","",we.contentSuccessPrimary),ve.extend("--ft-notification-success-border-color","",we.borderSuccessPrimary),ve.extend("--ft-notification-warning-background-color","",we.backgroundWarningSubtle),ve.extend("--ft-notification-warning-color","",we.contentWarningPrimary),ve.extend("--ft-notification-warning-border-color","",we.borderWarningPrimary),ve.extend("--ft-notification-error-background-color","",we.backgroundErrorSubtle),ve.extend("--ft-notification-error-color","",we.contentErrorPrimary),ve.extend("--ft-notification-error-border-color","",we.borderErrorPrimary),ve.extend("--ft-notification-border-radius","",Se.borderRadiusPill),ve.create("--ft-notification-border-width","","SIZE","1px"),ve.extend("--ft-notification-gap-leading","",Se.spacing2),ve.extend("--ft-notification-gap-trailing","",Se.spacing8);const Ce={colorPrimary:ve.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:ve.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:ve.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:ve.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:ve.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:ve.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ve.create("--ft-color-error","","COLOR","#B00020"),colorOutline:ve.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ve.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:ve.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:ve.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:ve.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:ve.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:ve.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ve.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ve.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:ve.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:ve.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ve.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ve.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ve.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ve.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ve.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ve.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:ve.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:ve.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:ve.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:ve.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:ve.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:ve.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ve.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ve.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:ve.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ve.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ve.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ve.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ve.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ve.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ve.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:ve.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ve.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ve.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ve.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ve.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:ve.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:ve.create("--ft-elevation-01","","UNKNOWN","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)"),elevation02:ve.create("--ft-elevation-02","","UNKNOWN","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)"),elevation03:ve.create("--ft-elevation-03","","UNKNOWN","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)"),elevation04:ve.create("--ft-elevation-04","","UNKNOWN","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)"),elevation06:ve.create("--ft-elevation-06","","UNKNOWN","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)"),elevation08:ve.create("--ft-elevation-08","","UNKNOWN","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)"),elevation12:ve.create("--ft-elevation-12","","UNKNOWN","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)"),elevation16:ve.create("--ft-elevation-16","","UNKNOWN","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)"),elevation24:ve.create("--ft-elevation-24","","UNKNOWN","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)"),borderRadiusS:ve.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:ve.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:ve.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:ve.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:ve.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ve.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ve.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:ve.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Re=window,Ee=Re.ShadowRoot&&(void 0===Re.ShadyCSS||Re.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
84
|
+
class be extends Ft{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new pe(e.insertBefore(jt(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return oe}}be._$litElement$=!0,be.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:be});const me=globalThis.litElementPolyfillSupport;me?.({LitElement:be}),(globalThis.litElementVersions??=[]).push("4.0.2");const xe=t=>"string"==typeof t?mt(t):t;class ve{static create(t,e,o,i){const r=t=>xe(null!=t?t:i),n=xt`var(${xe(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>xt`var(${xe(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=xt`var(${xe(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>xt`var(${xe(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):xe(null!=e?e:t.lastResortDefaultValue()),i=xt`var(${xe(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>xt`var(${xe(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Oe(t,e){return xe(`${t.name}: ${e}`)}const Se={colorWhite:ve.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:ve.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:ve.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:ve.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:ve.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:ve.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:ve.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:ve.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:ve.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:ve.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:ve.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:ve.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:ve.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:ve.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:ve.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:ve.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:ve.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:ve.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:ve.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:ve.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:ve.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:ve.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:ve.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:ve.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:ve.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:ve.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:ve.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:ve.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:ve.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:ve.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:ve.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:ve.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:ve.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:ve.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:ve.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:ve.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:ve.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:ve.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:ve.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:ve.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:ve.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:ve.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:ve.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:ve.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:ve.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:ve.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:ve.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:ve.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:ve.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:ve.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:ve.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:ve.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:ve.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:ve.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:ve.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:ve.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:ve.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:ve.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:ve.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:ve.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:ve.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:ve.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:ve.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:ve.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:ve.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:ve.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:ve.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:ve.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:ve.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:ve.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:ve.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:ve.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:ve.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:ve.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:ve.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:ve.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:ve.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:ve.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:ve.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:ve.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:ve.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:ve.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:ve.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:ve.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:ve.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:ve.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:ve.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:ve.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:ve.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:ve.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:ve.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:ve.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:ve.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:ve.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:ve.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:ve.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:ve.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:ve.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:ve.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:ve.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:ve.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:ve.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:ve.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:ve.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:ve.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:ve.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:ve.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:ve.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:ve.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:ve.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:ve.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:ve.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:ve.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:ve.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:ve.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:ve.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:ve.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:ve.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:ve.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:ve.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:ve.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:ve.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:ve.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:ve.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:ve.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:ve.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:ve.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:ve.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:ve.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:ve.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:ve.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:ve.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:ve.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:ve.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:ve.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:ve.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:ve.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:ve.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:ve.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:ve.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:ve.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:ve.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:ve.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:ve.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:ve.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:ve.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:ve.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:ve.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:ve.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:ve.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:ve.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:ve.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:ve.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:ve.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:ve.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:ve.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:ve.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:ve.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:ve.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:ve.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:ve.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:ve.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:ve.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:ve.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:ve.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:ve.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:ve.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:ve.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:ve.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:ve.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:ve.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:ve.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:ve.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:ve.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:ve.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:ve.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:ve.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:ve.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:ve.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:ve.create("--ft-icon-size-6","","SIZE","48px"),opacity0:ve.create("--ft-opacity-0","","NUMBER","0"),opacity8:ve.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:ve.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:ve.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:ve.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:ve.create("--ft-opacity-80","","NUMBER","0.8")},Ne={display:{fontFamily:ve.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:ve.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ve.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:ve.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:ve.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ve.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:ve.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:ve.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ve.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:ve.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:ve.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:ve.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:ve.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:ve.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:ve.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:ve.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:ve.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:ve.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:ve.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:ve.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:ve.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:ve.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:ve.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:ve.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:ve.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:ve.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:ve.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:ve.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:ve.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:ve.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:ve.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:ve.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:ve.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:ve.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:ve.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:ve.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:ve.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:ve.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},we={backgroundActionPrimary:ve.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Se.colorBrand0),backgroundErrorPrimary:ve.extend("--ft-background-error-primary","Used as background of error components.",Se.colorRed0),backgroundErrorSubtle:ve.extend("--ft-background-error-subtle","Used as background of subtle error components.",Se.colorRed10),backgroundInfoPrimary:ve.extend("--ft-background-info-primary","Used as background of information components.",Se.colorCyan200),backgroundInfoSubtle:ve.extend("--ft-background-info-subtle","Used as background of subtle information components.",Se.colorCyan10),backgroundWarningPrimary:ve.extend("--ft-background-warning-primary","Used as background of warning components.",Se.colorOrange300),backgroundWarningSubtle:ve.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Se.colorOrange10),backgroundSuccessPrimary:ve.extend("--ft-background-success-primary","Used as background of success components.",Se.colorGreen200),backgroundSuccessSubtle:ve.extend("--ft-background-success-subtle","Used as background of subtle success components.",Se.colorGreen10),backgroundGlobalSurface:ve.extend("--ft-background-global-surface","Used as app background.",Se.colorWhite),backgroundGlobalOnSurface:ve.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Se.colorGray10),backgroundGlobalOnSurfaceDark:ve.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Se.colorGray30),contentActionPrimary:ve.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Se.colorBrand0),contentWarningPrimary:ve.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Se.colorOrange300),contentWarningIconOnly:ve.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Se.colorOrange0),contentErrorPrimary:ve.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Se.colorRed0),contentErrorIconOnly:ve.extend("--ft-content-error-icon-only","Used on error status icons alone",Se.colorRed0),contentInfoPrimary:ve.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Se.colorCyan200),contentInfoIconOnly:ve.extend("--ft-content-info-icon-only","Used on info status icons alone",Se.colorCyan0),contentSuccessIconOnly:ve.extend("--ft-content-success-icon-only","Used on success status icons alone",Se.colorGreen0),contentSuccessPrimary:ve.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Se.colorGreen200),contentGlobalPrimary:ve.extend("--ft-content-global-primary","Used for main content on the page.",Se.colorGray500),contentGlobalSecondary:ve.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Se.colorGray200),contentGlobalSubtle:ve.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Se.colorGray0),contentGlobalOnColor:ve.extend("--ft-content-global-on-color","Used for content on a dominant color.",Se.colorWhite),borderActionPrimary:ve.extend("--ft-border-action-primary","Used as border for primary action components.",Se.colorBrand0),borderActionFocusRing:ve.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Se.colorCyan0),borderWarningPrimary:ve.extend("--ft-border-warning-primary","Used as border for warning components.",Se.colorOrange30),borderSuccessPrimary:ve.extend("--ft-border-success-primary","Used as border for success components.",Se.colorGreen30),borderErrorPrimary:ve.extend("--ft-border-error-primary","Used as border for error components.",Se.colorRed30),borderInfoPrimary:ve.extend("--ft-border-info-primary","Used as border for information components.",Se.colorCyan30),borderGlobalSubtle:ve.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Se.colorGray30),borderGlobalPrimary:ve.extend("--ft-border-global-primary","Used as border for element like input.",Se.colorGray50),borderInputPrimary:ve.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Se.colorGray80)},$e={largeHeight:ve.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:ve.extend("--ft-button-large-horizontal-padding","",Se.spacing4),largeGap:ve.extend("--ft-button-large-gap","",Se.spacing2),largeBorderRadius:ve.extend("--ft-button-large-border-radius","",Se.borderRadiusS),largeIconSize:ve.extend("--ft-button-large-icon-size","",Se.iconSize3),largeBorderWidth:ve.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:ve.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ve.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:ve.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:ve.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:ve.extend("--ft-button-small-horizontal-padding","",Se.spacing3),smallGap:ve.extend("--ft-button-small-gap","",Se.spacing2),smallBorderRadius:ve.extend("--ft-button-small-border-radius","",Se.borderRadiusS),smallIconSize:ve.extend("--ft-button-small-icon-size","",Se.iconSize2),smallBorderWidth:ve.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:ve.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ve.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:ve.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:ve.extend("--ft-button-primary-background-color","",we.backgroundActionPrimary),primaryColor:ve.extend("--ft-button-primary-color","",we.contentGlobalOnColor),primaryIconColor:ve.extend("--ft-button-primary-icon-color","",we.contentGlobalOnColor),primaryStateLayerColor:ve.extend("--ft-button-primary-state-layer-color","",we.contentGlobalOnColor),primaryStateLayerOpacityHover:ve.extend("--ft-button-primary-state-layer-opacity-hover","",Se.opacity16),primaryStateLayerOpacityFocus:ve.extend("--ft-button-primary-state-layer-opacity-focus","",Se.opacity16),primaryStateLayerOpacityActive:ve.extend("--ft-button-primary-state-layer-opacity-active","",Se.opacity24),primaryComponentOpacityDisabled:ve.extend("--ft-button-primary-component-opacity-disabled","",Se.opacity40),focusFocusRingColor:ve.extend("--ft-button-focus-focus-ring-color","",we.borderActionFocusRing),tertiaryBackgroundColor:ve.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:ve.extend("--ft-button-tertiary-color","",we.contentActionPrimary),tertiaryIconColor:ve.extend("--ft-button-tertiary-icon-color","",we.contentActionPrimary),tertiaryStateLayerColor:ve.extend("--ft-button-tertiary-state-layer-color","",we.contentActionPrimary),tertiaryStateLayerOpacityHover:ve.extend("--ft-button-tertiary-state-layer-opacity-hover","",Se.opacity8),tertiaryStateLayerOpacityFocus:ve.extend("--ft-button-tertiary-state-layer-opacity-focus","",Se.opacity8),tertiaryStateLayerOpacityActive:ve.extend("--ft-button-tertiary-state-layer-opacity-active","",Se.opacity16),tertiaryComponentOpacityDisabled:ve.extend("--ft-button-tertiary-component-opacity-disabled","",Se.opacity40),secondaryBackgroundColor:ve.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:ve.extend("--ft-button-secondary-color","",we.contentActionPrimary),secondaryIconColor:ve.extend("--ft-button-secondary-icon-color","",we.contentActionPrimary),secondaryStateLayerColor:ve.extend("--ft-button-secondary-state-layer-color","",we.contentActionPrimary),secondaryStateLayerOpacityHover:ve.extend("--ft-button-secondary-state-layer-opacity-hover","",Se.opacity8),secondaryStateLayerOpacityFocus:ve.extend("--ft-button-secondary-state-layer-opacity-focus","",Se.opacity8),secondaryStateLayerOpacityActive:ve.extend("--ft-button-secondary-state-layer-opacity-active","",Se.opacity16),secondaryComponentOpacityDisabled:ve.extend("--ft-button-secondary-component-opacity-disabled","",Se.opacity40),secondaryBorderColor:ve.extend("--ft-button-secondary-border-color","",we.borderActionPrimary),neutralBackgroundColor:ve.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:ve.extend("--ft-button-neutral-icon-color","",we.contentGlobalSecondary),neutralColor:ve.extend("--ft-button-neutral-color","",we.contentGlobalSecondary),neutralStateLayerColor:ve.extend("--ft-button-neutral-state-layer-color","",we.contentGlobalSecondary),neutralStateLayerOpacityHover:ve.extend("--ft-button-neutral-state-layer-opacity-hover","",Se.opacity8),neutralStateLayerOpacityFocus:ve.extend("--ft-button-neutral-state-layer-opacity-focus","",Se.opacity8),neutralStateLayerOpacityActive:ve.extend("--ft-button-neutral-state-layer-opacity-active","",Se.opacity16),neutralComponentOpacityDisabled:ve.extend("--ft-button-neutral-component-opacity-disabled","",Se.opacity40)};ve.extend("--ft-tabs-top-left-border-radius","",Se.borderRadiusS),ve.extend("--ft-tabs-top-right-border-radius","",Se.borderRadiusS),ve.extend("--ft-tabs-label-horizontal-padding","",Se.spacing4),ve.extend("--ft-tabs-label-vertical-padding","",Se.spacing3),ve.extend("--ft-tabs-label-gap","",Se.spacing1),ve.extend("--ft-switch-group-horizontal-padding","",Se.spacing1),ve.extend("--ft-switch-group-vertical-padding","",Se.spacing1),ve.extend("--ft-switch-group-gap","",Se.spacing1),ve.extend("--ft-switch-group-background-color","",we.backgroundGlobalSurface),ve.extend("--ft-switch-group-border-color","",we.borderGlobalSubtle),ve.create("--ft-switch-group-border-radius","","SIZE","6px"),ve.extend("--ft-switch-label-horizontal-padding","",Se.spacing2),ve.extend("--ft-switch-label-vertical-padding","",Se.spacing1),ve.extend("--ft-switch-icon-horizontal-padding","",Se.spacing1),ve.extend("--ft-switch-icon-vertical-padding","",Se.spacing1),ve.create("--ft-switch-focus-outline-width","","SIZE","2px"),ve.extend("--ft-switch-focus-focus-ring-color","",we.borderActionFocusRing),ve.extend("--ft-switch-option-border-radius","",Se.borderRadiusS),ve.extend("--ft-switch-off-state-layer-opacity-hover","",Se.opacity8),ve.extend("--ft-switch-off-state-layer-opacity-focus","",Se.opacity8),ve.extend("--ft-switch-off-state-layer-opacity-active","",Se.opacity16),ve.extend("--ft-switch-off-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-switch-off-color","",we.contentGlobalSubtle),ve.extend("--ft-switch-off-state-layer-color","",we.contentGlobalSubtle),ve.extend("--ft-chart-1-light","for area color charts",Se.colorBrand40),ve.extend("--ft-chart-1-base","for line charts",Se.colorBrand0),ve.extend("--ft-chart-2-light","for area color charts",Se.colorYellow60),ve.extend("--ft-chart-2-base","for line charts",Se.colorYellow100),ve.extend("--ft-chart-3-light","",Se.colorUltramarine40),ve.extend("--ft-chart-3-base","",Se.colorUltramarine70),ve.extend("--ft-chart-4-light","",Se.colorCyan50),ve.extend("--ft-chart-4-base","",Se.colorCyan100),ve.extend("--ft-chart-5-light","",Se.colorRed40),ve.extend("--ft-chart-5-base","",Se.colorRed60),ve.extend("--ft-chart-6-light","",Se.colorGreen40),ve.extend("--ft-chart-6-base","",Se.colorGreen70),ve.extend("--ft-chart-7-light","",Se.colorOrange70),ve.extend("--ft-chart-7-base","",Se.colorOrange100),ve.extend("--ft-chart-8-light","",Se.colorAvocado70),ve.extend("--ft-chart-8-base","",Se.colorAvocado200),ve.extend("--ft-chart-9-light","",Se.colorBrown50),ve.extend("--ft-chart-9-base","",Se.colorBrown200),ve.extend("--ft-chart-10-light","",Se.colorGray50),ve.extend("--ft-chart-10-base","",Se.colorGray80),ve.extend("--ft-chart-monochrome-10","",Se.colorBrand10),ve.extend("--ft-chart-monochrome-20","",Se.colorBrand20),ve.extend("--ft-chart-monochrome-30","",Se.colorBrand40),ve.extend("--ft-chart-monochrome-40","",Se.colorBrand60),ve.extend("--ft-chart-monochrome-50","",Se.colorBrand0),ve.extend("--ft-chart-monochrome-60","",Se.colorBrand200),ve.extend("--ft-chip-large-horizontal-padding","",Se.spacing4),ve.extend("--ft-chip-large-vertical-padding","",Se.spacing2),ve.extend("--ft-chip-large-gap","",Se.spacing1),ve.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),ve.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),ve.extend("--ft-chip-large-border-radius","",Se.borderRadiusPill),ve.create("--ft-chip-large-border-width","","SIZE","1px"),ve.extend("--ft-chip-large-icon-size","",Se.iconSize3),ve.extend("--ft-chip-medium-horizontal-padding","",Se.spacing3),ve.extend("--ft-chip-medium-vertical-padding","",Se.spacing1),ve.extend("--ft-chip-medium-gap","",Se.spacing1),ve.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),ve.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),ve.extend("--ft-chip-medium-border-radius","",Se.borderRadiusPill),ve.create("--ft-chip-medium-border-width","","SIZE","1px"),ve.extend("--ft-chip-medium-icon-size","",Se.iconSize2),ve.extend("--ft-chip-small-horizontal-padding","",Se.spacing2),ve.extend("--ft-chip-small-vertical-padding","",Se.spacing05),ve.extend("--ft-chip-small-gap","",Se.spacing1),ve.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),ve.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),ve.extend("--ft-chip-small-border-radius","",Se.borderRadiusPill),ve.create("--ft-chip-small-border-width","","SIZE","1px"),ve.extend("--ft-chip-small-icon-size","",Se.iconSize1),ve.extend("--ft-chip-neutral-background-color","",we.backgroundGlobalOnSurface),ve.extend("--ft-chip-neutral-color","",we.contentGlobalPrimary),ve.extend("--ft-chip-neutral-border-color","",we.borderGlobalSubtle),ve.extend("--ft-chip-info-background-color","",we.backgroundInfoSubtle),ve.extend("--ft-chip-info-color","",we.contentInfoPrimary),ve.extend("--ft-chip-info-border-color","",we.borderInfoPrimary),ve.extend("--ft-chip-success-background-color","",we.backgroundSuccessSubtle),ve.extend("--ft-chip-success-color","",we.contentSuccessPrimary),ve.extend("--ft-chip-success-border-color","",we.borderSuccessPrimary),ve.extend("--ft-chip-warning-background-color","",we.backgroundWarningSubtle),ve.extend("--ft-chip-warning-color","",we.contentWarningPrimary),ve.extend("--ft-chip-warning-border-color","",we.borderWarningPrimary),ve.extend("--ft-chip-error-background-color","",we.backgroundErrorSubtle),ve.extend("--ft-chip-error-color","",we.contentErrorPrimary),ve.extend("--ft-chip-error-border-color","",we.borderErrorPrimary),ve.create("--ft-notice-border-width","","SIZE","1px"),ve.extend("--ft-notice-horizontal-padding","",Se.spacing2),ve.extend("--ft-notice-vertical-padding","",Se.spacing1),ve.extend("--ft-notice-border-radius","",Se.borderRadiusS),ve.extend("--ft-notice-gap","",Se.spacing2),ve.extend("--ft-notice-icon-size","",Se.iconSize3),ve.extend("--ft-notice-info-background-color","",we.backgroundInfoSubtle),ve.extend("--ft-notice-info-border-color","",we.borderInfoPrimary),ve.extend("--ft-notice-info-color","",we.contentInfoPrimary),ve.extend("--ft-notice-warning-background-color","",we.backgroundWarningSubtle),ve.extend("--ft-notice-warning-border-color","",we.borderWarningPrimary),ve.extend("--ft-notice-warning-color","",we.contentWarningPrimary),ve.extend("--ft-checkbox-label-color","",we.contentGlobalPrimary),ve.extend("--ft-checkbox-checked-background-color","",we.contentActionPrimary),ve.extend("--ft-checkbox-checked-state-layer-color","",we.contentActionPrimary),ve.extend("--ft-checkbox-checked-color","",we.contentGlobalOnColor),ve.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-checkbox-checked-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-checkbox-checked-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-checkbox-unchecked-border-color","",Se.colorGray80),ve.extend("--ft-checkbox-unchecked-state-layer-color","",Se.colorGray80),ve.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-checkbox-focus-focus-ring-color","",we.borderActionFocusRing),ve.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),ve.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),ve.extend("--ft-checkbox-gap","",Se.spacing3),ve.extend("--ft-toggle-off-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-toggle-off-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-toggle-off-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-toggle-off-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-toggle-off-background-color","",we.contentGlobalSubtle),ve.extend("--ft-toggle-off-icon-color","",we.contentGlobalSubtle),ve.extend("--ft-toggle-off-state-layer-color","",we.contentGlobalSubtle),ve.extend("--ft-toggle-on-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-toggle-on-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-toggle-on-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-toggle-on-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-toggle-on-background-color","",we.contentActionPrimary),ve.extend("--ft-toggle-on-icon-color","",we.contentActionPrimary),ve.extend("--ft-toggle-on-state-layer-color","",we.contentActionPrimary),ve.extend("--ft-toggle-label-color","",we.contentGlobalPrimary),ve.extend("--ft-toggle-focus-focus-ring-color","",we.borderActionFocusRing),ve.extend("--ft-toggle-gap","",Se.spacing3),ve.extend("--ft-radio-label-color","",we.contentGlobalPrimary),ve.extend("--ft-radio-selected-color","",we.contentActionPrimary),ve.extend("--ft-radio-selected-state-layer-color","",we.contentActionPrimary),ve.extend("--ft-radio-selected-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-radio-selected-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-radio-selected-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-radio-selected-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-radio-unselected-state-layer-color","",Se.colorGray80),ve.extend("--ft-radio-unselected-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-radio-unselected-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-radio-unselected-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-radio-unselected-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-radio-focus-focus-ring-color","",we.borderActionFocusRing),ve.create("--ft-radio-focus-outline-offset","","SIZE","3px"),ve.create("--ft-radio-focus-outline-width","","SIZE","2px"),ve.extend("--ft-radio-gap","",Se.spacing3),ve.extend("--ft-notification-icon-size","",Se.iconSize4),ve.extend("--ft-notification-horizontal-padding","",Se.spacing4),ve.extend("--ft-notification-vertical-padding","",Se.spacing4),ve.extend("--ft-notification-info-background-color","",we.backgroundInfoSubtle),ve.extend("--ft-notification-info-color","",we.contentInfoPrimary),ve.extend("--ft-notification-info-border-color","",we.borderInfoPrimary),ve.extend("--ft-notification-success-background-color","",we.backgroundSuccessSubtle),ve.extend("--ft-notification-success-color","",we.contentSuccessPrimary),ve.extend("--ft-notification-success-border-color","",we.borderSuccessPrimary),ve.extend("--ft-notification-warning-background-color","",we.backgroundWarningSubtle),ve.extend("--ft-notification-warning-color","",we.contentWarningPrimary),ve.extend("--ft-notification-warning-border-color","",we.borderWarningPrimary),ve.extend("--ft-notification-error-background-color","",we.backgroundErrorSubtle),ve.extend("--ft-notification-error-color","",we.contentErrorPrimary),ve.extend("--ft-notification-error-border-color","",we.borderErrorPrimary),ve.extend("--ft-notification-border-radius","",Se.borderRadiusPill),ve.create("--ft-notification-border-width","","SIZE","1px"),ve.extend("--ft-notification-gap-leading","",Se.spacing2),ve.extend("--ft-notification-gap-trailing","",Se.spacing8);const Ce={colorPrimary:ve.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:ve.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:ve.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:ve.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:ve.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:ve.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ve.create("--ft-color-error","","COLOR","#B00020"),colorOutline:ve.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ve.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:ve.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:ve.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:ve.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:ve.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:ve.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ve.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ve.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:ve.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:ve.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ve.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ve.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ve.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ve.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ve.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ve.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:ve.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:ve.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:ve.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:ve.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:ve.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:ve.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ve.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ve.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:ve.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ve.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ve.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ve.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ve.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ve.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ve.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:ve.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ve.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ve.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ve.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ve.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:ve.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:ve.create("--ft-elevation-01","","UNKNOWN","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)"),elevation02:ve.create("--ft-elevation-02","","UNKNOWN","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)"),elevation03:ve.create("--ft-elevation-03","","UNKNOWN","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)"),elevation04:ve.create("--ft-elevation-04","","UNKNOWN","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)"),elevation06:ve.create("--ft-elevation-06","","UNKNOWN","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)"),elevation08:ve.create("--ft-elevation-08","","UNKNOWN","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)"),elevation12:ve.create("--ft-elevation-12","","UNKNOWN","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)"),elevation16:ve.create("--ft-elevation-16","","UNKNOWN","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)"),elevation24:ve.create("--ft-elevation-24","","UNKNOWN","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)"),borderRadiusS:ve.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:ve.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:ve.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:ve.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:ve.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ve.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ve.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:ve.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Re=["start","end"],Ee=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Re[0],e+"-"+Re[1])),[]),Ue=Math.min,ke=Math.max,Ie=Math.round,Le=t=>({x:t,y:t}),We={left:"right",right:"left",bottom:"top",top:"bottom"},ze={start:"end",end:"start"};function Fe(t,e,o){return ke(t,Ue(e,o))}function Ke(t,e){return"function"==typeof t?t(e):t}function Ze(t){return t.split("-")[0]}function Be(t){return t.split("-")[1]}function Me(t){return"x"===t?"y":"x"}function De(t){return"y"===t?"height":"width"}function Ae(t){return["top","bottom"].includes(Ze(t))?"y":"x"}function Pe(t){return Me(Ae(t))}function He(t){return t.replace(/left|right|bottom|top/g,(t=>We[t]))}function je(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Te(t,e,o){let{reference:i,floating:r}=t;const n=Ae(e),a=Pe(e),s=De(a),l=Ze(e),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(Be(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function _e(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Ke(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=je(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=je(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function Ge(t,e,o){return(t?[...o.filter((e=>Be(e)===t)),...o.filter((e=>Be(e)!==t))]:o.filter((t=>Ze(t)===t))).filter((o=>!t||(Be(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>ze[t]))}(o)!==o)))}const Ye=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Ee,autoAlignment:d=!0,...u}=Ke(t,e),y=void 0!==f||h===Ee?Ge(f||null,d,h):h,g=await _e(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=Be(t),r=Pe(t),n=De(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=He(a)),[a,He(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[Ze(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],S=y[b+1];if(S)return{data:{index:b+1,overflows:O},reset:{placement:S}};const N=O.map((t=>{const e=Be(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),w=N.filter((t=>t[2].slice(0,Be(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=w[0])?void 0:r[0])||N[0][0];return $!==s?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function Ve(t){return Xe(t)?(t.nodeName||"").toLowerCase():"#document"}function Je(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function qe(t){var e;return null==(e=(Xe(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Xe(t){return t instanceof Node||t instanceof Je(t).Node}function Qe(t){return t instanceof Element||t instanceof Je(t).Element}function to(t){return t instanceof HTMLElement||t instanceof Je(t).HTMLElement}function eo(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Je(t).ShadowRoot)}function oo(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=so(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function io(t){return["table","td","th"].includes(Ve(t))}function ro(t){const e=no(),o=so(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function no(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ao(t){return["html","body","#document"].includes(Ve(t))}function so(t){return Je(t).getComputedStyle(t)}function lo(t){return Qe(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function co(t){if("html"===Ve(t))return t;const e=t.assignedSlot||t.parentNode||eo(t)&&t.host||qe(t);return eo(e)?e.host:e}function po(t){const e=co(t);return ao(e)?t.ownerDocument?t.ownerDocument.body:t.body:to(e)&&oo(e)?e:po(e)}function fo(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=po(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Je(r);return n?e.concat(a,a.visualViewport||[],oo(r)?r:[],a.frameElement&&o?fo(a.frameElement):[]):e.concat(r,fo(r,[],o))}function ho(t){const e=so(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=to(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Ie(o)!==n||Ie(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function uo(t){return Qe(t)?t:t.contextElement}function yo(t){const e=uo(t);if(!to(e))return Le(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=ho(e);let a=(n?Ie(o.width):o.width)/i,s=(n?Ie(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const go=Le(0);function bo(t){const e=Je(t);return no()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:go}function mo(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=uo(t);let a=Le(1);e&&(i?Qe(i)&&(a=yo(i)):a=yo(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Je(t))&&e}(n,o,i)?bo(n):Le(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=Je(n),e=i&&Qe(i)?Je(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=yo(o),e=o.getBoundingClientRect(),i=so(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,o=Je(o).frameElement}}return je({width:p,height:f,x:l,y:c})}function xo(t){return mo(qe(t)).left+lo(t).scrollLeft}function vo(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=Je(t),i=qe(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=no();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=qe(t),o=lo(t),i=t.ownerDocument.body,r=ke(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=ke(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+xo(t);const s=-o.scrollTop;return"rtl"===so(i).direction&&(a+=ke(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(qe(t));else if(Qe(e))i=function(t,e){const o=mo(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=to(t)?yo(t):Le(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=bo(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return je(i)}function Oo(t,e){const o=co(t);return!(o===e||!Qe(o)||ao(o))&&("fixed"===so(o).position||Oo(o,e))}function So(t,e,o){const i=to(e),r=qe(e),n="fixed"===o,a=mo(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Le(0);if(i||!i&&!n)if(("body"!==Ve(e)||oo(r))&&(s=lo(e)),i){const t=mo(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=xo(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function No(t,e){return to(t)&&"fixed"!==so(t).position?e?e(t):t.offsetParent:null}function wo(t,e){const o=Je(t);if(!to(t))return o;let i=No(t,e);for(;i&&io(i)&&"static"===so(i).position;)i=No(i,e);return i&&("html"===Ve(i)||"body"===Ve(i)&&"static"===so(i).position&&!ro(i))?o:i||function(t){let e=co(t);for(;to(e)&&!ao(e);){if(ro(e))return e;e=co(e)}return null}(t)||o}const $o={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=to(o),n=qe(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Le(1);const l=Le(0);if((r||!r&&"fixed"!==i)&&(("body"!==Ve(o)||oo(n))&&(a=lo(o)),to(o))){const t=mo(o);s=yo(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:qe,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=fo(t,[],!1).filter((t=>Qe(t)&&"body"!==Ve(t))),r=null;const n="fixed"===so(t).position;let a=n?co(t):t;for(;Qe(a)&&!ao(a);){const e=so(a),o=ro(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||oo(a)&&!o&&Oo(t,a))?i=i.filter((t=>t!==a)):r=e,a=co(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=vo(e,o,r);return t.top=ke(i.top,t.top),t.right=Ue(i.right,t.right),t.bottom=Ue(i.bottom,t.bottom),t.left=ke(i.left,t.left),t}),vo(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:wo,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||wo,n=this.getDimensions;return{reference:So(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return ho(t)},getScale:yo,isElement:Qe,isRTL:function(t){return"rtl"===so(t).direction}},Co=(t,e,o)=>{const i=new Map,r={platform:$o,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:p,y:f}=Te(c,i,l),h=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:p,y:f}=Te(c,h,l))),o=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};function Ro(t){return function(t){for(let e=t;e;e=Eo(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Eo(t);e;e=Eo(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Eo(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
|
|
85
85
|
/**
|
|
86
86
|
* @license
|
|
87
87
|
* Copyright 2019 Google LLC
|
|
88
88
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
89
|
-
*/
|
|
89
|
+
*/
|
|
90
|
+
const Uo=window,ko=Uo.ShadowRoot&&(void 0===Uo.ShadyCSS||Uo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Io extends be{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{ko?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Uo.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Lo,Wo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const zo=Symbol("constructorPrototype"),Fo=Symbol("constructorName"),Ko=Symbol("exportpartsDebouncer");class Zo extends Io{constructor(){super(),this[Lo]=new e(5),this[Fo]=this.constructor.name,this[zo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Fo]&&Object.setPrototypeOf(this,this[zo])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ko].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Lo=Ko,Wo([$()],Zo.prototype,"exportpartsPrefix",void 0),Wo([function(t,e){const o=()=>JSON.parse(JSON.stringify(t));return $({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!k(t,e),...null!=e?e:{}})}([])],Zo.prototype,"exportpartsPrefixes",void 0),Wo([$()],Zo.prototype,"customStylesheet",void 0);const Bo=ve.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");xt`
|
|
90
91
|
.highlight-html-match {
|
|
91
|
-
background: ${
|
|
92
|
+
background: ${Bo};
|
|
92
93
|
}
|
|
93
|
-
`;const
|
|
94
|
+
`;const Mo=xt`
|
|
94
95
|
.ft-no-text-select {
|
|
95
96
|
-webkit-touch-callout: none;
|
|
96
97
|
-webkit-user-select: none;
|
|
@@ -111,7 +112,7 @@ class be extends Ft{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
111
112
|
-webkit-hyphens: auto;
|
|
112
113
|
hyphens: auto
|
|
113
114
|
}
|
|
114
|
-
`;const
|
|
115
|
+
`;const Do=xt`
|
|
115
116
|
.ft-safari-ellipsis-fix {
|
|
116
117
|
margin-right: 0;
|
|
117
118
|
|
|
@@ -122,7 +123,7 @@ class be extends Ft{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
122
123
|
display: inline-block;
|
|
123
124
|
width: 0;
|
|
124
125
|
}
|
|
125
|
-
`;function
|
|
126
|
+
`;function Ao(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Po,Ho,jo;const To=Symbol("internalReduxEventsUnsubscribers"),_o=Symbol("internalStoresUnsubscribers"),Go=Symbol("internalStores");class Yo extends Zo{constructor(){super(...arguments),this[Po]=new Map,this[Ho]=new Map,this[jo]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[Go].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Go].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Go].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Ao(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Go].delete(e)}setupStore(t,e){this[Go].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Go].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[_o].has(t.store):this[_o].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[_o].set(t,e.subscribe((()=>this.updateFromStores()))),Ao(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[To].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[_o].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[To].forEach((t=>t())),this[To]=[]}unsubscribeFromStore(t){this[_o].has(t)&&this[_o].get(t)(),this[_o].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}Po=_o,Ho=Go,jo=To,Yo.reduxProperties=new Map,Yo.reduxReactiveProperties=new Set,Yo.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={});const Vo=Symbol("elementInternals");var Jo,qo,Xo;const Qo=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Xo=null===(qo=null===(Jo=window.safari)||void 0===Jo?void 0:Jo.pushNotification)||void 0===qo?void 0:qo.toString())&&void 0!==Xo?Xo:""),ti=xt`
|
|
126
127
|
|
|
127
128
|
[part="container"] {
|
|
128
129
|
display: flex;
|
|
@@ -131,7 +132,7 @@ class be extends Ft{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
131
132
|
align-items: center;
|
|
132
133
|
justify-content: center;
|
|
133
134
|
}
|
|
134
|
-
`,
|
|
135
|
+
`,ei=ve.extend("--ft-ripple-color","",Ce.colorContent),oi={color:ei,backgroundColor:ve.extend("--ft-ripple-background-color","",ei),opacityContentOnSurfacePressed:ve.external(Ce.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ve.external(Ce.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ve.external(Ce.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ve.external(Ce.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ve.create("--ft-ripple-border-radius","","SIZE","0px")},ii=ve.extend("--ft-ripple-color","",Ce.colorPrimary),ri=ii,ni=ve.extend("--ft-ripple-background-color","",ii),ai=ve.extend("--ft-ripple-color","",Ce.colorSecondary),si=ai,li=ve.extend("--ft-ripple-background-color","",ai),ci=xt`
|
|
135
136
|
:host {
|
|
136
137
|
display: contents;
|
|
137
138
|
}
|
|
@@ -144,7 +145,7 @@ class be extends Ft{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
144
145
|
|
|
145
146
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
146
147
|
overflow: hidden;
|
|
147
|
-
border-radius: ${
|
|
148
|
+
border-radius: ${oi.borderRadius};
|
|
148
149
|
}
|
|
149
150
|
|
|
150
151
|
.ft-ripple .ft-ripple--background,
|
|
@@ -178,27 +179,27 @@ class be extends Ft{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
178
179
|
}
|
|
179
180
|
|
|
180
181
|
.ft-ripple .ft-ripple--background {
|
|
181
|
-
background-color: ${
|
|
182
|
+
background-color: ${oi.backgroundColor};
|
|
182
183
|
}
|
|
183
184
|
|
|
184
185
|
.ft-ripple .ft-ripple--effect {
|
|
185
|
-
background-color: ${
|
|
186
|
+
background-color: ${oi.color};
|
|
186
187
|
}
|
|
187
188
|
|
|
188
189
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
189
|
-
background-color: ${
|
|
190
|
+
background-color: ${li};
|
|
190
191
|
}
|
|
191
192
|
|
|
192
193
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
193
|
-
background-color: ${
|
|
194
|
+
background-color: ${si};
|
|
194
195
|
}
|
|
195
196
|
|
|
196
197
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
197
|
-
background-color: ${
|
|
198
|
+
background-color: ${ni};
|
|
198
199
|
}
|
|
199
200
|
|
|
200
201
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
201
|
-
background-color: ${
|
|
202
|
+
background-color: ${ri};
|
|
202
203
|
}
|
|
203
204
|
|
|
204
205
|
.ft-ripple .ft-ripple--background {
|
|
@@ -228,117 +229,117 @@ class be extends Ft{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
228
229
|
}
|
|
229
230
|
|
|
230
231
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
231
|
-
opacity: ${
|
|
232
|
+
opacity: ${oi.opacityContentOnSurfaceHover};
|
|
232
233
|
}
|
|
233
234
|
|
|
234
235
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
235
|
-
opacity: ${
|
|
236
|
+
opacity: ${oi.opacityContentOnSurfaceSelected};
|
|
236
237
|
}
|
|
237
238
|
|
|
238
239
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
239
|
-
opacity: ${
|
|
240
|
+
opacity: ${oi.opacityContentOnSurfaceFocused};
|
|
240
241
|
}
|
|
241
242
|
|
|
242
243
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
243
|
-
opacity: ${
|
|
244
|
+
opacity: ${oi.opacityContentOnSurfacePressed};
|
|
244
245
|
transform: translate(-50%, -50%) scale(1);
|
|
245
246
|
}
|
|
246
|
-
`;const
|
|
247
|
+
`;const pi=ve.extend("--ft-typography-font-family","",Ce.titleFont),fi=ve.extend("--ft-typography-font-family","",Ce.contentFont),hi={fontFamily:fi,fontSize:ve.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:ve.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:ve.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:ve.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:ve.create("--ft-typography-text-transform","","UNKNOWN","inherit")},di=ve.extend("--ft-typography-title-font-family","",pi),ui=ve.extend("--ft-typography-title-font-size","",hi.fontSize,"20px"),yi=ve.extend("--ft-typography-title-font-weight","",hi.fontWeight,"normal"),gi=ve.extend("--ft-typography-title-letter-spacing","",hi.letterSpacing,"0.15px"),bi=ve.extend("--ft-typography-title-line-height","",hi.lineHeight,"1.2"),mi=ve.extend("--ft-typography-title-text-transform","",hi.textTransform,"inherit"),xi=ve.extend("--ft-typography-title-dense-font-family","",pi),vi=ve.extend("--ft-typography-title-dense-font-size","",hi.fontSize,"14px"),Oi=ve.extend("--ft-typography-title-dense-font-weight","",hi.fontWeight,"normal"),Si=ve.extend("--ft-typography-title-dense-letter-spacing","",hi.letterSpacing,"0.105px"),Ni=ve.extend("--ft-typography-title-dense-line-height","",hi.lineHeight,"1.7"),wi=ve.extend("--ft-typography-title-dense-text-transform","",hi.textTransform,"inherit"),$i=ve.extend("--ft-typography-subtitle1-font-family","",fi),Ci=ve.extend("--ft-typography-subtitle1-font-size","",hi.fontSize,"16px"),Ri=ve.extend("--ft-typography-subtitle1-font-weight","",hi.fontWeight,"600"),Ei=ve.extend("--ft-typography-subtitle1-letter-spacing","",hi.letterSpacing,"0.144px"),Ui=ve.extend("--ft-typography-subtitle1-line-height","",hi.lineHeight,"1.5"),ki=ve.extend("--ft-typography-subtitle1-text-transform","",hi.textTransform,"inherit"),Ii=ve.extend("--ft-typography-subtitle2-font-family","",fi),Li=ve.extend("--ft-typography-subtitle2-font-size","",hi.fontSize,"14px"),Wi=ve.extend("--ft-typography-subtitle2-font-weight","",hi.fontWeight,"normal"),zi=ve.extend("--ft-typography-subtitle2-letter-spacing","",hi.letterSpacing,"0.098px"),Fi=ve.extend("--ft-typography-subtitle2-line-height","",hi.lineHeight,"1.7"),Ki=ve.extend("--ft-typography-subtitle2-text-transform","",hi.textTransform,"inherit"),Zi={fontFamily:ve.extend("--ft-typography-body1-font-family","",fi),fontSize:ve.extend("--ft-typography-body1-font-size","",hi.fontSize,"16px"),fontWeight:ve.extend("--ft-typography-body1-font-weight","",hi.fontWeight,"normal"),letterSpacing:ve.extend("--ft-typography-body1-letter-spacing","",hi.letterSpacing,"0.496px"),lineHeight:ve.extend("--ft-typography-body1-line-height","",hi.lineHeight,"1.5"),textTransform:ve.extend("--ft-typography-body1-text-transform","",hi.textTransform,"inherit")},Bi=ve.extend("--ft-typography-body2-font-family","",fi),Mi=ve.extend("--ft-typography-body2-font-size","",hi.fontSize,"14px"),Di=ve.extend("--ft-typography-body2-font-weight","",hi.fontWeight,"normal"),Ai=ve.extend("--ft-typography-body2-letter-spacing","",hi.letterSpacing,"0.252px"),Pi=ve.extend("--ft-typography-body2-line-height","",hi.lineHeight,"1.4"),Hi=ve.extend("--ft-typography-body2-text-transform","",hi.textTransform,"inherit"),ji={fontFamily:ve.extend("--ft-typography-caption-font-family","",fi),fontSize:ve.extend("--ft-typography-caption-font-size","",hi.fontSize,"12px"),fontWeight:ve.extend("--ft-typography-caption-font-weight","",hi.fontWeight,"normal"),letterSpacing:ve.extend("--ft-typography-caption-letter-spacing","",hi.letterSpacing,"0.396px"),lineHeight:ve.extend("--ft-typography-caption-line-height","",hi.lineHeight,"1.33"),textTransform:ve.extend("--ft-typography-caption-text-transform","",hi.textTransform,"inherit")},Ti=ve.extend("--ft-typography-breadcrumb-font-family","",fi),_i=ve.extend("--ft-typography-breadcrumb-font-size","",hi.fontSize,"10px"),Gi=ve.extend("--ft-typography-breadcrumb-font-weight","",hi.fontWeight,"normal"),Yi=ve.extend("--ft-typography-breadcrumb-letter-spacing","",hi.letterSpacing,"0.33px"),Vi=ve.extend("--ft-typography-breadcrumb-line-height","",hi.lineHeight,"1.6"),Ji=ve.extend("--ft-typography-breadcrumb-text-transform","",hi.textTransform,"inherit"),qi=ve.extend("--ft-typography-overline-font-family","",fi),Xi=ve.extend("--ft-typography-overline-font-size","",hi.fontSize,"10px"),Qi=ve.extend("--ft-typography-overline-font-weight","",hi.fontWeight,"normal"),tr=ve.extend("--ft-typography-overline-letter-spacing","",hi.letterSpacing,"1.5px"),er=ve.extend("--ft-typography-overline-line-height","",hi.lineHeight,"1.6"),or=ve.extend("--ft-typography-overline-text-transform","",hi.textTransform,"uppercase"),ir={fontFamily:ve.extend("--ft-typography-button-font-family","",fi),fontSize:ve.extend("--ft-typography-button-font-size","",hi.fontSize,"14px"),fontWeight:ve.extend("--ft-typography-button-font-weight","",hi.fontWeight,"600"),letterSpacing:ve.extend("--ft-typography-button-letter-spacing","",hi.letterSpacing,"1.246px"),lineHeight:ve.extend("--ft-typography-button-line-height","",hi.lineHeight,"1.15"),textTransform:ve.extend("--ft-typography-button-text-transform","",hi.textTransform,"uppercase")},rr=xt`
|
|
247
248
|
.ft-typography--title {
|
|
248
|
-
font-family: ${
|
|
249
|
-
font-size: ${
|
|
250
|
-
font-weight: ${
|
|
251
|
-
letter-spacing: ${
|
|
252
|
-
line-height: ${
|
|
253
|
-
text-transform: ${
|
|
254
|
-
}
|
|
255
|
-
`,
|
|
249
|
+
font-family: ${di};
|
|
250
|
+
font-size: ${ui};
|
|
251
|
+
font-weight: ${yi};
|
|
252
|
+
letter-spacing: ${gi};
|
|
253
|
+
line-height: ${bi};
|
|
254
|
+
text-transform: ${mi};
|
|
255
|
+
}
|
|
256
|
+
`,nr=xt`
|
|
256
257
|
.ft-typography--title-dense {
|
|
257
|
-
font-family: ${
|
|
258
|
-
font-size: ${
|
|
259
|
-
font-weight: ${
|
|
260
|
-
letter-spacing: ${
|
|
261
|
-
line-height: ${
|
|
262
|
-
text-transform: ${
|
|
263
|
-
}
|
|
264
|
-
`,
|
|
258
|
+
font-family: ${xi};
|
|
259
|
+
font-size: ${vi};
|
|
260
|
+
font-weight: ${Oi};
|
|
261
|
+
letter-spacing: ${Si};
|
|
262
|
+
line-height: ${Ni};
|
|
263
|
+
text-transform: ${wi};
|
|
264
|
+
}
|
|
265
|
+
`,ar=xt`
|
|
265
266
|
.ft-typography--subtitle1 {
|
|
266
|
-
font-family: ${
|
|
267
|
-
font-size: ${
|
|
268
|
-
font-weight: ${
|
|
269
|
-
letter-spacing: ${
|
|
270
|
-
line-height: ${
|
|
271
|
-
text-transform: ${
|
|
272
|
-
}
|
|
273
|
-
`,
|
|
267
|
+
font-family: ${$i};
|
|
268
|
+
font-size: ${Ci};
|
|
269
|
+
font-weight: ${Ri};
|
|
270
|
+
letter-spacing: ${Ei};
|
|
271
|
+
line-height: ${Ui};
|
|
272
|
+
text-transform: ${ki};
|
|
273
|
+
}
|
|
274
|
+
`,sr=xt`
|
|
274
275
|
.ft-typography--subtitle2 {
|
|
275
|
-
font-family: ${
|
|
276
|
-
font-size: ${
|
|
277
|
-
font-weight: ${
|
|
278
|
-
letter-spacing: ${
|
|
279
|
-
line-height: ${
|
|
280
|
-
text-transform: ${
|
|
276
|
+
font-family: ${Ii};
|
|
277
|
+
font-size: ${Li};
|
|
278
|
+
font-weight: ${Wi};
|
|
279
|
+
letter-spacing: ${zi};
|
|
280
|
+
line-height: ${Fi};
|
|
281
|
+
text-transform: ${Ki};
|
|
281
282
|
}
|
|
282
283
|
|
|
283
|
-
`,
|
|
284
|
+
`,lr=xt`
|
|
284
285
|
.ft-typography--body1 {
|
|
285
|
-
font-family: ${
|
|
286
|
-
font-size: ${
|
|
287
|
-
font-weight: ${
|
|
288
|
-
letter-spacing: ${
|
|
289
|
-
line-height: ${
|
|
290
|
-
text-transform: ${
|
|
291
|
-
}
|
|
292
|
-
`,
|
|
286
|
+
font-family: ${Zi.fontFamily};
|
|
287
|
+
font-size: ${Zi.fontSize};
|
|
288
|
+
font-weight: ${Zi.fontWeight};
|
|
289
|
+
letter-spacing: ${Zi.letterSpacing};
|
|
290
|
+
line-height: ${Zi.lineHeight};
|
|
291
|
+
text-transform: ${Zi.textTransform};
|
|
292
|
+
}
|
|
293
|
+
`,cr=xt`
|
|
293
294
|
.ft-typography--body2 {
|
|
294
|
-
font-family: ${
|
|
295
|
-
font-size: ${
|
|
296
|
-
font-weight: ${
|
|
297
|
-
letter-spacing: ${
|
|
298
|
-
line-height: ${
|
|
299
|
-
text-transform: ${
|
|
300
|
-
}
|
|
301
|
-
`,
|
|
295
|
+
font-family: ${Bi};
|
|
296
|
+
font-size: ${Mi};
|
|
297
|
+
font-weight: ${Di};
|
|
298
|
+
letter-spacing: ${Ai};
|
|
299
|
+
line-height: ${Pi};
|
|
300
|
+
text-transform: ${Hi};
|
|
301
|
+
}
|
|
302
|
+
`,pr=xt`
|
|
302
303
|
.ft-typography--caption {
|
|
303
|
-
font-family: ${
|
|
304
|
-
font-size: ${
|
|
305
|
-
font-weight: ${
|
|
306
|
-
letter-spacing: ${
|
|
307
|
-
line-height: ${
|
|
308
|
-
text-transform: ${
|
|
309
|
-
}
|
|
310
|
-
`,
|
|
304
|
+
font-family: ${ji.fontFamily};
|
|
305
|
+
font-size: ${ji.fontSize};
|
|
306
|
+
font-weight: ${ji.fontWeight};
|
|
307
|
+
letter-spacing: ${ji.letterSpacing};
|
|
308
|
+
line-height: ${ji.lineHeight};
|
|
309
|
+
text-transform: ${ji.textTransform};
|
|
310
|
+
}
|
|
311
|
+
`,fr=xt`
|
|
311
312
|
.ft-typography--breadcrumb {
|
|
312
|
-
font-family: ${
|
|
313
|
-
font-size: ${
|
|
314
|
-
font-weight: ${
|
|
315
|
-
letter-spacing: ${
|
|
316
|
-
line-height: ${
|
|
317
|
-
text-transform: ${
|
|
318
|
-
}
|
|
319
|
-
`,
|
|
313
|
+
font-family: ${Ti};
|
|
314
|
+
font-size: ${_i};
|
|
315
|
+
font-weight: ${Gi};
|
|
316
|
+
letter-spacing: ${Yi};
|
|
317
|
+
line-height: ${Vi};
|
|
318
|
+
text-transform: ${Ji};
|
|
319
|
+
}
|
|
320
|
+
`,hr=xt`
|
|
320
321
|
.ft-typography--overline {
|
|
321
|
-
font-family: ${
|
|
322
|
-
font-size: ${
|
|
323
|
-
font-weight: ${
|
|
324
|
-
letter-spacing: ${
|
|
325
|
-
line-height: ${
|
|
326
|
-
text-transform: ${
|
|
327
|
-
}
|
|
328
|
-
`,
|
|
322
|
+
font-family: ${qi};
|
|
323
|
+
font-size: ${Xi};
|
|
324
|
+
font-weight: ${Qi};
|
|
325
|
+
letter-spacing: ${tr};
|
|
326
|
+
line-height: ${er};
|
|
327
|
+
text-transform: ${or};
|
|
328
|
+
}
|
|
329
|
+
`,dr=xt`
|
|
329
330
|
.ft-typography--button {
|
|
330
|
-
font-family: ${
|
|
331
|
-
font-size: ${
|
|
332
|
-
font-weight: ${
|
|
333
|
-
letter-spacing: ${
|
|
334
|
-
line-height: ${
|
|
335
|
-
text-transform: ${
|
|
336
|
-
}
|
|
337
|
-
`,
|
|
331
|
+
font-family: ${ir.fontFamily};
|
|
332
|
+
font-size: ${ir.fontSize};
|
|
333
|
+
font-weight: ${ir.fontWeight};
|
|
334
|
+
letter-spacing: ${ir.letterSpacing};
|
|
335
|
+
line-height: ${ir.lineHeight};
|
|
336
|
+
text-transform: ${ir.textTransform};
|
|
337
|
+
}
|
|
338
|
+
`,ur=xt`
|
|
338
339
|
.ft-typography {
|
|
339
340
|
vertical-align: inherit;
|
|
340
341
|
}
|
|
341
|
-
`,
|
|
342
|
+
`,yr=[Object.keys(Ne).map((t=>function(t){const e=Ne[t];return xt`
|
|
342
343
|
.ft-typography--${mt(t)} {
|
|
343
344
|
font-family: ${e.fontFamily};
|
|
344
345
|
font-size: ${e.fontSize};
|
|
@@ -347,7 +348,7 @@ class be extends Ft{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
347
348
|
line-height: ${e.lineHeight};
|
|
348
349
|
text-transform: ${e.textCase};
|
|
349
350
|
}
|
|
350
|
-
`}(t)))],
|
|
351
|
+
`}(t)))],gr={color:ve.extend("--ft-loader-color","",Ce.colorPrimary),size:ve.create("--ft-loader-size","","SIZE","80px")},br=xt`
|
|
351
352
|
:host {
|
|
352
353
|
line-height: 0;
|
|
353
354
|
}
|
|
@@ -356,8 +357,8 @@ class be extends Ft{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
356
357
|
display: inline-block;
|
|
357
358
|
position: relative;
|
|
358
359
|
|
|
359
|
-
width: ${
|
|
360
|
-
height: ${
|
|
360
|
+
width: ${gr.size};
|
|
361
|
+
height: ${gr.size};
|
|
361
362
|
}
|
|
362
363
|
|
|
363
364
|
.ft-loader div {
|
|
@@ -366,7 +367,7 @@ class be extends Ft{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
366
367
|
width: 25%;
|
|
367
368
|
height: 25%;
|
|
368
369
|
border-radius: 50%;
|
|
369
|
-
background: ${
|
|
370
|
+
background: ${gr.color};
|
|
370
371
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
371
372
|
}
|
|
372
373
|
|
|
@@ -413,10 +414,10 @@ class be extends Ft{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
413
414
|
transform: translate(0, 0);
|
|
414
415
|
}
|
|
415
416
|
100% {
|
|
416
|
-
transform: translate(calc(0.35 * ${
|
|
417
|
+
transform: translate(calc(0.35 * ${gr.size}), 0);
|
|
417
418
|
}
|
|
418
419
|
}
|
|
419
|
-
`,
|
|
420
|
+
`,mr={size:ve.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:ve.extend("--ft-icon-fluid-topics-font-family","",ve.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:ve.extend("--ft-icon-file-format-font-family","",ve.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:ve.extend("--ft-icon-material-font-family","",ve.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:ve.create("--ft-icon-vertical-align","","UNKNOWN","unset")},xr=xt`
|
|
420
421
|
:host, i.ft-icon {
|
|
421
422
|
display: inline-flex;
|
|
422
423
|
align-items: center;
|
|
@@ -425,14 +426,14 @@ class be extends Ft{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
425
426
|
}
|
|
426
427
|
|
|
427
428
|
:host {
|
|
428
|
-
width: ${
|
|
429
|
-
height: ${
|
|
429
|
+
width: ${mr.size};
|
|
430
|
+
height: ${mr.size};
|
|
430
431
|
}
|
|
431
432
|
|
|
432
433
|
i.ft-icon {
|
|
433
434
|
width: 100%;
|
|
434
435
|
height: 100%;
|
|
435
|
-
font-size: ${
|
|
436
|
+
font-size: ${mr.size};
|
|
436
437
|
line-height: 1;
|
|
437
438
|
font-weight: normal;
|
|
438
439
|
text-transform: none;
|
|
@@ -443,28 +444,28 @@ class be extends Ft{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
443
444
|
text-rendering: auto;
|
|
444
445
|
-webkit-font-smoothing: antialiased;
|
|
445
446
|
-moz-osx-font-smoothing: grayscale;
|
|
446
|
-
vertical-align: ${
|
|
447
|
+
vertical-align: ${mr.verticalAlign};
|
|
447
448
|
}
|
|
448
449
|
|
|
449
450
|
i.ft-icon.ft-icon--fluid-topics {
|
|
450
|
-
font-family: ${
|
|
451
|
+
font-family: ${mr.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
451
452
|
|
|
452
453
|
/* Ugly fix because font is broken */
|
|
453
|
-
font-size: calc(0.75 * ${
|
|
454
|
-
line-height: ${
|
|
454
|
+
font-size: calc(0.75 * ${mr.size});
|
|
455
|
+
line-height: ${mr.size};
|
|
455
456
|
position: relative;
|
|
456
457
|
top: -4%;
|
|
457
458
|
justify-content: center;
|
|
458
459
|
}
|
|
459
460
|
|
|
460
461
|
.ft-icon--file-format {
|
|
461
|
-
font-family: ${
|
|
462
|
+
font-family: ${mr.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
462
463
|
}
|
|
463
464
|
|
|
464
465
|
.ft-icon--material {
|
|
465
|
-
font-family: ${
|
|
466
|
+
font-family: ${mr.materialFontFamily}, "Material Icons", sans-serif;
|
|
466
467
|
}
|
|
467
|
-
`,
|
|
468
|
+
`,vr=ve.extend("--ft-button-color","",Ce.colorPrimary),Or={backgroundColor:ve.extend("--ft-button-background-color","",Ce.colorSurface),borderRadius:ve.extend("--ft-button-border-radius","",Ce.borderRadiusL),color:vr,fontSize:ve.extend("--ft-button-font-size","",ir.fontSize),iconSize:ve.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:ve.extend("--ft-button-ripple-color","",vr),verticalPadding:ve.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:ve.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:ve.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:ve.external(Ce.colorOpacityDisabled,"Design system")},Sr=ve.extend("--ft-button-primary-color","",ve.extend("--ft-button-color","",Ce.colorOnPrimary)),Nr={backgroundColor:ve.extend("--ft-button-primary-background-color","",ve.extend("--ft-button-background-color","",Ce.colorPrimary)),color:Sr,rippleColor:ve.extend("--ft-button-primary-ripple-color","",Sr)},wr=ve.extend("--ft-button-dense-border-radius","",ve.extend("--ft-button-border-radius","",Ce.borderRadiusM)),$r=ve.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Cr=ve.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Rr=ve.create("--ft-button-dense-icon-padding","","SIZE","4px"),Er=[xt`
|
|
468
469
|
:host {
|
|
469
470
|
display: inline-block;
|
|
470
471
|
max-width: 100%;
|
|
@@ -475,7 +476,7 @@ class be extends Ft{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
475
476
|
box-shadow: 0px 0px 0px transparent;
|
|
476
477
|
border: 0px solid transparent;
|
|
477
478
|
text-shadow: 0px 0px 0px transparent;
|
|
478
|
-
font-size: ${
|
|
479
|
+
font-size: ${Or.fontSize};
|
|
479
480
|
}
|
|
480
481
|
|
|
481
482
|
button:hover {
|
|
@@ -504,31 +505,31 @@ class be extends Ft{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
504
505
|
border: none;
|
|
505
506
|
pointer-events: auto;
|
|
506
507
|
|
|
507
|
-
--ft-button-internal-line-height: max(calc(${
|
|
508
|
-
--ft-button-internal-color: ${
|
|
509
|
-
${Oe(
|
|
510
|
-
${Oe(
|
|
508
|
+
--ft-button-internal-line-height: max(calc(${Or.fontSize} + 2px), ${Or.iconSize});
|
|
509
|
+
--ft-button-internal-color: ${Or.color};
|
|
510
|
+
${Oe(mr.size,Or.iconSize)};
|
|
511
|
+
${Oe(oi.color,Or.rippleColor)};
|
|
511
512
|
|
|
512
|
-
border-radius: ${
|
|
513
|
-
padding: ${
|
|
514
|
-
background-color: ${
|
|
513
|
+
border-radius: ${Or.borderRadius};
|
|
514
|
+
padding: ${Or.verticalPadding} ${Or.horizontalPadding};
|
|
515
|
+
background-color: ${Or.backgroundColor};
|
|
515
516
|
color: var(--ft-button-internal-color);
|
|
516
517
|
-webkit-mask-image: radial-gradient(white, black);
|
|
517
518
|
}
|
|
518
519
|
|
|
519
520
|
.ft-button.ft-button--outlined {
|
|
520
521
|
border: 1px solid var(--ft-button-internal-color);
|
|
521
|
-
padding: calc(${
|
|
522
|
+
padding: calc(${Or.verticalPadding} - 1px) calc(${Or.horizontalPadding} - 1px);
|
|
522
523
|
}
|
|
523
524
|
|
|
524
525
|
.ft-button.ft-button--dense {
|
|
525
|
-
padding: ${
|
|
526
|
-
border-radius: ${
|
|
527
|
-
gap: ${
|
|
526
|
+
padding: ${$r} ${Cr};
|
|
527
|
+
border-radius: ${wr};
|
|
528
|
+
gap: ${Rr};
|
|
528
529
|
}
|
|
529
530
|
|
|
530
531
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
531
|
-
padding: calc(${
|
|
532
|
+
padding: calc(${$r} - 1px) calc(${Cr} - 1px);
|
|
532
533
|
}
|
|
533
534
|
|
|
534
535
|
.ft-button:not([disabled]):hover {
|
|
@@ -536,22 +537,22 @@ class be extends Ft{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
536
537
|
}
|
|
537
538
|
|
|
538
539
|
.ft-button--round {
|
|
539
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
540
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Or.verticalPadding});
|
|
540
541
|
}
|
|
541
542
|
|
|
542
543
|
.ft-button--round.ft-button--dense {
|
|
543
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
544
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${$r});
|
|
544
545
|
}
|
|
545
546
|
|
|
546
547
|
.ft-button[disabled] {
|
|
547
548
|
filter: grayscale(1);
|
|
548
|
-
opacity: ${
|
|
549
|
+
opacity: ${Or.opacityDisabled};
|
|
549
550
|
}
|
|
550
551
|
|
|
551
552
|
.ft-button.ft-button--primary {
|
|
552
|
-
background-color: ${
|
|
553
|
-
--ft-button-internal-color: ${
|
|
554
|
-
${Oe(
|
|
553
|
+
background-color: ${Nr.backgroundColor};
|
|
554
|
+
--ft-button-internal-color: ${Nr.color};
|
|
555
|
+
${Oe(oi.color,Nr.rippleColor)};
|
|
555
556
|
}
|
|
556
557
|
|
|
557
558
|
.ft-button:focus {
|
|
@@ -564,13 +565,13 @@ class be extends Ft{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
564
565
|
white-space: nowrap;
|
|
565
566
|
text-overflow: ellipsis;
|
|
566
567
|
display: block;
|
|
567
|
-
margin: 0 ${
|
|
568
|
-
${Oe(
|
|
569
|
-
${Oe(
|
|
568
|
+
margin: 0 ${Or.iconPadding};
|
|
569
|
+
${Oe(ir.fontSize,"1em")};
|
|
570
|
+
${Oe(ir.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
570
571
|
}
|
|
571
572
|
|
|
572
573
|
.ft-button--dense .ft-button--label {
|
|
573
|
-
margin: 0 ${
|
|
574
|
+
margin: 0 ${Rr};
|
|
574
575
|
}
|
|
575
576
|
|
|
576
577
|
.ft-button--label[hidden] {
|
|
@@ -583,13 +584,13 @@ class be extends Ft{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
583
584
|
}
|
|
584
585
|
|
|
585
586
|
.ft-button--label[hidden] + ft-icon {
|
|
586
|
-
margin: 0 calc(${
|
|
587
|
-
padding: 0 ${
|
|
587
|
+
margin: 0 calc(${Or.horizontalPadding} * -1);
|
|
588
|
+
padding: 0 ${Or.verticalPadding};
|
|
588
589
|
}
|
|
589
590
|
|
|
590
591
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
591
|
-
margin: 0 calc(${
|
|
592
|
-
padding: 0 ${
|
|
592
|
+
margin: 0 calc(${Cr} * -1);
|
|
593
|
+
padding: 0 ${$r};
|
|
593
594
|
}
|
|
594
595
|
|
|
595
596
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -598,39 +599,39 @@ class be extends Ft{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
598
599
|
}
|
|
599
600
|
|
|
600
601
|
ft-loader {
|
|
601
|
-
${Oe(
|
|
602
|
-
${Oe(
|
|
602
|
+
${Oe(gr.size,Or.iconSize)};
|
|
603
|
+
${Oe(gr.color,"var(--ft-button-internal-color)")};
|
|
603
604
|
}
|
|
604
|
-
`,
|
|
605
|
+
`,Mo],Ur=1,kr=2,Ir=t=>(...e)=>({_$litDirective$:t,values:e});let Lr=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
|
605
606
|
/**
|
|
606
607
|
* @license
|
|
607
608
|
* Copyright 2018 Google LLC
|
|
608
609
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
609
|
-
*/const
|
|
610
|
+
*/const Wr=Ir(class extends Lr{constructor(t){if(super(t),t.type!==Ur||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return Q}});var zr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Fr extends Zo{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 e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return ee`
|
|
610
611
|
<style>
|
|
611
612
|
.ft-ripple .ft-ripple--effect {
|
|
612
613
|
left: ${this.originX}px;
|
|
613
614
|
top: ${this.originY}px;
|
|
614
615
|
}
|
|
615
616
|
</style>
|
|
616
|
-
<div class="${
|
|
617
|
+
<div class="${Wr(t)}">
|
|
617
618
|
<div class="ft-ripple--background"></div>
|
|
618
619
|
<div class="ft-ripple--effect"></div>
|
|
619
620
|
</div>
|
|
620
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}
|
|
621
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Fr.elementDefinitions={},Fr.styles=ci,zr([$({type:Boolean})],Fr.prototype,"primary",void 0),zr([$({type:Boolean})],Fr.prototype,"secondary",void 0),zr([$({type:Boolean})],Fr.prototype,"unbounded",void 0),zr([$({type:Boolean})],Fr.prototype,"activated",void 0),zr([$({type:Boolean})],Fr.prototype,"selected",void 0),zr([$({type:Boolean})],Fr.prototype,"disabled",void 0),zr([C()],Fr.prototype,"hovered",void 0),zr([C()],Fr.prototype,"focused",void 0),zr([C()],Fr.prototype,"pressed",void 0),zr([C()],Fr.prototype,"rippling",void 0),zr([C()],Fr.prototype,"originX",void 0),zr([C()],Fr.prototype,"originY",void 0),zr([U(".ft-ripple")],Fr.prototype,"ripple",void 0),zr([U(".ft-ripple--effect")],Fr.prototype,"rippleEffect",void 0),I("ft-ripple")(Fr);
|
|
621
622
|
/**
|
|
622
623
|
* @license
|
|
623
624
|
* Copyright 2020 Google LLC
|
|
624
625
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
625
626
|
*/
|
|
626
|
-
const
|
|
627
|
-
<${
|
|
627
|
+
const Kr=Symbol.for(""),Zr=t=>{if(t?.r===Kr)return t?._$litStatic$},Br=t=>({_$litStatic$:t,r:Kr}),Mr=new Map,Dr=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=Zr(n));)l+=r+e[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),p){const t=a.join("$$lit$$");void 0===(e=Mr.get(t))&&(a.raw=a,Mr.set(t,e=a)),o=s}return t(e,...o)})(X);var Ar;!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"}(Ar||(Ar={}));var Pr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Hr extends Zo{constructor(){super(...arguments),this.variant=Ar.body1}render(){return this.element?Dr`
|
|
628
|
+
<${Br(this.element)}
|
|
628
629
|
class="ft-typography ft-typography--${this.variant}">
|
|
629
630
|
<slot></slot>
|
|
630
|
-
</${
|
|
631
|
-
`:
|
|
631
|
+
</${Br(this.element)}>
|
|
632
|
+
`:Dr`
|
|
632
633
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
633
|
-
`}}
|
|
634
|
+
`}}Hr.styles=[rr,nr,ar,sr,lr,cr,pr,fr,hr,dr,ur,...yr],Pr([$()],Hr.prototype,"element",void 0),Pr([$()],Hr.prototype,"variant",void 0),I("ft-typography")(Hr);const jr=ve.create("--ft-tooltip-distance","","SIZE","4px"),Tr=ve.create("--ft-tooltip-color","","COLOR","#FFFFFF"),_r=ve.create("--ft-tooltip-background-color","","COLOR","#666666"),Gr=ve.create("--ft-tooltip-z-index","","NUMBER","100"),Yr=ve.external(Ce.borderRadiusS,"Design system"),Vr=ve.create("--ft-tooltip-max-width","","SIZE","150px"),Jr=xt`
|
|
634
635
|
.ft-tooltip--container {
|
|
635
636
|
display: block;
|
|
636
637
|
}
|
|
@@ -645,21 +646,21 @@ const Fi=Symbol.for(""),Ki=t=>{if(t?.r===Fi)return t?._$litStatic$},Zi=t=>({_$li
|
|
|
645
646
|
box-sizing: border-box;
|
|
646
647
|
overflow: hidden;
|
|
647
648
|
width: max-content;
|
|
648
|
-
max-width: ${
|
|
649
|
+
max-width: ${Vr};
|
|
649
650
|
text-align: center;
|
|
650
|
-
padding: ${
|
|
651
|
-
z-index: ${
|
|
651
|
+
padding: ${jr};
|
|
652
|
+
z-index: ${Gr};
|
|
652
653
|
}
|
|
653
654
|
|
|
654
655
|
.ft-tooltip--content {
|
|
655
656
|
padding: 4px 8px;
|
|
656
|
-
border-radius: ${
|
|
657
|
-
background-color: ${
|
|
658
|
-
color: ${
|
|
657
|
+
border-radius: ${Yr};
|
|
658
|
+
background-color: ${_r};
|
|
659
|
+
color: ${Tr};
|
|
659
660
|
position: relative;
|
|
660
661
|
word-break: break-word;
|
|
661
662
|
}
|
|
662
|
-
`,Ji=["start","end"],qi=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Ji[0],e+"-"+Ji[1])),[]),Xi=Math.min,Qi=Math.max,tr=Math.round,er=t=>({x:t,y:t}),or={left:"right",right:"left",bottom:"top",top:"bottom"},ir={start:"end",end:"start"};function rr(t,e,o){return Qi(t,Xi(e,o))}function nr(t,e){return"function"==typeof t?t(e):t}function ar(t){return t.split("-")[0]}function sr(t){return t.split("-")[1]}function lr(t){return"x"===t?"y":"x"}function cr(t){return"y"===t?"height":"width"}function pr(t){return["top","bottom"].includes(ar(t))?"y":"x"}function fr(t){return lr(pr(t))}function hr(t){return t.replace(/left|right|bottom|top/g,(t=>or[t]))}function dr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ur(t,e,o){let{reference:i,floating:r}=t;const n=pr(e),a=fr(e),s=cr(a),l=ar(e),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(sr(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function yr(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=nr(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=dr(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=dr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function gr(t,e,o){return(t?[...o.filter((e=>sr(e)===t)),...o.filter((e=>sr(e)!==t))]:o.filter((t=>ar(t)===t))).filter((o=>!t||(sr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>ir[t]))}(o)!==o)))}const br=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:h=qi,autoAlignment:d=!0,...u}=nr(t,e),y=void 0!==f||h===qi?gr(f||null,d,h):h,g=await yr(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=sr(t),r=fr(t),n=cr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=hr(a)),[a,hr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[ar(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],S=y[b+1];if(S)return{data:{index:b+1,overflows:O},reset:{placement:S}};const N=O.map((t=>{const e=sr(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),w=N.filter((t=>t[2].slice(0,sr(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=w[0])?void 0:r[0])||N[0][0];return $!==s?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function mr(t){return Or(t)?(t.nodeName||"").toLowerCase():"#document"}function xr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function vr(t){var e;return null==(e=(Or(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Or(t){return t instanceof Node||t instanceof xr(t).Node}function Sr(t){return t instanceof Element||t instanceof xr(t).Element}function Nr(t){return t instanceof HTMLElement||t instanceof xr(t).HTMLElement}function wr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof xr(t).ShadowRoot)}function $r(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=kr(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function Cr(t){return["table","td","th"].includes(mr(t))}function Rr(t){const e=Er(),o=kr(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function Er(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ur(t){return["html","body","#document"].includes(mr(t))}function kr(t){return xr(t).getComputedStyle(t)}function Ir(t){return Sr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Lr(t){if("html"===mr(t))return t;const e=t.assignedSlot||t.parentNode||wr(t)&&t.host||vr(t);return wr(e)?e.host:e}function Wr(t){const e=Lr(t);return Ur(e)?t.ownerDocument?t.ownerDocument.body:t.body:Nr(e)&&$r(e)?e:Wr(e)}function zr(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=Wr(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=xr(r);return n?e.concat(a,a.visualViewport||[],$r(r)?r:[],a.frameElement&&o?zr(a.frameElement):[]):e.concat(r,zr(r,[],o))}function Fr(t){const e=kr(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Nr(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=tr(o)!==n||tr(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function Kr(t){return Sr(t)?t:t.contextElement}function Zr(t){const e=Kr(t);if(!Nr(e))return er(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Fr(e);let a=(n?tr(o.width):o.width)/i,s=(n?tr(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Br=er(0);function Mr(t){const e=xr(t);return Er()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Br}function Dr(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=Kr(t);let a=er(1);e&&(i?Sr(i)&&(a=Zr(i)):a=Zr(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==xr(t))&&e}(n,o,i)?Mr(n):er(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=xr(n),e=i&&Sr(i)?xr(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Zr(o),e=o.getBoundingClientRect(),i=kr(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,o=xr(o).frameElement}}return dr({width:p,height:f,x:l,y:c})}function Ar(t){return Dr(vr(t)).left+Ir(t).scrollLeft}function Pr(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=xr(t),i=vr(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=Er();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=vr(t),o=Ir(t),i=t.ownerDocument.body,r=Qi(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Qi(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+Ar(t);const s=-o.scrollTop;return"rtl"===kr(i).direction&&(a+=Qi(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(vr(t));else if(Sr(e))i=function(t,e){const o=Dr(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=Nr(t)?Zr(t):er(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=Mr(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return dr(i)}function Hr(t,e){const o=Lr(t);return!(o===e||!Sr(o)||Ur(o))&&("fixed"===kr(o).position||Hr(o,e))}function jr(t,e,o){const i=Nr(e),r=vr(e),n="fixed"===o,a=Dr(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=er(0);if(i||!i&&!n)if(("body"!==mr(e)||$r(r))&&(s=Ir(e)),i){const t=Dr(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Ar(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Tr(t,e){return Nr(t)&&"fixed"!==kr(t).position?e?e(t):t.offsetParent:null}function _r(t,e){const o=xr(t);if(!Nr(t))return o;let i=Tr(t,e);for(;i&&Cr(i)&&"static"===kr(i).position;)i=Tr(i,e);return i&&("html"===mr(i)||"body"===mr(i)&&"static"===kr(i).position&&!Rr(i))?o:i||function(t){let e=Lr(t);for(;Nr(e)&&!Ur(e);){if(Rr(e))return e;e=Lr(e)}return null}(t)||o}const Gr={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=Nr(o),n=vr(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=er(1);const l=er(0);if((r||!r&&"fixed"!==i)&&(("body"!==mr(o)||$r(n))&&(a=Ir(o)),Nr(o))){const t=Dr(o);s=Zr(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:vr,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=zr(t,[],!1).filter((t=>Sr(t)&&"body"!==mr(t))),r=null;const n="fixed"===kr(t).position;let a=n?Lr(t):t;for(;Sr(a)&&!Ur(a);){const e=kr(a),o=Rr(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||$r(a)&&!o&&Hr(t,a))?i=i.filter((t=>t!==a)):r=e,a=Lr(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=Pr(e,o,r);return t.top=Qi(i.top,t.top),t.right=Xi(i.right,t.right),t.bottom=Xi(i.bottom,t.bottom),t.left=Qi(i.left,t.left),t}),Pr(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:_r,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||_r,n=this.getDimensions;return{reference:jr(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Fr(t)},getScale:Zr,isElement:Sr,isRTL:function(t){return"rtl"===kr(t).direction}},Yr=(t,e,o)=>{const i=new Map,r={platform:Gr,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:p,y:f}=ur(c,i,l),h=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:p,y:f}=ur(c,h,l))),o=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};function Vr(t){return function(t){for(let e=t;e;e=Jr(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Jr(t);e;e=Jr(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Jr(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var qr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Xr extends Fe{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 e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ee`
|
|
663
|
+
`;var qr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Xr extends Zo{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 e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ee`
|
|
663
664
|
<div part="container"
|
|
664
665
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
665
666
|
@mouseenter=${this.onHover}
|
|
@@ -677,34 +678,34 @@ const Fi=Symbol.for(""),Ki=t=>{if(t?.r===Fi)return t?._$litStatic$},Zi=t=>({_$li
|
|
|
677
678
|
</div>
|
|
678
679
|
</div>
|
|
679
680
|
</div>
|
|
680
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){
|
|
681
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,e,o){return Co(t,e,{platform:{...$o,getOffsetParent:t=>$o.getOffsetParent(t,Ro)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:e,y:o,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Ke(i,t),c={x:e,y:o},p=await _e(t,l),f=Ae(Ze(r)),h=Me(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=Fe(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=Fe(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...t,[h]:d,[f]:u});return{...y,data:{x:y.x-e,y:y.y-o}}}}),Ye({allowedPlacements:[o]})]});var i}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Xr.elementDefinitions={"ft-typography":Hr},Xr.styles=Jr,qr([$()],Xr.prototype,"text",void 0),qr([$({type:Boolean})],Xr.prototype,"manual",void 0),qr([$({type:Boolean})],Xr.prototype,"inline",void 0),qr([$({type:Number})],Xr.prototype,"delay",void 0),qr([$()],Xr.prototype,"position",void 0),qr([function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}()],Xr.prototype,"slotNodes",void 0),qr([U(".ft-tooltip--container")],Xr.prototype,"container",void 0),qr([U(".ft-tooltip")],Xr.prototype,"tooltip",void 0),qr([U(".ft-tooltip--content")],Xr.prototype,"tooltipContent",void 0),qr([C()],Xr.prototype,"visible",void 0),qr([R({passive:!0})],Xr.prototype,"onTouch",null),qr([R({passive:!0})],Xr.prototype,"onHover",null),qr([R({passive:!0})],Xr.prototype,"onOut",null),qr([R({passive:!0})],Xr.prototype,"onClick",null),I("ft-tooltip")(Xr);
|
|
681
682
|
/**
|
|
682
683
|
* @license
|
|
683
684
|
* Copyright 2017 Google LLC
|
|
684
685
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
685
686
|
*/
|
|
686
|
-
class Qr extends
|
|
687
|
+
class Qr extends Lr{constructor(t){if(super(t),this.et=tt,t.type!==kr)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||null==t)return this.vt=void 0,this.et=t;if(t===Q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Qr.directiveName="unsafeHTML",Qr.resultType=1;const tn=Ir(Qr);var en,on,rn;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(en||(en={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(on||(on={})),new Map([...["abw"].map((t=>[t,on.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,on.AUDIO])),...["avi"].map((t=>[t,on.AVI])),...["chm","xhs"].map((t=>[t,on.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,on.CODE])),...["csv"].map((t=>[t,on.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,on.DITA])),...["epub"].map((t=>[t,on.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,on.EXCEL])),...["flac"].map((t=>[t,on.FLAC])),...["gif"].map((t=>[t,on.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,on.GZIP])),...["html","htm","xhtml"].map((t=>[t,on.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,on.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,on.JPEG])),...["json"].map((t=>[t,on.JSON])),...["m4a","m4p"].map((t=>[t,on.M4A])),...["mov","qt"].map((t=>[t,on.MOV])),...["mp3"].map((t=>[t,on.MP3])),...["mp4","m4v"].map((t=>[t,on.MP4])),...["ogg","oga"].map((t=>[t,on.OGG])),...["pdf","ps"].map((t=>[t,on.PDF])),...["png"].map((t=>[t,on.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,on.POWERPOINT])),...["rar"].map((t=>[t,on.RAR])),...["stp"].map((t=>[t,on.STP])),...["txt","rtf","md","mdown"].map((t=>[t,on.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,on.VIDEO])),...["wav"].map((t=>[t,on.WAV])),...["wma"].map((t=>[t,on.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,on.WORD])),...["xml","xsl","rdf"].map((t=>[t,on.XML])),...["yaml","yml","x-yaml"].map((t=>[t,on.YAML])),...["zip"].map((t=>[t,on.ZIP]))]),on.ABW,on.AUDIO,on.AVI,on.CHM,on.CODE,on.CSV,on.DITA,on.EPUB,on.EXCEL,on.FLAC,on.GIF,on.GZIP,on.HTML,on.IMAGE,on.JPEG,on.JSON,on.M4A,on.MOV,on.MP3,on.MP4,on.OGG,on.PDF,on.PNG,on.POWERPOINT,on.RAR,on.STP,on.TEXT,on.UNKNOWN,on.VIDEO,on.WAV,on.WMA,on.WORD,on.XML,on.YAML,on.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(rn||(rn={}));var nn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class an extends Zo{constructor(){super(...arguments),this.resolvedIcon=ie}render(){const t=this.variant&&Object.values(rn).includes(this.variant)?this.variant:rn.fluid_topics,e=t!==rn.material||!!this.value;return ee`
|
|
687
688
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
688
689
|
${tn(this.resolvedIcon)}
|
|
689
690
|
<slot ?hidden=${e}></slot>
|
|
690
691
|
</i>
|
|
691
|
-
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case rn.file_format:this.resolvedIcon=null!==(t=on[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case rn.material:this.resolvedIcon=this.value||ie;break;default:this.resolvedIcon=null!==(e=en[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}an.elementDefinitions={},an.styles=
|
|
692
|
+
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case rn.file_format:this.resolvedIcon=null!==(t=on[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case rn.material:this.resolvedIcon=this.value||ie;break;default:this.resolvedIcon=null!==(e=en[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}an.elementDefinitions={},an.styles=xr,nn([$()],an.prototype,"variant",void 0),nn([$()],an.prototype,"value",void 0),nn([C()],an.prototype,"resolvedIcon",void 0),nn([U("slot")],an.prototype,"slottedContent",void 0),I("ft-icon")(an);class sn extends Zo{render(){return ee`
|
|
692
693
|
<div class="ft-loader">
|
|
693
694
|
<div></div>
|
|
694
695
|
<div></div>
|
|
695
696
|
<div></div>
|
|
696
697
|
<div></div>
|
|
697
698
|
</div>
|
|
698
|
-
`}}sn.styles=
|
|
699
|
+
`}}sn.styles=br,I("ft-loader")(sn);var ln=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class cn extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Vo].form}constructor(...t){super(t),this[Vo]=this.attachInternals(),this[Vo].role=e}setFormValue(t){this[Vo].setFormValue(t)}}}(Zo,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(ee`
|
|
699
700
|
<button part="button"
|
|
700
|
-
class="${
|
|
701
|
+
class="${Wr(this.buttonClasses)}"
|
|
701
702
|
aria-label="${this.getLabel()}"
|
|
702
703
|
?disabled=${this.isDisabled()}>
|
|
703
704
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
704
705
|
<ft-typography part="label"
|
|
705
706
|
variant=${this.typographyVariant}
|
|
706
707
|
element="span"
|
|
707
|
-
class="ft-button--label ${
|
|
708
|
+
class="ft-button--label ${Qo?"ft-safari-ellipsis-fix":""}"
|
|
708
709
|
?hidden=${!this.hasTextContent()}>
|
|
709
710
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
710
711
|
</ft-typography>
|
|
@@ -718,7 +719,7 @@ class Qr extends Ii{constructor(t){if(super(t),this.et=tt,t.type!==Ui)throw Erro
|
|
|
718
719
|
</ft-tooltip>
|
|
719
720
|
`:t}resolveIcon(){return this.loading?ee`
|
|
720
721
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?ee`
|
|
721
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ie}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}cn.elementDefinitions={"ft-ripple":
|
|
722
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ie}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}cn.elementDefinitions={"ft-ripple":Fr,"ft-tooltip":Xr,"ft-typography":Hr,"ft-icon":an,"ft-loader":sn},ln([$({type:String,reflect:!0})],cn.prototype,"role",void 0),ln([$()],cn.prototype,"type",void 0),ln([$({type:Boolean})],cn.prototype,"disabled",void 0),ln([$()],cn.prototype,"label",void 0),ln([$()],cn.prototype,"icon",void 0),ln([$()],cn.prototype,"iconVariant",void 0),ln([$({type:Boolean})],cn.prototype,"trailingIcon",void 0),ln([$({type:Boolean})],cn.prototype,"loading",void 0),ln([$()],cn.prototype,"tooltipPosition",void 0),ln([$({type:Boolean})],cn.prototype,"hideTooltip",void 0),ln([$({type:Boolean})],cn.prototype,"forceTooltip",void 0),ln([U(".ft-button")],cn.prototype,"button",void 0),ln([U(".ft-button--label slot")],cn.prototype,"slottedContent",void 0);var pn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class fn extends cn{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"}}fn.styles=[Do,Er],pn([$({type:Boolean})],fn.prototype,"primary",void 0),pn([$({type:Boolean})],fn.prototype,"outlined",void 0),pn([$({type:Boolean})],fn.prototype,"dense",void 0),pn([$({type:Boolean})],fn.prototype,"round",void 0);const hn=[xt`
|
|
722
723
|
:host {
|
|
723
724
|
display: inline-block;
|
|
724
725
|
max-width: 100%;
|
|
@@ -797,13 +798,13 @@ class Qr extends Ii{constructor(t){if(super(t),this.et=tt,t.type!==Ui)throw Erro
|
|
|
797
798
|
/** Primary styles **/
|
|
798
799
|
|
|
799
800
|
.ft-button--primary {
|
|
800
|
-
${Oe(
|
|
801
|
+
${Oe(gr.color,$e.primaryIconColor)};
|
|
801
802
|
|
|
802
|
-
${Oe(
|
|
803
|
-
${Oe(
|
|
804
|
-
${Oe(
|
|
805
|
-
${Oe(
|
|
806
|
-
${Oe(
|
|
803
|
+
${Oe(oi.color,$e.primaryStateLayerColor)};
|
|
804
|
+
${Oe(oi.opacityContentOnSurfaceHover,$e.primaryStateLayerOpacityHover)};
|
|
805
|
+
${Oe(oi.opacityContentOnSurfaceFocused,$e.primaryStateLayerOpacityFocus)};
|
|
806
|
+
${Oe(oi.opacityContentOnSurfaceSelected,$e.primaryStateLayerOpacityActive)};
|
|
807
|
+
${Oe(oi.opacityContentOnSurfacePressed,$e.primaryStateLayerOpacityActive)};
|
|
807
808
|
|
|
808
809
|
background-color: ${$e.primaryBackgroundColor};
|
|
809
810
|
color: ${$e.primaryColor};
|
|
@@ -821,13 +822,13 @@ class Qr extends Ii{constructor(t){if(super(t),this.et=tt,t.type!==Ui)throw Erro
|
|
|
821
822
|
/** Secondary styles **/
|
|
822
823
|
|
|
823
824
|
.ft-button--secondary {
|
|
824
|
-
${Oe(
|
|
825
|
+
${Oe(gr.color,$e.secondaryIconColor)};
|
|
825
826
|
|
|
826
|
-
${Oe(
|
|
827
|
-
${Oe(
|
|
828
|
-
${Oe(
|
|
829
|
-
${Oe(
|
|
830
|
-
${Oe(
|
|
827
|
+
${Oe(oi.color,$e.secondaryStateLayerColor)};
|
|
828
|
+
${Oe(oi.opacityContentOnSurfaceHover,$e.secondaryStateLayerOpacityHover)};
|
|
829
|
+
${Oe(oi.opacityContentOnSurfaceFocused,$e.secondaryStateLayerOpacityFocus)};
|
|
830
|
+
${Oe(oi.opacityContentOnSurfaceSelected,$e.secondaryStateLayerOpacityActive)};
|
|
831
|
+
${Oe(oi.opacityContentOnSurfacePressed,$e.secondaryStateLayerOpacityActive)};
|
|
831
832
|
|
|
832
833
|
background-color: ${$e.secondaryBackgroundColor};
|
|
833
834
|
color: ${$e.secondaryColor};
|
|
@@ -846,13 +847,13 @@ class Qr extends Ii{constructor(t){if(super(t),this.et=tt,t.type!==Ui)throw Erro
|
|
|
846
847
|
/** Tertiary styles **/
|
|
847
848
|
|
|
848
849
|
.ft-button--tertiary {
|
|
849
|
-
${Oe(
|
|
850
|
+
${Oe(gr.color,$e.tertiaryIconColor)};
|
|
850
851
|
|
|
851
|
-
${Oe(
|
|
852
|
-
${Oe(
|
|
853
|
-
${Oe(
|
|
854
|
-
${Oe(
|
|
855
|
-
${Oe(
|
|
852
|
+
${Oe(oi.color,$e.tertiaryStateLayerColor)};
|
|
853
|
+
${Oe(oi.opacityContentOnSurfaceHover,$e.tertiaryStateLayerOpacityHover)};
|
|
854
|
+
${Oe(oi.opacityContentOnSurfaceFocused,$e.tertiaryStateLayerOpacityFocus)};
|
|
855
|
+
${Oe(oi.opacityContentOnSurfaceSelected,$e.tertiaryStateLayerOpacityActive)};
|
|
856
|
+
${Oe(oi.opacityContentOnSurfacePressed,$e.tertiaryStateLayerOpacityActive)};
|
|
856
857
|
|
|
857
858
|
background-color: ${$e.tertiaryBackgroundColor};
|
|
858
859
|
color: ${$e.tertiaryColor};
|
|
@@ -870,13 +871,13 @@ class Qr extends Ii{constructor(t){if(super(t),this.et=tt,t.type!==Ui)throw Erro
|
|
|
870
871
|
/** Neutral styles **/
|
|
871
872
|
|
|
872
873
|
.ft-button--neutral {
|
|
873
|
-
${Oe(
|
|
874
|
+
${Oe(gr.color,$e.neutralIconColor)};
|
|
874
875
|
|
|
875
|
-
${Oe(
|
|
876
|
-
${Oe(
|
|
877
|
-
${Oe(
|
|
878
|
-
${Oe(
|
|
879
|
-
${Oe(
|
|
876
|
+
${Oe(oi.backgroundColor,$e.neutralStateLayerColor)};
|
|
877
|
+
${Oe(oi.opacityContentOnSurfaceHover,$e.neutralStateLayerOpacityHover)};
|
|
878
|
+
${Oe(oi.opacityContentOnSurfaceFocused,$e.neutralStateLayerOpacityFocus)};
|
|
879
|
+
${Oe(oi.opacityContentOnSurfaceSelected,$e.neutralStateLayerOpacityActive)};
|
|
880
|
+
${Oe(oi.opacityContentOnSurfacePressed,$e.neutralStateLayerOpacityActive)};
|
|
880
881
|
|
|
881
882
|
background-color: ${$e.neutralBackgroundColor};
|
|
882
883
|
color: ${$e.neutralColor};
|
|
@@ -894,8 +895,8 @@ class Qr extends Ii{constructor(t){if(super(t),this.et=tt,t.type!==Ui)throw Erro
|
|
|
894
895
|
/** Large styles **/
|
|
895
896
|
|
|
896
897
|
.ft-button--large {
|
|
897
|
-
${Oe(
|
|
898
|
-
${Oe(
|
|
898
|
+
${Oe(mr.size,$e.largeIconSize)};
|
|
899
|
+
${Oe(gr.size,$e.largeIconSize)};
|
|
899
900
|
|
|
900
901
|
height: ${$e.largeHeight};
|
|
901
902
|
padding: 0 ${$e.largeHorizontalPadding};
|
|
@@ -917,8 +918,8 @@ class Qr extends Ii{constructor(t){if(super(t),this.et=tt,t.type!==Ui)throw Erro
|
|
|
917
918
|
/** Small styles **/
|
|
918
919
|
|
|
919
920
|
.ft-button--small {
|
|
920
|
-
${Oe(
|
|
921
|
-
${Oe(
|
|
921
|
+
${Oe(mr.size,$e.smallIconSize)};
|
|
922
|
+
${Oe(gr.size,$e.smallIconSize)};
|
|
922
923
|
|
|
923
924
|
height: ${$e.smallHeight};
|
|
924
925
|
padding: 0 ${$e.smallHorizontalPadding};
|
|
@@ -936,7 +937,7 @@ class Qr extends Ii{constructor(t){if(super(t),this.et=tt,t.type!==Ui)throw Erro
|
|
|
936
937
|
width: ${$e.smallIconOnlyWidth};
|
|
937
938
|
padding: unset;
|
|
938
939
|
}
|
|
939
|
-
`,
|
|
940
|
+
`,Mo];var dn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class un extends cn{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?Ar.caption1medium:Ar.body2medium}}un.styles=[Do,hn],dn([$({type:Boolean})],un.prototype,"primary",void 0),dn([$({type:Boolean})],un.prototype,"secondary",void 0),dn([$({type:Boolean})],un.prototype,"tertiary",void 0),dn([$({type:Boolean})],un.prototype,"neutral",void 0),dn([$({type:Boolean})],un.prototype,"small",void 0),I("ft-button")(fn),I("ftds-button")(un);const yn={fontSize:ve.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:ve.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:ve.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:ve.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:ve.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:ve.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:ve.extend("--ft-input-label-border-color","",Ce.colorOutline),textColor:ve.extend("--ft-input-label-text-color","",Ce.colorOnSurfaceMedium),disabledTextColor:ve.extend("--ft-input-label-disabled-text-color","",Ce.colorOnSurfaceDisabled),colorSurface:ve.external(Ce.colorSurface,"Design system"),borderRadiusS:ve.external(Ce.borderRadiusS,"Design system"),colorError:ve.external(Ce.colorError,"Design system")},gn=xt`
|
|
940
941
|
.ft-input-label {
|
|
941
942
|
position: absolute;
|
|
942
943
|
inset: 0;
|
|
@@ -987,8 +988,8 @@ class Qr extends Ii{constructor(t){if(super(t),this.et=tt,t.type!==Ui)throw Erro
|
|
|
987
988
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
988
989
|
max-width: calc(${yn.labelMaxWidth} - 2 * (${yn.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
989
990
|
text-overflow: ellipsis;
|
|
990
|
-
${Oe(
|
|
991
|
-
${Oe(
|
|
991
|
+
${Oe(ji.fontSize,yn.fontSize)};
|
|
992
|
+
${Oe(ji.lineHeight,yn.fontSize)};
|
|
992
993
|
}
|
|
993
994
|
|
|
994
995
|
.ft-input-label--in-error .ft-input-label--text {
|
|
@@ -1020,8 +1021,8 @@ class Qr extends Ii{constructor(t){if(super(t),this.et=tt,t.type!==Ui)throw Erro
|
|
|
1020
1021
|
}
|
|
1021
1022
|
|
|
1022
1023
|
.ft-input-label--raised .ft-input-label--text {
|
|
1023
|
-
${Oe(
|
|
1024
|
-
${Oe(
|
|
1024
|
+
${Oe(ji.fontSize,yn.raisedFontSize)};
|
|
1025
|
+
${Oe(ji.lineHeight,yn.raisedFontSize)};
|
|
1025
1026
|
}
|
|
1026
1027
|
|
|
1027
1028
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
@@ -1091,13 +1092,13 @@ class Qr extends Ii{constructor(t){if(super(t),this.et=tt,t.type!==Ui)throw Erro
|
|
|
1091
1092
|
overflow: hidden;
|
|
1092
1093
|
padding: 0 ${bn.horizontalSpacing};
|
|
1093
1094
|
|
|
1094
|
-
${Oe(
|
|
1095
|
-
${Oe(
|
|
1095
|
+
${Oe(Zi.fontSize,bn.fontSize)};
|
|
1096
|
+
${Oe(Zi.lineHeight,bn.fontSize)};
|
|
1096
1097
|
}
|
|
1097
1098
|
|
|
1098
1099
|
.ft-number-field--input-panel ft-ripple {
|
|
1099
|
-
${Oe(
|
|
1100
|
-
${Oe(
|
|
1100
|
+
${Oe(oi.opacityContentOnSurfaceHover,"0.08")};
|
|
1101
|
+
${Oe(oi.opacityContentOnSurfacePressed,"0.04")};
|
|
1101
1102
|
}
|
|
1102
1103
|
|
|
1103
1104
|
.ft-number-field--filled.ft-number-field--with-label .ft-number-field--input-panel {
|
|
@@ -1147,8 +1148,8 @@ class Qr extends Ii{constructor(t){if(super(t),this.et=tt,t.type!==Ui)throw Erro
|
|
|
1147
1148
|
-webkit-appearance: none;
|
|
1148
1149
|
margin: 0;
|
|
1149
1150
|
}
|
|
1150
|
-
`;var xn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class vn extends
|
|
1151
|
-
<div class="${
|
|
1151
|
+
`;var xn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class vn extends Zo{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return ee`
|
|
1152
|
+
<div class="${Wr(t)}">
|
|
1152
1153
|
${this.text?ee`
|
|
1153
1154
|
<div class="ft-input-label--text ft-typography--caption">
|
|
1154
1155
|
<span class="ft-input-label--floating-text">${this.text}</span>
|
|
@@ -1156,8 +1157,8 @@ class Qr extends Ii{constructor(t){if(super(t),this.et=tt,t.type!==Ui)throw Erro
|
|
|
1156
1157
|
</div>
|
|
1157
1158
|
`:null}
|
|
1158
1159
|
</div>
|
|
1159
|
-
`}}vn.elementDefinitions={},vn.styles=[
|
|
1160
|
-
<div class="${
|
|
1160
|
+
`}}vn.elementDefinitions={},vn.styles=[pr,gn],xn([$({type:String})],vn.prototype,"text",void 0),xn([$({type:Boolean})],vn.prototype,"raised",void 0),xn([$({type:Boolean})],vn.prototype,"outlined",void 0),xn([$({type:Boolean})],vn.prototype,"disabled",void 0),xn([$({type:Boolean})],vn.prototype,"error",void 0),I("ft-input-label")(vn);var On=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Sn extends Zo{constructor(){super(...arguments),this.outlined=!1,this.disabled=!1,this.focused=!1}render(){const t={"ft-number-field":!0,"ft-number-field--filled":!this.outlined,"ft-number-field--outlined":this.outlined,"ft-number-field--disabled":this.disabled,"ft-number-field--has-value":null!=this.value,"ft-number-field--with-label":!!this.label};return ee`
|
|
1161
|
+
<div class="${Wr(t)}">
|
|
1161
1162
|
<div class="ft-number-field--main-panel"
|
|
1162
1163
|
@focusout=${this.onMainPanelBlur}>
|
|
1163
1164
|
<ft-input-label text="${this.label}"
|
|
@@ -1183,7 +1184,7 @@ class Qr extends Ii{constructor(t){if(super(t),this.et=tt,t.type!==Ui)throw Erro
|
|
|
1183
1184
|
</div>
|
|
1184
1185
|
</div>
|
|
1185
1186
|
</div>
|
|
1186
|
-
`}update(t){super.update(t),(t.has("max")||t.has("min"))&&this.setValue(this.value)}lowerBound(t){return null!=this.min?Math.max(this.min,t):t}upperBound(t){return null!=this.max?Math.min(this.max,t):t}onChange(t){t.preventDefault(),t.stopPropagation(),this.setValue(+t.target.value)}setValue(t){let e=this.value;this.value=t;let o=null==this.value?void 0:this.lowerBound(this.upperBound(this.value));setTimeout((()=>{this.value=o,e!==o&&this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}))}onFocus(){this.focused=!0}onMainPanelBlur(){var t;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1)}}Sn.elementDefinitions={"ft-input-label":vn,"ft-ripple":
|
|
1187
|
+
`}update(t){super.update(t),(t.has("max")||t.has("min"))&&this.setValue(this.value)}lowerBound(t){return null!=this.min?Math.max(this.min,t):t}upperBound(t){return null!=this.max?Math.min(this.max,t):t}onChange(t){t.preventDefault(),t.stopPropagation(),this.setValue(+t.target.value)}setValue(t){let e=this.value;this.value=t;let o=null==this.value?void 0:this.lowerBound(this.upperBound(this.value));setTimeout((()=>{this.value=o,e!==o&&this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}))}onFocus(){this.focused=!0}onMainPanelBlur(){var t;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1)}}Sn.elementDefinitions={"ft-input-label":vn,"ft-ripple":Fr,"ft-typography":Hr},Sn.styles=mn,On([$()],Sn.prototype,"label",void 0),On([L()],Sn.prototype,"value",void 0),On([$({type:Boolean})],Sn.prototype,"outlined",void 0),On([$({type:Boolean})],Sn.prototype,"disabled",void 0),On([L()],Sn.prototype,"min",void 0),On([L()],Sn.prototype,"max",void 0),On([C()],Sn.prototype,"focused",void 0),On([U(".ft-number-field--input")],Sn.prototype,"input",void 0),On([U(".ft-number-field--main-panel")],Sn.prototype,"mainPanel",void 0),I("ft-number-field")(Sn);var Nn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class wn extends Zo{constructor(){super(...arguments),this.currentPage=1,this.nextLabel="Next",this.previousLabel="Previous"}get resolvedMaxPage(){return this.maxPage?Math.max(1,this.maxPage):this.totalItemsCount&&this.itemsPerPage?Math.ceil(Math.max(1,this.totalItemsCount)/Math.max(1,this.itemsPerPage)):1}render(){let t=this.resolvedMaxPage;return ee`
|
|
1187
1188
|
<style>
|
|
1188
1189
|
ft-number-field::part(input) {
|
|
1189
1190
|
width: ${Math.max(2,(""+t).length)}ch;
|
|
@@ -1211,4 +1212,4 @@ class Qr extends Ii{constructor(t){if(super(t),this.et=tt,t.type!==Ui)throw Erro
|
|
|
1211
1212
|
tooltipPosition="top">
|
|
1212
1213
|
</ft-button>
|
|
1213
1214
|
</div>
|
|
1214
|
-
`}onChange(t){t.stopPropagation(),this.setPage(t.detail)}setPage(t){this.currentPage=t,this.dispatchEvent(new CustomEvent("change",{detail:t}))}}wn.elementDefinitions={"ft-button":fn,"ft-number-field":Sn,"ft-typography":
|
|
1215
|
+
`}onChange(t){t.stopPropagation(),this.setPage(t.detail)}setPage(t){this.currentPage=t,this.dispatchEvent(new CustomEvent("change",{detail:t}))}}wn.elementDefinitions={"ft-button":fn,"ft-number-field":Sn,"ft-typography":Hr},wn.styles=ti,Nn([$({type:Number,reflect:!0})],wn.prototype,"currentPage",void 0),Nn([$({type:Number})],wn.prototype,"maxPage",void 0),Nn([$({type:Number})],wn.prototype,"itemsPerPage",void 0),Nn([$({type:Number})],wn.prototype,"totalItemsCount",void 0),Nn([$()],wn.prototype,"nextLabel",void 0),Nn([$()],wn.prototype,"previousLabel",void 0),I("ft-pager")(wn),t.FtPager=wn,t.FtPagerCssVariables={},t.styles=ti}({});
|