@fluid-topics/ft-button 1.0.59 → 1.0.61

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.
@@ -1,4 +1,4 @@
1
- !function(t,i,e,o,n,s){const r=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorContent),l={color:r,backgroundColor:i.FtCssVariableFactory.extend("--ft-ripple-background-color",r),opacityContentOnSurfacePressed:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:i.FtCssVariableFactory.create("--ft-ripple-border-radius","SIZE","0px")},a=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorPrimary),p=a,h=i.FtCssVariableFactory.extend("--ft-ripple-background-color",a),f=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorSecondary),d=f,c=i.FtCssVariableFactory.extend("--ft-ripple-background-color",f),u=e.css`
1
+ !function(t,o,e,r,a,i){const n=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),l={color:n,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",n),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},c=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),p=c,f=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",c),s=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),d=s,h=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",s),y=r.css`
2
2
  :host {
3
3
  display: contents;
4
4
  }
@@ -53,7 +53,7 @@
53
53
  }
54
54
 
55
55
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
56
- background-color: ${c};
56
+ background-color: ${h};
57
57
  }
58
58
 
59
59
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
@@ -61,7 +61,7 @@
61
61
  }
62
62
 
63
63
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
64
- background-color: ${h};
64
+ background-color: ${f};
65
65
  }
66
66
 
67
67
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
@@ -110,173 +110,111 @@
110
110
  opacity: ${l.opacityContentOnSurfacePressed};
111
111
  transform: translate(-50%, -50%) scale(1);
112
112
  }
