@fluid-topics/ft-tree-list 1.2.67
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/README.md +31 -0
- package/build/ft-tree-list.light.js +1410 -0
- package/build/ft-tree-list.min.js +1609 -0
- package/build/ftds-tree-list.d.ts +64 -0
- package/build/ftds-tree-list.js +489 -0
- package/build/ftds-tree-list.properties.d.ts +18 -0
- package/build/ftds-tree-list.properties.js +1 -0
- package/build/ftds-tree-list.styles.d.ts +2 -0
- package/build/ftds-tree-list.styles.js +211 -0
- package/build/index.d.ts +3 -0
- package/build/index.js +6 -0
- package/build/model/FtTreeListData.d.ts +18 -0
- package/build/model/FtTreeListData.js +50 -0
- package/package.json +31 -0
|
@@ -0,0 +1,1410 @@
|
|
|
1
|
+
"use strict";(()=>{var Da=Object.create;var bo=Object.defineProperty;var Ga=Object.getOwnPropertyDescriptor;var Ua=Object.getOwnPropertyNames;var Ma=Object.getPrototypeOf,Fa=Object.prototype.hasOwnProperty;var Tt=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var Za=(e,o,a,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let l of Ua(o))!Fa.call(e,l)&&l!==a&&bo(e,l,{get:()=>o[l],enumerable:!(n=Ga(o,l))||n.enumerable});return e};var x=(e,o,a)=>(a=e!=null?Da(Ma(e)):{},Za(o||!e||!e.__esModule?bo(a,"default",{value:e,enumerable:!0}):a,e));var L=Tt((Sn,xo)=>{xo.exports=ftGlobals.wcUtils});var G=Tt((On,Co)=>{Co.exports=ftGlobals.lit});var yt=Tt((vn,So)=>{So.exports=ftGlobals.litDecorators});var vo=Tt((Nn,Oo)=>{Oo.exports=ftGlobals.litRepeat});var Oe=Tt((Pn,Ho)=>{Ho.exports=ftGlobals.litClassMap});var $r=Tt((ps,Ar)=>{Ar.exports=ftGlobals.litUnsafeHTML});var za=x(L());var j=x(G()),K=x(yt()),fo=x(vo());function zt(e,o,a){return e?o(e):a?.(e)}var Ue=globalThis,xe=Ue.trustedTypes,No=xe?xe.createPolicy("lit-html",{createHTML:e=>e}):void 0,$o="$lit$",Nt=`lit$${Math.random().toFixed(9).slice(2)}$`,Bo="?"+Nt,Ka=`<${Bo}>`,It=document,Ce=()=>It.createComment(""),re=e=>e===null||typeof e!="object"&&typeof e!="function",Me=Array.isArray,Va=e=>Me(e)||typeof e?.[Symbol.iterator]=="function",Te=`[
|
|
2
|
+
\f\r]`,oe=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,wo=/-->/g,Eo=/>/g,$t=RegExp(`>|${Te}(?:([^\\s"'>=/]+)(${Te}*=${Te}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Lo=/'/g,Ro=/"/g,Io=/^(?:script|style|textarea|title)$/i,Fe=e=>(o,...a)=>({_$litType$:e,strings:o,values:a}),Po=Fe(1),Wo=Fe(2),ko=Fe(3),ae=Symbol.for("lit-noChange"),k=Symbol.for("lit-nothing"),Ao=new WeakMap,Bt=It.createTreeWalker(It,129);function To(e,o){if(!Me(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return No!==void 0?No.createHTML(o):o}var ja=(e,o)=>{let a=e.length-1,n=[],l,c=o===2?"<svg>":o===3?"<math>":"",d=oe;for(let p=0;p<a;p++){let f=e[p],y,S,b=-1,N=0;for(;N<f.length&&(d.lastIndex=N,S=d.exec(f),S!==null);)N=d.lastIndex,d===oe?S[1]==="!--"?d=wo:S[1]!==void 0?d=Eo:S[2]!==void 0?(Io.test(S[2])&&(l=RegExp("</"+S[2],"g")),d=$t):S[3]!==void 0&&(d=$t):d===$t?S[0]===">"?(d=l??oe,b=-1):S[1]===void 0?b=-2:(b=d.lastIndex-S[2].length,y=S[1],d=S[3]===void 0?$t:S[3]==='"'?Ro:Lo):d===Ro||d===Lo?d=$t:d===wo||d===Eo?d=oe:(d=$t,l=void 0);let w=d===$t&&e[p+1].startsWith("/>")?" ":"";c+=d===oe?f+Ka:b>=0?(n.push(y),f.slice(0,b)+$o+f.slice(b)+Nt+w):f+Nt+(b===-2?p:w)}return[To(e,c+(e[a]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),n]},ne=class e{constructor({strings:o,_$litType$:a},n){let l;this.parts=[];let c=0,d=0,p=o.length-1,f=this.parts,[y,S]=ja(o,a);if(this.el=e.createElement(y,n),Bt.currentNode=this.el.content,a===2||a===3){let b=this.el.content.firstChild;b.replaceWith(...b.childNodes)}for(;(l=Bt.nextNode())!==null&&f.length<p;){if(l.nodeType===1){if(l.hasAttributes())for(let b of l.getAttributeNames())if(b.endsWith($o)){let N=S[d++],w=l.getAttribute(b).split(Nt),E=/([.?@])?(.*)/.exec(N);f.push({type:1,index:c,name:E[2],strings:w,ctor:E[1]==="."?He:E[1]==="?"?_e:E[1]==="@"?De:_t}),l.removeAttribute(b)}else b.startsWith(Nt)&&(f.push({type:6,index:c}),l.removeAttribute(b));if(Io.test(l.tagName)){let b=l.textContent.split(Nt),N=b.length-1;if(N>0){l.textContent=xe?xe.emptyScript:"";for(let w=0;w<N;w++)l.append(b[w],Ce()),Bt.nextNode(),f.push({type:2,index:++c});l.append(b[N],Ce())}}}else if(l.nodeType===8)if(l.data===Bo)f.push({type:2,index:c});else{let b=-1;for(;(b=l.data.indexOf(Nt,b+1))!==-1;)f.push({type:7,index:c}),b+=Nt.length-1}c++}}static createElement(o,a){let n=It.createElement("template");return n.innerHTML=o,n}};function Ht(e,o,a=e,n){if(o===ae)return o;let l=n!==void 0?a._$Co?.[n]:a._$Cl,c=re(o)?void 0:o._$litDirective$;return l?.constructor!==c&&(l?._$AO?.(!1),c===void 0?l=void 0:(l=new c(e),l._$AT(e,a,n)),n!==void 0?(a._$Co??=[])[n]=l:a._$Cl=l),l!==void 0&&(o=Ht(e,l._$AS(e,o.values),l,n)),o}var ze=class{constructor(o,a){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=a}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){let{el:{content:a},parts:n}=this._$AD,l=(o?.creationScope??It).importNode(a,!0);Bt.currentNode=l;let c=Bt.nextNode(),d=0,p=0,f=n[0];for(;f!==void 0;){if(d===f.index){let y;f.type===2?y=new Se(c,c.nextSibling,this,o):f.type===1?y=new f.ctor(c,f.name,f.strings,this,o):f.type===6&&(y=new Ge(c,this,o)),this._$AV.push(y),f=n[++p]}d!==f?.index&&(c=Bt.nextNode(),d++)}return Bt.currentNode=It,l}p(o){let a=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(o,n,a),a+=n.strings.length-2):n._$AI(o[a])),a++}},Se=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,a,n,l){this.type=2,this._$AH=k,this._$AN=void 0,this._$AA=o,this._$AB=a,this._$AM=n,this.options=l,this._$Cv=l?.isConnected??!0}get parentNode(){let o=this._$AA.parentNode,a=this._$AM;return a!==void 0&&o?.nodeType===11&&(o=a.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,a=this){o=Ht(this,o,a),re(o)?o===k||o==null||o===""?(this._$AH!==k&&this._$AR(),this._$AH=k):o!==this._$AH&&o!==ae&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):Va(o)?this.k(o):this._(o)}O(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}T(o){this._$AH!==o&&(this._$AR(),this._$AH=this.O(o))}_(o){this._$AH!==k&&re(this._$AH)?this._$AA.nextSibling.data=o:this.T(It.createTextNode(o)),this._$AH=o}$(o){let{values:a,_$litType$:n}=o,l=typeof n=="number"?this._$AC(o):(n.el===void 0&&(n.el=ne.createElement(To(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===l)this._$AH.p(a);else{let c=new ze(l,this),d=c.u(this.options);c.p(a),this.T(d),this._$AH=c}}_$AC(o){let a=Ao.get(o.strings);return a===void 0&&Ao.set(o.strings,a=new ne(o)),a}k(o){Me(this._$AH)||(this._$AH=[],this._$AR());let a=this._$AH,n,l=0;for(let c of o)l===a.length?a.push(n=new e(this.O(Ce()),this.O(Ce()),this,this.options)):n=a[l],n._$AI(c),l++;l<a.length&&(this._$AR(n&&n._$AB.nextSibling,l),a.length=l)}_$AR(o=this._$AA.nextSibling,a){for(this._$AP?.(!1,!0,a);o&&o!==this._$AB;){let n=o.nextSibling;o.remove(),o=n}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},_t=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,a,n,l,c){this.type=1,this._$AH=k,this._$AN=void 0,this.element=o,this.name=a,this._$AM=l,this.options=c,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=k}_$AI(o,a=this,n,l){let c=this.strings,d=!1;if(c===void 0)o=Ht(this,o,a,0),d=!re(o)||o!==this._$AH&&o!==ae,d&&(this._$AH=o);else{let p=o,f,y;for(o=c[0],f=0;f<c.length-1;f++)y=Ht(this,p[n+f],a,f),y===ae&&(y=this._$AH[f]),d||=!re(y)||y!==this._$AH[f],y===k?o=k:o!==k&&(o+=(y??"")+c[f+1]),this._$AH[f]=y}d&&!l&&this.j(o)}j(o){o===k?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},He=class extends _t{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===k?void 0:o}},_e=class extends _t{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==k)}},De=class extends _t{constructor(o,a,n,l,c){super(o,a,n,l,c),this.type=5}_$AI(o,a=this){if((o=Ht(this,o,a,0)??k)===ae)return;let n=this._$AH,l=o===k&&n!==k||o.capture!==n.capture||o.once!==n.once||o.passive!==n.passive,c=o!==k&&(n===k||l);l&&this.element.removeEventListener(this.name,this,n),c&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,o):this._$AH.handleEvent(o)}},Ge=class{constructor(o,a,n){this.element=o,this.type=6,this._$AN=void 0,this._$AM=a,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(o){Ht(this,o)}};var Ya=Ue.litHtmlPolyfillSupport;Ya?.(ne,Se),(Ue.litHtmlVersions??=[]).push("3.3.0");var zo=e=>e??k;var uo=x(Oe()),Ot=x(L());var Rr=x(L());var Do=Symbol.for(""),Xa=e=>{if(e?.r===Do)return e?._$litStatic$},Ze=e=>({_$litStatic$:e,r:Do});var _o=new Map,Ke=e=>(o,...a)=>{let n=a.length,l,c,d=[],p=[],f,y=0,S=!1;for(;y<n;){for(f=o[y];y<n&&(c=a[y],(l=Xa(c))!==void 0);)f+=l+o[++y],S=!0;y!==n&&p.push(c),d.push(f),y++}if(y===n&&d.push(o[n]),S){let b=d.join("$$lit$$");(o=_o.get(b))===void 0&&(d.raw=d,_o.set(b,o=d)),a=p}return e(o,...a)},Ve=Ke(Po),kn=Ke(Wo),Tn=Ke(ko);var je=x(yt()),Lr=x(L());var M;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(M||(M={}));var at=x(G()),m=x(L());var gt=x(G(),1),wt=e=>typeof e=="string"?(0,gt.unsafeCSS)(e):e,t=class{static create(o,a,n,l){let c=p=>wt(p??l),d=gt.css`var(${wt(o)}, ${c(l)})`;return d.name=o,d.description=a,d.category=n,d.defaultValue=l,d.defaultCssValue=c,d.get=p=>gt.css`var(${wt(o)}, ${c(p)})`,d.breadcrumb=()=>[],d.lastResortDefaultValue=()=>l,d}static extend(o,a,n,l){let c=p=>n.get(p??l),d=gt.css`var(${wt(o)}, ${c(l)})`;return d.name=o,d.description=a,d.category=n.category,d.fallbackVariable=n,d.defaultValue=l,d.defaultCssValue=c,d.get=p=>gt.css`var(${wt(o)}, ${c(p)})`,d.breadcrumb=()=>[n.name,...n.breadcrumb()],d.lastResortDefaultValue=()=>l??n.lastResortDefaultValue(),d}static external(o,a){let n=c=>o.fallbackVariable?o.fallbackVariable.get(c??o.defaultValue):wt(c??o.lastResortDefaultValue()),l=gt.css`var(${wt(o.name)}, ${n(o.defaultValue)})`;return l.name=o.name,l.category=o.category,l.fallbackVariable=o.fallbackVariable,l.defaultValue=o.defaultValue,l.context=a,l.defaultCssValue=n,l.get=c=>gt.css`var(${wt(o.name)}, ${n(c)})`,l.breadcrumb=()=>o.fallbackVariable?[o.fallbackVariable.name,...o.fallbackVariable.breadcrumb()]:[],l.lastResortDefaultValue=()=>o.lastResortDefaultValue(),l}};var r={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(0.25rem*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(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"),opacity12:t.create("--ft-opacity-12","","NUMBER","0.12"),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"),opacity48:t.create("--ft-opacity-48","","NUMBER","0.48"),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)")},Go={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","1.2"),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")},Uo={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","1.2"),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")},Mo={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","1.2"),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")},Fo={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","1.2"),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")},Zo={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","1.35"),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")},Ko={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","1.35"),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")},Vo={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","1.35"),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")},jo={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","1.35"),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")},Yo={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","1.35"),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")},qa={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","1.35"),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")},Xo={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","1.35"),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")},qo={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")},Qo={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")},Jo={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")},tr={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")},er={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")},or={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")},rr={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","1.3"),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")},ar={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","1.3"),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")},nr={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","1.3"),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")},ir={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","1.3"),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")},lr={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","1.3"),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")},cr={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","1.3"),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")},dr={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","1.3"),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")},sr={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","1.3"),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")},pr={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","1.3"),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")},ve={display:Go,"title-1":Uo,"title-2":Mo,"title-3":Fo,"body-1-regular":Zo,"body-1-medium":Ko,"body-1-semibold":Vo,"body-2-regular":jo,"body-2-medium":Yo,"body-2-medium-underline":qa,"body-2-semibold":Xo,"label-1-medium":qo,"label-1-semibold":Qo,"label-1-bold":Jo,"label-2-medium":tr,"label-2-semibold":er,"label-2-bold":or,"caption-1-medium":rr,"caption-1-semibold":ar,"caption-1-bold":nr,"caption-2-medium":ir,"caption-2-semibold":lr,"caption-2-bold":cr,"caption-3-medium":dr,"caption-3-semibold":sr,"caption-3-bold":pr};var i={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",r.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",r.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",r.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",r.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",r.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",r.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",r.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",r.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",r.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",r.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",r.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",r.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",r.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",r.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",r.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",r.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",r.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",r.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
4
|
+
Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",r.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",r.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",r.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",r.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",r.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",r.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",r.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",r.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",r.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",r.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",r.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",r.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",r.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",r.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",r.colorGray80),borderNeutralPrimary:t.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",r.colorGray200)};var s={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",r.spacing4),largeGap:t.extend("--ft-button-large-gap","",r.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",r.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",r.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","",r.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",r.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",r.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",r.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","",r.spacing2),smallGap:t.extend("--ft-button-small-gap","",r.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",r.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",r.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","",r.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","",r.borderRadiusPill),primaryBrandBackgroundColor:t.extend("--ft-button-primary-brand-background-color","",i.backgroundActionPrimary),primaryBrandColor:t.extend("--ft-button-primary-brand-color","",i.contentGlobalOnColor),primaryBrandIconColor:t.extend("--ft-button-primary-brand-icon-color","",i.contentGlobalOnColor),primaryBrandStateLayerColor:t.extend("--ft-button-primary-brand-state-layer-color","",i.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:t.extend("--ft-button-primary-brand-hover-state-layer-opacity","",r.opacity16),primaryBrandFocusStateLayerOpacity:t.extend("--ft-button-primary-brand-focus-state-layer-opacity","",r.opacity16),primaryBrandActiveStateLayerOpacity:t.extend("--ft-button-primary-brand-active-state-layer-opacity","",r.opacity24),primaryBrandDisabledComponentOpacity:t.extend("--ft-button-primary-brand-disabled-component-opacity","",r.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",i.borderActionFocusRing),tertiaryBrandBackgroundColor:t.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:t.extend("--ft-button-tertiary-brand-color","",i.contentActionPrimary),tertiaryBrandIconColor:t.extend("--ft-button-tertiary-brand-icon-color","",i.contentActionPrimary),tertiaryBrandStateLayerColor:t.extend("--ft-button-tertiary-brand-state-layer-color","",i.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:t.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",r.opacity8),tertiaryBrandFocusStateLayerOpacity:t.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",r.opacity8),tertiaryBrandActiveStateLayerOpacity:t.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",r.opacity16),tertiaryBrandDisabledComponentOpacity:t.extend("--ft-button-tertiary-brand-disabled-component-opacity","",r.opacity40),tertiaryInfoBackgroundColor:t.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:t.extend("--ft-button-tertiary-info-color","",i.contentInfoPrimary),tertiaryInfoIconColor:t.extend("--ft-button-tertiary-info-icon-color","",i.contentInfoPrimary),tertiaryInfoStateLayerColor:t.extend("--ft-button-tertiary-info-state-layer-color","",i.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:t.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",r.opacity8),tertiaryInfoHoverStateLayerOpacity:t.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",r.opacity8),tertiaryInfoActiveStateLayerOpacity:t.extend("--ft-button-tertiary-info-active-state-layer-opacity","",r.opacity16),tertiaryInfoDisabledComponentOpacity:t.extend("--ft-button-tertiary-info-disabled-component-opacity","",r.opacity40),tertiarySuccessBackgroundColor:t.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:t.extend("--ft-button-tertiary-success-color","",i.contentSuccessPrimary),tertiarySuccessIconColor:t.extend("--ft-button-tertiary-success-icon-color","",i.contentSuccessPrimary),tertiarySuccessStateLayerColor:t.extend("--ft-button-tertiary-success-state-layer-color","",i.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:t.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",r.opacity8),tertiarySuccessFocusStateLayerOpacity:t.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",r.opacity8),tertiarySuccessActiveStateLayerOpacity:t.extend("--ft-button-tertiary-success-active-state-layer-opacity","",r.opacity16),tertiarySuccessDisabledComponentOpacity:t.extend("--ft-button-tertiary-success-disabled-component-opacity","",r.opacity40),tertiaryWarningBackgroundColor:t.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:t.extend("--ft-button-tertiary-warning-color","",i.contentWarningPrimary),tertiaryWarningIconColor:t.extend("--ft-button-tertiary-warning-icon-color","",i.contentWarningPrimary),tertiaryWarningStateLayerColor:t.extend("--ft-button-tertiary-warning-state-layer-color","",i.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:t.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",r.opacity8),tertiaryWarningFocusStateLayerOpacity:t.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",r.opacity8),tertiaryWarningActiveStateLayerOpacity:t.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",r.opacity16),tertiaryWarningDisabledComponentOpacity:t.extend("--ft-button-tertiary-warning-disabled-component-opacity","",r.opacity40),tertiaryErrorBackgroundColor:t.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:t.extend("--ft-button-tertiary-error-color","",i.contentErrorPrimary),tertiaryErrorIconColor:t.extend("--ft-button-tertiary-error-icon-color","",i.contentErrorPrimary),tertiaryErrorStateLayerColor:t.extend("--ft-button-tertiary-error-state-layer-color","",i.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:t.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",r.opacity8),tertiaryErrorFocusStateLayerOpacity:t.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",r.opacity8),tertiaryErrorActiveStateLayerOpacity:t.extend("--ft-button-tertiary-error-active-state-layer-opacity","",r.opacity16),tertiaryErrorDisabledComponentOpacity:t.extend("--ft-button-tertiary-error-disabled-component-opacity","",r.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","",i.contentGlobalSecondary),tertiaryNeutralColor:t.extend("--ft-button-tertiary-neutral-color","",i.contentGlobalSecondary),tertiaryNeutralStateLayerColor:t.extend("--ft-button-tertiary-neutral-state-layer-color","",i.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",r.opacity8),tertiaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",r.opacity8),tertiaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",r.opacity16),tertiaryNeutralDisabledComponentOpacity:t.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",r.opacity40),secondaryBrandBackgroundColor:t.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:t.extend("--ft-button-secondary-brand-color","",i.contentActionPrimary),secondaryBrandIconColor:t.extend("--ft-button-secondary-brand-icon-color","",i.contentActionPrimary),secondaryBrandStateLayerColor:t.extend("--ft-button-secondary-brand-state-layer-color","",i.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:t.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",r.opacity8),secondaryBrandFocusStateLayerOpacity:t.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",r.opacity8),secondaryBrandActiveStateLayerOpacity:t.extend("--ft-button-secondary-brand-active-state-layer-opacity","",r.opacity16),secondaryBrandDisabledComponentOpacity:t.extend("--ft-button-secondary-brand-disabled-component-opacity","",r.opacity40),secondaryBrandBorderColor:t.extend("--ft-button-secondary-brand-border-color","",i.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",r.opacity8),secondaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",r.opacity8),secondaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",r.opacity16),secondaryNeutralDisabledComponentOpacity:t.extend("--ft-button-secondary-neutral-disabled-component-opacity","",r.opacity40),secondaryNeutralBackgroundColor:t.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:t.extend("--ft-button-secondary-neutral-color","",i.contentGlobalSecondary),secondaryNeutralIconColor:t.extend("--ft-button-secondary-neutral-icon-color","",i.contentGlobalSecondary),secondaryNeutralStateLayerColor:t.extend("--ft-button-secondary-neutral-state-layer-color","",i.contentGlobalSecondary),secondaryNeutralBorderColor:t.extend("--ft-button-secondary-neutral-border-color","",i.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:t.extend("--ft-button-secondary-info-hover-state-layer-opacity","",r.opacity8),secondaryInfoFocusStateLayerOpacity:t.extend("--ft-button-secondary-info-focus-state-layer-opacity","",r.opacity8),secondaryInfoActiveStateLayerOpacity:t.extend("--ft-button-secondary-info-active-state-layer-opacity","",r.opacity16),secondaryInfoDisabledComponentOpacity:t.extend("--ft-button-secondary-info-disabled-component-opacity","",r.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","",i.borderInfoPrimary),secondaryInfoColor:t.extend("--ft-button-secondary-info-color","",i.contentInfoPrimary),secondaryInfoIconColor:t.extend("--ft-button-secondary-info-icon-color","",i.contentInfoPrimary),secondaryInfoStateLayerColor:t.extend("--ft-button-secondary-info-state-layer-color","",i.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:t.extend("--ft-button-secondary-success-hover-state-layer-opacity","",r.opacity8),secondarySuccessFocusStateLayerOpacity:t.extend("--ft-button-secondary-success-focus-state-layer-opacity","",r.opacity8),secondarySuccessActiveStateLayerOpacity:t.extend("--ft-button-secondary-success-active-state-layer-opacity","",r.opacity16),secondarySuccessDisabledComponentOpacity:t.extend("--ft-button-secondary-success-disabled-component-opacity","",r.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","",i.borderSuccessPrimary),secondarySuccessColor:t.extend("--ft-button-secondary-success-color","",i.contentSuccessPrimary),secondarySuccessIconColor:t.extend("--ft-button-secondary-success-icon-color","",i.contentSuccessPrimary),secondarySuccessStateLayerColor:t.extend("--ft-button-secondary-success-state-layer-color","",i.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:t.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",r.opacity8),secondaryWarningFocusStateLayerOpacity:t.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",r.opacity8),secondaryWarningActiveStateLayerOpacity:t.extend("--ft-button-secondary-warning-active-state-layer-opacity","",r.opacity16),secondaryWarningDisabledComponentOpacity:t.extend("--ft-button-secondary-warning-disabled-component-opacity","",r.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","",i.borderWarningPrimary),secondaryWarningColor:t.extend("--ft-button-secondary-warning-color","",i.contentWarningPrimary),secondaryWarningIconColor:t.extend("--ft-button-secondary-warning-icon-color","",i.contentWarningPrimary),secondaryWarningStateLayerColor:t.extend("--ft-button-secondary-warning-state-layer-color","",i.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:t.extend("--ft-button-secondary-error-hover-state-layer-opacity","",r.opacity8),secondaryErrorFocusStateLayerOpacity:t.extend("--ft-button-secondary-error-focus-state-layer-opacity","",r.opacity8),secondaryErrorActiveStateLayerOpacity:t.extend("--ft-button-secondary-error-active-state-layer-opacity","",r.opacity16),secondaryErrorDisabledComponentOpacity:t.extend("--ft-button-secondary-error-disabled-component-opacity","",r.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","",i.contentErrorPrimary),secondaryErrorColor:t.extend("--ft-button-secondary-error-color","",i.contentErrorPrimary),secondaryErrorIconColor:t.extend("--ft-button-secondary-error-icon-color","",i.contentErrorPrimary),secondaryErrorStateLayerColor:t.extend("--ft-button-secondary-error-state-layer-color","",i.contentErrorPrimary)};var ti={iconSize:t.extend("--ft-checkbox-icon-size","",r.iconSize2),boxSize:t.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:t.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:t.create("--ft-checkbox-border-radius","","SIZE","1px"),color:t.extend("--ft-checkbox-color","",i.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",i.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",i.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",i.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",r.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",r.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",r.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",r.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",r.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",r.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",r.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",r.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",r.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",r.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",i.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:t.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:t.extend("--ft-checkbox-horizontal-gap","",r.spacing3),leftPadding:t.extend("--ft-checkbox-left-padding","",r.spacing2)};var ni={headerRowBorderWidth:t.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:t.extend("--ft-table-header-row-background-color","",i.backgroundGlobalOnSurfaceDark),headerRowBorderColor:t.extend("--ft-table-header-row-border-color","",i.borderGlobalPrimary),headerRowColor:t.extend("--ft-table-header-row-color","",i.contentGlobalPrimary),dataRowBorderWidth:t.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:t.extend("--ft-table-data-row-background-color","",i.backgroundGlobalOnSurface),dataRowBorderColor:t.extend("--ft-table-data-row-border-color","",i.borderGlobalSubtle),dataRowColor:t.extend("--ft-table-data-row-color","",i.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:t.extend("--ft-table-data-row-default-hover-background-color","",r.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:t.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",r.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:t.extend("--ft-table-data-row-selectable-selected-default-background-color","",r.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:t.extend("--ft-table-data-row-selectable-selected-default-border-color","",r.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:t.extend("--ft-table-data-row-selectable-selected-hover-background-color","",r.colorBrand20),dataRowSelectableSelectedHoverBorderColor:t.extend("--ft-table-data-row-selectable-selected-hover-border-color","",r.colorBrand30),dataRowSelectableSelectedColor:t.extend("--ft-table-data-row-selectable-selected-color","",i.contentActionPrimary),dataRowClickableHoverBackgroundColor:t.extend("--ft-table-data-row-clickable-hover-background-color","",r.colorGray30),dataRowClickableFocusBorderColor:t.extend("--ft-table-data-row-clickable-focus-border-color","",i.borderActionFocusRing),dataRowClickableFocusBackgroundColor:t.extend("--ft-table-data-row-clickable-focus-background-color","",r.colorGray30),dataRowClickableActiveBackgroundColor:t.extend("--ft-table-data-row-clickable-active-background-color","",r.colorGray40),headerCellHorizontalGap:t.extend("--ft-table-header-cell-horizontal-gap","",r.spacing1),headerCellVerticalPadding:t.extend("--ft-table-header-cell-vertical-padding","",r.spacing2),headerCellHorizontalPadding:t.extend("--ft-table-header-cell-horizontal-padding","",r.spacing3),dataCellVerticalPadding:t.extend("--ft-table-data-cell-vertical-padding","",r.spacing2),dataCellHorizontalPadding:t.extend("--ft-table-data-cell-horizontal-padding","",r.spacing3),dataCellVerticalGap:t.extend("--ft-table-data-cell-vertical-gap","",r.spacing1)};var si={neutralOffHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",r.opacity8),neutralOffFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",r.opacity8),neutralOffFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",i.borderActionFocusRing),neutralOffActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",r.opacity16),neutralOffBackgroundColor:t.extend("--ft-chip-choice-neutral-off-background-color","",i.backgroundGlobalOnSurface),neutralOffBorderColor:t.extend("--ft-chip-choice-neutral-off-border-color","",i.borderGlobalPrimary),neutralOffColor:t.extend("--ft-chip-choice-neutral-off-color","",i.contentGlobalSecondary),neutralOffStateLayerColor:t.extend("--ft-chip-choice-neutral-off-state-layer-color","",i.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",r.opacity16),neutralOnHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",r.opacity24),neutralOnFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",r.opacity24),neutralOnFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",i.borderActionFocusRing),neutralOnActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",r.opacity32),neutralOnBackgroundColor:t.extend("--ft-chip-choice-neutral-on-background-color","",i.backgroundGlobalOnSurface),neutralOnBorderColor:t.extend("--ft-chip-choice-neutral-on-border-color","",i.borderGlobalPrimary),neutralOnColor:t.extend("--ft-chip-choice-neutral-on-color","",i.contentGlobalPrimary),neutralOnIconColor:t.extend("--ft-chip-choice-neutral-on-icon-color","",i.contentGlobalPrimary),neutralOnStateLayerColor:t.extend("--ft-chip-choice-neutral-on-state-layer-color","",i.contentGlobalPrimary),largeMinHeight:t.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-choice-large-horizontal-padding","",r.spacing3),largeGap:t.extend("--ft-chip-choice-large-gap","",r.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","",r.iconSize3),mediumMinHeight:t.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-choice-medium-horizontal-padding","",r.spacing2),mediumGap:t.extend("--ft-chip-choice-medium-gap","",r.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","",r.iconSize2)};var gi={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",r.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",r.spacing1),largeGap:t.extend("--ft-chip-large-gap","",r.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","",r.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",r.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",r.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",r.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","",r.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",r.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",r.spacing05),smallGap:t.extend("--ft-chip-small-gap","",r.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","",r.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",i.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",i.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",i.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",i.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",i.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",i.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",i.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",i.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",i.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",i.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",i.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",i.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",i.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",i.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",i.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",i.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",i.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",i.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",i.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",i.borderErrorSubtle)};var Ci={brandHoverOpacity:t.extend("--ft-link-brand-hover-opacity","",r.opacity80),brandHoverColor:t.extend("--ft-link-brand-hover-color","",i.contentActionPrimary),brandFocusFocusRingColor:t.extend("--ft-link-brand-focus-focus-ring-color","",i.borderActionFocusRing),brandFocusColor:t.extend("--ft-link-brand-focus-color","",i.contentActionPrimary),brandDefaultColor:t.extend("--ft-link-brand-default-color","",i.contentActionPrimary),brandActiveColor:t.extend("--ft-link-brand-active-color","",i.contentActionPrimary),infoHoverOpacity:t.extend("--ft-link-info-hover-opacity","",r.opacity80),infoHoverColor:t.extend("--ft-link-info-hover-color","",i.contentInfoPrimary),infoFocusFocusRingColor:t.extend("--ft-link-info-focus-focus-ring-color","",i.borderActionFocusRing),infoFocusColor:t.extend("--ft-link-info-focus-color","",i.contentInfoPrimary),infoDefaultColor:t.extend("--ft-link-info-default-color","",i.contentInfoPrimary),infoActiveColor:t.extend("--ft-link-info-active-color","",i.contentInfoPrimary),neutralFocusFocusRingColor:t.extend("--ft-link-neutral-focus-focus-ring-color","",i.borderActionFocusRing),neutralFocusColor:t.extend("--ft-link-neutral-focus-color","",i.contentActionPrimary),neutralDefaultColor:t.extend("--ft-link-neutral-default-color","",i.contentGlobalPrimary),neutralHoverColor:t.extend("--ft-link-neutral-hover-color","",i.contentActionPrimary),neutralActiveColor:t.extend("--ft-link-neutral-active-color","",i.contentActionPrimary),neutralVisitedColor:t.extend("--ft-link-neutral-visited-color","",r.colorBrand100)};var wi={iconSize:t.extend("--ft-banner-icon-size","",r.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",r.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",r.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",r.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",r.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",r.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",r.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",r.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",i.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",i.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",i.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",i.borderInfoSubtle)};var $i={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",r.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",r.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",r.borderRadiusPill),color:t.extend("--ft-badge-color","",i.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",i.contentActionPrimary)};var ki={horizontalGap:t.extend("--ft-title-breadcrumb-horizontal-gap","",r.spacing1),currentColor:t.extend("--ft-title-breadcrumb-current-color","",i.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-title-breadcrumb-previous-non-clickable-color","",i.contentGlobalSecondary),iconColor:t.extend("--ft-title-breadcrumb-icon-color","",i.contentGlobalSubtle)};var Di={parentHorizontalPadding:t.extend("--ft-page-header-parent-horizontal-padding","",r.spacing6),parentTopPadding:t.extend("--ft-page-header-parent-top-padding","",r.spacing4),parentBottomPadding:t.extend("--ft-page-header-parent-bottom-padding","",r.spacing6),parentHelpLeftMargin:t.extend("--ft-page-header-parent-help-left-margin","",r.spacing1),parentTitleColor:t.extend("--ft-page-header-parent-title-color","",i.contentGlobalPrimary),parentSubtitleColor:t.extend("--ft-page-header-parent-subtitle-color","",i.contentGlobalSecondary),parentChipLeftMargin:t.extend("--ft-page-header-parent-chip-left-margin","",r.spacing4),parentVerticalGap:t.extend("--ft-page-header-parent-vertical-gap","",r.spacing2),parentButtonsGroupHorizontalGap:t.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",r.spacing4),parentButtonsGroupVerticalGap:t.extend("--ft-page-header-parent-buttons-group-vertical-gap","",r.spacing4),parentChipsGroupHorizontalGap:t.extend("--ft-page-header-parent-chips-group-horizontal-gap","",r.spacing2),parentChipsGroupVerticalGap:t.extend("--ft-page-header-parent-chips-group-vertical-gap","",r.spacing2),childHorizontalPadding:t.extend("--ft-page-header-child-horizontal-padding","",r.spacing6),childTopPadding:t.extend("--ft-page-header-child-top-padding","",r.spacing2),childBottomPadding:t.extend("--ft-page-header-child-bottom-padding","",r.spacing2),childHelpLeftMargin:t.extend("--ft-page-header-child-help-left-margin","",r.spacing1),childChipLeftMargin:t.extend("--ft-page-header-child-chip-left-margin","",r.spacing4),childVerticalGap:t.extend("--ft-page-header-child-vertical-gap","",r.spacing2),childMinHeight:t.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:t.extend("--ft-page-header-child-buttons-group-horizontal-gap","",r.spacing4),childButtonsGroupVerticalGap:t.extend("--ft-page-header-child-buttons-group-vertical-gap","",r.spacing4),childChipsGroupHorizontalGap:t.extend("--ft-page-header-child-chips-group-horizontal-gap","",r.spacing2),childChipsGroupVerticalGap:t.extend("--ft-page-header-child-chips-group-vertical-gap","",r.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",r.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",i.borderGlobalSubtle),bottomBorderWidth:t.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var Zi={horizontalPadding:t.extend("--ft-page-footer-horizontal-padding","",r.spacing6),verticalPadding:t.extend("--ft-page-footer-vertical-padding","",r.spacing2),verticalGap:t.extend("--ft-page-footer-vertical-gap","",r.spacing2),minHeight:t.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:t.extend("--ft-page-footer-background-color","",r.colorWhite),topBorderColor:t.extend("--ft-page-footer-top-border-color","",i.borderGlobalSubtle),topBorderWidth:t.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:t.extend("--ft-page-footer-buttons-group-gap","",r.spacing4)};var Yi={contentHorizontalPadding:t.extend("--ft-page-layout-content-horizontal-padding","",r.spacing6),contentVerticalPadding:t.extend("--ft-page-layout-content-vertical-padding","",r.spacing6)};var tl={smallContainerTargetWidth:t.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:t.extend("--ft-modal-small-container-margin","",r.spacing6),mediumContainerTargetWidth:t.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:t.extend("--ft-modal-medium-container-margin","",r.spacing6),largeContainerTargetWidth:t.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:t.extend("--ft-modal-large-container-margin","",r.spacing6),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",r.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",r.opacity40),shadow:t.extend("--ft-modal-shadow","",r.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",r.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",i.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",r.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",r.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",r.spacing6),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",i.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",i.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",i.contentGlobalPrimary),headerLeadingIconColor:t.extend("--ft-modal-header-leading-icon-color","",i.contentGlobalPrimary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",r.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",r.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",r.spacing6),headerGap:t.extend("--ft-modal-header-gap","",r.spacing2),headerBorderBottomWidth:t.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",r.borderRadiusM)};var nl={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",r.opacity40),shadow:t.extend("--ft-drawer-shadow","",r.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",i.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",r.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",r.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",r.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",r.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",i.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",i.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",i.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",i.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",r.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",r.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",i.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",i.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",i.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",r.spacing6),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",r.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",r.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","",r.colorGray700)};var sl={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",r.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",r.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",r.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",r.opacity40),offColor:t.extend("--ft-tabs-off-color","",i.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",i.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",i.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",r.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",r.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",r.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",r.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",r.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",r.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",r.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",r.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",r.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",r.opacity24),onColor:t.extend("--ft-tabs-on-color","",i.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",i.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",i.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",r.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",r.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",r.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",r.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",i.borderActionFocusRing)};var gl={largeFieldHorizontalPadding:t.extend("--ft-text-input-large-field-horizontal-padding","",r.spacing4),largeFieldHorizontalGap:t.extend("--ft-text-input-large-field-horizontal-gap","",r.spacing3),largeFieldVerticalGap:t.extend("--ft-text-input-large-field-vertical-gap","",r.spacing05),largeFieldHeight:t.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:t.extend("--ft-text-input-large-field-icon-size","",r.iconSize3),mediumFieldHorizontalPadding:t.extend("--ft-text-input-medium-field-horizontal-padding","",r.spacing4),mediumFieldHorizontalGap:t.extend("--ft-text-input-medium-field-horizontal-gap","",r.spacing3),mediumFieldVerticalGap:t.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:t.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:t.extend("--ft-text-input-medium-field-icon-size","",r.iconSize3),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",r.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",r.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",r.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",r.borderRadiusS),backgroundColor:t.extend("--ft-text-input-background-color","",r.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",i.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",i.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",i.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",i.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",i.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","",i.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",i.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",i.contentErrorIconOnly),warningBorderColor:t.extend("--ft-text-input-warning-border-color","",i.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-text-input-warning-helper-text-color","",i.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-text-input-warning-helper-icon-color","",i.contentWarningIconOnly),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","",i.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",r.opacity40)};var Cl={backgroundColor:t.extend("--ft-text-area-background-color","",r.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",i.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",i.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",i.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",i.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","",i.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",i.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",i.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",i.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","",r.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",r.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",r.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",r.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",r.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",r.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",r.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",r.borderRadiusS)};var wl={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",r.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",i.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",i.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",i.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",i.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",r.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",i.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",r.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",r.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",r.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",r.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",r.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",i.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",r.shadowElevation02)};var $l={largeFieldHorizontalPadding:t.extend("--ft-combobox-single-select-large-field-horizontal-padding","",r.spacing4),largeFieldHorizontalGap:t.extend("--ft-combobox-single-select-large-field-horizontal-gap","",r.spacing3),largeFieldVerticalGap:t.extend("--ft-combobox-single-select-large-field-vertical-gap","",r.spacing05),largeFieldHeight:t.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:t.extend("--ft-combobox-single-select-large-field-icon-size","",r.iconSize3),mediumFieldHorizontalPadding:t.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",r.spacing4),mediumFieldHorizontalGap:t.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",r.spacing3),mediumFieldVerticalGap:t.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:t.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:t.extend("--ft-combobox-single-select-medium-field-icon-size","",r.iconSize3),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",r.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",r.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",r.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",r.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",r.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",r.borderRadiusS),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",r.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",i.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",i.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",i.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",i.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",i.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","",i.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",i.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",i.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",i.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",i.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",i.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",r.opacity40)};var kl={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",r.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",i.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",i.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",i.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",i.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",i.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",i.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",i.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",i.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",i.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",i.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",i.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","",r.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",r.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",r.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",r.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",r.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",r.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",r.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",r.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",r.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",r.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",r.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",r.borderRadiusS)};var Dl={backgroundColor:t.extend("--ft-popover-background-color","",i.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",r.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",r.spacing6),titleColor:t.extend("--ft-popover-title-color","",i.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",i.contentGlobalSecondary),gap:t.extend("--ft-popover-gap","",r.spacing2),borderRadius:t.extend("--ft-popover-border-radius","",r.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",r.shadowElevation02),maxWidth:t.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:t.extend("--ft-popover-content-section-vertical-gap","",r.spacing2),multiSectionVerticalGap:t.extend("--ft-popover-multi-section-vertical-gap","",r.spacing6)};var Zl={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",r.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",r.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",i.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",r.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",r.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",r.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",r.spacing3),color:t.extend("--ft-collapsible-color","",i.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",i.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",i.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",i.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",r.iconSize3)};var Xl={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",r.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",r.spacing1),groupGap:t.extend("--ft-switch-group-gap","",r.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",i.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",i.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",r.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",r.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",r.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",r.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",r.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",r.opacity40),offColor:t.extend("--ft-switch-off-color","",i.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",i.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",r.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",r.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",r.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",r.opacity40),onColor:t.extend("--ft-switch-on-color","",i.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",i.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",r.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",r.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",i.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",r.borderRadiusS)};var tc={color1Light:t.extend("--ft-chart-1-light","for area color charts",r.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",r.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",r.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",r.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",r.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",r.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",r.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",r.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",r.colorRed40),color5Base:t.extend("--ft-chart-5-base","",r.colorRed60),color6Light:t.extend("--ft-chart-6-light","",r.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",r.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",r.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",r.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",r.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",r.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",r.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",r.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",r.colorGray50),color10Base:t.extend("--ft-chart-10-base","",r.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",r.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",r.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",r.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",r.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",r.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",r.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",r.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",r.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",r.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",r.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",r.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",r.opacity48),scatterplotDatapointInitialHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",r.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",r.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",r.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",r.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",r.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",r.colorGray70),scatterplotDatapointHoverHoverRingColor:t.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",r.colorCyan200)};var ac={color1IconColor:t.extend("--ft-page-designer-1-icon-color","for area color charts",r.colorCyan0),color1ToolbarColor:t.extend("--ft-page-designer-1-toolbar-color","for area color charts",r.colorCyan0),color2IconColor:t.extend("--ft-page-designer-2-icon-color","for area color charts",r.colorBrand0),color2ToolbarColor:t.extend("--ft-page-designer-2-toolbar-color","for area color charts",r.colorBrand0),color3IconColor:t.extend("--ft-page-designer-3-icon-color","for area color charts",r.colorYellow200),color3ToolbarColor:t.extend("--ft-page-designer-3-toolbar-color","for area color charts",r.colorYellow200),color4IconColor:t.extend("--ft-page-designer-4-icon-color","for area color charts",r.colorUltramarine50),color4ToolbarColor:t.extend("--ft-page-designer-4-toolbar-color","for area color charts",r.colorUltramarine50),color5IconColor:t.extend("--ft-page-designer-5-icon-color","for area color charts",r.colorGreen0),color5ToolbarColor:t.extend("--ft-page-designer-5-toolbar-color","for area color charts",r.colorGreen0),color6IconColor:t.extend("--ft-page-designer-6-icon-color","for area color charts",r.colorOrange0),color6ToolbarColor:t.extend("--ft-page-designer-6-toolbar-color","for area color charts",r.colorOrange0),color7IconColor:t.extend("--ft-page-designer-7-icon-color","for area color charts",r.colorAvocado200),color7ToolbarColor:t.extend("--ft-page-designer-7-toolbar-color","for area color charts",r.colorAvocado200),color8IconColor:t.extend("--ft-page-designer-8-icon-color","for area color charts",r.colorBrown0),color8ToolbarColor:t.extend("--ft-page-designer-8-toolbar-color","for area color charts",r.colorBrown0)};var dc={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",r.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",r.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",r.borderRadiusS),gap:t.extend("--ft-notice-gap","",r.spacing2),iconSize:t.extend("--ft-notice-icon-size","",r.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",i.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",i.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",i.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",i.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",i.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",i.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",i.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",i.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",i.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",i.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",i.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",i.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",i.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",i.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",i.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",i.contentSuccessIconOnly),denseHorizontalPadding:t.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:t.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:t.extend("--ft-notice-dense-gap","",r.spacing1),denseIconSize:t.extend("--ft-notice-dense-icon-size","",r.iconSize2),denseBorderWidth:t.create("--ft-notice-dense-border-width","","SIZE","0")};var yc={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",r.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",r.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",r.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",r.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",i.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",i.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",i.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",r.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",r.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",r.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",r.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",i.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",i.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",i.contentActionPrimary),color:t.extend("--ft-toggle-color","",i.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",i.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",r.spacing3)};var xc={color:t.extend("--ft-radio-color","",i.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",i.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",i.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",r.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",r.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",r.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",r.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",i.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",i.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",r.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",r.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",r.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",r.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",i.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","",r.spacing3)};var Nc={iconSize:t.extend("--ft-notification-icon-size","",r.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",r.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",r.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",r.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",i.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",i.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",i.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",i.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",i.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",i.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",i.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",i.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",i.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",i.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",i.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",i.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",i.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",i.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",i.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",i.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",r.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",r.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",r.spacing8)};var Ac={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",r.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",r.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",r.borderRadiusS),color:t.extend("--ft-tooltip-color","",i.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",i.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",r.opacity80),shadow:t.extend("--ft-tooltip-shadow","",r.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",r.spacing05)};var Wc={verticalPadding:t.extend("--ft-reorderable-list-vertical-padding","",r.spacing4),gap:t.extend("--ft-reorderable-list-gap","",r.spacing1),borderRadius:t.extend("--ft-reorderable-list-border-radius","",r.borderRadiusM),reorderableItemTitleMarginRight:t.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",r.spacing6),reorderableItemTitleColor:t.extend("--ft-reorderable-list-reorderable-item-title-color","",i.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:t.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",r.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:t.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",r.spacing2),reorderableItemRightButtonsGroupHorizontalGap:t.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",r.spacing2),reorderableItemUsersCountColor:t.extend("--ft-reorderable-list-reorderable-item-users-count-color","",i.contentGlobalPrimary),reorderableItemUsersCountMarginRight:t.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",r.spacing6),reorderableItemBackgroundColor:t.extend("--ft-reorderable-list-reorderable-item-background-color","",i.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:t.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",r.spacing1),reorderableItemWarningMessageColor:t.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",i.contentWarningPrimary),reorderableItemWarningMessageIconColor:t.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",i.contentWarningIconOnly),reorderableItemGripColor:t.extend("--ft-reorderable-list-reorderable-item-grip-color","",i.contentGlobalSecondary),reorderableItemGripOpacity:t.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",r.opacity48),boxShadow:t.extend("--ft-reorderable-list-box-shadow","",r.shadowElevation01),borderWidth:t.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:t.extend("--ft-reorderable-list-reorderable-items-gap","",r.spacing2),leftPadding:t.extend("--ft-reorderable-list-left-padding","",r.spacing2),rightPadding:t.extend("--ft-reorderable-list-right-padding","",r.spacing6),borderColor:t.extend("--ft-reorderable-list-border-color","",i.borderGlobalPrimary),backgroundColor:t.extend("--ft-reorderable-list-background-color","",i.backgroundGlobalOnSurfaceDark)};var O={nodeHeight:t.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:t.extend("--ft-tree-list-node-parent-label-margin-left","",r.spacing2),nodeParentLabelMarginRight:t.extend("--ft-tree-list-node-parent-label-margin-right","",r.spacing2),nodeRootPaddingLeft:t.extend("--ft-tree-list-node-root-padding-left","",r.spacing3),nodeChildPaddingLeft:t.extend("--ft-tree-list-node-child-padding-left","",r.spacing5),nodeLeafPaddingLeft:t.extend("--ft-tree-list-node-leaf-padding-left","",r.spacing6),nodeUnselectedDefaultBorderColor:t.extend("--ft-tree-list-node-unselected-default-border-color","",i.borderGlobalSubtle),nodeUnselectedIconColor:t.extend("--ft-tree-list-node-unselected-icon-color","",i.contentGlobalSecondary),nodeUnselectedLabelColor:t.extend("--ft-tree-list-node-unselected-label-color","",i.contentGlobalSecondary),nodeUnselectedCounterColor:t.extend("--ft-tree-list-node-unselected-counter-color","",i.contentInfoPrimary),nodeHoverBorderColor:t.extend("--ft-tree-list-node-hover-border-color","",i.borderActionPrimary),nodeFocusFocusRingColor:t.extend("--ft-tree-list-node-focus-focus-ring-color","",i.borderActionFocusRing),nodeFocusOutlineWidth:t.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:t.extend("--ft-tree-list-node-selected-default-border-color","",i.borderGlobalPrimary),nodeSelectedIconColor:t.extend("--ft-tree-list-node-selected-icon-color","",i.contentGlobalSecondary),nodeSelectedLabelColor:t.extend("--ft-tree-list-node-selected-label-color","",i.contentGlobalPrimary),nodeSelectedCounterColor:t.extend("--ft-tree-list-node-selected-counter-color","",i.contentInfoPrimary),nodeSelectedBackgroundColor:t.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:t.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",i.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:t.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",i.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:t.extend("--ft-tree-list-node-descendant-of-selected-label-color","",i.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:t.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",i.contentInfoPrimary),nodeDescendantOfSelectedBackgroundColor:t.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:t.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:t.extend("--ft-tree-list-header-section-padding-left","",r.spacing3),headerSectionPaddingRight:t.extend("--ft-tree-list-header-section-padding-right","",r.spacing3),headerSectionHorizontalGap:t.extend("--ft-tree-list-header-section-horizontal-gap","",r.spacing2),headerSectionMarginBottom:t.extend("--ft-tree-list-header-section-margin-bottom","",r.spacing2),headerSectionColor:t.extend("--ft-tree-list-header-section-color","",i.contentGlobalPrimary),headerSectionCounterColor:t.extend("--ft-tree-list-header-section-counter-color","",i.contentInfoPrimary),listContainerBorderWidth:t.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:t.extend("--ft-tree-list-list-container-background-color","",i.backgroundGlobalSurface),listContainerBorderColor:t.extend("--ft-tree-list-list-container-border-color","",i.borderGlobalSubtle),loadMorePaddingLeft:t.extend("--ft-tree-list-load-more-padding-left","",r.spacing6),loadMoreUnselectedDefaultBorderColor:t.extend("--ft-tree-list-load-more-unselected-default-border-color","",i.borderGlobalSubtle),loadMoreIconColor:t.extend("--ft-tree-list-load-more-icon-color","",i.contentActionPrimary),loadMoreLabelColor:t.extend("--ft-tree-list-load-more-label-color","",i.contentActionPrimary),loadMoreHoverBorderColor:t.extend("--ft-tree-list-load-more-hover-border-color","",r.colorBrand20),loadMoreHoverBackgroundColor:t.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:t.extend("--ft-tree-list-load-more-active-border-color","",r.colorBrand20),loadMoreActiveBackgroundColor:t.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:t.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:t.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:t.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",i.borderGlobalPrimary)};var Ne;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Ne||(Ne={}));var Dt;(function(e){e.large="large",e.medium="medium",e.small="small"})(Dt||(Dt={}));var we=x(G());function fr(e){let o=ve[e];return we.css`
|
|
5
|
+
.ft-typography--${(0,we.unsafeCSS)(e)} {
|
|
6
|
+
font-family: ${o.fontFamily};
|
|
7
|
+
font-size: ${o.fontSize};
|
|
8
|
+
font-weight: ${o.fontWeight};
|
|
9
|
+
letter-spacing: ${o.letterSpacing};
|
|
10
|
+
line-height: ${o.lineHeight};
|
|
11
|
+
text-transform: ${o.textCase};
|
|
12
|
+
}
|
|
13
|
+
`}var ur=m.FtCssVariableFactory.extend("--ft-typography-font-family","",m.designSystemVariables.titleFont),ht=m.FtCssVariableFactory.extend("--ft-typography-font-family","",m.designSystemVariables.contentFont),C={fontFamily:ht,fontSize:m.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:m.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:m.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:m.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:m.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Gt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ur),fontSize:m.FtCssVariableFactory.extend("--ft-typography-title-font-size","",C.fontSize,"20px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",C.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",C.letterSpacing,"0.15px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-title-line-height","",C.lineHeight,"1.2"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",C.textTransform,"inherit")},Ut={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ur),fontSize:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",C.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",C.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",C.letterSpacing,"0.105px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",C.lineHeight,"1.7"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",C.textTransform,"inherit")},Mt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ht),fontSize:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",C.fontSize,"16px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",C.fontWeight,"600"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",C.letterSpacing,"0.144px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",C.lineHeight,"1.5"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",C.textTransform,"inherit")},Ft={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ht),fontSize:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",C.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",C.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",C.letterSpacing,"0.098px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",C.lineHeight,"1.7"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",C.textTransform,"inherit")},Zt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ht),fontSize:m.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",C.fontSize,"16px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",C.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",C.letterSpacing,"0.496px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",C.lineHeight,"1.5"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",C.textTransform,"inherit")},Kt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ht),fontSize:m.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",C.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",C.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",C.letterSpacing,"0.252px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",C.lineHeight,"1.4"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",C.textTransform,"inherit")},Vt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ht),fontSize:m.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",C.fontSize,"12px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",C.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",C.letterSpacing,"0.396px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",C.lineHeight,"1.33"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",C.textTransform,"inherit")},jt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ht),fontSize:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",C.fontSize,"10px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",C.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",C.letterSpacing,"0.33px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",C.lineHeight,"1.6"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",C.textTransform,"inherit")},Yt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ht),fontSize:m.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",C.fontSize,"10px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",C.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",C.letterSpacing,"1.5px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",C.lineHeight,"1.6"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",C.textTransform,"uppercase")},dt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ht),fontSize:m.FtCssVariableFactory.extend("--ft-typography-button-font-size","",C.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",C.fontWeight,"600"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",C.letterSpacing,"1.246px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-button-line-height","",C.lineHeight,"1.15"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",C.textTransform,"uppercase")},yr=at.css`
|
|
14
|
+
.ft-typography--title {
|
|
15
|
+
font-family: ${Gt.fontFamily};
|
|
16
|
+
font-size: ${Gt.fontSize};
|
|
17
|
+
font-weight: ${Gt.fontWeight};
|
|
18
|
+
letter-spacing: ${Gt.letterSpacing};
|
|
19
|
+
line-height: ${Gt.lineHeight};
|
|
20
|
+
text-transform: ${Gt.textTransform};
|
|
21
|
+
}
|
|
22
|
+
`,gr=at.css`
|
|
23
|
+
.ft-typography--title-dense {
|
|
24
|
+
font-family: ${Ut.fontFamily};
|
|
25
|
+
font-size: ${Ut.fontSize};
|
|
26
|
+
font-weight: ${Ut.fontWeight};
|
|
27
|
+
letter-spacing: ${Ut.letterSpacing};
|
|
28
|
+
line-height: ${Ut.lineHeight};
|
|
29
|
+
text-transform: ${Ut.textTransform};
|
|
30
|
+
}
|
|
31
|
+
`,hr=at.css`
|
|
32
|
+
.ft-typography--subtitle1 {
|
|
33
|
+
font-family: ${Mt.fontFamily};
|
|
34
|
+
font-size: ${Mt.fontSize};
|
|
35
|
+
font-weight: ${Mt.fontWeight};
|
|
36
|
+
letter-spacing: ${Mt.letterSpacing};
|
|
37
|
+
line-height: ${Mt.lineHeight};
|
|
38
|
+
text-transform: ${Mt.textTransform};
|
|
39
|
+
}
|
|
40
|
+
`,mr=at.css`
|
|
41
|
+
.ft-typography--subtitle2 {
|
|
42
|
+
font-family: ${Ft.fontFamily};
|
|
43
|
+
font-size: ${Ft.fontSize};
|
|
44
|
+
font-weight: ${Ft.fontWeight};
|
|
45
|
+
letter-spacing: ${Ft.letterSpacing};
|
|
46
|
+
line-height: ${Ft.lineHeight};
|
|
47
|
+
text-transform: ${Ft.textTransform};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
`,br=at.css`
|
|
51
|
+
.ft-typography--body1 {
|
|
52
|
+
font-family: ${Zt.fontFamily};
|
|
53
|
+
font-size: ${Zt.fontSize};
|
|
54
|
+
font-weight: ${Zt.fontWeight};
|
|
55
|
+
letter-spacing: ${Zt.letterSpacing};
|
|
56
|
+
line-height: ${Zt.lineHeight};
|
|
57
|
+
text-transform: ${Zt.textTransform};
|
|
58
|
+
}
|
|
59
|
+
`,xr=at.css`
|
|
60
|
+
.ft-typography--body2 {
|
|
61
|
+
font-family: ${Kt.fontFamily};
|
|
62
|
+
font-size: ${Kt.fontSize};
|
|
63
|
+
font-weight: ${Kt.fontWeight};
|
|
64
|
+
letter-spacing: ${Kt.letterSpacing};
|
|
65
|
+
line-height: ${Kt.lineHeight};
|
|
66
|
+
text-transform: ${Kt.textTransform};
|
|
67
|
+
}
|
|
68
|
+
`,Cr=at.css`
|
|
69
|
+
.ft-typography--caption {
|
|
70
|
+
font-family: ${Vt.fontFamily};
|
|
71
|
+
font-size: ${Vt.fontSize};
|
|
72
|
+
font-weight: ${Vt.fontWeight};
|
|
73
|
+
letter-spacing: ${Vt.letterSpacing};
|
|
74
|
+
line-height: ${Vt.lineHeight};
|
|
75
|
+
text-transform: ${Vt.textTransform};
|
|
76
|
+
}
|
|
77
|
+
`,Sr=at.css`
|
|
78
|
+
.ft-typography--breadcrumb {
|
|
79
|
+
font-family: ${jt.fontFamily};
|
|
80
|
+
font-size: ${jt.fontSize};
|
|
81
|
+
font-weight: ${jt.fontWeight};
|
|
82
|
+
letter-spacing: ${jt.letterSpacing};
|
|
83
|
+
line-height: ${jt.lineHeight};
|
|
84
|
+
text-transform: ${jt.textTransform};
|
|
85
|
+
}
|
|
86
|
+
`,Or=at.css`
|
|
87
|
+
.ft-typography--overline {
|
|
88
|
+
font-family: ${Yt.fontFamily};
|
|
89
|
+
font-size: ${Yt.fontSize};
|
|
90
|
+
font-weight: ${Yt.fontWeight};
|
|
91
|
+
letter-spacing: ${Yt.letterSpacing};
|
|
92
|
+
line-height: ${Yt.lineHeight};
|
|
93
|
+
text-transform: ${Yt.textTransform};
|
|
94
|
+
}
|
|
95
|
+
`,vr=at.css`
|
|
96
|
+
.ft-typography--button {
|
|
97
|
+
font-family: ${dt.fontFamily};
|
|
98
|
+
font-size: ${dt.fontSize};
|
|
99
|
+
font-weight: ${dt.fontWeight};
|
|
100
|
+
letter-spacing: ${dt.letterSpacing};
|
|
101
|
+
line-height: ${dt.lineHeight};
|
|
102
|
+
text-transform: ${dt.textTransform};
|
|
103
|
+
}
|
|
104
|
+
`,Nr=at.css`
|
|
105
|
+
.ft-typography {
|
|
106
|
+
vertical-align: inherit;
|
|
107
|
+
}
|
|
108
|
+
`,wr=[Object.keys(ve).map(e=>fr(e))];var Er=function(e,o,a,n){var l=arguments.length,c=l<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(c=(l<3?d(c):l>3?d(o,a,c):d(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},ot=class extends Lr.FtLitElement{constructor(){super(...arguments),this.variant=M.body1}render(){return this.element?Ve`
|
|
109
|
+
<${Ze(this.element)}
|
|
110
|
+
part="text"
|
|
111
|
+
class="ft-typography ft-typography--${this.variant}">
|
|
112
|
+
<slot></slot>
|
|
113
|
+
</${Ze(this.element)}>
|
|
114
|
+
`:Ve`
|
|
115
|
+
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
116
|
+
`}};ot.styles=[yr,gr,hr,mr,br,xr,Cr,Sr,Or,vr,Nr,...wr];Er([(0,je.property)()],ot.prototype,"element",void 0);Er([(0,je.property)()],ot.prototype,"variant",void 0);(0,Rr.customElement)("ft-typography")(ot);var kr=x(L());var ie=x(G()),Et=x(yt()),Pr=x(L()),Wr=x($r());var st;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.LIST_MAGNIFYING_GLASS="",e.MEDAL="",e.THUMBS_UP_THUMBS_DOWN_SOLID="",e.ARROW_TURN_DOWN_RIGHT="",e.FLASK="",e.LOCK_KEYHOLE_OPEN_SOLID="",e.HOURGLASS_END="",e.CIRCLE_QUESTION="",e.GRIP_LINES_SOLID="",e.TRANSLATE_SPARKLE_SOLID="",e.CODE="",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",e.PAPER_PLANE_SLASH="",e.COMPRESS="",e.EXPAND="",e.ARROW_ROTATE_LEFT="",e.EYE="",e.SHARE="󨃱",e.MOBILE_SMALL="",e.SPARKLES="",e.HAND_SOLID=""})(st||(st={}));var h;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(h||(h={}));var fs=new Map([...["abw"].map(e=>[e,h.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,h.AUDIO]),...["avi"].map(e=>[e,h.AVI]),...["chm","xhs"].map(e=>[e,h.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,h.CODE]),...["csv"].map(e=>[e,h.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,h.DITA]),...["epub"].map(e=>[e,h.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,h.EXCEL]),...["flac"].map(e=>[e,h.FLAC]),...["gif"].map(e=>[e,h.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,h.GZIP]),...["html","htm","xhtml"].map(e=>[e,h.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,h.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,h.JPEG]),...["json"].map(e=>[e,h.JSON]),...["m4a","m4p"].map(e=>[e,h.M4A]),...["mov","qt"].map(e=>[e,h.MOV]),...["mp3"].map(e=>[e,h.MP3]),...["mp4","m4v"].map(e=>[e,h.MP4]),...["ogg","oga"].map(e=>[e,h.OGG]),...["pdf","ps"].map(e=>[e,h.PDF]),...["png"].map(e=>[e,h.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,h.POWERPOINT]),...["rar"].map(e=>[e,h.RAR]),...["stp"].map(e=>[e,h.STP]),...["txt","rtf","md","mdown"].map(e=>[e,h.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,h.VIDEO]),...["wav"].map(e=>[e,h.WAV]),...["wma"].map(e=>[e,h.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,h.WORD]),...["xml","xsl","rdf"].map(e=>[e,h.XML]),...["yaml","yml","x-yaml"].map(e=>[e,h.YAML]),...["zip"].map(e=>[e,h.ZIP])]);var us={[h.ABW]:"#91ABC6",[h.AUDIO]:"#1795E3",[h.AVI]:"#E63324",[h.CHM]:"#71C3EB",[h.CODE]:"#71C3EB",[h.CSV]:"#1F7345",[h.DITA]:"#71C3EB",[h.EPUB]:"#85B926",[h.EXCEL]:"#1F7345",[h.FLAC]:"#1795E3",[h.GIF]:"#59B031",[h.GZIP]:"#F8AB36",[h.HTML]:"#71C3EB",[h.IMAGE]:"#59B031",[h.JPEG]:"#59B031",[h.JSON]:"#71C3EB",[h.M4A]:"#1795E3",[h.MOV]:"#E63324",[h.MP3]:"#1795E3",[h.MP4]:"#E63324",[h.OGG]:"#1795E3",[h.PDF]:"#E44948",[h.PNG]:"#59B031",[h.POWERPOINT]:"#B54A2B",[h.RAR]:"#F8AB36",[h.STP]:"#3764B1",[h.TEXT]:"#3162AB",[h.UNKNOWN]:"#999999",[h.VIDEO]:"#E63324",[h.WAV]:"#1795E3",[h.WMA]:"#1795E3",[h.WORD]:"#3162AB",[h.XML]:"#71C3EB",[h.YAML]:"#71C3EB",[h.ZIP]:"#F8AB36"};var Br=x(G()),nt=x(L()),q={size:nt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:nt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",nt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:nt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",nt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:nt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",nt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:nt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ir=[Br.css`
|
|
117
|
+
:host, i.ft-icon {
|
|
118
|
+
display: inline-flex;
|
|
119
|
+
align-items: center;
|
|
120
|
+
flex-shrink: 0;
|
|
121
|
+
flex-grow: 0;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
:host {
|
|
125
|
+
width: ${q.size};
|
|
126
|
+
height: ${q.size};
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
i.ft-icon {
|
|
130
|
+
width: 100%;
|
|
131
|
+
height: 100%;
|
|
132
|
+
font-size: ${q.size};
|
|
133
|
+
line-height: 1;
|
|
134
|
+
font-weight: normal;
|
|
135
|
+
text-transform: none;
|
|
136
|
+
font-style: normal;
|
|
137
|
+
font-variant: normal;
|
|
138
|
+
speak: none;
|
|
139
|
+
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
|
|
140
|
+
text-rendering: auto;
|
|
141
|
+
-webkit-font-smoothing: antialiased;
|
|
142
|
+
-moz-osx-font-smoothing: grayscale;
|
|
143
|
+
vertical-align: ${q.verticalAlign};
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
i.ft-icon.ft-icon--fluid-topics {
|
|
147
|
+
font-family: ${q.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
148
|
+
|
|
149
|
+
/* Ugly fix because font is broken */
|
|
150
|
+
font-size: calc(0.75 * ${q.size});
|
|
151
|
+
line-height: ${q.size};
|
|
152
|
+
position: relative;
|
|
153
|
+
top: -4%;
|
|
154
|
+
justify-content: center;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.ft-icon--file-format {
|
|
158
|
+
font-family: ${q.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.ft-icon--material {
|
|
162
|
+
font-family: ${q.materialFontFamily}, "Material Icons", sans-serif;
|
|
163
|
+
}
|
|
164
|
+
`,nt.noTextSelect];var pt;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(pt||(pt={}));var le=function(e,o,a,n){var l=arguments.length,c=l<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(c=(l<3?d(c):l>3?d(o,a,c):d(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},Q=class extends Pr.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=ie.nothing}render(){let o=this.variant&&Object.values(pt).includes(this.variant)?this.variant:pt.fluid_topics,a=o!==pt.material||!!this.value;return ie.html`
|
|
165
|
+
<i class="ft-icon ft-icon--${o} ft-no-text-select" part="icon icon-${o}">
|
|
166
|
+
${(0,Wr.unsafeHTML)(this.resolvedIcon)}
|
|
167
|
+
<slot ?hidden=${a}></slot>
|
|
168
|
+
</i>
|
|
169
|
+
`}get textContent(){var o,a;return(a=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&a!==void 0?a:""}update(o){super.update(o),["value","variant"].some(a=>o.has(a))&&this.resolveIcon()}resolveIcon(){var o,a;let n=this.value||this.textContent;switch(this.variant){case pt.file_format:this.resolvedIcon=(o=h[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break;case pt.material:this.resolvedIcon=this.value||ie.nothing;break;default:this.resolvedIcon=(a=st[n.replace("-","_").toUpperCase()])!==null&&a!==void 0?a:n;break}}firstUpdated(o){super.firstUpdated(o),setTimeout(()=>this.resolveIcon())}};Q.elementDefinitions={};Q.styles=Ir;le([(0,Et.property)()],Q.prototype,"variant",void 0);le([(0,Et.property)()],Q.prototype,"value",void 0);le([(0,Et.property)({reflect:!0,attribute:"aria-hidden"})],Q.prototype,"ariaHidden",void 0);le([(0,Et.state)()],Q.prototype,"resolvedIcon",void 0);le([(0,Et.query)("slot")],Q.prototype,"slottedContent",void 0);(0,kr.customElement)("ft-icon")(Q);var co=x(L());var ge=x(yt()),$a=x(L());var Vr=x(G()),v=x(L());var Gr=x(G()),T=x(L()),Tr=T.FtCssVariableFactory.extend("--ft-ripple-color","",T.designSystemVariables.colorContent),g={color:Tr,backgroundColor:T.FtCssVariableFactory.extend("--ft-ripple-background-color","",Tr),opacityContentOnSurfacePressed:T.FtCssVariableFactory.external(T.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:T.FtCssVariableFactory.external(T.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:T.FtCssVariableFactory.external(T.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:T.FtCssVariableFactory.external(T.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:T.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},zr=T.FtCssVariableFactory.extend("--ft-ripple-color","",T.designSystemVariables.colorPrimary),Hr={color:zr,backgroundColor:T.FtCssVariableFactory.extend("--ft-ripple-background-color","",zr)},_r=T.FtCssVariableFactory.extend("--ft-ripple-color","",T.designSystemVariables.colorSecondary),Dr={color:_r,backgroundColor:T.FtCssVariableFactory.extend("--ft-ripple-background-color","",_r)},Ur=Gr.css`
|
|
170
|
+
:host {
|
|
171
|
+
display: contents;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.ft-ripple {
|
|
175
|
+
position: absolute;
|
|
176
|
+
inset: 0;
|
|
177
|
+
pointer-events: none;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
181
|
+
overflow: hidden;
|
|
182
|
+
border-radius: ${g.borderRadius};
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.ft-ripple .ft-ripple--background,
|
|
186
|
+
.ft-ripple .ft-ripple--effect {
|
|
187
|
+
position: absolute;
|
|
188
|
+
opacity: 0;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.ft-ripple .ft-ripple--effect {
|
|
192
|
+
aspect-ratio: 1;
|
|
193
|
+
width: auto;
|
|
194
|
+
height: auto;
|
|
195
|
+
min-width: 170%;
|
|
196
|
+
min-height: 170%;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.ft-ripple .ft-ripple--background{
|
|
200
|
+
width: 100%;
|
|
201
|
+
height: 100%;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
|
|
205
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
206
|
+
aspect-ratio: 1;
|
|
207
|
+
width: auto;
|
|
208
|
+
height: auto;
|
|
209
|
+
max-width: unset;
|
|
210
|
+
max-height: unset;
|
|
211
|
+
min-width: 100%;
|
|
212
|
+
min-height: 100%;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.ft-ripple .ft-ripple--background {
|
|
216
|
+
background-color: ${g.backgroundColor};
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.ft-ripple .ft-ripple--effect {
|
|
220
|
+
background-color: ${g.color};
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
224
|
+
background-color: ${Dr.backgroundColor};
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
228
|
+
background-color: ${Dr.color};
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
232
|
+
background-color: ${Hr.backgroundColor};
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
236
|
+
background-color: ${Hr.color};
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.ft-ripple .ft-ripple--background {
|
|
240
|
+
top: 0;
|
|
241
|
+
left: 0;
|
|
242
|
+
transition: opacity 75ms linear;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.ft-ripple .ft-ripple--effect,
|
|
246
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
247
|
+
border-radius: 50%;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.ft-ripple .ft-ripple--effect {
|
|
251
|
+
transform: translate(-50%, -50%) scale(0.15);
|
|
252
|
+
transition: transform 300ms ease, opacity 75ms linear;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
|
|
256
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
257
|
+
left: 50%;
|
|
258
|
+
top: 50%;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
262
|
+
transform: translate(-50%, -50%);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
266
|
+
opacity: ${g.opacityContentOnSurfaceHover};
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
270
|
+
opacity: ${g.opacityContentOnSurfaceSelected};
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
274
|
+
opacity: ${g.opacityContentOnSurfaceFocused};
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
278
|
+
opacity: ${g.opacityContentOnSurfacePressed};
|
|
279
|
+
transform: translate(-50%, -50%) scale(1);
|
|
280
|
+
}
|
|
281
|
+
`;var Mr=x(G()),ce=x(L()),R={color:ce.FtCssVariableFactory.extend("--ft-loader-color","",ce.designSystemVariables.colorPrimary),size:ce.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Fr=Mr.css`
|
|
282
|
+
:host {
|
|
283
|
+
line-height: 0;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.ft-loader {
|
|
287
|
+
display: inline-block;
|
|
288
|
+
position: relative;
|
|
289
|
+
|
|
290
|
+
width: ${R.size};
|
|
291
|
+
height: ${R.size};
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.ft-loader div {
|
|
295
|
+
position: absolute;
|
|
296
|
+
top: 37.5%;
|
|
297
|
+
width: 25%;
|
|
298
|
+
height: 25%;
|
|
299
|
+
border-radius: 50%;
|
|
300
|
+
background: ${R.color};
|
|
301
|
+
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.ft-loader div:nth-child(1) {
|
|
305
|
+
left: 2.5%;
|
|
306
|
+
animation: appear 0.6s infinite;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.ft-loader div:nth-child(2) {
|
|
310
|
+
left: 2.5%;
|
|
311
|
+
animation: move 0.6s infinite;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.ft-loader div:nth-child(3) {
|
|
315
|
+
left: 37.5%;
|
|
316
|
+
animation: move 0.6s infinite;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.ft-loader div:nth-child(4) {
|
|
320
|
+
left: 72.5%;
|
|
321
|
+
animation: disappear 0.6s infinite;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
@keyframes appear {
|
|
325
|
+
0% {
|
|
326
|
+
transform: scale(0);
|
|
327
|
+
}
|
|
328
|
+
100% {
|
|
329
|
+
transform: scale(1);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
@keyframes disappear {
|
|
334
|
+
0% {
|
|
335
|
+
transform: scale(1);
|
|
336
|
+
}
|
|
337
|
+
100% {
|
|
338
|
+
transform: scale(0);
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
@keyframes move {
|
|
343
|
+
0% {
|
|
344
|
+
transform: translate(0, 0);
|
|
345
|
+
}
|
|
346
|
+
100% {
|
|
347
|
+
transform: translate(calc(0.35 * ${R.size}), 0);
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
`;var Zr=v.FtCssVariableFactory.extend("--ft-button-color","",v.designSystemVariables.colorPrimary),U={backgroundColor:v.FtCssVariableFactory.extend("--ft-button-background-color","",v.designSystemVariables.colorSurface),borderRadius:v.FtCssVariableFactory.extend("--ft-button-border-radius","",v.designSystemVariables.borderRadiusL),color:Zr,fontSize:v.FtCssVariableFactory.extend("--ft-button-font-size","",dt.fontSize),iconSize:v.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:v.FtCssVariableFactory.extend("--ft-button-ripple-color","",Zr),verticalPadding:v.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:v.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:v.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:v.FtCssVariableFactory.external(v.designSystemVariables.colorOpacityDisabled,"Design system")},Kr=v.FtCssVariableFactory.extend("--ft-button-primary-color","",v.FtCssVariableFactory.extend("--ft-button-color","",v.designSystemVariables.colorOnPrimary)),Ye={backgroundColor:v.FtCssVariableFactory.extend("--ft-button-primary-background-color","",v.FtCssVariableFactory.extend("--ft-button-background-color","",v.designSystemVariables.colorPrimary)),color:Kr,rippleColor:v.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Kr)},ft={borderRadius:v.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",v.FtCssVariableFactory.extend("--ft-button-border-radius","",v.designSystemVariables.borderRadiusM)),verticalPadding:v.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:v.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:v.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},jr=[Vr.css`
|
|
351
|
+
:host {
|
|
352
|
+
display: inline-block;
|
|
353
|
+
max-width: 100%;
|
|
354
|
+
pointer-events: none;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.ft-button {
|
|
358
|
+
box-shadow: 0px 0px 0px transparent;
|
|
359
|
+
border: 0px solid transparent;
|
|
360
|
+
text-shadow: 0px 0px 0px transparent;
|
|
361
|
+
font-size: ${U.fontSize};
|
|
362
|
+
text-decoration: none;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.ft-button:hover {
|
|
366
|
+
box-shadow: 0px 0px 0px transparent;
|
|
367
|
+
border: 0px solid transparent;
|
|
368
|
+
text-shadow: 0px 0px 0px transparent;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.ft-button:active {
|
|
372
|
+
outline: none;
|
|
373
|
+
border: none;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.ft-button:focus {
|
|
377
|
+
outline: 0;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.ft-button {
|
|
381
|
+
position: relative;
|
|
382
|
+
display: flex;
|
|
383
|
+
justify-content: center;
|
|
384
|
+
align-items: center;
|
|
385
|
+
width: 100%;
|
|
386
|
+
overflow: hidden;
|
|
387
|
+
box-sizing: border-box;
|
|
388
|
+
border: none;
|
|
389
|
+
pointer-events: auto;
|
|
390
|
+
|
|
391
|
+
--ft-button-internal-line-height: max(calc(${U.fontSize} + 2px), ${U.iconSize});
|
|
392
|
+
--ft-button-internal-color: ${U.color};
|
|
393
|
+
${(0,v.setVariable)(q.size,U.iconSize)};
|
|
394
|
+
${(0,v.setVariable)(g.color,U.rippleColor)};
|
|
395
|
+
|
|
396
|
+
border-radius: ${U.borderRadius};
|
|
397
|
+
padding: ${U.verticalPadding} ${U.horizontalPadding};
|
|
398
|
+
background-color: ${U.backgroundColor};
|
|
399
|
+
color: var(--ft-button-internal-color);
|
|
400
|
+
-webkit-mask-image: radial-gradient(white, black);
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.ft-button.ft-button--outlined {
|
|
404
|
+
border: 1px solid var(--ft-button-internal-color);
|
|
405
|
+
padding: calc(${U.verticalPadding} - 1px) calc(${U.horizontalPadding} - 1px);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.ft-button.ft-button--dense {
|
|
409
|
+
padding: ${ft.verticalPadding} ${ft.horizontalPadding};
|
|
410
|
+
border-radius: ${ft.borderRadius};
|
|
411
|
+
gap: ${ft.iconPadding};
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.ft-button.ft-button--dense.ft-button--outlined {
|
|
415
|
+
padding: calc(${ft.verticalPadding} - 1px) calc(${ft.horizontalPadding} - 1px);
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.ft-button:not([disabled]):hover {
|
|
419
|
+
cursor: pointer;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.ft-button--round {
|
|
423
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${U.verticalPadding});
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.ft-button--round.ft-button--dense {
|
|
427
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ft.verticalPadding});
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.ft-button[disabled] {
|
|
431
|
+
filter: grayscale(1);
|
|
432
|
+
opacity: ${U.opacityDisabled};
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.ft-button.ft-button--primary {
|
|
436
|
+
background-color: ${Ye.backgroundColor};
|
|
437
|
+
--ft-button-internal-color: ${Ye.color};
|
|
438
|
+
${(0,v.setVariable)(g.color,Ye.rippleColor)};
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.ft-button:focus {
|
|
442
|
+
outline: none;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.ft-button--label {
|
|
446
|
+
position: relative;
|
|
447
|
+
overflow: hidden;
|
|
448
|
+
white-space: nowrap;
|
|
449
|
+
text-overflow: ellipsis;
|
|
450
|
+
display: block;
|
|
451
|
+
margin: 0 ${U.iconPadding};
|
|
452
|
+
${(0,v.setVariable)(dt.fontSize,"1em")};
|
|
453
|
+
${(0,v.setVariable)(dt.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.ft-button--dense .ft-button--label {
|
|
457
|
+
margin: 0 ${ft.iconPadding};
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.ft-button--label[hidden] {
|
|
461
|
+
display: none;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
[part="icon"] {
|
|
465
|
+
flex-shrink: 0;
|
|
466
|
+
position: relative;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.ft-button--label[hidden] + [part="icon"] {
|
|
470
|
+
margin: 0 calc(${U.horizontalPadding} * -1);
|
|
471
|
+
padding: 0 ${U.verticalPadding};
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
475
|
+
margin: 0 calc(${ft.horizontalPadding} * -1);
|
|
476
|
+
padding: 0 ${ft.verticalPadding};
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
480
|
+
order: 2;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
ft-loader {
|
|
484
|
+
${(0,v.setVariable)(R.size,U.iconSize)};
|
|
485
|
+
${(0,v.setVariable)(R.color,"var(--ft-button-internal-color)")};
|
|
486
|
+
}
|
|
487
|
+
`,v.noTextSelect];var At=x(L());var qr=x(L());var Yr=x(G()),F=x(yt()),Xr=x(Oe()),de=x(L());var J=function(e,o,a,n){var l=arguments.length,c=l<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(c=(l<3?d(c):l>3?d(o,a,c):d(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},$=class extends de.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 de.Debouncer(1e3),this.onTransitionStart=o=>{o.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=o=>{o.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new de.Debouncer(10),this.moveRipple=o=>{var a,n;let{x:l,y:c}=this.getCoordinates(o),d=(n=(a=this.ripple)===null||a===void 0?void 0:a.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(l!=null?l-d.x:d.width/2),this.originY=Math.round(c!=null?c-d.y:d.height/2)},this.startPress=o=>{this.moveRipple(o),this.pressed=!this.isIgnored(o)},this.endPress=()=>{this.pressed=!1},this.startHover=o=>{this.hovered=!this.isIgnored(o)},this.endHover=()=>{this.hovered=!1},this.startFocus=o=>{this.focused=this.isFocusVisible(o?.target)&&!this.isIgnored(o)},this.endFocus=()=>{this.focused=!1}}render(){let o={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Yr.html`
|
|
488
|
+
<style>
|
|
489
|
+
.ft-ripple .ft-ripple--effect {
|
|
490
|
+
left: ${this.originX}px;
|
|
491
|
+
top: ${this.originY}px;
|
|
492
|
+
}
|
|
493
|
+
</style>
|
|
494
|
+
<div class="${(0,Xr.classMap)(o)}">
|
|
495
|
+
<div class="ft-ripple--background"></div>
|
|
496
|
+
<div class="ft-ripple--effect"></div>
|
|
497
|
+
</div>
|
|
498
|
+
`}contentAvailableCallback(o){super.contentAvailableCallback(o),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(o){var a,n;super.update(o),o.has("disabled")&&(this.disabled?(this.endRipple(),(a=this.target)===null||a===void 0||a.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var o,a;let n=(o=this.shadowRoot)===null||o===void 0?void 0:o.host.parentElement;n&&this.setupFor((a=this.target)!==null&&a!==void 0?a:n)}forceFocusUpdate(){var o;!((o=this.target)===null||o===void 0)&&o.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(o){if(this.setupDebouncer.cancel(),this.target===o)return;this.onDisconnect&&this.onDisconnect(),this.target=o,o.setAttribute("data-is-ft-ripple-target","true");let a=(...p)=>f=>{p.forEach(y=>window.addEventListener(y,this.endPress,{once:!0})),this.startPress(f)},n=a("mouseup","contextmenu"),l=a("touchend","touchcancel"),c=p=>{["Enter"," "].includes(p.key)&&a("keyup")(p)},d={passive:!0};o.addEventListener("mouseover",this.startHover,d),o.addEventListener("mousemove",this.moveRipple,d),o.addEventListener("mouseleave",this.endHover,d),o.addEventListener("mousedown",n,d),o.addEventListener("touchstart",l,d),o.addEventListener("touchmove",this.moveRipple,d),o.addEventListener("keydown",c,d),o.addEventListener("focus",this.startFocus,d),o.addEventListener("blur",this.endFocus,d),o.addEventListener("focusin",this.startFocus,d),o.addEventListener("focusout",this.endFocus,d),this.onDisconnect=()=>{o.removeAttribute("data-is-ft-ripple-target"),o.removeEventListener("mouseover",this.startHover,d),o.removeEventListener("mousemove",this.moveRipple,d),o.removeEventListener("mouseleave",this.endHover,d),o.removeEventListener("mousedown",n,d),o.removeEventListener("touchstart",l,d),o.removeEventListener("touchmove",this.moveRipple,d),o.removeEventListener("keydown",c,d),o.removeEventListener("focus",this.startFocus,d),o.removeEventListener("blur",this.endFocus,d),o.removeEventListener("focusin",this.startFocus,d),o.removeEventListener("focusout",this.endFocus,d),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(o){let a=o,n=o,l,c;return a.x!=null?{x:l,y:c}=a:n.touches!=null&&(l=n.touches[0].clientX,c=n.touches[0].clientY),{x:l,y:c}}isFocusVisible(o){return o instanceof HTMLElement?o.matches(":focus-visible"):!0}isIgnored(o){if(this.disabled)return!0;if(o!=null)for(let a of o.composedPath()){if(a===this.target)break;if("hasAttribute"in a&&a.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};$.elementDefinitions={};$.styles=Ur;J([(0,F.property)({type:Boolean})],$.prototype,"primary",void 0);J([(0,F.property)({type:Boolean})],$.prototype,"secondary",void 0);J([(0,F.property)({type:Boolean})],$.prototype,"unbounded",void 0);J([(0,F.property)({type:Boolean})],$.prototype,"activated",void 0);J([(0,F.property)({type:Boolean})],$.prototype,"selected",void 0);J([(0,F.property)({type:Boolean})],$.prototype,"disabled",void 0);J([(0,F.state)()],$.prototype,"hovered",void 0);J([(0,F.state)()],$.prototype,"focused",void 0);J([(0,F.state)()],$.prototype,"pressed",void 0);J([(0,F.state)()],$.prototype,"rippling",void 0);J([(0,F.state)()],$.prototype,"originX",void 0);J([(0,F.state)()],$.prototype,"originY",void 0);J([(0,F.query)(".ft-ripple")],$.prototype,"ripple",void 0);J([(0,F.query)(".ft-ripple--effect")],$.prototype,"rippleEffect",void 0);(0,qr.customElement)("ft-ripple")($);var Ea=x(L());var wa=x(G()),_=x(yt()),ye=x(L());var Qr=x(G()),mt=x(L()),Xt={distance:mt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:mt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:mt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:mt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:mt.FtCssVariableFactory.external(mt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:mt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Jr=Qr.css`
|
|
499
|
+
.ft-tooltip--container {
|
|
500
|
+
display: block;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.ft-tooltip--inline {
|
|
504
|
+
display: inline-block;
|
|
505
|
+
max-width: 100%;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
.ft-tooltip {
|
|
509
|
+
position: fixed;
|
|
510
|
+
box-sizing: border-box;
|
|
511
|
+
overflow: hidden;
|
|
512
|
+
width: max-content;
|
|
513
|
+
max-width: ${Xt.maxWidth};
|
|
514
|
+
text-align: center;
|
|
515
|
+
padding: ${Xt.distance};
|
|
516
|
+
z-index: ${Xt.zIndex};
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
.ft-tooltip--content {
|
|
520
|
+
padding: 4px 8px;
|
|
521
|
+
border-radius: ${Xt.borderRadiusS};
|
|
522
|
+
background-color: ${Xt.backgroundColor};
|
|
523
|
+
color: ${Xt.color};
|
|
524
|
+
position: relative;
|
|
525
|
+
word-break: break-word;
|
|
526
|
+
}
|
|
527
|
+
`;var ea=["top","right","bottom","left"],ta=["start","end"],qe=ea.reduce((e,o)=>e.concat(o,o+"-"+ta[0],o+"-"+ta[1]),[]),oa=Math.min,ra=Math.max;var Qa={left:"right",right:"left",bottom:"top",top:"bottom"},Ja={start:"end",end:"start"};function Qe(e,o,a){return ra(e,oa(o,a))}function Ee(e,o){return typeof e=="function"?e(o):e}function qt(e){return e.split("-")[0]}function Lt(e){return e.split("-")[1]}function Je(e){return e==="x"?"y":"x"}function to(e){return e==="y"?"height":"width"}function Le(e){return["top","bottom"].includes(qt(e))?"y":"x"}function eo(e){return Je(Le(e))}function aa(e,o,a){a===void 0&&(a=!1);let n=Lt(e),l=eo(e),c=to(l),d=l==="x"?n===(a?"end":"start")?"right":"left":n==="start"?"bottom":"top";return o.reference[c]>o.floating[c]&&(d=Xe(d)),[d,Xe(d)]}function na(e){return e.replace(/start|end/g,o=>Ja[o])}function Xe(e){return e.replace(/left|right|bottom|top/g,o=>Qa[o])}function tn(e){return{top:0,right:0,bottom:0,left:0,...e}}function ia(e){return typeof e!="number"?tn(e):{top:e,right:e,bottom:e,left:e}}function Pt(e){let{x:o,y:a,width:n,height:l}=e;return{width:n,height:l,top:a,left:o,right:o+n,bottom:a+l,x:o,y:a}}function la(e,o,a){let{reference:n,floating:l}=e,c=Le(o),d=eo(o),p=to(d),f=qt(o),y=c==="y",S=n.x+n.width/2-l.width/2,b=n.y+n.height/2-l.height/2,N=n[p]/2-l[p]/2,w;switch(f){case"top":w={x:S,y:n.y-l.height};break;case"bottom":w={x:S,y:n.y+n.height};break;case"right":w={x:n.x+n.width,y:b};break;case"left":w={x:n.x-l.width,y:b};break;default:w={x:n.x,y:n.y}}switch(Lt(o)){case"start":w[d]-=N*(a&&y?-1:1);break;case"end":w[d]+=N*(a&&y?-1:1);break}return w}var ca=async(e,o,a)=>{let{placement:n="bottom",strategy:l="absolute",middleware:c=[],platform:d}=a,p=c.filter(Boolean),f=await(d.isRTL==null?void 0:d.isRTL(o)),y=await d.getElementRects({reference:e,floating:o,strategy:l}),{x:S,y:b}=la(y,n,f),N=n,w={},E=0;for(let P=0;P<p.length;P++){let{name:z,fn:W}=p[P],{x:H,y:X,data:vt,reset:V}=await W({x:S,y:b,initialPlacement:n,placement:N,strategy:l,middlewareData:w,rects:y,platform:d,elements:{reference:e,floating:o}});S=H??S,b=X??b,w={...w,[z]:{...w[z],...vt}},V&&E<=50&&(E++,typeof V=="object"&&(V.placement&&(N=V.placement),V.rects&&(y=V.rects===!0?await d.getElementRects({reference:e,floating:o,strategy:l}):V.rects),{x:S,y:b}=la(y,N,f)),P=-1)}return{x:S,y:b,placement:N,strategy:l,middlewareData:w}};async function oo(e,o){var a;o===void 0&&(o={});let{x:n,y:l,platform:c,rects:d,elements:p,strategy:f}=e,{boundary:y="clippingAncestors",rootBoundary:S="viewport",elementContext:b="floating",altBoundary:N=!1,padding:w=0}=Ee(o,e),E=ia(w),z=p[N?b==="floating"?"reference":"floating":b],W=Pt(await c.getClippingRect({element:(a=await(c.isElement==null?void 0:c.isElement(z)))==null||a?z:z.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(p.floating)),boundary:y,rootBoundary:S,strategy:f})),H=b==="floating"?{x:n,y:l,width:d.floating.width,height:d.floating.height}:d.reference,X=await(c.getOffsetParent==null?void 0:c.getOffsetParent(p.floating)),vt=await(c.isElement==null?void 0:c.isElement(X))?await(c.getScale==null?void 0:c.getScale(X))||{x:1,y:1}:{x:1,y:1},V=Pt(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:H,offsetParent:X,strategy:f}):H);return{top:(W.top-V.top+E.top)/vt.y,bottom:(V.bottom-W.bottom+E.bottom)/vt.y,left:(W.left-V.left+E.left)/vt.x,right:(V.right-W.right+E.right)/vt.x}}function en(e,o,a){return(e?[...a.filter(l=>Lt(l)===e),...a.filter(l=>Lt(l)!==e)]:a.filter(l=>qt(l)===l)).filter(l=>e?Lt(l)===e||(o?na(l)!==l:!1):!0)}var ro=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var a,n,l;let{rects:c,middlewareData:d,placement:p,platform:f,elements:y}=o,{crossAxis:S=!1,alignment:b,allowedPlacements:N=qe,autoAlignment:w=!0,...E}=Ee(e,o),P=b!==void 0||N===qe?en(b||null,w,N):N,z=await oo(o,E),W=((a=d.autoPlacement)==null?void 0:a.index)||0,H=P[W];if(H==null)return{};let X=aa(H,c,await(f.isRTL==null?void 0:f.isRTL(y.floating)));if(p!==H)return{reset:{placement:P[0]}};let vt=[z[qt(H)],z[X[0]],z[X[1]]],V=[...((n=d.autoPlacement)==null?void 0:n.overflows)||[],{placement:H,overflows:vt}],go=P[W+1];if(go)return{data:{index:W+1,overflows:V},reset:{placement:go}};let ho=V.map(ct=>{let ee=Lt(ct.placement);return[ct.placement,ee&&S?ct.overflows.slice(0,2).reduce((Ha,_a)=>Ha+_a,0):ct.overflows[0],ct.overflows]}).sort((ct,ee)=>ct[1]-ee[1]),mo=((l=ho.filter(ct=>ct[2].slice(0,Lt(ct[0])?2:3).every(ee=>ee<=0))[0])==null?void 0:l[0])||ho[0][0];return mo!==p?{data:{index:W+1,overflows:V},reset:{placement:mo}}:{}}}};var ao=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:a,y:n,placement:l}=o,{mainAxis:c=!0,crossAxis:d=!1,limiter:p={fn:z=>{let{x:W,y:H}=z;return{x:W,y:H}}},...f}=Ee(e,o),y={x:a,y:n},S=await oo(o,f),b=Le(qt(l)),N=Je(b),w=y[N],E=y[b];if(c){let z=N==="y"?"top":"left",W=N==="y"?"bottom":"right",H=w+S[z],X=w-S[W];w=Qe(H,w,X)}if(d){let z=b==="y"?"top":"left",W=b==="y"?"bottom":"right",H=E+S[z],X=E-S[W];E=Qe(H,E,X)}let P=p.fn({...o,[N]:w,[b]:E});return{...P,data:{x:P.x-a,y:P.y-n,enabled:{[N]:c,[b]:d}}}}}};var no=Math.min,Qt=Math.max,se=Math.round;var bt=e=>({x:e,y:e});function xt(e){return sa(e)?(e.nodeName||"").toLowerCase():"#document"}function tt(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function Ct(e){var o;return(o=(sa(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function sa(e){return e instanceof Node||e instanceof tt(e).Node}function ut(e){return e instanceof Element||e instanceof tt(e).Element}function it(e){return e instanceof HTMLElement||e instanceof tt(e).HTMLElement}function da(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof tt(e).ShadowRoot}function Jt(e){let{overflow:o,overflowX:a,overflowY:n,display:l}=rt(e);return/auto|scroll|overlay|hidden|clip/.test(o+n+a)&&!["inline","contents"].includes(l)}function pa(e){return["table","td","th"].includes(xt(e))}function Ae(e){let o=$e(),a=rt(e);return a.transform!=="none"||a.perspective!=="none"||(a.containerType?a.containerType!=="normal":!1)||!o&&(a.backdropFilter?a.backdropFilter!=="none":!1)||!o&&(a.filter?a.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(a.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(a.contain||"").includes(n))}function fa(e){let o=Wt(e);for(;it(o)&&!pe(o);){if(Ae(o))return o;o=Wt(o)}return null}function $e(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function pe(e){return["html","body","#document"].includes(xt(e))}function rt(e){return tt(e).getComputedStyle(e)}function fe(e){return ut(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Wt(e){if(xt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||da(e)&&e.host||Ct(e);return da(o)?o.host:o}function ua(e){let o=Wt(e);return pe(o)?e.ownerDocument?e.ownerDocument.body:e.body:it(o)&&Jt(o)?o:ua(o)}function Re(e,o,a){var n;o===void 0&&(o=[]),a===void 0&&(a=!0);let l=ua(e),c=l===((n=e.ownerDocument)==null?void 0:n.body),d=tt(l);return c?o.concat(d,d.visualViewport||[],Jt(l)?l:[],d.frameElement&&a?Re(d.frameElement):[]):o.concat(l,Re(l,[],a))}function ha(e){let o=rt(e),a=parseFloat(o.width)||0,n=parseFloat(o.height)||0,l=it(e),c=l?e.offsetWidth:a,d=l?e.offsetHeight:n,p=se(a)!==c||se(n)!==d;return p&&(a=c,n=d),{width:a,height:n,$:p}}function ma(e){return ut(e)?e:e.contextElement}function te(e){let o=ma(e);if(!it(o))return bt(1);let a=o.getBoundingClientRect(),{width:n,height:l,$:c}=ha(o),d=(c?se(a.width):a.width)/n,p=(c?se(a.height):a.height)/l;return(!d||!Number.isFinite(d))&&(d=1),(!p||!Number.isFinite(p))&&(p=1),{x:d,y:p}}var an=bt(0);function ba(e){let o=tt(e);return!$e()||!o.visualViewport?an:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function nn(e,o,a){return o===void 0&&(o=!1),!a||o&&a!==tt(e)?!1:o}function ue(e,o,a,n){o===void 0&&(o=!1),a===void 0&&(a=!1);let l=e.getBoundingClientRect(),c=ma(e),d=bt(1);o&&(n?ut(n)&&(d=te(n)):d=te(e));let p=nn(c,a,n)?ba(c):bt(0),f=(l.left+p.x)/d.x,y=(l.top+p.y)/d.y,S=l.width/d.x,b=l.height/d.y;if(c){let N=tt(c),w=n&&ut(n)?tt(n):n,E=N.frameElement;for(;E&&n&&w!==N;){let P=te(E),z=E.getBoundingClientRect(),W=rt(E),H=z.left+(E.clientLeft+parseFloat(W.paddingLeft))*P.x,X=z.top+(E.clientTop+parseFloat(W.paddingTop))*P.y;f*=P.x,y*=P.y,S*=P.x,b*=P.y,f+=H,y+=X,E=tt(E).frameElement}}return Pt({width:S,height:b,x:f,y})}function ln(e){let{rect:o,offsetParent:a,strategy:n}=e,l=it(a),c=Ct(a);if(a===c)return o;let d={scrollLeft:0,scrollTop:0},p=bt(1),f=bt(0);if((l||!l&&n!=="fixed")&&((xt(a)!=="body"||Jt(c))&&(d=fe(a)),it(a))){let y=ue(a);p=te(a),f.x=y.x+a.clientLeft,f.y=y.y+a.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-d.scrollLeft*p.x+f.x,y:o.y*p.y-d.scrollTop*p.y+f.y}}function cn(e){return Array.from(e.getClientRects())}function xa(e){return ue(Ct(e)).left+fe(e).scrollLeft}function dn(e){let o=Ct(e),a=fe(e),n=e.ownerDocument.body,l=Qt(o.scrollWidth,o.clientWidth,n.scrollWidth,n.clientWidth),c=Qt(o.scrollHeight,o.clientHeight,n.scrollHeight,n.clientHeight),d=-a.scrollLeft+xa(e),p=-a.scrollTop;return rt(n).direction==="rtl"&&(d+=Qt(o.clientWidth,n.clientWidth)-l),{width:l,height:c,x:d,y:p}}function sn(e,o){let a=tt(e),n=Ct(e),l=a.visualViewport,c=n.clientWidth,d=n.clientHeight,p=0,f=0;if(l){c=l.width,d=l.height;let y=$e();(!y||y&&o==="fixed")&&(p=l.offsetLeft,f=l.offsetTop)}return{width:c,height:d,x:p,y:f}}function pn(e,o){let a=ue(e,!0,o==="fixed"),n=a.top+e.clientTop,l=a.left+e.clientLeft,c=it(e)?te(e):bt(1),d=e.clientWidth*c.x,p=e.clientHeight*c.y,f=l*c.x,y=n*c.y;return{width:d,height:p,x:f,y}}function ya(e,o,a){let n;if(o==="viewport")n=sn(e,a);else if(o==="document")n=dn(Ct(e));else if(ut(o))n=pn(o,a);else{let l=ba(e);n={...o,x:o.x-l.x,y:o.y-l.y}}return Pt(n)}function Ca(e,o){let a=Wt(e);return a===o||!ut(a)||pe(a)?!1:rt(a).position==="fixed"||Ca(a,o)}function fn(e,o){let a=o.get(e);if(a)return a;let n=Re(e,[],!1).filter(p=>ut(p)&&xt(p)!=="body"),l=null,c=rt(e).position==="fixed",d=c?Wt(e):e;for(;ut(d)&&!pe(d);){let p=rt(d),f=Ae(d);!f&&p.position==="fixed"&&(l=null),(c?!f&&!l:!f&&p.position==="static"&&!!l&&["absolute","fixed"].includes(l.position)||Jt(d)&&!f&&Ca(e,d))?n=n.filter(S=>S!==d):l=p,d=Wt(d)}return o.set(e,n),n}function un(e){let{element:o,boundary:a,rootBoundary:n,strategy:l}=e,d=[...a==="clippingAncestors"?fn(o,this._c):[].concat(a),n],p=d[0],f=d.reduce((y,S)=>{let b=ya(o,S,l);return y.top=Qt(b.top,y.top),y.right=no(b.right,y.right),y.bottom=no(b.bottom,y.bottom),y.left=Qt(b.left,y.left),y},ya(o,p,l));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function yn(e){return ha(e)}function gn(e,o,a){let n=it(o),l=Ct(o),c=a==="fixed",d=ue(e,!0,c,o),p={scrollLeft:0,scrollTop:0},f=bt(0);if(n||!n&&!c)if((xt(o)!=="body"||Jt(l))&&(p=fe(o)),n){let y=ue(o,!0,c,o);f.x=y.x+o.clientLeft,f.y=y.y+o.clientTop}else l&&(f.x=xa(l));return{x:d.left+p.scrollLeft-f.x,y:d.top+p.scrollTop-f.y,width:d.width,height:d.height}}function ga(e,o){return!it(e)||rt(e).position==="fixed"?null:o?o(e):e.offsetParent}function Sa(e,o){let a=tt(e);if(!it(e))return a;let n=ga(e,o);for(;n&&pa(n)&&rt(n).position==="static";)n=ga(n,o);return n&&(xt(n)==="html"||xt(n)==="body"&&rt(n).position==="static"&&!Ae(n))?a:n||fa(e)||a}var hn=async function(e){let{reference:o,floating:a,strategy:n}=e,l=this.getOffsetParent||Sa,c=this.getDimensions;return{reference:gn(o,await l(a),n),floating:{x:0,y:0,...await c(a)}}};function mn(e){return rt(e).direction==="rtl"}var Be={convertOffsetParentRelativeRectToViewportRelativeRect:ln,getDocumentElement:Ct,getClippingRect:un,getOffsetParent:Sa,getElementRects:hn,getClientRects:cn,getDimensions:yn,getScale:te,isElement:ut,isRTL:mn};var Oa=(e,o,a)=>{let n=new Map,l={platform:Be,...a},c={...l.platform,_c:n};return ca(e,o,{...l,platform:c})};function va(e){return bn(e)}function io(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function bn(e){for(let o=e;o;o=io(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=io(e);o;o=io(o)){if(!(o instanceof Element))continue;let a=getComputedStyle(o);if(a.display!=="contents"&&(a.position!=="static"||a.filter!=="none"||o.tagName==="BODY"))return o}return null}async function Na(e,o,a){return Oa(e,o,{platform:{...Be,getOffsetParent:n=>Be.getOffsetParent(n,va)},middleware:[ao({crossAxis:!0}),ro({allowedPlacements:[a]})]})}var et=function(e,o,a,n){var l=arguments.length,c=l<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(c=(l<3?d(c):l>3?d(o,a,c):d(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},B=class extends ye.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 ye.Debouncer,this.revealDebouncer=new ye.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return wa.html`
|
|
528
|
+
<div part="container"
|
|
529
|
+
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
530
|
+
@mouseenter=${this.onHover}
|
|
531
|
+
@mouseleave=${this.onOut}
|
|
532
|
+
@focusin=${this.onHover}
|
|
533
|
+
@focusout=${this.onOut}
|
|
534
|
+
@touchstart=${this.onTouch}>
|
|
535
|
+
<slot part="slot" @click=${this.onClick}></slot>
|
|
536
|
+
<div part="tooltip" role="tooltip" inert
|
|
537
|
+
class="ft-tooltip ft-tooltip--${this.validPosition}"
|
|
538
|
+
?hidden=${!this.visible}>
|
|
539
|
+
<div part="tooltip-content" class="ft-tooltip--content">
|
|
540
|
+
<slot name="text"></slot>
|
|
541
|
+
<ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
|
|
542
|
+
</div>
|
|
543
|
+
</div>
|
|
544
|
+
</div>
|
|
545
|
+
`}updated(o){o.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(o)}contentAvailableCallback(o){super.contentAvailableCallback(o),["visible","text"].some(a=>o.has(a))&&this.visible&&this.positionTooltip()}async show(o){this.visible=!0,o!=null&&await this.hideDebounce.run(()=>{this.hide()},o)}async showTemporaryText(o,a){let n=this.manual;this.manual=!0;let l=this.text;this.text=o,await this.show(a),this.text=l,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var o;return((o=this.slotNodes)!==null&&o!==void 0?o:[]).filter(a=>a.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let o=this.tooltipContent.style;switch(o.transition="none",this.validPosition){case"top":o.top=this.tooltip.clientHeight+"px",o.left="0";break;case"bottom":o.top=-this.tooltip.clientHeight+"px",o.left="0";break;case"left":o.top="0",o.left=this.tooltip.clientWidth+"px";break;case"right":o.top="0",o.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Na(this.slottedElement,this.tooltip,this.position).then(({x:o,y:a})=>{this.tooltip&&(this.tooltip.style.left=`${o}px`,this.tooltip.style.top=`${a}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",o=>{o.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(o,a){return Math.max(o,Math.min(0,-a))}};B.elementDefinitions={"ft-typography":ot};B.styles=Jr;et([(0,_.property)()],B.prototype,"text",void 0);et([(0,_.property)({type:Boolean})],B.prototype,"manual",void 0);et([(0,_.property)({type:Boolean})],B.prototype,"inline",void 0);et([(0,_.property)({type:Number})],B.prototype,"delay",void 0);et([(0,_.property)()],B.prototype,"position",void 0);et([(0,_.queryAssignedNodes)()],B.prototype,"slotNodes",void 0);et([(0,_.query)(".ft-tooltip--container")],B.prototype,"container",void 0);et([(0,_.query)(".ft-tooltip")],B.prototype,"tooltip",void 0);et([(0,_.query)(".ft-tooltip--content")],B.prototype,"tooltipContent",void 0);et([(0,_.state)()],B.prototype,"visible",void 0);et([(0,_.eventOptions)({passive:!0})],B.prototype,"onTouch",null);et([(0,_.eventOptions)({passive:!0})],B.prototype,"onHover",null);et([(0,_.eventOptions)({passive:!0})],B.prototype,"onOut",null);et([(0,_.eventOptions)({passive:!0})],B.prototype,"onClick",null);(0,Ea.customElement)("ft-tooltip")(B);var Aa=x(L());var La=x(G()),Ra=x(L());var kt=class extends Ra.FtLitElement{render(){return La.html`
|
|
546
|
+
<div class="ft-loader">
|
|
547
|
+
<div></div>
|
|
548
|
+
<div></div>
|
|
549
|
+
<div></div>
|
|
550
|
+
<div></div>
|
|
551
|
+
</div>
|
|
552
|
+
`}};kt.styles=Fr;(0,Aa.customElement)("ft-loader")(kt);var Rt=x(G()),lo=x(Oe()),D=x(yt()),Z=function(e,o,a,n){var l=arguments.length,c=l<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(c=(l<3?d(c):l>3?d(o,a,c):d(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},A=class extends(0,At.toFtFormComponent)(At.FtLitElement){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,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.activated=!1,this.addEventListener("click",o=>{var a;this.isDisabled()?(o.preventDefault(),o.stopPropagation(),o.stopImmediatePropagation()):this.type=="submit"&&((a=this.form)===null||a===void 0||a.requestSubmit())})}render(){var o,a,n;let l=Rt.html`
|
|
553
|
+
<ft-ripple part="ripple"
|
|
554
|
+
?disabled=${this.isDisabled()}
|
|
555
|
+
?activated=${this.activated}
|
|
556
|
+
></ft-ripple>
|
|
557
|
+
<ft-typography part="label"
|
|
558
|
+
variant=${this.typographyVariant}
|
|
559
|
+
element="span"
|
|
560
|
+
class="ft-button--label ${At.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
561
|
+
?hidden=${!this.hasTextContent()}>
|
|
562
|
+
<slot @slotchange=${this.onSlotchange}></slot>
|
|
563
|
+
</ft-typography>
|
|
564
|
+
${this.resolveIcon()}
|
|
565
|
+
`,c=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(c?Rt.html`
|
|
566
|
+
<a href="${c}"
|
|
567
|
+
target="${(o=this.target)!==null&&o!==void 0?o:"_self"}"
|
|
568
|
+
part="button"
|
|
569
|
+
class="${(0,lo.classMap)(this.buttonClasses)}"
|
|
570
|
+
aria-label="${(a=this.ariaLabel)!==null&&a!==void 0?a:this.getLabel()}"
|
|
571
|
+
?disabled=${this.isDisabled()}>
|
|
572
|
+
${l}
|
|
573
|
+
</a>
|
|
574
|
+
`:Rt.html`
|
|
575
|
+
<button part="button"
|
|
576
|
+
class="${(0,lo.classMap)(this.buttonClasses)}"
|
|
577
|
+
aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
|
|
578
|
+
?disabled=${this.isDisabled()}>
|
|
579
|
+
${l}
|
|
580
|
+
</button>
|
|
581
|
+
`)}addTooltipIfNeeded(o){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Rt.html`
|
|
582
|
+
<ft-tooltip part="tooltip"
|
|
583
|
+
text="${this.getLabel()}"
|
|
584
|
+
position="${this.tooltipPosition}">
|
|
585
|
+
${o}
|
|
586
|
+
</ft-tooltip>
|
|
587
|
+
`:o}resolveIcon(){return this.loading?Rt.html`
|
|
588
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?Rt.html`
|
|
589
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
590
|
+
`:Rt.html`
|
|
591
|
+
<slot part="icon" name="icon"></slot>
|
|
592
|
+
`}focus(){var o;(o=this.button)===null||o===void 0||o.focus()}focusWithoutTooltip(){var o;this.setTooltipManual(!0),(o=this.button)===null||o===void 0||o.focus(),this.setTooltipManual(!1)}showTemporaryTooltip(o,a){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(o,a)}setTooltipManual(o){this.tooltip&&(this.tooltip.manual=o)}click(){var o;(o=this.button)===null||o===void 0||o.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,At.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};A.elementDefinitions={"ft-ripple":$,"ft-tooltip":B,"ft-typography":ot,"ft-icon":Q,"ft-loader":kt};Z([(0,D.property)()],A.prototype,"href",void 0);Z([(0,D.property)()],A.prototype,"target",void 0);Z([(0,D.property)()],A.prototype,"type",void 0);Z([(0,D.property)({type:Boolean})],A.prototype,"disabled",void 0);Z([(0,D.property)()],A.prototype,"label",void 0);Z([(0,D.property)()],A.prototype,"icon",void 0);Z([(0,D.property)()],A.prototype,"iconVariant",void 0);Z([(0,D.property)({type:Boolean})],A.prototype,"trailingIcon",void 0);Z([(0,D.property)({type:Boolean})],A.prototype,"loading",void 0);Z([(0,D.property)({attribute:"aria-label"})],A.prototype,"ariaLabel",void 0);Z([(0,D.property)()],A.prototype,"tooltipPosition",void 0);Z([(0,D.property)({type:Boolean})],A.prototype,"hideTooltip",void 0);Z([(0,D.property)({type:Boolean})],A.prototype,"forceTooltip",void 0);Z([(0,D.property)({type:Boolean})],A.prototype,"activated",void 0);Z([(0,D.query)(".ft-button")],A.prototype,"button",void 0);Z([(0,D.query)(".ft-button--label slot")],A.prototype,"slottedContent",void 0);Z([(0,D.query)("[part=tooltip]")],A.prototype,"tooltip",void 0);var Ie=function(e,o,a,n){var l=arguments.length,c=l<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(c=(l<3?d(c):l>3?d(o,a,c):d(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},St=class extends A{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"}};St.styles=[$a.safariEllipsisFix,jr];Ie([(0,ge.property)({type:Boolean})],St.prototype,"primary",void 0);Ie([(0,ge.property)({type:Boolean})],St.prototype,"outlined",void 0);Ie([(0,ge.property)({type:Boolean})],St.prototype,"dense",void 0);Ie([(0,ge.property)({type:Boolean})],St.prototype,"round",void 0);var he=x(yt());var We=x(L());var Ba=x(G()),u=x(L());var Ia=[Ba.css`
|
|
593
|
+
:host {
|
|
594
|
+
display: inline-block;
|
|
595
|
+
max-width: 100%;
|
|
596
|
+
pointer-events: none;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
/** Remove default button styles **/
|
|
600
|
+
|
|
601
|
+
.ft-button {
|
|
602
|
+
box-shadow: 0 0 0 transparent;
|
|
603
|
+
border: 0 solid transparent;
|
|
604
|
+
text-shadow: 0 0 0 transparent;
|
|
605
|
+
text-decoration: none;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
.ft-button:hover {
|
|
609
|
+
box-shadow: 0 0 0 transparent;
|
|
610
|
+
text-shadow: 0 0 0 transparent;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
.ft-button:active {
|
|
614
|
+
outline: none;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
.ft-button:focus {
|
|
618
|
+
outline: 0;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
/** Base styles **/
|
|
622
|
+
|
|
623
|
+
.ft-button {
|
|
624
|
+
position: relative;
|
|
625
|
+
display: flex;
|
|
626
|
+
justify-content: center;
|
|
627
|
+
align-items: center;
|
|
628
|
+
width: 100%;
|
|
629
|
+
overflow: hidden;
|
|
630
|
+
box-sizing: border-box;
|
|
631
|
+
pointer-events: auto;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
.ft-button:not([disabled]):hover {
|
|
635
|
+
cursor: pointer;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
.ft-button:focus {
|
|
639
|
+
outline: none;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
.ft-button:focus-visible {
|
|
643
|
+
outline-color: ${s.focusFocusRingColor};
|
|
644
|
+
outline-style: solid;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
ft-icon {
|
|
648
|
+
flex-shrink: 0;
|
|
649
|
+
position: relative;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
653
|
+
.ft-button:not(.ft-button--trailing-icon) ft-loader {
|
|
654
|
+
order: -1;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
.ft-button--label {
|
|
658
|
+
position: relative;
|
|
659
|
+
overflow: hidden;
|
|
660
|
+
white-space: nowrap;
|
|
661
|
+
text-overflow: ellipsis;
|
|
662
|
+
display: block;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
.ft-button--label[hidden] {
|
|
666
|
+
display: none;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
.ft-button.ft-button--icon-only {
|
|
670
|
+
padding: unset;
|
|
671
|
+
border-radius: 50%;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
/** Brand Primary styles **/
|
|
675
|
+
|
|
676
|
+
.ftds--family-brand.ft-button--primary {
|
|
677
|
+
${(0,u.setVariable)(R.color,s.primaryBrandIconColor)};
|
|
678
|
+
|
|
679
|
+
${(0,u.setVariable)(g.color,s.primaryBrandStateLayerColor)};
|
|
680
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,s.primaryBrandHoverStateLayerOpacity)};
|
|
681
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,s.primaryBrandFocusStateLayerOpacity)};
|
|
682
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,s.primaryBrandActiveStateLayerOpacity)};
|
|
683
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,s.primaryBrandActiveStateLayerOpacity)};
|
|
684
|
+
|
|
685
|
+
background-color: ${s.primaryBrandBackgroundColor};
|
|
686
|
+
color: ${s.primaryBrandColor};
|
|
687
|
+
border-style: none;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
.ftds--family-brand.ft-button--primary[disabled] {
|
|
691
|
+
opacity: ${s.primaryBrandDisabledComponentOpacity};
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
.ftds--family-brand.ft-button--primary ft-icon {
|
|
695
|
+
color: ${s.primaryBrandIconColor};
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
/** Brand Secondary styles **/
|
|
699
|
+
|
|
700
|
+
.ftds--family-brand.ft-button--secondary {
|
|
701
|
+
${(0,u.setVariable)(R.color,s.secondaryBrandIconColor)};
|
|
702
|
+
|
|
703
|
+
${(0,u.setVariable)(g.color,s.secondaryBrandStateLayerColor)};
|
|
704
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,s.secondaryBrandHoverStateLayerOpacity)};
|
|
705
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,s.secondaryBrandFocusStateLayerOpacity)};
|
|
706
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,s.secondaryBrandActiveStateLayerOpacity)};
|
|
707
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,s.secondaryBrandActiveStateLayerOpacity)};
|
|
708
|
+
|
|
709
|
+
background-color: ${s.secondaryBrandBackgroundColor};
|
|
710
|
+
color: ${s.secondaryBrandColor};
|
|
711
|
+
border-color: ${s.secondaryBrandBorderColor};
|
|
712
|
+
border-style: solid;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
.ftds--family-brand.ft-button--secondary[disabled] {
|
|
716
|
+
opacity: ${s.secondaryBrandDisabledComponentOpacity};
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
.ftds--family-brand.ft-button--secondary ft-icon {
|
|
720
|
+
color: ${s.secondaryBrandIconColor};
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
/** Brand Tertiary styles **/
|
|
724
|
+
|
|
725
|
+
.ftds--family-brand.ft-button--tertiary {
|
|
726
|
+
${(0,u.setVariable)(R.color,s.tertiaryBrandIconColor)};
|
|
727
|
+
|
|
728
|
+
${(0,u.setVariable)(g.color,s.tertiaryBrandStateLayerColor)};
|
|
729
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,s.tertiaryBrandHoverStateLayerOpacity)};
|
|
730
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,s.tertiaryBrandFocusStateLayerOpacity)};
|
|
731
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,s.tertiaryBrandActiveStateLayerOpacity)};
|
|
732
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,s.tertiaryBrandActiveStateLayerOpacity)};
|
|
733
|
+
|
|
734
|
+
background-color: ${s.tertiaryBrandBackgroundColor};
|
|
735
|
+
color: ${s.tertiaryBrandColor};
|
|
736
|
+
border-style: none;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
.ftds--family-brand.ft-button--tertiary[disabled] {
|
|
740
|
+
opacity: ${s.tertiaryBrandDisabledComponentOpacity};
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
.ftds--family-brand.ft-button--tertiary ft-icon {
|
|
744
|
+
color: ${s.tertiaryBrandIconColor};
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
/** Neutral Secondary styles **/
|
|
748
|
+
|
|
749
|
+
.ftds--family-neutral.ft-button--secondary {
|
|
750
|
+
${(0,u.setVariable)(R.color,s.secondaryNeutralIconColor)};
|
|
751
|
+
|
|
752
|
+
${(0,u.setVariable)(g.backgroundColor,s.secondaryNeutralStateLayerColor)};
|
|
753
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,s.secondaryNeutralHoverStateLayerOpacity)};
|
|
754
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,s.secondaryNeutralFocusStateLayerOpacity)};
|
|
755
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,s.secondaryNeutralActiveStateLayerOpacity)};
|
|
756
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,s.secondaryNeutralActiveStateLayerOpacity)};
|
|
757
|
+
|
|
758
|
+
background-color: ${s.secondaryNeutralBackgroundColor};
|
|
759
|
+
color: ${s.secondaryNeutralColor};
|
|
760
|
+
border-color: ${s.secondaryNeutralBorderColor};
|
|
761
|
+
border-style: solid;
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
.ftds--family-neutral.ft-button--secondary[disabled] {
|
|
765
|
+
opacity: ${s.secondaryNeutralDisabledComponentOpacity};
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
.ftds--family-neutral.ft-button--secondary ft-icon {
|
|
769
|
+
color: ${s.secondaryNeutralIconColor};
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
/** Neutral Tertiary styles **/
|
|
773
|
+
|
|
774
|
+
.ftds--family-neutral.ft-button--tertiary {
|
|
775
|
+
${(0,u.setVariable)(R.color,s.tertiaryNeutralIconColor)};
|
|
776
|
+
|
|
777
|
+
${(0,u.setVariable)(g.backgroundColor,s.tertiaryNeutralStateLayerColor)};
|
|
778
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,s.tertiaryNeutralHoverStateLayerOpacity)};
|
|
779
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,s.tertiaryNeutralFocusStateLayerOpacity)};
|
|
780
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,s.tertiaryNeutralActiveStateLayerOpacity)};
|
|
781
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,s.tertiaryNeutralActiveStateLayerOpacity)};
|
|
782
|
+
|
|
783
|
+
background-color: ${s.tertiaryNeutralBackgroundColor};
|
|
784
|
+
color: ${s.tertiaryNeutralColor};
|
|
785
|
+
border-style: none;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
.ftds--family-neutral.ft-button--tertiary[disabled] {
|
|
789
|
+
opacity: ${s.tertiaryNeutralDisabledComponentOpacity};
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
.ftds--family-neutral.ft-button--tertiary ft-icon {
|
|
793
|
+
color: ${s.tertiaryNeutralIconColor};
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
/** Info Secondary styles **/
|
|
797
|
+
|
|
798
|
+
.ftds--family-info.ft-button--secondary {
|
|
799
|
+
${(0,u.setVariable)(R.color,s.secondaryInfoIconColor)};
|
|
800
|
+
|
|
801
|
+
${(0,u.setVariable)(g.backgroundColor,s.secondaryInfoStateLayerColor)};
|
|
802
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,s.secondaryInfoHoverStateLayerOpacity)};
|
|
803
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,s.secondaryInfoFocusStateLayerOpacity)};
|
|
804
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,s.secondaryInfoActiveStateLayerOpacity)};
|
|
805
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,s.secondaryInfoActiveStateLayerOpacity)};
|
|
806
|
+
|
|
807
|
+
background-color: ${s.secondaryInfoBackgroundColor};
|
|
808
|
+
color: ${s.secondaryInfoColor};
|
|
809
|
+
border-color: ${s.secondaryInfoBorderColor};
|
|
810
|
+
border-style: solid;
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
.ftds--family-info.ft-button--secondary[disabled] {
|
|
814
|
+
opacity: ${s.secondaryInfoDisabledComponentOpacity};
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
.ftds--family-info.ft-button--secondary ft-icon {
|
|
818
|
+
color: ${s.secondaryInfoIconColor};
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
/** Info Tertiary styles **/
|
|
822
|
+
|
|
823
|
+
.ftds--family-info.ft-button--tertiary {
|
|
824
|
+
${(0,u.setVariable)(R.color,s.tertiaryInfoIconColor)};
|
|
825
|
+
|
|
826
|
+
${(0,u.setVariable)(g.backgroundColor,s.tertiaryInfoStateLayerColor)};
|
|
827
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,s.tertiaryInfoHoverStateLayerOpacity)};
|
|
828
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,s.tertiaryInfoFocusStateLayerOpacity)};
|
|
829
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,s.tertiaryInfoActiveStateLayerOpacity)};
|
|
830
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,s.tertiaryInfoActiveStateLayerOpacity)};
|
|
831
|
+
|
|
832
|
+
background-color: ${s.tertiaryInfoBackgroundColor};
|
|
833
|
+
color: ${s.tertiaryInfoColor};
|
|
834
|
+
border-style: none;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
.ftds--family-info.ft-button--tertiary[disabled] {
|
|
838
|
+
opacity: ${s.tertiaryInfoDisabledComponentOpacity};
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
.ftds--family-info.ft-button--tertiary ft-icon {
|
|
842
|
+
color: ${s.tertiaryInfoIconColor};
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
/** Success Secondary styles **/
|
|
846
|
+
|
|
847
|
+
.ftds--family-success.ft-button--secondary {
|
|
848
|
+
${(0,u.setVariable)(R.color,s.secondarySuccessIconColor)};
|
|
849
|
+
|
|
850
|
+
${(0,u.setVariable)(g.backgroundColor,s.secondarySuccessStateLayerColor)};
|
|
851
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,s.secondarySuccessHoverStateLayerOpacity)};
|
|
852
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,s.secondarySuccessFocusStateLayerOpacity)};
|
|
853
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,s.secondarySuccessActiveStateLayerOpacity)};
|
|
854
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,s.secondarySuccessActiveStateLayerOpacity)};
|
|
855
|
+
|
|
856
|
+
background-color: ${s.secondarySuccessBackgroundColor};
|
|
857
|
+
color: ${s.secondarySuccessColor};
|
|
858
|
+
border-color: ${s.secondarySuccessBorderColor};
|
|
859
|
+
border-style: solid;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
.ftds--family-success.ft-button--secondary[disabled] {
|
|
863
|
+
opacity: ${s.secondarySuccessDisabledComponentOpacity};
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
.ftds--family-success.ft-button--secondary ft-icon {
|
|
867
|
+
color: ${s.secondarySuccessIconColor};
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
/** Success Tertiary styles **/
|
|
871
|
+
|
|
872
|
+
.ftds--family-success.ft-button--tertiary {
|
|
873
|
+
${(0,u.setVariable)(R.color,s.tertiarySuccessIconColor)};
|
|
874
|
+
|
|
875
|
+
${(0,u.setVariable)(g.backgroundColor,s.tertiarySuccessStateLayerColor)};
|
|
876
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,s.tertiarySuccessHoverStateLayerOpacity)};
|
|
877
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,s.tertiarySuccessFocusStateLayerOpacity)};
|
|
878
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,s.tertiarySuccessActiveStateLayerOpacity)};
|
|
879
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,s.tertiarySuccessActiveStateLayerOpacity)};
|
|
880
|
+
|
|
881
|
+
background-color: ${s.tertiarySuccessBackgroundColor};
|
|
882
|
+
color: ${s.tertiarySuccessColor};
|
|
883
|
+
border-style: none;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
.ftds--family-success.ft-button--tertiary[disabled] {
|
|
887
|
+
opacity: ${s.tertiarySuccessDisabledComponentOpacity};
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
.ftds--family-success.ft-button--tertiary ft-icon {
|
|
891
|
+
color: ${s.tertiarySuccessIconColor};
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
/** Warning Secondary styles **/
|
|
895
|
+
|
|
896
|
+
.ftds--family-warning.ft-button--secondary {
|
|
897
|
+
${(0,u.setVariable)(R.color,s.secondaryWarningIconColor)};
|
|
898
|
+
|
|
899
|
+
${(0,u.setVariable)(g.backgroundColor,s.secondaryWarningStateLayerColor)};
|
|
900
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,s.secondaryWarningHoverStateLayerOpacity)};
|
|
901
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,s.secondaryWarningFocusStateLayerOpacity)};
|
|
902
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,s.secondaryWarningActiveStateLayerOpacity)};
|
|
903
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,s.secondaryWarningActiveStateLayerOpacity)};
|
|
904
|
+
|
|
905
|
+
background-color: ${s.secondaryWarningBackgroundColor};
|
|
906
|
+
color: ${s.secondaryWarningColor};
|
|
907
|
+
border-color: ${s.secondaryWarningBorderColor};
|
|
908
|
+
border-style: solid;
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
.ftds--family-warning.ft-button--secondary[disabled] {
|
|
912
|
+
opacity: ${s.secondaryWarningDisabledComponentOpacity};
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
.ftds--family-warning.ft-button--secondary ft-icon {
|
|
916
|
+
color: ${s.secondaryWarningIconColor};
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
/** Warning Tertiary styles **/
|
|
920
|
+
|
|
921
|
+
.ftds--family-warning.ft-button--tertiary {
|
|
922
|
+
${(0,u.setVariable)(R.color,s.tertiaryWarningIconColor)};
|
|
923
|
+
|
|
924
|
+
${(0,u.setVariable)(g.backgroundColor,s.tertiaryWarningStateLayerColor)};
|
|
925
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,s.tertiaryWarningHoverStateLayerOpacity)};
|
|
926
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,s.tertiaryWarningFocusStateLayerOpacity)};
|
|
927
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,s.tertiaryWarningActiveStateLayerOpacity)};
|
|
928
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,s.tertiaryWarningActiveStateLayerOpacity)};
|
|
929
|
+
|
|
930
|
+
background-color: ${s.tertiaryWarningBackgroundColor};
|
|
931
|
+
color: ${s.tertiaryWarningColor};
|
|
932
|
+
border-style: none;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
.ftds--family-warning.ft-button--tertiary[disabled] {
|
|
936
|
+
opacity: ${s.tertiaryWarningDisabledComponentOpacity};
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
.ftds--family-warning.ft-button--tertiary ft-icon {
|
|
940
|
+
color: ${s.tertiaryWarningIconColor};
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
/** Error Secondary styles **/
|
|
944
|
+
|
|
945
|
+
.ftds--family-error.ft-button--secondary {
|
|
946
|
+
${(0,u.setVariable)(R.color,s.secondaryErrorIconColor)};
|
|
947
|
+
|
|
948
|
+
${(0,u.setVariable)(g.backgroundColor,s.secondaryErrorStateLayerColor)};
|
|
949
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,s.secondaryErrorHoverStateLayerOpacity)};
|
|
950
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,s.secondaryErrorFocusStateLayerOpacity)};
|
|
951
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,s.secondaryErrorActiveStateLayerOpacity)};
|
|
952
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,s.secondaryErrorActiveStateLayerOpacity)};
|
|
953
|
+
|
|
954
|
+
background-color: ${s.secondaryErrorBackgroundColor};
|
|
955
|
+
color: ${s.secondaryErrorColor};
|
|
956
|
+
border-color: ${s.secondaryErrorBorderColor};
|
|
957
|
+
border-style: solid;
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
.ftds--family-error.ft-button--secondary[disabled] {
|
|
961
|
+
opacity: ${s.secondaryErrorDisabledComponentOpacity};
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
.ftds--family-error.ft-button--secondary ft-icon {
|
|
965
|
+
color: ${s.secondaryErrorIconColor};
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
/** Error Tertiary styles **/
|
|
969
|
+
|
|
970
|
+
.ftds--family-error.ft-button--tertiary {
|
|
971
|
+
${(0,u.setVariable)(R.color,s.tertiaryErrorIconColor)};
|
|
972
|
+
|
|
973
|
+
${(0,u.setVariable)(g.backgroundColor,s.tertiaryErrorStateLayerColor)};
|
|
974
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceHover,s.tertiaryErrorHoverStateLayerOpacity)};
|
|
975
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceFocused,s.tertiaryErrorFocusStateLayerOpacity)};
|
|
976
|
+
${(0,u.setVariable)(g.opacityContentOnSurfaceSelected,s.tertiaryErrorActiveStateLayerOpacity)};
|
|
977
|
+
${(0,u.setVariable)(g.opacityContentOnSurfacePressed,s.tertiaryErrorActiveStateLayerOpacity)};
|
|
978
|
+
|
|
979
|
+
background-color: ${s.tertiaryErrorBackgroundColor};
|
|
980
|
+
color: ${s.tertiaryErrorColor};
|
|
981
|
+
border-style: none;
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
.ftds--family-error.ft-button--tertiary[disabled] {
|
|
985
|
+
opacity: ${s.tertiaryErrorDisabledComponentOpacity};
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
.ftds--family-error.ft-button--tertiary ft-icon {
|
|
989
|
+
color: ${s.tertiaryErrorIconColor};
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
/** Large styles **/
|
|
993
|
+
|
|
994
|
+
.ftds--size-large {
|
|
995
|
+
${(0,u.setVariable)(q.size,s.largeIconSize)};
|
|
996
|
+
${(0,u.setVariable)(R.size,s.largeIconSize)};
|
|
997
|
+
|
|
998
|
+
height: ${s.largeHeight};
|
|
999
|
+
padding: 0 ${s.largeHorizontalPadding};
|
|
1000
|
+
gap: ${s.largeGap};
|
|
1001
|
+
border-radius: ${s.largeBorderRadius};
|
|
1002
|
+
border-width: ${s.largeBorderWidth};
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
.ftds--size-large:focus-visible {
|
|
1006
|
+
outline-width: ${s.largeFocusOutlineWidth};
|
|
1007
|
+
outline-offset: ${s.largeFocusOutlineOffset};
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
.ftds--size-large.ft-button--icon-only {
|
|
1011
|
+
width: ${s.largeIconOnlyWidth};
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
/** Small styles **/
|
|
1015
|
+
|
|
1016
|
+
.ftds--size-medium {
|
|
1017
|
+
${(0,u.setVariable)(q.size,s.mediumIconSize)};
|
|
1018
|
+
${(0,u.setVariable)(R.size,s.mediumIconSize)};
|
|
1019
|
+
|
|
1020
|
+
height: ${s.mediumHeight};
|
|
1021
|
+
padding: 0 ${s.mediumHorizontalPadding};
|
|
1022
|
+
gap: ${s.mediumGap};
|
|
1023
|
+
border-radius: ${s.mediumBorderRadius};
|
|
1024
|
+
border-width: ${s.mediumBorderWidth};
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
.ftds--size-medium:focus-visible {
|
|
1028
|
+
outline-width: ${s.mediumFocusOutlineWidth};
|
|
1029
|
+
outline-offset: ${s.mediumFocusOutlineOffset};
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
.ftds--size-medium.ft-button--icon-only {
|
|
1033
|
+
width: ${s.mediumIconOnlyWidth};
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
|
|
1037
|
+
/** Small styles **/
|
|
1038
|
+
|
|
1039
|
+
.ftds--size-small {
|
|
1040
|
+
${(0,u.setVariable)(q.size,s.smallIconSize)};
|
|
1041
|
+
${(0,u.setVariable)(R.size,s.smallIconSize)};
|
|
1042
|
+
|
|
1043
|
+
height: ${s.smallHeight};
|
|
1044
|
+
padding: 0 ${s.smallHorizontalPadding};
|
|
1045
|
+
gap: ${s.smallGap};
|
|
1046
|
+
border-radius: ${s.smallBorderRadius};
|
|
1047
|
+
border-width: ${s.smallBorderWidth};
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
.ftds--size-small:focus-visible {
|
|
1051
|
+
outline-width: ${s.smallFocusOutlineWidth};
|
|
1052
|
+
outline-offset: ${s.smallFocusOutlineOffset};
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
.ftds--size-small.ft-button--icon-only {
|
|
1056
|
+
width: ${s.smallIconOnlyWidth};
|
|
1057
|
+
}
|
|
1058
|
+
`,u.noTextSelect];var Pe=function(e,o,a,n){var l=arguments.length,c=l<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(c=(l<3?d(c):l>3?d(o,a,c):d(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},lt=class extends(0,We.toFtdsBase)(A){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Ne.brand,this.iconVariant=pt.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Dt.large:return M.body2medium;case Dt.medium:return M.caption1medium;case Dt.small:return M.caption2medium}}};lt.styles=[We.safariEllipsisFix,Ia];Pe([(0,he.property)({type:Boolean})],lt.prototype,"primary",void 0);Pe([(0,he.property)({type:Boolean})],lt.prototype,"secondary",void 0);Pe([(0,he.property)({type:Boolean})],lt.prototype,"tertiary",void 0);Pe([(0,he.property)({type:Boolean})],lt.prototype,"round",void 0);(0,co.customElement)("ft-button")(St);(0,co.customElement)("ftds-button")(lt);var Pa=x(G()),so=x(L());var Wa=Pa.css`
|
|
1059
|
+
/* Header */
|
|
1060
|
+
[part="header"] {
|
|
1061
|
+
display: flex;
|
|
1062
|
+
flex-wrap: wrap;
|
|
1063
|
+
justify-content: space-between;
|
|
1064
|
+
align-items: baseline;
|
|
1065
|
+
margin-bottom: ${O.headerSectionMarginBottom};
|
|
1066
|
+
padding-left: ${O.headerSectionPaddingLeft};
|
|
1067
|
+
padding-right: ${O.headerSectionPaddingRight};
|
|
1068
|
+
color: ${O.headerSectionColor};
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
.header-label {
|
|
1072
|
+
display: flex;
|
|
1073
|
+
gap: ${O.headerSectionHorizontalGap};
|
|
1074
|
+
align-items: baseline;
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
/* Tree */
|
|
1078
|
+
ul[role="tree"] {
|
|
1079
|
+
padding: 0;
|
|
1080
|
+
margin: 0;
|
|
1081
|
+
position: relative;
|
|
1082
|
+
overflow-x: clip;
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
ul[role="tree"]:before {
|
|
1086
|
+
border-width: 0 ${O.listContainerBorderWidth};
|
|
1087
|
+
border-style: solid;
|
|
1088
|
+
border-color: ${O.listContainerBorderColor};
|
|
1089
|
+
background-color: ${O.listContainerBackgroundColor};
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
ul[role="tree"],
|
|
1093
|
+
ul[role="tree"] li {
|
|
1094
|
+
list-style: none;
|
|
1095
|
+
width: max-content;
|
|
1096
|
+
min-width: 100%;
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
ul[role="tree"] > li {
|
|
1100
|
+
padding-left: ${O.nodeRootPaddingLeft};
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
ul[role="tree"] a[role="treeitem"] {
|
|
1104
|
+
height: ${O.nodeHeight};
|
|
1105
|
+
line-height: ${O.nodeHeight};
|
|
1106
|
+
width: calc(100% - ${O.nodeRootPaddingLeft});
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
li a[role="treeitem"] {
|
|
1110
|
+
display: inline-flex;
|
|
1111
|
+
align-items: baseline;
|
|
1112
|
+
padding-right: ${O.nodeParentLabelMarginRight};
|
|
1113
|
+
cursor: pointer;
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
li a[role="treeitem"]:not(.with-children):not([part="load-more"]) {
|
|
1117
|
+
padding-left: ${O.nodeLeafPaddingLeft};
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
li a[role="treeitem"] + ul {
|
|
1121
|
+
padding-left: ${O.nodeChildPaddingLeft};
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
li a[role="treeitem"]:before {
|
|
1125
|
+
content: '';
|
|
1126
|
+
position: absolute;
|
|
1127
|
+
left: 0;
|
|
1128
|
+
width: 100%;
|
|
1129
|
+
height: ${O.nodeHeight};
|
|
1130
|
+
pointer-events: none;
|
|
1131
|
+
border-width: 0 ${O.nodeBorderWidth} ${O.nodeBorderWidth} ${O.nodeBorderWidth};
|
|
1132
|
+
border-style: solid;
|
|
1133
|
+
border-color: ${O.nodeUnselectedDefaultBorderColor};
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
ul[role="tree"] > li:first-of-type a[role="treeitem"]:before {
|
|
1137
|
+
border-top-width: ${O.nodeBorderWidth};
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
li a[role="treeitem"]:hover:before, li a[role="treeitem"]:focus-visible:before {
|
|
1141
|
+
left: 1px;
|
|
1142
|
+
width: calc(100% - 4px); /* 4px to not clip the border when no horizontal scroll */
|
|
1143
|
+
border-style: solid;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
/* Hover node */
|
|
1147
|
+
li a[role="treeitem"]:hover:before {
|
|
1148
|
+
border-color: ${O.nodeHoverBorderColor} !important;
|
|
1149
|
+
border-width: ${O.nodeBorderWidth};
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
/* Focus node */
|
|
1153
|
+
li a[role="treeitem"]:focus-visible {
|
|
1154
|
+
outline: none;
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
li a[role="treeitem"]:focus-visible:before, ul[role="tree"] > li:first-of-type a[role="treeitem"]:focus-visible:before {
|
|
1158
|
+
border-color: ${O.nodeFocusFocusRingColor} !important;
|
|
1159
|
+
border-width: ${O.nodeFocusOutlineWidth};
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
/* Selected Node */
|
|
1163
|
+
li > a[role="treeitem"][aria-selected=true] ft-typography[part="node-label"] {
|
|
1164
|
+
color: ${O.nodeSelectedLabelColor};
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
li > a[role="treeitem"][aria-selected=true] [part="node-expand"] {
|
|
1168
|
+
color: ${O.nodeSelectedIconColor};
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
li > a[role="treeitem"][aria-selected=true]:before {
|
|
1172
|
+
background-color: ${O.nodeSelectedBackgroundColor};
|
|
1173
|
+
border-color: ${O.nodeSelectedDefaultBorderColor};
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
/* Descendent of selected Node */
|
|
1177
|
+
li > a[role="treeitem"][aria-selected=true] + ul a ft-typography[part="node-label"] {
|
|
1178
|
+
color: ${O.nodeDescendantOfSelectedLabelColor};
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
li > a[role="treeitem"][aria-selected=true] + ul a [part="node-expand"] {
|
|
1182
|
+
color: ${O.nodeDescendantOfSelectedIconColor};
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
li > a[role="treeitem"][aria-selected=true] + ul a:before {
|
|
1186
|
+
background-color: ${O.nodeDescendantOfSelectedBackgroundColor};
|
|
1187
|
+
border-color: ${O.nodeDescendantOfSelectedDefaultBorderColor};
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
/* Buttons */
|
|
1191
|
+
[part="node-expand"] {
|
|
1192
|
+
--ft-icon-font-size: 16px;
|
|
1193
|
+
color: ${O.nodeUnselectedIconColor};
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
/* Load more node */
|
|
1197
|
+
[part="load-more"] [part="node-label"],
|
|
1198
|
+
li > a[role="treeitem"][aria-selected=true] + ul a[part="load-more"] ft-typography[part="node-label"] {
|
|
1199
|
+
color: ${O.loadMoreLabelColor};
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
[part="load-more"] ft-icon {
|
|
1203
|
+
color: ${O.loadMoreIconColor};
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
li a[role="treeitem"][part="load-more"]:before {
|
|
1207
|
+
border-color: ${O.loadMoreUnselectedDefaultBorderColor};
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
li > a[role="treeitem"][aria-selected=true] + ul a[part="load-more"]:not(:hover, :focus-visible, :active):before {
|
|
1211
|
+
background-color: ${O.loadMoreDescendantOfSelectedDefaultBackgroundColor};
|
|
1212
|
+
border-color: ${O.loadMoreDescendantOfSelectedDefaultBorderColor};
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
li a[role="treeitem"][part="load-more"]:hover:before {
|
|
1216
|
+
background-color: ${O.loadMoreHoverBackgroundColor};
|
|
1217
|
+
border-color: ${O.loadMoreHoverBorderColor} !important;
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
li a[role="treeitem"][part="load-more"]:focus-visible:before {
|
|
1221
|
+
background-color: ${O.loadMoreFocusBackgroundColor};
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
li a[role="treeitem"][part="load-more"]:active:before {
|
|
1225
|
+
background-color: ${O.loadMoreActiveBackgroundColor};
|
|
1226
|
+
border-color: ${O.loadMoreActiveBorderColor} !important;
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
/* Labels */
|
|
1230
|
+
.node-label-container {
|
|
1231
|
+
display: flex;
|
|
1232
|
+
width: 100%;
|
|
1233
|
+
align-items: baseline;
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
ft-typography[part="node-label"] {
|
|
1237
|
+
height: 100%;
|
|
1238
|
+
white-space: nowrap;
|
|
1239
|
+
color: ${O.nodeUnselectedLabelColor};
|
|
1240
|
+
margin-right: ${O.nodeParentLabelMarginRight};
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
li a[role="treeitem"].with-children > .node-label-container > ft-typography[part="node-label"] {
|
|
1244
|
+
margin-left: ${O.nodeParentLabelMarginLeft};
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
li > a[aria-selected=true] > ft-typography[part="node-label"] {
|
|
1248
|
+
${(0,so.setVariable)(C.fontFamily,M.body2semibold)};
|
|
1249
|
+
${(0,so.setVariable)(C.fontWeight,"bold")};
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
.node-children-count {
|
|
1253
|
+
color: ${O.nodeUnselectedCounterColor};
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
/* Empty State */
|
|
1257
|
+
.empty-state {
|
|
1258
|
+
display: flex;
|
|
1259
|
+
flex-direction: column;
|
|
1260
|
+
align-items: center;
|
|
1261
|
+
}
|
|
1262
|
+
`;var ke=class{constructor(o,a){this.finished=o,this.skipChild=a}};function po(e){return{value:`load-more-${e.value}`,label:"Load more",children:[]}}function me(e,o,a=null,n=0){var l;for(let c of e){let d=o(c,n,a);if(d?.finished)return!0;if(!d?.skipChild&&(!((l=c.children)===null||l===void 0)&&l.length)){if(me(c.children.slice(0,c.loadedCount),o,c,n+1))return!0;if(c.loadedCount&&c.loadedCount<c.children.length){let f=po(c);o(f,n+1,a)}}}return!1}function be(e,o,a=[]){var n;let l=Array.isArray(e)?e:[e];for(let c of l){let d=[...a,c];if(c.value===o)return d;if(!((n=c.children)===null||n===void 0)&&n.length){let p=be(c.children,o,d);if(p)return p}}return null}var ka=x(G()),Ta=ka.html`
|
|
1263
|
+
<svg width="120" height="121" viewBox="0 0 120 121" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
1264
|
+
<g clip-path="url(#clip0_9048_22830)">
|
|
1265
|
+
<path
|
|
1266
|
+
d="M60 120.065C93.1371 120.065 120 93.2025 120 60.0654C120 26.9283 93.1371 0.0654297 60 0.0654297C26.8629 0.0654297 0 26.9283 0 60.0654C0 93.2025 26.8629 120.065 60 120.065Z"
|
|
1267
|
+
fill="#F2F2F5"/>
|
|
1268
|
+
<path
|
|
1269
|
+
d="M60.0022 68.8142C60.0022 68.1208 60.5589 67.5641 61.2523 67.5641C61.9477 67.5641 62.5025 68.1911 62.5025 68.8142C62.5025 69.4373 61.9458 69.994 61.2523 69.994C60.5589 69.994 60.0022 69.5076 60.0022 68.8142Z"
|
|
1270
|
+
fill="#BBBBC9"/>
|
|
1271
|
+
<path
|
|
1272
|
+
d="M57.5019 51.3123C57.5019 50.6188 58.0586 50.0621 58.7521 50.0621C59.4474 50.0621 60.0022 50.6169 60.0022 51.3123C60.0022 52.0077 59.4455 52.4921 58.7521 52.4921C58.0586 52.4921 57.5019 52.0057 57.5019 51.3123Z"
|
|
1273
|
+
fill="#BBBBC9"/>
|
|
1274
|
+
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
1275
|
+
d="M74.8843 56.3753C76.154 56.1605 77.4635 56.5222 78.4495 57.352C79.4418 58.1802 80.0044 59.3991 80.0044 60.7587V63.2589C80.0044 68.4353 75.8047 72.635 70.6284 72.635L67.503 72.6349V77.5654H83.75C84.4404 77.5654 85 78.1251 85 78.8154C85 79.5058 84.4404 80.0654 83.75 80.0654H36.25C35.5596 80.0654 35 79.5058 35 78.8154C35 78.1251 35.5596 77.5654 36.25 77.5654H52.5014V63.8136L49.376 63.7433C44.1997 63.7433 40 59.614 40 54.4376V51.9373C40 50.6481 40.5657 49.425 41.5525 48.5948C42.5393 47.7646 43.8481 47.4032 45.1178 47.6181C47.2664 47.9799 48.751 50.0012 48.751 52.1796V54.4376C48.751 54.7794 49.0342 55.0627 49.376 55.0627H52.5014V47.5619C52.5014 45.5015 53.353 43.5388 54.7751 42.1222C56.3377 40.7061 58.3536 39.9637 60.4022 40.0767C64.4652 40.2876 67.503 43.9912 67.503 47.9838V63.8136H70.6284C70.9702 63.8136 71.2534 63.5304 71.2534 63.1886V60.9305C71.2534 58.7584 72.738 56.7347 74.8843 56.3753ZM49.376 61.3134H52.5014V57.5629L49.376 57.6333C47.6477 57.6333 46.2507 56.2363 46.2507 54.5079V52.0077C46.2507 50.9724 45.4107 50.1325 44.3755 50.1325C43.3402 50.1325 42.5003 50.9724 42.5003 52.0077V54.5079C42.5003 58.2373 45.5764 61.3134 49.376 61.3134ZM55.0016 77.5652H65.0027V47.5619C65.0027 44.8678 62.7666 42.6316 60.0022 42.6316C57.2378 42.6316 55.0016 44.7983 55.0016 47.5619V77.5652ZM70.6284 70.0643C74.4272 70.0643 77.5041 66.9882 77.5041 63.1886V60.6883C77.5041 59.6569 76.6642 58.9537 75.6289 58.9537C74.5936 58.9537 73.7537 59.7233 73.7537 60.7586V63.2589C73.7537 64.9872 72.3567 66.3842 70.6284 66.3842H67.503V70.0643H70.6284Z"
|
|
1276
|
+
fill="#BBBBC9"/>
|
|
1277
|
+
</g>
|
|
1278
|
+
<defs>
|
|
1279
|
+
<clipPath id="clip0_9048_22830">
|
|
1280
|
+
<rect width="120" height="120" fill="white" transform="translate(0 0.0654297)"/>
|
|
1281
|
+
</clipPath>
|
|
1282
|
+
</defs>
|
|
1283
|
+
</svg>
|
|
1284
|
+
`;var Y=function(e,o,a,n){var l=arguments.length,c=l<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(c=(l<3?d(c):l>3?d(o,a,c):d(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},yo=class extends CustomEvent{constructor(o){super("node-selected",{detail:o})}},I=class extends Ot.FtLitElement{constructor(){super(...arguments),this.label="",this.expandLabel="Expand",this.collapseLabel="Collapse",this.showMoreLabel="Show more",this.expandParametrizedLabel="Expand {0}",this.collapseParametrizedLabel="Collapse {0}",this.expandAllLabel="Expand all",this.collapseAllLabel="Collapse all",this.userOpenedNodes=new Set,this.userClosedNodes=new Set}expandAll(){this.userClosedNodes=new Set,this.userOpenedNodes=new Set(this.data.rootNodes.flatMap(o=>this.getAllClosedNodes(o))),this.isTreeSelectorCollapsed=!1}collapseAll(){this.userOpenedNodes=new Set,this.userClosedNodes=new Set(this.data.rootNodes.filter(o=>o.expanded).map(o=>o.value)),this.isTreeSelectorCollapsed=!0}getItemSelector(o){var a;return(a=this.shadowRoot)===null||a===void 0?void 0:a.querySelector(`[data-value="${o.value}"]`)}isNodeExpanded(o){return!this.userClosedNodes.has(o.value)&&(o.expanded||this.userOpenedNodes.has(o.value))}setFocusToTreeItem(o){var a,n;(n=(a=this.shadowRoot)===null||a===void 0?void 0:a.querySelector('[tabindex="0"]'))===null||n===void 0||n.setAttribute("tabindex","-1");let l=this.getItemSelector(o);l?.focus(),l?.setAttribute("tabindex","0")}render(){var o;let a=this.data&&this.data.rootNodes&&this.data.rootNodes.length>0?this.data.rootNodes.some(n=>n.children.length>0):!1;return j.html`
|
|
1285
|
+
<div part="header">
|
|
1286
|
+
${zt(this.label.length>0,()=>j.html`
|
|
1287
|
+
<ft-typography class="header-label" variant="${M.body1semibold}">
|
|
1288
|
+
${this.label}
|
|
1289
|
+
<ft-typography variant="${M.body2medium}" class="node-children-count">
|
|
1290
|
+
(${this.getEntriesCount()})
|
|
1291
|
+
</ft-typography>
|
|
1292
|
+
</ft-typography>
|
|
1293
|
+
`)}
|
|
1294
|
+
${zt(a,()=>j.html`
|
|
1295
|
+
<ftds-button
|
|
1296
|
+
dense
|
|
1297
|
+
tooltipposition="bottom"
|
|
1298
|
+
part="expand-button"
|
|
1299
|
+
family="${Ot.DesignSystemFamily.neutral}"
|
|
1300
|
+
icon=${st.ICON_COLLAPSE}
|
|
1301
|
+
label="${this.collapseAllLabel}"
|
|
1302
|
+
@click="${()=>this.collapseAll()}"
|
|
1303
|
+
>
|
|
1304
|
+
${this.collapseAllLabel}
|
|
1305
|
+
</ftds-button>
|
|
1306
|
+
`)}
|
|
1307
|
+
</div>
|
|
1308
|
+
${!(!((o=this.data)===null||o===void 0)&&o.rootNodes)||this.data.rootNodes.length<=0?this.renderEmptyState():j.html`
|
|
1309
|
+
<ul role="tree" class="ft-tree-list" aria-labelledby="${this.label}">
|
|
1310
|
+
${(0,fo.repeat)(this.data.rootNodes,n=>n.value,n=>this.renderNode(n))}
|
|
1311
|
+
</ul>
|
|
1312
|
+
`}
|
|
1313
|
+
`}renderNode(o){var a;let n=this.isNodeExpanded(o);o.loadedCount=(a=o.loadedCount)!==null&&a!==void 0?a:this.pageSize,o.loadedCount||(o.loadedCount=o.children.length);let l=o.children.slice(0,o.loadedCount),c={expanded:n,collapsed:n,"with-expandable":this.hasExpandableChildren(o),"with-children":this.hasChildren(o)};return j.html`
|
|
1314
|
+
<li role="none">
|
|
1315
|
+
<a
|
|
1316
|
+
part="node-container"
|
|
1317
|
+
role="treeitem"
|
|
1318
|
+
data-value="${o.value}"
|
|
1319
|
+
aria-expanded="${zo(n)}"
|
|
1320
|
+
class="${(0,uo.classMap)(c)}"
|
|
1321
|
+
tabindex="-1"
|
|
1322
|
+
@keydown="${d=>this.onKeydown(d,o,!1)}"
|
|
1323
|
+
>
|
|
1324
|
+
${zt(this.hasChildren(o),()=>j.html`
|
|
1325
|
+
<ft-icon
|
|
1326
|
+
part="node-expand"
|
|
1327
|
+
value=${n?st.THIN_ARROW:st.THIN_ARROW_RIGHT}
|
|
1328
|
+
@click="${()=>this.expandNode(!n,o.value)}"
|
|
1329
|
+
></ft-icon>
|
|
1330
|
+
`)}
|
|
1331
|
+
<div class="node-label-container" @click=${d=>this.selectNode(d,o)}>
|
|
1332
|
+
<ft-typography
|
|
1333
|
+
part="node-label"
|
|
1334
|
+
variant="${M.body2medium}"
|
|
1335
|
+
>
|
|
1336
|
+
${o.label}
|
|
1337
|
+
</ft-typography>
|
|
1338
|
+
${zt(this.hasChildren(o),()=>j.html`
|
|
1339
|
+
<ft-typography variant="${M.body2medium}" class="node-children-count">
|
|
1340
|
+
(${this.getChildrenCount(o)})
|
|
1341
|
+
</ft-typography>
|
|
1342
|
+
`)}
|
|
1343
|
+
</div>
|
|
1344
|
+
</a>
|
|
1345
|
+
${this.hasChildren(o)?this.renderChildNodes(n,l,o,c):j.nothing}
|
|
1346
|
+
</li>
|
|
1347
|
+
`}renderChildNodes(o,a,n,l){return j.html`
|
|
1348
|
+
<ul role="group">
|
|
1349
|
+
${zt(o,()=>j.html`
|
|
1350
|
+
${(0,fo.repeat)(a,c=>c.value,c=>this.renderNode(c))}
|
|
1351
|
+
${n.loadedCount&&n.children.length>n.loadedCount?this.renderShowMore(n,l):j.nothing}`)}
|
|
1352
|
+
</ul>
|
|
1353
|
+
`}renderShowMore(o,a){return j.html`
|
|
1354
|
+
<li role="none">
|
|
1355
|
+
<a part="load-more"
|
|
1356
|
+
role="treeitem"
|
|
1357
|
+
data-value="load-more-${o.value}"
|
|
1358
|
+
icon="${st.ARROW_DOWN}"
|
|
1359
|
+
tabindex="-1"
|
|
1360
|
+
aria-expanded="false"
|
|
1361
|
+
class="${(0,uo.classMap)(a)}"
|
|
1362
|
+
@click="${()=>this.loadMore(o)}"
|
|
1363
|
+
@keydown="${n=>this.onKeydown(n,po(o),!0,o)}">
|
|
1364
|
+
<ft-icon value=${st.ARROW_DOWN}></ft-icon>
|
|
1365
|
+
<ft-typography
|
|
1366
|
+
part="node-label"
|
|
1367
|
+
variant="${M.body2medium}"
|
|
1368
|
+
>
|
|
1369
|
+
${this.showMoreLabel}
|
|
1370
|
+
</ft-typography>
|
|
1371
|
+
</a>
|
|
1372
|
+
</li>
|
|
1373
|
+
`}renderEmptyState(){var o,a;return j.html`
|
|
1374
|
+
<div class="empty-state">
|
|
1375
|
+
${!((o=this.emptyState)===null||o===void 0)&&o.noImage?j.nothing:Ta}
|
|
1376
|
+
<ft-typography variant="${M.body2medium}">
|
|
1377
|
+
${(a=this.emptyState)===null||a===void 0?void 0:a.content}
|
|
1378
|
+
</ft-typography>
|
|
1379
|
+
</div>
|
|
1380
|
+
`}willUpdate(o){var a,n;super.willUpdate(o),!this.selectedNode&&(!((a=this.data)===null||a===void 0)&&a.rootNodes)&&(this.selectedNode=(n=this.data)===null||n===void 0?void 0:n.rootNodes[0])}updated(o){super.updated(o),this.nodeToFocus&&(this.setFocusToTreeItem(this.nodeToFocus),this.nodeToFocus=void 0)}onKeydown(o,a,n,l){let c=!1,d=this.data.rootNodes,p=this.getAdjacentVisibleTreeItems(d,a),f=p.findIndex(y=>y.value===a.value);if(o.shiftKey&&(o.key===" "||o.key==="Space"))o.stopPropagation();else{let y=this.isNodeExpanded(a);switch(o.key){case"Enter":case" ":case"Space":n&&l?this.loadMore(l):this.selectNode(o,a),c=!0;break;case"ArrowDown":this.setFocusToNextNode(p,f),c=!0;break;case"ArrowUp":this.setFocusToPreviousNode(p,f),c=!0;break;case"ArrowRight":y?a.children.length>0&&this.setFocusToTreeItem(a.children[0]):this.expandNode(!y,a.value),c=!0;break;case"ArrowLeft":if(y)this.expandNode(!y,a.value);else{let b=be(d,a.value);if(b&&b.length>1){let N=b[b.length-2];this.setFocusToTreeItem(N)}}c=!0;break;case"Home":this.setFocusToTreeItem(p[0]),c=!0;break;case"End":this.setFocusToTreeItem(p[p.length-1]),c=!0;break;case"*":let S=be(d,a.value);if(S&&S.length>1){let b=S[S.length-2].children;for(let N of b)this.expandNode(!0,N.value)}else if(S?.length==1)for(let b of this.data.rootNodes)this.expandNode(!0,b.value);c=!0;break}}c&&(o.stopPropagation(),o.preventDefault())}setFocusToPreviousNode(o,a){o[a-1]&&this.setFocusToTreeItem(o[a-1])}setFocusToNextNode(o,a){o[a+1]&&this.setFocusToTreeItem(o[a+1])}getAdjacentVisibleTreeItems(o,a){let n=[],l=!1,c=!1;return me(o,d=>{let p=l;return d.value===a.value&&(l=!0,c=!0),this.isVisible(d)&&(c?n.push(d):n[0]=d),new ke(p,!this.isNodeExpanded(d))}),n}isVisible(o){var a,n;let l=this.data.rootNodes;if(o.value.includes("load-more-")){let d=o.value.replace("load-more-",""),p=(a=this.shadowRoot)===null||a===void 0?void 0:a.querySelector(`[data-value="${d}"]`);if(!p||p.getAttribute("aria-expanded")==="false")return!1}let c=be(l,o.value);if(c&&c.length>1){let d=c[c?.length-2],p=this.getItemSelector(d),f=d.children.findIndex(y=>y.value===o.value);if(!p||p.getAttribute("aria-expanded")==="false"||f>=((n=d.loadedCount)!==null&&n!==void 0?n:1/0))return!1}return!0}expandNode(o,a){o?this.userClosedNodes.has(a)?this.userClosedNodes.delete(a):this.userOpenedNodes.add(a):this.userOpenedNodes.has(a)?this.userOpenedNodes.delete(a):this.userClosedNodes.add(a),this.requestUpdate()}toggleExpandAll(){this.isTreeSelectorCollapsed?this.expandAll():this.collapseAll()}getAllClosedNodes(o){return o.children.length!==0?[...o.expanded?[]:[o.value],...o.children.flatMap(a=>this.getAllClosedNodes(a))]:[]}getChildrenCount(o){let a=0;return me(o.children,()=>{a++}),a}getEntriesCount(){var o;let a=0;return!((o=this.data)===null||o===void 0)&&o.rootNodes&&me(this.data.rootNodes,()=>{a++}),a}hasExpandableChildren(o){return o.children.some(a=>a.children.length>0)}hasChildren(o){return o.children.length>0}loadMore(o){var a;if(this.pageSize){let n=(a=o.loadedCount)!==null&&a!==void 0?a:this.pageSize;o.loadedCount=n+this.pageSize,this.nodeToFocus=o.children[n],this.requestUpdate(),this.setFocusToTreeItem(o.children[n])}}selectNode(o,a){var n;o.preventDefault();let l=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector("[aria-selected]");l?.removeAttribute("aria-selected");let c=o.currentTarget;if(o.type==="click"){let d=c?.parentElement;d?.setAttribute("aria-selected","true")}else o.type==="keydown"&&c?.setAttribute("aria-selected","true");this.selectedNode=a,this.dispatchEvent(new yo(a)),this.setFocusToTreeItem(a),o.stopPropagation()}};I.elementDefinitions={"ft-typography":ot,"ftds-button":lt,"ft-icon":Q};I.styles=Wa;Y([(0,K.property)()],I.prototype,"data",void 0);Y([(0,K.property)()],I.prototype,"label",void 0);Y([(0,K.property)()],I.prototype,"pageSize",void 0);Y([(0,K.property)()],I.prototype,"selectedNode",void 0);Y([(0,K.property)()],I.prototype,"expandLabel",void 0);Y([(0,K.property)()],I.prototype,"collapseLabel",void 0);Y([(0,K.property)()],I.prototype,"showMoreLabel",void 0);Y([(0,K.property)()],I.prototype,"expandParametrizedLabel",void 0);Y([(0,K.property)()],I.prototype,"collapseParametrizedLabel",void 0);Y([(0,K.property)()],I.prototype,"expandAllLabel",void 0);Y([(0,K.property)()],I.prototype,"collapseAllLabel",void 0);Y([(0,Ot.jsonProperty)([])],I.prototype,"emptyState",void 0);Y([(0,K.state)()],I.prototype,"nodeToFocus",void 0);Y([(0,K.state)()],I.prototype,"isTreeSelectorCollapsed",void 0);Y([(0,K.state)({hasChanged:Ot.hasChanged})],I.prototype,"userOpenedNodes",void 0);Y([(0,K.state)({hasChanged:Ot.hasChanged})],I.prototype,"userClosedNodes",void 0);(0,za.customElement)("ftds-tree-list")(I);})();
|
|
1381
|
+
/*! Bundled license information:
|
|
1382
|
+
|
|
1383
|
+
lit-html/directives/when.js:
|
|
1384
|
+
(**
|
|
1385
|
+
* @license
|
|
1386
|
+
* Copyright 2021 Google LLC
|
|
1387
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1388
|
+
*)
|
|
1389
|
+
|
|
1390
|
+
lit-html/lit-html.js:
|
|
1391
|
+
(**
|
|
1392
|
+
* @license
|
|
1393
|
+
* Copyright 2017 Google LLC
|
|
1394
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1395
|
+
*)
|
|
1396
|
+
|
|
1397
|
+
lit-html/directives/if-defined.js:
|
|
1398
|
+
(**
|
|
1399
|
+
* @license
|
|
1400
|
+
* Copyright 2018 Google LLC
|
|
1401
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1402
|
+
*)
|
|
1403
|
+
|
|
1404
|
+
lit-html/static.js:
|
|
1405
|
+
(**
|
|
1406
|
+
* @license
|
|
1407
|
+
* Copyright 2020 Google LLC
|
|
1408
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1409
|
+
*)
|
|
1410
|
+
*/
|