@fluid-topics/ft-popover 1.1.115
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 +42 -0
- package/build/ft-popover.light.js +959 -0
- package/build/ft-popover.min.js +1188 -0
- package/build/ftds-popover.d.ts +29 -0
- package/build/ftds-popover.js +169 -0
- package/build/ftds-popover.properties.d.ts +8 -0
- package/build/ftds-popover.properties.js +1 -0
- package/build/ftds-popover.styles.d.ts +1 -0
- package/build/ftds-popover.styles.js +83 -0
- package/build/index.d.ts +3 -0
- package/build/index.js +6 -0
- package/package.json +31 -0
|
@@ -0,0 +1,959 @@
|
|
|
1
|
+
"use strict";(()=>{var En=Object.create;var no=Object.defineProperty;var wn=Object.getOwnPropertyDescriptor;var Rn=Object.getOwnPropertyNames;var Ln=Object.getPrototypeOf,An=Object.prototype.hasOwnProperty;var te=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var $n=(e,o,n,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let l of Rn(o))!An.call(e,l)&&l!==n&&no(e,l,{get:()=>o[l],enumerable:!(a=wn(o,l))||a.enumerable});return e};var h=(e,o,n)=>(n=e!=null?En(Ln(e)):{},$n(o||!e||!e.__esModule?no(n,"default",{value:e,enumerable:!0}):n,e));var w=te((aa,ao)=>{ao.exports=ftGlobals.wcUtils});var k=te((ia,io)=>{io.exports=ftGlobals.lit});var dt=te((la,lo)=>{lo.exports=ftGlobals.litDecorators});var Se=te((up,Ar)=>{Ar.exports=ftGlobals.litClassMap});var cn=te((Qp,ln)=>{ln.exports=ftGlobals.litUnsafeHTML});var Cn=h(w());var Rt=h(k()),et=h(dt()),Pe=h(w());var ur=h(w());var _e=globalThis,ye=_e.trustedTypes,co=ye?ye.createPolicy("lit-html",{createHTML:e=>e}):void 0,mo="$lit$",St=`lit$${(Math.random()+"").slice(9)}$`,yo="?"+St,Wn=`<${yo}>`,$t=document,he=()=>$t.createComment(""),oe=e=>e===null||typeof e!="object"&&typeof e!="function",ho=Array.isArray,Pn=e=>ho(e)||typeof e?.[Symbol.iterator]=="function",Ie=`[
|
|
2
|
+
\f\r]`,ee=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,po=/-->/g,so=/>/g,Lt=RegExp(`>|${Ie}(?:([^\\s"'>=/]+)(${Ie}*=${Ie}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),fo=/'/g,uo=/"/g,bo=/^(?:script|style|textarea|title)$/i,xo=e=>(o,...n)=>({_$litType$:e,strings:o,values:n}),Oo=xo(1),So=xo(2),re=Symbol.for("lit-noChange"),T=Symbol.for("lit-nothing"),go=new WeakMap,At=$t.createTreeWalker($t,129);function Co(e,o){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return co!==void 0?co.createHTML(o):o}var In=(e,o)=>{let n=e.length-1,a=[],l,p=o===2?"<svg>":"",c=ee;for(let s=0;s<n;s++){let d=e[s],m,x,y=-1,v=0;for(;v<d.length&&(c.lastIndex=v,x=c.exec(d),x!==null);)v=c.lastIndex,c===ee?x[1]==="!--"?c=po:x[1]!==void 0?c=so:x[2]!==void 0?(bo.test(x[2])&&(l=RegExp("</"+x[2],"g")),c=Lt):x[3]!==void 0&&(c=Lt):c===Lt?x[0]===">"?(c=l??ee,y=-1):x[1]===void 0?y=-2:(y=c.lastIndex-x[2].length,m=x[1],c=x[3]===void 0?Lt:x[3]==='"'?uo:fo):c===uo||c===fo?c=Lt:c===po||c===so?c=ee:(c=Lt,l=void 0);let S=c===Lt&&e[s+1].startsWith("/>")?" ":"";p+=c===ee?d+Wn:y>=0?(a.push(m),d.slice(0,y)+mo+d.slice(y)+St+S):d+St+(y===-2?s:S)}return[Co(e,p+(e[n]||"<?>")+(o===2?"</svg>":"")),a]},ne=class e{constructor({strings:o,_$litType$:n},a){let l;this.parts=[];let p=0,c=0,s=o.length-1,d=this.parts,[m,x]=In(o,n);if(this.el=e.createElement(m,a),At.currentNode=this.el.content,n===2){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(l=At.nextNode())!==null&&d.length<s;){if(l.nodeType===1){if(l.hasAttributes())for(let y of l.getAttributeNames())if(y.endsWith(mo)){let v=x[c++],S=l.getAttribute(y).split(St),E=/([.?@])?(.*)/.exec(v);d.push({type:1,index:p,name:E[2],strings:S,ctor:E[1]==="."?ze:E[1]==="?"?Te:E[1]==="@"?He:Ht}),l.removeAttribute(y)}else y.startsWith(St)&&(d.push({type:6,index:p}),l.removeAttribute(y));if(bo.test(l.tagName)){let y=l.textContent.split(St),v=y.length-1;if(v>0){l.textContent=ye?ye.emptyScript:"";for(let S=0;S<v;S++)l.append(y[S],he()),At.nextNode(),d.push({type:2,index:++p});l.append(y[v],he())}}}else if(l.nodeType===8)if(l.data===yo)d.push({type:2,index:p});else{let y=-1;for(;(y=l.data.indexOf(St,y+1))!==-1;)d.push({type:7,index:p}),y+=St.length-1}p++}}static createElement(o,n){let a=$t.createElement("template");return a.innerHTML=o,a}};function Tt(e,o,n=e,a){if(o===re)return o;let l=a!==void 0?n._$Co?.[a]:n._$Cl,p=oe(o)?void 0:o._$litDirective$;return l?.constructor!==p&&(l?._$AO?.(!1),p===void 0?l=void 0:(l=new p(e),l._$AT(e,n,a)),a!==void 0?(n._$Co??=[])[a]=l:n._$Cl=l),l!==void 0&&(o=Tt(e,l._$AS(e,o.values),l,a)),o}var Be=class{constructor(o,n){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=n}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){let{el:{content:n},parts:a}=this._$AD,l=(o?.creationScope??$t).importNode(n,!0);At.currentNode=l;let p=At.nextNode(),c=0,s=0,d=a[0];for(;d!==void 0;){if(c===d.index){let m;d.type===2?m=new be(p,p.nextSibling,this,o):d.type===1?m=new d.ctor(p,d.name,d.strings,this,o):d.type===6&&(m=new ke(p,this,o)),this._$AV.push(m),d=a[++s]}c!==d?.index&&(p=At.nextNode(),c++)}return At.currentNode=$t,l}p(o){let n=0;for(let a of this._$AV)a!==void 0&&(a.strings!==void 0?(a._$AI(o,a,n),n+=a.strings.length-2):a._$AI(o[n])),n++}},be=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,n,a,l){this.type=2,this._$AH=T,this._$AN=void 0,this._$AA=o,this._$AB=n,this._$AM=a,this.options=l,this._$Cv=l?.isConnected??!0}get parentNode(){let o=this._$AA.parentNode,n=this._$AM;return n!==void 0&&o?.nodeType===11&&(o=n.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,n=this){o=Tt(this,o,n),oe(o)?o===T||o==null||o===""?(this._$AH!==T&&this._$AR(),this._$AH=T):o!==this._$AH&&o!==re&&this._(o):o._$litType$!==void 0?this.g(o):o.nodeType!==void 0?this.$(o):Pn(o)?this.T(o):this._(o)}k(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}$(o){this._$AH!==o&&(this._$AR(),this._$AH=this.k(o))}_(o){this._$AH!==T&&oe(this._$AH)?this._$AA.nextSibling.data=o:this.$($t.createTextNode(o)),this._$AH=o}g(o){let{values:n,_$litType$:a}=o,l=typeof a=="number"?this._$AC(o):(a.el===void 0&&(a.el=ne.createElement(Co(a.h,a.h[0]),this.options)),a);if(this._$AH?._$AD===l)this._$AH.p(n);else{let p=new Be(l,this),c=p.u(this.options);p.p(n),this.$(c),this._$AH=p}}_$AC(o){let n=go.get(o.strings);return n===void 0&&go.set(o.strings,n=new ne(o)),n}T(o){ho(this._$AH)||(this._$AH=[],this._$AR());let n=this._$AH,a,l=0;for(let p of o)l===n.length?n.push(a=new e(this.k(he()),this.k(he()),this,this.options)):a=n[l],a._$AI(p),l++;l<n.length&&(this._$AR(a&&a._$AB.nextSibling,l),n.length=l)}_$AR(o=this._$AA.nextSibling,n){for(this._$AP?.(!1,!0,n);o&&o!==this._$AB;){let a=o.nextSibling;o.remove(),o=a}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},Ht=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,n,a,l,p){this.type=1,this._$AH=T,this._$AN=void 0,this.element=o,this.name=n,this._$AM=l,this.options=p,a.length>2||a[0]!==""||a[1]!==""?(this._$AH=Array(a.length-1).fill(new String),this.strings=a):this._$AH=T}_$AI(o,n=this,a,l){let p=this.strings,c=!1;if(p===void 0)o=Tt(this,o,n,0),c=!oe(o)||o!==this._$AH&&o!==re,c&&(this._$AH=o);else{let s=o,d,m;for(o=p[0],d=0;d<p.length-1;d++)m=Tt(this,s[a+d],n,d),m===re&&(m=this._$AH[d]),c||=!oe(m)||m!==this._$AH[d],m===T?o=T:o!==T&&(o+=(m??"")+p[d+1]),this._$AH[d]=m}c&&!l&&this.O(o)}O(o){o===T?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},ze=class extends Ht{constructor(){super(...arguments),this.type=3}O(o){this.element[this.name]=o===T?void 0:o}},Te=class extends Ht{constructor(){super(...arguments),this.type=4}O(o){this.element.toggleAttribute(this.name,!!o&&o!==T)}},He=class extends Ht{constructor(o,n,a,l,p){super(o,n,a,l,p),this.type=5}_$AI(o,n=this){if((o=Tt(this,o,n,0)??T)===re)return;let a=this._$AH,l=o===T&&a!==T||o.capture!==a.capture||o.once!==a.once||o.passive!==a.passive,p=o!==T&&(a===T||l);l&&this.element.removeEventListener(this.name,this,a),p&&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)}},ke=class{constructor(o,n,a){this.element=o,this.type=6,this._$AN=void 0,this._$AM=n,this.options=a}get _$AU(){return this._$AM._$AU}_$AI(o){Tt(this,o)}};var Bn=_e.litHtmlPolyfillSupport;Bn?.(ne,be),(_e.litHtmlVersions??=[]).push("3.1.0");var No=Symbol.for(""),zn=e=>{if(e?.r===No)return e?._$litStatic$},Ue=e=>({_$litStatic$:e,r:No});var vo=new Map,Eo=e=>(o,...n)=>{let a=n.length,l,p,c=[],s=[],d,m=0,x=!1;for(;m<a;){for(d=o[m];m<a&&(p=n[m],(l=zn(p))!==void 0);)d+=l+o[++m],x=!0;m!==a&&s.push(p),c.push(d),m++}if(m===a&&c.push(o[a]),x){let y=c.join("$$lit$$");(o=vo.get(y))===void 0&&(c.raw=c,vo.set(y,o=c)),n=s}return e(o,...n)},De=Eo(Oo),sa=Eo(So);var Ge=h(dt()),fr=h(w());var Ct;(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"})(Ct||(Ct={}));var Q=h(k()),g=h(w());var ft=h(k(),1),vt=e=>typeof e=="string"?(0,ft.unsafeCSS)(e):e,t=class{static create(o,n,a,l){let p=s=>vt(s??l),c=ft.css`var(${vt(o)}, ${p(l)})`;return c.name=o,c.description=n,c.category=a,c.defaultValue=l,c.defaultCssValue=p,c.get=s=>ft.css`var(${vt(o)}, ${p(s)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>l,c}static extend(o,n,a,l){let p=s=>a.get(s??l),c=ft.css`var(${vt(o)}, ${p(l)})`;return c.name=o,c.description=n,c.category=a.category,c.fallbackVariable=a,c.defaultValue=l,c.defaultCssValue=p,c.get=s=>ft.css`var(${vt(o)}, ${p(s)})`,c.breadcrumb=()=>[a.name,...a.breadcrumb()],c.lastResortDefaultValue=()=>l??a.lastResortDefaultValue(),c}static external(o,n){let a=p=>o.fallbackVariable?o.fallbackVariable.get(p??o.defaultValue):vt(p??o.lastResortDefaultValue()),l=ft.css`var(${vt(o.name)}, ${a(o.defaultValue)})`;return l.name=o.name,l.category=o.category,l.fallbackVariable=o.fallbackVariable,l.defaultValue=o.defaultValue,l.context=n,l.defaultCssValue=a,l.get=p=>ft.css`var(${vt(o.name)}, ${a(p)})`,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(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:t.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:t.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:t.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:t.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:t.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:t.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:t.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:t.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:t.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:t.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:t.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:t.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:t.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:t.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},wo={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},Ro={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Lo={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Ao={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},$o={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Wo={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Po={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Io={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Bo={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Tn={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},zo={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},To={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")},Ho={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")},ko={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")},_o={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")},Uo={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")},Do={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")},Go={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Zo={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ko={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Mo={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Fo={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Vo={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},jo={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Yo={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Xo={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},xe={display:wo,"title-1":Ro,"title-2":Lo,"title-3":Ao,"body-1-regular":$o,"body-1-medium":Wo,"body-1-semibold":Po,"body-2-regular":Io,"body-2-medium":Bo,"body-2-medium-underline":Tn,"body-2-semibold":zo,"label-1-medium":To,"label-1-semibold":Ho,"label-1-bold":ko,"label-2-medium":_o,"label-2-semibold":Uo,"label-2-bold":Do,"caption-1-medium":Go,"caption-1-semibold":Zo,"caption-1-bold":Ko,"caption-2-medium":Mo,"caption-2-semibold":Fo,"caption-2-bold":Vo,"caption-3-medium":jo,"caption-3-semibold":Yo,"caption-3-bold":Xo};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)};var f={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),primaryBackgroundColor:t.extend("--ft-button-primary-background-color","",i.backgroundActionPrimary),primaryColor:t.extend("--ft-button-primary-color","",i.contentGlobalOnColor),primaryIconColor:t.extend("--ft-button-primary-icon-color","",i.contentGlobalOnColor),primaryStateLayerColor:t.extend("--ft-button-primary-state-layer-color","",i.contentGlobalOnColor),primaryHoverStateLayerOpacity:t.extend("--ft-button-primary-hover-state-layer-opacity","",r.opacity16),primaryFocusStateLayerOpacity:t.extend("--ft-button-primary-focus-state-layer-opacity","",r.opacity16),primaryActiveStateLayerOpacity:t.extend("--ft-button-primary-active-state-layer-opacity","",r.opacity24),primaryDisabledComponentOpacity:t.extend("--ft-button-primary-disabled-component-opacity","",r.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",i.borderActionFocusRing),tertiaryBackgroundColor:t.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:t.extend("--ft-button-tertiary-color","",i.contentActionPrimary),tertiaryIconColor:t.extend("--ft-button-tertiary-icon-color","",i.contentActionPrimary),tertiaryStateLayerColor:t.extend("--ft-button-tertiary-state-layer-color","",i.contentActionPrimary),tertiaryHoverStateLayerOpacity:t.extend("--ft-button-tertiary-hover-state-layer-opacity","",r.opacity8),tertiaryFocusStateLayerOpacity:t.extend("--ft-button-tertiary-focus-state-layer-opacity","",r.opacity8),tertiaryActiveStateLayerOpacity:t.extend("--ft-button-tertiary-active-state-layer-opacity","",r.opacity16),tertiaryDisabledComponentOpacity:t.extend("--ft-button-tertiary-disabled-component-opacity","",r.opacity40),secondaryBackgroundColor:t.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:t.extend("--ft-button-secondary-color","",i.contentActionPrimary),secondaryIconColor:t.extend("--ft-button-secondary-icon-color","",i.contentActionPrimary),secondaryStateLayerColor:t.extend("--ft-button-secondary-state-layer-color","",i.contentActionPrimary),secondaryHoverStateLayerOpacity:t.extend("--ft-button-secondary-hover-state-layer-opacity","",r.opacity8),secondaryFocusStateLayerOpacity:t.extend("--ft-button-secondary-focus-state-layer-opacity","",r.opacity8),secondaryActiveStateLayerOpacity:t.extend("--ft-button-secondary-active-state-layer-opacity","",r.opacity16),secondaryDisabledComponentOpacity:t.extend("--ft-button-secondary-disabled-component-opacity","",r.opacity40),secondaryBorderColor:t.extend("--ft-button-secondary-border-color","",i.borderActionPrimary),neutralBackgroundColor:t.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:t.extend("--ft-button-neutral-icon-color","",i.contentGlobalSecondary),neutralColor:t.extend("--ft-button-neutral-color","",i.contentGlobalSecondary),neutralStateLayerColor:t.extend("--ft-button-neutral-state-layer-color","",i.contentGlobalSecondary),neutralHoverStateLayerOpacity:t.extend("--ft-button-neutral-hover-state-layer-opacity","",r.opacity8),neutralFocusStateLayerOpacity:t.extend("--ft-button-neutral-focus-state-layer-opacity","",r.opacity8),neutralActiveStateLayerOpacity:t.extend("--ft-button-neutral-active-state-layer-opacity","",r.opacity16),neutralDisabledComponentOpacity:t.extend("--ft-button-neutral-disabled-component-opacity","",r.opacity40)};var La={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 Ia={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 ka={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)};var Za={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 ja={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 Qa={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",r.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",r.spacing2),currentColor:t.extend("--ft-breadcrumb-current-color","",i.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-breadcrumb-previous-non-clickable-color","",i.contentGlobalSecondary),iconColor:t.extend("--ft-breadcrumb-icon-color","",i.contentGlobalSubtle)};var ni={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",r.spacing6),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",r.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",r.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",r.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",r.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",r.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",r.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",i.borderGlobalSubtle),titleColor:t.extend("--ft-page-header-title-color","",i.contentGlobalPrimary),subtitleColor:t.extend("--ft-page-header-subtitle-color","",i.contentGlobalSecondary)};var pi={smallContainerWidth:t.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:t.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",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),containerMargin:t.extend("--ft-modal-container-margin","",r.spacing3),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),headerTrailingIconColor:t.extend("--ft-modal-header-trailing-icon-color","",i.contentGlobalSecondary),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),headerBorderBottom:t.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",r.borderRadiusM)};var gi={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 xi={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 Ni={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",r.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",r.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",r.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",r.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),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.borderRadiusM),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),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 Ai={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.borderRadiusM)};var Bi={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 _i={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",r.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",r.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",r.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",r.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),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.borderRadiusM),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 Ki={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.borderRadiusM)};var J={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),linkColor:t.extend("--ft-popover-link-color","",i.contentActionPrimary),gap:t.extend("--ft-popover-gap","",r.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",r.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",r.shadowElevation02)};var Qi={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 nl={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 cl={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)};var ul={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)};var bl={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"),gap:t.extend("--ft-checkbox-gap","",r.spacing3)};var vl={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 Ll={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 Il={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 kl={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 Nt;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Nt||(Nt={}));var at;(function(e){e.large="large",e.medium="medium",e.small="small"})(at||(at={}));var Oe=h(k());function qo(e){let o=xe[e];return Oe.css`
|
|
5
|
+
.ft-typography--${(0,Oe.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 Jo=g.FtCssVariableFactory.extend("--ft-typography-font-family","",g.designSystemVariables.titleFont),ut=g.FtCssVariableFactory.extend("--ft-typography-font-family","",g.designSystemVariables.contentFont),b={fontFamily:ut,fontSize:g.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:g.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:g.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:g.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:g.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},kt={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Jo),fontSize:g.FtCssVariableFactory.extend("--ft-typography-title-font-size","",b.fontSize,"20px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",b.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",b.letterSpacing,"0.15px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-title-line-height","",b.lineHeight,"1.2"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",b.textTransform,"inherit")},_t={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Jo),fontSize:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",b.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",b.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",b.letterSpacing,"0.105px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",b.lineHeight,"1.7"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",b.textTransform,"inherit")},Ut={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ut),fontSize:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",b.fontSize,"16px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",b.fontWeight,"600"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",b.letterSpacing,"0.144px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",b.lineHeight,"1.5"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",b.textTransform,"inherit")},Dt={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ut),fontSize:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",b.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",b.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",b.letterSpacing,"0.098px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",b.lineHeight,"1.7"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",b.textTransform,"inherit")},Gt={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ut),fontSize:g.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",b.fontSize,"16px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",b.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",b.letterSpacing,"0.496px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",b.lineHeight,"1.5"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",b.textTransform,"inherit")},Zt={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ut),fontSize:g.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",b.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",b.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",b.letterSpacing,"0.252px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",b.lineHeight,"1.4"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",b.textTransform,"inherit")},Kt={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ut),fontSize:g.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",b.fontSize,"12px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",b.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",b.letterSpacing,"0.396px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",b.lineHeight,"1.33"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",b.textTransform,"inherit")},Mt={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ut),fontSize:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",b.fontSize,"10px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",b.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",b.letterSpacing,"0.33px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",b.lineHeight,"1.6"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",b.textTransform,"inherit")},Ft={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ut),fontSize:g.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",b.fontSize,"10px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",b.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",b.letterSpacing,"1.5px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",b.lineHeight,"1.6"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",b.textTransform,"uppercase")},it={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ut),fontSize:g.FtCssVariableFactory.extend("--ft-typography-button-font-size","",b.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",b.fontWeight,"600"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",b.letterSpacing,"1.246px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-button-line-height","",b.lineHeight,"1.15"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",b.textTransform,"uppercase")},Qo=Q.css`
|
|
14
|
+
.ft-typography--title {
|
|
15
|
+
font-family: ${kt.fontFamily};
|
|
16
|
+
font-size: ${kt.fontSize};
|
|
17
|
+
font-weight: ${kt.fontWeight};
|
|
18
|
+
letter-spacing: ${kt.letterSpacing};
|
|
19
|
+
line-height: ${kt.lineHeight};
|
|
20
|
+
text-transform: ${kt.textTransform};
|
|
21
|
+
}
|
|
22
|
+
`,tr=Q.css`
|
|
23
|
+
.ft-typography--title-dense {
|
|
24
|
+
font-family: ${_t.fontFamily};
|
|
25
|
+
font-size: ${_t.fontSize};
|
|
26
|
+
font-weight: ${_t.fontWeight};
|
|
27
|
+
letter-spacing: ${_t.letterSpacing};
|
|
28
|
+
line-height: ${_t.lineHeight};
|
|
29
|
+
text-transform: ${_t.textTransform};
|
|
30
|
+
}
|
|
31
|
+
`,er=Q.css`
|
|
32
|
+
.ft-typography--subtitle1 {
|
|
33
|
+
font-family: ${Ut.fontFamily};
|
|
34
|
+
font-size: ${Ut.fontSize};
|
|
35
|
+
font-weight: ${Ut.fontWeight};
|
|
36
|
+
letter-spacing: ${Ut.letterSpacing};
|
|
37
|
+
line-height: ${Ut.lineHeight};
|
|
38
|
+
text-transform: ${Ut.textTransform};
|
|
39
|
+
}
|
|
40
|
+
`,or=Q.css`
|
|
41
|
+
.ft-typography--subtitle2 {
|
|
42
|
+
font-family: ${Dt.fontFamily};
|
|
43
|
+
font-size: ${Dt.fontSize};
|
|
44
|
+
font-weight: ${Dt.fontWeight};
|
|
45
|
+
letter-spacing: ${Dt.letterSpacing};
|
|
46
|
+
line-height: ${Dt.lineHeight};
|
|
47
|
+
text-transform: ${Dt.textTransform};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
`,rr=Q.css`
|
|
51
|
+
.ft-typography--body1 {
|
|
52
|
+
font-family: ${Gt.fontFamily};
|
|
53
|
+
font-size: ${Gt.fontSize};
|
|
54
|
+
font-weight: ${Gt.fontWeight};
|
|
55
|
+
letter-spacing: ${Gt.letterSpacing};
|
|
56
|
+
line-height: ${Gt.lineHeight};
|
|
57
|
+
text-transform: ${Gt.textTransform};
|
|
58
|
+
}
|
|
59
|
+
`,nr=Q.css`
|
|
60
|
+
.ft-typography--body2 {
|
|
61
|
+
font-family: ${Zt.fontFamily};
|
|
62
|
+
font-size: ${Zt.fontSize};
|
|
63
|
+
font-weight: ${Zt.fontWeight};
|
|
64
|
+
letter-spacing: ${Zt.letterSpacing};
|
|
65
|
+
line-height: ${Zt.lineHeight};
|
|
66
|
+
text-transform: ${Zt.textTransform};
|
|
67
|
+
}
|
|
68
|
+
`,ar=Q.css`
|
|
69
|
+
.ft-typography--caption {
|
|
70
|
+
font-family: ${Kt.fontFamily};
|
|
71
|
+
font-size: ${Kt.fontSize};
|
|
72
|
+
font-weight: ${Kt.fontWeight};
|
|
73
|
+
letter-spacing: ${Kt.letterSpacing};
|
|
74
|
+
line-height: ${Kt.lineHeight};
|
|
75
|
+
text-transform: ${Kt.textTransform};
|
|
76
|
+
}
|
|
77
|
+
`,ir=Q.css`
|
|
78
|
+
.ft-typography--breadcrumb {
|
|
79
|
+
font-family: ${Mt.fontFamily};
|
|
80
|
+
font-size: ${Mt.fontSize};
|
|
81
|
+
font-weight: ${Mt.fontWeight};
|
|
82
|
+
letter-spacing: ${Mt.letterSpacing};
|
|
83
|
+
line-height: ${Mt.lineHeight};
|
|
84
|
+
text-transform: ${Mt.textTransform};
|
|
85
|
+
}
|
|
86
|
+
`,lr=Q.css`
|
|
87
|
+
.ft-typography--overline {
|
|
88
|
+
font-family: ${Ft.fontFamily};
|
|
89
|
+
font-size: ${Ft.fontSize};
|
|
90
|
+
font-weight: ${Ft.fontWeight};
|
|
91
|
+
letter-spacing: ${Ft.letterSpacing};
|
|
92
|
+
line-height: ${Ft.lineHeight};
|
|
93
|
+
text-transform: ${Ft.textTransform};
|
|
94
|
+
}
|
|
95
|
+
`,cr=Q.css`
|
|
96
|
+
.ft-typography--button {
|
|
97
|
+
font-family: ${it.fontFamily};
|
|
98
|
+
font-size: ${it.fontSize};
|
|
99
|
+
font-weight: ${it.fontWeight};
|
|
100
|
+
letter-spacing: ${it.letterSpacing};
|
|
101
|
+
line-height: ${it.lineHeight};
|
|
102
|
+
text-transform: ${it.textTransform};
|
|
103
|
+
}
|
|
104
|
+
`,pr=Q.css`
|
|
105
|
+
.ft-typography {
|
|
106
|
+
vertical-align: inherit;
|
|
107
|
+
}
|
|
108
|
+
`,sr=[Object.keys(xe).map(e=>qo(e))];var dr=function(e,o,n,a){var l=arguments.length,p=l<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(e,o,n,a);else for(var s=e.length-1;s>=0;s--)(c=e[s])&&(p=(l<3?c(p):l>3?c(o,n,p):c(o,n))||p);return l>3&&p&&Object.defineProperty(o,n,p),p},X=class extends fr.FtLitElement{constructor(){super(...arguments),this.variant=Ct.body1}render(){return this.element?De`
|
|
109
|
+
<${Ue(this.element)}
|
|
110
|
+
part="text"
|
|
111
|
+
class="ft-typography ft-typography--${this.variant}">
|
|
112
|
+
<slot></slot>
|
|
113
|
+
</${Ue(this.element)}>
|
|
114
|
+
`:De`
|
|
115
|
+
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
116
|
+
`}};X.styles=[Qo,tr,er,or,rr,nr,ar,ir,lr,cr,pr,...sr];dr([(0,Ge.property)()],X.prototype,"element",void 0);dr([(0,Ge.property)()],X.prototype,"variant",void 0);(0,ur.customElement)("ft-typography")(X);var to=h(w());var ge=h(dt()),yn=h(w());var Rr=h(k()),O=h(w());var xr=h(k()),P=h(w()),gr=P.FtCssVariableFactory.extend("--ft-ripple-color","",P.designSystemVariables.colorContent),N={color:gr,backgroundColor:P.FtCssVariableFactory.extend("--ft-ripple-background-color","",gr),opacityContentOnSurfacePressed:P.FtCssVariableFactory.external(P.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:P.FtCssVariableFactory.external(P.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:P.FtCssVariableFactory.external(P.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:P.FtCssVariableFactory.external(P.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:P.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},mr=P.FtCssVariableFactory.extend("--ft-ripple-color","",P.designSystemVariables.colorPrimary),yr={color:mr,backgroundColor:P.FtCssVariableFactory.extend("--ft-ripple-background-color","",mr)},hr=P.FtCssVariableFactory.extend("--ft-ripple-color","",P.designSystemVariables.colorSecondary),br={color:hr,backgroundColor:P.FtCssVariableFactory.extend("--ft-ripple-background-color","",hr)},Or=xr.css`
|
|
117
|
+
:host {
|
|
118
|
+
display: contents;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.ft-ripple {
|
|
122
|
+
position: absolute;
|
|
123
|
+
inset: 0;
|
|
124
|
+
pointer-events: none;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
128
|
+
overflow: hidden;
|
|
129
|
+
border-radius: ${N.borderRadius};
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.ft-ripple .ft-ripple--background,
|
|
133
|
+
.ft-ripple .ft-ripple--effect {
|
|
134
|
+
position: absolute;
|
|
135
|
+
opacity: 0;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.ft-ripple .ft-ripple--effect {
|
|
139
|
+
aspect-ratio: 1;
|
|
140
|
+
width: auto;
|
|
141
|
+
height: auto;
|
|
142
|
+
min-width: 170%;
|
|
143
|
+
min-height: 170%;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.ft-ripple .ft-ripple--background{
|
|
147
|
+
width: 100%;
|
|
148
|
+
height: 100%;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
|
|
152
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
153
|
+
aspect-ratio: 1;
|
|
154
|
+
width: auto;
|
|
155
|
+
height: auto;
|
|
156
|
+
max-width: unset;
|
|
157
|
+
max-height: unset;
|
|
158
|
+
min-width: 100%;
|
|
159
|
+
min-height: 100%;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.ft-ripple .ft-ripple--background {
|
|
163
|
+
background-color: ${N.backgroundColor};
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.ft-ripple .ft-ripple--effect {
|
|
167
|
+
background-color: ${N.color};
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
171
|
+
background-color: ${br.backgroundColor};
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
175
|
+
background-color: ${br.color};
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
179
|
+
background-color: ${yr.backgroundColor};
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
183
|
+
background-color: ${yr.color};
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.ft-ripple .ft-ripple--background {
|
|
187
|
+
top: 0;
|
|
188
|
+
left: 0;
|
|
189
|
+
transition: opacity 75ms linear;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.ft-ripple .ft-ripple--effect,
|
|
193
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
194
|
+
border-radius: 50%;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.ft-ripple .ft-ripple--effect {
|
|
198
|
+
transform: translate(-50%, -50%) scale(0.15);
|
|
199
|
+
transition: transform 300ms ease, opacity 75ms linear;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
|
|
203
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
204
|
+
left: 50%;
|
|
205
|
+
top: 50%;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
209
|
+
transform: translate(-50%, -50%);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
213
|
+
opacity: ${N.opacityContentOnSurfaceHover};
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
217
|
+
opacity: ${N.opacityContentOnSurfaceSelected};
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
221
|
+
opacity: ${N.opacityContentOnSurfaceFocused};
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
225
|
+
opacity: ${N.opacityContentOnSurfacePressed};
|
|
226
|
+
transform: translate(-50%, -50%) scale(1);
|
|
227
|
+
}
|
|
228
|
+
`;var Sr=h(k()),ae=h(w()),K={color:ae.FtCssVariableFactory.extend("--ft-loader-color","",ae.designSystemVariables.colorPrimary),size:ae.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Cr=Sr.css`
|
|
229
|
+
:host {
|
|
230
|
+
line-height: 0;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.ft-loader {
|
|
234
|
+
display: inline-block;
|
|
235
|
+
position: relative;
|
|
236
|
+
|
|
237
|
+
width: ${K.size};
|
|
238
|
+
height: ${K.size};
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.ft-loader div {
|
|
242
|
+
position: absolute;
|
|
243
|
+
top: 37.5%;
|
|
244
|
+
width: 25%;
|
|
245
|
+
height: 25%;
|
|
246
|
+
border-radius: 50%;
|
|
247
|
+
background: ${K.color};
|
|
248
|
+
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.ft-loader div:nth-child(1) {
|
|
252
|
+
left: 2.5%;
|
|
253
|
+
animation: appear 0.6s infinite;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.ft-loader div:nth-child(2) {
|
|
257
|
+
left: 2.5%;
|
|
258
|
+
animation: move 0.6s infinite;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.ft-loader div:nth-child(3) {
|
|
262
|
+
left: 37.5%;
|
|
263
|
+
animation: move 0.6s infinite;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.ft-loader div:nth-child(4) {
|
|
267
|
+
left: 72.5%;
|
|
268
|
+
animation: disappear 0.6s infinite;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
@keyframes appear {
|
|
272
|
+
0% {
|
|
273
|
+
transform: scale(0);
|
|
274
|
+
}
|
|
275
|
+
100% {
|
|
276
|
+
transform: scale(1);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
@keyframes disappear {
|
|
281
|
+
0% {
|
|
282
|
+
transform: scale(1);
|
|
283
|
+
}
|
|
284
|
+
100% {
|
|
285
|
+
transform: scale(0);
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
@keyframes move {
|
|
290
|
+
0% {
|
|
291
|
+
transform: translate(0, 0);
|
|
292
|
+
}
|
|
293
|
+
100% {
|
|
294
|
+
transform: translate(calc(0.35 * ${K.size}), 0);
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
`;var vr=h(k()),gt=h(w()),M={size:gt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:gt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",gt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:gt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",gt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:gt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",gt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:gt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Nr=vr.css`
|
|
298
|
+
:host, i.ft-icon {
|
|
299
|
+
display: inline-flex;
|
|
300
|
+
align-items: center;
|
|
301
|
+
flex-shrink: 0;
|
|
302
|
+
flex-grow: 0;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
:host {
|
|
306
|
+
width: ${M.size};
|
|
307
|
+
height: ${M.size};
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
i.ft-icon {
|
|
311
|
+
width: 100%;
|
|
312
|
+
height: 100%;
|
|
313
|
+
font-size: ${M.size};
|
|
314
|
+
line-height: 1;
|
|
315
|
+
font-weight: normal;
|
|
316
|
+
text-transform: none;
|
|
317
|
+
font-style: normal;
|
|
318
|
+
font-variant: normal;
|
|
319
|
+
speak: none;
|
|
320
|
+
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
|
|
321
|
+
text-rendering: auto;
|
|
322
|
+
-webkit-font-smoothing: antialiased;
|
|
323
|
+
-moz-osx-font-smoothing: grayscale;
|
|
324
|
+
vertical-align: ${M.verticalAlign};
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
i.ft-icon.ft-icon--fluid-topics {
|
|
328
|
+
font-family: ${M.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
329
|
+
|
|
330
|
+
/* Ugly fix because font is broken */
|
|
331
|
+
font-size: calc(0.75 * ${M.size});
|
|
332
|
+
line-height: ${M.size};
|
|
333
|
+
position: relative;
|
|
334
|
+
top: -4%;
|
|
335
|
+
justify-content: center;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.ft-icon--file-format {
|
|
339
|
+
font-family: ${M.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.ft-icon--material {
|
|
343
|
+
font-family: ${M.materialFontFamily}, "Material Icons", sans-serif;
|
|
344
|
+
}
|
|
345
|
+
`;var Er=O.FtCssVariableFactory.extend("--ft-button-color","",O.designSystemVariables.colorPrimary),H={backgroundColor:O.FtCssVariableFactory.extend("--ft-button-background-color","",O.designSystemVariables.colorSurface),borderRadius:O.FtCssVariableFactory.extend("--ft-button-border-radius","",O.designSystemVariables.borderRadiusL),color:Er,fontSize:O.FtCssVariableFactory.extend("--ft-button-font-size","",it.fontSize),iconSize:O.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:O.FtCssVariableFactory.extend("--ft-button-ripple-color","",Er),verticalPadding:O.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:O.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:O.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:O.FtCssVariableFactory.external(O.designSystemVariables.colorOpacityDisabled,"Design system")},wr=O.FtCssVariableFactory.extend("--ft-button-primary-color","",O.FtCssVariableFactory.extend("--ft-button-color","",O.designSystemVariables.colorOnPrimary)),Ze={backgroundColor:O.FtCssVariableFactory.extend("--ft-button-primary-background-color","",O.FtCssVariableFactory.extend("--ft-button-background-color","",O.designSystemVariables.colorPrimary)),color:wr,rippleColor:O.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",wr)},lt={borderRadius:O.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",O.FtCssVariableFactory.extend("--ft-button-border-radius","",O.designSystemVariables.borderRadiusM)),verticalPadding:O.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:O.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:O.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Lr=[Rr.css`
|
|
346
|
+
:host {
|
|
347
|
+
display: inline-block;
|
|
348
|
+
max-width: 100%;
|
|
349
|
+
pointer-events: none;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
button {
|
|
353
|
+
box-shadow: 0px 0px 0px transparent;
|
|
354
|
+
border: 0px solid transparent;
|
|
355
|
+
text-shadow: 0px 0px 0px transparent;
|
|
356
|
+
font-size: ${H.fontSize};
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
button:hover {
|
|
360
|
+
box-shadow: 0px 0px 0px transparent;
|
|
361
|
+
border: 0px solid transparent;
|
|
362
|
+
text-shadow: 0px 0px 0px transparent;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
button:active {
|
|
366
|
+
outline: none;
|
|
367
|
+
border: none;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
button:focus {
|
|
371
|
+
outline: 0;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.ft-button {
|
|
375
|
+
position: relative;
|
|
376
|
+
display: flex;
|
|
377
|
+
justify-content: center;
|
|
378
|
+
align-items: center;
|
|
379
|
+
width: 100%;
|
|
380
|
+
overflow: hidden;
|
|
381
|
+
box-sizing: border-box;
|
|
382
|
+
border: none;
|
|
383
|
+
pointer-events: auto;
|
|
384
|
+
|
|
385
|
+
--ft-button-internal-line-height: max(calc(${H.fontSize} + 2px), ${H.iconSize});
|
|
386
|
+
--ft-button-internal-color: ${H.color};
|
|
387
|
+
${(0,O.setVariable)(M.size,H.iconSize)};
|
|
388
|
+
${(0,O.setVariable)(N.color,H.rippleColor)};
|
|
389
|
+
|
|
390
|
+
border-radius: ${H.borderRadius};
|
|
391
|
+
padding: ${H.verticalPadding} ${H.horizontalPadding};
|
|
392
|
+
background-color: ${H.backgroundColor};
|
|
393
|
+
color: var(--ft-button-internal-color);
|
|
394
|
+
-webkit-mask-image: radial-gradient(white, black);
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.ft-button.ft-button--outlined {
|
|
398
|
+
border: 1px solid var(--ft-button-internal-color);
|
|
399
|
+
padding: calc(${H.verticalPadding} - 1px) calc(${H.horizontalPadding} - 1px);
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.ft-button.ft-button--dense {
|
|
403
|
+
padding: ${lt.verticalPadding} ${lt.horizontalPadding};
|
|
404
|
+
border-radius: ${lt.borderRadius};
|
|
405
|
+
gap: ${lt.iconPadding};
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.ft-button.ft-button--dense.ft-button--outlined {
|
|
409
|
+
padding: calc(${lt.verticalPadding} - 1px) calc(${lt.horizontalPadding} - 1px);
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.ft-button:not([disabled]):hover {
|
|
413
|
+
cursor: pointer;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.ft-button--round {
|
|
417
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${H.verticalPadding});
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.ft-button--round.ft-button--dense {
|
|
421
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${lt.verticalPadding});
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.ft-button[disabled] {
|
|
425
|
+
filter: grayscale(1);
|
|
426
|
+
opacity: ${H.opacityDisabled};
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.ft-button.ft-button--primary {
|
|
430
|
+
background-color: ${Ze.backgroundColor};
|
|
431
|
+
--ft-button-internal-color: ${Ze.color};
|
|
432
|
+
${(0,O.setVariable)(N.color,Ze.rippleColor)};
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.ft-button:focus {
|
|
436
|
+
outline: none;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.ft-button--label {
|
|
440
|
+
position: relative;
|
|
441
|
+
overflow: hidden;
|
|
442
|
+
white-space: nowrap;
|
|
443
|
+
text-overflow: ellipsis;
|
|
444
|
+
display: block;
|
|
445
|
+
margin: 0 ${H.iconPadding};
|
|
446
|
+
${(0,O.setVariable)(it.fontSize,"1em")};
|
|
447
|
+
${(0,O.setVariable)(it.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.ft-button--dense .ft-button--label {
|
|
451
|
+
margin: 0 ${lt.iconPadding};
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
.ft-button--label[hidden] {
|
|
455
|
+
display: none;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
[part="icon"] {
|
|
459
|
+
flex-shrink: 0;
|
|
460
|
+
position: relative;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.ft-button--label[hidden] + [part="icon"] {
|
|
464
|
+
margin: 0 calc(${H.horizontalPadding} * -1);
|
|
465
|
+
padding: 0 ${H.verticalPadding};
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
469
|
+
margin: 0 calc(${lt.horizontalPadding} * -1);
|
|
470
|
+
padding: 0 ${lt.verticalPadding};
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
474
|
+
order: 2;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
ft-loader {
|
|
478
|
+
${(0,O.setVariable)(K.size,H.iconSize)};
|
|
479
|
+
${(0,O.setVariable)(K.color,"var(--ft-button-internal-color)")};
|
|
480
|
+
}
|
|
481
|
+
`,O.noTextSelect];var Jt=h(w());var Pr=h(w());var $r=h(k()),_=h(dt()),Wr=h(Se()),ie=h(w());var F=function(e,o,n,a){var l=arguments.length,p=l<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(e,o,n,a);else for(var s=e.length-1;s>=0;s--)(c=e[s])&&(p=(l<3?c(p):l>3?c(o,n,p):c(o,n))||p);return l>3&&p&&Object.defineProperty(o,n,p),p},R=class extends ie.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 ie.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 ie.Debouncer(10),this.moveRipple=o=>{var n,a;let{x:l,y:p}=this.getCoordinates(o),c=(a=(n=this.ripple)===null||n===void 0?void 0:n.getBoundingClientRect())!==null&&a!==void 0?a:{x:0,y:0,width:0,height:0};this.originX=Math.round(l!=null?l-c.x:c.width/2),this.originY=Math.round(p!=null?p-c.y:c.height/2)},this.startPress=o=>{this.moveRipple(o),this.pressed=!this.isIgnored(o)},this.endPress=()=>{this.pressed=!1},this.startHover=o=>{this.hovered=!this.isIgnored(o)},this.endHover=()=>{this.hovered=!1},this.startFocus=o=>{this.focused=this.isFocusVisible(o?.target)&&!this.isIgnored(o)},this.endFocus=()=>{this.focused=!1}}render(){let o={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return $r.html`
|
|
482
|
+
<style>
|
|
483
|
+
.ft-ripple .ft-ripple--effect {
|
|
484
|
+
left: ${this.originX}px;
|
|
485
|
+
top: ${this.originY}px;
|
|
486
|
+
}
|
|
487
|
+
</style>
|
|
488
|
+
<div class="${(0,Wr.classMap)(o)}">
|
|
489
|
+
<div class="ft-ripple--background"></div>
|
|
490
|
+
<div class="ft-ripple--effect"></div>
|
|
491
|
+
</div>
|
|
492
|
+
`}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 n,a;super.update(o),o.has("disabled")&&(this.disabled?(this.endRipple(),(n=this.target)===null||n===void 0||n.removeAttribute("data-is-ft-ripple-target")):(a=this.target)===null||a===void 0||a.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var o,n;let a=(o=this.shadowRoot)===null||o===void 0?void 0:o.host.parentElement;a&&this.setupFor((n=this.target)!==null&&n!==void 0?n:a)}setupFor(o){if(this.setupDebouncer.cancel(),this.target===o)return;this.onDisconnect&&this.onDisconnect(),this.target=o,o.setAttribute("data-is-ft-ripple-target","true");let n=(...s)=>d=>{s.forEach(m=>window.addEventListener(m,this.endPress,{once:!0})),this.startPress(d)},a=n("mouseup","contextmenu"),l=n("touchend","touchcancel"),p=s=>{["Enter"," "].includes(s.key)&&n("keyup")(s)},c={passive:!0};o.addEventListener("mouseover",this.startHover,c),o.addEventListener("mousemove",this.moveRipple,c),o.addEventListener("mouseleave",this.endHover,c),o.addEventListener("mousedown",a,c),o.addEventListener("touchstart",l,c),o.addEventListener("touchmove",this.moveRipple,c),o.addEventListener("keydown",p,c),o.addEventListener("focus",this.startFocus,c),o.addEventListener("blur",this.endFocus,c),o.addEventListener("focusin",this.startFocus,c),o.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{o.removeAttribute("data-is-ft-ripple-target"),o.removeEventListener("mouseover",this.startHover,c),o.removeEventListener("mousemove",this.moveRipple,c),o.removeEventListener("mouseleave",this.endHover,c),o.removeEventListener("mousedown",a,c),o.removeEventListener("touchstart",l,c),o.removeEventListener("touchmove",this.moveRipple,c),o.removeEventListener("keydown",p,c),o.removeEventListener("focus",this.startFocus,c),o.removeEventListener("blur",this.endFocus,c),o.removeEventListener("focusin",this.startFocus,c),o.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(o){let n=o,a=o,l,p;return n.x!=null?{x:l,y:p}=n:a.touches!=null&&(l=a.touches[0].clientX,p=a.touches[0].clientY),{x:l,y:p}}isFocusVisible(o){return o instanceof HTMLElement?o.matches(":focus-visible"):!0}isIgnored(o){if(this.disabled)return!0;if(o!=null)for(let n of o.composedPath()){if(n===this.target)break;if("hasAttribute"in n&&n.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};R.elementDefinitions={};R.styles=Or;F([(0,_.property)({type:Boolean})],R.prototype,"primary",void 0);F([(0,_.property)({type:Boolean})],R.prototype,"secondary",void 0);F([(0,_.property)({type:Boolean})],R.prototype,"unbounded",void 0);F([(0,_.property)({type:Boolean})],R.prototype,"activated",void 0);F([(0,_.property)({type:Boolean})],R.prototype,"selected",void 0);F([(0,_.property)({type:Boolean})],R.prototype,"disabled",void 0);F([(0,_.state)()],R.prototype,"hovered",void 0);F([(0,_.state)()],R.prototype,"focused",void 0);F([(0,_.state)()],R.prototype,"pressed",void 0);F([(0,_.state)()],R.prototype,"rippling",void 0);F([(0,_.state)()],R.prototype,"originX",void 0);F([(0,_.state)()],R.prototype,"originY",void 0);F([(0,_.query)(".ft-ripple")],R.prototype,"ripple",void 0);F([(0,_.query)(".ft-ripple--effect")],R.prototype,"rippleEffect",void 0);(0,Pr.customElement)("ft-ripple")(R);var an=h(w());var nn=h(k()),z=h(dt()),fe=h(w());var Ir=h(k()),mt=h(w()),Vt={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")},Br=Ir.css`
|
|
493
|
+
.ft-tooltip--container {
|
|
494
|
+
display: block;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.ft-tooltip--inline {
|
|
498
|
+
display: inline-block;
|
|
499
|
+
max-width: 100%;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
.ft-tooltip {
|
|
503
|
+
position: fixed;
|
|
504
|
+
box-sizing: border-box;
|
|
505
|
+
overflow: hidden;
|
|
506
|
+
width: max-content;
|
|
507
|
+
max-width: ${Vt.maxWidth};
|
|
508
|
+
text-align: center;
|
|
509
|
+
padding: ${Vt.distance};
|
|
510
|
+
z-index: ${Vt.zIndex};
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.ft-tooltip--content {
|
|
514
|
+
padding: 4px 8px;
|
|
515
|
+
border-radius: ${Vt.borderRadiusS};
|
|
516
|
+
background-color: ${Vt.backgroundColor};
|
|
517
|
+
color: ${Vt.color};
|
|
518
|
+
position: relative;
|
|
519
|
+
word-break: break-word;
|
|
520
|
+
}
|
|
521
|
+
`;var Tr=["top","right","bottom","left"],zr=["start","end"],Me=Tr.reduce((e,o)=>e.concat(o,o+"-"+zr[0],o+"-"+zr[1]),[]),le=Math.min,Et=Math.max,ce=Math.round;var yt=e=>({x:e,y:e}),Hn={left:"right",right:"left",bottom:"top",top:"bottom"},kn={start:"end",end:"start"};function Fe(e,o,n){return Et(e,le(o,n))}function Ce(e,o){return typeof e=="function"?e(o):e}function jt(e){return e.split("-")[0]}function wt(e){return e.split("-")[1]}function Ve(e){return e==="x"?"y":"x"}function je(e){return e==="y"?"height":"width"}function ve(e){return["top","bottom"].includes(jt(e))?"y":"x"}function Ye(e){return Ve(ve(e))}function Hr(e,o,n){n===void 0&&(n=!1);let a=wt(e),l=Ye(e),p=je(l),c=l==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return o.reference[p]>o.floating[p]&&(c=Ke(c)),[c,Ke(c)]}function kr(e){return e.replace(/start|end/g,o=>kn[o])}function Ke(e){return e.replace(/left|right|bottom|top/g,o=>Hn[o])}function _n(e){return{top:0,right:0,bottom:0,left:0,...e}}function _r(e){return typeof e!="number"?_n(e):{top:e,right:e,bottom:e,left:e}}function Wt(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Ur(e,o,n){let{reference:a,floating:l}=e,p=ve(o),c=Ye(o),s=je(c),d=jt(o),m=p==="y",x=a.x+a.width/2-l.width/2,y=a.y+a.height/2-l.height/2,v=a[s]/2-l[s]/2,S;switch(d){case"top":S={x,y:a.y-l.height};break;case"bottom":S={x,y:a.y+a.height};break;case"right":S={x:a.x+a.width,y};break;case"left":S={x:a.x-l.width,y};break;default:S={x:a.x,y:a.y}}switch(wt(o)){case"start":S[c]-=v*(n&&m?-1:1);break;case"end":S[c]+=v*(n&&m?-1:1);break}return S}var Dr=async(e,o,n)=>{let{placement:a="bottom",strategy:l="absolute",middleware:p=[],platform:c}=n,s=p.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(o)),m=await c.getElementRects({reference:e,floating:o,strategy:l}),{x,y}=Ur(m,a,d),v=a,S={},E=0;for(let $=0;$<s.length;$++){let{name:I,fn:W}=s[$],{x:B,y:Z,data:Ot,reset:U}=await W({x,y,initialPlacement:a,placement:v,strategy:l,middlewareData:S,rects:m,platform:c,elements:{reference:e,floating:o}});if(x=B??x,y=Z??y,S={...S,[I]:{...S[I],...Ot}},U&&E<=50){E++,typeof U=="object"&&(U.placement&&(v=U.placement),U.rects&&(m=U.rects===!0?await c.getElementRects({reference:e,floating:o,strategy:l}):U.rects),{x,y}=Ur(m,v,d)),$=-1;continue}}return{x,y,placement:v,strategy:l,middlewareData:S}};async function Xe(e,o){var n;o===void 0&&(o={});let{x:a,y:l,platform:p,rects:c,elements:s,strategy:d}=e,{boundary:m="clippingAncestors",rootBoundary:x="viewport",elementContext:y="floating",altBoundary:v=!1,padding:S=0}=Ce(o,e),E=_r(S),I=s[v?y==="floating"?"reference":"floating":y],W=Wt(await p.getClippingRect({element:(n=await(p.isElement==null?void 0:p.isElement(I)))==null||n?I:I.contextElement||await(p.getDocumentElement==null?void 0:p.getDocumentElement(s.floating)),boundary:m,rootBoundary:x,strategy:d})),B=y==="floating"?{...c.floating,x:a,y:l}:c.reference,Z=await(p.getOffsetParent==null?void 0:p.getOffsetParent(s.floating)),Ot=await(p.isElement==null?void 0:p.isElement(Z))?await(p.getScale==null?void 0:p.getScale(Z))||{x:1,y:1}:{x:1,y:1},U=Wt(p.convertOffsetParentRelativeRectToViewportRelativeRect?await p.convertOffsetParentRelativeRectToViewportRelativeRect({rect:B,offsetParent:Z,strategy:d}):B);return{top:(W.top-U.top+E.top)/Ot.y,bottom:(U.bottom-W.bottom+E.bottom)/Ot.y,left:(W.left-U.left+E.left)/Ot.x,right:(U.right-W.right+E.right)/Ot.x}}function Un(e,o,n){return(e?[...n.filter(l=>wt(l)===e),...n.filter(l=>wt(l)!==e)]:n.filter(l=>jt(l)===l)).filter(l=>e?wt(l)===e||(o?kr(l)!==l:!1):!0)}var qe=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var n,a,l;let{rects:p,middlewareData:c,placement:s,platform:d,elements:m}=o,{crossAxis:x=!1,alignment:y,allowedPlacements:v=Me,autoAlignment:S=!0,...E}=Ce(e,o),$=y!==void 0||v===Me?Un(y||null,S,v):v,I=await Xe(o,E),W=((n=c.autoPlacement)==null?void 0:n.index)||0,B=$[W];if(B==null)return{};let Z=Hr(B,p,await(d.isRTL==null?void 0:d.isRTL(m.floating)));if(s!==B)return{reset:{placement:$[0]}};let Ot=[I[jt(B)],I[Z[0]],I[Z[1]]],U=[...((a=c.autoPlacement)==null?void 0:a.overflows)||[],{placement:B,overflows:Ot}],eo=$[W+1];if(eo)return{data:{index:W+1,overflows:U},reset:{placement:eo}};let oo=U.map(nt=>{let Qt=wt(nt.placement);return[nt.placement,Qt&&x?nt.overflows.slice(0,2).reduce((vn,Nn)=>vn+Nn,0):nt.overflows[0],nt.overflows]}).sort((nt,Qt)=>nt[1]-Qt[1]),ro=((l=oo.filter(nt=>nt[2].slice(0,wt(nt[0])?2:3).every(Qt=>Qt<=0))[0])==null?void 0:l[0])||oo[0][0];return ro!==s?{data:{index:W+1,overflows:U},reset:{placement:ro}}:{}}}};var Je=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:n,y:a,placement:l}=o,{mainAxis:p=!0,crossAxis:c=!1,limiter:s={fn:I=>{let{x:W,y:B}=I;return{x:W,y:B}}},...d}=Ce(e,o),m={x:n,y:a},x=await Xe(o,d),y=ve(jt(l)),v=Ve(y),S=m[v],E=m[y];if(p){let I=v==="y"?"top":"left",W=v==="y"?"bottom":"right",B=S+x[I],Z=S-x[W];S=Fe(B,S,Z)}if(c){let I=y==="y"?"top":"left",W=y==="y"?"bottom":"right",B=E+x[I],Z=E-x[W];E=Fe(B,E,Z)}let $=s.fn({...o,[v]:S,[y]:E});return{...$,data:{x:$.x-n,y:$.y-a}}}}};function ht(e){return Zr(e)?(e.nodeName||"").toLowerCase():"#document"}function V(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function bt(e){var o;return(o=(Zr(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function Zr(e){return e instanceof Node||e instanceof V(e).Node}function ct(e){return e instanceof Element||e instanceof V(e).Element}function ot(e){return e instanceof HTMLElement||e instanceof V(e).HTMLElement}function Gr(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof V(e).ShadowRoot}function Yt(e){let{overflow:o,overflowX:n,overflowY:a,display:l}=q(e);return/auto|scroll|overlay|hidden|clip/.test(o+a+n)&&!["inline","contents"].includes(l)}function Kr(e){return["table","td","th"].includes(ht(e))}function Ee(e){let o=we(),n=q(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!o&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!o&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(a=>(n.willChange||"").includes(a))||["paint","layout","strict","content"].some(a=>(n.contain||"").includes(a))}function Mr(e){let o=Pt(e);for(;ot(o)&&!pe(o);){if(Ee(o))return o;o=Pt(o)}return null}function we(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function pe(e){return["html","body","#document"].includes(ht(e))}function q(e){return V(e).getComputedStyle(e)}function se(e){return ct(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Pt(e){if(ht(e)==="html")return e;let o=e.assignedSlot||e.parentNode||Gr(e)&&e.host||bt(e);return Gr(o)?o.host:o}function Fr(e){let o=Pt(e);return pe(o)?e.ownerDocument?e.ownerDocument.body:e.body:ot(o)&&Yt(o)?o:Fr(o)}function Ne(e,o,n){var a;o===void 0&&(o=[]),n===void 0&&(n=!0);let l=Fr(e),p=l===((a=e.ownerDocument)==null?void 0:a.body),c=V(l);return p?o.concat(c,c.visualViewport||[],Yt(l)?l:[],c.frameElement&&n?Ne(c.frameElement):[]):o.concat(l,Ne(l,[],n))}function Yr(e){let o=q(e),n=parseFloat(o.width)||0,a=parseFloat(o.height)||0,l=ot(e),p=l?e.offsetWidth:n,c=l?e.offsetHeight:a,s=ce(n)!==p||ce(a)!==c;return s&&(n=p,a=c),{width:n,height:a,$:s}}function Xr(e){return ct(e)?e:e.contextElement}function Xt(e){let o=Xr(e);if(!ot(o))return yt(1);let n=o.getBoundingClientRect(),{width:a,height:l,$:p}=Yr(o),c=(p?ce(n.width):n.width)/a,s=(p?ce(n.height):n.height)/l;return(!c||!Number.isFinite(c))&&(c=1),(!s||!Number.isFinite(s))&&(s=1),{x:c,y:s}}var Zn=yt(0);function qr(e){let o=V(e);return!we()||!o.visualViewport?Zn:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function Kn(e,o,n){return o===void 0&&(o=!1),!n||o&&n!==V(e)?!1:o}function de(e,o,n,a){o===void 0&&(o=!1),n===void 0&&(n=!1);let l=e.getBoundingClientRect(),p=Xr(e),c=yt(1);o&&(a?ct(a)&&(c=Xt(a)):c=Xt(e));let s=Kn(p,n,a)?qr(p):yt(0),d=(l.left+s.x)/c.x,m=(l.top+s.y)/c.y,x=l.width/c.x,y=l.height/c.y;if(p){let v=V(p),S=a&&ct(a)?V(a):a,E=v.frameElement;for(;E&&a&&S!==v;){let $=Xt(E),I=E.getBoundingClientRect(),W=q(E),B=I.left+(E.clientLeft+parseFloat(W.paddingLeft))*$.x,Z=I.top+(E.clientTop+parseFloat(W.paddingTop))*$.y;d*=$.x,m*=$.y,x*=$.x,y*=$.y,d+=B,m+=Z,E=V(E).frameElement}}return Wt({width:x,height:y,x:d,y:m})}function Mn(e){let{rect:o,offsetParent:n,strategy:a}=e,l=ot(n),p=bt(n);if(n===p)return o;let c={scrollLeft:0,scrollTop:0},s=yt(1),d=yt(0);if((l||!l&&a!=="fixed")&&((ht(n)!=="body"||Yt(p))&&(c=se(n)),ot(n))){let m=de(n);s=Xt(n),d.x=m.x+n.clientLeft,d.y=m.y+n.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-c.scrollLeft*s.x+d.x,y:o.y*s.y-c.scrollTop*s.y+d.y}}function Fn(e){return Array.from(e.getClientRects())}function Jr(e){return de(bt(e)).left+se(e).scrollLeft}function Vn(e){let o=bt(e),n=se(e),a=e.ownerDocument.body,l=Et(o.scrollWidth,o.clientWidth,a.scrollWidth,a.clientWidth),p=Et(o.scrollHeight,o.clientHeight,a.scrollHeight,a.clientHeight),c=-n.scrollLeft+Jr(e),s=-n.scrollTop;return q(a).direction==="rtl"&&(c+=Et(o.clientWidth,a.clientWidth)-l),{width:l,height:p,x:c,y:s}}function jn(e,o){let n=V(e),a=bt(e),l=n.visualViewport,p=a.clientWidth,c=a.clientHeight,s=0,d=0;if(l){p=l.width,c=l.height;let m=we();(!m||m&&o==="fixed")&&(s=l.offsetLeft,d=l.offsetTop)}return{width:p,height:c,x:s,y:d}}function Yn(e,o){let n=de(e,!0,o==="fixed"),a=n.top+e.clientTop,l=n.left+e.clientLeft,p=ot(e)?Xt(e):yt(1),c=e.clientWidth*p.x,s=e.clientHeight*p.y,d=l*p.x,m=a*p.y;return{width:c,height:s,x:d,y:m}}function Vr(e,o,n){let a;if(o==="viewport")a=jn(e,n);else if(o==="document")a=Vn(bt(e));else if(ct(o))a=Yn(o,n);else{let l=qr(e);a={...o,x:o.x-l.x,y:o.y-l.y}}return Wt(a)}function Qr(e,o){let n=Pt(e);return n===o||!ct(n)||pe(n)?!1:q(n).position==="fixed"||Qr(n,o)}function Xn(e,o){let n=o.get(e);if(n)return n;let a=Ne(e,[],!1).filter(s=>ct(s)&&ht(s)!=="body"),l=null,p=q(e).position==="fixed",c=p?Pt(e):e;for(;ct(c)&&!pe(c);){let s=q(c),d=Ee(c);!d&&s.position==="fixed"&&(l=null),(p?!d&&!l:!d&&s.position==="static"&&!!l&&["absolute","fixed"].includes(l.position)||Yt(c)&&!d&&Qr(e,c))?a=a.filter(x=>x!==c):l=s,c=Pt(c)}return o.set(e,a),a}function qn(e){let{element:o,boundary:n,rootBoundary:a,strategy:l}=e,c=[...n==="clippingAncestors"?Xn(o,this._c):[].concat(n),a],s=c[0],d=c.reduce((m,x)=>{let y=Vr(o,x,l);return m.top=Et(y.top,m.top),m.right=le(y.right,m.right),m.bottom=le(y.bottom,m.bottom),m.left=Et(y.left,m.left),m},Vr(o,s,l));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Jn(e){return Yr(e)}function Qn(e,o,n){let a=ot(o),l=bt(o),p=n==="fixed",c=de(e,!0,p,o),s={scrollLeft:0,scrollTop:0},d=yt(0);if(a||!a&&!p)if((ht(o)!=="body"||Yt(l))&&(s=se(o)),a){let m=de(o,!0,p,o);d.x=m.x+o.clientLeft,d.y=m.y+o.clientTop}else l&&(d.x=Jr(l));return{x:c.left+s.scrollLeft-d.x,y:c.top+s.scrollTop-d.y,width:c.width,height:c.height}}function jr(e,o){return!ot(e)||q(e).position==="fixed"?null:o?o(e):e.offsetParent}function tn(e,o){let n=V(e);if(!ot(e))return n;let a=jr(e,o);for(;a&&Kr(a)&&q(a).position==="static";)a=jr(a,o);return a&&(ht(a)==="html"||ht(a)==="body"&&q(a).position==="static"&&!Ee(a))?n:a||Mr(e)||n}var ta=async function(e){let{reference:o,floating:n,strategy:a}=e,l=this.getOffsetParent||tn,p=this.getDimensions;return{reference:Qn(o,await l(n),a),floating:{x:0,y:0,...await p(n)}}};function ea(e){return q(e).direction==="rtl"}var Re={convertOffsetParentRelativeRectToViewportRelativeRect:Mn,getDocumentElement:bt,getClippingRect:qn,getOffsetParent:tn,getElementRects:ta,getClientRects:Fn,getDimensions:Jn,getScale:Xt,isElement:ct,isRTL:ea};var en=(e,o,n)=>{let a=new Map,l={platform:Re,...n},p={...l.platform,_c:a};return Dr(e,o,{...l,platform:p})};function on(e){return oa(e)}function Qe(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function oa(e){for(let o=e;o;o=Qe(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=Qe(e);o;o=Qe(o)){if(!(o instanceof Element))continue;let n=getComputedStyle(o);if(n.display!=="contents"&&(n.position!=="static"||n.filter!=="none"||o.tagName==="BODY"))return o}return null}async function rn(e,o,n){return en(e,o,{platform:{...Re,getOffsetParent:a=>Re.getOffsetParent(a,on)},middleware:[Je({crossAxis:!0}),qe({allowedPlacements:[n]})]})}var j=function(e,o,n,a){var l=arguments.length,p=l<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(e,o,n,a);else for(var s=e.length-1;s>=0;s--)(c=e[s])&&(p=(l<3?c(p):l>3?c(o,n,p):c(o,n))||p);return l>3&&p&&Object.defineProperty(o,n,p),p},L=class extends fe.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 fe.Debouncer,this.revealDebouncer=new fe.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return nn.html`
|
|
522
|
+
<div part="container"
|
|
523
|
+
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
524
|
+
@mouseenter=${this.onHover}
|
|
525
|
+
@mouseleave=${this.onOut}
|
|
526
|
+
@focusin=${this.onHover}
|
|
527
|
+
@focusout=${this.onOut}
|
|
528
|
+
@touchstart=${this.onTouch}>
|
|
529
|
+
<slot part="slot" @click=${this.onClick}></slot>
|
|
530
|
+
<div part="tooltip" role="tooltip" inert
|
|
531
|
+
class="ft-tooltip ft-tooltip--${this.validPosition}"
|
|
532
|
+
?hidden=${!this.visible}>
|
|
533
|
+
<div part="tooltip-content" class="ft-tooltip--content">
|
|
534
|
+
<slot name="text"></slot>
|
|
535
|
+
<ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
|
|
536
|
+
</div>
|
|
537
|
+
</div>
|
|
538
|
+
</div>
|
|
539
|
+
`}updated(o){o.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(o)}contentAvailableCallback(o){super.contentAvailableCallback(o),["visible","text"].some(n=>o.has(n))&&this.visible&&this.positionTooltip()}async show(o){this.visible=!0,o!=null&&await this.hideDebounce.run(()=>{this.hide()},o)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var o;return((o=this.slotNodes)!==null&&o!==void 0?o:[]).filter(n=>n.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="",rn(this.slottedElement,this.tooltip,this.position).then(({x:o,y:n})=>{this.tooltip&&(this.tooltip.style.left=`${o}px`,this.tooltip.style.top=`${n}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,n){return Math.max(o,Math.min(0,-n))}};L.elementDefinitions={"ft-typography":X};L.styles=Br;j([(0,z.property)()],L.prototype,"text",void 0);j([(0,z.property)({type:Boolean})],L.prototype,"manual",void 0);j([(0,z.property)({type:Boolean})],L.prototype,"inline",void 0);j([(0,z.property)({type:Number})],L.prototype,"delay",void 0);j([(0,z.property)()],L.prototype,"position",void 0);j([(0,z.queryAssignedNodes)()],L.prototype,"slotNodes",void 0);j([(0,z.query)(".ft-tooltip--container")],L.prototype,"container",void 0);j([(0,z.query)(".ft-tooltip")],L.prototype,"tooltip",void 0);j([(0,z.query)(".ft-tooltip--content")],L.prototype,"tooltipContent",void 0);j([(0,z.state)()],L.prototype,"visible",void 0);j([(0,z.eventOptions)({passive:!0})],L.prototype,"onTouch",null);j([(0,z.eventOptions)({passive:!0})],L.prototype,"onHover",null);j([(0,z.eventOptions)({passive:!0})],L.prototype,"onOut",null);j([(0,z.eventOptions)({passive:!0})],L.prototype,"onClick",null);(0,an.customElement)("ft-tooltip")(L);var dn=h(w());var ue=h(k()),Bt=h(dt()),pn=h(w()),sn=h(cn());var It;(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.EYE="",e.SHARE="󨃱"})(It||(It={}));var u;(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=""})(u||(u={}));var ts=new Map([...["abw"].map(e=>[e,u.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,u.AUDIO]),...["avi"].map(e=>[e,u.AVI]),...["chm","xhs"].map(e=>[e,u.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,u.CODE]),...["csv"].map(e=>[e,u.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,u.DITA]),...["epub"].map(e=>[e,u.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,u.EXCEL]),...["flac"].map(e=>[e,u.FLAC]),...["gif"].map(e=>[e,u.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,u.GZIP]),...["html","htm","xhtml"].map(e=>[e,u.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,u.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,u.JPEG]),...["json"].map(e=>[e,u.JSON]),...["m4a","m4p"].map(e=>[e,u.M4A]),...["mov","qt"].map(e=>[e,u.MOV]),...["mp3"].map(e=>[e,u.MP3]),...["mp4","m4v"].map(e=>[e,u.MP4]),...["ogg","oga"].map(e=>[e,u.OGG]),...["pdf","ps"].map(e=>[e,u.PDF]),...["png"].map(e=>[e,u.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,u.POWERPOINT]),...["rar"].map(e=>[e,u.RAR]),...["stp"].map(e=>[e,u.STP]),...["txt","rtf","md","mdown"].map(e=>[e,u.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,u.VIDEO]),...["wav"].map(e=>[e,u.WAV]),...["wma"].map(e=>[e,u.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,u.WORD]),...["xml","xsl","rdf"].map(e=>[e,u.XML]),...["yaml","yml","x-yaml"].map(e=>[e,u.YAML]),...["zip"].map(e=>[e,u.ZIP])]);var es={[u.ABW]:"#91ABC6",[u.AUDIO]:"#1795E3",[u.AVI]:"#E63324",[u.CHM]:"#71C3EB",[u.CODE]:"#71C3EB",[u.CSV]:"#1F7345",[u.DITA]:"#71C3EB",[u.EPUB]:"#85B926",[u.EXCEL]:"#1F7345",[u.FLAC]:"#1795E3",[u.GIF]:"#59B031",[u.GZIP]:"#F8AB36",[u.HTML]:"#71C3EB",[u.IMAGE]:"#59B031",[u.JPEG]:"#59B031",[u.JSON]:"#71C3EB",[u.M4A]:"#1795E3",[u.MOV]:"#E63324",[u.MP3]:"#1795E3",[u.MP4]:"#E63324",[u.OGG]:"#1795E3",[u.PDF]:"#E44948",[u.PNG]:"#59B031",[u.POWERPOINT]:"#B54A2B",[u.RAR]:"#F8AB36",[u.STP]:"#3764B1",[u.TEXT]:"#3162AB",[u.UNKNOWN]:"#999999",[u.VIDEO]:"#E63324",[u.WAV]:"#1795E3",[u.WMA]:"#1795E3",[u.WORD]:"#3162AB",[u.XML]:"#71C3EB",[u.YAML]:"#71C3EB",[u.ZIP]:"#F8AB36"};var pt;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(pt||(pt={}));var Le=function(e,o,n,a){var l=arguments.length,p=l<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(e,o,n,a);else for(var s=e.length-1;s>=0;s--)(c=e[s])&&(p=(l<3?c(p):l>3?c(o,n,p):c(o,n))||p);return l>3&&p&&Object.defineProperty(o,n,p),p},tt=class extends pn.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=ue.nothing}render(){let o=this.variant&&Object.values(pt).includes(this.variant)?this.variant:pt.fluid_topics,n=o!==pt.material||!!this.value;return ue.html`
|
|
540
|
+
<i class="ft-icon ft-icon--${o}" part="icon icon-${o}">
|
|
541
|
+
${(0,sn.unsafeHTML)(this.resolvedIcon)}
|
|
542
|
+
<slot ?hidden=${n}></slot>
|
|
543
|
+
</i>
|
|
544
|
+
`}get textContent(){var o,n;return(n=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(a=>a.textContent).join("").trim())!==null&&n!==void 0?n:""}update(o){super.update(o),["value","variant"].some(n=>o.has(n))&&this.resolveIcon()}resolveIcon(){var o,n;let a=this.value||this.textContent;switch(this.variant){case pt.file_format:this.resolvedIcon=(o=u[a.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:a;break;case pt.material:this.resolvedIcon=this.value||ue.nothing;break;default:this.resolvedIcon=(n=It[a.replace("-","_").toUpperCase()])!==null&&n!==void 0?n:a;break}}firstUpdated(o){super.firstUpdated(o),setTimeout(()=>this.resolveIcon())}};tt.elementDefinitions={};tt.styles=Nr;Le([(0,Bt.property)()],tt.prototype,"variant",void 0);Le([(0,Bt.property)()],tt.prototype,"value",void 0);Le([(0,Bt.state)()],tt.prototype,"resolvedIcon",void 0);Le([(0,Bt.query)("slot")],tt.prototype,"slottedContent",void 0);(0,dn.customElement)("ft-icon")(tt);var gn=h(w());var fn=h(k()),un=h(w());var zt=class extends un.FtLitElement{render(){return fn.html`
|
|
545
|
+
<div class="ft-loader">
|
|
546
|
+
<div></div>
|
|
547
|
+
<div></div>
|
|
548
|
+
<div></div>
|
|
549
|
+
<div></div>
|
|
550
|
+
</div>
|
|
551
|
+
`}};zt.styles=Cr;(0,gn.customElement)("ft-loader")(zt);var qt=h(k()),mn=h(Se()),D=h(dt()),Y=function(e,o,n,a){var l=arguments.length,p=l<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(e,o,n,a);else for(var s=e.length-1;s>=0;s--)(c=e[s])&&(p=(l<3?c(p):l>3?c(o,n,p):c(o,n))||p);return l>3&&p&&Object.defineProperty(o,n,p),p},A=class extends(0,Jt.toFtFormComponent)(Jt.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",o=>{var n;this.isDisabled()?(o.preventDefault(),o.stopPropagation(),o.stopImmediatePropagation()):this.type=="submit"&&((n=this.form)===null||n===void 0||n.requestSubmit())})}render(){var o;return this.addTooltipIfNeeded(qt.html`
|
|
552
|
+
<button part="button"
|
|
553
|
+
class="${(0,mn.classMap)(this.buttonClasses)}"
|
|
554
|
+
aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
|
|
555
|
+
?disabled=${this.isDisabled()}>
|
|
556
|
+
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
557
|
+
<ft-typography part="label"
|
|
558
|
+
variant=${this.typographyVariant}
|
|
559
|
+
element="span"
|
|
560
|
+
class="ft-button--label ${Jt.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
561
|
+
?hidden=${!this.hasTextContent()}>
|
|
562
|
+
<slot @slotchange=${this.onSlotchange}></slot>
|
|
563
|
+
</ft-typography>
|
|
564
|
+
${this.resolveIcon()}
|
|
565
|
+
</button>
|
|
566
|
+
`)}addTooltipIfNeeded(o){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?qt.html`
|
|
567
|
+
<ft-tooltip part="tooltip"
|
|
568
|
+
text="${this.getLabel()}"
|
|
569
|
+
position="${this.tooltipPosition}">
|
|
570
|
+
${o}
|
|
571
|
+
</ft-tooltip>
|
|
572
|
+
`:o}resolveIcon(){return this.loading?qt.html`
|
|
573
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?qt.html`
|
|
574
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
575
|
+
`:qt.html`
|
|
576
|
+
<slot part="icon" name="icon"></slot>
|
|
577
|
+
`}focus(){var o;(o=this.button)===null||o===void 0||o.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(o){return o instanceof HTMLSlotElement?o.assignedNodes().map(n=>this.unslotText(n)).join(""):o?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};A.elementDefinitions={"ft-ripple":R,"ft-tooltip":L,"ft-typography":X,"ft-icon":tt,"ft-loader":zt};Y([(0,D.property)({type:String,reflect:!0})],A.prototype,"role",void 0);Y([(0,D.property)()],A.prototype,"type",void 0);Y([(0,D.property)({type:Boolean})],A.prototype,"disabled",void 0);Y([(0,D.property)()],A.prototype,"label",void 0);Y([(0,D.property)()],A.prototype,"icon",void 0);Y([(0,D.property)()],A.prototype,"iconVariant",void 0);Y([(0,D.property)({type:Boolean})],A.prototype,"trailingIcon",void 0);Y([(0,D.property)({type:Boolean})],A.prototype,"loading",void 0);Y([(0,D.property)({attribute:"aria-label"})],A.prototype,"ariaLabel",void 0);Y([(0,D.property)()],A.prototype,"tooltipPosition",void 0);Y([(0,D.property)({type:Boolean})],A.prototype,"hideTooltip",void 0);Y([(0,D.property)({type:Boolean})],A.prototype,"forceTooltip",void 0);Y([(0,D.query)(".ft-button")],A.prototype,"button",void 0);Y([(0,D.query)(".ft-button--label slot")],A.prototype,"slottedContent",void 0);var Ae=function(e,o,n,a){var l=arguments.length,p=l<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(e,o,n,a);else for(var s=e.length-1;s>=0;s--)(c=e[s])&&(p=(l<3?c(p):l>3?c(o,n,p):c(o,n))||p);return l>3&&p&&Object.defineProperty(o,n,p),p},xt=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"}};xt.styles=[yn.safariEllipsisFix,Lr];Ae([(0,ge.property)({type:Boolean})],xt.prototype,"primary",void 0);Ae([(0,ge.property)({type:Boolean})],xt.prototype,"outlined",void 0);Ae([(0,ge.property)({type:Boolean})],xt.prototype,"dense",void 0);Ae([(0,ge.property)({type:Boolean})],xt.prototype,"round",void 0);var me=h(dt());var We=h(w());var hn=h(k()),C=h(w());var bn=[hn.css`
|
|
578
|
+
:host {
|
|
579
|
+
display: inline-block;
|
|
580
|
+
max-width: 100%;
|
|
581
|
+
pointer-events: none;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
/** Remove default button styles **/
|
|
585
|
+
|
|
586
|
+
button {
|
|
587
|
+
box-shadow: 0 0 0 transparent;
|
|
588
|
+
border: 0 solid transparent;
|
|
589
|
+
text-shadow: 0 0 0 transparent;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
button:hover {
|
|
593
|
+
box-shadow: 0 0 0 transparent;
|
|
594
|
+
text-shadow: 0 0 0 transparent;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
button:active {
|
|
598
|
+
outline: none;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
button:focus {
|
|
602
|
+
outline: 0;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
/** Base styles **/
|
|
606
|
+
|
|
607
|
+
.ft-button {
|
|
608
|
+
position: relative;
|
|
609
|
+
display: flex;
|
|
610
|
+
justify-content: center;
|
|
611
|
+
align-items: center;
|
|
612
|
+
width: 100%;
|
|
613
|
+
overflow: hidden;
|
|
614
|
+
box-sizing: border-box;
|
|
615
|
+
pointer-events: auto;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
.ft-button:not([disabled]):hover {
|
|
619
|
+
cursor: pointer;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
.ft-button:focus {
|
|
623
|
+
outline: none;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
.ft-button:focus-visible {
|
|
627
|
+
outline-color: ${f.focusFocusRingColor};
|
|
628
|
+
outline-style: solid;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
ft-icon {
|
|
632
|
+
flex-shrink: 0;
|
|
633
|
+
position: relative;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
637
|
+
.ft-button:not(.ft-button--trailing-icon) ft-loader {
|
|
638
|
+
order: -1;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
.ft-button--label {
|
|
642
|
+
position: relative;
|
|
643
|
+
overflow: hidden;
|
|
644
|
+
white-space: nowrap;
|
|
645
|
+
text-overflow: ellipsis;
|
|
646
|
+
display: block;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
.ft-button--label[hidden] {
|
|
650
|
+
display: none;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
.ft-button.ft-button--icon-only {
|
|
654
|
+
padding: unset;
|
|
655
|
+
border-radius: 50%;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
/** Primary styles **/
|
|
659
|
+
|
|
660
|
+
.ft-button--primary {
|
|
661
|
+
${(0,C.setVariable)(K.color,f.primaryIconColor)};
|
|
662
|
+
|
|
663
|
+
${(0,C.setVariable)(N.color,f.primaryStateLayerColor)};
|
|
664
|
+
${(0,C.setVariable)(N.opacityContentOnSurfaceHover,f.primaryHoverStateLayerOpacity)};
|
|
665
|
+
${(0,C.setVariable)(N.opacityContentOnSurfaceFocused,f.primaryFocusStateLayerOpacity)};
|
|
666
|
+
${(0,C.setVariable)(N.opacityContentOnSurfaceSelected,f.primaryActiveStateLayerOpacity)};
|
|
667
|
+
${(0,C.setVariable)(N.opacityContentOnSurfacePressed,f.primaryActiveStateLayerOpacity)};
|
|
668
|
+
|
|
669
|
+
background-color: ${f.primaryBackgroundColor};
|
|
670
|
+
color: ${f.primaryColor};
|
|
671
|
+
border-style: none;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
.ft-button--primary[disabled] {
|
|
675
|
+
opacity: ${f.primaryDisabledComponentOpacity};
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
.ft-button--primary ft-icon {
|
|
679
|
+
color: ${f.primaryIconColor};
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
/** Secondary styles **/
|
|
683
|
+
|
|
684
|
+
.ft-button--secondary {
|
|
685
|
+
${(0,C.setVariable)(K.color,f.secondaryIconColor)};
|
|
686
|
+
|
|
687
|
+
${(0,C.setVariable)(N.color,f.secondaryStateLayerColor)};
|
|
688
|
+
${(0,C.setVariable)(N.opacityContentOnSurfaceHover,f.secondaryHoverStateLayerOpacity)};
|
|
689
|
+
${(0,C.setVariable)(N.opacityContentOnSurfaceFocused,f.secondaryFocusStateLayerOpacity)};
|
|
690
|
+
${(0,C.setVariable)(N.opacityContentOnSurfaceSelected,f.secondaryActiveStateLayerOpacity)};
|
|
691
|
+
${(0,C.setVariable)(N.opacityContentOnSurfacePressed,f.secondaryActiveStateLayerOpacity)};
|
|
692
|
+
|
|
693
|
+
background-color: ${f.secondaryBackgroundColor};
|
|
694
|
+
color: ${f.secondaryColor};
|
|
695
|
+
border-color: ${f.secondaryBorderColor};
|
|
696
|
+
border-style: solid;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
.ft-button--secondary[disabled] {
|
|
700
|
+
opacity: ${f.secondaryDisabledComponentOpacity};
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
.ft-button--secondary ft-icon {
|
|
704
|
+
color: ${f.secondaryIconColor};
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
/** Tertiary styles **/
|
|
708
|
+
|
|
709
|
+
.ft-button--tertiary {
|
|
710
|
+
${(0,C.setVariable)(K.color,f.tertiaryIconColor)};
|
|
711
|
+
|
|
712
|
+
${(0,C.setVariable)(N.color,f.tertiaryStateLayerColor)};
|
|
713
|
+
${(0,C.setVariable)(N.opacityContentOnSurfaceHover,f.tertiaryHoverStateLayerOpacity)};
|
|
714
|
+
${(0,C.setVariable)(N.opacityContentOnSurfaceFocused,f.tertiaryFocusStateLayerOpacity)};
|
|
715
|
+
${(0,C.setVariable)(N.opacityContentOnSurfaceSelected,f.tertiaryActiveStateLayerOpacity)};
|
|
716
|
+
${(0,C.setVariable)(N.opacityContentOnSurfacePressed,f.tertiaryActiveStateLayerOpacity)};
|
|
717
|
+
|
|
718
|
+
background-color: ${f.tertiaryBackgroundColor};
|
|
719
|
+
color: ${f.tertiaryColor};
|
|
720
|
+
border-style: none;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
.ft-button--tertiary[disabled] {
|
|
724
|
+
opacity: ${f.tertiaryDisabledComponentOpacity};
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
.ft-button--tertiary ft-icon {
|
|
728
|
+
color: ${f.tertiaryIconColor};
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
/** Neutral styles **/
|
|
732
|
+
|
|
733
|
+
.ftds--family-neutral {
|
|
734
|
+
${(0,C.setVariable)(K.color,f.neutralIconColor)};
|
|
735
|
+
|
|
736
|
+
${(0,C.setVariable)(N.backgroundColor,f.neutralStateLayerColor)};
|
|
737
|
+
${(0,C.setVariable)(N.opacityContentOnSurfaceHover,f.neutralHoverStateLayerOpacity)};
|
|
738
|
+
${(0,C.setVariable)(N.opacityContentOnSurfaceFocused,f.neutralFocusStateLayerOpacity)};
|
|
739
|
+
${(0,C.setVariable)(N.opacityContentOnSurfaceSelected,f.neutralActiveStateLayerOpacity)};
|
|
740
|
+
${(0,C.setVariable)(N.opacityContentOnSurfacePressed,f.neutralActiveStateLayerOpacity)};
|
|
741
|
+
|
|
742
|
+
background-color: ${f.neutralBackgroundColor};
|
|
743
|
+
color: ${f.neutralColor};
|
|
744
|
+
border-style: none;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
.ftds--family-neutral[disabled] {
|
|
748
|
+
opacity: ${f.neutralDisabledComponentOpacity};
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
.ftds--family-neutral ft-icon {
|
|
752
|
+
color: ${f.neutralIconColor};
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
/** Large styles **/
|
|
756
|
+
|
|
757
|
+
.ftds--size-large {
|
|
758
|
+
${(0,C.setVariable)(M.size,f.largeIconSize)};
|
|
759
|
+
${(0,C.setVariable)(K.size,f.largeIconSize)};
|
|
760
|
+
|
|
761
|
+
height: ${f.largeHeight};
|
|
762
|
+
padding: 0 ${f.largeHorizontalPadding};
|
|
763
|
+
gap: ${f.largeGap};
|
|
764
|
+
border-radius: ${f.largeBorderRadius};
|
|
765
|
+
border-width: ${f.largeBorderWidth};
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
.ftds--size-large:focus-visible {
|
|
769
|
+
outline-width: ${f.largeFocusOutlineWidth};
|
|
770
|
+
outline-offset: ${f.largeFocusOutlineOffset};
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
.ftds--size-large.ft-button--icon-only {
|
|
774
|
+
width: ${f.largeIconOnlyWidth};
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
/** Small styles **/
|
|
778
|
+
|
|
779
|
+
.ftds--size-medium {
|
|
780
|
+
${(0,C.setVariable)(M.size,f.mediumIconSize)};
|
|
781
|
+
${(0,C.setVariable)(K.size,f.mediumIconSize)};
|
|
782
|
+
|
|
783
|
+
height: ${f.mediumHeight};
|
|
784
|
+
padding: 0 ${f.mediumHorizontalPadding};
|
|
785
|
+
gap: ${f.mediumGap};
|
|
786
|
+
border-radius: ${f.mediumBorderRadius};
|
|
787
|
+
border-width: ${f.mediumBorderWidth};
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
.ftds--size-medium:focus-visible {
|
|
791
|
+
outline-width: ${f.mediumFocusOutlineWidth};
|
|
792
|
+
outline-offset: ${f.mediumFocusOutlineOffset};
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
.ftds--size-medium.ft-button--icon-only {
|
|
796
|
+
width: ${f.mediumIconOnlyWidth};
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
/** Small styles **/
|
|
801
|
+
|
|
802
|
+
.ftds--size-small {
|
|
803
|
+
${(0,C.setVariable)(M.size,f.smallIconSize)};
|
|
804
|
+
${(0,C.setVariable)(K.size,f.smallIconSize)};
|
|
805
|
+
|
|
806
|
+
height: ${f.smallHeight};
|
|
807
|
+
padding: 0 ${f.smallHorizontalPadding};
|
|
808
|
+
gap: ${f.smallGap};
|
|
809
|
+
border-radius: ${f.smallBorderRadius};
|
|
810
|
+
border-width: ${f.smallBorderWidth};
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
.ftds--size-small:focus-visible {
|
|
814
|
+
outline-width: ${f.smallFocusOutlineWidth};
|
|
815
|
+
outline-offset: ${f.smallFocusOutlineOffset};
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
.ftds--size-small.ft-button--icon-only {
|
|
819
|
+
width: ${f.smallIconOnlyWidth};
|
|
820
|
+
}
|
|
821
|
+
`,C.noTextSelect];var $e=function(e,o,n,a){var l=arguments.length,p=l<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(e,o,n,a);else for(var s=e.length-1;s>=0;s--)(c=e[s])&&(p=(l<3?c(p):l>3?c(o,n,p):c(o,n))||p);return l>3&&p&&Object.defineProperty(o,n,p),p},rt=class extends(0,We.toFtdsBase)(A){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Nt.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 at.large:return Ct.body2medium;case at.medium:return Ct.caption1medium;case at.small:return Ct.caption2medium}}};rt.styles=[We.safariEllipsisFix,bn];$e([(0,me.property)({type:Boolean})],rt.prototype,"primary",void 0);$e([(0,me.property)({type:Boolean})],rt.prototype,"secondary",void 0);$e([(0,me.property)({type:Boolean})],rt.prototype,"tertiary",void 0);$e([(0,me.property)({type:Boolean})],rt.prototype,"round",void 0);(0,to.customElement)("ft-button")(xt);(0,to.customElement)("ftds-button")(rt);var xn=h(k());var On=xn.css`
|
|
822
|
+
:host {
|
|
823
|
+
position: relative;
|
|
824
|
+
display: inline-block;
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
.ftds-popover {
|
|
828
|
+
position: relative;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
.ftds-popover--container {
|
|
832
|
+
position: absolute;
|
|
833
|
+
z-index: 2;
|
|
834
|
+
display: block;
|
|
835
|
+
margin: auto;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
.ftds-popover--closing-button {
|
|
839
|
+
position: absolute;
|
|
840
|
+
top: 8px;
|
|
841
|
+
right: 8px;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
.ftds-popover--overlay {
|
|
845
|
+
position: fixed;
|
|
846
|
+
top: 0;
|
|
847
|
+
right: 0;
|
|
848
|
+
bottom: 0;
|
|
849
|
+
left: 0;
|
|
850
|
+
height: 100%;
|
|
851
|
+
width: 100%;
|
|
852
|
+
opacity: 0;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
.ftds-popover--wrapper {
|
|
856
|
+
visibility: hidden;
|
|
857
|
+
position: fixed;
|
|
858
|
+
display: flex;
|
|
859
|
+
flex-direction: column;
|
|
860
|
+
|
|
861
|
+
max-width: 464px;
|
|
862
|
+
width: max-content;
|
|
863
|
+
|
|
864
|
+
padding-left: ${J.horizontalPadding};
|
|
865
|
+
padding-right: ${J.horizontalPadding};
|
|
866
|
+
padding-top: ${J.verticalPadding};
|
|
867
|
+
padding-bottom: ${J.verticalPadding};
|
|
868
|
+
gap: ${J.gap};
|
|
869
|
+
|
|
870
|
+
background-color: ${J.backgroundColor};
|
|
871
|
+
border-radius: ${J.borderRadius};
|
|
872
|
+
box-shadow: ${J.shadow};
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
.ftds-popover--heading {
|
|
876
|
+
flex-shrink: 0;
|
|
877
|
+
|
|
878
|
+
display: flex;
|
|
879
|
+
align-items: center;
|
|
880
|
+
gap: ${J.gap};
|
|
881
|
+
|
|
882
|
+
color: ${J.titleColor};
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
.ftds-popover--heading ft-typography {
|
|
886
|
+
flex-grow: 1;
|
|
887
|
+
flex-shrink: 1;
|
|
888
|
+
text-overflow: ellipsis;
|
|
889
|
+
overflow: hidden;
|
|
890
|
+
white-space: nowrap;
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
.ftds-popover--content {
|
|
894
|
+
color: ${J.bodyColor};
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
.ftds-popover--wrapper-positioned {
|
|
898
|
+
visibility: visible;
|
|
899
|
+
}
|
|
900
|
+
`;var Sn=h(Se());var st=function(e,o,n,a){var l=arguments.length,p=l<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(e,o,n,a);else for(var s=e.length-1;s>=0;s--)(c=e[s])&&(p=(l<3?c(p):l>3?c(o,n,p):c(o,n))||p);return l>3&&p&&Object.defineProperty(o,n,p),p},G=class extends Pe.FtLitElement{constructor(){super(...arguments),this.heading="",this.closeButtonLabel="close info",this.openButtonLabel="more info",this.openButtonTooltipPosition="bottom",this.opened=!1,this.openButtonSize=at.medium,this.openButtonFamily=Nt.brand,this.watchFocusIn=o=>{o.composedPath().includes(this.popoverWrapper)||this.close()},this.watchEscapeKey=o=>{o.key==="Escape"&&(this.close(),this.openingButton.focus())}}render(){let o={"ftds-popover":!0,"ftds-popover--opened":this.opened};return Rt.html`
|
|
901
|
+
<div part="container" class="${(0,Sn.classMap)(o)}">
|
|
902
|
+
<ftds-button @focusin="${this.close}"
|
|
903
|
+
part="opening-button"
|
|
904
|
+
size="${this.openButtonSize}" family="${this.openButtonFamily}" label="${this.openButtonLabel}"
|
|
905
|
+
tooltipposition="${this.openButtonTooltipPosition}" icon="${It.CIRCLE_QUESTION}"
|
|
906
|
+
aria-haspopup="true" aria-expanded="${this.opened}" aria-controls="ftds-popover-dialog"
|
|
907
|
+
@click=${this.open}>
|
|
908
|
+
</ftds-button>
|
|
909
|
+
${this.renderPopover()}
|
|
910
|
+
</div>
|
|
911
|
+
`}renderPopover(){return this.opened?Rt.html`
|
|
912
|
+
<div class="ftds-popover--container">
|
|
913
|
+
<div class="ftds-popover--overlay" part="overlay" @click="${this.close}"></div>
|
|
914
|
+
<div class="ftds-popover--wrapper" part="wrapper" role="dialog" id="ftds-popover-dialog"
|
|
915
|
+
aria-labelledby="ftds-popover-heading" aria-describedby="ftds-popover-content">
|
|
916
|
+
${this.renderClosingButton()}
|
|
917
|
+
<slot name="heading">
|
|
918
|
+
${this.renderHeading()}
|
|
919
|
+
</slot>
|
|
920
|
+
<div class="ftds-popover--content" part="content" id="ftds-popover-content">
|
|
921
|
+
<ft-typography variant="body-2-medium">
|
|
922
|
+
<slot></slot>
|
|
923
|
+
</ft-typography>
|
|
924
|
+
</div>
|
|
925
|
+
<ft-typography variant="body-2-medium">
|
|
926
|
+
<slot name="link"
|
|
927
|
+
part="popover-link"
|
|
928
|
+
class="ftds-popover--link"
|
|
929
|
+
@slotchange=${this.requestUpdate}
|
|
930
|
+
></slot>
|
|
931
|
+
</ft-typography>
|
|
932
|
+
</div>
|
|
933
|
+
</div>
|
|
934
|
+
`:Rt.nothing}renderClosingButton(){return Rt.html`
|
|
935
|
+
<div class="ftds-popover--closing-button">
|
|
936
|
+
<ftds-button icon="${It.CLOSE}" size="${at.small}" family="${Nt.neutral}"
|
|
937
|
+
part="closing-button" label="${this.closeButtonLabel}" @click=${this.close}></ftds-button>
|
|
938
|
+
</div>
|
|
939
|
+
`}renderHeading(){return this.heading?Rt.html`
|
|
940
|
+
<div class="ftds-popover--heading" part="heading" id="ftds-popover-heading">
|
|
941
|
+
<ft-typography element="span" variant="body-2-semibold">${this.heading}</ft-typography>
|
|
942
|
+
</div>
|
|
943
|
+
`:Rt.nothing}updated(o){super.updated(o),o.has("opened")&&(this.opened?setTimeout(()=>{this.positionWrapper(),document.addEventListener("keydown",this.watchEscapeKey),document.addEventListener("focusin",this.watchFocusIn)},0):(document.removeEventListener("keydown",this.watchEscapeKey),document.removeEventListener("focusin",this.watchFocusIn)))}close(){this.opened=!1,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!1}}))}open(){this.opened=!0,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!0}}))}async positionWrapper(){this.popoverWrapper.classList.remove("ftds-popover--wrapper-positioned"),this.popoverWrapper.style.left="",this.popoverWrapper.style.top="";let o=this.openingButton,n=["right-start","bottom-end","right-end","left-start","left-end","top-start","top-end"],{x:a,y:l}=await(0,Pe.computeFlipOffsetPosition)(o,this.popoverWrapper,"bottom-start",n,"fixed");this.popoverWrapper.style.left=`${a}px`,this.popoverWrapper.style.top=`${l}px`,this.popoverWrapper.classList.add("ftds-popover--wrapper-positioned"),this.closingButton.focus()}};G.elementDefinitions={"ft-typography":X,"ftds-button":rt};G.styles=On;st([(0,et.property)({type:String})],G.prototype,"heading",void 0);st([(0,et.property)({type:String})],G.prototype,"closeButtonLabel",void 0);st([(0,et.property)({type:String})],G.prototype,"openButtonLabel",void 0);st([(0,et.property)({type:String})],G.prototype,"openButtonTooltipPosition",void 0);st([(0,et.property)({type:Boolean})],G.prototype,"opened",void 0);st([(0,et.property)({type:at})],G.prototype,"openButtonSize",void 0);st([(0,et.property)({type:Nt})],G.prototype,"openButtonFamily",void 0);st([(0,et.query)("[part=opening-button]")],G.prototype,"openingButton",void 0);st([(0,et.query)("[part=closing-button]")],G.prototype,"closingButton",void 0);st([(0,et.query)("[part=wrapper]")],G.prototype,"popoverWrapper",void 0);(0,Cn.customElement)("ftds-popover")(G);})();
|
|
944
|
+
/*! Bundled license information:
|
|
945
|
+
|
|
946
|
+
lit-html/lit-html.js:
|
|
947
|
+
(**
|
|
948
|
+
* @license
|
|
949
|
+
* Copyright 2017 Google LLC
|
|
950
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
951
|
+
*)
|
|
952
|
+
|
|
953
|
+
lit-html/static.js:
|
|
954
|
+
(**
|
|
955
|
+
* @license
|
|
956
|
+
* Copyright 2020 Google LLC
|
|
957
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
958
|
+
*)
|
|
959
|
+
*/
|