113
- `;var x,g=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class y extends i.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 i.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new i.Debouncer(10),this.moveRipple=t=>{var i,e;let{x:o,y:n}=this.getCoordinates(t),s=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-s.x:s.width/2),this.originY=Math.round(null!=n?n-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
114
- <style>
115
- .ft-ripple .ft-ripple--effect {
116
- left: ${this.originX}px;
117
- top: ${this.originY}px;
118
- }
119
- </style>
120
- <div class="${n.classMap(t)}">
121
- <div class="ft-ripple--background"></div>
122
- <div class="ft-ripple--effect"></div>
123
- </div>
124
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var i,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,i;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(i=this.target)&&void 0!==i?i:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const i=t,e=t;let o,n;return null!=i.x?({x:o,y:n}=i):null!=e.touches&&(o=e.touches[0].clientX,n=e.touches[0].clientY),{x:o,y:n}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}y.elementDefinitions={},y.styles=u,g([o.property({type:Boolean})],y.prototype,"primary",void 0),g([o.property({type:Boolean})],y.prototype,"secondary",void 0),g([o.property({type:Boolean})],y.prototype,"unbounded",void 0),g([o.property({type:Boolean})],y.prototype,"activated",void 0),g([o.property({type:Boolean})],y.prototype,"selected",void 0),g([o.property({type:Boolean})],y.prototype,"disabled",void 0),g([o.state()],y.prototype,"hovered",void 0),g([o.state()],y.prototype,"focused",void 0),g([o.state()],y.prototype,"pressed",void 0),g([o.state()],y.prototype,"rippling",void 0),g([o.state()],y.prototype,"originX",void 0),g([o.state()],y.prototype,"originY",void 0),g([o.query(".ft-ripple")],y.prototype,"ripple",void 0),g([o.query(".ft-ripple--effect")],y.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(y);const b=window,v=b.trustedTypes,m=v?v.createPolicy("lit-html",{createHTML:t=>t}):void 0,$="$lit$",w=`lit$${(Math.random()+"").slice(9)}$`,k="?"+w,z=`<${k}>`,S=document,N=()=>S.createComment(""),O=t=>null===t||"object"!=typeof t&&"function"!=typeof t,j=Array.isArray,C="[ \t\n\f\r]",E=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,I=/-->/g,T=/>/g,A=RegExp(`>|${C}(?:([^\\s"'>=/]+)(${C}*=${C}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),B=/'/g,F=/"/g,M=/^(?:script|style|textarea|title)$/i,_=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),Z=Symbol.for("lit-noChange"),U=Symbol.for("lit-nothing"),R=new WeakMap,P=S.createTreeWalker(S,129,null,!1),W=(t,i)=>{const e=t.length-1,o=[];let n,s=2===i?"<svg>":"",r=E;for(let i=0;i<e;i++){const e=t[i];let l,a,p=-1,h=0;for(;h<e.length&&(r.lastIndex=h,a=r.exec(e),null!==a);)h=r.lastIndex,r===E?"!--"===a[1]?r=I:void 0!==a[1]?r=T:void 0!==a[2]?(M.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=A):void 0!==a[3]&&(r=A):r===A?">"===a[0]?(r=null!=n?n:E,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?A:'"'===a[3]?F:B):r===F||r===B?r=A:r===I||r===T?r=E:(r=A,n=void 0);const f=r===A&&t[i+1].startsWith("/>")?" ":"";s+=r===E?e+z:p>=0?(o.push(l),e.slice(0,p)+$+e.slice(p)+w+f):e+w+(-2===p?(o.push(void 0),i):f)}const l=s+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==m?m.createHTML(l):l,o]};class D{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,s=0;const r=t.length-1,l=this.parts,[a,p]=W(t,i);if(this.el=D.createElement(a,e),P.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=P.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith($)||i.startsWith(w)){const e=p[s++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+$).split(w),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?q:"?"===i[1]?X:"@"===i[1]?Y:G})}else l.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(M.test(o.tagName)){const t=o.textContent.split(w),i=t.length-1;if(i>0){o.textContent=v?v.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],N()),P.nextNode(),l.push({type:2,index:++n});o.append(t[i],N())}}}else if(8===o.nodeType)if(o.data===k)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(w,t+1));)l.push({type:7,index:n}),t+=w.length-1}n++}}static createElement(t,i){const e=S.createElement("template");return e.innerHTML=t,e}}function H(t,i,e=t,o){var n,s,r,l;if(i===Z)return i;let a=void 0!==o?null===(n=e._$Co)||void 0===n?void 0:n[o]:e._$Cl;const p=O(i)?void 0:i._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(s=null==a?void 0:a._$AO)||void 0===s||s.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,e,o)),void 0!==o?(null!==(r=(l=e)._$Co)&&void 0!==r?r:l._$Co=[])[o]=a:e._$Cl=a),void 0!==a&&(i=H(t,a._$AS(t,i.values),a,o)),i}class K{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:S).importNode(e,!0);P.currentNode=n;let s=P.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let i;2===a.type?i=new L(s,s.nextSibling,this,t):1===a.type?i=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(i=new J(s,this,t)),this._$AV.push(i),a=o[++l]}r!==(null==a?void 0:a.index)&&(s=P.nextNode(),r++)}return n}v(t){let i=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class L{constructor(t,i,e,o){var n;this.type=2,this._$AH=U,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cp=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=H(this,t,i),O(t)?t===U||null==t||""===t?(this._$AH!==U&&this._$AR(),this._$AH=U):t!==this._$AH&&t!==Z&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>j(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==U&&O(this._$AH)?this._$AA.nextSibling.data=t:this.$(S.createTextNode(t)),this._$AH=t}g(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=D.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.v(e);else{const t=new K(n,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=R.get(t.strings);return void 0===i&&R.set(t.strings,i=new D(t)),i}T(t){j(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new L(this.k(N()),this.k(N()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class G{constructor(t,i,e,o,n){this.type=1,this._$AH=U,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=U}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let s=!1;if(void 0===n)t=H(this,t,i,0),s=!O(t)||t!==this._$AH&&t!==Z,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=H(this,o[e+r],i,r),l===Z&&(l=this._$AH[r]),s||(s=!O(l)||l!==this._$AH[r]),l===U?t=U:t!==U&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.j(t)}j(t){t===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class q extends G{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===U?void 0:t}}const V=v?v.emptyScript:"";class X extends G{constructor(){super(...arguments),this.type=4}j(t){t&&t!==U?this.element.setAttribute(this.name,V):this.element.removeAttribute(this.name)}}class Y extends G{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=H(this,t,i,0))&&void 0!==e?e:U)===Z)return;const o=this._$AH,n=t===U&&o!==U||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==U&&(o===U||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class J{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){H(this,t)}}const Q=b.litHtmlPolyfillSupport;null==Q||Q(D,L),(null!==(x=b.litHtmlVersions)&&void 0!==x?x:b.litHtmlVersions=[]).push("2.7.3");
125
- /**
126
- * @license
127
- * Copyright 2020 Google LLC
128
- * SPDX-License-Identifier: BSD-3-Clause
129
- */
130
- const tt=Symbol.for(""),it=t=>{if((null==t?void 0:t.r)===tt)return null==t?void 0:t._$litStatic$},et=t=>({_$litStatic$:t,r:tt}),ot=new Map,nt=(t=>(i,...e)=>{const o=e.length;let n,s;const r=[],l=[];let a,p=0,h=!1;for(;p<o;){for(a=i[p];p<o&&void 0!==(s=e[p],n=it(s));)a+=n+i[++p],h=!0;p!==o&&l.push(s),r.push(a),p++}if(p===o&&r.push(i[o]),h){const t=r.join("$$lit$$");void 0===(i=ot.get(t))&&(r.raw=r,ot.set(t,i=r)),e=l}return t(i,...e)})(_);var st;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(st||(st={}));const rt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),lt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),at={fontFamily:lt,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},pt=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",rt),ht=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",at.fontSize,"20px"),ft=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",at.fontWeight,"normal"),dt=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",at.letterSpacing,"0.15px"),ct=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",at.lineHeight,"1.2"),ut=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",at.textTransform,"inherit"),xt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",rt),gt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",at.fontSize,"14px"),yt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",at.fontWeight,"normal"),bt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",at.letterSpacing,"0.105px"),vt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",at.lineHeight,"1.7"),mt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",at.textTransform,"inherit"),$t=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",lt),wt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",at.fontSize,"16px"),kt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",at.fontWeight,"600"),zt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",at.letterSpacing,"0.144px"),St=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",at.lineHeight,"1.5"),Nt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",at.textTransform,"inherit"),Ot=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",lt),jt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",at.fontSize,"14px"),Ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",at.fontWeight,"normal"),Et=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",at.letterSpacing,"0.098px"),It=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",at.lineHeight,"1.7"),Tt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",at.textTransform,"inherit"),At=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",lt),Bt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",at.fontSize,"16px"),Ft=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",at.fontWeight,"normal"),Mt=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",at.letterSpacing,"0.496px"),_t=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",at.lineHeight,"1.5"),Zt=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",at.textTransform,"inherit"),Ut=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",lt),Rt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",at.fontSize,"14px"),Pt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",at.fontWeight,"normal"),Wt=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",at.letterSpacing,"0.252px"),Dt=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",at.lineHeight,"1.4"),Ht=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",at.textTransform,"inherit"),Kt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",lt),Lt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",at.fontSize,"12px"),Gt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",at.fontWeight,"normal"),qt=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",at.letterSpacing,"0.396px"),Vt=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",at.lineHeight,"1.33"),Xt=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",at.textTransform,"inherit"),Yt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",lt),Jt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",at.fontSize,"10px"),Qt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",at.fontWeight,"normal"),ti=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",at.letterSpacing,"0.33px"),ii=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",at.lineHeight,"1.6"),ei=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",at.textTransform,"inherit"),oi=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",lt),ni=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",at.fontSize,"10px"),si=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",at.fontWeight,"normal"),ri=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",at.letterSpacing,"1.5px"),li=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",at.lineHeight,"1.6"),ai=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",at.textTransform,"uppercase"),pi={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-button-font-family",lt),fontSize:i.FtCssVariableFactory.extend("--ft-typography-button-font-size",at.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",at.fontWeight,"600"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",at.letterSpacing,"1.246px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-button-line-height",at.lineHeight,"1.15"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",at.textTransform,"uppercase")},hi=e.css`
113
+ `,g=t=>"string"==typeof t?r.unsafeCSS(t):t;class b{static create(t,o,e,a){const i=t=>g(null!=t?t:a),n=r.css`var(${g(t)}, ${i(a)})`;return n.name=t,n.description=t,n.category=e,n.defaultValue=a,n.defaultCssValue=i,n.get=o=>r.css`var(${g(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>a,n}static extend(t,o,e,a){const i=t=>e.get(null!=t?t:a),n=r.css`var(${g(t)}, ${i(a)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=a,n.defaultCssValue=i,n.get=o=>r.css`var(${g(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=a?a:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):g(null!=o?o:t.lastResortDefaultValue()),a=r.css`var(${g(t.name)}, ${e(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=e,a.get=o=>r.css`var(${g(t.name)}, ${e(o)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}}const u={colorWhite:b.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:b.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:b.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:b.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:b.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:b.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:b.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:b.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:b.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:b.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:b.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:b.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:b.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:b.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:b.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:b.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:b.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:b.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:b.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:b.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:b.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:b.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:b.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:b.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:b.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:b.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:b.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:b.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:b.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:b.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:b.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:b.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:b.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:b.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:b.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:b.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:b.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:b.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:b.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:b.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:b.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:b.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:b.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:b.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:b.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:b.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:b.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:b.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:b.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:b.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:b.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:b.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:b.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:b.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:b.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:b.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:b.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:b.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:b.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:b.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:b.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:b.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:b.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:b.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:b.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:b.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:b.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:b.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:b.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:b.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:b.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:b.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:b.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:b.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:b.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:b.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:b.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:b.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:b.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:b.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:b.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:b.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:b.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:b.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:b.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:b.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:b.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:b.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:b.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:b.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:b.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:b.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:b.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:b.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:b.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:b.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:b.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:b.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:b.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:b.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:b.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:b.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:b.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:b.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:b.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:b.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:b.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:b.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:b.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:b.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:b.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:b.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:b.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:b.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:b.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:b.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:b.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:b.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:b.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:b.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:b.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:b.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:b.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:b.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:b.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:b.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:b.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:b.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:b.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:b.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:b.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:b.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:b.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:b.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:b.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:b.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:b.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:b.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:b.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:b.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:b.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:b.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:b.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:b.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:b.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:b.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:b.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:b.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:b.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:b.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:b.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:b.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:b.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:b.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:b.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:b.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:b.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:b.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:b.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:b.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:b.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:b.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:b.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:b.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:b.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:b.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:b.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:b.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:b.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:b.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:b.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:b.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:b.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:b.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:b.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:b.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:b.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:b.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:b.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:b.create("--ft-icon-size-6","","SIZE","48px"),opacity0:b.create("--ft-opacity-0","","NUMBER","0"),opacity8:b.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:b.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:b.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:b.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:b.create("--ft-opacity-80","","NUMBER","0.8")},m={display:{fontFamily:b.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:b.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:b.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:b.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:b.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:b.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:b.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:b.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:b.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:b.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:b.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:b.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:b.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:b.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:b.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:b.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:b.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:b.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:b.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:b.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:b.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:b.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:b.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:b.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:b.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:b.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:b.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:b.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:b.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:b.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:b.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:b.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:b.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:b.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:b.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:b.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:b.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:b.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},x={backgroundActionPrimary:b.extend("--ft-background-action-primary","Used as backgorund of primary action components.",u.colorBrand0),backgroundErrorPrimary:b.extend("--ft-background-error-primary","Used as background of error components.",u.colorRed0),backgroundErrorSubtle:b.extend("--ft-background-error-subtle","Used as background of subtle error components.",u.colorRed10),backgroundInfoPrimary:b.extend("--ft-background-info-primary","Used as background of information components.",u.colorCyan200),backgroundInfoSubtle:b.extend("--ft-background-info-subtle","Used as background of subtle information components.",u.colorCyan10),backgroundWarningPrimary:b.extend("--ft-background-warning-primary","Used as background of warning components.",u.colorOrange300),backgroundWarningSubtle:b.extend("--ft-background-warning-subtle","Used as background of subtle information components.",u.colorOrange10),backgroundSuccessPrimary:b.extend("--ft-background-success-primary","Used as background of success components.",u.colorGreen200),backgroundSuccessSubtle:b.extend("--ft-background-success-subtle","Used as background of subtle success components.",u.colorGreen10),backgroundGlobalSurface:b.extend("--ft-background-global-surface","Used as app background.",u.colorWhite),backgroundGlobalOnSurface:b.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",u.colorGray10),backgroundGlobalOnSurfaceDark:b.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",u.colorGray30),contentActionPrimary:b.extend("--ft-content-action-primary","Used on label of primary action on light surface.",u.colorBrand0),contentWarningPrimary:b.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",u.colorOrange300),contentWarningIconOnly:b.extend("--ft-content-warning-icon-only","Used on warning status icons alone",u.colorOrange0),contentErrorPrimary:b.extend("--ft-content-error-primary","Used on label of error messages on light surface.",u.colorRed0),contentErrorIconOnly:b.extend("--ft-content-error-icon-only","Used on error status icons alone",u.colorRed0),contentInfoPrimary:b.extend("--ft-content-info-primary","Used on label of information messages on light surface.",u.colorCyan200),contentInfoIconOnly:b.extend("--ft-content-info-icon-only","Used on info status icons alone",u.colorCyan0),contentSuccessIconOnly:b.extend("--ft-content-success-icon-only","Used on success status icons alone",u.colorGreen0),contentSuccessPrimary:b.extend("--ft-content-success-primary","Used on label of success messages on light surface.",u.colorGreen200),contentGlobalPrimary:b.extend("--ft-content-global-primary","Used for main content on the page.",u.colorGray500),contentGlobalSecondary:b.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",u.colorGray200),contentGlobalSubtle:b.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",u.colorGray0),contentGlobalOnColor:b.extend("--ft-content-global-on-color","Used for content on a dominant color.",u.colorWhite),borderActionPrimary:b.extend("--ft-border-action-primary","Used as border for primary action components.",u.colorBrand0),borderActionFocusRing:b.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",u.colorCyan0),borderWarningPrimary:b.extend("--ft-border-warning-primary","Used as border for warning components.",u.colorOrange30),borderSuccessPrimary:b.extend("--ft-border-success-primary","Used as border for success components.",u.colorGreen30),borderErrorPrimary:b.extend("--ft-border-error-primary","Used as border for error components.",u.colorRed30),borderInfoPrimary:b.extend("--ft-border-info-primary","Used as border for information components.",u.colorCyan30),borderGlobalSubtle:b.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",u.colorGray30),borderGlobalPrimary:b.extend("--ft-border-global-primary","Used as border for element like input.",u.colorGray50),borderInputPrimary:b.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",u.colorGray80)},O={largeHeight:b.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:b.extend("--ft-button-large-horizontal-padding","",u.spacing4),largeGap:b.extend("--ft-button-large-gap","",u.spacing2),largeBorderRadius:b.extend("--ft-button-large-border-radius","",u.borderRadiusS),largeIconSize:b.extend("--ft-button-large-icon-size","",u.iconSize3),largeBorderWidth:b.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:b.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:b.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:b.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:b.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:b.extend("--ft-button-small-horizontal-padding","",u.spacing3),smallGap:b.extend("--ft-button-small-gap","",u.spacing2),smallBorderRadius:b.extend("--ft-button-small-border-radius","",u.borderRadiusS),smallIconSize:b.extend("--ft-button-small-icon-size","",u.iconSize2),smallBorderWidth:b.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:b.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:b.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:b.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:b.extend("--ft-button-primary-background-color","",x.backgroundActionPrimary),primaryColor:b.extend("--ft-button-primary-color","",x.contentGlobalOnColor),primaryIconColor:b.extend("--ft-button-primary-icon-color","",x.contentGlobalOnColor),primaryStateLayerColor:b.extend("--ft-button-primary-state-layer-color","",x.contentGlobalOnColor),primaryStateLayerOpacityHover:b.extend("--ft-button-primary-state-layer-opacity-hover","",u.opacity16),primaryStateLayerOpacityFocus:b.extend("--ft-button-primary-state-layer-opacity-focus","",u.opacity16),primaryStateLayerOpacityActive:b.extend("--ft-button-primary-state-layer-opacity-active","",u.opacity24),primaryComponentOpacityDisabled:b.extend("--ft-button-primary-component-opacity-disabled","",u.opacity40),focusFocusRingColor:b.extend("--ft-button-focus-focus-ring-color","",x.borderActionFocusRing),tertiaryBackgroundColor:b.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:b.extend("--ft-button-tertiary-color","",x.contentActionPrimary),tertiaryIconColor:b.extend("--ft-button-tertiary-icon-color","",x.contentActionPrimary),tertiaryStateLayerColor:b.extend("--ft-button-tertiary-state-layer-color","",x.contentActionPrimary),tertiaryStateLayerOpacityHover:b.extend("--ft-button-tertiary-state-layer-opacity-hover","",u.opacity8),tertiaryStateLayerOpacityFocus:b.extend("--ft-button-tertiary-state-layer-opacity-focus","",u.opacity8),tertiaryStateLayerOpacityActive:b.extend("--ft-button-tertiary-state-layer-opacity-active","",u.opacity16),tertiaryComponentOpacityDisabled:b.extend("--ft-button-tertiary-component-opacity-disabled","",u.opacity40),secondaryBackgroundColor:b.extend("--ft-button-secondary-background-color","",u.colorWhite),secondaryColor:b.extend("--ft-button-secondary-color","",x.contentActionPrimary),secondaryIconColor:b.extend("--ft-button-secondary-icon-color","",x.contentActionPrimary),secondaryStateLayerColor:b.extend("--ft-button-secondary-state-layer-color","",x.contentActionPrimary),secondaryStateLayerOpacityHover:b.extend("--ft-button-secondary-state-layer-opacity-hover","",u.opacity8),secondaryStateLayerOpacityFocus:b.extend("--ft-button-secondary-state-layer-opacity-focus","",u.opacity8),secondaryStateLayerOpacityActive:b.extend("--ft-button-secondary-state-layer-opacity-active","",u.opacity16),secondaryComponentOpacityDisabled:b.extend("--ft-button-secondary-component-opacity-disabled","",u.opacity40),secondaryBorderColor:b.extend("--ft-button-secondary-border-color","",x.borderActionPrimary),neutralBackgroundColor:b.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:b.extend("--ft-button-neutral-icon-color","",x.contentGlobalSecondary),neutralColor:b.extend("--ft-button-neutral-color","",x.contentGlobalSecondary),neutralStateLayerColor:b.extend("--ft-button-neutral-state-layer-color","",x.contentGlobalSecondary),neutralStateLayerOpacityHover:b.extend("--ft-button-neutral-state-layer-opacity-hover","",u.opacity8),neutralStateLayerOpacityFocus:b.extend("--ft-button-neutral-state-layer-opacity-focus","",u.opacity8),neutralStateLayerOpacityActive:b.extend("--ft-button-neutral-state-layer-opacity-active","",u.opacity16),neutralComponentOpacityDisabled:b.extend("--ft-button-neutral-component-opacity-disabled","",u.opacity40)};b.extend("--ft-tabs-top-left-border-radius","",u.borderRadiusS),b.extend("--ft-tabs-top-right-border-radius","",u.borderRadiusS),b.extend("--ft-tabs-label-horizontal-padding","",u.spacing4),b.extend("--ft-tabs-label-vertical-padding","",u.spacing3),b.extend("--ft-tabs-label-gap","",u.spacing1),b.extend("--ft-switch-group-horizontal-padding","",u.spacing1),b.extend("--ft-switch-group-vertical-padding","",u.spacing1),b.extend("--ft-switch-group-gap","",u.spacing1),b.extend("--ft-switch-group-background-color","",x.backgroundGlobalSurface),b.extend("--ft-switch-group-border-color","",x.borderGlobalSubtle),b.create("--ft-switch-group-border-radius","","SIZE","6px"),b.extend("--ft-switch-label-horizontal-padding","",u.spacing2),b.extend("--ft-switch-label-vertical-padding","",u.spacing1),b.extend("--ft-switch-icon-horizontal-padding","",u.spacing1),b.extend("--ft-switch-icon-vertical-padding","",u.spacing1),b.create("--ft-switch-focus-outline-width","","SIZE","2px"),b.extend("--ft-switch-focus-focus-ring-color","",x.borderActionFocusRing),b.extend("--ft-switch-option-border-radius","",u.borderRadiusS),b.extend("--ft-switch-off-state-layer-opacity-hover","",u.opacity8),b.extend("--ft-switch-off-state-layer-opacity-focus","",u.opacity8),b.extend("--ft-switch-off-state-layer-opacity-active","",u.opacity16),b.extend("--ft-switch-off-component-opacity-disabled","",u.opacity40),b.extend("--ft-switch-off-color","",x.contentGlobalSubtle),b.extend("--ft-switch-off-state-layer-color","",x.contentGlobalSubtle),b.extend("--ft-chart-1-light","for area color charts",u.colorBrand40),b.extend("--ft-chart-1-base","for line charts",u.colorBrand0),b.extend("--ft-chart-2-light","for area color charts",u.colorYellow60),b.extend("--ft-chart-2-base","for line charts",u.colorYellow100),b.extend("--ft-chart-3-light","",u.colorUltramarine40),b.extend("--ft-chart-3-base","",u.colorUltramarine70),b.extend("--ft-chart-4-light","",u.colorCyan50),b.extend("--ft-chart-4-base","",u.colorCyan100),b.extend("--ft-chart-5-light","",u.colorRed40),b.extend("--ft-chart-5-base","",u.colorRed60),b.extend("--ft-chart-6-light","",u.colorGreen40),b.extend("--ft-chart-6-base","",u.colorGreen70),b.extend("--ft-chart-7-light","",u.colorOrange70),b.extend("--ft-chart-7-base","",u.colorOrange100),b.extend("--ft-chart-8-light","",u.colorAvocado70),b.extend("--ft-chart-8-base","",u.colorAvocado200),b.extend("--ft-chart-9-light","",u.colorBrown50),b.extend("--ft-chart-9-base","",u.colorBrown200),b.extend("--ft-chart-10-light","",u.colorGray50),b.extend("--ft-chart-10-base","",u.colorGray80),b.extend("--ft-chart-monochrome-10","",u.colorBrand10),b.extend("--ft-chart-monochrome-20","",u.colorBrand20),b.extend("--ft-chart-monochrome-30","",u.colorBrand40),b.extend("--ft-chart-monochrome-40","",u.colorBrand60),b.extend("--ft-chart-monochrome-50","",u.colorBrand0),b.extend("--ft-chart-monochrome-60","",u.colorBrand200),b.extend("--ft-chip-large-horizontal-padding","",u.spacing4),b.extend("--ft-chip-large-vertical-padding","",u.spacing2),b.extend("--ft-chip-large-gap","",u.spacing1),b.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),b.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),b.extend("--ft-chip-large-border-radius","",u.borderRadiusPill),b.create("--ft-chip-large-border-width","","SIZE","1px"),b.extend("--ft-chip-large-icon-size","",u.iconSize3),b.extend("--ft-chip-medium-horizontal-padding","",u.spacing3),b.extend("--ft-chip-medium-vertical-padding","",u.spacing1),b.extend("--ft-chip-medium-gap","",u.spacing1),b.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),b.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),b.extend("--ft-chip-medium-border-radius","",u.borderRadiusPill),b.create("--ft-chip-medium-border-width","","SIZE","1px"),b.extend("--ft-chip-medium-icon-size","",u.iconSize2),b.extend("--ft-chip-small-horizontal-padding","",u.spacing2),b.extend("--ft-chip-small-vertical-padding","",u.spacing05),b.extend("--ft-chip-small-gap","",u.spacing1),b.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),b.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),b.extend("--ft-chip-small-border-radius","",u.borderRadiusPill),b.create("--ft-chip-small-border-width","","SIZE","1px"),b.extend("--ft-chip-small-icon-size","",u.iconSize1),b.extend("--ft-chip-neutral-background-color","",x.backgroundGlobalOnSurface),b.extend("--ft-chip-neutral-color","",x.contentGlobalPrimary),b.extend("--ft-chip-neutral-border-color","",x.borderGlobalSubtle),b.extend("--ft-chip-info-background-color","",x.backgroundInfoSubtle),b.extend("--ft-chip-info-color","",x.contentInfoPrimary),b.extend("--ft-chip-info-border-color","",x.borderInfoPrimary),b.extend("--ft-chip-success-background-color","",x.backgroundSuccessSubtle),b.extend("--ft-chip-success-color","",x.contentSuccessPrimary),b.extend("--ft-chip-success-border-color","",x.borderSuccessPrimary),b.extend("--ft-chip-warning-background-color","",x.backgroundWarningSubtle),b.extend("--ft-chip-warning-color","",x.contentWarningPrimary),b.extend("--ft-chip-warning-border-color","",x.borderWarningPrimary),b.extend("--ft-chip-error-background-color","",x.backgroundErrorSubtle),b.extend("--ft-chip-error-color","",x.contentErrorPrimary),b.extend("--ft-chip-error-border-color","",x.borderErrorPrimary),b.create("--ft-notice-border-width","","SIZE","1px"),b.extend("--ft-notice-horizontal-padding","",u.spacing2),b.extend("--ft-notice-vertical-padding","",u.spacing1),b.extend("--ft-notice-border-radius","",u.borderRadiusS),b.extend("--ft-notice-gap","",u.spacing2),b.extend("--ft-notice-icon-size","",u.iconSize3),b.extend("--ft-notice-info-background-color","",x.backgroundInfoSubtle),b.extend("--ft-notice-info-border-color","",x.borderInfoPrimary),b.extend("--ft-notice-info-color","",x.contentInfoPrimary),b.extend("--ft-notice-warning-background-color","",x.backgroundWarningSubtle),b.extend("--ft-notice-warning-border-color","",x.borderWarningPrimary),b.extend("--ft-notice-warning-color","",x.contentWarningPrimary),b.extend("--ft-checkbox-label-color","",x.contentGlobalPrimary),b.extend("--ft-checkbox-checked-background-color","",x.contentActionPrimary),b.extend("--ft-checkbox-checked-state-layer-color","",x.contentActionPrimary),b.extend("--ft-checkbox-checked-color","",x.contentGlobalOnColor),b.extend("--ft-checkbox-checked-state-layer-opacity-hover","",u.opacity16),b.extend("--ft-checkbox-checked-state-layer-opacity-focus","",u.opacity16),b.extend("--ft-checkbox-checked-state-layer-opacity-active","",u.opacity24),b.extend("--ft-checkbox-checked-component-opacity-disabled","",u.opacity40),b.extend("--ft-checkbox-unchecked-border-color","",u.colorGray80),b.extend("--ft-checkbox-unchecked-state-layer-color","",u.colorGray80),b.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",u.opacity16),b.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",u.opacity16),b.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",u.opacity24),b.extend("--ft-checkbox-unchecked-component-opacity-disabled","",u.opacity40),b.extend("--ft-checkbox-focus-focus-ring-color","",x.borderActionFocusRing),b.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),b.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),b.extend("--ft-checkbox-gap","",u.spacing3),b.extend("--ft-toggle-off-state-layer-opacity-hover","",u.opacity16),b.extend("--ft-toggle-off-state-layer-opacity-focus","",u.opacity16),b.extend("--ft-toggle-off-state-layer-opacity-active","",u.opacity24),b.extend("--ft-toggle-off-component-opacity-disabled","",u.opacity40),b.extend("--ft-toggle-off-background-color","",x.contentGlobalSubtle),b.extend("--ft-toggle-off-icon-color","",x.contentGlobalSubtle),b.extend("--ft-toggle-off-state-layer-color","",x.contentGlobalSubtle),b.extend("--ft-toggle-on-state-layer-opacity-hover","",u.opacity16),b.extend("--ft-toggle-on-state-layer-opacity-focus","",u.opacity16),b.extend("--ft-toggle-on-state-layer-opacity-active","",u.opacity24),b.extend("--ft-toggle-on-component-opacity-disabled","",u.opacity40),b.extend("--ft-toggle-on-background-color","",x.contentActionPrimary),b.extend("--ft-toggle-on-icon-color","",x.contentActionPrimary),b.extend("--ft-toggle-on-state-layer-color","",x.contentActionPrimary),b.extend("--ft-toggle-label-color","",x.contentGlobalPrimary),b.extend("--ft-toggle-focus-focus-ring-color","",x.borderActionFocusRing),b.extend("--ft-toggle-gap","",u.spacing3),b.extend("--ft-radio-label-color","",x.contentGlobalPrimary),b.extend("--ft-radio-selected-color","",x.contentActionPrimary),b.extend("--ft-radio-selected-state-layer-color","",x.contentActionPrimary),b.extend("--ft-radio-selected-state-layer-opacity-hover","",u.opacity16),b.extend("--ft-radio-selected-state-layer-opacity-focus","",u.opacity16),b.extend("--ft-radio-selected-state-layer-opacity-active","",u.opacity24),b.extend("--ft-radio-selected-component-opacity-disabled","",u.opacity40),b.extend("--ft-radio-unselected-state-layer-color","",u.colorGray80),b.extend("--ft-radio-unselected-state-layer-opacity-hover","",u.opacity16),b.extend("--ft-radio-unselected-state-layer-opacity-focus","",u.opacity16),b.extend("--ft-radio-unselected-state-layer-opacity-active","",u.opacity24),b.extend("--ft-radio-unselected-component-opacity-disabled","",u.opacity40),b.extend("--ft-radio-focus-focus-ring-color","",x.borderActionFocusRing),b.create("--ft-radio-focus-outline-offset","","SIZE","3px"),b.create("--ft-radio-focus-outline-width","","SIZE","2px"),b.extend("--ft-radio-gap","",u.spacing3),b.extend("--ft-notification-icon-size","",u.iconSize4),b.extend("--ft-notification-horizontal-padding","",u.spacing4),b.extend("--ft-notification-vertical-padding","",u.spacing4),b.extend("--ft-notification-info-background-color","",x.backgroundInfoSubtle),b.extend("--ft-notification-info-color","",x.contentInfoPrimary),b.extend("--ft-notification-info-border-color","",x.borderInfoPrimary),b.extend("--ft-notification-success-background-color","",x.backgroundSuccessSubtle),b.extend("--ft-notification-success-color","",x.contentSuccessPrimary),b.extend("--ft-notification-success-border-color","",x.borderSuccessPrimary),b.extend("--ft-notification-warning-background-color","",x.backgroundWarningSubtle),b.extend("--ft-notification-warning-color","",x.contentWarningPrimary),b.extend("--ft-notification-warning-border-color","",x.borderWarningPrimary),b.extend("--ft-notification-error-background-color","",x.backgroundErrorSubtle),b.extend("--ft-notification-error-color","",x.contentErrorPrimary),b.extend("--ft-notification-error-border-color","",x.borderErrorPrimary),b.extend("--ft-notification-border-radius","",u.borderRadiusPill),b.create("--ft-notification-border-width","","SIZE","1px"),b.extend("--ft-notification-gap-leading","",u.spacing2),b.extend("--ft-notification-gap-trailing","",u.spacing8);const N=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),v=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),S={fontFamily:v,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},C=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",N),$=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",S.fontSize,"20px"),w=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",S.fontWeight,"normal"),I=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",S.letterSpacing,"0.15px"),U=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",S.lineHeight,"1.2"),R=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",S.textTransform,"inherit"),W=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",N),k=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",S.fontSize,"14px"),E=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",S.fontWeight,"normal"),L=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",S.letterSpacing,"0.105px"),K=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",S.lineHeight,"1.7"),Z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",S.textTransform,"inherit"),z=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",v),F=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",S.fontSize,"16px"),B=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",S.fontWeight,"600"),D=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",S.letterSpacing,"0.144px"),H=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",S.lineHeight,"1.5"),A=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",S.textTransform,"inherit"),G=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",v),j=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",S.fontSize,"14px"),P=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",S.fontWeight,"normal"),M=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",S.letterSpacing,"0.098px"),T=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",S.lineHeight,"1.7"),_=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",S.textTransform,"inherit"),Y=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",v),V=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",S.fontSize,"16px"),q=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",S.fontWeight,"normal"),X=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",S.letterSpacing,"0.496px"),J=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",S.lineHeight,"1.5"),Q=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",S.textTransform,"inherit"),tt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",v),ot=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",S.fontSize,"14px"),et=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",S.fontWeight,"normal"),rt=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",S.letterSpacing,"0.252px"),at=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",S.lineHeight,"1.4"),it=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",S.textTransform,"inherit"),nt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",v),lt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",S.fontSize,"12px"),ct=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",S.fontWeight,"normal"),pt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",S.letterSpacing,"0.396px"),ft=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",S.lineHeight,"1.33"),st=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",S.textTransform,"inherit"),dt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",v),ht=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",S.fontSize,"10px"),yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",S.fontWeight,"normal"),gt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",S.letterSpacing,"0.33px"),bt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",S.lineHeight,"1.6"),ut=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",S.textTransform,"inherit"),mt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",v),xt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",S.fontSize,"10px"),Ot=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",S.fontWeight,"normal"),Nt=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",S.letterSpacing,"1.5px"),vt=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",S.lineHeight,"1.6"),St=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",S.textTransform,"uppercase"),Ct={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",v),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",S.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",S.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",S.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",S.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",S.textTransform,"uppercase")},$t=r.css`
131
114
  .ft-typography--title {
132
- font-family: ${pt};
133
- font-size: ${ht};
134
- font-weight: ${ft};
135
- letter-spacing: ${dt};
136
- line-height: ${ct};
137
- text-transform: ${ut};
138
- }
139
- `,fi=e.css`
115
+ font-family: ${C};
116
+ font-size: ${$};
117
+ font-weight: ${w};
118
+ letter-spacing: ${I};
119
+ line-height: ${U};
120
+ text-transform: ${R};
121
+ }
122
+ `,wt=r.css`
140
123
  .ft-typography--title-dense {
141
- font-family: ${xt};
142
- font-size: ${gt};
143
- font-weight: ${yt};
144
- letter-spacing: ${bt};
145
- line-height: ${vt};
146
- text-transform: ${mt};
147
- }
148
- `,di=e.css`
124
+ font-family: ${W};
125
+ font-size: ${k};
126
+ font-weight: ${E};
127
+ letter-spacing: ${L};
128
+ line-height: ${K};
129
+ text-transform: ${Z};
130
+ }
131
+ `,It=r.css`
149
132
  .ft-typography--subtitle1 {
150
- font-family: ${$t};
151
- font-size: ${wt};
152
- font-weight: ${kt};
153
- letter-spacing: ${zt};
154
- line-height: ${St};
155
- text-transform: ${Nt};
156
- }
157
- `,ci=e.css`
133
+ font-family: ${z};
134
+ font-size: ${F};
135
+ font-weight: ${B};
136
+ letter-spacing: ${D};
137
+ line-height: ${H};
138
+ text-transform: ${A};
139
+ }
140
+ `,Ut=r.css`
158
141
  .ft-typography--subtitle2 {
159
- font-family: ${Ot};
160
- font-size: ${jt};
161
- font-weight: ${Ct};
162
- letter-spacing: ${Et};
163
- line-height: ${It};
164
- text-transform: ${Tt};
142
+ font-family: ${G};
143
+ font-size: ${j};
144
+ font-weight: ${P};
145
+ letter-spacing: ${M};
146
+ line-height: ${T};
147
+ text-transform: ${_};
165
148
  }
166
149
 
167
- `,ui=e.css`
150
+ `,Rt=r.css`
168
151
  .ft-typography--body1 {
169
- font-family: ${At};
170
- font-size: ${Bt};
171
- font-weight: ${Ft};
172
- letter-spacing: ${Mt};
173
- line-height: ${_t};
174
- text-transform: ${Zt};
175
- }
176
- `,xi=e.css`
152
+ font-family: ${Y};
153
+ font-size: ${V};
154
+ font-weight: ${q};
155
+ letter-spacing: ${X};
156
+ line-height: ${J};
157
+ text-transform: ${Q};
158
+ }
159
+ `,Wt=r.css`
177
160
  .ft-typography--body2 {
178
- font-family: ${Ut};
179
- font-size: ${Rt};
180
- font-weight: ${Pt};
181
- letter-spacing: ${Wt};
182
- line-height: ${Dt};
183
- text-transform: ${Ht};
184
- }
185
- `,gi=e.css`
161
+ font-family: ${tt};
162
+ font-size: ${ot};
163
+ font-weight: ${et};
164
+ letter-spacing: ${rt};
165
+ line-height: ${at};
166
+ text-transform: ${it};
167
+ }
168
+ `,kt=r.css`
186
169
  .ft-typography--caption {
187
- font-family: ${Kt};
188
- font-size: ${Lt};
189
- font-weight: ${Gt};
190
- letter-spacing: ${qt};
191
- line-height: ${Vt};
192
- text-transform: ${Xt};
193
- }
194
- `,yi=e.css`
170
+ font-family: ${nt};
171
+ font-size: ${lt};
172
+ font-weight: ${ct};
173
+ letter-spacing: ${pt};
174
+ line-height: ${ft};
175
+ text-transform: ${st};
176
+ }
177
+ `,Et=r.css`
195
178
  .ft-typography--breadcrumb {
196
- font-family: ${Yt};
197
- font-size: ${Jt};
198
- font-weight: ${Qt};
199
- letter-spacing: ${ti};
200
- line-height: ${ii};
201
- text-transform: ${ei};
202
- }
203
- `,bi=e.css`
179
+ font-family: ${dt};
180
+ font-size: ${ht};
181
+ font-weight: ${yt};
182
+ letter-spacing: ${gt};
183
+ line-height: ${bt};
184
+ text-transform: ${ut};
185
+ }
186
+ `,Lt=r.css`
204
187
  .ft-typography--overline {
205
- font-family: ${oi};
206
- font-size: ${ni};
207
- font-weight: ${si};
208
- letter-spacing: ${ri};
209
- line-height: ${li};
210
- text-transform: ${ai};
211
- }
212
- `,vi=e.css`
188
+ font-family: ${mt};
189
+ font-size: ${xt};
190
+ font-weight: ${Ot};
191
+ letter-spacing: ${Nt};
192
+ line-height: ${vt};
193
+ text-transform: ${St};
194
+ }
195
+ `,Kt=r.css`
213
196
  .ft-typography--button {
214
- font-family: ${pi.fontFamily};
215
- font-size: ${pi.fontSize};
216
- font-weight: ${pi.fontWeight};
217
- letter-spacing: ${pi.letterSpacing};
218
- line-height: ${pi.lineHeight};
219
- text-transform: ${pi.textTransform};
220
- }
221
- `,mi=e.css`
197
+ font-family: ${Ct.fontFamily};
198
+ font-size: ${Ct.fontSize};
199
+ font-weight: ${Ct.fontWeight};
200
+ letter-spacing: ${Ct.letterSpacing};
201
+ line-height: ${Ct.lineHeight};
202
+ text-transform: ${Ct.textTransform};
203
+ }
204
+ `,Zt=r.css`
222
205
  .ft-typography {
223
206
  vertical-align: inherit;
224
207
  }
