@fluid-topics/ft-filterable-table 1.1.115 → 1.1.116
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-filterable-table.light.js +534 -313
- package/build/ft-filterable-table.min.js +553 -332
- package/package.json +6 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
\f\r]`,we=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Jo=/-->/g,Qo=/>/g,
|
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),tr=/'/g,er=/"/g,ar=/^(?:script|style|textarea|title)$/i,lr=o=>(e,...r)=>({_$litType$:o,strings:e,values:r}),cr=lr(1),sr=lr(2),Ee=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),or=new WeakMap,Ft=Kt.createTreeWalker(Kt,129);function pr(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return qo!==void 0?qo.createHTML(e):e}var In=(o,e)=>{let r=o.length-1,i=[],a,l=e===2?"<svg>":"",c=we;for(let p=0;p<r;p++){let d=o[p],f,b,y=-1,E=0;for(;E<d.length&&(c.lastIndex=E,b=c.exec(d),b!==null);)E=c.lastIndex,c===we?b[1]==="!--"?c=Jo:b[1]!==void 0?c=Qo:b[2]!==void 0?(ar.test(b[2])&&(a=RegExp("</"+b[2],"g")),c=Mt):b[3]!==void 0&&(c=Mt):c===Mt?b[0]===">"?(c=a??we,y=-1):b[1]===void 0?y=-2:(y=c.lastIndex-b[2].length,f=b[1],c=b[3]===void 0?Mt:b[3]==='"'?er:tr):c===er||c===tr?c=Mt:c===Jo||c===Qo?c=we:(c=Mt,a=void 0);let O=c===Mt&&o[p+1].startsWith("/>")?" ":"";l+=c===we?d+Ln:y>=0?(i.push(f),d.slice(0,y)+rr+d.slice(y)+_t+O):d+_t+(y===-2?p:O)}return[pr(o,l+(o[r]||"<?>")+(e===2?"</svg>":"")),i]},Re=class o{constructor({strings:e,_$litType$:r},i){let a;this.parts=[];let l=0,c=0,p=e.length-1,d=this.parts,[f,b]=In(e,r);if(this.el=o.createElement(f,i),Ft.currentNode=this.el.content,r===2){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(a=Ft.nextNode())!==null&&d.length<p;){if(a.nodeType===1){if(a.hasAttributes())for(let y of a.getAttributeNames())if(y.endsWith(rr)){let E=b[c++],O=a.getAttribute(y).split(_t),z=/([.?@])?(.*)/.exec(E);d.push({type:1,index:l,name:z[2],strings:O,ctor:z[1]==="."?ho:z[1]==="?"?go:z[1]==="@"?mo:te}),a.removeAttribute(y)}else y.startsWith(_t)&&(d.push({type:6,index:l}),a.removeAttribute(y));if(ar.test(a.tagName)){let y=a.textContent.split(_t),E=y.length-1;if(E>0){a.textContent=Ze?Ze.emptyScript:"";for(let O=0;O<E;O++)a.append(y[O],Me()),Ft.nextNode(),d.push({type:2,index:++l});a.append(y[E],Me())}}}else if(a.nodeType===8)if(a.data===ir)d.push({type:2,index:l});else{let y=-1;for(;(y=a.data.indexOf(_t,y+1))!==-1;)d.push({type:7,index:l}),y+=_t.length-1}l++}}static createElement(e,r){let i=Kt.createElement("template");return i.innerHTML=e,i}};function Qt(o,e,r=o,i){if(e===Ee)return e;let a=i!==void 0?r._$Co?.[i]:r._$Cl,l=Ne(e)?void 0:e._$litDirective$;return a?.constructor!==l&&(a?._$AO?.(!1),l===void 0?a=void 0:(a=new l(o),a._$AT(o,r,i)),i!==void 0?(r._$Co??=[])[i]=a:r._$Cl=a),a!==void 0&&(e=Qt(o,a._$AS(o,e.values),a,i)),e}var uo=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:i}=this._$AD,a=(e?.creationScope??Kt).importNode(r,!0);Ft.currentNode=a;let l=Ft.nextNode(),c=0,p=0,d=i[0];for(;d!==void 0;){if(c===d.index){let f;d.type===2?f=new Fe(l,l.nextSibling,this,e):d.type===1?f=new d.ctor(l,d.name,d.strings,this,e):d.type===6&&(f=new yo(l,this,e)),this._$AV.push(f),d=i[++p]}c!==d?.index&&(l=Ft.nextNode(),c++)}return Ft.currentNode=Kt,a}p(e){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++}},Fe=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,i,a){this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=i,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Qt(this,e,r),Ne(e)?e===K||e==null||e===""?(this._$AH!==K&&this._$AR(),this._$AH=K):e!==this._$AH&&e!==Ee&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Pn(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==K&&Ne(this._$AH)?this._$AA.nextSibling.data=e:this.$(Kt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:i}=e,a=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=Re.createElement(pr(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===a)this._$AH.p(r);else{let l=new uo(a,this),c=l.u(this.options);l.p(r),this.$(c),this._$AH=l}}_$AC(e){let r=or.get(e.strings);return r===void 0&&or.set(e.strings,r=new Re(e)),r}T(e){nr(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,a=0;for(let l of e)a===r.length?r.push(i=new o(this.k(Me()),this.k(Me()),this,this.options)):i=r[a],i._$AI(l),a++;a<r.length&&(this._$AR(i&&i._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},te=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,a,l){this.type=1,this._$AH=K,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=l,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=K}_$AI(e,r=this,i,a){let l=this.strings,c=!1;if(l===void 0)e=Qt(this,e,r,0),c=!Ne(e)||e!==this._$AH&&e!==Ee,c&&(this._$AH=e);else{let p=e,d,f;for(e=l[0],d=0;d<l.length-1;d++)f=Qt(this,p[i+d],r,d),f===Ee&&(f=this._$AH[d]),c||=!Ne(f)||f!==this._$AH[d],f===K?e=K:e!==K&&(e+=(f??"")+l[d+1]),this._$AH[d]=f}c&&!a&&this.O(e)}O(e){e===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},ho=class extends te{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===K?void 0:e}},go=class extends te{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==K)}},mo=class extends te{constructor(e,r,i,a,l){super(e,r,i,a,l),this.type=5}_$AI(e,r=this){if((e=Qt(this,e,r,0)??K)===Ee)return;let i=this._$AH,a=e===K&&i!==K||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,l=e!==K&&(i===K||a);a&&this.element.removeEventListener(this.name,this,i),l&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},yo=class{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){Qt(this,e)}};var zn=bo.litHtmlPolyfillSupport;zn?.(Re,Fe),(bo.litHtmlVersions??=[]).push("3.1.0");var fr=Symbol.for(""),Wn=o=>{if(o?.r===fr)return o?._$litStatic$},xo=o=>({_$litStatic$:o,r:fr});var dr=new Map,ur=o=>(e,...r)=>{let i=r.length,a,l,c=[],p=[],d,f=0,b=!1;for(;f<i;){for(d=e[f];f<i&&(l=r[f],(a=Wn(l))!==void 0);)d+=a+e[++f],b=!0;f!==i&&p.push(l),c.push(d),f++}if(f===i&&c.push(e[i]),b){let y=c.join("$$lit$$");(e=dr.get(y))===void 0&&(c.raw=c,dr.set(y,e=c)),r=p}return o(e,...r)},So=ur(cr),ua=ur(sr);var vo=u(ut()),qr=u(R());var kt;(function(o){o.title="title",o.title_dense="title-dense",o.subtitle1="subtitle1",o.subtitle2="subtitle2",o.body1="body1",o.body2="body2",o.caption="caption",o.breadcrumb="breadcrumb",o.overline="overline",o.button="button",o.display="display",o.title1="title-1",o.title2="title-2",o.title3="title-3",o.body1regular="body-1-regular",o.body1medium="body-1-medium",o.body1semibold="body-1-semibold",o.body2regular="body-2-regular",o.body2medium="body-2-medium",o.body2semibold="body-2-semibold",o.label1medium="label-1-medium",o.label1semibold="label-1-semibold",o.label1bold="label-1-bold",o.label2medium="label-2-medium",o.label2semibold="label-2-semibold",o.label2bold="label-2-bold",o.caption1medium="caption-1-medium",o.caption1semibold="caption-1-semibold",o.caption1bold="caption-1-bold",o.caption2medium="caption-2-medium",o.caption2semibold="caption-2-semibold",o.caption2bold="caption-2-bold"})(kt||(kt={}));var mt=u(T()),m=u(R());var Et=u(T(),1),Dt=o=>typeof o=="string"?(0,Et.unsafeCSS)(o):o,t=class{static create(e,r,i,a){let l=p=>Dt(p??a),c=Et.css`var(${Dt(e)}, ${l(a)})`;return c.name=e,c.description=r,c.category=i,c.defaultValue=a,c.defaultCssValue=l,c.get=p=>Et.css`var(${Dt(e)}, ${l(p)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>a,c}static extend(e,r,i,a){let l=p=>i.get(p??a),c=Et.css`var(${Dt(e)}, ${l(a)})`;return c.name=e,c.description=r,c.category=i.category,c.fallbackVariable=i,c.defaultValue=a,c.defaultCssValue=l,c.get=p=>Et.css`var(${Dt(e)}, ${l(p)})`,c.breadcrumb=()=>[i.name,...i.breadcrumb()],c.lastResortDefaultValue=()=>a??i.lastResortDefaultValue(),c}static external(e,r){let i=l=>e.fallbackVariable?e.fallbackVariable.get(l??e.defaultValue):Dt(l??e.lastResortDefaultValue()),a=Et.css`var(${Dt(e.name)}, ${i(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=r,a.defaultCssValue=i,a.get=l=>Et.css`var(${Dt(e.name)}, ${i(l)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}};var n={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:t.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:t.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:t.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:t.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:t.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:t.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:t.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:t.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:t.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:t.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:t.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:t.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:t.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:t.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},hr={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},gr={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},mr={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},yr={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},br={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},xr={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Sr={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},vr={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Or={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Bn={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Cr={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},wr={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Nr={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Er={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Rr={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},$r={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ar={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Lr={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Pr={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ir={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},zr={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Wr={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Br={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Tr={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},_r={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},kr={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ke={display:hr,"title-1":gr,"title-2":mr,"title-3":yr,"body-1-regular":br,"body-1-medium":xr,"body-1-semibold":Sr,"body-2-regular":vr,"body-2-medium":Or,"body-2-medium-underline":Bn,"body-2-semibold":Cr,"label-1-medium":wr,"label-1-semibold":Nr,"label-1-bold":Er,"label-2-medium":Rr,"label-2-semibold":$r,"label-2-bold":Ar,"caption-1-medium":Lr,"caption-1-semibold":Pr,"caption-1-bold":Ir,"caption-2-medium":zr,"caption-2-semibold":Wr,"caption-2-bold":Br,"caption-3-medium":Tr,"caption-3-semibold":_r,"caption-3-bold":kr};var s={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",n.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",n.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",n.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",n.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",n.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",n.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",n.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",n.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",n.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",n.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",n.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",n.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",n.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",n.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",n.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",n.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",n.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",n.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
4
|
-
Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",n.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",n.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",n.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",n.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",n.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",n.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",n.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",n.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",n.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",n.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",n.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",n.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",n.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",n.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",n.colorGray80)};var h={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",n.spacing4),largeGap:t.extend("--ft-button-large-gap","",n.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",n.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",n.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:t.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:t.extend("--ft-button-medium-horizontal-padding","",n.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",n.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",n.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",n.iconSize2),mediumBorderWidth:t.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:t.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:t.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:t.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",n.spacing2),smallGap:t.extend("--ft-button-small-gap","",n.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",n.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",n.iconSize1),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:t.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:t.extend("--ft-button-x-small-icon-size","",n.iconSize1),xSmallFocusOutlineOffset:t.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:t.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:t.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:t.extend("--ft-button-round-border-radius","",n.borderRadiusPill),primaryBackgroundColor:t.extend("--ft-button-primary-background-color","",s.backgroundActionPrimary),primaryColor:t.extend("--ft-button-primary-color","",s.contentGlobalOnColor),primaryIconColor:t.extend("--ft-button-primary-icon-color","",s.contentGlobalOnColor),primaryStateLayerColor:t.extend("--ft-button-primary-state-layer-color","",s.contentGlobalOnColor),primaryHoverStateLayerOpacity:t.extend("--ft-button-primary-hover-state-layer-opacity","",n.opacity16),primaryFocusStateLayerOpacity:t.extend("--ft-button-primary-focus-state-layer-opacity","",n.opacity16),primaryActiveStateLayerOpacity:t.extend("--ft-button-primary-active-state-layer-opacity","",n.opacity24),primaryDisabledComponentOpacity:t.extend("--ft-button-primary-disabled-component-opacity","",n.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",s.borderActionFocusRing),tertiaryBackgroundColor:t.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:t.extend("--ft-button-tertiary-color","",s.contentActionPrimary),tertiaryIconColor:t.extend("--ft-button-tertiary-icon-color","",s.contentActionPrimary),tertiaryStateLayerColor:t.extend("--ft-button-tertiary-state-layer-color","",s.contentActionPrimary),tertiaryHoverStateLayerOpacity:t.extend("--ft-button-tertiary-hover-state-layer-opacity","",n.opacity8),tertiaryFocusStateLayerOpacity:t.extend("--ft-button-tertiary-focus-state-layer-opacity","",n.opacity8),tertiaryActiveStateLayerOpacity:t.extend("--ft-button-tertiary-active-state-layer-opacity","",n.opacity16),tertiaryDisabledComponentOpacity:t.extend("--ft-button-tertiary-disabled-component-opacity","",n.opacity40),secondaryBackgroundColor:t.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:t.extend("--ft-button-secondary-color","",s.contentActionPrimary),secondaryIconColor:t.extend("--ft-button-secondary-icon-color","",s.contentActionPrimary),secondaryStateLayerColor:t.extend("--ft-button-secondary-state-layer-color","",s.contentActionPrimary),secondaryHoverStateLayerOpacity:t.extend("--ft-button-secondary-hover-state-layer-opacity","",n.opacity8),secondaryFocusStateLayerOpacity:t.extend("--ft-button-secondary-focus-state-layer-opacity","",n.opacity8),secondaryActiveStateLayerOpacity:t.extend("--ft-button-secondary-active-state-layer-opacity","",n.opacity16),secondaryDisabledComponentOpacity:t.extend("--ft-button-secondary-disabled-component-opacity","",n.opacity40),secondaryBorderColor:t.extend("--ft-button-secondary-border-color","",s.borderActionPrimary),neutralBackgroundColor:t.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:t.extend("--ft-button-neutral-icon-color","",s.contentGlobalSecondary),neutralColor:t.extend("--ft-button-neutral-color","",s.contentGlobalSecondary),neutralStateLayerColor:t.extend("--ft-button-neutral-state-layer-color","",s.contentGlobalSecondary),neutralHoverStateLayerOpacity:t.extend("--ft-button-neutral-hover-state-layer-opacity","",n.opacity8),neutralFocusStateLayerOpacity:t.extend("--ft-button-neutral-focus-state-layer-opacity","",n.opacity8),neutralActiveStateLayerOpacity:t.extend("--ft-button-neutral-active-state-layer-opacity","",n.opacity16),neutralDisabledComponentOpacity:t.extend("--ft-button-neutral-disabled-component-opacity","",n.opacity40)};var Pa={neutralOffHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",n.opacity8),neutralOffFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",n.opacity8),neutralOffFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",s.borderActionFocusRing),neutralOffActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",n.opacity16),neutralOffBackgroundColor:t.extend("--ft-chip-choice-neutral-off-background-color","",s.backgroundGlobalOnSurface),neutralOffBorderColor:t.extend("--ft-chip-choice-neutral-off-border-color","",s.borderGlobalPrimary),neutralOffColor:t.extend("--ft-chip-choice-neutral-off-color","",s.contentGlobalSecondary),neutralOffStateLayerColor:t.extend("--ft-chip-choice-neutral-off-state-layer-color","",s.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",n.opacity16),neutralOnHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",n.opacity24),neutralOnFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",n.opacity24),neutralOnFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",s.borderActionFocusRing),neutralOnActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",n.opacity32),neutralOnBackgroundColor:t.extend("--ft-chip-choice-neutral-on-background-color","",s.backgroundGlobalOnSurface),neutralOnBorderColor:t.extend("--ft-chip-choice-neutral-on-border-color","",s.borderGlobalPrimary),neutralOnColor:t.extend("--ft-chip-choice-neutral-on-color","",s.contentGlobalPrimary),neutralOnIconColor:t.extend("--ft-chip-choice-neutral-on-icon-color","",s.contentGlobalPrimary),neutralOnStateLayerColor:t.extend("--ft-chip-choice-neutral-on-state-layer-color","",s.contentGlobalPrimary),largeMinHeight:t.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-choice-large-horizontal-padding","",n.spacing3),largeGap:t.extend("--ft-chip-choice-large-gap","",n.spacing1),largeBorderRadius:t.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-choice-large-icon-size","",n.iconSize3),mediumMinHeight:t.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-choice-medium-horizontal-padding","",n.spacing2),mediumGap:t.extend("--ft-chip-choice-medium-gap","",n.spacing1),mediumBorderRadius:t.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-choice-medium-icon-size","",n.iconSize2)};var Ta={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",n.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",n.spacing1),largeGap:t.extend("--ft-chip-large-gap","",n.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",n.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",n.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",n.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",n.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",n.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",n.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",n.spacing05),smallGap:t.extend("--ft-chip-small-gap","",n.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",n.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",s.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",s.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",s.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",s.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",s.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",s.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",s.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",s.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",s.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",s.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",s.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",s.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",s.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",s.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",s.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",s.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",s.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",s.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",s.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",s.borderErrorSubtle)};var Ua={brandHoverOpacity:t.extend("--ft-link-brand-hover-opacity","",n.opacity80),brandHoverColor:t.extend("--ft-link-brand-hover-color","",s.contentActionPrimary),brandFocusFocusRingColor:t.extend("--ft-link-brand-focus-focus-ring-color","",s.borderActionFocusRing),brandFocusColor:t.extend("--ft-link-brand-focus-color","",s.contentActionPrimary),brandDefaultColor:t.extend("--ft-link-brand-default-color","",s.contentActionPrimary),brandActiveColor:t.extend("--ft-link-brand-active-color","",s.contentActionPrimary),infoHoverOpacity:t.extend("--ft-link-info-hover-opacity","",n.opacity80),infoHoverColor:t.extend("--ft-link-info-hover-color","",s.contentInfoPrimary),infoFocusFocusRingColor:t.extend("--ft-link-info-focus-focus-ring-color","",s.borderActionFocusRing),infoFocusColor:t.extend("--ft-link-info-focus-color","",s.contentInfoPrimary),infoDefaultColor:t.extend("--ft-link-info-default-color","",s.contentInfoPrimary),infoActiveColor:t.extend("--ft-link-info-active-color","",s.contentInfoPrimary),neutralFocusFocusRingColor:t.extend("--ft-link-neutral-focus-focus-ring-color","",s.borderActionFocusRing),neutralFocusColor:t.extend("--ft-link-neutral-focus-color","",s.contentActionPrimary),neutralDefaultColor:t.extend("--ft-link-neutral-default-color","",s.contentGlobalPrimary),neutralHoverColor:t.extend("--ft-link-neutral-hover-color","",s.contentActionPrimary),neutralActiveColor:t.extend("--ft-link-neutral-active-color","",s.contentActionPrimary)};var Ka={iconSize:t.extend("--ft-banner-icon-size","",n.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",n.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",n.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",n.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",n.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",n.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",n.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",n.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",s.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",s.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",s.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",s.borderInfoSubtle)};var qa={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",n.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",n.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",n.borderRadiusPill),color:t.extend("--ft-badge-color","",s.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",s.contentActionPrimary)};var ol={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",n.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",n.spacing2),currentColor:t.extend("--ft-breadcrumb-current-color","",s.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-breadcrumb-previous-non-clickable-color","",s.contentGlobalSecondary),iconColor:t.extend("--ft-breadcrumb-icon-color","",s.contentGlobalSubtle)};var ll={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",n.spacing6),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",n.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",n.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",n.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",n.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",n.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",n.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",s.borderGlobalSubtle),titleColor:t.extend("--ft-page-header-title-color","",s.contentGlobalPrimary),subtitleColor:t.extend("--ft-page-header-subtitle-color","",s.contentGlobalSecondary)};var fl={smallContainerWidth:t.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:t.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",n.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",n.opacity40),shadow:t.extend("--ft-modal-shadow","",n.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",n.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",s.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",n.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",n.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",n.spacing6),containerMargin:t.extend("--ft-modal-container-margin","",n.spacing3),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",s.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",s.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",s.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-modal-header-trailing-icon-color","",s.contentGlobalSecondary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",n.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",n.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",n.spacing6),headerGap:t.extend("--ft-modal-header-gap","",n.spacing2),headerBorderBottom:t.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",n.borderRadiusM)};var yl={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",n.opacity40),shadow:t.extend("--ft-drawer-shadow","",n.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",s.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",n.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",n.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",n.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",n.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",s.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",s.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",s.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",s.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",n.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",n.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",s.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",s.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",s.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",n.spacing6),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",n.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",n.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",n.colorGray700)};var Ol={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",n.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",n.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",n.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",n.opacity40),offColor:t.extend("--ft-tabs-off-color","",s.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",s.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",s.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",n.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",n.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",n.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",n.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",n.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",n.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",n.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",n.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",n.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",n.opacity24),onColor:t.extend("--ft-tabs-on-color","",s.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",s.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",s.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",n.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",n.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",n.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",n.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",s.borderActionFocusRing)};var Rl={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",n.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",n.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",n.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",n.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",n.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",n.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",s.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",s.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",s.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",s.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",s.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",s.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",s.contentErrorIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",n.opacity40)};var Il={backgroundColor:t.extend("--ft-text-area-background-color","",n.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",s.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",s.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",s.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",s.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",s.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",s.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",n.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",n.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",n.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",n.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",n.borderRadiusM)};var _l={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",n.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",s.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",s.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",s.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",s.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",n.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",n.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",n.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",n.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",n.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",n.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",s.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",n.shadowElevation02)};var Gl={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",n.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",n.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",n.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",n.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",n.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",n.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",n.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",n.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",s.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",s.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",s.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",s.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",s.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",s.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",s.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",s.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",s.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",n.opacity40)};var Vl={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",n.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",s.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",s.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",s.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",s.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",s.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",s.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",s.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",s.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",s.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",n.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",n.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",n.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",n.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",n.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",n.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",n.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",n.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",n.borderRadiusM)};var Jl={backgroundColor:t.extend("--ft-popover-background-color","",s.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",n.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",n.spacing6),titleColor:t.extend("--ft-popover-title-color","",s.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",s.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",s.contentActionPrimary),gap:t.extend("--ft-popover-gap","",n.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",n.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",n.shadowElevation02)};var rc={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",n.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",n.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",s.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",n.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",n.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",n.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",n.spacing3),color:t.extend("--ft-collapsible-color","",s.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",s.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",s.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",s.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",n.iconSize3)};var cc={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",n.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",n.spacing1),groupGap:t.extend("--ft-switch-group-gap","",n.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",s.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",s.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",n.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",n.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",n.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",n.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",n.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",n.opacity40),offColor:t.extend("--ft-switch-off-color","",s.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",s.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",n.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",n.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",n.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",n.opacity40),onColor:t.extend("--ft-switch-on-color","",s.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",s.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",n.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",n.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",s.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",n.borderRadiusS)};var fc={color1Light:t.extend("--ft-chart-1-light","for area color charts",n.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",n.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",n.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",n.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",n.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",n.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",n.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",n.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",n.colorRed40),color5Base:t.extend("--ft-chart-5-base","",n.colorRed60),color6Light:t.extend("--ft-chart-6-light","",n.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",n.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",n.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",n.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",n.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",n.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",n.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",n.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",n.colorGray50),color10Base:t.extend("--ft-chart-10-base","",n.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",n.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",n.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",n.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",n.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",n.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",n.colorBrand200)};var yc={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",n.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",n.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",n.borderRadiusS),gap:t.extend("--ft-notice-gap","",n.spacing2),iconSize:t.extend("--ft-notice-icon-size","",n.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",s.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",s.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",s.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",s.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",s.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",s.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",s.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",s.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",s.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",s.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",s.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",s.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",s.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",s.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",s.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",s.contentSuccessIconOnly)};var Oc={color:t.extend("--ft-checkbox-color","",s.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",s.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",s.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",s.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",n.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",n.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",n.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",n.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",n.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",n.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",n.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",n.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",n.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",n.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-checkbox-gap","",n.spacing3)};var Rc={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",n.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",n.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",n.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",n.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",s.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",s.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",s.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",n.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",n.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",n.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",n.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",s.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",s.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",s.contentActionPrimary),color:t.extend("--ft-toggle-color","",s.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",s.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",n.spacing3)};var Ic={color:t.extend("--ft-radio-color","",s.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",s.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",s.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",n.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",n.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",n.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",n.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",s.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",s.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",n.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",n.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",n.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",n.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",n.spacing3)};var _c={iconSize:t.extend("--ft-notification-icon-size","",n.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",n.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",n.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",n.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",s.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",s.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",s.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",s.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",s.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",s.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",s.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",s.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",s.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",s.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",s.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",s.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",s.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",s.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",s.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",s.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",n.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",n.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",n.spacing8)};var Gc={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",n.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",n.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",n.borderRadiusS),color:t.extend("--ft-tooltip-color","",s.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",s.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",n.opacity80),shadow:t.extend("--ft-tooltip-shadow","",n.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",n.spacing05)};var Ve;(function(o){o.brand="brand",o.neutral="neutral",o.info="info",o.success="success",o.warning="warning",o.error="error"})(Ve||(Ve={}));var ee;(function(o){o.large="large",o.medium="medium",o.small="small"})(ee||(ee={}));var je=u(T());function Dr(o){let e=Ke[o];return je.css`
|
|
1
|
+
"use strict";(()=>{var wa=Object.create;var Zo=Object.defineProperty;var Na=Object.getOwnPropertyDescriptor;var Ea=Object.getOwnPropertyNames;var $a=Object.getPrototypeOf,Ra=Object.prototype.hasOwnProperty;var Jt=(o,e)=>()=>(e||o((e={exports:{}}).exports,e),e.exports);var La=(o,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ea(e))!Ra.call(o,i)&&i!==r&&Zo(o,i,{get:()=>e[i],enumerable:!(a=Na(e,i))||a.enumerable});return o};var h=(o,e,r)=>(r=o!=null?wa($a(o)):{},La(e||!o||!o.__esModule?Zo(r,"default",{value:o,enumerable:!0}):r,o));var R=Jt((ai,Mo)=>{Mo.exports=ftGlobals.wcUtils});var z=Jt((ii,Ko)=>{Ko.exports=ftGlobals.lit});var ut=Jt((li,Vo)=>{Vo.exports=ftGlobals.litDecorators});var so=Jt((ci,jo)=>{jo.exports=ftGlobals.litRepeat});var po=Jt((si,Yo)=>{Yo.exports=ftGlobals.litUnsafeHTML});var Gt=Jt((di,Xo)=>{Xo.exports=ftGlobals.litClassMap});var Oa=h(R());var ct=h(z()),Fe=h(ut()),Se=h(so()),xa=h(po()),ve=h(R());var Wo=h(R());var ze=h(z()),D=h(ut()),Bo=h(Gt()),Zn=h(so()),Te=h(R());var Jr=h(R());var bo=globalThis,Ge=bo.trustedTypes,qo=Ge?Ge.createPolicy("lit-html",{createHTML:o=>o}):void 0,rr="$lit$",Tt=`lit$${(Math.random()+"").slice(9)}$`,nr="?"+Tt,Aa=`<${nr}>`,Kt=document,Ze=()=>Kt.createComment(""),Ne=o=>o===null||typeof o!="object"&&typeof o!="function",ar=Array.isArray,Ia=o=>ar(o)||typeof o?.[Symbol.iterator]=="function",fo=`[
|
|
2
|
+
\f\r]`,we=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Jo=/-->/g,Qo=/>/g,Zt=RegExp(`>|${fo}(?:([^\\s"'>=/]+)(${fo}*=${fo}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),tr=/'/g,er=/"/g,ir=/^(?:script|style|textarea|title)$/i,lr=o=>(e,...r)=>({_$litType$:o,strings:e,values:r}),cr=lr(1),sr=lr(2),Ee=Symbol.for("lit-noChange"),V=Symbol.for("lit-nothing"),or=new WeakMap,Mt=Kt.createTreeWalker(Kt,129);function dr(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return qo!==void 0?qo.createHTML(e):e}var Pa=(o,e)=>{let r=o.length-1,a=[],i,l=e===2?"<svg>":"",s=we;for(let p=0;p<r;p++){let f=o[p],y,S,x=-1,$=0;for(;$<f.length&&(s.lastIndex=$,S=s.exec(f),S!==null);)$=s.lastIndex,s===we?S[1]==="!--"?s=Jo:S[1]!==void 0?s=Qo:S[2]!==void 0?(ir.test(S[2])&&(i=RegExp("</"+S[2],"g")),s=Zt):S[3]!==void 0&&(s=Zt):s===Zt?S[0]===">"?(s=i??we,x=-1):S[1]===void 0?x=-2:(x=s.lastIndex-S[2].length,y=S[1],s=S[3]===void 0?Zt:S[3]==='"'?er:tr):s===er||s===tr?s=Zt:s===Jo||s===Qo?s=we:(s=Zt,i=void 0);let w=s===Zt&&o[p+1].startsWith("/>")?" ":"";l+=s===we?f+Aa:x>=0?(a.push(y),f.slice(0,x)+rr+f.slice(x)+Tt+w):f+Tt+(x===-2?p:w)}return[dr(o,l+(o[r]||"<?>")+(e===2?"</svg>":"")),a]},$e=class o{constructor({strings:e,_$litType$:r},a){let i;this.parts=[];let l=0,s=0,p=e.length-1,f=this.parts,[y,S]=Pa(e,r);if(this.el=o.createElement(y,a),Mt.currentNode=this.el.content,r===2){let x=this.el.content.firstChild;x.replaceWith(...x.childNodes)}for(;(i=Mt.nextNode())!==null&&f.length<p;){if(i.nodeType===1){if(i.hasAttributes())for(let x of i.getAttributeNames())if(x.endsWith(rr)){let $=S[s++],w=i.getAttribute(x).split(Tt),B=/([.?@])?(.*)/.exec($);f.push({type:1,index:l,name:B[2],strings:w,ctor:B[1]==="."?yo:B[1]==="?"?go:B[1]==="@"?ho:te}),i.removeAttribute(x)}else x.startsWith(Tt)&&(f.push({type:6,index:l}),i.removeAttribute(x));if(ir.test(i.tagName)){let x=i.textContent.split(Tt),$=x.length-1;if($>0){i.textContent=Ge?Ge.emptyScript:"";for(let w=0;w<$;w++)i.append(x[w],Ze()),Mt.nextNode(),f.push({type:2,index:++l});i.append(x[$],Ze())}}}else if(i.nodeType===8)if(i.data===nr)f.push({type:2,index:l});else{let x=-1;for(;(x=i.data.indexOf(Tt,x+1))!==-1;)f.push({type:7,index:l}),x+=Tt.length-1}l++}}static createElement(e,r){let a=Kt.createElement("template");return a.innerHTML=e,a}};function Qt(o,e,r=o,a){if(e===Ee)return e;let i=a!==void 0?r._$Co?.[a]:r._$Cl,l=Ne(e)?void 0:e._$litDirective$;return i?.constructor!==l&&(i?._$AO?.(!1),l===void 0?i=void 0:(i=new l(o),i._$AT(o,r,a)),a!==void 0?(r._$Co??=[])[a]=i:r._$Cl=i),i!==void 0&&(e=Qt(o,i._$AS(o,e.values),i,a)),e}var uo=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:a}=this._$AD,i=(e?.creationScope??Kt).importNode(r,!0);Mt.currentNode=i;let l=Mt.nextNode(),s=0,p=0,f=a[0];for(;f!==void 0;){if(s===f.index){let y;f.type===2?y=new Me(l,l.nextSibling,this,e):f.type===1?y=new f.ctor(l,f.name,f.strings,this,e):f.type===6&&(y=new mo(l,this,e)),this._$AV.push(y),f=a[++p]}s!==f?.index&&(l=Mt.nextNode(),s++)}return Mt.currentNode=Kt,i}p(e){let r=0;for(let a of this._$AV)a!==void 0&&(a.strings!==void 0?(a._$AI(e,a,r),r+=a.strings.length-2):a._$AI(e[r])),r++}},Me=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,a,i){this.type=2,this._$AH=V,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=a,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Qt(this,e,r),Ne(e)?e===V||e==null||e===""?(this._$AH!==V&&this._$AR(),this._$AH=V):e!==this._$AH&&e!==Ee&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Ia(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==V&&Ne(this._$AH)?this._$AA.nextSibling.data=e:this.$(Kt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:a}=e,i=typeof a=="number"?this._$AC(e):(a.el===void 0&&(a.el=$e.createElement(dr(a.h,a.h[0]),this.options)),a);if(this._$AH?._$AD===i)this._$AH.p(r);else{let l=new uo(i,this),s=l.u(this.options);l.p(r),this.$(s),this._$AH=l}}_$AC(e){let r=or.get(e.strings);return r===void 0&&or.set(e.strings,r=new $e(e)),r}T(e){ar(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,a,i=0;for(let l of e)i===r.length?r.push(a=new o(this.k(Ze()),this.k(Ze()),this,this.options)):a=r[i],a._$AI(l),i++;i<r.length&&(this._$AR(a&&a._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let a=e.nextSibling;e.remove(),e=a}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},te=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,a,i,l){this.type=1,this._$AH=V,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=l,a.length>2||a[0]!==""||a[1]!==""?(this._$AH=Array(a.length-1).fill(new String),this.strings=a):this._$AH=V}_$AI(e,r=this,a,i){let l=this.strings,s=!1;if(l===void 0)e=Qt(this,e,r,0),s=!Ne(e)||e!==this._$AH&&e!==Ee,s&&(this._$AH=e);else{let p=e,f,y;for(e=l[0],f=0;f<l.length-1;f++)y=Qt(this,p[a+f],r,f),y===Ee&&(y=this._$AH[f]),s||=!Ne(y)||y!==this._$AH[f],y===V?e=V:e!==V&&(e+=(y??"")+l[f+1]),this._$AH[f]=y}s&&!i&&this.O(e)}O(e){e===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},yo=class extends te{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===V?void 0:e}},go=class extends te{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==V)}},ho=class extends te{constructor(e,r,a,i,l){super(e,r,a,i,l),this.type=5}_$AI(e,r=this){if((e=Qt(this,e,r,0)??V)===Ee)return;let a=this._$AH,i=e===V&&a!==V||e.capture!==a.capture||e.once!==a.once||e.passive!==a.passive,l=e!==V&&(a===V||i);i&&this.element.removeEventListener(this.name,this,a),l&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},mo=class{constructor(e,r,a){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=a}get _$AU(){return this._$AM._$AU}_$AI(e){Qt(this,e)}};var Ba=bo.litHtmlPolyfillSupport;Ba?.($e,Me),(bo.litHtmlVersions??=[]).push("3.1.0");var fr=Symbol.for(""),Wa=o=>{if(o?.r===fr)return o?._$litStatic$},xo=o=>({_$litStatic$:o,r:fr});var pr=new Map,ur=o=>(e,...r)=>{let a=r.length,i,l,s=[],p=[],f,y=0,S=!1;for(;y<a;){for(f=e[y];y<a&&(l=r[y],(i=Wa(l))!==void 0);)f+=i+e[++y],S=!0;y!==a&&p.push(l),s.push(f),y++}if(y===a&&s.push(e[a]),S){let x=s.join("$$lit$$");(e=pr.get(x))===void 0&&(s.raw=s,pr.set(x,e=s)),r=p}return o(e,...r)},So=ur(cr),ui=ur(sr);var Oo=h(ut()),qr=h(R());var _t;(function(o){o.title="title",o.title_dense="title-dense",o.subtitle1="subtitle1",o.subtitle2="subtitle2",o.body1="body1",o.body2="body2",o.caption="caption",o.breadcrumb="breadcrumb",o.overline="overline",o.button="button",o.display="display",o.title1="title-1",o.title2="title-2",o.title3="title-3",o.body1regular="body-1-regular",o.body1medium="body-1-medium",o.body1semibold="body-1-semibold",o.body2regular="body-2-regular",o.body2medium="body-2-medium",o.body2semibold="body-2-semibold",o.label1medium="label-1-medium",o.label1semibold="label-1-semibold",o.label1bold="label-1-bold",o.label2medium="label-2-medium",o.label2semibold="label-2-semibold",o.label2bold="label-2-bold",o.caption1medium="caption-1-medium",o.caption1semibold="caption-1-semibold",o.caption1bold="caption-1-bold",o.caption2medium="caption-2-medium",o.caption2semibold="caption-2-semibold",o.caption2bold="caption-2-bold"})(_t||(_t={}));var ht=h(z()),b=h(R());var Et=h(z(),1),Dt=o=>typeof o=="string"?(0,Et.unsafeCSS)(o):o,t=class{static create(e,r,a,i){let l=p=>Dt(p??i),s=Et.css`var(${Dt(e)}, ${l(i)})`;return s.name=e,s.description=r,s.category=a,s.defaultValue=i,s.defaultCssValue=l,s.get=p=>Et.css`var(${Dt(e)}, ${l(p)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,a,i){let l=p=>a.get(p??i),s=Et.css`var(${Dt(e)}, ${l(i)})`;return s.name=e,s.description=r,s.category=a.category,s.fallbackVariable=a,s.defaultValue=i,s.defaultCssValue=l,s.get=p=>Et.css`var(${Dt(e)}, ${l(p)})`,s.breadcrumb=()=>[a.name,...a.breadcrumb()],s.lastResortDefaultValue=()=>i??a.lastResortDefaultValue(),s}static external(e,r){let a=l=>e.fallbackVariable?e.fallbackVariable.get(l??e.defaultValue):Dt(l??e.lastResortDefaultValue()),i=Et.css`var(${Dt(e.name)}, ${a(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=a,i.get=l=>Et.css`var(${Dt(e.name)}, ${a(l)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};var n={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:t.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:t.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:t.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:t.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:t.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:t.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:t.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:t.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:t.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:t.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:t.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:t.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:t.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:t.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},yr={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},gr={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},hr={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},mr={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},br={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},xr={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Sr={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Or={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},vr={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},ka={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Cr={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},wr={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Nr={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Er={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},$r={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Rr={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Lr={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Ar={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ir={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Pr={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Br={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Wr={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},kr={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},zr={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Tr={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},_r={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ke={display:yr,"title-1":gr,"title-2":hr,"title-3":mr,"body-1-regular":br,"body-1-medium":xr,"body-1-semibold":Sr,"body-2-regular":Or,"body-2-medium":vr,"body-2-medium-underline":ka,"body-2-semibold":Cr,"label-1-medium":wr,"label-1-semibold":Nr,"label-1-bold":Er,"label-2-medium":$r,"label-2-semibold":Rr,"label-2-bold":Lr,"caption-1-medium":Ar,"caption-1-semibold":Ir,"caption-1-bold":Pr,"caption-2-medium":Br,"caption-2-semibold":Wr,"caption-2-bold":kr,"caption-3-medium":zr,"caption-3-semibold":Tr,"caption-3-bold":_r};var c={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",n.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",n.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",n.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",n.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",n.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",n.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",n.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",n.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",n.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",n.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",n.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",n.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",n.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",n.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",n.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",n.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",n.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",n.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
4
|
+
Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",n.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",n.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",n.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",n.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",n.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",n.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",n.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",n.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",n.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",n.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",n.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",n.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",n.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",n.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",n.colorGray80),borderNeutralPrimary:t.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",n.colorGray200)};var d={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",n.spacing4),largeGap:t.extend("--ft-button-large-gap","",n.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",n.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",n.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:t.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:t.extend("--ft-button-medium-horizontal-padding","",n.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",n.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",n.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",n.iconSize2),mediumBorderWidth:t.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:t.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:t.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:t.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",n.spacing2),smallGap:t.extend("--ft-button-small-gap","",n.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",n.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",n.iconSize1),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:t.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:t.extend("--ft-button-x-small-icon-size","",n.iconSize1),xSmallFocusOutlineOffset:t.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:t.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:t.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:t.extend("--ft-button-round-border-radius","",n.borderRadiusPill),primaryBrandBackgroundColor:t.extend("--ft-button-primary-brand-background-color","",c.backgroundActionPrimary),primaryBrandColor:t.extend("--ft-button-primary-brand-color","",c.contentGlobalOnColor),primaryBrandIconColor:t.extend("--ft-button-primary-brand-icon-color","",c.contentGlobalOnColor),primaryBrandStateLayerColor:t.extend("--ft-button-primary-brand-state-layer-color","",c.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:t.extend("--ft-button-primary-brand-hover-state-layer-opacity","",n.opacity16),primaryBrandFocusStateLayerOpacity:t.extend("--ft-button-primary-brand-focus-state-layer-opacity","",n.opacity16),primaryBrandActiveStateLayerOpacity:t.extend("--ft-button-primary-brand-active-state-layer-opacity","",n.opacity24),primaryBrandDisabledComponentOpacity:t.extend("--ft-button-primary-brand-disabled-component-opacity","",n.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",c.borderActionFocusRing),tertiaryBrandBackgroundColor:t.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:t.extend("--ft-button-tertiary-brand-color","",c.contentActionPrimary),tertiaryBrandIconColor:t.extend("--ft-button-tertiary-brand-icon-color","",c.contentActionPrimary),tertiaryBrandStateLayerColor:t.extend("--ft-button-tertiary-brand-state-layer-color","",c.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:t.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",n.opacity8),tertiaryBrandFocusStateLayerOpacity:t.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",n.opacity8),tertiaryBrandActiveStateLayerOpacity:t.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",n.opacity16),tertiaryBrandDisabledComponentOpacity:t.extend("--ft-button-tertiary-brand-disabled-component-opacity","",n.opacity40),tertiaryInfoBackgroundColor:t.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:t.extend("--ft-button-tertiary-info-color","",c.contentInfoPrimary),tertiaryInfoIconColor:t.extend("--ft-button-tertiary-info-icon-color","",c.contentInfoPrimary),tertiaryInfoStateLayerColor:t.extend("--ft-button-tertiary-info-state-layer-color","",c.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:t.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",n.opacity8),tertiaryInfoHoverStateLayerOpacity:t.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",n.opacity8),tertiaryInfoActiveStateLayerOpacity:t.extend("--ft-button-tertiary-info-active-state-layer-opacity","",n.opacity16),tertiaryInfoDisabledComponentOpacity:t.extend("--ft-button-tertiary-info-disabled-component-opacity","",n.opacity40),tertiarySuccessBackgroundColor:t.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:t.extend("--ft-button-tertiary-success-color","",c.contentSuccessPrimary),tertiarySuccessIconColor:t.extend("--ft-button-tertiary-success-icon-color","",c.contentSuccessPrimary),tertiarySuccessStateLayerColor:t.extend("--ft-button-tertiary-success-state-layer-color","",c.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:t.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",n.opacity8),tertiarySuccessFocusStateLayerOpacity:t.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",n.opacity8),tertiarySuccessActiveStateLayerOpacity:t.extend("--ft-button-tertiary-success-active-state-layer-opacity","",n.opacity16),tertiarySuccessDisabledComponentOpacity:t.extend("--ft-button-tertiary-success-disabled-component-opacity","",n.opacity40),tertiaryWarningBackgroundColor:t.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:t.extend("--ft-button-tertiary-warning-color","",c.contentWarningPrimary),tertiaryWarningIconColor:t.extend("--ft-button-tertiary-warning-icon-color","",c.contentWarningPrimary),tertiaryWarningStateLayerColor:t.extend("--ft-button-tertiary-warning-state-layer-color","",c.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:t.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",n.opacity8),tertiaryWarningFocusStateLayerOpacity:t.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",n.opacity8),tertiaryWarningActiveStateLayerOpacity:t.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",n.opacity16),tertiaryWarningDisabledComponentOpacity:t.extend("--ft-button-tertiary-warning-disabled-component-opacity","",n.opacity40),tertiaryErrorBackgroundColor:t.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:t.extend("--ft-button-tertiary-error-color","",c.contentErrorPrimary),tertiaryErrorIconColor:t.extend("--ft-button-tertiary-error-icon-color","",c.contentErrorPrimary),tertiaryErrorStateLayerColor:t.extend("--ft-button-tertiary-error-state-layer-color","",c.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:t.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",n.opacity8),tertiaryErrorFocusStateLayerOpacity:t.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",n.opacity8),tertiaryErrorActiveStateLayerOpacity:t.extend("--ft-button-tertiary-error-active-state-layer-opacity","",n.opacity16),tertiaryErrorDisabledComponentOpacity:t.extend("--ft-button-tertiary-error-disabled-component-opacity","",n.opacity40),tertiaryNeutralBackgroundColor:t.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:t.extend("--ft-button-tertiary-neutral-icon-color","",c.contentGlobalSecondary),tertiaryNeutralColor:t.extend("--ft-button-tertiary-neutral-color","",c.contentGlobalSecondary),tertiaryNeutralStateLayerColor:t.extend("--ft-button-tertiary-neutral-state-layer-color","",c.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",n.opacity8),tertiaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",n.opacity8),tertiaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",n.opacity16),tertiaryNeutralDisabledComponentOpacity:t.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",n.opacity40),secondaryBrandBackgroundColor:t.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:t.extend("--ft-button-secondary-brand-color","",c.contentActionPrimary),secondaryBrandIconColor:t.extend("--ft-button-secondary-brand-icon-color","",c.contentActionPrimary),secondaryBrandStateLayerColor:t.extend("--ft-button-secondary-brand-state-layer-color","",c.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:t.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",n.opacity8),secondaryBrandFocusStateLayerOpacity:t.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",n.opacity8),secondaryBrandActiveStateLayerOpacity:t.extend("--ft-button-secondary-brand-active-state-layer-opacity","",n.opacity16),secondaryBrandDisabledComponentOpacity:t.extend("--ft-button-secondary-brand-disabled-component-opacity","",n.opacity40),secondaryBrandBorderColor:t.extend("--ft-button-secondary-brand-border-color","",c.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",n.opacity8),secondaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",n.opacity8),secondaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",n.opacity16),secondaryNeutralDisabledComponentOpacity:t.extend("--ft-button-secondary-neutral-disabled-component-opacity","",n.opacity40),secondaryNeutralBackgroundColor:t.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:t.extend("--ft-button-secondary-neutral-color","",c.contentGlobalSecondary),secondaryNeutralIconColor:t.extend("--ft-button-secondary-neutral-icon-color","",c.contentGlobalSecondary),secondaryNeutralStateLayerColor:t.extend("--ft-button-secondary-neutral-state-layer-color","",c.contentGlobalSecondary),secondaryNeutralBorderColor:t.extend("--ft-button-secondary-neutral-border-color","",c.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:t.extend("--ft-button-secondary-info-hover-state-layer-opacity","",n.opacity8),secondaryInfoFocusStateLayerOpacity:t.extend("--ft-button-secondary-info-focus-state-layer-opacity","",n.opacity8),secondaryInfoActiveStateLayerOpacity:t.extend("--ft-button-secondary-info-active-state-layer-opacity","",n.opacity16),secondaryInfoDisabledComponentOpacity:t.extend("--ft-button-secondary-info-disabled-component-opacity","",n.opacity40),secondaryInfoBackgroundColor:t.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:t.extend("--ft-button-secondary-info-border-color","",c.borderInfoPrimary),secondaryInfoColor:t.extend("--ft-button-secondary-info-color","",c.contentInfoPrimary),secondaryInfoIconColor:t.extend("--ft-button-secondary-info-icon-color","",c.contentInfoPrimary),secondaryInfoStateLayerColor:t.extend("--ft-button-secondary-info-state-layer-color","",c.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:t.extend("--ft-button-secondary-success-hover-state-layer-opacity","",n.opacity8),secondarySuccessFocusStateLayerOpacity:t.extend("--ft-button-secondary-success-focus-state-layer-opacity","",n.opacity8),secondarySuccessActiveStateLayerOpacity:t.extend("--ft-button-secondary-success-active-state-layer-opacity","",n.opacity16),secondarySuccessDisabledComponentOpacity:t.extend("--ft-button-secondary-success-disabled-component-opacity","",n.opacity40),secondarySuccessBackgroundColor:t.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:t.extend("--ft-button-secondary-success-border-color","",c.borderSuccessPrimary),secondarySuccessColor:t.extend("--ft-button-secondary-success-color","",c.contentSuccessPrimary),secondarySuccessIconColor:t.extend("--ft-button-secondary-success-icon-color","",c.contentSuccessPrimary),secondarySuccessStateLayerColor:t.extend("--ft-button-secondary-success-state-layer-color","",c.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:t.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",n.opacity8),secondaryWarningFocusStateLayerOpacity:t.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",n.opacity8),secondaryWarningActiveStateLayerOpacity:t.extend("--ft-button-secondary-warning-active-state-layer-opacity","",n.opacity16),secondaryWarningDisabledComponentOpacity:t.extend("--ft-button-secondary-warning-disabled-component-opacity","",n.opacity40),secondaryWarningBackgroundColor:t.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:t.extend("--ft-button-secondary-warning-border-color","",c.borderWarningPrimary),secondaryWarningColor:t.extend("--ft-button-secondary-warning-color","",c.contentWarningPrimary),secondaryWarningIconColor:t.extend("--ft-button-secondary-warning-icon-color","",c.contentWarningPrimary),secondaryWarningStateLayerColor:t.extend("--ft-button-secondary-warning-state-layer-color","",c.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:t.extend("--ft-button-secondary-error-hover-state-layer-opacity","",n.opacity8),secondaryErrorFocusStateLayerOpacity:t.extend("--ft-button-secondary-error-focus-state-layer-opacity","",n.opacity8),secondaryErrorActiveStateLayerOpacity:t.extend("--ft-button-secondary-error-active-state-layer-opacity","",n.opacity16),secondaryErrorDisabledComponentOpacity:t.extend("--ft-button-secondary-error-disabled-component-opacity","",n.opacity40),secondaryErrorBackgroundColor:t.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:t.extend("--ft-button-secondary-error-border-color","",c.contentErrorPrimary),secondaryErrorColor:t.extend("--ft-button-secondary-error-color","",c.contentErrorPrimary),secondaryErrorIconColor:t.extend("--ft-button-secondary-error-icon-color","",c.contentErrorPrimary),secondaryErrorStateLayerColor:t.extend("--ft-button-secondary-error-state-layer-color","",c.contentErrorPrimary)};var Ii={neutralOffHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",n.opacity8),neutralOffFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",n.opacity8),neutralOffFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",c.borderActionFocusRing),neutralOffActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",n.opacity16),neutralOffBackgroundColor:t.extend("--ft-chip-choice-neutral-off-background-color","",c.backgroundGlobalOnSurface),neutralOffBorderColor:t.extend("--ft-chip-choice-neutral-off-border-color","",c.borderGlobalPrimary),neutralOffColor:t.extend("--ft-chip-choice-neutral-off-color","",c.contentGlobalSecondary),neutralOffStateLayerColor:t.extend("--ft-chip-choice-neutral-off-state-layer-color","",c.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",n.opacity16),neutralOnHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",n.opacity24),neutralOnFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",n.opacity24),neutralOnFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",c.borderActionFocusRing),neutralOnActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",n.opacity32),neutralOnBackgroundColor:t.extend("--ft-chip-choice-neutral-on-background-color","",c.backgroundGlobalOnSurface),neutralOnBorderColor:t.extend("--ft-chip-choice-neutral-on-border-color","",c.borderGlobalPrimary),neutralOnColor:t.extend("--ft-chip-choice-neutral-on-color","",c.contentGlobalPrimary),neutralOnIconColor:t.extend("--ft-chip-choice-neutral-on-icon-color","",c.contentGlobalPrimary),neutralOnStateLayerColor:t.extend("--ft-chip-choice-neutral-on-state-layer-color","",c.contentGlobalPrimary),largeMinHeight:t.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-choice-large-horizontal-padding","",n.spacing3),largeGap:t.extend("--ft-chip-choice-large-gap","",n.spacing1),largeBorderRadius:t.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-choice-large-icon-size","",n.iconSize3),mediumMinHeight:t.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-choice-medium-horizontal-padding","",n.spacing2),mediumGap:t.extend("--ft-chip-choice-medium-gap","",n.spacing1),mediumBorderRadius:t.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-choice-medium-icon-size","",n.iconSize2)};var zi={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",n.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",n.spacing1),largeGap:t.extend("--ft-chip-large-gap","",n.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",n.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",n.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",n.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",n.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",n.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",n.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",n.spacing05),smallGap:t.extend("--ft-chip-small-gap","",n.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",n.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",c.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",c.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",c.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",c.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",c.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",c.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",c.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",c.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",c.borderErrorSubtle)};var Ui={brandHoverOpacity:t.extend("--ft-link-brand-hover-opacity","",n.opacity80),brandHoverColor:t.extend("--ft-link-brand-hover-color","",c.contentActionPrimary),brandFocusFocusRingColor:t.extend("--ft-link-brand-focus-focus-ring-color","",c.borderActionFocusRing),brandFocusColor:t.extend("--ft-link-brand-focus-color","",c.contentActionPrimary),brandDefaultColor:t.extend("--ft-link-brand-default-color","",c.contentActionPrimary),brandActiveColor:t.extend("--ft-link-brand-active-color","",c.contentActionPrimary),infoHoverOpacity:t.extend("--ft-link-info-hover-opacity","",n.opacity80),infoHoverColor:t.extend("--ft-link-info-hover-color","",c.contentInfoPrimary),infoFocusFocusRingColor:t.extend("--ft-link-info-focus-focus-ring-color","",c.borderActionFocusRing),infoFocusColor:t.extend("--ft-link-info-focus-color","",c.contentInfoPrimary),infoDefaultColor:t.extend("--ft-link-info-default-color","",c.contentInfoPrimary),infoActiveColor:t.extend("--ft-link-info-active-color","",c.contentInfoPrimary),neutralFocusFocusRingColor:t.extend("--ft-link-neutral-focus-focus-ring-color","",c.borderActionFocusRing),neutralFocusColor:t.extend("--ft-link-neutral-focus-color","",c.contentActionPrimary),neutralDefaultColor:t.extend("--ft-link-neutral-default-color","",c.contentGlobalPrimary),neutralHoverColor:t.extend("--ft-link-neutral-hover-color","",c.contentActionPrimary),neutralActiveColor:t.extend("--ft-link-neutral-active-color","",c.contentActionPrimary),neutralVisitedColor:t.extend("--ft-link-neutral-visited-color","",n.colorBrand100)};var Ki={iconSize:t.extend("--ft-banner-icon-size","",n.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",n.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",n.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",n.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",n.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",n.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",n.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",n.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",c.borderInfoSubtle)};var qi={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",n.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",n.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",n.borderRadiusPill),color:t.extend("--ft-badge-color","",c.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",c.contentActionPrimary)};var ol={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",n.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",n.spacing2),currentColor:t.extend("--ft-breadcrumb-current-color","",c.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-breadcrumb-previous-non-clickable-color","",c.contentGlobalSecondary),iconColor:t.extend("--ft-breadcrumb-icon-color","",c.contentGlobalSubtle)};var ll={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",n.spacing6),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",n.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",n.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",n.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",n.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",n.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",n.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",c.borderGlobalSubtle),titleColor:t.extend("--ft-page-header-title-color","",c.contentGlobalPrimary),subtitleColor:t.extend("--ft-page-header-subtitle-color","",c.contentGlobalSecondary)};var fl={smallContainerTargetWidth:t.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:t.extend("--ft-modal-small-container-margin","",n.spacing6),mediumContainerTargetWidth:t.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:t.extend("--ft-modal-medium-container-margin","",n.spacing6),largeContainerTargetWidth:t.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:t.extend("--ft-modal-large-container-margin","",n.spacing6),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",n.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",n.opacity40),shadow:t.extend("--ft-modal-shadow","",n.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",n.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",n.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",n.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",n.spacing6),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",c.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",c.contentGlobalPrimary),headerLeadingIconColor:t.extend("--ft-modal-header-leading-icon-color","",c.contentGlobalPrimary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",n.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",n.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",n.spacing6),headerGap:t.extend("--ft-modal-header-gap","",n.spacing2),headerBorderBottomWidth:t.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",n.borderRadiusM)};var ml={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",n.opacity40),shadow:t.extend("--ft-drawer-shadow","",n.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",n.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",n.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",n.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",n.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",c.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",c.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",c.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",n.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",n.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",c.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",c.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",c.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",n.spacing6),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",n.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",n.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",n.colorGray700)};var vl={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",n.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",n.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",n.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",n.opacity40),offColor:t.extend("--ft-tabs-off-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",c.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",c.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",n.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",n.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",n.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",n.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",n.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",n.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",n.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",n.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",n.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",n.opacity24),onColor:t.extend("--ft-tabs-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",c.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",c.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",n.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",n.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",n.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",n.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",c.borderActionFocusRing)};var $l={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",n.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",n.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",n.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",n.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",n.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",n.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",c.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",c.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",c.contentErrorIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",n.opacity40)};var Pl={backgroundColor:t.extend("--ft-text-area-background-color","",n.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",c.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",c.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",n.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",n.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",n.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",n.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",n.borderRadiusM)};var Tl={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",n.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",c.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",c.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",c.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",n.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",n.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",n.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",n.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",n.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",n.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",c.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",n.shadowElevation02)};var Fl={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",n.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",n.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",n.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",n.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",n.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",n.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",n.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",n.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",c.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",c.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",c.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",c.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",n.opacity40)};var Vl={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",n.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",c.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",c.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",c.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",c.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",n.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",n.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",n.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",n.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",n.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",n.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",n.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",n.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",n.borderRadiusM)};var Jl={backgroundColor:t.extend("--ft-popover-background-color","",c.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",n.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",n.spacing6),titleColor:t.extend("--ft-popover-title-color","",c.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",c.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",c.contentActionPrimary),gap:t.extend("--ft-popover-gap","",n.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",n.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",n.shadowElevation02),maxWidth:t.create("--ft-popover-max-width","","SIZE","440px")};var rc={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",n.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",n.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",c.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",n.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",n.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",n.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",n.spacing3),color:t.extend("--ft-collapsible-color","",c.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",c.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",c.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",c.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",n.iconSize3)};var cc={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",n.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",n.spacing1),groupGap:t.extend("--ft-switch-group-gap","",n.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",c.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",c.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",n.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",n.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",n.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",n.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",n.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",n.opacity40),offColor:t.extend("--ft-switch-off-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",n.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",n.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",n.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",n.opacity40),onColor:t.extend("--ft-switch-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",c.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",n.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",n.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",c.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",n.borderRadiusS)};var fc={color1Light:t.extend("--ft-chart-1-light","for area color charts",n.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",n.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",n.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",n.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",n.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",n.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",n.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",n.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",n.colorRed40),color5Base:t.extend("--ft-chart-5-base","",n.colorRed60),color6Light:t.extend("--ft-chart-6-light","",n.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",n.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",n.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",n.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",n.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",n.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",n.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",n.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",n.colorGray50),color10Base:t.extend("--ft-chart-10-base","",n.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",n.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",n.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",n.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",n.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",n.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",n.colorBrand200)};var hc={color1IconColor:t.extend("--ft-page-designer-1-icon-color","for area color charts",n.colorCyan0),color1ToolbarColor:t.extend("--ft-page-designer-1-toolbar-color","for area color charts",n.colorCyan0),color2IconColor:t.extend("--ft-page-designer-2-icon-color","for area color charts",n.colorBrand0),color2ToolbarColor:t.extend("--ft-page-designer-2-toolbar-color","for area color charts",n.colorBrand0),color3IconColor:t.extend("--ft-page-designer-3-icon-color","for area color charts",n.colorYellow200),color3ToolbarColor:t.extend("--ft-page-designer-3-toolbar-color","for area color charts",n.colorYellow200),color4IconColor:t.extend("--ft-page-designer-4-icon-color","for area color charts",n.colorUltramarine50),color4ToolbarColor:t.extend("--ft-page-designer-4-toolbar-color","for area color charts",n.colorUltramarine50),color5IconColor:t.extend("--ft-page-designer-5-icon-color","for area color charts",n.colorGreen0),color5ToolbarColor:t.extend("--ft-page-designer-5-toolbar-color","for area color charts",n.colorGreen0),color6IconColor:t.extend("--ft-page-designer-6-icon-color","for area color charts",n.colorOrange0),color6ToolbarColor:t.extend("--ft-page-designer-6-toolbar-color","for area color charts",n.colorOrange0),color7IconColor:t.extend("--ft-page-designer-7-icon-color","for area color charts",n.colorAvocado200),color7ToolbarColor:t.extend("--ft-page-designer-7-toolbar-color","for area color charts",n.colorAvocado200),color8IconColor:t.extend("--ft-page-designer-8-icon-color","for area color charts",n.colorBrown0),color8ToolbarColor:t.extend("--ft-page-designer-8-toolbar-color","for area color charts",n.colorBrown0)};var Oc={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",n.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",n.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",n.borderRadiusS),gap:t.extend("--ft-notice-gap","",n.spacing2),iconSize:t.extend("--ft-notice-icon-size","",n.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",c.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",c.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",c.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",c.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",c.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",c.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",c.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",c.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",c.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",c.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",c.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",c.contentSuccessIconOnly)};var Ec={color:t.extend("--ft-checkbox-color","",c.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",c.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",c.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",c.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",n.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",n.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",n.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",n.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",n.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",n.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",n.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",n.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",n.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",n.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-checkbox-gap","",n.spacing3)};var Ic={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",n.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",n.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",n.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",n.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",c.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",n.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",n.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",n.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",n.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",c.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",c.contentActionPrimary),color:t.extend("--ft-toggle-color","",c.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",c.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",n.spacing3)};var zc={color:t.extend("--ft-radio-color","",c.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",c.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",c.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",n.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",n.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",n.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",n.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",c.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",c.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",n.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",n.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",n.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",n.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",n.spacing3)};var Uc={iconSize:t.extend("--ft-notification-icon-size","",n.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",n.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",n.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",n.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",c.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",c.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",c.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",c.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",c.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",n.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",n.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",n.spacing8)};var Kc={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",n.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",n.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",n.borderRadiusS),color:t.extend("--ft-tooltip-color","",c.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",c.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",n.opacity80),shadow:t.extend("--ft-tooltip-shadow","",n.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",n.spacing05)};var Ve;(function(o){o.brand="brand",o.neutral="neutral",o.info="info",o.success="success",o.warning="warning",o.error="error"})(Ve||(Ve={}));var ee;(function(o){o.large="large",o.medium="medium",o.small="small"})(ee||(ee={}));var je=h(z());function Dr(o){let e=Ke[o];return je.css`
|
|
5
5
|
.ft-typography--${(0,je.unsafeCSS)(o)} {
|
|
6
6
|
font-family: ${e.fontFamily};
|
|
7
7
|
font-size: ${e.fontSize};
|
|
@@ -10,7 +10,7 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
10
10
|
line-height: ${e.lineHeight};
|
|
11
11
|
text-transform: ${e.textCase};
|
|
12
12
|
}
|
|
13
|
-
`}var Hr=
|
|
13
|
+
`}var Hr=b.FtCssVariableFactory.extend("--ft-typography-font-family","",b.designSystemVariables.titleFont),$t=b.FtCssVariableFactory.extend("--ft-typography-font-family","",b.designSystemVariables.contentFont),O={fontFamily:$t,fontSize:b.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:b.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:b.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:b.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:b.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},oe={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Hr),fontSize:b.FtCssVariableFactory.extend("--ft-typography-title-font-size","",O.fontSize,"20px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",O.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",O.letterSpacing,"0.15px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-title-line-height","",O.lineHeight,"1.2"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",O.textTransform,"inherit")},re={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Hr),fontSize:b.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",O.fontSize,"14px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",O.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",O.letterSpacing,"0.105px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",O.lineHeight,"1.7"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",O.textTransform,"inherit")},ne={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",$t),fontSize:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",O.fontSize,"16px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",O.fontWeight,"600"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",O.letterSpacing,"0.144px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",O.lineHeight,"1.5"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",O.textTransform,"inherit")},ae={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",$t),fontSize:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",O.fontSize,"14px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",O.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",O.letterSpacing,"0.098px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",O.lineHeight,"1.7"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",O.textTransform,"inherit")},gt={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",$t),fontSize:b.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",O.fontSize,"16px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",O.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",O.letterSpacing,"0.496px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",O.lineHeight,"1.5"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",O.textTransform,"inherit")},ie={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",$t),fontSize:b.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",O.fontSize,"14px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",O.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",O.letterSpacing,"0.252px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",O.lineHeight,"1.4"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",O.textTransform,"inherit")},bt={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",$t),fontSize:b.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",O.fontSize,"12px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",O.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",O.letterSpacing,"0.396px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",O.lineHeight,"1.33"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",O.textTransform,"inherit")},le={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",$t),fontSize:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",O.fontSize,"10px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",O.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",O.letterSpacing,"0.33px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",O.lineHeight,"1.6"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",O.textTransform,"inherit")},ce={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",$t),fontSize:b.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",O.fontSize,"10px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",O.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",O.letterSpacing,"1.5px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",O.lineHeight,"1.6"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",O.textTransform,"uppercase")},vt={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-button-font-family","",$t),fontSize:b.FtCssVariableFactory.extend("--ft-typography-button-font-size","",O.fontSize,"14px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",O.fontWeight,"600"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",O.letterSpacing,"1.246px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-button-line-height","",O.lineHeight,"1.15"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",O.textTransform,"uppercase")},Ur=ht.css`
|
|
14
14
|
.ft-typography--title {
|
|
15
15
|
font-family: ${oe.fontFamily};
|
|
16
16
|
font-size: ${oe.fontSize};
|
|
@@ -19,7 +19,7 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
19
19
|
line-height: ${oe.lineHeight};
|
|
20
20
|
text-transform: ${oe.textTransform};
|
|
21
21
|
}
|
|
22
|
-
`,
|
|
22
|
+
`,Fr=ht.css`
|
|
23
23
|
.ft-typography--title-dense {
|
|
24
24
|
font-family: ${re.fontFamily};
|
|
25
25
|
font-size: ${re.fontSize};
|
|
@@ -28,17 +28,8 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
28
28
|
line-height: ${re.lineHeight};
|
|
29
29
|
text-transform: ${re.textTransform};
|
|
30
30
|
}
|
|
31
|
-
`,
|
|
31
|
+
`,Gr=ht.css`
|
|
32
32
|
.ft-typography--subtitle1 {
|
|
33
|
-
font-family: ${ie.fontFamily};
|
|
34
|
-
font-size: ${ie.fontSize};
|
|
35
|
-
font-weight: ${ie.fontWeight};
|
|
36
|
-
letter-spacing: ${ie.letterSpacing};
|
|
37
|
-
line-height: ${ie.lineHeight};
|
|
38
|
-
text-transform: ${ie.textTransform};
|
|
39
|
-
}
|
|
40
|
-
`,Mr=mt.css`
|
|
41
|
-
.ft-typography--subtitle2 {
|
|
42
33
|
font-family: ${ne.fontFamily};
|
|
43
34
|
font-size: ${ne.fontSize};
|
|
44
35
|
font-weight: ${ne.fontWeight};
|
|
@@ -46,8 +37,17 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
46
37
|
line-height: ${ne.lineHeight};
|
|
47
38
|
text-transform: ${ne.textTransform};
|
|
48
39
|
}
|
|
40
|
+
`,Zr=ht.css`
|
|
41
|
+
.ft-typography--subtitle2 {
|
|
42
|
+
font-family: ${ae.fontFamily};
|
|
43
|
+
font-size: ${ae.fontSize};
|
|
44
|
+
font-weight: ${ae.fontWeight};
|
|
45
|
+
letter-spacing: ${ae.letterSpacing};
|
|
46
|
+
line-height: ${ae.lineHeight};
|
|
47
|
+
text-transform: ${ae.textTransform};
|
|
48
|
+
}
|
|
49
49
|
|
|
50
|
-
`,Ye=
|
|
50
|
+
`,Ye=ht.css`
|
|
51
51
|
.ft-typography--body1 {
|
|
52
52
|
font-family: ${gt.fontFamily};
|
|
53
53
|
font-size: ${gt.fontSize};
|
|
@@ -56,16 +56,16 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
56
56
|
line-height: ${gt.lineHeight};
|
|
57
57
|
text-transform: ${gt.textTransform};
|
|
58
58
|
}
|
|
59
|
-
`,Xe=
|
|
59
|
+
`,Xe=ht.css`
|
|
60
60
|
.ft-typography--body2 {
|
|
61
|
-
font-family: ${
|
|
62
|
-
font-size: ${
|
|
63
|
-
font-weight: ${
|
|
64
|
-
letter-spacing: ${
|
|
65
|
-
line-height: ${
|
|
66
|
-
text-transform: ${
|
|
61
|
+
font-family: ${ie.fontFamily};
|
|
62
|
+
font-size: ${ie.fontSize};
|
|
63
|
+
font-weight: ${ie.fontWeight};
|
|
64
|
+
letter-spacing: ${ie.letterSpacing};
|
|
65
|
+
line-height: ${ie.lineHeight};
|
|
66
|
+
text-transform: ${ie.textTransform};
|
|
67
67
|
}
|
|
68
|
-
`,se=
|
|
68
|
+
`,se=ht.css`
|
|
69
69
|
.ft-typography--caption {
|
|
70
70
|
font-family: ${bt.fontFamily};
|
|
71
71
|
font-size: ${bt.fontSize};
|
|
@@ -74,7 +74,7 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
74
74
|
line-height: ${bt.lineHeight};
|
|
75
75
|
text-transform: ${bt.textTransform};
|
|
76
76
|
}
|
|
77
|
-
`,
|
|
77
|
+
`,Mr=ht.css`
|
|
78
78
|
.ft-typography--breadcrumb {
|
|
79
79
|
font-family: ${le.fontFamily};
|
|
80
80
|
font-size: ${le.fontSize};
|
|
@@ -83,7 +83,7 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
83
83
|
line-height: ${le.lineHeight};
|
|
84
84
|
text-transform: ${le.textTransform};
|
|
85
85
|
}
|
|
86
|
-
`,Kr=
|
|
86
|
+
`,Kr=ht.css`
|
|
87
87
|
.ft-typography--overline {
|
|
88
88
|
font-family: ${ce.fontFamily};
|
|
89
89
|
font-size: ${ce.fontSize};
|
|
@@ -92,20 +92,20 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
92
92
|
line-height: ${ce.lineHeight};
|
|
93
93
|
text-transform: ${ce.textTransform};
|
|
94
94
|
}
|
|
95
|
-
`,Vr=
|
|
95
|
+
`,Vr=ht.css`
|
|
96
96
|
.ft-typography--button {
|
|
97
|
-
font-family: ${
|
|
98
|
-
font-size: ${
|
|
99
|
-
font-weight: ${
|
|
100
|
-
letter-spacing: ${
|
|
101
|
-
line-height: ${
|
|
102
|
-
text-transform: ${
|
|
103
|
-
}
|
|
104
|
-
`,jr=
|
|
97
|
+
font-family: ${vt.fontFamily};
|
|
98
|
+
font-size: ${vt.fontSize};
|
|
99
|
+
font-weight: ${vt.fontWeight};
|
|
100
|
+
letter-spacing: ${vt.letterSpacing};
|
|
101
|
+
line-height: ${vt.lineHeight};
|
|
102
|
+
text-transform: ${vt.textTransform};
|
|
103
|
+
}
|
|
104
|
+
`,jr=ht.css`
|
|
105
105
|
.ft-typography {
|
|
106
106
|
vertical-align: inherit;
|
|
107
107
|
}
|
|
108
|
-
`,Yr=[Object.keys(Ke).map(o=>Dr(o))];var Xr=function(o,e,r,
|
|
108
|
+
`,Yr=[Object.keys(Ke).map(o=>Dr(o))];var Xr=function(o,e,r,a){var i=arguments.length,l=i<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,r):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,e,r,a);else for(var p=o.length-1;p>=0;p--)(s=o[p])&&(l=(i<3?s(l):i>3?s(e,r,l):s(e,r))||l);return i>3&&l&&Object.defineProperty(e,r,l),l},ot=class extends qr.FtLitElement{constructor(){super(...arguments),this.variant=_t.body1}render(){return this.element?So`
|
|
109
109
|
<${xo(this.element)}
|
|
110
110
|
part="text"
|
|
111
111
|
class="ft-typography ft-typography--${this.variant}">
|
|
@@ -113,25 +113,25 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
113
113
|
</${xo(this.element)}>
|
|
114
114
|
`:So`
|
|
115
115
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
116
|
-
`}};
|
|
116
|
+
`}};ot.styles=[Ur,Fr,Gr,Zr,Ye,Xe,se,Mr,Kr,Vr,jr,...Yr];Xr([(0,Oo.property)()],ot.prototype,"element",void 0);Xr([(0,Oo.property)()],ot.prototype,"variant",void 0);(0,Jr.customElement)("ft-typography")(ot);var rn=h(R());var vo=h(z()),de=h(ut()),en=h(Gt()),on=h(R());var Qr=h(z()),T=h(R());var v={fontSize:T.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:T.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:T.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:T.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:T.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:T.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:T.FtCssVariableFactory.extend("--ft-input-label-border-color","",T.designSystemVariables.colorOutline),textColor:T.FtCssVariableFactory.extend("--ft-input-label-text-color","",T.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:T.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",T.designSystemVariables.colorOnSurfaceDisabled),colorSurface:T.FtCssVariableFactory.external(T.designSystemVariables.colorSurface,"Design system"),borderRadiusS:T.FtCssVariableFactory.external(T.designSystemVariables.borderRadiusS,"Design system"),colorError:T.FtCssVariableFactory.external(T.designSystemVariables.colorError,"Design system")},tn=Qr.css`
|
|
117
117
|
.ft-input-label {
|
|
118
118
|
position: absolute;
|
|
119
119
|
inset: 0;
|
|
120
120
|
display: flex;
|
|
121
|
-
background-color: ${
|
|
122
|
-
border-radius: ${
|
|
121
|
+
background-color: ${v.colorSurface};
|
|
122
|
+
border-radius: ${v.borderRadiusS} ${v.borderRadiusS} 0 0;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
.ft-input-label--outlined {
|
|
126
|
-
border-radius: ${
|
|
126
|
+
border-radius: ${v.borderRadiusS};
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
.ft-input-label {
|
|
130
|
-
border-color: ${
|
|
130
|
+
border-color: ${v.borderColor};
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
.ft-input-label.ft-input-label--in-error {
|
|
134
|
-
border-color: ${
|
|
134
|
+
border-color: ${v.colorError}
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
.ft-input-label:before,
|
|
@@ -144,7 +144,7 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.ft-input-label:before {
|
|
147
|
-
width: calc(${
|
|
147
|
+
width: calc(${v.horizontalSpacing} - 4px);
|
|
148
148
|
flex-shrink: 0;
|
|
149
149
|
}
|
|
150
150
|
|
|
@@ -160,20 +160,20 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
160
160
|
border-bottom-width: 1px;
|
|
161
161
|
border-bottom-style: solid;
|
|
162
162
|
border-color: inherit;
|
|
163
|
-
color: ${
|
|
163
|
+
color: ${v.textColor};
|
|
164
164
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
165
|
-
max-width: calc(${
|
|
165
|
+
max-width: calc(${v.labelMaxWidth} - 2 * (${v.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
166
166
|
text-overflow: ellipsis;
|
|
167
|
-
${(0,
|
|
168
|
-
${(0,
|
|
167
|
+
${(0,T.setVariable)(bt.fontSize,v.fontSize)};
|
|
168
|
+
${(0,T.setVariable)(bt.lineHeight,v.fontSize)};
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
.ft-input-label--in-error .ft-input-label--text {
|
|
172
|
-
color: ${
|
|
172
|
+
color: ${v.colorError}
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
.ft-input-label--disabled .ft-input-label--text {
|
|
176
|
-
color: ${
|
|
176
|
+
color: ${v.disabledTextColor};
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
.ft-input-label--hidden-text {
|
|
@@ -190,19 +190,19 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
190
190
|
overflow: hidden;
|
|
191
191
|
white-space: nowrap;
|
|
192
192
|
text-overflow: ellipsis;
|
|
193
|
-
padding: ${
|
|
194
|
-
margin: calc(${
|
|
193
|
+
padding: ${v.verticalSpacing} 4px;
|
|
194
|
+
margin: calc(${v.verticalSpacing} * -1) 0;
|
|
195
195
|
max-width: 100%;
|
|
196
196
|
box-sizing: border-box;
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
.ft-input-label--raised .ft-input-label--text {
|
|
200
|
-
${(0,
|
|
201
|
-
${(0,
|
|
200
|
+
${(0,T.setVariable)(bt.fontSize,v.raisedFontSize)};
|
|
201
|
+
${(0,T.setVariable)(bt.lineHeight,v.raisedFontSize)};
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
205
|
-
top: ${
|
|
205
|
+
top: ${v.verticalSpacing};
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
.ft-input-label--outlined .ft-input-label--text,
|
|
@@ -215,36 +215,36 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
215
215
|
.ft-input-label--outlined:before {
|
|
216
216
|
border-left-width: 1px;
|
|
217
217
|
border-left-style: solid;
|
|
218
|
-
border-radius: ${
|
|
218
|
+
border-radius: ${v.borderRadiusS} 0 0 ${v.borderRadiusS};
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
.ft-input-label--outlined:after {
|
|
222
222
|
border-right-width: 1px;
|
|
223
223
|
border-right-style: solid;
|
|
224
|
-
border-radius: 0 ${
|
|
224
|
+
border-radius: 0 ${v.borderRadiusS} ${v.borderRadiusS} 0;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
|
|
228
228
|
padding: 2px 4px;
|
|
229
|
-
z-index: ${
|
|
230
|
-
background-color: ${
|
|
231
|
-
border-radius: ${
|
|
229
|
+
z-index: ${v.raisedZIndex};
|
|
230
|
+
background-color: ${v.colorSurface};
|
|
231
|
+
border-radius: ${v.borderRadiusS};
|
|
232
232
|
top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
236
236
|
border-top: none;
|
|
237
237
|
}
|
|
238
|
-
`;var
|
|
239
|
-
<div class="${(0,
|
|
240
|
-
${this.text?
|
|
238
|
+
`;var Re=function(o,e,r,a){var i=arguments.length,l=i<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,r):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,e,r,a);else for(var p=o.length-1;p>=0;p--)(s=o[p])&&(l=(i<3?s(l):i>3?s(e,r,l):s(e,r))||l);return i>3&&l&&Object.defineProperty(e,r,l),l},lt=class extends on.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){let e={"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 vo.html`
|
|
239
|
+
<div class="${(0,en.classMap)(e)}">
|
|
240
|
+
${this.text?vo.html`
|
|
241
241
|
<div class="ft-input-label--text ft-typography--caption">
|
|
242
242
|
<span class="ft-input-label--floating-text">${this.text}</span>
|
|
243
243
|
<span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
|
|
244
244
|
</div>
|
|
245
245
|
`:null}
|
|
246
246
|
</div>
|
|
247
|
-
`}};
|
|
247
|
+
`}};lt.elementDefinitions={};lt.styles=[se,tn];Re([(0,de.property)({type:String})],lt.prototype,"text",void 0);Re([(0,de.property)({type:Boolean})],lt.prototype,"raised",void 0);Re([(0,de.property)({type:Boolean})],lt.prototype,"outlined",void 0);Re([(0,de.property)({type:Boolean})],lt.prototype,"disabled",void 0);Re([(0,de.property)({type:Boolean})],lt.prototype,"error",void 0);(0,rn.customElement)("ft-input-label")(lt);var yn=h(R());var fn=h(z()),rt=h(ut()),un=h(Gt()),Le=h(R());var dn=h(z()),j=h(R()),nn=j.FtCssVariableFactory.extend("--ft-ripple-color","",j.designSystemVariables.colorContent),g={color:nn,backgroundColor:j.FtCssVariableFactory.extend("--ft-ripple-background-color","",nn),opacityContentOnSurfacePressed:j.FtCssVariableFactory.external(j.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:j.FtCssVariableFactory.external(j.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:j.FtCssVariableFactory.external(j.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:j.FtCssVariableFactory.external(j.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:j.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},an=j.FtCssVariableFactory.extend("--ft-ripple-color","",j.designSystemVariables.colorPrimary),ln={color:an,backgroundColor:j.FtCssVariableFactory.extend("--ft-ripple-background-color","",an)},cn=j.FtCssVariableFactory.extend("--ft-ripple-color","",j.designSystemVariables.colorSecondary),sn={color:cn,backgroundColor:j.FtCssVariableFactory.extend("--ft-ripple-background-color","",cn)},pn=dn.css`
|
|
248
248
|
:host {
|
|
249
249
|
display: contents;
|
|
250
250
|
}
|
|
@@ -257,7 +257,7 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
257
257
|
|
|
258
258
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
259
259
|
overflow: hidden;
|
|
260
|
-
border-radius: ${
|
|
260
|
+
border-radius: ${g.borderRadius};
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
.ft-ripple .ft-ripple--background,
|
|
@@ -291,27 +291,27 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
.ft-ripple .ft-ripple--background {
|
|
294
|
-
background-color: ${
|
|
294
|
+
background-color: ${g.backgroundColor};
|
|
295
295
|
}
|
|
296
296
|
|
|
297
297
|
.ft-ripple .ft-ripple--effect {
|
|
298
|
-
background-color: ${
|
|
298
|
+
background-color: ${g.color};
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
302
|
-
background-color: ${
|
|
302
|
+
background-color: ${sn.backgroundColor};
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
306
|
-
background-color: ${
|
|
306
|
+
background-color: ${sn.color};
|
|
307
307
|
}
|
|
308
308
|
|
|
309
309
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
310
|
-
background-color: ${
|
|
310
|
+
background-color: ${ln.backgroundColor};
|
|
311
311
|
}
|
|
312
312
|
|
|
313
313
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
314
|
-
background-color: ${
|
|
314
|
+
background-color: ${ln.color};
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
.ft-ripple .ft-ripple--background {
|
|
@@ -341,33 +341,33 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
344
|
-
opacity: ${
|
|
344
|
+
opacity: ${g.opacityContentOnSurfaceHover};
|
|
345
345
|
}
|
|
346
346
|
|
|
347
347
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
348
|
-
opacity: ${
|
|
348
|
+
opacity: ${g.opacityContentOnSurfaceSelected};
|
|
349
349
|
}
|
|
350
350
|
|
|
351
351
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
352
|
-
opacity: ${
|
|
352
|
+
opacity: ${g.opacityContentOnSurfaceFocused};
|
|
353
353
|
}
|
|
354
354
|
|
|
355
355
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
356
|
-
opacity: ${
|
|
356
|
+
opacity: ${g.opacityContentOnSurfacePressed};
|
|
357
357
|
transform: translate(-50%, -50%) scale(1);
|
|
358
358
|
}
|
|
359
|
-
`;var st=function(o,e,r,
|
|
359
|
+
`;var st=function(o,e,r,a){var i=arguments.length,l=i<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,r):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,e,r,a);else for(var p=o.length-1;p>=0;p--)(s=o[p])&&(l=(i<3?s(l):i>3?s(e,r,l):s(e,r))||l);return i>3&&l&&Object.defineProperty(e,r,l),l},W=class extends Le.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new Le.Debouncer(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Le.Debouncer(10),this.moveRipple=e=>{var r,a;let{x:i,y:l}=this.getCoordinates(e),s=(a=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&a!==void 0?a:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(l!=null?l-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"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 fn.html`
|
|
360
360
|
<style>
|
|
361
361
|
.ft-ripple .ft-ripple--effect {
|
|
362
362
|
left: ${this.originX}px;
|
|
363
363
|
top: ${this.originY}px;
|
|
364
364
|
}
|
|
365
365
|
</style>
|
|
366
|
-
<div class="${(0,
|
|
366
|
+
<div class="${(0,un.classMap)(e)}">
|
|
367
367
|
<div class="ft-ripple--background"></div>
|
|
368
368
|
<div class="ft-ripple--effect"></div>
|
|
369
369
|
</div>
|
|
370
|
-
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.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 e,r;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...p)=>d=>{p.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(d)},i=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),l=p=>{["Enter"," "].includes(p.key)&&r("keyup")(p)},c={passive:!0};e.addEventListener("mouseover",this.startHover,c),e.addEventListener("mousemove",this.moveRipple,c),e.addEventListener("mouseleave",this.endHover,c),e.addEventListener("mousedown",i,c),e.addEventListener("touchstart",a,c),e.addEventListener("touchmove",this.moveRipple,c),e.addEventListener("keydown",l,c),e.addEventListener("focus",this.startFocus,c),e.addEventListener("blur",this.endFocus,c),e.addEventListener("focusin",this.startFocus,c),e.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,c),e.removeEventListener("mousemove",this.moveRipple,c),e.removeEventListener("mouseleave",this.endHover,c),e.removeEventListener("mousedown",i,c),e.removeEventListener("touchstart",a,c),e.removeEventListener("touchmove",this.moveRipple,c),e.removeEventListener("keydown",l,c),e.removeEventListener("focus",this.startFocus,c),e.removeEventListener("blur",this.endFocus,c),e.removeEventListener("focusin",this.startFocus,c),e.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,i=e,a,l;return r.x!=null?{x:a,y:l}=r:i.touches!=null&&(a=i.touches[0].clientX,l=i.touches[0].clientY),{x:a,y:l}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};W.elementDefinitions={};W.styles=pi;st([(0,ot.property)({type:Boolean})],W.prototype,"primary",void 0);st([(0,ot.property)({type:Boolean})],W.prototype,"secondary",void 0);st([(0,ot.property)({type:Boolean})],W.prototype,"unbounded",void 0);st([(0,ot.property)({type:Boolean})],W.prototype,"activated",void 0);st([(0,ot.property)({type:Boolean})],W.prototype,"selected",void 0);st([(0,ot.property)({type:Boolean})],W.prototype,"disabled",void 0);st([(0,ot.state)()],W.prototype,"hovered",void 0);st([(0,ot.state)()],W.prototype,"focused",void 0);st([(0,ot.state)()],W.prototype,"pressed",void 0);st([(0,ot.state)()],W.prototype,"rippling",void 0);st([(0,ot.state)()],W.prototype,"originX",void 0);st([(0,ot.state)()],W.prototype,"originY",void 0);st([(0,ot.query)(".ft-ripple")],W.prototype,"ripple",void 0);st([(0,ot.query)(".ft-ripple--effect")],W.prototype,"rippleEffect",void 0);(0,ui.customElement)("ft-ripple")(W);var bi=u(R());var Le=u(T()),jt=u(ut()),mi=u(R()),yi=u(po());var Vt;(function(o){o.ADD_TO_PBK="",o.ALERT="",o.ADD_ALERT="",o.BACK_TO_SEARCH="",o.ADD_BOOKMARK="",o.BOOKMARK="",o.BOOKS="",o.MENU="",o.DOWNLOAD="",o.EDIT="",o.FEEDBACK="",o.HOME="",o.MODIFY_PBK="",o.SCHEDULED="",o.SEARCH="",o.EXPORT="",o.TOC="",o.WRITE_UGC="",o.TRASH="",o.USER="",o.EXTLINK="",o.CALENDAR="",o.OFFLINE="",o.BOOK="",o.DOWNLOAD_PLAIN="",o.CHECK="",o.STAR_PLAIN="",o.TOPICS="",o.DISC="",o.CIRCLE="",o.SHARED="",o.SORT_UNSORTED="",o.SORT_UP="",o.SORT_DOWN="",o.WORKING="",o.CLOSE="",o.ZOOM_OUT="",o.ZOOM_IN="",o.ZOOM_REALSIZE="",o.ZOOM_FULLSCREEN="",o.ADMIN_RESTRICTED="",o.ADMIN="",o.ADMIN_KHUB="",o.ADMIN_THEME="",o.ADMIN_USERS="",o.WARNING="",o.CONTEXT="",o.SEARCH_HOME="",o.STEPS="",o.ICON_EXPAND="",o.ICON_COLLAPSE="",o.INFO="",o.MINUS_PLAIN="",o.PLUS_PLAIN="",o.FACET_HAS_DESCENDANT="",o.TRIANGLE_BOTTOM="",o.TRIANGLE_LEFT="",o.TRIANGLE_RIGHT="",o.TRIANGLE_TOP="",o.THIN_ARROW="",o.SIGN_IN="",o.LOGOUT="",o.TRANSLATE="",o.CLOSE_PLAIN="",o.CHECK_PLAIN="",o.ARTICLE="",o.COLUMNS="",o.ANALYTICS="",o.COLLECTIONS="",o.ARROW_DOWN="",o.ARROW_LEFT="",o.ARROW_RIGHT="",o.ARROW_UP="",o.SEARCH_IN_PUBLICATION="",o.COPY_TO_CLIPBOARD="",o.SHARED_PBK="",o.ATTACHMENTS="",o.STRIPE_ARROW_LEFT="",o.STRIPE_ARROW_RIGHT="",o.FILTERS="",o.DOT="",o.MINUS="",o.PLUS="",o.MAILS_AND_NOTIFICATIONS="",o.SAVE="",o.LOCKER="",o.ADMIN_INTEGRATION="",o.SYNC="",o.TAG="",o.BOOK_PLAIN="",o.UPLOAD="",o.ONLINE="",o.TAG_PLAIN="",o.ACCOUNT_SETTINGS="",o.PRINT="",o.DEFAULT_ROLES="",o.SHORTCUT_MENU="",o.RELATIVES_PLAIN="",o.RELATIVES="",o.PAUSE="",o.PLAY="",o.ADMIN_PORTAL="",o.STAR="",o.THUMBS_DOWN="",o.THUMBS_DOWN_PLAIN="",o.THUMBS_UP="",o.THUMBS_UP_PLAIN="",o.FEEDBACK_PLAIN="",o.RATE_PLAIN="",o.RATE="",o.OFFLINE_SETTINGS="",o.MY_COLLECTIONS="",o.THIN_ARROW_LEFT="",o.THIN_ARROW_RIGHT="",o.RESET="",o.MY_LIBRARY="",o.UNSTRUCTURED_DOC="",o.CONTEXTUAL="",o.THIN_ARROW_UP="",o.ARROW_RIGHT_TO_LINE="",o.DESKTOP="",o.TABLET_LANDSCAPE="",o.TABLET_PORTRAIT="",o.MOBILE_LANDSCAPE="",o.MOBILE_PORTRAIT="",o.DIAGRAM_SUNBURST="",o.DIAGRAM_SANKEY="",o.COMMENT_QUESTION="",o.COMMENT_QUESTION_PLAIN="",o.MESSAGE_BOT="",o.CHART_SIMPLE="",o.BARS_PROGRESS="",o.BOOK_OPEN_GEAR="",o.BOOK_OPEN_GEAR_SLASH="",o.LINE_CHART="",o.STACKED_CHART="",o.CHART_BAR_STACKED="",o.CHART_BAR_GROUPED="",o.EYE_SLASH="",o.X_MARK="",o.EXPAND_WIDE="",o.PIP="",o.PIP_WIDE="",o.LIFE_RING="",o.GLOBE="",o.PIGGY_BANK="",o.EXTLINK_LIGHT="",o.CLONE="",o.CLONE_LINK_SIMPLE="",o.CHART_BAR_NORMALIZED="",o.CONSUMER="",o.OCTAGON_XMARK="",o.HOURGLASS_HALF="",o.CLOCK="",o.CLOCK_THREE="",o.CALENDAR_DAY="",o.COMPUTER_MOUSE_MAGNIFYING_GLASS="",o.WAND_MAGIC_SPARKLES="",o.PAPER_PLANE="",o.CIRCLE_STOP="",o.ARROW_ROTATE_RIGHT="",o.ARROWS_ROTATE="",o.ALIGN_RIGHT="",o.FORMAT_CLEAR="",o.ALIGN_CENTER="",o.ALIGN_LEFT="",o.PALETTE="",o.BOLD="",o.ITALIC="",o.UNDERLINE="",o.STRIKETHROUGH="",o.LINK_SIMPLE_SLASH="",o.LINK_SIMPLE="",o.ROUTE="",o.CIRCLE_USER_SLASH="",o.CIRCLE_USER_CHECK="",o.LIST_MAGNIFYING_GLASS="",o.MEDAL="",o.THUMBS_UP_THUMBS_DOWN_SOLID="",o.ARROW_TURN_DOWN_RIGHT="",o.FLASK="",o.LOCK_KEYHOLE_OPEN_SOLID="",o.HOURGLASS_END="",o.CIRCLE_QUESTION="",o.EYE="",o.SHARE="󨃱"})(Vt||(Vt={}));var g;(function(o){o.UNKNOWN="",o.ABW="",o.AUDIO="",o.AVI="",o.CHM="",o.CODE="",o.CSV="",o.DITA="",o.EPUB="",o.EXCEL="",o.FLAC="",o.GIF="",o.GZIP="",o.HTML="",o.IMAGE="",o.JPEG="",o.JSON="",o.M4A="",o.MOV="",o.MP3="",o.MP4="",o.OGG="",o.PDF="",o.PNG="",o.POWERPOINT="",o.RAR="",o.STP="",o.TEXT="",o.VIDEO="",o.WAV="",o.WMA="",o.WORD="",o.XML="",o.YAML="",o.ZIP=""})(g||(g={}));var Rp=new Map([...["abw"].map(o=>[o,g.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(o=>[o,g.AUDIO]),...["avi"].map(o=>[o,g.AVI]),...["chm","xhs"].map(o=>[o,g.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(o=>[o,g.CODE]),...["csv"].map(o=>[o,g.CSV]),...["dita","ditamap","ditaval"].map(o=>[o,g.DITA]),...["epub"].map(o=>[o,g.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(o=>[o,g.EXCEL]),...["flac"].map(o=>[o,g.FLAC]),...["gif"].map(o=>[o,g.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(o=>[o,g.GZIP]),...["html","htm","xhtml"].map(o=>[o,g.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(o=>[o,g.IMAGE]),...["jpeg","jpg","jpe"].map(o=>[o,g.JPEG]),...["json"].map(o=>[o,g.JSON]),...["m4a","m4p"].map(o=>[o,g.M4A]),...["mov","qt"].map(o=>[o,g.MOV]),...["mp3"].map(o=>[o,g.MP3]),...["mp4","m4v"].map(o=>[o,g.MP4]),...["ogg","oga"].map(o=>[o,g.OGG]),...["pdf","ps"].map(o=>[o,g.PDF]),...["png"].map(o=>[o,g.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(o=>[o,g.POWERPOINT]),...["rar"].map(o=>[o,g.RAR]),...["stp"].map(o=>[o,g.STP]),...["txt","rtf","md","mdown"].map(o=>[o,g.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(o=>[o,g.VIDEO]),...["wav"].map(o=>[o,g.WAV]),...["wma"].map(o=>[o,g.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(o=>[o,g.WORD]),...["xml","xsl","rdf"].map(o=>[o,g.XML]),...["yaml","yml","x-yaml"].map(o=>[o,g.YAML]),...["zip"].map(o=>[o,g.ZIP])]);var $p={[g.ABW]:"#91ABC6",[g.AUDIO]:"#1795E3",[g.AVI]:"#E63324",[g.CHM]:"#71C3EB",[g.CODE]:"#71C3EB",[g.CSV]:"#1F7345",[g.DITA]:"#71C3EB",[g.EPUB]:"#85B926",[g.EXCEL]:"#1F7345",[g.FLAC]:"#1795E3",[g.GIF]:"#59B031",[g.GZIP]:"#F8AB36",[g.HTML]:"#71C3EB",[g.IMAGE]:"#59B031",[g.JPEG]:"#59B031",[g.JSON]:"#71C3EB",[g.M4A]:"#1795E3",[g.MOV]:"#E63324",[g.MP3]:"#1795E3",[g.MP4]:"#E63324",[g.OGG]:"#1795E3",[g.PDF]:"#E44948",[g.PNG]:"#59B031",[g.POWERPOINT]:"#B54A2B",[g.RAR]:"#F8AB36",[g.STP]:"#3764B1",[g.TEXT]:"#3162AB",[g.UNKNOWN]:"#999999",[g.VIDEO]:"#E63324",[g.WAV]:"#1795E3",[g.WMA]:"#1795E3",[g.WORD]:"#3162AB",[g.XML]:"#71C3EB",[g.YAML]:"#71C3EB",[g.ZIP]:"#F8AB36"};var hi=u(T()),$t=u(R()),q={size:$t.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:$t.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",$t.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:$t.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",$t.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:$t.FtCssVariableFactory.extend("--ft-icon-material-font-family","",$t.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:$t.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},gi=hi.css`
|
|
370
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,a;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(a=this.target)===null||a===void 0||a.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let a=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;a&&this.setupFor((r=this.target)!==null&&r!==void 0?r:a)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...p)=>f=>{p.forEach(y=>window.addEventListener(y,this.endPress,{once:!0})),this.startPress(f)},a=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),l=p=>{["Enter"," "].includes(p.key)&&r("keyup")(p)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",a,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",l,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",a,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",l,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,a=e,i,l;return r.x!=null?{x:i,y:l}=r:a.touches!=null&&(i=a.touches[0].clientX,l=a.touches[0].clientY),{x:i,y:l}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};W.elementDefinitions={};W.styles=pn;st([(0,rt.property)({type:Boolean})],W.prototype,"primary",void 0);st([(0,rt.property)({type:Boolean})],W.prototype,"secondary",void 0);st([(0,rt.property)({type:Boolean})],W.prototype,"unbounded",void 0);st([(0,rt.property)({type:Boolean})],W.prototype,"activated",void 0);st([(0,rt.property)({type:Boolean})],W.prototype,"selected",void 0);st([(0,rt.property)({type:Boolean})],W.prototype,"disabled",void 0);st([(0,rt.state)()],W.prototype,"hovered",void 0);st([(0,rt.state)()],W.prototype,"focused",void 0);st([(0,rt.state)()],W.prototype,"pressed",void 0);st([(0,rt.state)()],W.prototype,"rippling",void 0);st([(0,rt.state)()],W.prototype,"originX",void 0);st([(0,rt.state)()],W.prototype,"originY",void 0);st([(0,rt.query)(".ft-ripple")],W.prototype,"ripple",void 0);st([(0,rt.query)(".ft-ripple--effect")],W.prototype,"rippleEffect",void 0);(0,yn.customElement)("ft-ripple")(W);var xn=h(R());var Ae=h(z()),jt=h(ut()),mn=h(R()),bn=h(po());var Vt;(function(o){o.ADD_TO_PBK="",o.ALERT="",o.ADD_ALERT="",o.BACK_TO_SEARCH="",o.ADD_BOOKMARK="",o.BOOKMARK="",o.BOOKS="",o.MENU="",o.DOWNLOAD="",o.EDIT="",o.FEEDBACK="",o.HOME="",o.MODIFY_PBK="",o.SCHEDULED="",o.SEARCH="",o.EXPORT="",o.TOC="",o.WRITE_UGC="",o.TRASH="",o.USER="",o.EXTLINK="",o.CALENDAR="",o.OFFLINE="",o.BOOK="",o.DOWNLOAD_PLAIN="",o.CHECK="",o.STAR_PLAIN="",o.TOPICS="",o.DISC="",o.CIRCLE="",o.SHARED="",o.SORT_UNSORTED="",o.SORT_UP="",o.SORT_DOWN="",o.WORKING="",o.CLOSE="",o.ZOOM_OUT="",o.ZOOM_IN="",o.ZOOM_REALSIZE="",o.ZOOM_FULLSCREEN="",o.ADMIN_RESTRICTED="",o.ADMIN="",o.ADMIN_KHUB="",o.ADMIN_THEME="",o.ADMIN_USERS="",o.WARNING="",o.CONTEXT="",o.SEARCH_HOME="",o.STEPS="",o.ICON_EXPAND="",o.ICON_COLLAPSE="",o.INFO="",o.MINUS_PLAIN="",o.PLUS_PLAIN="",o.FACET_HAS_DESCENDANT="",o.TRIANGLE_BOTTOM="",o.TRIANGLE_LEFT="",o.TRIANGLE_RIGHT="",o.TRIANGLE_TOP="",o.THIN_ARROW="",o.SIGN_IN="",o.LOGOUT="",o.TRANSLATE="",o.CLOSE_PLAIN="",o.CHECK_PLAIN="",o.ARTICLE="",o.COLUMNS="",o.ANALYTICS="",o.COLLECTIONS="",o.ARROW_DOWN="",o.ARROW_LEFT="",o.ARROW_RIGHT="",o.ARROW_UP="",o.SEARCH_IN_PUBLICATION="",o.COPY_TO_CLIPBOARD="",o.SHARED_PBK="",o.ATTACHMENTS="",o.STRIPE_ARROW_LEFT="",o.STRIPE_ARROW_RIGHT="",o.FILTERS="",o.DOT="",o.MINUS="",o.PLUS="",o.MAILS_AND_NOTIFICATIONS="",o.SAVE="",o.LOCKER="",o.ADMIN_INTEGRATION="",o.SYNC="",o.TAG="",o.BOOK_PLAIN="",o.UPLOAD="",o.ONLINE="",o.TAG_PLAIN="",o.ACCOUNT_SETTINGS="",o.PRINT="",o.DEFAULT_ROLES="",o.SHORTCUT_MENU="",o.RELATIVES_PLAIN="",o.RELATIVES="",o.PAUSE="",o.PLAY="",o.ADMIN_PORTAL="",o.STAR="",o.THUMBS_DOWN="",o.THUMBS_DOWN_PLAIN="",o.THUMBS_UP="",o.THUMBS_UP_PLAIN="",o.FEEDBACK_PLAIN="",o.RATE_PLAIN="",o.RATE="",o.OFFLINE_SETTINGS="",o.MY_COLLECTIONS="",o.THIN_ARROW_LEFT="",o.THIN_ARROW_RIGHT="",o.RESET="",o.MY_LIBRARY="",o.UNSTRUCTURED_DOC="",o.CONTEXTUAL="",o.THIN_ARROW_UP="",o.ARROW_RIGHT_TO_LINE="",o.DESKTOP="",o.TABLET_LANDSCAPE="",o.TABLET_PORTRAIT="",o.MOBILE_LANDSCAPE="",o.MOBILE_PORTRAIT="",o.DIAGRAM_SUNBURST="",o.DIAGRAM_SANKEY="",o.COMMENT_QUESTION="",o.COMMENT_QUESTION_PLAIN="",o.MESSAGE_BOT="",o.CHART_SIMPLE="",o.BARS_PROGRESS="",o.BOOK_OPEN_GEAR="",o.BOOK_OPEN_GEAR_SLASH="",o.LINE_CHART="",o.STACKED_CHART="",o.CHART_BAR_STACKED="",o.CHART_BAR_GROUPED="",o.EYE_SLASH="",o.X_MARK="",o.EXPAND_WIDE="",o.PIP="",o.PIP_WIDE="",o.LIFE_RING="",o.GLOBE="",o.PIGGY_BANK="",o.EXTLINK_LIGHT="",o.CLONE="",o.CLONE_LINK_SIMPLE="",o.CHART_BAR_NORMALIZED="",o.CONSUMER="",o.OCTAGON_XMARK="",o.HOURGLASS_HALF="",o.CLOCK="",o.CLOCK_THREE="",o.CALENDAR_DAY="",o.COMPUTER_MOUSE_MAGNIFYING_GLASS="",o.WAND_MAGIC_SPARKLES="",o.PAPER_PLANE="",o.CIRCLE_STOP="",o.ARROW_ROTATE_RIGHT="",o.ARROWS_ROTATE="",o.ALIGN_RIGHT="",o.FORMAT_CLEAR="",o.ALIGN_CENTER="",o.ALIGN_LEFT="",o.PALETTE="",o.BOLD="",o.ITALIC="",o.UNDERLINE="",o.STRIKETHROUGH="",o.LINK_SIMPLE_SLASH="",o.LINK_SIMPLE="",o.ROUTE="",o.CIRCLE_USER_SLASH="",o.CIRCLE_USER_CHECK="",o.LIST_MAGNIFYING_GLASS="",o.MEDAL="",o.THUMBS_UP_THUMBS_DOWN_SOLID="",o.ARROW_TURN_DOWN_RIGHT="",o.FLASK="",o.LOCK_KEYHOLE_OPEN_SOLID="",o.HOURGLASS_END="",o.CIRCLE_QUESTION="",o.EYE="",o.SHARE="󨃱"})(Vt||(Vt={}));var m;(function(o){o.UNKNOWN="",o.ABW="",o.AUDIO="",o.AVI="",o.CHM="",o.CODE="",o.CSV="",o.DITA="",o.EPUB="",o.EXCEL="",o.FLAC="",o.GIF="",o.GZIP="",o.HTML="",o.IMAGE="",o.JPEG="",o.JSON="",o.M4A="",o.MOV="",o.MP3="",o.MP4="",o.OGG="",o.PDF="",o.PNG="",o.POWERPOINT="",o.RAR="",o.STP="",o.TEXT="",o.VIDEO="",o.WAV="",o.WMA="",o.WORD="",o.XML="",o.YAML="",o.ZIP=""})(m||(m={}));var Pd=new Map([...["abw"].map(o=>[o,m.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(o=>[o,m.AUDIO]),...["avi"].map(o=>[o,m.AVI]),...["chm","xhs"].map(o=>[o,m.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(o=>[o,m.CODE]),...["csv"].map(o=>[o,m.CSV]),...["dita","ditamap","ditaval"].map(o=>[o,m.DITA]),...["epub"].map(o=>[o,m.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(o=>[o,m.EXCEL]),...["flac"].map(o=>[o,m.FLAC]),...["gif"].map(o=>[o,m.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(o=>[o,m.GZIP]),...["html","htm","xhtml"].map(o=>[o,m.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(o=>[o,m.IMAGE]),...["jpeg","jpg","jpe"].map(o=>[o,m.JPEG]),...["json"].map(o=>[o,m.JSON]),...["m4a","m4p"].map(o=>[o,m.M4A]),...["mov","qt"].map(o=>[o,m.MOV]),...["mp3"].map(o=>[o,m.MP3]),...["mp4","m4v"].map(o=>[o,m.MP4]),...["ogg","oga"].map(o=>[o,m.OGG]),...["pdf","ps"].map(o=>[o,m.PDF]),...["png"].map(o=>[o,m.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(o=>[o,m.POWERPOINT]),...["rar"].map(o=>[o,m.RAR]),...["stp"].map(o=>[o,m.STP]),...["txt","rtf","md","mdown"].map(o=>[o,m.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(o=>[o,m.VIDEO]),...["wav"].map(o=>[o,m.WAV]),...["wma"].map(o=>[o,m.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(o=>[o,m.WORD]),...["xml","xsl","rdf"].map(o=>[o,m.XML]),...["yaml","yml","x-yaml"].map(o=>[o,m.YAML]),...["zip"].map(o=>[o,m.ZIP])]);var Bd={[m.ABW]:"#91ABC6",[m.AUDIO]:"#1795E3",[m.AVI]:"#E63324",[m.CHM]:"#71C3EB",[m.CODE]:"#71C3EB",[m.CSV]:"#1F7345",[m.DITA]:"#71C3EB",[m.EPUB]:"#85B926",[m.EXCEL]:"#1F7345",[m.FLAC]:"#1795E3",[m.GIF]:"#59B031",[m.GZIP]:"#F8AB36",[m.HTML]:"#71C3EB",[m.IMAGE]:"#59B031",[m.JPEG]:"#59B031",[m.JSON]:"#71C3EB",[m.M4A]:"#1795E3",[m.MOV]:"#E63324",[m.MP3]:"#1795E3",[m.MP4]:"#E63324",[m.OGG]:"#1795E3",[m.PDF]:"#E44948",[m.PNG]:"#59B031",[m.POWERPOINT]:"#B54A2B",[m.RAR]:"#F8AB36",[m.STP]:"#3764B1",[m.TEXT]:"#3162AB",[m.UNKNOWN]:"#999999",[m.VIDEO]:"#E63324",[m.WAV]:"#1795E3",[m.WMA]:"#1795E3",[m.WORD]:"#3162AB",[m.XML]:"#71C3EB",[m.YAML]:"#71C3EB",[m.ZIP]:"#F8AB36"};var gn=h(z()),Rt=h(R()),J={size:Rt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Rt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Rt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Rt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Rt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Rt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Rt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Rt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},hn=gn.css`
|
|
371
371
|
:host, i.ft-icon {
|
|
372
372
|
display: inline-flex;
|
|
373
373
|
align-items: center;
|
|
@@ -376,14 +376,14 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
376
376
|
}
|
|
377
377
|
|
|
378
378
|
:host {
|
|
379
|
-
width: ${
|
|
380
|
-
height: ${
|
|
379
|
+
width: ${J.size};
|
|
380
|
+
height: ${J.size};
|
|
381
381
|
}
|
|
382
382
|
|
|
383
383
|
i.ft-icon {
|
|
384
384
|
width: 100%;
|
|
385
385
|
height: 100%;
|
|
386
|
-
font-size: ${
|
|
386
|
+
font-size: ${J.size};
|
|
387
387
|
line-height: 1;
|
|
388
388
|
font-weight: normal;
|
|
389
389
|
text-transform: none;
|
|
@@ -394,33 +394,33 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
394
394
|
text-rendering: auto;
|
|
395
395
|
-webkit-font-smoothing: antialiased;
|
|
396
396
|
-moz-osx-font-smoothing: grayscale;
|
|
397
|
-
vertical-align: ${
|
|
397
|
+
vertical-align: ${J.verticalAlign};
|
|
398
398
|
}
|
|
399
399
|
|
|
400
400
|
i.ft-icon.ft-icon--fluid-topics {
|
|
401
|
-
font-family: ${
|
|
401
|
+
font-family: ${J.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
402
402
|
|
|
403
403
|
/* Ugly fix because font is broken */
|
|
404
|
-
font-size: calc(0.75 * ${
|
|
405
|
-
line-height: ${
|
|
404
|
+
font-size: calc(0.75 * ${J.size});
|
|
405
|
+
line-height: ${J.size};
|
|
406
406
|
position: relative;
|
|
407
407
|
top: -4%;
|
|
408
408
|
justify-content: center;
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
.ft-icon--file-format {
|
|
412
|
-
font-family: ${
|
|
412
|
+
font-family: ${J.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
413
413
|
}
|
|
414
414
|
|
|
415
415
|
.ft-icon--material {
|
|
416
|
-
font-family: ${
|
|
416
|
+
font-family: ${J.materialFontFamily}, "Material Icons", sans-serif;
|
|
417
417
|
}
|
|
418
|
-
`;var Ct;(function(o){o.fluid_topics="fluid-topics",o.file_format="file-format",o.material="material"})(Ct||(Ct={}));var qe=function(o,e,r,
|
|
418
|
+
`;var Ct;(function(o){o.fluid_topics="fluid-topics",o.file_format="file-format",o.material="material"})(Ct||(Ct={}));var qe=function(o,e,r,a){var i=arguments.length,l=i<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,r):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,e,r,a);else for(var p=o.length-1;p>=0;p--)(s=o[p])&&(l=(i<3?s(l):i>3?s(e,r,l):s(e,r))||l);return i>3&&l&&Object.defineProperty(e,r,l),l},tt=class extends mn.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Ae.nothing}render(){let e=this.variant&&Object.values(Ct).includes(this.variant)?this.variant:Ct.fluid_topics,r=e!==Ct.material||!!this.value;return Ae.html`
|
|
419
419
|
<i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
|
|
420
|
-
${(0,
|
|
420
|
+
${(0,bn.unsafeHTML)(this.resolvedIcon)}
|
|
421
421
|
<slot ?hidden=${r}></slot>
|
|
422
422
|
</i>
|
|
423
|
-
`}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(
|
|
423
|
+
`}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(a=>a.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let a=this.value||this.textContent;switch(this.variant){case Ct.file_format:this.resolvedIcon=(e=m[a.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:a;break;case Ct.material:this.resolvedIcon=this.value||Ae.nothing;break;default:this.resolvedIcon=(r=Vt[a.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:a;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};tt.elementDefinitions={};tt.styles=hn;qe([(0,jt.property)()],tt.prototype,"variant",void 0);qe([(0,jt.property)()],tt.prototype,"value",void 0);qe([(0,jt.state)()],tt.prototype,"resolvedIcon",void 0);qe([(0,jt.query)("slot")],tt.prototype,"slottedContent",void 0);(0,xn.customElement)("ft-icon")(tt);var Sn=h(z()),N=h(R());var A={labelSize:N.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:N.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:N.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:N.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:N.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:N.FtCssVariableFactory.extend("--ft-select-selected-option-color","",N.designSystemVariables.colorOnSurface),helperColor:N.FtCssVariableFactory.extend("--ft-select-helper-color","",N.designSystemVariables.colorOnSurfaceMedium),optionsColor:N.FtCssVariableFactory.extend("--ft-select-options-color","",N.designSystemVariables.colorOnSurface),optionsZIndex:N.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:N.FtCssVariableFactory.external(N.designSystemVariables.colorSurface,"Design system"),colorOnSurfaceDisabled:N.FtCssVariableFactory.external(N.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:N.FtCssVariableFactory.external(N.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:N.FtCssVariableFactory.external(N.designSystemVariables.borderRadiusS,"Design system"),elevation02:N.FtCssVariableFactory.external(N.designSystemVariables.elevation02,"Design system"),colorError:N.FtCssVariableFactory.external(N.designSystemVariables.colorError,"Design system")},On=Sn.css`
|
|
424
424
|
*:focus {
|
|
425
425
|
outline: none;
|
|
426
426
|
}
|
|
@@ -447,13 +447,13 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
447
447
|
padding-right: ${A.horizontalSpacing};
|
|
448
448
|
gap: 8px;
|
|
449
449
|
color: ${A.selectedOptionColor};
|
|
450
|
-
${(0,
|
|
450
|
+
${(0,N.setVariable)(g.color,A.selectedOptionColor)};
|
|
451
451
|
}
|
|
452
452
|
|
|
453
453
|
.ft-select--input-panel,
|
|
454
454
|
.ft-select--option {
|
|
455
|
-
${(0,
|
|
456
|
-
${(0,
|
|
455
|
+
${(0,N.setVariable)(g.opacityContentOnSurfaceHover,"0.08")};
|
|
456
|
+
${(0,N.setVariable)(g.opacityContentOnSurfacePressed,"0.04")};
|
|
457
457
|
}
|
|
458
458
|
|
|
459
459
|
.ft-select--input-panel > *:not(ft-ripple),
|
|
@@ -472,11 +472,11 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
472
472
|
}
|
|
473
473
|
|
|
474
474
|
ft-input-label {
|
|
475
|
-
${(0,
|
|
476
|
-
${(0,
|
|
477
|
-
${(0,
|
|
478
|
-
${(0,
|
|
479
|
-
${(0,
|
|
475
|
+
${(0,N.setVariable)(v.fontSize,A.selectedOptionSize)};
|
|
476
|
+
${(0,N.setVariable)(v.raisedFontSize,A.labelSize)};
|
|
477
|
+
${(0,N.setVariable)(v.verticalSpacing,A.verticalSpacing)};
|
|
478
|
+
${(0,N.setVariable)(v.horizontalSpacing,A.horizontalSpacing)};
|
|
479
|
+
${(0,N.setVariable)(v.labelMaxWidth,`calc(100% - ${J.size} - 8px)`)};
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
.ft-select:not(.ft-select--disabled):focus-within ft-icon {
|
|
@@ -484,8 +484,8 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
484
484
|
}
|
|
485
485
|
|
|
486
486
|
.ft-select:not(.ft-select--disabled):focus-within ft-input-label {
|
|
487
|
-
${(0,
|
|
488
|
-
${(0,
|
|
487
|
+
${(0,N.setVariable)(v.borderColor,A.colorPrimary)};
|
|
488
|
+
${(0,N.setVariable)(v.textColor,A.colorPrimary)};
|
|
489
489
|
}
|
|
490
490
|
|
|
491
491
|
.ft-select--selected-option {
|
|
@@ -495,8 +495,8 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
495
495
|
overflow: hidden;
|
|
496
496
|
white-space: nowrap;
|
|
497
497
|
text-overflow: ellipsis;
|
|
498
|
-
${(0,
|
|
499
|
-
${(0,
|
|
498
|
+
${(0,N.setVariable)(gt.fontSize,A.selectedOptionSize)};
|
|
499
|
+
${(0,N.setVariable)(gt.lineHeight,A.selectedOptionSize)};
|
|
500
500
|
}
|
|
501
501
|
|
|
502
502
|
.ft-select--in-error .ft-select--selected-option {
|
|
@@ -565,14 +565,14 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
565
565
|
.ft-select--in-error .ft-select--helper-text {
|
|
566
566
|
color: ${A.colorError};
|
|
567
567
|
}
|
|
568
|
-
`;var Oi=["top","right","bottom","left"],vi=["start","end"],wo=Oi.reduce((o,e)=>o.concat(e,e+"-"+vi[0],e+"-"+vi[1]),[]),Pe=Math.min,Ht=Math.max,Ie=Math.round;var At=o=>({x:o,y:o}),Tn={left:"right",right:"left",bottom:"top",top:"bottom"},_n={start:"end",end:"start"};function No(o,e,r){return Ht(o,Pe(e,r))}function Je(o,e){return typeof o=="function"?o(e):o}function de(o){return o.split("-")[0]}function Ut(o){return o.split("-")[1]}function Eo(o){return o==="x"?"y":"x"}function Ro(o){return o==="y"?"height":"width"}function Qe(o){return["top","bottom"].includes(de(o))?"y":"x"}function $o(o){return Eo(Qe(o))}function Ci(o,e,r){r===void 0&&(r=!1);let i=Ut(o),a=$o(o),l=Ro(a),c=a==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[l]>e.floating[l]&&(c=Co(c)),[c,Co(c)]}function wi(o){return o.replace(/start|end/g,e=>_n[e])}function Co(o){return o.replace(/left|right|bottom|top/g,e=>Tn[e])}function kn(o){return{top:0,right:0,bottom:0,left:0,...o}}function Ni(o){return typeof o!="number"?kn(o):{top:o,right:o,bottom:o,left:o}}function Yt(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function Ei(o,e,r){let{reference:i,floating:a}=o,l=Qe(e),c=$o(e),p=Ro(c),d=de(e),f=l==="y",b=i.x+i.width/2-a.width/2,y=i.y+i.height/2-a.height/2,E=i[p]/2-a[p]/2,O;switch(d){case"top":O={x:b,y:i.y-a.height};break;case"bottom":O={x:b,y:i.y+i.height};break;case"right":O={x:i.x+i.width,y};break;case"left":O={x:i.x-a.width,y};break;default:O={x:i.x,y:i.y}}switch(Ut(e)){case"start":O[c]-=E*(r&&f?-1:1);break;case"end":O[c]+=E*(r&&f?-1:1);break}return O}var Ri=async(o,e,r)=>{let{placement:i="bottom",strategy:a="absolute",middleware:l=[],platform:c}=r,p=l.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(e)),f=await c.getElementRects({reference:o,floating:e,strategy:a}),{x:b,y}=Ei(f,i,d),E=i,O={},z=0;for(let M=0;M<p.length;M++){let{name:Y,fn:F}=p[M],{x:X,y:nt,data:Tt,reset:rt}=await F({x:b,y,initialPlacement:i,placement:E,strategy:a,middlewareData:O,rects:f,platform:c,elements:{reference:o,floating:e}});if(b=X??b,y=nt??y,O={...O,[Y]:{...O[Y],...Tt}},rt&&z<=50){z++,typeof rt=="object"&&(rt.placement&&(E=rt.placement),rt.rects&&(f=rt.rects===!0?await c.getElementRects({reference:o,floating:e,strategy:a}):rt.rects),{x:b,y}=Ei(f,E,d)),M=-1;continue}}return{x:b,y,placement:E,strategy:a,middlewareData:O}};async function Ao(o,e){var r;e===void 0&&(e={});let{x:i,y:a,platform:l,rects:c,elements:p,strategy:d}=o,{boundary:f="clippingAncestors",rootBoundary:b="viewport",elementContext:y="floating",altBoundary:E=!1,padding:O=0}=Je(e,o),z=Ni(O),Y=p[E?y==="floating"?"reference":"floating":y],F=Yt(await l.getClippingRect({element:(r=await(l.isElement==null?void 0:l.isElement(Y)))==null||r?Y:Y.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(p.floating)),boundary:f,rootBoundary:b,strategy:d})),X=y==="floating"?{...c.floating,x:i,y:a}:c.reference,nt=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p.floating)),Tt=await(l.isElement==null?void 0:l.isElement(nt))?await(l.getScale==null?void 0:l.getScale(nt))||{x:1,y:1}:{x:1,y:1},rt=Yt(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({rect:X,offsetParent:nt,strategy:d}):X);return{top:(F.top-rt.top+z.top)/Tt.y,bottom:(rt.bottom-F.bottom+z.bottom)/Tt.y,left:(F.left-rt.left+z.left)/Tt.x,right:(rt.right-F.right+z.right)/Tt.x}}function Dn(o,e,r){return(o?[...r.filter(a=>Ut(a)===o),...r.filter(a=>Ut(a)!==o)]:r.filter(a=>de(a)===a)).filter(a=>o?Ut(a)===o||(e?wi(a)!==a:!1):!0)}var Lo=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(e){var r,i,a;let{rects:l,middlewareData:c,placement:p,platform:d,elements:f}=e,{crossAxis:b=!1,alignment:y,allowedPlacements:E=wo,autoAlignment:O=!0,...z}=Je(o,e),M=y!==void 0||E===wo?Dn(y||null,O,E):E,Y=await Ao(e,z),F=((r=c.autoPlacement)==null?void 0:r.index)||0,X=M[F];if(X==null)return{};let nt=Ci(X,l,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(p!==X)return{reset:{placement:M[0]}};let Tt=[Y[de(X)],Y[nt[0]],Y[nt[1]]],rt=[...((i=c.autoPlacement)==null?void 0:i.overflows)||[],{placement:X,overflows:Tt}],Uo=M[F+1];if(Uo)return{data:{index:F+1,overflows:rt},reset:{placement:Uo}};let Go=rt.map(vt=>{let Ce=Ut(vt.placement);return[vt.placement,Ce&&b?vt.overflows.slice(0,2).reduce((On,Cn)=>On+Cn,0):vt.overflows[0],vt.overflows]}).sort((vt,Ce)=>vt[1]-Ce[1]),Zo=((a=Go.filter(vt=>vt[2].slice(0,Ut(vt[0])?2:3).every(Ce=>Ce<=0))[0])==null?void 0:a[0])||Go[0][0];return Zo!==p?{data:{index:F+1,overflows:rt},reset:{placement:Zo}}:{}}}};var Po=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(e){let{x:r,y:i,placement:a}=e,{mainAxis:l=!0,crossAxis:c=!1,limiter:p={fn:Y=>{let{x:F,y:X}=Y;return{x:F,y:X}}},...d}=Je(o,e),f={x:r,y:i},b=await Ao(e,d),y=Qe(de(a)),E=Eo(y),O=f[E],z=f[y];if(l){let Y=E==="y"?"top":"left",F=E==="y"?"bottom":"right",X=O+b[Y],nt=O-b[F];O=No(X,O,nt)}if(c){let Y=y==="y"?"top":"left",F=y==="y"?"bottom":"right",X=z+b[Y],nt=z-b[F];z=No(X,z,nt)}let M=p.fn({...e,[E]:O,[y]:z});return{...M,data:{x:M.x-r,y:M.y-i}}}}};function Lt(o){return Ai(o)?(o.nodeName||"").toLowerCase():"#document"}function pt(o){var e;return(o==null||(e=o.ownerDocument)==null?void 0:e.defaultView)||window}function Pt(o){var e;return(e=(Ai(o)?o.ownerDocument:o.document)||window.document)==null?void 0:e.documentElement}function Ai(o){return o instanceof Node||o instanceof pt(o).Node}function wt(o){return o instanceof Element||o instanceof pt(o).Element}function xt(o){return o instanceof HTMLElement||o instanceof pt(o).HTMLElement}function $i(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof pt(o).ShadowRoot}function fe(o){let{overflow:e,overflowX:r,overflowY:i,display:a}=ht(o);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&!["inline","contents"].includes(a)}function Li(o){return["table","td","th"].includes(Lt(o))}function eo(o){let e=oo(),r=ht(o);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function Pi(o){let e=Xt(o);for(;xt(e)&&!ze(e);){if(eo(e))return e;e=Xt(e)}return null}function oo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ze(o){return["html","body","#document"].includes(Lt(o))}function ht(o){return pt(o).getComputedStyle(o)}function We(o){return wt(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function Xt(o){if(Lt(o)==="html")return o;let e=o.assignedSlot||o.parentNode||$i(o)&&o.host||Pt(o);return $i(e)?e.host:e}function Ii(o){let e=Xt(o);return ze(e)?o.ownerDocument?o.ownerDocument.body:o.body:xt(e)&&fe(e)?e:Ii(e)}function to(o,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);let a=Ii(o),l=a===((i=o.ownerDocument)==null?void 0:i.body),c=pt(a);return l?e.concat(c,c.visualViewport||[],fe(a)?a:[],c.frameElement&&r?to(c.frameElement):[]):e.concat(a,to(a,[],r))}function Bi(o){let e=ht(o),r=parseFloat(e.width)||0,i=parseFloat(e.height)||0,a=xt(o),l=a?o.offsetWidth:r,c=a?o.offsetHeight:i,p=Ie(r)!==l||Ie(i)!==c;return p&&(r=l,i=c),{width:r,height:i,$:p}}function Ti(o){return wt(o)?o:o.contextElement}function ue(o){let e=Ti(o);if(!xt(e))return At(1);let r=e.getBoundingClientRect(),{width:i,height:a,$:l}=Bi(e),c=(l?Ie(r.width):r.width)/i,p=(l?Ie(r.height):r.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!p||!Number.isFinite(p))&&(p=1),{x:c,y:p}}var Gn=At(0);function _i(o){let e=pt(o);return!oo()||!e.visualViewport?Gn:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Zn(o,e,r){return e===void 0&&(e=!1),!r||e&&r!==pt(o)?!1:e}function Be(o,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);let a=o.getBoundingClientRect(),l=Ti(o),c=At(1);e&&(i?wt(i)&&(c=ue(i)):c=ue(o));let p=Zn(l,r,i)?_i(l):At(0),d=(a.left+p.x)/c.x,f=(a.top+p.y)/c.y,b=a.width/c.x,y=a.height/c.y;if(l){let E=pt(l),O=i&&wt(i)?pt(i):i,z=E.frameElement;for(;z&&i&&O!==E;){let M=ue(z),Y=z.getBoundingClientRect(),F=ht(z),X=Y.left+(z.clientLeft+parseFloat(F.paddingLeft))*M.x,nt=Y.top+(z.clientTop+parseFloat(F.paddingTop))*M.y;d*=M.x,f*=M.y,b*=M.x,y*=M.y,d+=X,f+=nt,z=pt(z).frameElement}}return Yt({width:b,height:y,x:d,y:f})}function Mn(o){let{rect:e,offsetParent:r,strategy:i}=o,a=xt(r),l=Pt(r);if(r===l)return e;let c={scrollLeft:0,scrollTop:0},p=At(1),d=At(0);if((a||!a&&i!=="fixed")&&((Lt(r)!=="body"||fe(l))&&(c=We(r)),xt(r))){let f=Be(r);p=ue(r),d.x=f.x+r.clientLeft,d.y=f.y+r.clientTop}return{width:e.width*p.x,height:e.height*p.y,x:e.x*p.x-c.scrollLeft*p.x+d.x,y:e.y*p.y-c.scrollTop*p.y+d.y}}function Fn(o){return Array.from(o.getClientRects())}function ki(o){return Be(Pt(o)).left+We(o).scrollLeft}function Kn(o){let e=Pt(o),r=We(o),i=o.ownerDocument.body,a=Ht(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),l=Ht(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),c=-r.scrollLeft+ki(o),p=-r.scrollTop;return ht(i).direction==="rtl"&&(c+=Ht(e.clientWidth,i.clientWidth)-a),{width:a,height:l,x:c,y:p}}function Vn(o,e){let r=pt(o),i=Pt(o),a=r.visualViewport,l=i.clientWidth,c=i.clientHeight,p=0,d=0;if(a){l=a.width,c=a.height;let f=oo();(!f||f&&e==="fixed")&&(p=a.offsetLeft,d=a.offsetTop)}return{width:l,height:c,x:p,y:d}}function jn(o,e){let r=Be(o,!0,e==="fixed"),i=r.top+o.clientTop,a=r.left+o.clientLeft,l=xt(o)?ue(o):At(1),c=o.clientWidth*l.x,p=o.clientHeight*l.y,d=a*l.x,f=i*l.y;return{width:c,height:p,x:d,y:f}}function zi(o,e,r){let i;if(e==="viewport")i=Vn(o,r);else if(e==="document")i=Kn(Pt(o));else if(wt(e))i=jn(e,r);else{let a=_i(o);i={...e,x:e.x-a.x,y:e.y-a.y}}return Yt(i)}function Di(o,e){let r=Xt(o);return r===e||!wt(r)||ze(r)?!1:ht(r).position==="fixed"||Di(r,e)}function Yn(o,e){let r=e.get(o);if(r)return r;let i=to(o,[],!1).filter(p=>wt(p)&&Lt(p)!=="body"),a=null,l=ht(o).position==="fixed",c=l?Xt(o):o;for(;wt(c)&&!ze(c);){let p=ht(c),d=eo(c);!d&&p.position==="fixed"&&(a=null),(l?!d&&!a:!d&&p.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||fe(c)&&!d&&Di(o,c))?i=i.filter(b=>b!==c):a=p,c=Xt(c)}return e.set(o,i),i}function Xn(o){let{element:e,boundary:r,rootBoundary:i,strategy:a}=o,c=[...r==="clippingAncestors"?Yn(e,this._c):[].concat(r),i],p=c[0],d=c.reduce((f,b)=>{let y=zi(e,b,a);return f.top=Ht(y.top,f.top),f.right=Pe(y.right,f.right),f.bottom=Pe(y.bottom,f.bottom),f.left=Ht(y.left,f.left),f},zi(e,p,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function qn(o){return Bi(o)}function Jn(o,e,r){let i=xt(e),a=Pt(e),l=r==="fixed",c=Be(o,!0,l,e),p={scrollLeft:0,scrollTop:0},d=At(0);if(i||!i&&!l)if((Lt(e)!=="body"||fe(a))&&(p=We(e)),i){let f=Be(e,!0,l,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else a&&(d.x=ki(a));return{x:c.left+p.scrollLeft-d.x,y:c.top+p.scrollTop-d.y,width:c.width,height:c.height}}function Wi(o,e){return!xt(o)||ht(o).position==="fixed"?null:e?e(o):o.offsetParent}function Hi(o,e){let r=pt(o);if(!xt(o))return r;let i=Wi(o,e);for(;i&&Li(i)&&ht(i).position==="static";)i=Wi(i,e);return i&&(Lt(i)==="html"||Lt(i)==="body"&&ht(i).position==="static"&&!eo(i))?r:i||Pi(o)||r}var Qn=async function(o){let{reference:e,floating:r,strategy:i}=o,a=this.getOffsetParent||Hi,l=this.getDimensions;return{reference:Jn(e,await a(r),i),floating:{x:0,y:0,...await l(r)}}};function ta(o){return ht(o).direction==="rtl"}var ro={convertOffsetParentRelativeRectToViewportRelativeRect:Mn,getDocumentElement:Pt,getClippingRect:Xn,getOffsetParent:Hi,getElementRects:Qn,getClientRects:Fn,getDimensions:qn,getScale:ue,isElement:wt,isRTL:ta};var Ui=(o,e,r)=>{let i=new Map,a={platform:ro,...r},l={...a.platform,_c:i};return Ri(o,e,{...a,platform:l})};function Gi(o){return ea(o)}function Io(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function ea(o){for(let e=o;e;e=Io(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Io(o);e;e=Io(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function he(o,e,r){return Ui(o,e,{platform:{...ro,getOffsetParent:i=>ro.getOffsetParent(i,Gi)},middleware:[Po({crossAxis:!0}),Lo({allowedPlacements:[r]})]})}var H=function(o,e,r,i){var a=arguments.length,l=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(c=o[p])&&(l=(a<3?c(l):a>3?c(e,r,l):c(e,r))||l);return a>3&&l&&Object.defineProperty(e,r,l),l},Gt=class extends _e.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return Te.html``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Gt.elementDefinitions={};H([(0,D.property)({type:String})],Gt.prototype,"label",void 0);H([(0,D.property)({type:Object,converter:o=>o})],Gt.prototype,"value",void 0);H([(0,D.property)({type:Boolean,reflect:!0})],Gt.prototype,"selected",void 0);var k=class extends _e.FtLitElement{constructor(){super(...arguments),this.label="",this.ariaLabel="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}render(){var e,r,i,a,l;let c=this.hasOptionsMenuOpen,p=this.disabled||!this.hasOptions,d=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((i=(r=this.selectedOption)===null||r===void 0?void 0:r.label)!==null&&i!==void 0?i:"").length>0,f={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":p,"ft-select--options-displayed":c,"ft-select--has-option-selected":d,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return Te.html`
|
|
569
|
-
<div class="${(0,
|
|
568
|
+
`;var Cn=["top","right","bottom","left"],vn=["start","end"],wo=Cn.reduce((o,e)=>o.concat(e,e+"-"+vn[0],e+"-"+vn[1]),[]),Ie=Math.min,Ht=Math.max,Pe=Math.round;var Lt=o=>({x:o,y:o}),za={left:"right",right:"left",bottom:"top",top:"bottom"},Ta={start:"end",end:"start"};function No(o,e,r){return Ht(o,Ie(e,r))}function Je(o,e){return typeof o=="function"?o(e):o}function pe(o){return o.split("-")[0]}function Ut(o){return o.split("-")[1]}function Eo(o){return o==="x"?"y":"x"}function $o(o){return o==="y"?"height":"width"}function Qe(o){return["top","bottom"].includes(pe(o))?"y":"x"}function Ro(o){return Eo(Qe(o))}function wn(o,e,r){r===void 0&&(r=!1);let a=Ut(o),i=Ro(o),l=$o(i),s=i==="x"?a===(r?"end":"start")?"right":"left":a==="start"?"bottom":"top";return e.reference[l]>e.floating[l]&&(s=Co(s)),[s,Co(s)]}function Nn(o){return o.replace(/start|end/g,e=>Ta[e])}function Co(o){return o.replace(/left|right|bottom|top/g,e=>za[e])}function _a(o){return{top:0,right:0,bottom:0,left:0,...o}}function En(o){return typeof o!="number"?_a(o):{top:o,right:o,bottom:o,left:o}}function Yt(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function $n(o,e,r){let{reference:a,floating:i}=o,l=Qe(e),s=Ro(e),p=$o(s),f=pe(e),y=l==="y",S=a.x+a.width/2-i.width/2,x=a.y+a.height/2-i.height/2,$=a[p]/2-i[p]/2,w;switch(f){case"top":w={x:S,y:a.y-i.height};break;case"bottom":w={x:S,y:a.y+a.height};break;case"right":w={x:a.x+a.width,y:x};break;case"left":w={x:a.x-i.width,y:x};break;default:w={x:a.x,y:a.y}}switch(Ut(e)){case"start":w[s]-=$*(r&&y?-1:1);break;case"end":w[s]+=$*(r&&y?-1:1);break}return w}var Rn=async(o,e,r)=>{let{placement:a="bottom",strategy:i="absolute",middleware:l=[],platform:s}=r,p=l.filter(Boolean),f=await(s.isRTL==null?void 0:s.isRTL(e)),y=await s.getElementRects({reference:o,floating:e,strategy:i}),{x:S,y:x}=$n(y,a,f),$=a,w={},B=0;for(let M=0;M<p.length;M++){let{name:X,fn:K}=p[M],{x:q,y:it,data:zt,reset:nt}=await K({x:S,y:x,initialPlacement:a,placement:$,strategy:i,middlewareData:w,rects:y,platform:s,elements:{reference:o,floating:e}});if(S=q??S,x=it??x,w={...w,[X]:{...w[X],...zt}},nt&&B<=50){B++,typeof nt=="object"&&(nt.placement&&($=nt.placement),nt.rects&&(y=nt.rects===!0?await s.getElementRects({reference:o,floating:e,strategy:i}):nt.rects),{x:S,y:x}=$n(y,$,f)),M=-1;continue}}return{x:S,y:x,placement:$,strategy:i,middlewareData:w}};async function Lo(o,e){var r;e===void 0&&(e={});let{x:a,y:i,platform:l,rects:s,elements:p,strategy:f}=o,{boundary:y="clippingAncestors",rootBoundary:S="viewport",elementContext:x="floating",altBoundary:$=!1,padding:w=0}=Je(e,o),B=En(w),X=p[$?x==="floating"?"reference":"floating":x],K=Yt(await l.getClippingRect({element:(r=await(l.isElement==null?void 0:l.isElement(X)))==null||r?X:X.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(p.floating)),boundary:y,rootBoundary:S,strategy:f})),q=x==="floating"?{...s.floating,x:a,y:i}:s.reference,it=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p.floating)),zt=await(l.isElement==null?void 0:l.isElement(it))?await(l.getScale==null?void 0:l.getScale(it))||{x:1,y:1}:{x:1,y:1},nt=Yt(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({rect:q,offsetParent:it,strategy:f}):q);return{top:(K.top-nt.top+B.top)/zt.y,bottom:(nt.bottom-K.bottom+B.bottom)/zt.y,left:(K.left-nt.left+B.left)/zt.x,right:(nt.right-K.right+B.right)/zt.x}}function Da(o,e,r){return(o?[...r.filter(i=>Ut(i)===o),...r.filter(i=>Ut(i)!==o)]:r.filter(i=>pe(i)===i)).filter(i=>o?Ut(i)===o||(e?Nn(i)!==i:!1):!0)}var Ao=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(e){var r,a,i;let{rects:l,middlewareData:s,placement:p,platform:f,elements:y}=e,{crossAxis:S=!1,alignment:x,allowedPlacements:$=wo,autoAlignment:w=!0,...B}=Je(o,e),M=x!==void 0||$===wo?Da(x||null,w,$):$,X=await Lo(e,B),K=((r=s.autoPlacement)==null?void 0:r.index)||0,q=M[K];if(q==null)return{};let it=wn(q,l,await(f.isRTL==null?void 0:f.isRTL(y.floating)));if(p!==q)return{reset:{placement:M[0]}};let zt=[X[pe(q)],X[it[0]],X[it[1]]],nt=[...((a=s.autoPlacement)==null?void 0:a.overflows)||[],{placement:q,overflows:zt}],Uo=M[K+1];if(Uo)return{data:{index:K+1,overflows:nt},reset:{placement:Uo}};let Fo=nt.map(Ot=>{let Ce=Ut(Ot.placement);return[Ot.placement,Ce&&S?Ot.overflows.slice(0,2).reduce((va,Ca)=>va+Ca,0):Ot.overflows[0],Ot.overflows]}).sort((Ot,Ce)=>Ot[1]-Ce[1]),Go=((i=Fo.filter(Ot=>Ot[2].slice(0,Ut(Ot[0])?2:3).every(Ce=>Ce<=0))[0])==null?void 0:i[0])||Fo[0][0];return Go!==p?{data:{index:K+1,overflows:nt},reset:{placement:Go}}:{}}}};var Io=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(e){let{x:r,y:a,placement:i}=e,{mainAxis:l=!0,crossAxis:s=!1,limiter:p={fn:X=>{let{x:K,y:q}=X;return{x:K,y:q}}},...f}=Je(o,e),y={x:r,y:a},S=await Lo(e,f),x=Qe(pe(i)),$=Eo(x),w=y[$],B=y[x];if(l){let X=$==="y"?"top":"left",K=$==="y"?"bottom":"right",q=w+S[X],it=w-S[K];w=No(q,w,it)}if(s){let X=x==="y"?"top":"left",K=x==="y"?"bottom":"right",q=B+S[X],it=B-S[K];B=No(q,B,it)}let M=p.fn({...e,[$]:w,[x]:B});return{...M,data:{x:M.x-r,y:M.y-a}}}}};function At(o){return An(o)?(o.nodeName||"").toLowerCase():"#document"}function dt(o){var e;return(o==null||(e=o.ownerDocument)==null?void 0:e.defaultView)||window}function It(o){var e;return(e=(An(o)?o.ownerDocument:o.document)||window.document)==null?void 0:e.documentElement}function An(o){return o instanceof Node||o instanceof dt(o).Node}function wt(o){return o instanceof Element||o instanceof dt(o).Element}function xt(o){return o instanceof HTMLElement||o instanceof dt(o).HTMLElement}function Ln(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof dt(o).ShadowRoot}function fe(o){let{overflow:e,overflowX:r,overflowY:a,display:i}=yt(o);return/auto|scroll|overlay|hidden|clip/.test(e+a+r)&&!["inline","contents"].includes(i)}function In(o){return["table","td","th"].includes(At(o))}function eo(o){let e=oo(),r=yt(o);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(a=>(r.willChange||"").includes(a))||["paint","layout","strict","content"].some(a=>(r.contain||"").includes(a))}function Pn(o){let e=Xt(o);for(;xt(e)&&!Be(e);){if(eo(e))return e;e=Xt(e)}return null}function oo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Be(o){return["html","body","#document"].includes(At(o))}function yt(o){return dt(o).getComputedStyle(o)}function We(o){return wt(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function Xt(o){if(At(o)==="html")return o;let e=o.assignedSlot||o.parentNode||Ln(o)&&o.host||It(o);return Ln(e)?e.host:e}function Bn(o){let e=Xt(o);return Be(e)?o.ownerDocument?o.ownerDocument.body:o.body:xt(e)&&fe(e)?e:Bn(e)}function to(o,e,r){var a;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=Bn(o),l=i===((a=o.ownerDocument)==null?void 0:a.body),s=dt(i);return l?e.concat(s,s.visualViewport||[],fe(i)?i:[],s.frameElement&&r?to(s.frameElement):[]):e.concat(i,to(i,[],r))}function zn(o){let e=yt(o),r=parseFloat(e.width)||0,a=parseFloat(e.height)||0,i=xt(o),l=i?o.offsetWidth:r,s=i?o.offsetHeight:a,p=Pe(r)!==l||Pe(a)!==s;return p&&(r=l,a=s),{width:r,height:a,$:p}}function Tn(o){return wt(o)?o:o.contextElement}function ue(o){let e=Tn(o);if(!xt(e))return Lt(1);let r=e.getBoundingClientRect(),{width:a,height:i,$:l}=zn(e),s=(l?Pe(r.width):r.width)/a,p=(l?Pe(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!p||!Number.isFinite(p))&&(p=1),{x:s,y:p}}var Fa=Lt(0);function _n(o){let e=dt(o);return!oo()||!e.visualViewport?Fa:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ga(o,e,r){return e===void 0&&(e=!1),!r||e&&r!==dt(o)?!1:e}function ke(o,e,r,a){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=o.getBoundingClientRect(),l=Tn(o),s=Lt(1);e&&(a?wt(a)&&(s=ue(a)):s=ue(o));let p=Ga(l,r,a)?_n(l):Lt(0),f=(i.left+p.x)/s.x,y=(i.top+p.y)/s.y,S=i.width/s.x,x=i.height/s.y;if(l){let $=dt(l),w=a&&wt(a)?dt(a):a,B=$.frameElement;for(;B&&a&&w!==$;){let M=ue(B),X=B.getBoundingClientRect(),K=yt(B),q=X.left+(B.clientLeft+parseFloat(K.paddingLeft))*M.x,it=X.top+(B.clientTop+parseFloat(K.paddingTop))*M.y;f*=M.x,y*=M.y,S*=M.x,x*=M.y,f+=q,y+=it,B=dt(B).frameElement}}return Yt({width:S,height:x,x:f,y})}function Za(o){let{rect:e,offsetParent:r,strategy:a}=o,i=xt(r),l=It(r);if(r===l)return e;let s={scrollLeft:0,scrollTop:0},p=Lt(1),f=Lt(0);if((i||!i&&a!=="fixed")&&((At(r)!=="body"||fe(l))&&(s=We(r)),xt(r))){let y=ke(r);p=ue(r),f.x=y.x+r.clientLeft,f.y=y.y+r.clientTop}return{width:e.width*p.x,height:e.height*p.y,x:e.x*p.x-s.scrollLeft*p.x+f.x,y:e.y*p.y-s.scrollTop*p.y+f.y}}function Ma(o){return Array.from(o.getClientRects())}function Dn(o){return ke(It(o)).left+We(o).scrollLeft}function Ka(o){let e=It(o),r=We(o),a=o.ownerDocument.body,i=Ht(e.scrollWidth,e.clientWidth,a.scrollWidth,a.clientWidth),l=Ht(e.scrollHeight,e.clientHeight,a.scrollHeight,a.clientHeight),s=-r.scrollLeft+Dn(o),p=-r.scrollTop;return yt(a).direction==="rtl"&&(s+=Ht(e.clientWidth,a.clientWidth)-i),{width:i,height:l,x:s,y:p}}function Va(o,e){let r=dt(o),a=It(o),i=r.visualViewport,l=a.clientWidth,s=a.clientHeight,p=0,f=0;if(i){l=i.width,s=i.height;let y=oo();(!y||y&&e==="fixed")&&(p=i.offsetLeft,f=i.offsetTop)}return{width:l,height:s,x:p,y:f}}function ja(o,e){let r=ke(o,!0,e==="fixed"),a=r.top+o.clientTop,i=r.left+o.clientLeft,l=xt(o)?ue(o):Lt(1),s=o.clientWidth*l.x,p=o.clientHeight*l.y,f=i*l.x,y=a*l.y;return{width:s,height:p,x:f,y}}function Wn(o,e,r){let a;if(e==="viewport")a=Va(o,r);else if(e==="document")a=Ka(It(o));else if(wt(e))a=ja(e,r);else{let i=_n(o);a={...e,x:e.x-i.x,y:e.y-i.y}}return Yt(a)}function Hn(o,e){let r=Xt(o);return r===e||!wt(r)||Be(r)?!1:yt(r).position==="fixed"||Hn(r,e)}function Ya(o,e){let r=e.get(o);if(r)return r;let a=to(o,[],!1).filter(p=>wt(p)&&At(p)!=="body"),i=null,l=yt(o).position==="fixed",s=l?Xt(o):o;for(;wt(s)&&!Be(s);){let p=yt(s),f=eo(s);!f&&p.position==="fixed"&&(i=null),(l?!f&&!i:!f&&p.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||fe(s)&&!f&&Hn(o,s))?a=a.filter(S=>S!==s):i=p,s=Xt(s)}return e.set(o,a),a}function Xa(o){let{element:e,boundary:r,rootBoundary:a,strategy:i}=o,s=[...r==="clippingAncestors"?Ya(e,this._c):[].concat(r),a],p=s[0],f=s.reduce((y,S)=>{let x=Wn(e,S,i);return y.top=Ht(x.top,y.top),y.right=Ie(x.right,y.right),y.bottom=Ie(x.bottom,y.bottom),y.left=Ht(x.left,y.left),y},Wn(e,p,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function qa(o){return zn(o)}function Ja(o,e,r){let a=xt(e),i=It(e),l=r==="fixed",s=ke(o,!0,l,e),p={scrollLeft:0,scrollTop:0},f=Lt(0);if(a||!a&&!l)if((At(e)!=="body"||fe(i))&&(p=We(e)),a){let y=ke(e,!0,l,e);f.x=y.x+e.clientLeft,f.y=y.y+e.clientTop}else i&&(f.x=Dn(i));return{x:s.left+p.scrollLeft-f.x,y:s.top+p.scrollTop-f.y,width:s.width,height:s.height}}function kn(o,e){return!xt(o)||yt(o).position==="fixed"?null:e?e(o):o.offsetParent}function Un(o,e){let r=dt(o);if(!xt(o))return r;let a=kn(o,e);for(;a&&In(a)&&yt(a).position==="static";)a=kn(a,e);return a&&(At(a)==="html"||At(a)==="body"&&yt(a).position==="static"&&!eo(a))?r:a||Pn(o)||r}var Qa=async function(o){let{reference:e,floating:r,strategy:a}=o,i=this.getOffsetParent||Un,l=this.getDimensions;return{reference:Ja(e,await i(r),a),floating:{x:0,y:0,...await l(r)}}};function ti(o){return yt(o).direction==="rtl"}var ro={convertOffsetParentRelativeRectToViewportRelativeRect:Za,getDocumentElement:It,getClippingRect:Xa,getOffsetParent:Un,getElementRects:Qa,getClientRects:Ma,getDimensions:qa,getScale:ue,isElement:wt,isRTL:ti};var Fn=(o,e,r)=>{let a=new Map,i={platform:ro,...r},l={...i.platform,_c:a};return Rn(o,e,{...i,platform:l})};function Gn(o){return ei(o)}function Po(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function ei(o){for(let e=o;e;e=Po(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Po(o);e;e=Po(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function ye(o,e,r){return Fn(o,e,{platform:{...ro,getOffsetParent:a=>ro.getOffsetParent(a,Gn)},middleware:[Io({crossAxis:!0}),Ao({allowedPlacements:[r]})]})}var U=function(o,e,r,a){var i=arguments.length,l=i<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,r):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,e,r,a);else for(var p=o.length-1;p>=0;p--)(s=o[p])&&(l=(i<3?s(l):i>3?s(e,r,l):s(e,r))||l);return i>3&&l&&Object.defineProperty(e,r,l),l},Ft=class extends Te.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return ze.html``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Ft.elementDefinitions={};U([(0,D.property)({type:String})],Ft.prototype,"label",void 0);U([(0,D.property)({type:Object,converter:o=>o})],Ft.prototype,"value",void 0);U([(0,D.property)({type:Boolean,reflect:!0})],Ft.prototype,"selected",void 0);var _=class extends Te.FtLitElement{constructor(){super(...arguments),this.label="",this.ariaLabel="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}render(){var e,r,a,i,l;let s=this.hasOptionsMenuOpen,p=this.disabled||!this.hasOptions,f=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((a=(r=this.selectedOption)===null||r===void 0?void 0:r.label)!==null&&a!==void 0?a:"").length>0,y={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":p,"ft-select--options-displayed":s,"ft-select--has-option-selected":f,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return ze.html`
|
|
569
|
+
<div class="${(0,Bo.classMap)(y)}" part="container">
|
|
570
570
|
<div class="ft-select--main-panel" part="main-panel">
|
|
571
571
|
<ft-input-label text="${this.label}"
|
|
572
572
|
part="label"
|
|
573
573
|
?disabled=${p}
|
|
574
574
|
?outlined=${this.outlined}
|
|
575
|
-
?raised=${
|
|
575
|
+
?raised=${f||s}
|
|
576
576
|
?error=${this.error}
|
|
577
577
|
></ft-input-label>
|
|
578
578
|
<div class="ft-select--input-panel"
|
|
@@ -582,38 +582,38 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
582
582
|
@keydown=${this.onMainPanelKeyDown}
|
|
583
583
|
aria-label="${this.ariaLabel}"
|
|
584
584
|
aria-haspopup="listbox"
|
|
585
|
-
aria-expanded="${
|
|
585
|
+
aria-expanded="${s}">
|
|
586
586
|
<ft-ripple ?disabled=${p} ?activated=${!this.outlined}></ft-ripple>
|
|
587
587
|
<ft-typography variant="body1" class="ft-select--selected-option">
|
|
588
|
-
${(l=(
|
|
588
|
+
${(l=(i=this.selectedOption)===null||i===void 0?void 0:i.label)!==null&&l!==void 0?l:""}
|
|
589
589
|
</ft-typography>
|
|
590
|
-
<ft-icon>${
|
|
590
|
+
<ft-icon>${s?"thin_arrow_up":"thin_arrow"}</ft-icon>
|
|
591
591
|
</div>
|
|
592
592
|
<div class="ft-select--options"
|
|
593
593
|
part="options"
|
|
594
594
|
@keydown=${this.onOptionsKeyDown}
|
|
595
595
|
innerrole="listbox">
|
|
596
|
-
${(0,
|
|
596
|
+
${(0,Zn.repeat)(this.options,S=>S.value,S=>this.renderOption(S))}
|
|
597
597
|
</div>
|
|
598
598
|
</div>
|
|
599
|
-
${this.helper?
|
|
599
|
+
${this.helper?ze.html`
|
|
600
600
|
<ft-typography class="ft-select--helper-text" variant="caption">${this.helper}
|
|
601
601
|
</ft-typography>`:void 0}
|
|
602
602
|
</div>
|
|
603
603
|
<slot @slotchange=${this.updateOptionsFromSlot}
|
|
604
604
|
@option-change=${this.updateOptionsFromSlot}
|
|
605
605
|
></slot>
|
|
606
|
-
`}renderOption(e){let r=this.selectedOption===e;return
|
|
607
|
-
<div class="${(0,
|
|
606
|
+
`}renderOption(e){let r=this.selectedOption===e;return ze.html`
|
|
607
|
+
<div class="${(0,Bo.classMap)({"ft-select--option":!0,"ft-select--option-selected":r,"ft-typography--body2":!0})}"
|
|
608
608
|
part="option"
|
|
609
609
|
tabindex="0"
|
|
610
610
|
data-value="${e.value}"
|
|
611
|
-
@keydown=${
|
|
611
|
+
@keydown=${i=>this.onOptionKeyDown(i,e)}
|
|
612
612
|
@click=${()=>this.selectOption(e)}>
|
|
613
613
|
<ft-ripple ?primary=${r} ?activated=${r}></ft-ripple>
|
|
614
614
|
<span>${e.label}</span>
|
|
615
615
|
</div>
|
|
616
|
-
`}update(e){super.update(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,
|
|
616
|
+
`}update(e){super.update(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,a;super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((a=(r=this.selectedOptionElement)!==null&&r!==void 0?r:this.firstOption)===null||a===void 0||a.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen&&(this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px",ye(this.mainPanel,this.optionsMenu,"bottom").then(({x:i,y:l})=>{this.optionsMenu.style.left=`${i}px`,this.optionsMenu.style.top=`${l}px`}))}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation();let a=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(i=>i);a&&a.length>0&&(this.options=a)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,a,i,l,s;let p;switch(e.key){case"Escape":this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),p=(i=(a=this.focusedOption)===null||a===void 0?void 0:a.previousElementSibling)!==null&&i!==void 0?i:this.lastOption;break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),p=(s=(l=this.focusedOption)===null||l===void 0?void 0:l.nextElementSibling)!==null&&s!==void 0?s:this.firstOption;break}p?.focus()}onOptionKeyDown(e,r){var a;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(r),this.optionsDisplayed=!1,(a=this.mainPanel)===null||a===void 0||a.focus())}selectOption(e){var r,a;if(!(0,Te.deepEqual)((r=this.selectedOption)===null||r===void 0?void 0:r.value,e.value)){this.selectedOption=e;for(let i of this.options)i.selected=i===e;this.dispatchEvent(new CustomEvent("change",{detail:(a=this.selectedOption)===null||a===void 0?void 0:a.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};_.elementDefinitions={"ft-input-label":lt,"ft-typography":ot,"ft-ripple":W,"ft-icon":tt};_.styles=[Xe,se,On];U([(0,D.property)({type:String})],_.prototype,"label",void 0);U([(0,D.property)({type:String})],_.prototype,"ariaLabel",void 0);U([(0,D.property)({type:String})],_.prototype,"helper",void 0);U([(0,D.property)({type:Boolean})],_.prototype,"outlined",void 0);U([(0,D.property)({type:Boolean})],_.prototype,"disabled",void 0);U([(0,D.property)({type:Boolean})],_.prototype,"error",void 0);U([(0,D.property)({type:Boolean})],_.prototype,"fixedMenuPosition",void 0);U([(0,D.property)({type:Array})],_.prototype,"options",void 0);U([(0,D.state)()],_.prototype,"selectedOption",void 0);U([(0,D.state)()],_.prototype,"optionsDisplayed",void 0);U([(0,D.state)()],_.prototype,"focusOptions",void 0);U([(0,D.query)(".ft-select")],_.prototype,"container",void 0);U([(0,D.query)(".ft-select--options")],_.prototype,"optionsMenu",void 0);U([(0,D.query)(".ft-select--input-panel")],_.prototype,"mainPanel",void 0);U([(0,D.query)(".ft-select--option:first-child")],_.prototype,"firstOption",void 0);U([(0,D.query)(".ft-select--option:focus")],_.prototype,"focusedOption",void 0);U([(0,D.query)(".ft-select--option.ft-select--option-selected")],_.prototype,"selectedOptionElement",void 0);U([(0,D.query)(".ft-select--option:last-child")],_.prototype,"lastOption",void 0);U([(0,D.query)("slot")],_.prototype,"optionsSlot",void 0);(0,Wo.customElement)("ft-select")(_);(0,Wo.customElement)("ft-select-option")(Ft);var _o=h(R());var mt=h(z()),P=h(ut()),Vn=h(Gt());var ko=o=>o??V;var ge=h(R());var Mn=h(z()),C=h(R());var L={fontSize:C.FtCssVariableFactory.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:C.FtCssVariableFactory.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:C.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:C.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:C.FtCssVariableFactory.extend("--ft-text-field-helper-color","",C.designSystemVariables.colorOnSurfaceMedium),colorPrimary:C.FtCssVariableFactory.external(C.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:C.FtCssVariableFactory.external(C.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:C.FtCssVariableFactory.external(C.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:C.FtCssVariableFactory.external(C.designSystemVariables.borderRadiusS,"Design system"),colorError:C.FtCssVariableFactory.external(C.designSystemVariables.colorError,"Design system"),prefixColor:C.FtCssVariableFactory.extend("--ft-text-field-prefix-color","",C.designSystemVariables.colorOnSurfaceMedium),iconColor:C.FtCssVariableFactory.extend("--ft-text-field-icon-color","",C.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:C.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:C.FtCssVariableFactory.external(C.designSystemVariables.colorSurface,"Design system"),colorOutline:C.FtCssVariableFactory.external(C.designSystemVariables.colorOutline,"Design system"),elevation02:C.FtCssVariableFactory.external(C.designSystemVariables.elevation02,"Design system"),suggestSize:C.FtCssVariableFactory.create("--ft-text-field-suggest-size","","SIZE","300px")},Kn=Mn.css`
|
|
617
617
|
*:focus {
|
|
618
618
|
outline: none;
|
|
619
619
|
}
|
|
@@ -626,16 +626,16 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
626
626
|
}
|
|
627
627
|
|
|
628
628
|
ft-input-label {
|
|
629
|
-
${(0,
|
|
630
|
-
${(0,
|
|
631
|
-
${(0,
|
|
632
|
-
${(0,
|
|
629
|
+
${(0,C.setVariable)(v.fontSize,L.fontSize)};
|
|
630
|
+
${(0,C.setVariable)(v.raisedFontSize,L.labelSize)};
|
|
631
|
+
${(0,C.setVariable)(v.verticalSpacing,L.verticalSpacing)};
|
|
632
|
+
${(0,C.setVariable)(v.horizontalSpacing,L.horizontalSpacing)};
|
|
633
633
|
}
|
|
634
634
|
|
|
635
635
|
.ft-text-field--main-panel {
|
|
636
636
|
position: relative;
|
|
637
637
|
display: flex;
|
|
638
|
-
height: calc(4 * ${
|
|
638
|
+
height: calc(4 * ${L.verticalSpacing} + ${L.labelSize} + ${L.fontSize});
|
|
639
639
|
}
|
|
640
640
|
|
|
641
641
|
.ft-text-field--input-panel {
|
|
@@ -644,24 +644,24 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
644
644
|
display: flex;
|
|
645
645
|
align-items: center;
|
|
646
646
|
overflow: hidden;
|
|
647
|
-
padding: 0 ${
|
|
647
|
+
padding: 0 ${L.horizontalSpacing};
|
|
648
648
|
|
|
649
|
-
${(0,
|
|
650
|
-
${(0,
|
|
649
|
+
${(0,C.setVariable)(gt.fontSize,L.fontSize)};
|
|
650
|
+
${(0,C.setVariable)(gt.lineHeight,L.fontSize)};
|
|
651
651
|
}
|
|
652
652
|
|
|
653
653
|
.ft-text-field--input-panel ft-ripple {
|
|
654
|
-
${(0,
|
|
655
|
-
${(0,
|
|
654
|
+
${(0,C.setVariable)(g.opacityContentOnSurfaceHover,"0.08")};
|
|
655
|
+
${(0,C.setVariable)(g.opacityContentOnSurfacePressed,"0.04")};
|
|
656
656
|
}
|
|
657
657
|
|
|
658
658
|
.ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
|
|
659
659
|
align-items: flex-end;
|
|
660
|
-
padding: 0 ${
|
|
660
|
+
padding: 0 ${L.horizontalSpacing} ${L.verticalSpacing} ${L.horizontalSpacing};
|
|
661
661
|
}
|
|
662
662
|
|
|
663
663
|
.ft-text-field--prefix {
|
|
664
|
-
color: ${
|
|
664
|
+
color: ${L.prefixColor};
|
|
665
665
|
margin-right: 2px;
|
|
666
666
|
flex-shrink: 1;
|
|
667
667
|
overflow: hidden;
|
|
@@ -680,15 +680,15 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
680
680
|
flex-shrink: 1;
|
|
681
681
|
min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
|
|
682
682
|
|
|
683
|
-
color: ${
|
|
684
|
-
padding: calc(2 * ${
|
|
683
|
+
color: ${L.colorOnSurface};
|
|
684
|
+
padding: calc(2 * ${L.verticalSpacing}) 0;
|
|
685
685
|
border: none;
|
|
686
686
|
background: none;
|
|
687
687
|
}
|
|
688
688
|
|
|
689
689
|
.ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
|
|
690
690
|
padding-bottom: 0;
|
|
691
|
-
padding-top: calc(${
|
|
691
|
+
padding-top: calc(${L.labelSize} + 2 * ${L.verticalSpacing});
|
|
692
692
|
}
|
|
693
693
|
|
|
694
694
|
.ft-text-field--input::-webkit-calendar-picker-indicator,
|
|
@@ -697,37 +697,37 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
697
697
|
}
|
|
698
698
|
|
|
699
699
|
.ft-text-field--disabled .ft-text-field--input {
|
|
700
|
-
color: ${
|
|
700
|
+
color: ${L.colorOnSurfaceDisabled};
|
|
701
701
|
}
|
|
702
702
|
|
|
703
703
|
.ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
|
|
704
|
-
${(0,
|
|
705
|
-
${(0,
|
|
704
|
+
${(0,C.setVariable)(v.borderColor,L.colorPrimary)};
|
|
705
|
+
${(0,C.setVariable)(v.textColor,L.colorPrimary)};
|
|
706
706
|
}
|
|
707
707
|
|
|
708
708
|
.ft-text-field--filled .ft-text-field--input-panel {
|
|
709
|
-
border-radius: ${
|
|
709
|
+
border-radius: ${L.borderRadiusS} ${L.borderRadiusS} 0 0;
|
|
710
710
|
}
|
|
711
711
|
|
|
712
712
|
.ft-text-field--outlined .ft-text-field--input-panel {
|
|
713
|
-
border-radius: ${
|
|
713
|
+
border-radius: ${L.borderRadiusS};
|
|
714
714
|
}
|
|
715
715
|
|
|
716
716
|
.ft-text-field--helper-text {
|
|
717
|
-
padding: 0 12px 0 ${
|
|
718
|
-
color: ${
|
|
717
|
+
padding: 0 12px 0 ${L.horizontalSpacing};
|
|
718
|
+
color: ${L.helperColor};
|
|
719
719
|
}
|
|
720
720
|
|
|
721
721
|
.ft-text-field--in-error .ft-text-field--input,
|
|
722
722
|
.ft-text-field--in-error .ft-text-field--helper-text,
|
|
723
723
|
.ft-text-field--in-error .ft-text-field--prefix {
|
|
724
|
-
color: ${
|
|
724
|
+
color: ${L.colorError};
|
|
725
725
|
}
|
|
726
726
|
|
|
727
727
|
.ft-text-field--icon {
|
|
728
728
|
align-self: center;
|
|
729
729
|
margin-left: 8px;
|
|
730
|
-
color: ${
|
|
730
|
+
color: ${L.iconColor};
|
|
731
731
|
}
|
|
732
732
|
|
|
733
733
|
.ft-text-field--container {
|
|
@@ -738,13 +738,13 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
738
738
|
display: none;
|
|
739
739
|
flex-direction: column;
|
|
740
740
|
position: absolute;
|
|
741
|
-
z-index: ${
|
|
742
|
-
background: ${
|
|
743
|
-
border: 1px solid ${
|
|
744
|
-
border-radius: 0 0 ${
|
|
745
|
-
box-shadow: ${
|
|
741
|
+
z-index: ${L.floatingZIndex};
|
|
742
|
+
background: ${L.colorSurface};
|
|
743
|
+
border: 1px solid ${L.colorOutline};
|
|
744
|
+
border-radius: 0 0 ${L.borderRadiusS} ${L.borderRadiusS};
|
|
745
|
+
box-shadow: ${L.elevation02};
|
|
746
746
|
outline: none;
|
|
747
|
-
max-height: ${
|
|
747
|
+
max-height: ${L.suggestSize};
|
|
748
748
|
overflow-y: auto;
|
|
749
749
|
}
|
|
750
750
|
|
|
@@ -757,14 +757,14 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
757
757
|
}
|
|
758
758
|
|
|
759
759
|
.ft-text-field--with-icon {
|
|
760
|
-
${(0,
|
|
760
|
+
${(0,C.setVariable)(v.labelMaxWidth,`calc(100% - ${J.size} - ${v.horizontalSpacing})`)};
|
|
761
761
|
}
|
|
762
762
|
|
|
763
763
|
.ft-text-field--with-password ft-icon:hover {
|
|
764
764
|
cursor: pointer;
|
|
765
765
|
}
|
|
766
|
-
`;var
|
|
767
|
-
<div class="${(0,
|
|
766
|
+
`;var k=function(o,e,r,a){var i=arguments.length,l=i<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,r):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,e,r,a);else for(var p=o.length-1;p>=0;p--)(s=o[p])&&(l=(i<3?s(l):i>3?s(e,r,l):s(e,r))||l);return i>3&&l&&Object.defineProperty(e,r,l),l},I=class extends(0,ge.toFtFormComponent)(ge.FtLitElement,"textbox"){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.prefix=null,this.passwordHiddenIcon=Vt.EYE_SLASH,this.passwordRevealedIcon=Vt.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.hideSuggestions=!1,this.visibleSuggestions=[]}get value(){return this._value||""}set value(e){this.setInternalValue(e||""),this.dispatchedValue=e||""}setInternalValue(e){let r=this._value;this._value=e||"",this.setFormValue(this._value),this.requestUpdate("value",r)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}render(){var e;let r={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--fixed":this.fixedMenuPosition,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":this.visibleSuggestions.length===0||this.hideSuggestions,"ft-text-field--raised-label":this.focused||this.value!="","ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.password};return mt.html`
|
|
767
|
+
<div class="${(0,Vn.classMap)(r)}">
|
|
768
768
|
<div class="ft-text-field--main-panel"
|
|
769
769
|
@keydown=${this.handleKeyboardNavigation}
|
|
770
770
|
@focusout=${this.onMainPanelBlur}>
|
|
@@ -774,17 +774,17 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
774
774
|
?raised=${this.focused||this.value!=""}
|
|
775
775
|
?error=${this.error}></ft-input-label>
|
|
776
776
|
<div class="ft-text-field--input-panel">
|
|
777
|
-
${this.outlined?
|
|
777
|
+
${this.outlined?mt.nothing:mt.html`
|
|
778
778
|
<ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
|
|
779
779
|
`}
|
|
780
|
-
${this.prefix?
|
|
780
|
+
${this.prefix?mt.html`
|
|
781
781
|
<ft-typography class="ft-text-field--prefix" variant="body1">
|
|
782
782
|
${this.prefix}
|
|
783
783
|
</ft-typography>
|
|
784
|
-
`:
|
|
784
|
+
`:mt.nothing}
|
|
785
785
|
<input type=${(e=this.type)!==null&&e!==void 0?e:this.password&&this.hidePassword?"password":"text"}
|
|
786
|
-
name=${
|
|
787
|
-
maxlength=${
|
|
786
|
+
name=${ko(this.name)}
|
|
787
|
+
maxlength=${ko(this.maxLength||void 0)}
|
|
788
788
|
aria-label="${this.label}"
|
|
789
789
|
class="ft-typography--body1 ft-text-field--input"
|
|
790
790
|
part="input"
|
|
@@ -800,23 +800,23 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
800
800
|
<slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
|
|
801
801
|
</div>
|
|
802
802
|
</div>
|
|
803
|
-
${this.helper?
|
|
803
|
+
${this.helper?mt.html`
|
|
804
804
|
<ft-typography class="ft-text-field--helper-text" variant="caption">
|
|
805
805
|
${this.helper}
|
|
806
806
|
</ft-typography>
|
|
807
|
-
`:
|
|
807
|
+
`:mt.nothing}
|
|
808
808
|
</div>
|
|
809
|
-
`}renderPasswordIcon(){return
|
|
809
|
+
`}renderPasswordIcon(){return mt.html`
|
|
810
810
|
<ft-icon class="ft-text-field--icon"
|
|
811
811
|
.variant=${this.iconVariant}
|
|
812
812
|
.value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
|
|
813
813
|
@click=${()=>this.togglePasswordVisibility()}></ft-icon>
|
|
814
|
-
`}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?
|
|
814
|
+
`}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?mt.html`
|
|
815
815
|
<ft-icon class="ft-text-field--icon"
|
|
816
816
|
.variant=${this.iconVariant}
|
|
817
817
|
.value=${this.icon}
|
|
818
818
|
@click=${()=>{var e;return(e=this.input)===null||e===void 0?void 0:e.focus()}}></ft-icon>
|
|
819
|
-
`:
|
|
819
|
+
`:mt.nothing}update(e){super.update(e),(e.has("value")||e.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),e.has("value")&&e.get("value")!=null&&(this.hideSuggestions=!1),e.has("dispatchedValue")&&e.get("dispatchedValue")!=null&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach(e=>e.hidden=!e.getValue().toLowerCase().includes(this.value.toLowerCase())),this.visibleSuggestions=this.suggestions.filter(e=>!e.hidden)):this.visibleSuggestions=this.suggestions}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0&&(this.suggestionsContainer.style.width=this.mainPanel.getBoundingClientRect().width+"px",ye(this.mainPanel,this.suggestionsContainer,"bottom").then(({x:r,y:a})=>{this.suggestionsContainer.style.left=`${r}px`,this.suggestionsContainer.style.top=`${a}px`}))}setValue(e,r=!1){this.value!==e&&(this.setInternalValue(e),this.dispatchEvent(new CustomEvent("live-change",{detail:e}))),r&&this.dispatchedValue!==e&&(this.dispatchedValue=e,this.dispatchEvent(new CustomEvent("change",{detail:e})))}handleInput(e){var r;let a=((r=this.input)===null||r===void 0?void 0:r.value)||"";this.setValue(a,e.key=="Escape"||e.key=="Enter")}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(e){var r;if(e.key==="ArrowDown"||e.key==="ArrowUp"){e.preventDefault(),e.stopPropagation(),this.hideSuggestions=!1;let a=this.visibleSuggestions.findIndex(l=>l.matches(":focus-within")),i;e.key==="ArrowDown"?i=a<this.visibleSuggestions.length-1?a+1:0:i=a>0?a-1:this.visibleSuggestions.length-1,(r=this.visibleSuggestions[i])===null||r===void 0||r.focus()}(e.key=="Escape"||e.key=="Enter")&&(this.hideSuggestions=!0)}onSuggestionSelected(e){var r;this.setValue(e.detail,!0),(r=this.input)===null||r===void 0||r.focus(),setTimeout(()=>this.hideSuggestions=!0,0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var e,r;!((e=this.mainPanel)===null||e===void 0)&&e.matches(":focus-within")||(this.focused=!1,this.setValue(((r=this.input)===null||r===void 0?void 0:r.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}};I.elementDefinitions={"ft-input-label":lt,"ft-ripple":W,"ft-typography":ot,"ft-icon":tt};I.styles=[Ye,ge.noTextInputDefaultClearButton,Kn];k([(0,P.property)()],I.prototype,"label",void 0);k([(0,P.property)({noAccessor:!0})],I.prototype,"value",null);k([(0,P.state)()],I.prototype,"dispatchedValue",void 0);k([(0,P.property)()],I.prototype,"helper",void 0);k([(0,P.property)({type:Boolean})],I.prototype,"outlined",void 0);k([(0,P.property)({type:Boolean})],I.prototype,"disabled",void 0);k([(0,P.property)({type:Boolean})],I.prototype,"error",void 0);k([(0,P.property)({type:Boolean})],I.prototype,"fixedMenuPosition",void 0);k([(0,P.property)()],I.prototype,"prefix",void 0);k([(0,P.property)()],I.prototype,"icon",void 0);k([(0,P.property)()],I.prototype,"name",void 0);k([(0,P.property)()],I.prototype,"type",void 0);k([(0,P.property)()],I.prototype,"passwordHiddenIcon",void 0);k([(0,P.property)()],I.prototype,"passwordRevealedIcon",void 0);k([(0,P.property)()],I.prototype,"iconVariant",void 0);k([(0,P.property)({type:Boolean})],I.prototype,"filterSuggestions",void 0);k([(0,P.property)({type:Number})],I.prototype,"maxLength",void 0);k([(0,P.property)({type:Boolean})],I.prototype,"password",void 0);k([(0,P.state)()],I.prototype,"focused",void 0);k([(0,P.state)()],I.prototype,"hidePassword",void 0);k([(0,P.state)()],I.prototype,"hideSuggestions",void 0);k([(0,P.state)()],I.prototype,"visibleSuggestions",void 0);k([(0,P.query)(".ft-text-field--main-panel")],I.prototype,"mainPanel",void 0);k([(0,P.query)(".ft-text-field--input")],I.prototype,"input",void 0);k([(0,P.query)(".ft-text-field--suggestions")],I.prototype,"suggestionsContainer",void 0);k([(0,P.queryAssignedElements)({selector:"ft-text-field-suggestion"})],I.prototype,"suggestions",void 0);var Xn=h(R()),qn=h(z()),he=h(ut());var jn=h(z()),Yn=jn.css`
|
|
820
820
|
.ft-text-field-suggestion {
|
|
821
821
|
position: relative;
|
|
822
822
|
padding: 8px 16px;
|
|
@@ -841,7 +841,7 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
841
841
|
slot {
|
|
842
842
|
pointer-events: none;
|
|
843
843
|
}
|
|
844
|
-
`;var
|
|
844
|
+
`;var To=function(o,e,r,a){var i=arguments.length,l=i<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,r):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,e,r,a);else for(var p=o.length-1;p>=0;p--)(s=o[p])&&(l=(i<3?s(l):i>3?s(e,r,l):s(e,r))||l);return i>3&&l&&Object.defineProperty(e,r,l),l},zo=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e,bubbles:!0,composed:!0})}},Pt=class extends Xn.FtLitElement{render(){return qn.html`
|
|
845
845
|
<div class="ft-text-field-suggestion"
|
|
846
846
|
tabindex="-1"
|
|
847
847
|
@keydown=${this.onKeyDown}
|
|
@@ -853,7 +853,7 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
853
853
|
<slot></slot>
|
|
854
854
|
</ft-typography>
|
|
855
855
|
</div>
|
|
856
|
-
`}focus(e){var r;(r=this.container)===null||r===void 0||r.focus(e)}click(){var e;(e=this.container)===null||e===void 0||e.click()}confirmSuggestion(){this.dispatchEvent(new
|
|
856
|
+
`}focus(e){var r;(r=this.container)===null||r===void 0||r.focus(e)}click(){var e;(e=this.container)===null||e===void 0||e.click()}confirmSuggestion(){this.dispatchEvent(new zo(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map(e=>e.textContent).join("").trim()}onKeyDown(e){["Enter"," "].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),this.confirmSuggestion())}};Pt.elementDefinitions={"ft-ripple":W,"ft-typography":ot,"ft-icon":tt};Pt.styles=Yn;To([(0,he.property)()],Pt.prototype,"value",void 0);To([(0,he.query)(".ft-text-field-suggestion")],Pt.prototype,"container",void 0);To([(0,he.queryAssignedNodes)()],Pt.prototype,"assignedNodes",void 0);(0,_o.customElement)("ft-text-field")(I);(0,_o.customElement)("ft-text-field-suggestion")(Pt);var Ho=h(R());var He=h(ut()),fa=h(R());var oa=h(z()),E=h(R());var Jn=h(z()),_e=h(R()),H={color:_e.FtCssVariableFactory.extend("--ft-loader-color","",_e.designSystemVariables.colorPrimary),size:_e.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Qn=Jn.css`
|
|
857
857
|
:host {
|
|
858
858
|
line-height: 0;
|
|
859
859
|
}
|
|
@@ -862,8 +862,8 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
862
862
|
display: inline-block;
|
|
863
863
|
position: relative;
|
|
864
864
|
|
|
865
|
-
width: ${
|
|
866
|
-
height: ${
|
|
865
|
+
width: ${H.size};
|
|
866
|
+
height: ${H.size};
|
|
867
867
|
}
|
|
868
868
|
|
|
869
869
|
.ft-loader div {
|
|
@@ -872,7 +872,7 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
872
872
|
width: 25%;
|
|
873
873
|
height: 25%;
|
|
874
874
|
border-radius: 50%;
|
|
875
|
-
background: ${
|
|
875
|
+
background: ${H.color};
|
|
876
876
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
877
877
|
}
|
|
878
878
|
|
|
@@ -919,10 +919,10 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
919
919
|
transform: translate(0, 0);
|
|
920
920
|
}
|
|
921
921
|
100% {
|
|
922
|
-
transform: translate(calc(0.35 * ${
|
|
922
|
+
transform: translate(calc(0.35 * ${H.size}), 0);
|
|
923
923
|
}
|
|
924
924
|
}
|
|
925
|
-
`;var
|
|
925
|
+
`;var ta=E.FtCssVariableFactory.extend("--ft-button-color","",E.designSystemVariables.colorPrimary),G={backgroundColor:E.FtCssVariableFactory.extend("--ft-button-background-color","",E.designSystemVariables.colorSurface),borderRadius:E.FtCssVariableFactory.extend("--ft-button-border-radius","",E.designSystemVariables.borderRadiusL),color:ta,fontSize:E.FtCssVariableFactory.extend("--ft-button-font-size","",vt.fontSize),iconSize:E.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:E.FtCssVariableFactory.extend("--ft-button-ripple-color","",ta),verticalPadding:E.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:E.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:E.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:E.FtCssVariableFactory.external(E.designSystemVariables.colorOpacityDisabled,"Design system")},ea=E.FtCssVariableFactory.extend("--ft-button-primary-color","",E.FtCssVariableFactory.extend("--ft-button-color","",E.designSystemVariables.colorOnPrimary)),Do={backgroundColor:E.FtCssVariableFactory.extend("--ft-button-primary-background-color","",E.FtCssVariableFactory.extend("--ft-button-background-color","",E.designSystemVariables.colorPrimary)),color:ea,rippleColor:E.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",ea)},Nt={borderRadius:E.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",E.FtCssVariableFactory.extend("--ft-button-border-radius","",E.designSystemVariables.borderRadiusM)),verticalPadding:E.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:E.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:E.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},ra=[oa.css`
|
|
926
926
|
:host {
|
|
927
927
|
display: inline-block;
|
|
928
928
|
max-width: 100%;
|
|
@@ -964,8 +964,8 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
964
964
|
|
|
965
965
|
--ft-button-internal-line-height: max(calc(${G.fontSize} + 2px), ${G.iconSize});
|
|
966
966
|
--ft-button-internal-color: ${G.color};
|
|
967
|
-
${(0,
|
|
968
|
-
${(0,
|
|
967
|
+
${(0,E.setVariable)(J.size,G.iconSize)};
|
|
968
|
+
${(0,E.setVariable)(g.color,G.rippleColor)};
|
|
969
969
|
|
|
970
970
|
border-radius: ${G.borderRadius};
|
|
971
971
|
padding: ${G.verticalPadding} ${G.horizontalPadding};
|
|
@@ -1009,7 +1009,7 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1009
1009
|
.ft-button.ft-button--primary {
|
|
1010
1010
|
background-color: ${Do.backgroundColor};
|
|
1011
1011
|
--ft-button-internal-color: ${Do.color};
|
|
1012
|
-
${(0,
|
|
1012
|
+
${(0,E.setVariable)(g.color,Do.rippleColor)};
|
|
1013
1013
|
}
|
|
1014
1014
|
|
|
1015
1015
|
.ft-button:focus {
|
|
@@ -1023,8 +1023,8 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1023
1023
|
text-overflow: ellipsis;
|
|
1024
1024
|
display: block;
|
|
1025
1025
|
margin: 0 ${G.iconPadding};
|
|
1026
|
-
${(0,
|
|
1027
|
-
${(0,
|
|
1026
|
+
${(0,E.setVariable)(vt.fontSize,"1em")};
|
|
1027
|
+
${(0,E.setVariable)(vt.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
1028
1028
|
}
|
|
1029
1029
|
|
|
1030
1030
|
.ft-button--dense .ft-button--label {
|
|
@@ -1055,10 +1055,10 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1055
1055
|
}
|
|
1056
1056
|
|
|
1057
1057
|
ft-loader {
|
|
1058
|
-
${(0,
|
|
1059
|
-
${(0,
|
|
1058
|
+
${(0,E.setVariable)(H.size,G.iconSize)};
|
|
1059
|
+
${(0,E.setVariable)(H.color,"var(--ft-button-internal-color)")};
|
|
1060
1060
|
}
|
|
1061
|
-
`,
|
|
1061
|
+
`,E.noTextSelect];var xe=h(R());var la=h(R());var ia=h(z()),Q=h(ut()),De=h(R());var na=h(z()),Bt=h(R()),me={distance:Bt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Bt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Bt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Bt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Bt.FtCssVariableFactory.external(Bt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Bt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},aa=na.css`
|
|
1062
1062
|
.ft-tooltip--container {
|
|
1063
1063
|
display: block;
|
|
1064
1064
|
}
|
|
@@ -1073,21 +1073,21 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1073
1073
|
box-sizing: border-box;
|
|
1074
1074
|
overflow: hidden;
|
|
1075
1075
|
width: max-content;
|
|
1076
|
-
max-width: ${
|
|
1076
|
+
max-width: ${me.maxWidth};
|
|
1077
1077
|
text-align: center;
|
|
1078
|
-
padding: ${
|
|
1079
|
-
z-index: ${
|
|
1078
|
+
padding: ${me.distance};
|
|
1079
|
+
z-index: ${me.zIndex};
|
|
1080
1080
|
}
|
|
1081
1081
|
|
|
1082
1082
|
.ft-tooltip--content {
|
|
1083
1083
|
padding: 4px 8px;
|
|
1084
|
-
border-radius: ${
|
|
1085
|
-
background-color: ${
|
|
1086
|
-
color: ${
|
|
1084
|
+
border-radius: ${me.borderRadiusS};
|
|
1085
|
+
background-color: ${me.backgroundColor};
|
|
1086
|
+
color: ${me.color};
|
|
1087
1087
|
position: relative;
|
|
1088
1088
|
word-break: break-word;
|
|
1089
1089
|
}
|
|
1090
|
-
`;var
|
|
1090
|
+
`;var pt=function(o,e,r,a){var i=arguments.length,l=i<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,r):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,e,r,a);else for(var p=o.length-1;p>=0;p--)(s=o[p])&&(l=(i<3?s(l):i>3?s(e,r,l):s(e,r))||l);return i>3&&l&&Object.defineProperty(e,r,l),l},F=class extends De.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new De.Debouncer,this.revealDebouncer=new De.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ia.html`
|
|
1091
1091
|
<div part="container"
|
|
1092
1092
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
1093
1093
|
@mouseenter=${this.onHover}
|
|
@@ -1105,16 +1105,16 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1105
1105
|
</div>
|
|
1106
1106
|
</div>
|
|
1107
1107
|
</div>
|
|
1108
|
-
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",
|
|
1108
|
+
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",ye(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.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(e,r){return Math.max(e,Math.min(0,-r))}};F.elementDefinitions={"ft-typography":ot};F.styles=aa;pt([(0,Q.property)()],F.prototype,"text",void 0);pt([(0,Q.property)({type:Boolean})],F.prototype,"manual",void 0);pt([(0,Q.property)({type:Boolean})],F.prototype,"inline",void 0);pt([(0,Q.property)({type:Number})],F.prototype,"delay",void 0);pt([(0,Q.property)()],F.prototype,"position",void 0);pt([(0,Q.queryAssignedNodes)()],F.prototype,"slotNodes",void 0);pt([(0,Q.query)(".ft-tooltip--container")],F.prototype,"container",void 0);pt([(0,Q.query)(".ft-tooltip")],F.prototype,"tooltip",void 0);pt([(0,Q.query)(".ft-tooltip--content")],F.prototype,"tooltipContent",void 0);pt([(0,Q.state)()],F.prototype,"visible",void 0);pt([(0,Q.eventOptions)({passive:!0})],F.prototype,"onTouch",null);pt([(0,Q.eventOptions)({passive:!0})],F.prototype,"onHover",null);pt([(0,Q.eventOptions)({passive:!0})],F.prototype,"onOut",null);pt([(0,Q.eventOptions)({passive:!0})],F.prototype,"onClick",null);(0,la.customElement)("ft-tooltip")(F);var da=h(R());var ca=h(z()),sa=h(R());var qt=class extends sa.FtLitElement{render(){return ca.html`
|
|
1109
1109
|
<div class="ft-loader">
|
|
1110
1110
|
<div></div>
|
|
1111
1111
|
<div></div>
|
|
1112
1112
|
<div></div>
|
|
1113
1113
|
<div></div>
|
|
1114
1114
|
</div>
|
|
1115
|
-
`}};qt.styles=
|
|
1115
|
+
`}};qt.styles=Qn;(0,da.customElement)("ft-loader")(qt);var be=h(z()),pa=h(Gt()),at=h(ut()),ft=function(o,e,r,a){var i=arguments.length,l=i<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,r):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,e,r,a);else for(var p=o.length-1;p>=0;p--)(s=o[p])&&(l=(i<3?s(l):i>3?s(e,r,l):s(e,r))||l);return i>3&&l&&Object.defineProperty(e,r,l),l},Z=class extends(0,xe.toFtFormComponent)(xe.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e;return this.addTooltipIfNeeded(be.html`
|
|
1116
1116
|
<button part="button"
|
|
1117
|
-
class="${(0,
|
|
1117
|
+
class="${(0,pa.classMap)(this.buttonClasses)}"
|
|
1118
1118
|
aria-label="${(e=this.ariaLabel)!==null&&e!==void 0?e:this.getLabel()}"
|
|
1119
1119
|
?disabled=${this.isDisabled()}>
|
|
1120
1120
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
@@ -1138,7 +1138,7 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1138
1138
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
1139
1139
|
`:be.html`
|
|
1140
1140
|
<slot part="icon" name="icon"></slot>
|
|
1141
|
-
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(r=>this.unslotText(r)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Z.elementDefinitions={"ft-ripple":W,"ft-tooltip":
|
|
1141
|
+
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(r=>this.unslotText(r)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Z.elementDefinitions={"ft-ripple":W,"ft-tooltip":F,"ft-typography":ot,"ft-icon":tt,"ft-loader":qt};ft([(0,at.property)({type:String,reflect:!0})],Z.prototype,"role",void 0);ft([(0,at.property)()],Z.prototype,"type",void 0);ft([(0,at.property)({type:Boolean})],Z.prototype,"disabled",void 0);ft([(0,at.property)()],Z.prototype,"label",void 0);ft([(0,at.property)()],Z.prototype,"icon",void 0);ft([(0,at.property)()],Z.prototype,"iconVariant",void 0);ft([(0,at.property)({type:Boolean})],Z.prototype,"trailingIcon",void 0);ft([(0,at.property)({type:Boolean})],Z.prototype,"loading",void 0);ft([(0,at.property)({attribute:"aria-label"})],Z.prototype,"ariaLabel",void 0);ft([(0,at.property)()],Z.prototype,"tooltipPosition",void 0);ft([(0,at.property)({type:Boolean})],Z.prototype,"hideTooltip",void 0);ft([(0,at.property)({type:Boolean})],Z.prototype,"forceTooltip",void 0);ft([(0,at.query)(".ft-button")],Z.prototype,"button",void 0);ft([(0,at.query)(".ft-button--label slot")],Z.prototype,"slottedContent",void 0);var no=function(o,e,r,a){var i=arguments.length,l=i<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,r):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,e,r,a);else for(var p=o.length-1;p>=0;p--)(s=o[p])&&(l=(i<3?s(l):i>3?s(e,r,l):s(e,r))||l);return i>3&&l&&Object.defineProperty(e,r,l),l},Wt=class extends Z{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"}};Wt.styles=[fa.safariEllipsisFix,ra];no([(0,He.property)({type:Boolean})],Wt.prototype,"primary",void 0);no([(0,He.property)({type:Boolean})],Wt.prototype,"outlined",void 0);no([(0,He.property)({type:Boolean})],Wt.prototype,"dense",void 0);no([(0,He.property)({type:Boolean})],Wt.prototype,"round",void 0);var Ue=h(ut());var io=h(R());var ua=h(z()),u=h(R());var ya=[ua.css`
|
|
1142
1142
|
:host {
|
|
1143
1143
|
display: inline-block;
|
|
1144
1144
|
max-width: 100%;
|
|
@@ -1188,7 +1188,7 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1188
1188
|
}
|
|
1189
1189
|
|
|
1190
1190
|
.ft-button:focus-visible {
|
|
1191
|
-
outline-color: ${
|
|
1191
|
+
outline-color: ${d.focusFocusRingColor};
|
|
1192
1192
|
outline-style: solid;
|
|
1193
1193
|
}
|
|
1194
1194
|
|
|
@@ -1219,170 +1219,391 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1219
1219
|
border-radius: 50%;
|
|
1220
1220
|
}
|
|
1221
1221
|
|
|
1222
|
-
/** Primary styles **/
|
|
1222
|
+
/** Brand Primary styles **/
|
|
1223
|
+
|
|
1224
|
+
.ftds--family-brand.ft-button--primary {
|
|
1225
|
+
${(0,u.setVariable)(H.color,d.primaryBrandIconColor)};
|
|
1226
|
+
|
|
1227
|
+
${(0,u.setVariable)(g.color,d.primaryBrandStateLayerColor)};
|
|
1228
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,d.primaryBrandHoverStateLayerOpacity)};
|
|
1229
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,d.primaryBrandFocusStateLayerOpacity)};
|
|
1230
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,d.primaryBrandActiveStateLayerOpacity)};
|
|
1231
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,d.primaryBrandActiveStateLayerOpacity)};
|
|
1232
|
+
|
|
1233
|
+
background-color: ${d.primaryBrandBackgroundColor};
|
|
1234
|
+
color: ${d.primaryBrandColor};
|
|
1235
|
+
border-style: none;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
.ftds--family-brand.ft-button--primary[disabled] {
|
|
1239
|
+
opacity: ${d.primaryBrandDisabledComponentOpacity};
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
.ftds--family-brand.ft-button--primary ft-icon {
|
|
1243
|
+
color: ${d.primaryBrandIconColor};
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
/** Brand Secondary styles **/
|
|
1247
|
+
|
|
1248
|
+
.ftds--family-brand.ft-button--secondary {
|
|
1249
|
+
${(0,u.setVariable)(H.color,d.secondaryBrandIconColor)};
|
|
1250
|
+
|
|
1251
|
+
${(0,u.setVariable)(g.color,d.secondaryBrandStateLayerColor)};
|
|
1252
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,d.secondaryBrandHoverStateLayerOpacity)};
|
|
1253
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,d.secondaryBrandFocusStateLayerOpacity)};
|
|
1254
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,d.secondaryBrandActiveStateLayerOpacity)};
|
|
1255
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,d.secondaryBrandActiveStateLayerOpacity)};
|
|
1256
|
+
|
|
1257
|
+
background-color: ${d.secondaryBrandBackgroundColor};
|
|
1258
|
+
color: ${d.secondaryBrandColor};
|
|
1259
|
+
border-color: ${d.secondaryBrandBorderColor};
|
|
1260
|
+
border-style: solid;
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
.ftds--family-brand.ft-button--secondary[disabled] {
|
|
1264
|
+
opacity: ${d.secondaryBrandDisabledComponentOpacity};
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
.ftds--family-brand.ft-button--secondary ft-icon {
|
|
1268
|
+
color: ${d.secondaryBrandIconColor};
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
/** Brand Tertiary styles **/
|
|
1272
|
+
|
|
1273
|
+
.ftds--family-brand.ft-button--tertiary {
|
|
1274
|
+
${(0,u.setVariable)(H.color,d.tertiaryBrandIconColor)};
|
|
1275
|
+
|
|
1276
|
+
${(0,u.setVariable)(g.color,d.tertiaryBrandStateLayerColor)};
|
|
1277
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,d.tertiaryBrandHoverStateLayerOpacity)};
|
|
1278
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,d.tertiaryBrandFocusStateLayerOpacity)};
|
|
1279
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,d.tertiaryBrandActiveStateLayerOpacity)};
|
|
1280
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,d.tertiaryBrandActiveStateLayerOpacity)};
|
|
1281
|
+
|
|
1282
|
+
background-color: ${d.tertiaryBrandBackgroundColor};
|
|
1283
|
+
color: ${d.tertiaryBrandColor};
|
|
1284
|
+
border-style: none;
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
.ftds--family-brand.ft-button--tertiary[disabled] {
|
|
1288
|
+
opacity: ${d.tertiaryBrandDisabledComponentOpacity};
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
.ftds--family-brand.ft-button--tertiary ft-icon {
|
|
1292
|
+
color: ${d.tertiaryBrandIconColor};
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1295
|
+
/** Neutral Secondary styles **/
|
|
1296
|
+
|
|
1297
|
+
.ftds--family-neutral.ft-button--secondary {
|
|
1298
|
+
${(0,u.setVariable)(H.color,d.secondaryNeutralIconColor)};
|
|
1299
|
+
|
|
1300
|
+
${(0,u.setVariable)(g.backgroundColor,d.secondaryNeutralStateLayerColor)};
|
|
1301
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,d.secondaryNeutralHoverStateLayerOpacity)};
|
|
1302
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,d.secondaryNeutralFocusStateLayerOpacity)};
|
|
1303
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,d.secondaryNeutralActiveStateLayerOpacity)};
|
|
1304
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,d.secondaryNeutralActiveStateLayerOpacity)};
|
|
1305
|
+
|
|
1306
|
+
background-color: ${d.secondaryNeutralBackgroundColor};
|
|
1307
|
+
color: ${d.secondaryNeutralColor};
|
|
1308
|
+
border-color: ${d.secondaryNeutralBorderColor};
|
|
1309
|
+
border-style: solid;
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
.ftds--family-neutral.ft-button--secondary[disabled] {
|
|
1313
|
+
opacity: ${d.secondaryNeutralDisabledComponentOpacity};
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
.ftds--family-neutral.ft-button--secondary ft-icon {
|
|
1317
|
+
color: ${d.secondaryNeutralIconColor};
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
/** Neutral Tertiary styles **/
|
|
1321
|
+
|
|
1322
|
+
.ftds--family-neutral.ft-button--tertiary {
|
|
1323
|
+
${(0,u.setVariable)(H.color,d.tertiaryNeutralIconColor)};
|
|
1324
|
+
|
|
1325
|
+
${(0,u.setVariable)(g.backgroundColor,d.tertiaryNeutralStateLayerColor)};
|
|
1326
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,d.tertiaryNeutralHoverStateLayerOpacity)};
|
|
1327
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,d.tertiaryNeutralFocusStateLayerOpacity)};
|
|
1328
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,d.tertiaryNeutralActiveStateLayerOpacity)};
|
|
1329
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,d.tertiaryNeutralActiveStateLayerOpacity)};
|
|
1330
|
+
|
|
1331
|
+
background-color: ${d.tertiaryNeutralBackgroundColor};
|
|
1332
|
+
color: ${d.tertiaryNeutralColor};
|
|
1333
|
+
border-style: none;
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
.ftds--family-neutral.ft-button--tertiary[disabled] {
|
|
1337
|
+
opacity: ${d.tertiaryNeutralDisabledComponentOpacity};
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
.ftds--family-neutral.ft-button--tertiary ft-icon {
|
|
1341
|
+
color: ${d.tertiaryNeutralIconColor};
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
/** Info Secondary styles **/
|
|
1223
1345
|
|
|
1224
|
-
.ft-button--
|
|
1225
|
-
${(0,
|
|
1346
|
+
.ftds--family-info.ft-button--secondary {
|
|
1347
|
+
${(0,u.setVariable)(H.color,d.secondaryInfoIconColor)};
|
|
1226
1348
|
|
|
1227
|
-
${(0,
|
|
1228
|
-
${(0,
|
|
1229
|
-
${(0,
|
|
1230
|
-
${(0,
|
|
1231
|
-
${(0,
|
|
1349
|
+
${(0,u.setVariable)(g.backgroundColor,d.secondaryInfoStateLayerColor)};
|
|
1350
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,d.secondaryInfoHoverStateLayerOpacity)};
|
|
1351
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,d.secondaryInfoFocusStateLayerOpacity)};
|
|
1352
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,d.secondaryInfoActiveStateLayerOpacity)};
|
|
1353
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,d.secondaryInfoActiveStateLayerOpacity)};
|
|
1232
1354
|
|
|
1233
|
-
background-color: ${
|
|
1234
|
-
color: ${
|
|
1355
|
+
background-color: ${d.secondaryInfoBackgroundColor};
|
|
1356
|
+
color: ${d.secondaryInfoColor};
|
|
1357
|
+
border-color: ${d.secondaryInfoBorderColor};
|
|
1358
|
+
border-style: solid;
|
|
1359
|
+
}
|
|
1360
|
+
|
|
1361
|
+
.ftds--family-info.ft-button--secondary[disabled] {
|
|
1362
|
+
opacity: ${d.secondaryInfoDisabledComponentOpacity};
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
.ftds--family-info.ft-button--secondary ft-icon {
|
|
1366
|
+
color: ${d.secondaryInfoIconColor};
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1369
|
+
/** Info Tertiary styles **/
|
|
1370
|
+
|
|
1371
|
+
.ftds--family-info.ft-button--tertiary {
|
|
1372
|
+
${(0,u.setVariable)(H.color,d.tertiaryInfoIconColor)};
|
|
1373
|
+
|
|
1374
|
+
${(0,u.setVariable)(g.backgroundColor,d.tertiaryInfoStateLayerColor)};
|
|
1375
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,d.tertiaryInfoHoverStateLayerOpacity)};
|
|
1376
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,d.tertiaryInfoFocusStateLayerOpacity)};
|
|
1377
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,d.tertiaryInfoActiveStateLayerOpacity)};
|
|
1378
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,d.tertiaryInfoActiveStateLayerOpacity)};
|
|
1379
|
+
|
|
1380
|
+
background-color: ${d.tertiaryInfoBackgroundColor};
|
|
1381
|
+
color: ${d.tertiaryInfoColor};
|
|
1235
1382
|
border-style: none;
|
|
1236
1383
|
}
|
|
1237
1384
|
|
|
1238
|
-
.ft-button--
|
|
1239
|
-
opacity: ${
|
|
1385
|
+
.ftds--family-info.ft-button--tertiary[disabled] {
|
|
1386
|
+
opacity: ${d.tertiaryInfoDisabledComponentOpacity};
|
|
1240
1387
|
}
|
|
1241
1388
|
|
|
1242
|
-
.ft-button--
|
|
1243
|
-
color: ${
|
|
1389
|
+
.ftds--family-info.ft-button--tertiary ft-icon {
|
|
1390
|
+
color: ${d.tertiaryInfoIconColor};
|
|
1244
1391
|
}
|
|
1245
1392
|
|
|
1246
|
-
/** Secondary styles **/
|
|
1393
|
+
/** Success Secondary styles **/
|
|
1247
1394
|
|
|
1248
|
-
.ft-button--secondary {
|
|
1249
|
-
${(0,
|
|
1395
|
+
.ftds--family-success.ft-button--secondary {
|
|
1396
|
+
${(0,u.setVariable)(H.color,d.secondarySuccessIconColor)};
|
|
1250
1397
|
|
|
1251
|
-
${(0,
|
|
1252
|
-
${(0,
|
|
1253
|
-
${(0,
|
|
1254
|
-
${(0,
|
|
1255
|
-
${(0,
|
|
1398
|
+
${(0,u.setVariable)(g.backgroundColor,d.secondarySuccessStateLayerColor)};
|
|
1399
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,d.secondarySuccessHoverStateLayerOpacity)};
|
|
1400
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,d.secondarySuccessFocusStateLayerOpacity)};
|
|
1401
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,d.secondarySuccessActiveStateLayerOpacity)};
|
|
1402
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,d.secondarySuccessActiveStateLayerOpacity)};
|
|
1256
1403
|
|
|
1257
|
-
background-color: ${
|
|
1258
|
-
color: ${
|
|
1259
|
-
border-color: ${
|
|
1404
|
+
background-color: ${d.secondarySuccessBackgroundColor};
|
|
1405
|
+
color: ${d.secondarySuccessColor};
|
|
1406
|
+
border-color: ${d.secondarySuccessBorderColor};
|
|
1260
1407
|
border-style: solid;
|
|
1261
1408
|
}
|
|
1262
1409
|
|
|
1263
|
-
.ft-button--secondary[disabled] {
|
|
1264
|
-
opacity: ${
|
|
1410
|
+
.ftds--family-success.ft-button--secondary[disabled] {
|
|
1411
|
+
opacity: ${d.secondarySuccessDisabledComponentOpacity};
|
|
1265
1412
|
}
|
|
1266
1413
|
|
|
1267
|
-
.ft-button--secondary ft-icon {
|
|
1268
|
-
color: ${
|
|
1414
|
+
.ftds--family-success.ft-button--secondary ft-icon {
|
|
1415
|
+
color: ${d.secondarySuccessIconColor};
|
|
1269
1416
|
}
|
|
1270
1417
|
|
|
1271
|
-
/** Tertiary styles **/
|
|
1418
|
+
/** Success Tertiary styles **/
|
|
1272
1419
|
|
|
1273
|
-
.ft-button--tertiary {
|
|
1274
|
-
${(0,
|
|
1420
|
+
.ftds--family-success.ft-button--tertiary {
|
|
1421
|
+
${(0,u.setVariable)(H.color,d.tertiarySuccessIconColor)};
|
|
1275
1422
|
|
|
1276
|
-
${(0,
|
|
1277
|
-
${(0,
|
|
1278
|
-
${(0,
|
|
1279
|
-
${(0,
|
|
1280
|
-
${(0,
|
|
1423
|
+
${(0,u.setVariable)(g.backgroundColor,d.tertiarySuccessStateLayerColor)};
|
|
1424
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,d.tertiarySuccessHoverStateLayerOpacity)};
|
|
1425
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,d.tertiarySuccessFocusStateLayerOpacity)};
|
|
1426
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,d.tertiarySuccessActiveStateLayerOpacity)};
|
|
1427
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,d.tertiarySuccessActiveStateLayerOpacity)};
|
|
1281
1428
|
|
|
1282
|
-
background-color: ${
|
|
1283
|
-
color: ${
|
|
1429
|
+
background-color: ${d.tertiarySuccessBackgroundColor};
|
|
1430
|
+
color: ${d.tertiarySuccessColor};
|
|
1284
1431
|
border-style: none;
|
|
1285
1432
|
}
|
|
1286
1433
|
|
|
1287
|
-
.ft-button--tertiary[disabled] {
|
|
1288
|
-
opacity: ${
|
|
1434
|
+
.ftds--family-success.ft-button--tertiary[disabled] {
|
|
1435
|
+
opacity: ${d.tertiarySuccessDisabledComponentOpacity};
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
.ftds--family-success.ft-button--tertiary ft-icon {
|
|
1439
|
+
color: ${d.tertiarySuccessIconColor};
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
/** Warning Secondary styles **/
|
|
1443
|
+
|
|
1444
|
+
.ftds--family-warning.ft-button--secondary {
|
|
1445
|
+
${(0,u.setVariable)(H.color,d.secondaryWarningIconColor)};
|
|
1446
|
+
|
|
1447
|
+
${(0,u.setVariable)(g.backgroundColor,d.secondaryWarningStateLayerColor)};
|
|
1448
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,d.secondaryWarningHoverStateLayerOpacity)};
|
|
1449
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,d.secondaryWarningFocusStateLayerOpacity)};
|
|
1450
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,d.secondaryWarningActiveStateLayerOpacity)};
|
|
1451
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,d.secondaryWarningActiveStateLayerOpacity)};
|
|
1452
|
+
|
|
1453
|
+
background-color: ${d.secondaryWarningBackgroundColor};
|
|
1454
|
+
color: ${d.secondaryWarningColor};
|
|
1455
|
+
border-color: ${d.secondaryWarningBorderColor};
|
|
1456
|
+
border-style: solid;
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1459
|
+
.ftds--family-warning.ft-button--secondary[disabled] {
|
|
1460
|
+
opacity: ${d.secondaryWarningDisabledComponentOpacity};
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
.ftds--family-warning.ft-button--secondary ft-icon {
|
|
1464
|
+
color: ${d.secondaryWarningIconColor};
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
/** Warning Tertiary styles **/
|
|
1468
|
+
|
|
1469
|
+
.ftds--family-warning.ft-button--tertiary {
|
|
1470
|
+
${(0,u.setVariable)(H.color,d.tertiaryWarningIconColor)};
|
|
1471
|
+
|
|
1472
|
+
${(0,u.setVariable)(g.backgroundColor,d.tertiaryWarningStateLayerColor)};
|
|
1473
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,d.tertiaryWarningHoverStateLayerOpacity)};
|
|
1474
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,d.tertiaryWarningFocusStateLayerOpacity)};
|
|
1475
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,d.tertiaryWarningActiveStateLayerOpacity)};
|
|
1476
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,d.tertiaryWarningActiveStateLayerOpacity)};
|
|
1477
|
+
|
|
1478
|
+
background-color: ${d.tertiaryWarningBackgroundColor};
|
|
1479
|
+
color: ${d.tertiaryWarningColor};
|
|
1480
|
+
border-style: none;
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1483
|
+
.ftds--family-warning.ft-button--tertiary[disabled] {
|
|
1484
|
+
opacity: ${d.tertiaryWarningDisabledComponentOpacity};
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1487
|
+
.ftds--family-warning.ft-button--tertiary ft-icon {
|
|
1488
|
+
color: ${d.tertiaryWarningIconColor};
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
/** Error Secondary styles **/
|
|
1492
|
+
|
|
1493
|
+
.ftds--family-error.ft-button--secondary {
|
|
1494
|
+
${(0,u.setVariable)(H.color,d.secondaryErrorIconColor)};
|
|
1495
|
+
|
|
1496
|
+
${(0,u.setVariable)(g.backgroundColor,d.secondaryErrorStateLayerColor)};
|
|
1497
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,d.secondaryErrorHoverStateLayerOpacity)};
|
|
1498
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,d.secondaryErrorFocusStateLayerOpacity)};
|
|
1499
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,d.secondaryErrorActiveStateLayerOpacity)};
|
|
1500
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,d.secondaryErrorActiveStateLayerOpacity)};
|
|
1501
|
+
|
|
1502
|
+
background-color: ${d.secondaryErrorBackgroundColor};
|
|
1503
|
+
color: ${d.secondaryErrorColor};
|
|
1504
|
+
border-color: ${d.secondaryErrorBorderColor};
|
|
1505
|
+
border-style: solid;
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
.ftds--family-error.ft-button--secondary[disabled] {
|
|
1509
|
+
opacity: ${d.secondaryErrorDisabledComponentOpacity};
|
|
1289
1510
|
}
|
|
1290
1511
|
|
|
1291
|
-
.ft-button--
|
|
1292
|
-
color: ${
|
|
1512
|
+
.ftds--family-error.ft-button--secondary ft-icon {
|
|
1513
|
+
color: ${d.secondaryErrorIconColor};
|
|
1293
1514
|
}
|
|
1294
1515
|
|
|
1295
|
-
/**
|
|
1516
|
+
/** Error Tertiary styles **/
|
|
1296
1517
|
|
|
1297
|
-
.ftds--family-
|
|
1298
|
-
${(0,
|
|
1518
|
+
.ftds--family-error.ft-button--tertiary {
|
|
1519
|
+
${(0,u.setVariable)(H.color,d.tertiaryErrorIconColor)};
|
|
1299
1520
|
|
|
1300
|
-
${(0,
|
|
1301
|
-
${(0,
|
|
1302
|
-
${(0,
|
|
1303
|
-
${(0,
|
|
1304
|
-
${(0,
|
|
1521
|
+
${(0,u.setVariable)(g.backgroundColor,d.tertiaryErrorStateLayerColor)};
|
|
1522
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,d.tertiaryErrorHoverStateLayerOpacity)};
|
|
1523
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,d.tertiaryErrorFocusStateLayerOpacity)};
|
|
1524
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,d.tertiaryErrorActiveStateLayerOpacity)};
|
|
1525
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,d.tertiaryErrorActiveStateLayerOpacity)};
|
|
1305
1526
|
|
|
1306
|
-
background-color: ${
|
|
1307
|
-
color: ${
|
|
1527
|
+
background-color: ${d.tertiaryErrorBackgroundColor};
|
|
1528
|
+
color: ${d.tertiaryErrorColor};
|
|
1308
1529
|
border-style: none;
|
|
1309
1530
|
}
|
|
1310
1531
|
|
|
1311
|
-
.ftds--family-
|
|
1312
|
-
opacity: ${
|
|
1532
|
+
.ftds--family-error.ft-button--tertiary[disabled] {
|
|
1533
|
+
opacity: ${d.tertiaryErrorDisabledComponentOpacity};
|
|
1313
1534
|
}
|
|
1314
1535
|
|
|
1315
|
-
.ftds--family-
|
|
1316
|
-
color: ${
|
|
1536
|
+
.ftds--family-error.ft-button--tertiary ft-icon {
|
|
1537
|
+
color: ${d.tertiaryErrorIconColor};
|
|
1317
1538
|
}
|
|
1318
1539
|
|
|
1319
1540
|
/** Large styles **/
|
|
1320
1541
|
|
|
1321
1542
|
.ftds--size-large {
|
|
1322
|
-
${(0,
|
|
1323
|
-
${(0,
|
|
1543
|
+
${(0,u.setVariable)(J.size,d.largeIconSize)};
|
|
1544
|
+
${(0,u.setVariable)(H.size,d.largeIconSize)};
|
|
1324
1545
|
|
|
1325
|
-
height: ${
|
|
1326
|
-
padding: 0 ${
|
|
1327
|
-
gap: ${
|
|
1328
|
-
border-radius: ${
|
|
1329
|
-
border-width: ${
|
|
1546
|
+
height: ${d.largeHeight};
|
|
1547
|
+
padding: 0 ${d.largeHorizontalPadding};
|
|
1548
|
+
gap: ${d.largeGap};
|
|
1549
|
+
border-radius: ${d.largeBorderRadius};
|
|
1550
|
+
border-width: ${d.largeBorderWidth};
|
|
1330
1551
|
}
|
|
1331
1552
|
|
|
1332
1553
|
.ftds--size-large:focus-visible {
|
|
1333
|
-
outline-width: ${
|
|
1334
|
-
outline-offset: ${
|
|
1554
|
+
outline-width: ${d.largeFocusOutlineWidth};
|
|
1555
|
+
outline-offset: ${d.largeFocusOutlineOffset};
|
|
1335
1556
|
}
|
|
1336
1557
|
|
|
1337
1558
|
.ftds--size-large.ft-button--icon-only {
|
|
1338
|
-
width: ${
|
|
1559
|
+
width: ${d.largeIconOnlyWidth};
|
|
1339
1560
|
}
|
|
1340
1561
|
|
|
1341
1562
|
/** Small styles **/
|
|
1342
1563
|
|
|
1343
1564
|
.ftds--size-medium {
|
|
1344
|
-
${(0,
|
|
1345
|
-
${(0,
|
|
1565
|
+
${(0,u.setVariable)(J.size,d.mediumIconSize)};
|
|
1566
|
+
${(0,u.setVariable)(H.size,d.mediumIconSize)};
|
|
1346
1567
|
|
|
1347
|
-
height: ${
|
|
1348
|
-
padding: 0 ${
|
|
1349
|
-
gap: ${
|
|
1350
|
-
border-radius: ${
|
|
1351
|
-
border-width: ${
|
|
1568
|
+
height: ${d.mediumHeight};
|
|
1569
|
+
padding: 0 ${d.mediumHorizontalPadding};
|
|
1570
|
+
gap: ${d.mediumGap};
|
|
1571
|
+
border-radius: ${d.mediumBorderRadius};
|
|
1572
|
+
border-width: ${d.mediumBorderWidth};
|
|
1352
1573
|
}
|
|
1353
1574
|
|
|
1354
1575
|
.ftds--size-medium:focus-visible {
|
|
1355
|
-
outline-width: ${
|
|
1356
|
-
outline-offset: ${
|
|
1576
|
+
outline-width: ${d.mediumFocusOutlineWidth};
|
|
1577
|
+
outline-offset: ${d.mediumFocusOutlineOffset};
|
|
1357
1578
|
}
|
|
1358
1579
|
|
|
1359
1580
|
.ftds--size-medium.ft-button--icon-only {
|
|
1360
|
-
width: ${
|
|
1581
|
+
width: ${d.mediumIconOnlyWidth};
|
|
1361
1582
|
}
|
|
1362
1583
|
|
|
1363
1584
|
|
|
1364
1585
|
/** Small styles **/
|
|
1365
1586
|
|
|
1366
1587
|
.ftds--size-small {
|
|
1367
|
-
${(0,
|
|
1368
|
-
${(0,
|
|
1588
|
+
${(0,u.setVariable)(J.size,d.smallIconSize)};
|
|
1589
|
+
${(0,u.setVariable)(H.size,d.smallIconSize)};
|
|
1369
1590
|
|
|
1370
|
-
height: ${
|
|
1371
|
-
padding: 0 ${
|
|
1372
|
-
gap: ${
|
|
1373
|
-
border-radius: ${
|
|
1374
|
-
border-width: ${
|
|
1591
|
+
height: ${d.smallHeight};
|
|
1592
|
+
padding: 0 ${d.smallHorizontalPadding};
|
|
1593
|
+
gap: ${d.smallGap};
|
|
1594
|
+
border-radius: ${d.smallBorderRadius};
|
|
1595
|
+
border-width: ${d.smallBorderWidth};
|
|
1375
1596
|
}
|
|
1376
1597
|
|
|
1377
1598
|
.ftds--size-small:focus-visible {
|
|
1378
|
-
outline-width: ${
|
|
1379
|
-
outline-offset: ${
|
|
1599
|
+
outline-width: ${d.smallFocusOutlineWidth};
|
|
1600
|
+
outline-offset: ${d.smallFocusOutlineOffset};
|
|
1380
1601
|
}
|
|
1381
1602
|
|
|
1382
1603
|
.ftds--size-small.ft-button--icon-only {
|
|
1383
|
-
width: ${
|
|
1604
|
+
width: ${d.smallIconOnlyWidth};
|
|
1384
1605
|
}
|
|
1385
|
-
`,
|
|
1606
|
+
`,u.noTextSelect];var ao=function(o,e,r,a){var i=arguments.length,l=i<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,r):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,e,r,a);else for(var p=o.length-1;p>=0;p--)(s=o[p])&&(l=(i<3?s(l):i>3?s(e,r,l):s(e,r))||l);return i>3&&l&&Object.defineProperty(e,r,l),l},kt=class extends(0,io.toFtdsBase)(Z){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Ve.brand,this.iconVariant=Ct.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case ee.large:return _t.body2medium;case ee.medium:return _t.caption1medium;case ee.small:return _t.caption2medium}}};kt.styles=[io.safariEllipsisFix,ya];ao([(0,Ue.property)({type:Boolean})],kt.prototype,"primary",void 0);ao([(0,Ue.property)({type:Boolean})],kt.prototype,"secondary",void 0);ao([(0,Ue.property)({type:Boolean})],kt.prototype,"tertiary",void 0);ao([(0,Ue.property)({type:Boolean})],kt.prototype,"round",void 0);(0,Ho.customElement)("ft-button")(Wt);(0,Ho.customElement)("ftds-button")(kt);var Sa=h(Gt());var lo=class extends CustomEvent{constructor(e){super("row-click",{detail:e})}},co=class extends CustomEvent{constructor(e){super("change",{detail:e})}};var ga=h(z()),Y=h(R());var et={headerBackground:Y.FtCssVariableFactory.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:Y.FtCssVariableFactory.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:Y.FtCssVariableFactory.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:Y.FtCssVariableFactory.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:Y.FtCssVariableFactory.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","10"),cellVerticalBorderWidth:Y.FtCssVariableFactory.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),columnTitleWhiteSpace:Y.FtCssVariableFactory.create("--ft-filterable-table-column-title-white-space","","UNKNOWN","nowrap"),columnTitleMargin:Y.FtCssVariableFactory.create("--ft-filterable-table-column-title-margin","","UNKNOWN","0 .5rem 0 0"),colorOnSurfaceHigh:Y.FtCssVariableFactory.external(Y.designSystemVariables.colorOnSurfaceHigh,"Design system"),titleFont:Y.FtCssVariableFactory.external(Y.designSystemVariables.titleFont,"Design system"),contentFont:Y.FtCssVariableFactory.external(Y.designSystemVariables.contentFont,"Design system")},ha=ga.css`
|
|
1386
1607
|
:host {
|
|
1387
1608
|
display: block;
|
|
1388
1609
|
}
|
|
@@ -1398,23 +1619,23 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1398
1619
|
.header-cell {
|
|
1399
1620
|
display: flex;
|
|
1400
1621
|
flex-direction: column;
|
|
1401
|
-
background: ${
|
|
1402
|
-
color: ${
|
|
1622
|
+
background: ${et.headerBackground};
|
|
1623
|
+
color: ${et.colorOnSurfaceHigh};
|
|
1403
1624
|
padding: .5rem 1rem;
|
|
1404
|
-
font-family: ${
|
|
1625
|
+
font-family: ${et.titleFont};
|
|
1405
1626
|
}
|
|
1406
1627
|
|
|
1407
1628
|
.header-cell--sticky {
|
|
1408
1629
|
top: 0;
|
|
1409
|
-
z-index: ${
|
|
1630
|
+
z-index: ${et.stickyHeaderZIndex};
|
|
1410
1631
|
position: sticky;
|
|
1411
1632
|
|
|
1412
1633
|
&:focus-within {
|
|
1413
|
-
z-index: calc(${
|
|
1634
|
+
z-index: calc(${et.stickyHeaderZIndex} + 1);
|
|
1414
1635
|
}
|
|
1415
1636
|
|
|
1416
1637
|
&:hover {
|
|
1417
|
-
z-index: calc(${
|
|
1638
|
+
z-index: calc(${et.stickyHeaderZIndex} + 2);
|
|
1418
1639
|
}
|
|
1419
1640
|
}
|
|
1420
1641
|
|
|
@@ -1433,17 +1654,17 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1433
1654
|
}
|
|
1434
1655
|
|
|
1435
1656
|
.column-title-container ft-button {
|
|
1436
|
-
${(0,
|
|
1437
|
-
${(0,
|
|
1657
|
+
${(0,Y.setVariable)(G.backgroundColor,et.headerBackground)};
|
|
1658
|
+
${(0,Y.setVariable)(G.color,et.colorOnSurfaceHigh)};
|
|
1438
1659
|
}
|
|
1439
1660
|
|
|
1440
1661
|
.column-title {
|
|
1441
|
-
white-space: ${
|
|
1662
|
+
white-space: ${et.columnTitleWhiteSpace};
|
|
1442
1663
|
text-transform: uppercase;
|
|
1443
1664
|
font-weight: normal;
|
|
1444
1665
|
letter-spacing: 1.5px;
|
|
1445
1666
|
font-size: 0.8em;
|
|
1446
|
-
margin: ${
|
|
1667
|
+
margin: ${et.columnTitleMargin};
|
|
1447
1668
|
height: 100%;
|
|
1448
1669
|
display: flex;
|
|
1449
1670
|
align-items: center;
|
|
@@ -1452,7 +1673,7 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1452
1673
|
.column-filter {
|
|
1453
1674
|
flex-grow: 1;
|
|
1454
1675
|
flex-shrink: 0;
|
|
1455
|
-
${(0,
|
|
1676
|
+
${(0,Y.setVariable)(A.optionsHeight,"300px")};
|
|
1456
1677
|
}
|
|
1457
1678
|
|
|
1458
1679
|
.column-filter:not(:empty) {
|
|
@@ -1467,31 +1688,31 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1467
1688
|
|
|
1468
1689
|
.cell {
|
|
1469
1690
|
padding: 1rem;
|
|
1470
|
-
border-left-color: ${
|
|
1691
|
+
border-left-color: ${et.headerBackground};
|
|
1471
1692
|
border-left-style: solid;
|
|
1472
|
-
border-left-width: ${
|
|
1473
|
-
border-bottom: 1px solid ${
|
|
1693
|
+
border-left-width: ${et.cellVerticalBorderWidth};
|
|
1694
|
+
border-bottom: 1px solid ${et.headerBackground};
|
|
1474
1695
|
overflow-x: auto;
|
|
1475
1696
|
display: flex;
|
|
1476
1697
|
align-items: center;
|
|
1477
|
-
font-family: ${
|
|
1698
|
+
font-family: ${et.contentFont};
|
|
1478
1699
|
}
|
|
1479
1700
|
|
|
1480
1701
|
/* Even is 2n+1 and odd is 2n because of the header */
|
|
1481
1702
|
.row:nth-child(2n) > .cell {
|
|
1482
|
-
background: ${
|
|
1703
|
+
background: ${et.oddRowBackground};
|
|
1483
1704
|
}
|
|
1484
1705
|
|
|
1485
1706
|
.row:nth-child(2n + 1) > .cell {
|
|
1486
|
-
background: ${
|
|
1707
|
+
background: ${et.evenRowBackground};
|
|
1487
1708
|
}
|
|
1488
1709
|
|
|
1489
1710
|
.row:hover > .cell {
|
|
1490
|
-
background: ${
|
|
1711
|
+
background: ${et.rowHoverBackground};
|
|
1491
1712
|
}
|
|
1492
1713
|
|
|
1493
1714
|
.cell:last-of-type {
|
|
1494
|
-
border-right: 1px solid ${
|
|
1715
|
+
border-right: 1px solid ${et.headerBackground};
|
|
1495
1716
|
}
|
|
1496
1717
|
|
|
1497
1718
|
.row:last-of-type .cell:first-of-type {
|
|
@@ -1501,25 +1722,25 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1501
1722
|
.row:last-of-type .cell:last-of-type {
|
|
1502
1723
|
border-radius: 0 0 .5rem 0;
|
|
1503
1724
|
}
|
|
1504
|
-
`;var
|
|
1725
|
+
`;var Oe=function(o,e,r,a){var i=arguments.length,l=i<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,r):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,e,r,a);else for(var p=o.length-1;p>=0;p--)(s=o[p])&&(l=(i<3?s(l):i>3?s(e,r,l):s(e,r))||l);return i>3&&l&&Object.defineProperty(e,r,l),l},oi=o=>ct.html`${o}`,ma=(o,e)=>o-e,ba=o=>""+o,St=class extends ve.FtLitElement{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.disableDataManipulation=!1,this.filters=[],this.filterOptions=[]}init(e,r,a){this.data=e,this.columns=r,this.sort=a}render(){let e=this.sortData(this.filterData());return ct.html`
|
|
1505
1726
|
<style>
|
|
1506
1727
|
.table {
|
|
1507
|
-
grid-template-columns: ${this.columns.map(r=>{var
|
|
1728
|
+
grid-template-columns: ${this.columns.map(r=>{var a;return(a=r.gridTemplateColumn)!==null&&a!==void 0?a:"minmax(min-content, auto)"}).join(" ")};
|
|
1508
1729
|
}
|
|
1509
1730
|
</style>
|
|
1510
1731
|
<div class="table">
|
|
1511
1732
|
<div class="header">
|
|
1512
|
-
${(0,Se.repeat)(this.columns,(r,
|
|
1733
|
+
${(0,Se.repeat)(this.columns,(r,a)=>"header-cell-"+a,(r,a)=>this.renderHeader(r,a))}
|
|
1513
1734
|
</div>
|
|
1514
|
-
${(0,Se.repeat)(e,(r,
|
|
1735
|
+
${(0,Se.repeat)(e,(r,a)=>"row-"+a,(r,a)=>ct.html`
|
|
1515
1736
|
<div class="row"
|
|
1516
1737
|
@click=${()=>this.dispatchEvent(new lo(r))}>
|
|
1517
|
-
${(0,Se.repeat)(this.columns,(
|
|
1738
|
+
${(0,Se.repeat)(this.columns,(i,l)=>"cell-"+l+"-"+a,(i,l)=>this.renderCell(i,l,r,a))}
|
|
1518
1739
|
</div>
|
|
1519
1740
|
`)}
|
|
1520
1741
|
</div>
|
|
1521
|
-
`}filterData(){return this.disableDataManipulation?this.data:this.filters.reduce((e,r,
|
|
1522
|
-
<div class="${(0,
|
|
1742
|
+
`}filterData(){return this.disableDataManipulation?this.data:this.filters.reduce((e,r,a)=>{var i;let l=this.columns[a];if(r&&r.value)switch((i=l.filter)!==null&&i!==void 0?i:"text"){case"text":return e.filter(s=>this.getValueAsString(l,s,a).toLowerCase().includes(r.value.toLowerCase()));case"select":return e.filter(s=>this.getValue(l,s)===r.value)}return e},this.data)}sortData(e){var r;if(this.currentSort&&!this.disableDataManipulation){let a=this.columns[this.currentSort.column],i=(r=a.comparator)!==null&&r!==void 0?r:ma,l=this.currentSort.order==="asc"?i:(s,p)=>-i(s,p);return[...e].sort((s,p)=>l(this.getValue(a,s),this.getValue(a,p)))}return e}update(e){super.update(e),e.has("sort")&&(this.currentSort=this.sort),(e.has("data")||e.has("columns"))&&this.updateFilterOptions()}updateFilterOptions(){var e,r,a;this.filterOptions=[];let i=this.data,l=this.columns;for(let s in l){let p=l[s],f=(e=p.filter)!==null&&e!==void 0?e:"text";(f==="text"||f==="select")&&(this.filterOptions[s]=((r=p.options)!==null&&r!==void 0?r:[...new Set(i.map(y=>this.getValue(p,y)))]).sort((a=p.comparator)!==null&&a!==void 0?a:ma),f==="text"&&(this.filterOptions[s]=this.filterOptions[s].map(y=>this.stringifyValue(p,y,0))))}this.requestUpdate()}renderHeader(e,r){let a={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return ct.html`
|
|
1743
|
+
<div class="${(0,Sa.classMap)(a)}"
|
|
1523
1744
|
part="${this.columnPart("header-cell",r)}">
|
|
1524
1745
|
<div class="column-title-container"
|
|
1525
1746
|
part="${this.columnPart("title-container",r)}">
|
|
@@ -1531,45 +1752,45 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1531
1752
|
</div>
|
|
1532
1753
|
${this.renderColumnFilter(e,r)}
|
|
1533
1754
|
</div>
|
|
1534
|
-
`}getOppositeSortOrder(e){return e==="asc"?"desc":"asc"}renderColumnSort(e,r){var i
|
|
1755
|
+
`}getOppositeSortOrder(e){return e==="asc"?"desc":"asc"}renderColumnSort(e,r){var a,i;let l=this.currentSort&&this.currentSort.column===r,s=l?this.currentSort.order==="asc"?"expand_less":"expand_more":"unfold_more",p=()=>{var x,$;let w=(x=e.defaultSortOrder)!==null&&x!==void 0?x:"asc";this.currentSort={column:r,order:l&&(($=this.currentSort)===null||$===void 0?void 0:$.order)===w?this.getOppositeSortOrder(w):w},this.dispatchChangeEvent()},f=(a=e.titleText)!==null&&a!==void 0?a:e.title,y=this.getSortOrderText(l,e),S=`Sort ${f} in ${y} order`;return!((i=e.sortable)!==null&&i!==void 0)||i?ct.html`
|
|
1535
1756
|
<ft-button
|
|
1536
1757
|
round
|
|
1537
1758
|
dense
|
|
1538
1759
|
iconVariant="material"
|
|
1539
|
-
icon="${
|
|
1540
|
-
label="${
|
|
1760
|
+
icon="${s}"
|
|
1761
|
+
label="${S}"
|
|
1541
1762
|
@click=${p}
|
|
1542
1763
|
part="${this.columnPart("sort-button",r)}"
|
|
1543
1764
|
></ft-button>
|
|
1544
|
-
`:ct.nothing}getSortOrderText(e,r){return e?this.currentSort.order==="asc"?"descending":"ascending":r.defaultSortOrder==="desc"?"descending":"ascending"}dispatchChangeEvent(){this.dispatchEvent(new co({filters:this.filters.map((e,r)=>({column:r,value:e.value})).filter(e=>e.value!=null),sort:this.currentSort}))}renderColumnFilter(e,r){var i,
|
|
1765
|
+
`:ct.nothing}getSortOrderText(e,r){return e?this.currentSort.order==="asc"?"descending":"ascending":r.defaultSortOrder==="desc"?"descending":"ascending"}dispatchChangeEvent(){this.dispatchEvent(new co({filters:this.filters.map((e,r)=>({column:r,value:e.value})).filter(e=>e.value!=null),sort:this.currentSort}))}renderColumnFilter(e,r){var a,i,l,s,p;let f=S=>{this.filters[r]={value:S.detail},this.requestUpdate(),this.dispatchChangeEvent()},y=(a=this.filterOptions[r])!==null&&a!==void 0?a:[];switch((i=e.filter)!==null&&i!==void 0?i:"text"){case"text":return ct.html`
|
|
1545
1766
|
<div class="column-filter" part="${this.columnPart("filter-container",r)}">
|
|
1546
1767
|
<ft-text-field
|
|
1547
1768
|
label="Search ${(l=e.titleText)!==null&&l!==void 0?l:e.title}"
|
|
1548
|
-
@live-change="${
|
|
1769
|
+
@live-change="${f}"
|
|
1549
1770
|
part="${this.columnPart("filter",r)}"
|
|
1550
1771
|
>
|
|
1551
|
-
${(0,Se.repeat)(
|
|
1552
|
-
<ft-text-field-suggestion>${
|
|
1772
|
+
${(0,Se.repeat)(y,x=>ct.html`
|
|
1773
|
+
<ft-text-field-suggestion>${x}</ft-text-field-suggestion>
|
|
1553
1774
|
`)}
|
|
1554
1775
|
</ft-text-field>
|
|
1555
1776
|
</div>
|
|
1556
|
-
`;case"select":return((
|
|
1777
|
+
`;case"select":return((s=this.filterOptions[r])!==null&&s!==void 0?s:[]).length?ct.html`
|
|
1557
1778
|
<div class="column-filter" part="${this.columnPart("filter-container",r)}">
|
|
1558
1779
|
<ft-select label="Filter ${(p=e.titleText)!==null&&p!==void 0?p:e.title}"
|
|
1559
|
-
@change=${
|
|
1780
|
+
@change=${f}
|
|
1560
1781
|
part="${this.columnPart("filter",r)}">
|
|
1561
1782
|
<ft-select-option></ft-select-option>
|
|
1562
|
-
${(0,Se.repeat)(
|
|
1563
|
-
<ft-select-option .value=${
|
|
1783
|
+
${(0,Se.repeat)(y,x=>ct.html`
|
|
1784
|
+
<ft-select-option .value=${x} label="${this.stringifyValue(e,x,0)}"></ft-select-option>
|
|
1564
1785
|
`)}
|
|
1565
1786
|
</ft-select>
|
|
1566
1787
|
</div>
|
|
1567
|
-
`:ct.nothing}return ct.nothing}columnPart(e,r){return`${e} ${e}-column-${r}`}renderCell(e,r,i
|
|
1788
|
+
`:ct.nothing}return ct.nothing}columnPart(e,r){return`${e} ${e}-column-${r}`}renderCell(e,r,a,i){var l;let s=(l=e.render)!==null&&l!==void 0?l:oi,p=f=>{let y=s(f,i);return typeof y=="string"?(0,xa.unsafeHTML)(y):y};return ct.html`
|
|
1568
1789
|
<div class="cell"
|
|
1569
|
-
part="${this.columnPart("cell",r)} cell-row-${
|
|
1570
|
-
${p(this.getValue(e,
|
|
1790
|
+
part="${this.columnPart("cell",r)} cell-row-${i} cell-column-${r}-row-${i}">
|
|
1791
|
+
${p(this.getValue(e,a))}
|
|
1571
1792
|
</div>
|
|
1572
|
-
`}getValue(e,r){return typeof e.getter=="string"?r[e.getter]:e.getter(r)}getValueAsString(e,r,
|
|
1793
|
+
`}getValue(e,r){return typeof e.getter=="string"?r[e.getter]:e.getter(r)}getValueAsString(e,r,a){let i=this.getValue(e,r);return typeof e.stringify=="function"?e.stringify(i,a):ba(i)}stringifyValue(e,r,a){return typeof e.stringify=="function"?e.stringify(r,a):ba(r)}};St.styles=ha;Oe([(0,ve.jsonProperty)([])],St.prototype,"data",void 0);Oe([(0,ve.jsonProperty)([])],St.prototype,"columns",void 0);Oe([(0,ve.jsonProperty)(void 0)],St.prototype,"sort",void 0);Oe([(0,Fe.property)({type:Boolean})],St.prototype,"stickyHeaders",void 0);Oe([(0,Fe.property)({type:Boolean})],St.prototype,"disableDataManipulation",void 0);Oe([(0,Fe.state)()],St.prototype,"currentSort",void 0);(0,Oa.customElement)("ft-filterable-table")(St);})();
|
|
1573
1794
|
/*! Bundled license information:
|
|
1574
1795
|
|
|
1575
1796
|
lit-html/lit-html.js:
|