225
- `;var $i=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class wi extends i.FtLitElement{constructor(){super(...arguments),this.variant=st.body1}render(){return this.element?nt`
226
- <${et(this.element)}
227
- class="ft-typography ft-typography--${this.variant}">
228
- <slot></slot>
229
- </${et(this.element)}>
230
- `:nt`
231
- <slot class="ft-typography ft-typography--${this.variant}"></slot>
232
- `}}wi.styles=[hi,fi,di,ci,ui,xi,gi,yi,bi,vi,mi],$i([o.property()],wi.prototype,"element",void 0),$i([o.property()],wi.prototype,"variant",void 0),i.customElement("ft-typography")(wi);const ki=i.FtCssVariableFactory.create("--ft-tooltip-distance","SIZE","4px"),zi=i.FtCssVariableFactory.create("--ft-tooltip-color","COLOR","#FFFFFF"),Si=i.FtCssVariableFactory.create("--ft-tooltip-background-color","COLOR","#666666"),Ni=i.FtCssVariableFactory.create("--ft-tooltip-z-index","NUMBER","100"),Oi=i.FtCssVariableFactory.external(i.designSystemVariables.borderRadiusS,"Design system"),ji=i.FtCssVariableFactory.create("--ft-tooltip-max-width","SIZE","150px"),Ci=e.css`
233
- .ft-tooltip--container {
234
- display: block;
235
- }
236
-
237
- .ft-tooltip--inline {
238
- display: inline-block;
239
- max-width: 100%;
240
- }
241
-
242
- .ft-tooltip {
243
- position: absolute;
244
- box-sizing: border-box;
245
- overflow: hidden;
246
- width: max-content;
247
- max-width: ${ji};
248
- text-align: center;
249
- padding: ${ki};
250
- z-index: ${Ni};
251
- }
252
-
253
- .ft-tooltip--content {
254
- padding: 4px 8px;
255
- border-radius: ${Oi};
256
- background-color: ${Si};
257
- color: ${zi};
258
- position: relative;
259
- word-break: break-word;
260
- }
261
- `;var Ei=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class Ii extends i.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 i.Debouncer,this.revealDebouncer=new i.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
262
- <div part="container"
263
- class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
264
- @mouseenter=${this.onHover}
265
- @mouseleave=${this.onOut}
266
- @focusin=${this.onHover}
267
- @focusout=${this.onOut}
268
- @touchstart=${this.onTouch}>
269
- <slot></slot>
270
- <div part="tooltip" role="tooltip" inert
271
- class="ft-tooltip ft-tooltip--${this.validPosition}"
272
- ?hidden=${!this.visible}>
273
- <div part="tooltip-content" class="ft-tooltip--content">
274
- <slot name="text"></slot>
275
- <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
276
- </div>
277
- </div>
278
- </div>
279
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((i=>t.has(i)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const i=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,o=(t.offsetHeight-e)/2,n=(t.offsetWidth-i)/2;let s=0,r=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":r=t.offsetTop-e-this.tooltip.offsetTop,s=t.offsetLeft+n-this.tooltip.offsetLeft;break;case"bottom":r=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,s=t.offsetLeft+n-this.tooltip.offsetLeft;break;case"left":r=t.offsetTop+o-this.tooltip.offsetTop,s=t.offsetLeft-i-this.tooltip.offsetLeft;break;case"right":r=t.offsetTop+o-this.tooltip.offsetTop,s=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=s+"px",l.top=r+"px";const a=this.tooltip.getBoundingClientRect();let p=-a.x,h=a.x+a.width-window.innerWidth;l.left=s+Math.round(this.correctOutOfWindowPixels(p,h))+"px";let f=-a.y,d=a.y+a.height-window.innerHeight;l.top=r+Math.round(this.correctOutOfWindowPixels(f,d))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${ji})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,i){return Math.max(t,Math.min(0,-i))}}Ii.elementDefinitions={"ft-typography":wi},Ii.styles=Ci,Ei([o.property()],Ii.prototype,"text",void 0),Ei([o.property({type:Boolean})],Ii.prototype,"manual",void 0),Ei([o.property({type:Boolean})],Ii.prototype,"inline",void 0),Ei([o.property({type:Number})],Ii.prototype,"delay",void 0),Ei([o.property()],Ii.prototype,"position",void 0),Ei([o.queryAssignedNodes("",!0)],Ii.prototype,"slotNodes",void 0),Ei([o.query(".ft-tooltip--container")],Ii.prototype,"container",void 0),Ei([o.query(".ft-tooltip")],Ii.prototype,"tooltip",void 0),Ei([o.query(".ft-tooltip--content")],Ii.prototype,"tooltipContent",void 0),Ei([o.state()],Ii.prototype,"visible",void 0),i.customElement("ft-tooltip")(Ii);const Ti={color:i.FtCssVariableFactory.extend("--ft-loader-color",i.designSystemVariables.colorPrimary),size:i.FtCssVariableFactory.create("--ft-loader-size","SIZE","80px")},Ai=e.css`
208
+ `,zt=[Object.keys(m).map((t=>function(t){const o=m[t];return r.css`
209
+ .ft-typography--${r.unsafeCSS(t)} {
210
+ font-family: ${o.fontFamily};
211
+ font-size: ${o.fontSize};
212
+ font-weight: ${o.fontWeight};
213
+ letter-spacing: ${o.letterSpacing};
214
+ line-height: ${o.lineHeight};
215
+ text-transform: ${o.textCase};
216
+ }
217
+ `}(t)))],Ft={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Bt=r.css`
280
218
  :host {
281
219
  line-height: 0;
282
220
  }
@@ -285,8 +223,8 @@ const tt=Symbol.for(""),it=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
285
223
  display: inline-block;
286
224
  position: relative;
287
225
 
288
- width: ${Ti.size};
289
- height: ${Ti.size};
226
+ width: ${Ft.size};
227
+ height: ${Ft.size};
290
228
  }
291
229
 
292
230
  .ft-loader div {
@@ -295,7 +233,7 @@ const tt=Symbol.for(""),it=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
295
233
  width: 25%;
296
234
  height: 25%;
297
235
  border-radius: 50%;
298
- background: ${Ti.color};
236
+ background: ${Ft.color};
299
237
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
300
238
  }
301
239
 
@@ -342,17 +280,10 @@ const tt=Symbol.for(""),it=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
342
280
  transform: translate(0, 0);
343
281
  }
344
282
  100% {
345
- transform: translate(calc(0.35 * ${Ti.size}), 0);
283
+ transform: translate(calc(0.35 * ${Ft.size}), 0);
346
284
  }
347
285
  }
348
- `;class Bi extends i.FtLitElement{render(){return e.html`
349
- <div class="ft-loader">
350
- <div></div>
351
- <div></div>
352
- <div></div>
353
- <div></div>
354
- </div>
355
- `}}var Fi,Mi;Bi.styles=Ai,i.customElement("ft-loader")(Bi),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Fi||(Fi={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Mi||(Mi={})),new Map([...["abw"].map((t=>[t,Mi.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Mi.AUDIO])),...["avi"].map((t=>[t,Mi.AVI])),...["chm","xhs"].map((t=>[t,Mi.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Mi.CODE])),...["csv"].map((t=>[t,Mi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Mi.DITA])),...["epub"].map((t=>[t,Mi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Mi.EXCEL])),...["flac"].map((t=>[t,Mi.FLAC])),...["gif"].map((t=>[t,Mi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Mi.GZIP])),...["html","htm","xhtml"].map((t=>[t,Mi.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Mi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Mi.JPEG])),...["json"].map((t=>[t,Mi.JSON])),...["m4a","m4p"].map((t=>[t,Mi.M4A])),...["mov","qt"].map((t=>[t,Mi.MOV])),...["mp3"].map((t=>[t,Mi.MP3])),...["mp4","m4v"].map((t=>[t,Mi.MP4])),...["ogg","oga"].map((t=>[t,Mi.OGG])),...["pdf","ps"].map((t=>[t,Mi.PDF])),...["png"].map((t=>[t,Mi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Mi.POWERPOINT])),...["rar"].map((t=>[t,Mi.RAR])),...["stp"].map((t=>[t,Mi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Mi.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Mi.VIDEO])),...["wav"].map((t=>[t,Mi.WAV])),...["wma"].map((t=>[t,Mi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Mi.WORD])),...["xml","xsl","rdf"].map((t=>[t,Mi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Mi.YAML])),...["zip"].map((t=>[t,Mi.ZIP]))]);const _i={size:i.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariableFactory.extend("--ft-icon-material-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:i.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset")},Zi=e.css`
286
+ `,Dt={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ht=r.css`
356
287
  :host, i.ft-icon {
357
288
  display: inline-flex;
358
289
  align-items: center;
@@ -361,14 +292,14 @@ const tt=Symbol.for(""),it=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
361
292
  }
362
293
 
363
294
  :host {
364
- width: ${_i.size};
365
- height: ${_i.size};
295
+ width: ${Dt.size};
296
+ height: ${Dt.size};
366
297
  }
367
298
 
368
299
  i.ft-icon {
369
300
  width: 100%;
370
301
  height: 100%;
371
- font-size: ${_i.size};
302
+ font-size: ${Dt.size};
372
303
  line-height: 1;
373
304
  font-weight: normal;
374
305
  text-transform: none;
@@ -379,33 +310,28 @@ const tt=Symbol.for(""),it=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
379
310
  text-rendering: auto;
380
311
  -webkit-font-smoothing: antialiased;
381
312
  -moz-osx-font-smoothing: grayscale;
382
- vertical-align: ${_i.verticalAlign};
313
+ vertical-align: ${Dt.verticalAlign};
383
314
  }
384
315
 
385
316
  i.ft-icon.ft-icon--fluid-topics {
386
- font-family: ${_i.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
317
+ font-family: ${Dt.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
387
318
 
388
319
  /* Ugly fix because font is broken */
389
- font-size: calc(0.75 * ${_i.size});
390
- line-height: ${_i.size};
320
+ font-size: calc(0.75 * ${Dt.size});
321
+ line-height: ${Dt.size};
391
322
  position: relative;
392
323
  top: -4%;
393
324
  justify-content: center;
394
325
  }
395
326
 
396
327
  .ft-icon--file-format {
397
- font-family: ${_i.fileFormatFontFamily}, ft-mime, sans-serif;
328
+ font-family: ${Dt.fileFormatFontFamily}, ft-mime, sans-serif;
398
329
  }
399
330
 
400
331
  .ft-icon--material {
401
- font-family: ${_i.materialFontFamily}, "Material Icons", sans-serif;
332
+ font-family: ${Dt.materialFontFamily}, "Material Icons", sans-serif;
402
333
  }
403
- `;var Ui;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ui||(Ui={}));var Ri=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class Pi extends i.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Ui).includes(this.variant)?this.variant:Ui.fluid_topics,i=t!==Ui.material||!!this.value;return e.html`
404
- <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
405
- ${s.unsafeHTML(this.resolvedIcon)}
406
- <slot ?hidden=${i}></slot>
407
- </i>
408
- `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}update(t){super.update(t),["value","variant"].some((i=>t.has(i)))&&this.resolveIcon()}resolveIcon(){var t,i;let o=this.value||this.textContent;switch(this.variant){case Ui.file_format:this.resolvedIcon=null!==(t=Mi[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Ui.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(i=Fi[o.replace("-","_").toUpperCase()])&&void 0!==i?i:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Pi.elementDefinitions={},Pi.styles=Zi,Ri([o.property()],Pi.prototype,"variant",void 0),Ri([o.property()],Pi.prototype,"value",void 0),Ri([o.state()],Pi.prototype,"resolvedIcon",void 0),Ri([o.query("slot")],Pi.prototype,"slottedContent",void 0),i.customElement("ft-icon")(Pi);const Wi=i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorPrimary),Di={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorSurface),borderRadius:i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusL),color:Wi,fontSize:i.FtCssVariableFactory.extend("--ft-button-font-size",pi.fontSize),iconSize:i.FtCssVariableFactory.create("--ft-button-icon-size","SIZE","24px"),rippleColor:i.FtCssVariableFactory.extend("--ft-button-ripple-color",Wi),verticalPadding:i.FtCssVariableFactory.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:i.FtCssVariableFactory.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:i.FtCssVariableFactory.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},Hi=i.FtCssVariableFactory.extend("--ft-button-primary-color",i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorOnPrimary)),Ki={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-primary-background-color",i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorPrimary)),color:Hi,rippleColor:i.FtCssVariableFactory.extend("--ft-button-primary-ripple-color",Hi)},Li={borderRadius:i.FtCssVariableFactory.extend("--ft-button-dense-border-radius",i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusM)),verticalPadding:i.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","SIZE","2px"),horizontalPadding:i.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","SIZE","4px"),iconPadding:i.FtCssVariableFactory.create("--ft-button-dense-icon-padding","SIZE","4px")},Gi=[e.css`
334
+ `,At=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Gt={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:At,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",Ct.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",At),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")},jt=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Pt={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:jt,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",jt)},Mt={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")},Tt=[r.css`
409
335
  :host {
410
336
  display: inline-block;
411
337
  max-width: 100%;
@@ -416,7 +342,7 @@ const tt=Symbol.for(""),it=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
416
342
  box-shadow: 0px 0px 0px transparent;
417
343
  border: 0px solid transparent;
418
344
  text-shadow: 0px 0px 0px transparent;
419
- font-size: ${Di.fontSize};
345
+ font-size: ${Gt.fontSize};
420
346
  }
421
347
 
422
348
  button:hover {
@@ -445,31 +371,31 @@ const tt=Symbol.for(""),it=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
445
371
  border: none;
446
372
  pointer-events: auto;
447
373
 
448
- --ft-button-internal-line-height: max(calc(${Di.fontSize} + 2px), ${Di.iconSize});
449
- --ft-button-internal-color: ${Di.color};
450
- ${i.setVariable(_i.size,Di.iconSize)};
451
- ${i.setVariable(l.color,Di.rippleColor)};
374
+ --ft-button-internal-line-height: max(calc(${Gt.fontSize} + 2px), ${Gt.iconSize});
375
+ --ft-button-internal-color: ${Gt.color};
376
+ ${o.setVariable(Dt.size,Gt.iconSize)};
377
+ ${o.setVariable(l.color,Gt.rippleColor)};
452
378
 
453
- border-radius: ${Di.borderRadius};
454
- padding: ${Di.verticalPadding} ${Di.horizontalPadding};
455
- background-color: ${Di.backgroundColor};
379
+ border-radius: ${Gt.borderRadius};
380
+ padding: ${Gt.verticalPadding} ${Gt.horizontalPadding};
381
+ background-color: ${Gt.backgroundColor};
456
382
  color: var(--ft-button-internal-color);
457
383
  -webkit-mask-image: radial-gradient(white, black);
458
384
  }
459
385
 
460
386
  .ft-button.ft-button--outlined {
461
387
  border: 1px solid var(--ft-button-internal-color);
462
- padding: calc(${Di.verticalPadding} - 1px) calc(${Di.horizontalPadding} - 1px);
388
+ padding: calc(${Gt.verticalPadding} - 1px) calc(${Gt.horizontalPadding} - 1px);
463
389
  }
464
390
 
465
391
  .ft-button.ft-button--dense {
466
- padding: ${Li.verticalPadding} ${Li.horizontalPadding};
467
- border-radius: ${Li.borderRadius};
468
- gap: ${Li.iconPadding};
392
+ padding: ${Mt.verticalPadding} ${Mt.horizontalPadding};
393
+ border-radius: ${Mt.borderRadius};
394
+ gap: ${Mt.iconPadding};
469
395
  }
470
396
 
471
397
  .ft-button.ft-button--dense.ft-button--outlined {
472
- padding: calc(${Li.verticalPadding} - 1px) calc(${Li.horizontalPadding} - 1px);
398
+ padding: calc(${Mt.verticalPadding} - 1px) calc(${Mt.horizontalPadding} - 1px);
473
399
  }
474
400
 
475
401
  .ft-button:not([disabled]):hover {
@@ -477,22 +403,22 @@ const tt=Symbol.for(""),it=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
477
403
  }
478
404
 
479
405
  .ft-button--round {
480
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Di.verticalPadding});
406
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Gt.verticalPadding});
481
407
  }
482
408
 
483
409
  .ft-button--round.ft-button--dense {
484
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Li.verticalPadding});
410
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Mt.verticalPadding});
485
411
  }
486
412
 
487
413
  .ft-button[disabled] {
488
414
  filter: grayscale(1);
489
- opacity: ${Di.opacityDisabled};
415
+ opacity: ${Gt.opacityDisabled};
490
416
  }
491
417
 
492
418
  .ft-button.ft-button--primary {
493
- background-color: ${Ki.backgroundColor};
494
- --ft-button-internal-color: ${Ki.color};
495
- ${i.setVariable(l.color,Ki.rippleColor)};
419
+ background-color: ${Pt.backgroundColor};
420
+ --ft-button-internal-color: ${Pt.color};
421
+ ${o.setVariable(l.color,Pt.rippleColor)};
496
422
  }
497
423
 
498
424
  .ft-button:focus {
@@ -505,13 +431,13 @@ const tt=Symbol.for(""),it=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
505
431
  white-space: nowrap;
506
432
  text-overflow: ellipsis;
507
433
  display: block;
508
- margin: 0 ${Di.iconPadding};
509
- ${i.setVariable(pi.fontSize,"1em")};
510
- ${i.setVariable(pi.lineHeight,"var(--ft-button-internal-line-height)")};
434
+ margin: 0 ${Gt.iconPadding};
435
+ ${o.setVariable(Ct.fontSize,"1em")};
436
+ ${o.setVariable(Ct.lineHeight,"var(--ft-button-internal-line-height)")};
511
437
  }
512
438
 
513
439
  .ft-button--dense .ft-button--label {
514
- margin: 0 ${Li.iconPadding};
440
+ margin: 0 ${Mt.iconPadding};
515
441
  }
516
442
 
517
443
  .ft-button--label[hidden] {
@@ -524,13 +450,13 @@ const tt=Symbol.for(""),it=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
524
450
  }
525
451
 
526
452
  .ft-button--label[hidden] + ft-icon {
527
- margin: 0 calc(${Di.horizontalPadding} * -1);
528
- padding: 0 ${Di.verticalPadding};
453
+ margin: 0 calc(${Gt.horizontalPadding} * -1);
454
+ padding: 0 ${Gt.verticalPadding};
529
455
  }
530
456
 
531
457
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
532
- margin: 0 calc(${Li.horizontalPadding} * -1);
533
- padding: 0 ${Li.verticalPadding};
458
+ margin: 0 calc(${Mt.horizontalPadding} * -1);
459
+ padding: 0 ${Mt.verticalPadding};
534
460
  }
535
461
 
536
462
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -539,30 +465,331 @@ const tt=Symbol.for(""),it=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
539
465
  }
540
466
 
541
467
  ft-loader {
542
- ${i.setVariable(Ti.size,Di.iconSize)};
543
- ${i.setVariable(Ti.color,"var(--ft-button-internal-color)")};
468
+ ${o.setVariable(Ft.size,Gt.iconSize)};
469
+ ${o.setVariable(Ft.color,"var(--ft-button-internal-color)")};
544
470
  }
545
- `,i.noTextSelect];var qi=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class Vi extends(i.toFtFormComponent(i.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var i;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(i=this.form)||void 0===i||i.requestSubmit())}}render(){const t={"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};return this.addTooltipIfNeeded(e.html`
471
+ `,o.noTextSelect];var _t,Yt=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class Vt extends o.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 o.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:r,y:a}=this.getCoordinates(t),i=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-i.x:i.width/2),this.originY=Math.round(null!=a?a-i.y:i.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return r.html`
472
+ <style>
473
+ .ft-ripple .ft-ripple--effect {
474
+ left: ${this.originX}px;
475
+ top: ${this.originY}px;
476
+ }
477
+ </style>
478
+ <div class="${a.classMap(t)}">
479
+ <div class="ft-ripple--background"></div>
480
+ <div class="ft-ripple--effect"></div>
481
+ </div>
482
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),a=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",a),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",a),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,a;return null!=o.x?({x:r,y:a}=o):null!=e.touches&&(r=e.touches[0].clientX,a=e.touches[0].clientY),{x:r,y:a}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Vt.elementDefinitions={},Vt.styles=y,Yt([e.property({type:Boolean})],Vt.prototype,"primary",void 0),Yt([e.property({type:Boolean})],Vt.prototype,"secondary",void 0),Yt([e.property({type:Boolean})],Vt.prototype,"unbounded",void 0),Yt([e.property({type:Boolean})],Vt.prototype,"activated",void 0),Yt([e.property({type:Boolean})],Vt.prototype,"selected",void 0),Yt([e.property({type:Boolean})],Vt.prototype,"disabled",void 0),Yt([e.state()],Vt.prototype,"hovered",void 0),Yt([e.state()],Vt.prototype,"focused",void 0),Yt([e.state()],Vt.prototype,"pressed",void 0),Yt([e.state()],Vt.prototype,"rippling",void 0),Yt([e.state()],Vt.prototype,"originX",void 0),Yt([e.state()],Vt.prototype,"originY",void 0),Yt([e.query(".ft-ripple")],Vt.prototype,"ripple",void 0),Yt([e.query(".ft-ripple--effect")],Vt.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Vt);const qt=window,Xt=qt.trustedTypes,Jt=Xt?Xt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Qt="$lit$",to=`lit$${(Math.random()+"").slice(9)}$`,oo="?"+to,eo=`<${oo}>`,ro=document,ao=()=>ro.createComment(""),io=t=>null===t||"object"!=typeof t&&"function"!=typeof t,no=Array.isArray,lo="[ \t\n\f\r]",co=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,po=/-->/g,fo=/>/g,so=RegExp(`>|${lo}(?:([^\\s"'>=/]+)(${lo}*=${lo}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),ho=/'/g,yo=/"/g,go=/^(?:script|style|textarea|title)$/i,bo=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),uo=Symbol.for("lit-noChange"),mo=Symbol.for("lit-nothing"),xo=new WeakMap,Oo=ro.createTreeWalker(ro,129,null,!1),No=(t,o)=>{const e=t.length-1,r=[];let a,i=2===o?"<svg>":"",n=co;for(let o=0;o<e;o++){const e=t[o];let l,c,p=-1,f=0;for(;f<e.length&&(n.lastIndex=f,c=n.exec(e),null!==c);)f=n.lastIndex,n===co?"!--"===c[1]?n=po:void 0!==c[1]?n=fo:void 0!==c[2]?(go.test(c[2])&&(a=RegExp("</"+c[2],"g")),n=so):void 0!==c[3]&&(n=so):n===so?">"===c[0]?(n=null!=a?a:co,p=-1):void 0===c[1]?p=-2:(p=n.lastIndex-c[2].length,l=c[1],n=void 0===c[3]?so:'"'===c[3]?yo:ho):n===yo||n===ho?n=so:n===po||n===fo?n=co:(n=so,a=void 0);const s=n===so&&t[o+1].startsWith("/>")?" ":"";i+=n===co?e+eo:p>=0?(r.push(l),e.slice(0,p)+Qt+e.slice(p)+to+s):e+to+(-2===p?(r.push(void 0),o):s)}const l=i+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==Jt?Jt.createHTML(l):l,r]};class vo{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let a=0,i=0;const n=t.length-1,l=this.parts,[c,p]=No(t,o);if(this.el=vo.createElement(c,e),Oo.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=Oo.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(Qt)||o.startsWith(to)){const e=p[i++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+Qt).split(to),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:a,name:o[2],strings:t,ctor:"."===o[1]?Io:"?"===o[1]?Ro:"@"===o[1]?Wo:wo})}else l.push({type:6,index:a})}for(const o of t)r.removeAttribute(o)}if(go.test(r.tagName)){const t=r.textContent.split(to),o=t.length-1;if(o>0){r.textContent=Xt?Xt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],ao()),Oo.nextNode(),l.push({type:2,index:++a});r.append(t[o],ao())}}}else if(8===r.nodeType)if(r.data===oo)l.push({type:2,index:a});else{let t=-1;for(;-1!==(t=r.data.indexOf(to,t+1));)l.push({type:7,index:a}),t+=to.length-1}a++}}static createElement(t,o){const e=ro.createElement("template");return e.innerHTML=t,e}}function So(t,o,e=t,r){var a,i,n,l;if(o===uo)return o;let c=void 0!==r?null===(a=e._$Co)||void 0===a?void 0:a[r]:e._$Cl;const p=io(o)?void 0:o._$litDirective$;return(null==c?void 0:c.constructor)!==p&&(null===(i=null==c?void 0:c._$AO)||void 0===i||i.call(c,!1),void 0===p?c=void 0:(c=new p(t),c._$AT(t,e,r)),void 0!==r?(null!==(n=(l=e)._$Co)&&void 0!==n?n:l._$Co=[])[r]=c:e._$Cl=c),void 0!==c&&(o=So(t,c._$AS(t,o.values),c,r)),o}class Co{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:e},parts:r}=this._$AD,a=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:ro).importNode(e,!0);Oo.currentNode=a;let i=Oo.nextNode(),n=0,l=0,c=r[0];for(;void 0!==c;){if(n===c.index){let o;2===c.type?o=new $o(i,i.nextSibling,this,t):1===c.type?o=new c.ctor(i,c.name,c.strings,this,t):6===c.type&&(o=new ko(i,this,t)),this._$AV.push(o),c=r[++l]}n!==(null==c?void 0:c.index)&&(i=Oo.nextNode(),n++)}return a}v(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class $o{constructor(t,o,e,r){var a;this.type=2,this._$AH=mo,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(a=null==r?void 0:r.isConnected)||void 0===a||a}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=So(this,t,o),io(t)?t===mo||null==t||""===t?(this._$AH!==mo&&this._$AR(),this._$AH=mo):t!==this._$AH&&t!==uo&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>no(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==mo&&io(this._$AH)?this._$AA.nextSibling.data=t:this.$(ro.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,a="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=vo.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===a)this._$AH.v(e);else{const t=new Co(a,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=xo.get(t.strings);return void 0===o&&xo.set(t.strings,o=new vo(t)),o}T(t){no(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const a of t)r===o.length?o.push(e=new $o(this.k(ao()),this.k(ao()),this,this.options)):e=o[r],e._$AI(a),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class wo{constructor(t,o,e,r,a){this.type=1,this._$AH=mo,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=a,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=mo}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const a=this.strings;let i=!1;if(void 0===a)t=So(this,t,o,0),i=!io(t)||t!==this._$AH&&t!==uo,i&&(this._$AH=t);else{const r=t;let n,l;for(t=a[0],n=0;n<a.length-1;n++)l=So(this,r[e+n],o,n),l===uo&&(l=this._$AH[n]),i||(i=!io(l)||l!==this._$AH[n]),l===mo?t=mo:t!==mo&&(t+=(null!=l?l:"")+a[n+1]),this._$AH[n]=l}i&&!r&&this.j(t)}j(t){t===mo?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Io extends wo{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===mo?void 0:t}}const Uo=Xt?Xt.emptyScript:"";class Ro extends wo{constructor(){super(...arguments),this.type=4}j(t){t&&t!==mo?this.element.setAttribute(this.name,Uo):this.element.removeAttribute(this.name)}}class Wo extends wo{constructor(t,o,e,r,a){super(t,o,e,r,a),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=So(this,t,o,0))&&void 0!==e?e:mo)===uo)return;const r=this._$AH,a=t===mo&&r!==mo||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,i=t!==mo&&(r===mo||a);a&&this.element.removeEventListener(this.name,this,r),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class ko{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){So(this,t)}}const Eo=qt.litHtmlPolyfillSupport;null==Eo||Eo(vo,$o),(null!==(_t=qt.litHtmlVersions)&&void 0!==_t?_t:qt.litHtmlVersions=[]).push("2.7.3");
483
+ /**
484
+ * @license
485
+ * Copyright 2020 Google LLC
486
+ * SPDX-License-Identifier: BSD-3-Clause
487
+ */
488
+ const Lo=Symbol.for(""),Ko=t=>{if((null==t?void 0:t.r)===Lo)return null==t?void 0:t._$litStatic$},Zo=t=>({_$litStatic$:t,r:Lo}),zo=new Map,Fo=(t=>(o,...e)=>{const r=e.length;let a,i;const n=[],l=[];let c,p=0,f=!1;for(;p<r;){for(c=o[p];p<r&&void 0!==(i=e[p],a=Ko(i));)c+=a+o[++p],f=!0;p!==r&&l.push(i),n.push(c),p++}if(p===r&&n.push(o[r]),f){const t=n.join("$$lit$$");void 0===(o=zo.get(t))&&(n.raw=n,zo.set(t,o=n)),e=l}return t(o,...e)})(bo);var Bo;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Bo||(Bo={}));var Do=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class Ho extends o.FtLitElement{constructor(){super(...arguments),this.variant=Bo.body1}render(){return this.element?Fo`
489
+ <${Zo(this.element)}
490
+ class="ft-typography ft-typography--${this.variant}">
491
+ <slot></slot>
492
+ </${Zo(this.element)}>
493
+ `:Fo`
494
+ <slot class="ft-typography ft-typography--${this.variant}"></slot>
495
+ `}}Ho.styles=[$t,wt,It,Ut,Rt,Wt,kt,Et,Lt,Kt,Zt,...zt],Do([e.property()],Ho.prototype,"element",void 0),Do([e.property()],Ho.prototype,"variant",void 0),o.customElement("ft-typography")(Ho);const Ao=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),Go=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),jo=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),Po=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),Mo=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),To=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),_o=r.css`
496
+ .ft-tooltip--container {
497
+ display: block;
498
+ }
499
+
500
+ .ft-tooltip--inline {
501
+ display: inline-block;
502
+ max-width: 100%;
503
+ }
504
+
505
+ .ft-tooltip {
506
+ position: absolute;
507
+ box-sizing: border-box;
508
+ overflow: hidden;
509
+ width: max-content;
510
+ max-width: ${To};
511
+ text-align: center;
512
+ padding: ${Ao};
513
+ z-index: ${Po};
514
+ }
515
+
516
+ .ft-tooltip--content {
517
+ padding: 4px 8px;
518
+ border-radius: ${Mo};
519
+ background-color: ${jo};
520
+ color: ${Go};
521
+ position: relative;
522
+ word-break: break-word;
523
+ }
524
+ `;var Yo,Vo,qo,Xo=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class Jo extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return r.html`
525
+ <div part="container"
526
+ class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
527
+ @mouseenter=${this.onHover}
528
+ @mouseleave=${this.onOut}
529
+ @focusin=${this.onHover}
530
+ @focusout=${this.onOut}
531
+ @touchstart=${this.onTouch}>
532
+ <slot></slot>
533
+ <div part="tooltip" role="tooltip" inert
534
+ class="ft-tooltip ft-tooltip--${this.validPosition}"
535
+ ?hidden=${!this.visible}>
536
+ <div part="tooltip-content" class="ft-tooltip--content">
537
+ <slot name="text"></slot>
538
+ <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
539
+ </div>
540
+ </div>
541
+ </div>
542
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,r=(t.offsetHeight-e)/2,a=(t.offsetWidth-o)/2;let i=0,n=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":n=t.offsetTop-e-this.tooltip.offsetTop,i=t.offsetLeft+a-this.tooltip.offsetLeft;break;case"bottom":n=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,i=t.offsetLeft+a-this.tooltip.offsetLeft;break;case"left":n=t.offsetTop+r-this.tooltip.offsetTop,i=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":n=t.offsetTop+r-this.tooltip.offsetTop,i=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=i+"px",l.top=n+"px";const c=this.tooltip.getBoundingClientRect();let p=-c.x,f=c.x+c.width-window.innerWidth;l.left=i+Math.round(this.correctOutOfWindowPixels(p,f))+"px";let s=-c.y,d=c.y+c.height-window.innerHeight;l.top=n+Math.round(this.correctOutOfWindowPixels(s,d))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${To})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Jo.elementDefinitions={"ft-typography":Ho},Jo.styles=_o,Xo([e.property()],Jo.prototype,"text",void 0),Xo([e.property({type:Boolean})],Jo.prototype,"manual",void 0),Xo([e.property({type:Boolean})],Jo.prototype,"inline",void 0),Xo([e.property({type:Number})],Jo.prototype,"delay",void 0),Xo([e.property()],Jo.prototype,"position",void 0),Xo([e.queryAssignedNodes("",!0)],Jo.prototype,"slotNodes",void 0),Xo([e.query(".ft-tooltip--container")],Jo.prototype,"container",void 0),Xo([e.query(".ft-tooltip")],Jo.prototype,"tooltip",void 0),Xo([e.query(".ft-tooltip--content")],Jo.prototype,"tooltipContent",void 0),Xo([e.state()],Jo.prototype,"visible",void 0),o.customElement("ft-tooltip")(Jo),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Yo||(Yo={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Vo||(Vo={})),new Map([...["abw"].map((t=>[t,Vo.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Vo.AUDIO])),...["avi"].map((t=>[t,Vo.AVI])),...["chm","xhs"].map((t=>[t,Vo.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Vo.CODE])),...["csv"].map((t=>[t,Vo.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Vo.DITA])),...["epub"].map((t=>[t,Vo.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Vo.EXCEL])),...["flac"].map((t=>[t,Vo.FLAC])),...["gif"].map((t=>[t,Vo.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Vo.GZIP])),...["html","htm","xhtml"].map((t=>[t,Vo.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Vo.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Vo.JPEG])),...["json"].map((t=>[t,Vo.JSON])),...["m4a","m4p"].map((t=>[t,Vo.M4A])),...["mov","qt"].map((t=>[t,Vo.MOV])),...["mp3"].map((t=>[t,Vo.MP3])),...["mp4","m4v"].map((t=>[t,Vo.MP4])),...["ogg","oga"].map((t=>[t,Vo.OGG])),...["pdf","ps"].map((t=>[t,Vo.PDF])),...["png"].map((t=>[t,Vo.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Vo.POWERPOINT])),...["rar"].map((t=>[t,Vo.RAR])),...["stp"].map((t=>[t,Vo.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Vo.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Vo.VIDEO])),...["wav"].map((t=>[t,Vo.WAV])),...["wma"].map((t=>[t,Vo.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Vo.WORD])),...["xml","xsl","rdf"].map((t=>[t,Vo.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Vo.YAML])),...["zip"].map((t=>[t,Vo.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(qo||(qo={}));var Qo=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class te extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=r.nothing}render(){const t=this.variant&&Object.values(qo).includes(this.variant)?this.variant:qo.fluid_topics,o=t!==qo.material||!!this.value;return r.html`
543
+ <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
544
+ ${i.unsafeHTML(this.resolvedIcon)}
545
+ <slot ?hidden=${o}></slot>
546
+ </i>
547
+ `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case qo.file_format:this.resolvedIcon=null!==(t=Vo[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case qo.material:this.resolvedIcon=this.value||r.nothing;break;default:this.resolvedIcon=null!==(o=Yo[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}te.elementDefinitions={},te.styles=Ht,Qo([e.property()],te.prototype,"variant",void 0),Qo([e.property()],te.prototype,"value",void 0),Qo([e.state()],te.prototype,"resolvedIcon",void 0),Qo([e.query("slot")],te.prototype,"slottedContent",void 0),o.customElement("ft-icon")(te);class oe extends o.FtLitElement{render(){return r.html`
548
+ <div class="ft-loader">
549
+ <div></div>
550
+ <div></div>
551
+ <div></div>
552
+ <div></div>
553
+ </div>
554
+ `}}oe.styles=Bt,o.customElement("ft-loader")(oe);var ee=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class re extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(r.html`
546
555
  <button part="button"
547
- class="${n.classMap(t)}"
556
+ class="${a.classMap(this.buttonClasses)}"
548
557
  aria-label="${this.getLabel()}"
549
558
  ?disabled=${this.isDisabled()}>
550
559
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
551
560
  <ft-typography part="label"
552
- variant="button"
561
+ variant=${this.typographyVariant}
553
562
  element="span"
554
- class="ft-button--label ${i.isSafari?"ft-safari-ellipsis-fix":""}"
563
+ class="ft-button--label ${o.isSafari?"ft-safari-ellipsis-fix":""}"
555
564
  ?hidden=${!this.hasTextContent()}>
556
565
  <slot @slotchange=${this.onSlotchange}></slot>
557
566
  </ft-typography>
558
567
  ${this.resolveIcon()}
559
568
  </button>
560
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?e.html`
569
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?r.html`
561
570
  <ft-tooltip part="tooltip"
562
571
  text="${this.getLabel()}"
563
572
  position="${this.tooltipPosition}">
564
573
  ${t}
565
574
  </ft-tooltip>
566
- `:t}resolveIcon(){return this.loading?e.html`
567
- <ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
568
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Vi.elementDefinitions={"ft-ripple":y,"ft-tooltip":Ii,"ft-typography":wi,"ft-icon":Pi,"ft-loader":Bi},Vi.styles=[i.safariEllipsisFix,Gi],qi([o.property({type:String,reflect:!0})],Vi.prototype,"role",void 0),qi([o.property()],Vi.prototype,"type",void 0),qi([o.property({type:Boolean})],Vi.prototype,"primary",void 0),qi([o.property({type:Boolean})],Vi.prototype,"outlined",void 0),qi([o.property({type:Boolean})],Vi.prototype,"disabled",void 0),qi([o.property({type:Boolean})],Vi.prototype,"dense",void 0),qi([o.property({type:Boolean})],Vi.prototype,"round",void 0),qi([o.property()],Vi.prototype,"label",void 0),qi([o.property()],Vi.prototype,"icon",void 0),qi([o.property()],Vi.prototype,"iconVariant",void 0),qi([o.property({type:Boolean})],Vi.prototype,"trailingIcon",void 0),qi([o.property({type:Boolean})],Vi.prototype,"loading",void 0),qi([o.property()],Vi.prototype,"tooltipPosition",void 0),qi([o.property({type:Boolean})],Vi.prototype,"hideTooltip",void 0),qi([o.property({type:Boolean})],Vi.prototype,"forceTooltip",void 0),qi([o.query(".ft-button")],Vi.prototype,"button",void 0),qi([o.query(".ft-button--label slot")],Vi.prototype,"slottedContent",void 0),i.customElement("ft-button")(Vi),t.FtButton=Vi,t.FtButtonCssVariables=Di,t.FtButtonDenseCssVariables=Li,t.FtButtonPrimaryCssVariables=Ki,t.styles=Gi}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
575
+ `:t}resolveIcon(){return this.loading?r.html`
576
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?r.html`
577
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:r.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}re.elementDefinitions={"ft-ripple":Vt,"ft-tooltip":Jo,"ft-typography":Ho,"ft-icon":te,"ft-loader":oe},ee([e.property({type:String,reflect:!0})],re.prototype,"role",void 0),ee([e.property()],re.prototype,"type",void 0),ee([e.property({type:Boolean})],re.prototype,"disabled",void 0),ee([e.property()],re.prototype,"label",void 0),ee([e.property()],re.prototype,"icon",void 0),ee([e.property()],re.prototype,"iconVariant",void 0),ee([e.property({type:Boolean})],re.prototype,"trailingIcon",void 0),ee([e.property({type:Boolean})],re.prototype,"loading",void 0),ee([e.property()],re.prototype,"tooltipPosition",void 0),ee([e.property({type:Boolean})],re.prototype,"hideTooltip",void 0),ee([e.property({type:Boolean})],re.prototype,"forceTooltip",void 0),ee([e.query(".ft-button")],re.prototype,"button",void 0),ee([e.query(".ft-button--label slot")],re.prototype,"slottedContent",void 0);var ae=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class ie extends re{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!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"}}ie.styles=[o.safariEllipsisFix,Tt],ae([e.property({type:Boolean})],ie.prototype,"primary",void 0),ae([e.property({type:Boolean})],ie.prototype,"outlined",void 0),ae([e.property({type:Boolean})],ie.prototype,"disabled",void 0),ae([e.property({type:Boolean})],ie.prototype,"dense",void 0),ae([e.property({type:Boolean})],ie.prototype,"round",void 0);const ne=[r.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: ${O.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
+ /** Primary styles **/
654
+
655
+ .ft-button--primary {
656
+ ${o.setVariable(Ft.color,O.primaryIconColor)};
657
+
658
+ ${o.setVariable(l.color,O.primaryStateLayerColor)};
659
+ ${o.setVariable(l.opacityContentOnSurfaceHover,O.primaryStateLayerOpacityHover)};
660
+ ${o.setVariable(l.opacityContentOnSurfaceFocused,O.primaryStateLayerOpacityFocus)};
661
+ ${o.setVariable(l.opacityContentOnSurfaceSelected,O.primaryStateLayerOpacityActive)};
662
+ ${o.setVariable(l.opacityContentOnSurfacePressed,O.primaryStateLayerOpacityActive)};
663
+
664
+ background-color: ${O.primaryBackgroundColor};
665
+ color: ${O.primaryColor};
666
+ border-style: none;
667
+ }
668
+
669
+ .ft-button--primary[disabled] {
670
+ opacity: ${O.primaryComponentOpacityDisabled};
671
+ }
672
+
673
+ .ft-button--primary ft-icon {
674
+ color: ${O.primaryIconColor};
675
+ }
676
+
677
+ /** Secondary styles **/
678
+
679
+ .ft-button--secondary {
680
+ ${o.setVariable(Ft.color,O.secondaryIconColor)};
681
+
682
+ ${o.setVariable(l.color,O.secondaryStateLayerColor)};
683
+ ${o.setVariable(l.opacityContentOnSurfaceHover,O.secondaryStateLayerOpacityHover)};
684
+ ${o.setVariable(l.opacityContentOnSurfaceFocused,O.secondaryStateLayerOpacityFocus)};
685
+ ${o.setVariable(l.opacityContentOnSurfaceSelected,O.secondaryStateLayerOpacityActive)};
686
+ ${o.setVariable(l.opacityContentOnSurfacePressed,O.secondaryStateLayerOpacityActive)};
687
+
688
+ background-color: ${O.secondaryBackgroundColor};
689
+ color: ${O.secondaryColor};
690
+ border-color: ${O.secondaryBorderColor};
691
+ border-style: solid;
692
+ }
693
+
694
+ .ft-button--secondary[disabled] {
695
+ opacity: ${O.secondaryComponentOpacityDisabled};
696
+ }
697
+
698
+ .ft-button--secondary ft-icon {
699
+ color: ${O.secondaryIconColor};
700
+ }
701
+
702
+ /** Tertiary styles **/
703
+
704
+ .ft-button--tertiary {
705
+ ${o.setVariable(Ft.color,O.tertiaryIconColor)};
706
+
707
+ ${o.setVariable(l.color,O.tertiaryStateLayerColor)};
708
+ ${o.setVariable(l.opacityContentOnSurfaceHover,O.tertiaryStateLayerOpacityHover)};
709
+ ${o.setVariable(l.opacityContentOnSurfaceFocused,O.tertiaryStateLayerOpacityFocus)};
710
+ ${o.setVariable(l.opacityContentOnSurfaceSelected,O.tertiaryStateLayerOpacityActive)};
711
+ ${o.setVariable(l.opacityContentOnSurfacePressed,O.tertiaryStateLayerOpacityActive)};
712
+
713
+ background-color: ${O.tertiaryBackgroundColor};
714
+ color: ${O.tertiaryColor};
715
+ border-style: none;
716
+ }
717
+
718
+ .ft-button--tertiary[disabled] {
719
+ opacity: ${O.tertiaryComponentOpacityDisabled};
720
+ }
721
+
722
+ .ft-button--tertiary ft-icon {
723
+ color: ${O.tertiaryIconColor};
724
+ }
725
+
726
+ /** Neutral styles **/
727
+
728
+ .ft-button--neutral {
729
+ ${o.setVariable(Ft.color,O.neutralIconColor)};
730
+
731
+ ${o.setVariable(l.backgroundColor,O.neutralStateLayerColor)};
732
+ ${o.setVariable(l.opacityContentOnSurfaceHover,O.neutralStateLayerOpacityHover)};
733
+ ${o.setVariable(l.opacityContentOnSurfaceFocused,O.neutralStateLayerOpacityFocus)};
734
+ ${o.setVariable(l.opacityContentOnSurfaceSelected,O.neutralStateLayerOpacityActive)};
735
+ ${o.setVariable(l.opacityContentOnSurfacePressed,O.neutralStateLayerOpacityActive)};
736
+
737
+ background-color: ${O.neutralBackgroundColor};
738
+ color: ${O.neutralColor};
739
+ border-style: none;
740
+ }
741
+
742
+ .ft-button--neutral[disabled] {
743
+ opacity: ${O.neutralComponentOpacityDisabled};
744
+ }
745
+
746
+ .ft-button--neutral ft-icon {
747
+ color: ${O.neutralIconColor};
748
+ }
749
+
750
+ /** Large styles **/
751
+
752
+ .ft-button--large {
753
+ ${o.setVariable(Dt.size,O.largeIconSize)};
754
+ ${o.setVariable(Ft.size,O.largeIconSize)};
755
+
756
+ height: ${O.largeHeight};
757
+ padding: 0 ${O.largeHorizontalPadding};
758
+ gap: ${O.largeGap};
759
+ border-radius: ${O.largeBorderRadius};
760
+ border-width: ${O.largeBorderWidth};
761
+ }
762
+
763
+ .ft-button--large:focus-visible {
764
+ outline-width: ${O.largeFocusOutlineWidth};
765
+ outline-offset: ${O.largeFocusOutlineOffset};
766
+ }
767
+
768
+ .ft-button--large.ft-button--icon-only {
769
+ width: ${O.largeIconOnlyWidth};
770
+ padding: unset;
771
+ }
772
+
773
+ /** Small styles **/
774
+
775
+ .ft-button--small {
776
+ ${o.setVariable(Dt.size,O.smallIconSize)};
777
+ ${o.setVariable(Ft.size,O.smallIconSize)};
778
+
779
+ height: ${O.smallHeight};
780
+ padding: 0 ${O.smallHorizontalPadding};
781
+ gap: ${O.smallGap};
782
+ border-radius: ${O.smallBorderRadius};
783
+ border-width: ${O.smallBorderWidth};
784
+ }
785
+
786
+ .ft-button--small:focus-visible {
787
+ outline-width: ${O.smallFocusOutlineWidth};
788
+ outline-offset: ${O.smallFocusOutlineOffset};
789
+ }
790
+
791
+ .ft-button--small.ft-button--icon-only {
792
+ width: ${O.smallIconOnlyWidth};
793
+ padding: unset;
794
+ }
795
+ `,o.noTextSelect];var le=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class ce extends re{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Bo.caption1medium:Bo.body2medium}}ce.styles=[o.safariEllipsisFix,ne],le([e.property({type:Boolean})],ce.prototype,"primary",void 0),le([e.property({type:Boolean})],ce.prototype,"secondary",void 0),le([e.property({type:Boolean})],ce.prototype,"tertiary",void 0),le([e.property({type:Boolean})],ce.prototype,"neutral",void 0),le([e.property({type:Boolean})],ce.prototype,"small",void 0),o.customElement("ft-button")(ie),o.customElement("ftds-button")(ce),t.FtButton=ie,t.FtButtonCssVariables=Gt,t.FtButtonDenseCssVariables=Mt,t.FtButtonPrimaryCssVariables=Pt,t.FtdsButton=ce,t.FtdsButtonCssVariables=O,t.classicStyles=Tt,t.designSystemStyles=ne}({},ftGlobals.wcUtils,ftGlobals.litDecorators,ftGlobals.lit,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);