@fluid-topics/ft-chip 1.0.63 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-chip.d.ts +1 -1
- package/build/ft-chip.light.js +227 -221
- package/build/ft-chip.min.js +336 -322
- package/package.json +7 -7
package/build/ft-chip.light.js
CHANGED
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
opacity: ${l.opacityContentOnSurfacePressed};
|
|
111
111
|
transform: translate(-50%, -50%) scale(1);
|
|
112
112
|
}
|
|
113
|
-
`;var y
|
|
113
|
+
`;var y=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class b 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:i}=this.getCoordinates(t),a=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-a.x:a.width/2),this.originY=Math.round(null!=i?i-a.y:a.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
114
|
<style>
|
|
115
115
|
.ft-ripple .ft-ripple--effect {
|
|
116
116
|
left: ${this.originX}px;
|
|
@@ -121,108 +121,114 @@
|
|
|
121
121
|
<div class="ft-ripple--background"></div>
|
|
122
122
|
<div class="ft-ripple--effect"></div>
|
|
123
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 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"),i=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",i),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",i),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,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}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()}}u.elementDefinitions={},u.styles=g,b([r.property({type:Boolean})],u.prototype,"primary",void 0),b([r.property({type:Boolean})],u.prototype,"secondary",void 0),b([r.property({type:Boolean})],u.prototype,"unbounded",void 0),b([r.property({type:Boolean})],u.prototype,"activated",void 0),b([r.property({type:Boolean})],u.prototype,"selected",void 0),b([r.property({type:Boolean})],u.prototype,"disabled",void 0),b([r.state()],u.prototype,"hovered",void 0),b([r.state()],u.prototype,"focused",void 0),b([r.state()],u.prototype,"pressed",void 0),b([r.state()],u.prototype,"rippling",void 0),b([r.state()],u.prototype,"originX",void 0),b([r.state()],u.prototype,"originY",void 0),b([r.query(".ft-ripple")],u.prototype,"ripple",void 0),b([r.query(".ft-ripple--effect")],u.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(u);const m=window,x=m.trustedTypes,O=x?x.createPolicy("lit-html",{createHTML:t=>t}):void 0,v="$lit$",N=`lit$${(Math.random()+"").slice(9)}$`,S="?"+N,$=`<${S}>`,C=document,w=()=>C.createComment(""),I=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,U="[ \t\n\f\r]",W=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,R=/-->/g,E=/>/g,L=RegExp(`>|${U}(?:([^\\s"'>=/]+)(${U}*=${U}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),z=/'/g,Z=/"/g,K=/^(?:script|style|textarea|title)$/i,F=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),B=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),H=new WeakMap,A=C.createTreeWalker(C,129,null,!1),G=(t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=W;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===W?"!--"===c[1]?n=R:void 0!==c[1]?n=E:void 0!==c[2]?(K.test(c[2])&&(i=RegExp("</"+c[2],"g")),n=L):void 0!==c[3]&&(n=L):n===L?">"===c[0]?(n=null!=i?i:W,p=-1):void 0===c[1]?p=-2:(p=n.lastIndex-c[2].length,l=c[1],n=void 0===c[3]?L:'"'===c[3]?Z:z):n===Z||n===z?n=L:n===R||n===E?n=W:(n=L,i=void 0);const s=n===L&&t[o+1].startsWith("/>")?" ":"";a+=n===W?e+$:p>=0?(r.push(l),e.slice(0,p)+v+e.slice(p)+N+s):e+N+(-2===p?(r.push(void 0),o):s)}const l=a+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==O?O.createHTML(l):l,r]};class j{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,a=0;const n=t.length-1,l=this.parts,[c,p]=G(t,o);if(this.el=j.createElement(c,e),A.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=A.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(v)||o.startsWith(N)){const e=p[a++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+v).split(N),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?Y:"?"===o[1]?q:"@"===o[1]?X:_})}else l.push({type:6,index:i})}for(const o of t)r.removeAttribute(o)}if(K.test(r.tagName)){const t=r.textContent.split(N),o=t.length-1;if(o>0){r.textContent=x?x.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],w()),A.nextNode(),l.push({type:2,index:++i});r.append(t[o],w())}}}else if(8===r.nodeType)if(r.data===S)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(N,t+1));)l.push({type:7,index:i}),t+=N.length-1}i++}}static createElement(t,o){const e=C.createElement("template");return e.innerHTML=t,e}}function P(t,o,e=t,r){var i,a,n,l;if(o===B)return o;let c=void 0!==r?null===(i=e._$Co)||void 0===i?void 0:i[r]:e._$Cl;const p=I(o)?void 0:o._$litDirective$;return(null==c?void 0:c.constructor)!==p&&(null===(a=null==c?void 0:c._$AO)||void 0===a||a.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=P(t,c._$AS(t,o.values),c,r)),o}class M{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,i=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:C).importNode(e,!0);A.currentNode=i;let a=A.nextNode(),n=0,l=0,c=r[0];for(;void 0!==c;){if(n===c.index){let o;2===c.type?o=new T(a,a.nextSibling,this,t):1===c.type?o=new c.ctor(a,c.name,c.strings,this,t):6===c.type&&(o=new J(a,this,t)),this._$AV.push(o),c=r[++l]}n!==(null==c?void 0:c.index)&&(a=A.nextNode(),n++)}return i}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 T{constructor(t,o,e,r){var i;this.type=2,this._$AH=D,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}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=P(this,t,o),I(t)?t===D||null==t||""===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==B&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>k(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!==D&&I(this._$AH)?this._$AA.nextSibling.data=t:this.$(C.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=j.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===i)this._$AH.v(e);else{const t=new M(i,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=H.get(t.strings);return void 0===o&&H.set(t.strings,o=new j(t)),o}T(t){k(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new T(this.k(w()),this.k(w()),this,this.options)):e=o[r],e._$AI(i),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 _{constructor(t,o,e,r,i){this.type=1,this._$AH=D,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=D}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=P(this,t,o,0),a=!I(t)||t!==this._$AH&&t!==B,a&&(this._$AH=t);else{const r=t;let n,l;for(t=i[0],n=0;n<i.length-1;n++)l=P(this,r[e+n],o,n),l===B&&(l=this._$AH[n]),a||(a=!I(l)||l!==this._$AH[n]),l===D?t=D:t!==D&&(t+=(null!=l?l:"")+i[n+1]),this._$AH[n]=l}a&&!r&&this.j(t)}j(t){t===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Y extends _{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===D?void 0:t}}const V=x?x.emptyScript:"";class q extends _{constructor(){super(...arguments),this.type=4}j(t){t&&t!==D?this.element.setAttribute(this.name,V):this.element.removeAttribute(this.name)}}class X extends _{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=P(this,t,o,0))&&void 0!==e?e:D)===B)return;const r=this._$AH,i=t===D&&r!==D||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,a=t!==D&&(r===D||i);i&&this.element.removeEventListener(this.name,this,r),a&&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 J{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){P(this,t)}}const Q=m.litHtmlPolyfillSupport;null==Q||Q(j,T),(null!==(y=m.litHtmlVersions)&&void 0!==y?y:m.litHtmlVersions=[]).push("2.7.3");
|
|
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 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"),i=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",i),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",i),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,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}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()}}b.elementDefinitions={},b.styles=g,y([r.property({type:Boolean})],b.prototype,"primary",void 0),y([r.property({type:Boolean})],b.prototype,"secondary",void 0),y([r.property({type:Boolean})],b.prototype,"unbounded",void 0),y([r.property({type:Boolean})],b.prototype,"activated",void 0),y([r.property({type:Boolean})],b.prototype,"selected",void 0),y([r.property({type:Boolean})],b.prototype,"disabled",void 0),y([r.state()],b.prototype,"hovered",void 0),y([r.state()],b.prototype,"focused",void 0),y([r.state()],b.prototype,"pressed",void 0),y([r.state()],b.prototype,"rippling",void 0),y([r.state()],b.prototype,"originX",void 0),y([r.state()],b.prototype,"originY",void 0),y([r.query(".ft-ripple")],b.prototype,"ripple",void 0),y([r.query(".ft-ripple--effect")],b.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(b);
|
|
125
|
+
/**
|
|
126
|
+
* @license
|
|
127
|
+
* Copyright 2017 Google LLC
|
|
128
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
129
|
+
*/
|
|
130
|
+
const u=globalThis,m=u.trustedTypes,x=m?m.createPolicy("lit-html",{createHTML:t=>t}):void 0,O="$lit$",v=`lit$${(Math.random()+"").slice(9)}$`,N="?"+v,S=`<${N}>`,$=document,C=()=>$.createComment(""),w=t=>null===t||"object"!=typeof t&&"function"!=typeof t,I=Array.isArray,k="[ \t\n\f\r]",U=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,R=/-->/g,W=/>/g,E=RegExp(`>|${k}(?:([^\\s"'>=/]+)(${k}*=${k}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),L=/'/g,z=/"/g,Z=/^(?:script|style|textarea|title)$/i,K=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),F=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),D=new WeakMap,H=$.createTreeWalker($,129);function A(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==x?x.createHTML(o):o}const G=(t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=U;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===U?"!--"===c[1]?n=R:void 0!==c[1]?n=W:void 0!==c[2]?(Z.test(c[2])&&(i=RegExp("</"+c[2],"g")),n=E):void 0!==c[3]&&(n=E):n===E?">"===c[0]?(n=i??U,p=-1):void 0===c[1]?p=-2:(p=n.lastIndex-c[2].length,l=c[1],n=void 0===c[3]?E:'"'===c[3]?z:L):n===z||n===L?n=E:n===R||n===W?n=U:(n=E,i=void 0);const s=n===E&&t[o+1].startsWith("/>")?" ":"";a+=n===U?e+S:p>=0?(r.push(l),e.slice(0,p)+O+e.slice(p)+v+s):e+v+(-2===p?o:s)}return[A(t,a+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class j{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,a=0;const n=t.length-1,l=this.parts,[c,p]=G(t,o);if(this.el=j.createElement(c,e),H.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=H.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(O)){const o=p[a++],e=r.getAttribute(t).split(v),n=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:n[2],strings:e,ctor:"."===n[1]?Y:"?"===n[1]?V:"@"===n[1]?q:_}),r.removeAttribute(t)}else t.startsWith(v)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(Z.test(r.tagName)){const t=r.textContent.split(v),o=t.length-1;if(o>0){r.textContent=m?m.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],C()),H.nextNode(),l.push({type:2,index:++i});r.append(t[o],C())}}}else if(8===r.nodeType)if(r.data===N)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(v,t+1));)l.push({type:7,index:i}),t+=v.length-1}i++}}static createElement(t,o){const e=$.createElement("template");return e.innerHTML=t,e}}function P(t,o,e=t,r){if(o===F)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const a=w(o)?void 0:o._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),void 0===a?i=void 0:(i=new a(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=P(t,i._$AS(t,o.values),i,r)),o}class M{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){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??$).importNode(o,!0);H.currentNode=r;let i=H.nextNode(),a=0,n=0,l=e[0];for(;void 0!==l;){if(a===l.index){let o;2===l.type?o=new T(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new X(i,this,t)),this._$AV.push(o),l=e[++n]}a!==l?.index&&(i=H.nextNode(),a++)}return H.currentNode=$,r}p(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 T{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=B,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=P(this,t,o),w(t)?t===B||null==t||""===t?(this._$AH!==B&&this._$AR(),this._$AH=B):t!==this._$AH&&t!==F&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>I(t)||"function"==typeof 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!==B&&w(this._$AH)?this._$AA.nextSibling.data=t:this.$($.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=j.createElement(A(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new M(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=D.get(t.strings);return void 0===o&&D.set(t.strings,o=new j(t)),o}T(t){I(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new T(this.k(C()),this.k(C()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class _{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=B,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=B}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=P(this,t,o,0),a=!w(t)||t!==this._$AH&&t!==F,a&&(this._$AH=t);else{const r=t;let n,l;for(t=i[0],n=0;n<i.length-1;n++)l=P(this,r[e+n],o,n),l===F&&(l=this._$AH[n]),a||=!w(l)||l!==this._$AH[n],l===B?t=B:t!==B&&(t+=(l??"")+i[n+1]),this._$AH[n]=l}a&&!r&&this.O(t)}O(t){t===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Y extends _{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===B?void 0:t}}class V extends _{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==B)}}class q extends _{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=P(this,t,o,0)??B)===F)return;const e=this._$AH,r=t===B&&e!==B||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==B&&(e===B||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class X{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){P(this,t)}}const J=u.litHtmlPolyfillSupport;J?.(j,T),(u.litHtmlVersions??=[]).push("3.1.0");
|
|
125
131
|
/**
|
|
126
132
|
* @license
|
|
127
133
|
* Copyright 2020 Google LLC
|
|
128
134
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
129
135
|
*/
|
|
130
|
-
const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void 0:t._$litStatic$},et=t=>({_$litStatic$:t,r:tt}),rt=new Map,it=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],l=[];let c,p=0,f=!1;for(;p<r;){for(c=o[p];p<r&&void 0!==(a=e[p],i=ot(a));)c+=i+o[++p],f=!0;p!==r&&l.push(a),n.push(c),p++}if(p===r&&n.push(o[r]),f){const t=n.join("$$lit$$");void 0===(o=rt.get(t))&&(n.raw=n,rt.set(t,o=n)),e=l}return t(o,...e)})(F);var at;!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"}(at||(at={}));const nt=t=>"string"==typeof t?e.unsafeCSS(t):t;class lt{static create(t,o,r,i){const a=t=>nt(null!=t?t:i),n=e.css`var(${nt(t)}, ${a(i)})`;return n.name=t,n.description=t,n.category=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${nt(t)}, ${a(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,r,i){const a=t=>r.get(null!=t?t:i),n=e.css`var(${nt(t)}, ${a(i)})`;return n.name=t,n.description=o,n.category=r.category,n.fallbackVariable=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${nt(t)}, ${a(o)})`,n.breadcrumb=()=>[r.name,...r.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),n}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):nt(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${nt(t.name)}, ${r(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=r,i.get=o=>e.css`var(${nt(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const ct={colorWhite:lt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:lt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:lt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:lt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:lt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:lt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:lt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:lt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:lt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:lt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:lt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:lt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:lt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:lt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:lt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:lt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:lt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:lt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:lt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:lt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:lt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:lt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:lt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:lt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:lt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:lt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:lt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:lt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:lt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:lt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:lt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:lt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:lt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:lt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:lt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:lt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:lt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:lt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:lt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:lt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:lt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:lt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:lt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:lt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:lt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:lt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:lt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:lt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:lt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:lt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:lt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:lt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:lt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:lt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:lt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:lt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:lt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:lt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:lt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:lt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:lt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:lt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:lt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:lt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:lt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:lt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:lt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:lt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:lt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:lt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:lt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:lt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:lt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:lt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:lt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:lt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:lt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:lt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:lt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:lt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:lt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:lt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:lt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:lt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:lt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:lt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:lt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:lt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:lt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:lt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:lt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:lt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:lt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:lt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:lt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:lt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:lt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:lt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:lt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:lt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:lt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:lt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:lt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:lt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:lt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:lt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:lt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:lt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:lt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:lt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:lt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:lt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:lt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:lt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:lt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:lt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:lt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:lt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:lt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:lt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:lt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:lt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:lt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:lt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:lt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:lt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:lt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:lt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:lt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:lt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:lt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:lt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:lt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:lt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:lt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:lt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:lt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:lt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:lt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:lt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:lt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:lt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:lt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:lt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:lt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:lt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:lt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:lt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:lt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:lt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:lt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:lt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:lt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:lt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:lt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:lt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:lt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:lt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:lt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:lt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:lt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:lt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:lt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:lt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:lt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:lt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:lt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:lt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:lt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:lt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:lt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:lt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:lt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:lt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:lt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:lt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:lt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:lt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:lt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:lt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:lt.create("--ft-opacity-0","","NUMBER","0"),opacity8:lt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:lt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:lt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:lt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:lt.create("--ft-opacity-80","","NUMBER","0.8")},pt={display:{fontFamily:lt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:lt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:lt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:lt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:lt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:lt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:lt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:lt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:lt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:lt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:lt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:lt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:lt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:lt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:lt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:lt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:lt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:lt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:lt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:lt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:lt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:lt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:lt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:lt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:lt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:lt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:lt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:lt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:lt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:lt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:lt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:lt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:lt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:lt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:lt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:lt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:lt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:lt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},ft={backgroundActionPrimary:lt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ct.colorBrand0),backgroundErrorPrimary:lt.extend("--ft-background-error-primary","Used as background of error components.",ct.colorRed0),backgroundErrorSubtle:lt.extend("--ft-background-error-subtle","Used as background of subtle error components.",ct.colorRed10),backgroundInfoPrimary:lt.extend("--ft-background-info-primary","Used as background of information components.",ct.colorCyan200),backgroundInfoSubtle:lt.extend("--ft-background-info-subtle","Used as background of subtle information components.",ct.colorCyan10),backgroundWarningPrimary:lt.extend("--ft-background-warning-primary","Used as background of warning components.",ct.colorOrange300),backgroundWarningSubtle:lt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ct.colorOrange10),backgroundSuccessPrimary:lt.extend("--ft-background-success-primary","Used as background of success components.",ct.colorGreen200),backgroundSuccessSubtle:lt.extend("--ft-background-success-subtle","Used as background of subtle success components.",ct.colorGreen10),backgroundGlobalSurface:lt.extend("--ft-background-global-surface","Used as app background.",ct.colorWhite),backgroundGlobalOnSurface:lt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ct.colorGray10),backgroundGlobalOnSurfaceDark:lt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ct.colorGray30),contentActionPrimary:lt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ct.colorBrand0),contentWarningPrimary:lt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ct.colorOrange300),contentWarningIconOnly:lt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ct.colorOrange0),contentErrorPrimary:lt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ct.colorRed0),contentErrorIconOnly:lt.extend("--ft-content-error-icon-only","Used on error status icons alone",ct.colorRed0),contentInfoPrimary:lt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ct.colorCyan200),contentInfoIconOnly:lt.extend("--ft-content-info-icon-only","Used on info status icons alone",ct.colorCyan0),contentSuccessIconOnly:lt.extend("--ft-content-success-icon-only","Used on success status icons alone",ct.colorGreen0),contentSuccessPrimary:lt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ct.colorGreen200),contentGlobalPrimary:lt.extend("--ft-content-global-primary","Used for main content on the page.",ct.colorGray500),contentGlobalSecondary:lt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ct.colorGray200),contentGlobalSubtle:lt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ct.colorGray0),contentGlobalOnColor:lt.extend("--ft-content-global-on-color","Used for content on a dominant color.",ct.colorWhite),borderActionPrimary:lt.extend("--ft-border-action-primary","Used as border for primary action components.",ct.colorBrand0),borderActionFocusRing:lt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ct.colorCyan0),borderWarningPrimary:lt.extend("--ft-border-warning-primary","Used as border for warning components.",ct.colorOrange30),borderSuccessPrimary:lt.extend("--ft-border-success-primary","Used as border for success components.",ct.colorGreen30),borderErrorPrimary:lt.extend("--ft-border-error-primary","Used as border for error components.",ct.colorRed30),borderInfoPrimary:lt.extend("--ft-border-info-primary","Used as border for information components.",ct.colorCyan30),borderGlobalSubtle:lt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ct.colorGray30),borderGlobalPrimary:lt.extend("--ft-border-global-primary","Used as border for element like input.",ct.colorGray50),borderInputPrimary:lt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ct.colorGray80)},st={largeHeight:lt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:lt.extend("--ft-button-large-horizontal-padding","",ct.spacing4),largeGap:lt.extend("--ft-button-large-gap","",ct.spacing2),largeBorderRadius:lt.extend("--ft-button-large-border-radius","",ct.borderRadiusS),largeIconSize:lt.extend("--ft-button-large-icon-size","",ct.iconSize3),largeBorderWidth:lt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:lt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:lt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:lt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:lt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:lt.extend("--ft-button-small-horizontal-padding","",ct.spacing3),smallGap:lt.extend("--ft-button-small-gap","",ct.spacing2),smallBorderRadius:lt.extend("--ft-button-small-border-radius","",ct.borderRadiusS),smallIconSize:lt.extend("--ft-button-small-icon-size","",ct.iconSize2),smallBorderWidth:lt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:lt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:lt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:lt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:lt.extend("--ft-button-primary-background-color","",ft.backgroundActionPrimary),primaryColor:lt.extend("--ft-button-primary-color","",ft.contentGlobalOnColor),primaryIconColor:lt.extend("--ft-button-primary-icon-color","",ft.contentGlobalOnColor),primaryStateLayerColor:lt.extend("--ft-button-primary-state-layer-color","",ft.contentGlobalOnColor),primaryStateLayerOpacityHover:lt.extend("--ft-button-primary-state-layer-opacity-hover","",ct.opacity16),primaryStateLayerOpacityFocus:lt.extend("--ft-button-primary-state-layer-opacity-focus","",ct.opacity16),primaryStateLayerOpacityActive:lt.extend("--ft-button-primary-state-layer-opacity-active","",ct.opacity24),primaryComponentOpacityDisabled:lt.extend("--ft-button-primary-component-opacity-disabled","",ct.opacity40),focusFocusRingColor:lt.extend("--ft-button-focus-focus-ring-color","",ft.borderActionFocusRing),tertiaryBackgroundColor:lt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:lt.extend("--ft-button-tertiary-color","",ft.contentActionPrimary),tertiaryIconColor:lt.extend("--ft-button-tertiary-icon-color","",ft.contentActionPrimary),tertiaryStateLayerColor:lt.extend("--ft-button-tertiary-state-layer-color","",ft.contentActionPrimary),tertiaryStateLayerOpacityHover:lt.extend("--ft-button-tertiary-state-layer-opacity-hover","",ct.opacity8),tertiaryStateLayerOpacityFocus:lt.extend("--ft-button-tertiary-state-layer-opacity-focus","",ct.opacity8),tertiaryStateLayerOpacityActive:lt.extend("--ft-button-tertiary-state-layer-opacity-active","",ct.opacity16),tertiaryComponentOpacityDisabled:lt.extend("--ft-button-tertiary-component-opacity-disabled","",ct.opacity40),secondaryBackgroundColor:lt.extend("--ft-button-secondary-background-color","",ct.colorWhite),secondaryColor:lt.extend("--ft-button-secondary-color","",ft.contentActionPrimary),secondaryIconColor:lt.extend("--ft-button-secondary-icon-color","",ft.contentActionPrimary),secondaryStateLayerColor:lt.extend("--ft-button-secondary-state-layer-color","",ft.contentActionPrimary),secondaryStateLayerOpacityHover:lt.extend("--ft-button-secondary-state-layer-opacity-hover","",ct.opacity8),secondaryStateLayerOpacityFocus:lt.extend("--ft-button-secondary-state-layer-opacity-focus","",ct.opacity8),secondaryStateLayerOpacityActive:lt.extend("--ft-button-secondary-state-layer-opacity-active","",ct.opacity16),secondaryComponentOpacityDisabled:lt.extend("--ft-button-secondary-component-opacity-disabled","",ct.opacity40),secondaryBorderColor:lt.extend("--ft-button-secondary-border-color","",ft.borderActionPrimary),neutralBackgroundColor:lt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:lt.extend("--ft-button-neutral-icon-color","",ft.contentGlobalSecondary),neutralColor:lt.extend("--ft-button-neutral-color","",ft.contentGlobalSecondary),neutralStateLayerColor:lt.extend("--ft-button-neutral-state-layer-color","",ft.contentGlobalSecondary),neutralStateLayerOpacityHover:lt.extend("--ft-button-neutral-state-layer-opacity-hover","",ct.opacity8),neutralStateLayerOpacityFocus:lt.extend("--ft-button-neutral-state-layer-opacity-focus","",ct.opacity8),neutralStateLayerOpacityActive:lt.extend("--ft-button-neutral-state-layer-opacity-active","",ct.opacity16),neutralComponentOpacityDisabled:lt.extend("--ft-button-neutral-component-opacity-disabled","",ct.opacity40)};lt.extend("--ft-tabs-top-left-border-radius","",ct.borderRadiusS),lt.extend("--ft-tabs-top-right-border-radius","",ct.borderRadiusS),lt.extend("--ft-tabs-label-horizontal-padding","",ct.spacing4),lt.extend("--ft-tabs-label-vertical-padding","",ct.spacing3),lt.extend("--ft-tabs-label-gap","",ct.spacing1),lt.extend("--ft-switch-group-horizontal-padding","",ct.spacing1),lt.extend("--ft-switch-group-vertical-padding","",ct.spacing1),lt.extend("--ft-switch-group-gap","",ct.spacing1),lt.extend("--ft-switch-group-background-color","",ft.backgroundGlobalSurface),lt.extend("--ft-switch-group-border-color","",ft.borderGlobalSubtle),lt.create("--ft-switch-group-border-radius","","SIZE","6px"),lt.extend("--ft-switch-label-horizontal-padding","",ct.spacing2),lt.extend("--ft-switch-label-vertical-padding","",ct.spacing1),lt.extend("--ft-switch-icon-horizontal-padding","",ct.spacing1),lt.extend("--ft-switch-icon-vertical-padding","",ct.spacing1),lt.create("--ft-switch-focus-outline-width","","SIZE","2px"),lt.extend("--ft-switch-focus-focus-ring-color","",ft.borderActionFocusRing),lt.extend("--ft-switch-option-border-radius","",ct.borderRadiusS),lt.extend("--ft-switch-off-state-layer-opacity-hover","",ct.opacity8),lt.extend("--ft-switch-off-state-layer-opacity-focus","",ct.opacity8),lt.extend("--ft-switch-off-state-layer-opacity-active","",ct.opacity16),lt.extend("--ft-switch-off-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-switch-off-color","",ft.contentGlobalSubtle),lt.extend("--ft-switch-off-state-layer-color","",ft.contentGlobalSubtle),lt.extend("--ft-chart-1-light","for area color charts",ct.colorBrand40),lt.extend("--ft-chart-1-base","for line charts",ct.colorBrand0),lt.extend("--ft-chart-2-light","for area color charts",ct.colorYellow60),lt.extend("--ft-chart-2-base","for line charts",ct.colorYellow100),lt.extend("--ft-chart-3-light","",ct.colorUltramarine40),lt.extend("--ft-chart-3-base","",ct.colorUltramarine70),lt.extend("--ft-chart-4-light","",ct.colorCyan50),lt.extend("--ft-chart-4-base","",ct.colorCyan100),lt.extend("--ft-chart-5-light","",ct.colorRed40),lt.extend("--ft-chart-5-base","",ct.colorRed60),lt.extend("--ft-chart-6-light","",ct.colorGreen40),lt.extend("--ft-chart-6-base","",ct.colorGreen70),lt.extend("--ft-chart-7-light","",ct.colorOrange70),lt.extend("--ft-chart-7-base","",ct.colorOrange100),lt.extend("--ft-chart-8-light","",ct.colorAvocado70),lt.extend("--ft-chart-8-base","",ct.colorAvocado200),lt.extend("--ft-chart-9-light","",ct.colorBrown50),lt.extend("--ft-chart-9-base","",ct.colorBrown200),lt.extend("--ft-chart-10-light","",ct.colorGray50),lt.extend("--ft-chart-10-base","",ct.colorGray80),lt.extend("--ft-chart-monochrome-10","",ct.colorBrand10),lt.extend("--ft-chart-monochrome-20","",ct.colorBrand20),lt.extend("--ft-chart-monochrome-30","",ct.colorBrand40),lt.extend("--ft-chart-monochrome-40","",ct.colorBrand60),lt.extend("--ft-chart-monochrome-50","",ct.colorBrand0),lt.extend("--ft-chart-monochrome-60","",ct.colorBrand200),lt.extend("--ft-chip-large-horizontal-padding","",ct.spacing4),lt.extend("--ft-chip-large-vertical-padding","",ct.spacing2),lt.extend("--ft-chip-large-gap","",ct.spacing1),lt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),lt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),lt.extend("--ft-chip-large-border-radius","",ct.borderRadiusPill),lt.create("--ft-chip-large-border-width","","SIZE","1px"),lt.extend("--ft-chip-large-icon-size","",ct.iconSize3),lt.extend("--ft-chip-medium-horizontal-padding","",ct.spacing3),lt.extend("--ft-chip-medium-vertical-padding","",ct.spacing1),lt.extend("--ft-chip-medium-gap","",ct.spacing1),lt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),lt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),lt.extend("--ft-chip-medium-border-radius","",ct.borderRadiusPill),lt.create("--ft-chip-medium-border-width","","SIZE","1px"),lt.extend("--ft-chip-medium-icon-size","",ct.iconSize2),lt.extend("--ft-chip-small-horizontal-padding","",ct.spacing2),lt.extend("--ft-chip-small-vertical-padding","",ct.spacing05),lt.extend("--ft-chip-small-gap","",ct.spacing1),lt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),lt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),lt.extend("--ft-chip-small-border-radius","",ct.borderRadiusPill),lt.create("--ft-chip-small-border-width","","SIZE","1px"),lt.extend("--ft-chip-small-icon-size","",ct.iconSize1),lt.extend("--ft-chip-neutral-background-color","",ft.backgroundGlobalOnSurface),lt.extend("--ft-chip-neutral-color","",ft.contentGlobalPrimary),lt.extend("--ft-chip-neutral-border-color","",ft.borderGlobalSubtle),lt.extend("--ft-chip-info-background-color","",ft.backgroundInfoSubtle),lt.extend("--ft-chip-info-color","",ft.contentInfoPrimary),lt.extend("--ft-chip-info-border-color","",ft.borderInfoPrimary),lt.extend("--ft-chip-success-background-color","",ft.backgroundSuccessSubtle),lt.extend("--ft-chip-success-color","",ft.contentSuccessPrimary),lt.extend("--ft-chip-success-border-color","",ft.borderSuccessPrimary),lt.extend("--ft-chip-warning-background-color","",ft.backgroundWarningSubtle),lt.extend("--ft-chip-warning-color","",ft.contentWarningPrimary),lt.extend("--ft-chip-warning-border-color","",ft.borderWarningPrimary),lt.extend("--ft-chip-error-background-color","",ft.backgroundErrorSubtle),lt.extend("--ft-chip-error-color","",ft.contentErrorPrimary),lt.extend("--ft-chip-error-border-color","",ft.borderErrorPrimary),lt.create("--ft-notice-border-width","","SIZE","1px"),lt.extend("--ft-notice-horizontal-padding","",ct.spacing2),lt.extend("--ft-notice-vertical-padding","",ct.spacing1),lt.extend("--ft-notice-border-radius","",ct.borderRadiusS),lt.extend("--ft-notice-gap","",ct.spacing2),lt.extend("--ft-notice-icon-size","",ct.iconSize3),lt.extend("--ft-notice-info-background-color","",ft.backgroundInfoSubtle),lt.extend("--ft-notice-info-border-color","",ft.borderInfoPrimary),lt.extend("--ft-notice-info-color","",ft.contentInfoPrimary),lt.extend("--ft-notice-warning-background-color","",ft.backgroundWarningSubtle),lt.extend("--ft-notice-warning-border-color","",ft.borderWarningPrimary),lt.extend("--ft-notice-warning-color","",ft.contentWarningPrimary),lt.extend("--ft-checkbox-label-color","",ft.contentGlobalPrimary),lt.extend("--ft-checkbox-checked-background-color","",ft.contentActionPrimary),lt.extend("--ft-checkbox-checked-state-layer-color","",ft.contentActionPrimary),lt.extend("--ft-checkbox-checked-color","",ft.contentGlobalOnColor),lt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-checkbox-checked-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-checkbox-checked-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-checkbox-unchecked-border-color","",ct.colorGray80),lt.extend("--ft-checkbox-unchecked-state-layer-color","",ct.colorGray80),lt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-checkbox-focus-focus-ring-color","",ft.borderActionFocusRing),lt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),lt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),lt.extend("--ft-checkbox-gap","",ct.spacing3),lt.extend("--ft-toggle-off-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-toggle-off-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-toggle-off-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-toggle-off-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-toggle-off-background-color","",ft.contentGlobalSubtle),lt.extend("--ft-toggle-off-icon-color","",ft.contentGlobalSubtle),lt.extend("--ft-toggle-off-state-layer-color","",ft.contentGlobalSubtle),lt.extend("--ft-toggle-on-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-toggle-on-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-toggle-on-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-toggle-on-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-toggle-on-background-color","",ft.contentActionPrimary),lt.extend("--ft-toggle-on-icon-color","",ft.contentActionPrimary),lt.extend("--ft-toggle-on-state-layer-color","",ft.contentActionPrimary),lt.extend("--ft-toggle-label-color","",ft.contentGlobalPrimary),lt.extend("--ft-toggle-focus-focus-ring-color","",ft.borderActionFocusRing),lt.extend("--ft-toggle-gap","",ct.spacing3),lt.extend("--ft-radio-label-color","",ft.contentGlobalPrimary),lt.extend("--ft-radio-selected-color","",ft.contentActionPrimary),lt.extend("--ft-radio-selected-state-layer-color","",ft.contentActionPrimary),lt.extend("--ft-radio-selected-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-radio-selected-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-radio-selected-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-radio-selected-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-radio-unselected-state-layer-color","",ct.colorGray80),lt.extend("--ft-radio-unselected-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-radio-unselected-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-radio-unselected-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-radio-unselected-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-radio-focus-focus-ring-color","",ft.borderActionFocusRing),lt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),lt.create("--ft-radio-focus-outline-width","","SIZE","2px"),lt.extend("--ft-radio-gap","",ct.spacing3),lt.extend("--ft-notification-icon-size","",ct.iconSize4),lt.extend("--ft-notification-horizontal-padding","",ct.spacing4),lt.extend("--ft-notification-vertical-padding","",ct.spacing4),lt.extend("--ft-notification-info-background-color","",ft.backgroundInfoSubtle),lt.extend("--ft-notification-info-color","",ft.contentInfoPrimary),lt.extend("--ft-notification-info-border-color","",ft.borderInfoPrimary),lt.extend("--ft-notification-success-background-color","",ft.backgroundSuccessSubtle),lt.extend("--ft-notification-success-color","",ft.contentSuccessPrimary),lt.extend("--ft-notification-success-border-color","",ft.borderSuccessPrimary),lt.extend("--ft-notification-warning-background-color","",ft.backgroundWarningSubtle),lt.extend("--ft-notification-warning-color","",ft.contentWarningPrimary),lt.extend("--ft-notification-warning-border-color","",ft.borderWarningPrimary),lt.extend("--ft-notification-error-background-color","",ft.backgroundErrorSubtle),lt.extend("--ft-notification-error-color","",ft.contentErrorPrimary),lt.extend("--ft-notification-error-border-color","",ft.borderErrorPrimary),lt.extend("--ft-notification-border-radius","",ct.borderRadiusPill),lt.create("--ft-notification-border-width","","SIZE","1px"),lt.extend("--ft-notification-gap-leading","",ct.spacing2),lt.extend("--ft-notification-gap-trailing","",ct.spacing8);const dt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),ht=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),gt={fontFamily:ht,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")},yt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",dt),bt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",gt.fontSize,"20px"),ut=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",gt.fontWeight,"normal"),mt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",gt.letterSpacing,"0.15px"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",gt.lineHeight,"1.2"),Ot=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",gt.textTransform,"inherit"),vt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",dt),Nt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",gt.fontSize,"14px"),St=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",gt.fontWeight,"normal"),$t=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",gt.letterSpacing,"0.105px"),Ct=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",gt.lineHeight,"1.7"),wt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",gt.textTransform,"inherit"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ht),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",gt.fontSize,"16px"),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",gt.fontWeight,"600"),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",gt.letterSpacing,"0.144px"),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",gt.lineHeight,"1.5"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",gt.textTransform,"inherit"),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ht),zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",gt.fontSize,"14px"),Zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",gt.fontWeight,"normal"),Kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",gt.letterSpacing,"0.098px"),Ft=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",gt.lineHeight,"1.7"),Bt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",gt.textTransform,"inherit"),Dt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ht),Ht=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",gt.fontSize,"16px"),At=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",gt.fontWeight,"normal"),Gt=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",gt.letterSpacing,"0.496px"),jt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",gt.lineHeight,"1.5"),Pt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",gt.textTransform,"inherit"),Mt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ht),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",gt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",gt.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",gt.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",gt.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",gt.textTransform,"inherit")},Tt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ht),_t=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",gt.fontSize,"12px"),Yt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",gt.fontWeight,"normal"),Vt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",gt.letterSpacing,"0.396px"),qt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",gt.lineHeight,"1.33"),Xt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",gt.textTransform,"inherit"),Jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ht),Qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",gt.fontSize,"10px"),to=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",gt.fontWeight,"normal"),oo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",gt.letterSpacing,"0.33px"),eo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",gt.lineHeight,"1.6"),ro=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",gt.textTransform,"inherit"),io=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ht),ao=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",gt.fontSize,"10px"),no=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",gt.fontWeight,"normal"),lo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",gt.letterSpacing,"1.5px"),co=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",gt.lineHeight,"1.6"),po=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",gt.textTransform,"uppercase"),fo={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ht),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",gt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",gt.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",gt.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",gt.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",gt.textTransform,"uppercase")},so=e.css`
|
|
136
|
+
const Q=Symbol.for(""),tt=t=>{if(t?.r===Q)return t?._$litStatic$},ot=t=>({_$litStatic$:t,r:Q}),et=new Map,rt=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],l=[];let c,p=0,f=!1;for(;p<r;){for(c=o[p];p<r&&void 0!==(a=e[p],i=tt(a));)c+=i+o[++p],f=!0;p!==r&&l.push(a),n.push(c),p++}if(p===r&&n.push(o[r]),f){const t=n.join("$$lit$$");void 0===(o=et.get(t))&&(n.raw=n,et.set(t,o=n)),e=l}return t(o,...e)})(K);var it;!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"}(it||(it={}));const at=t=>"string"==typeof t?e.unsafeCSS(t):t;class nt{static create(t,o,r,i){const a=t=>at(null!=t?t:i),n=e.css`var(${at(t)}, ${a(i)})`;return n.name=t,n.description=o,n.category=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${at(t)}, ${a(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,r,i){const a=t=>r.get(null!=t?t:i),n=e.css`var(${at(t)}, ${a(i)})`;return n.name=t,n.description=o,n.category=r.category,n.fallbackVariable=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${at(t)}, ${a(o)})`,n.breadcrumb=()=>[r.name,...r.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),n}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):at(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${at(t.name)}, ${r(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=r,i.get=o=>e.css`var(${at(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const lt={colorWhite:nt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:nt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:nt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:nt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:nt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:nt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:nt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:nt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:nt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:nt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:nt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:nt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:nt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:nt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:nt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:nt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:nt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:nt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:nt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:nt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:nt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:nt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:nt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:nt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:nt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:nt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:nt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:nt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:nt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:nt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:nt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:nt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:nt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:nt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:nt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:nt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:nt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:nt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:nt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:nt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:nt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:nt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:nt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:nt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:nt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:nt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:nt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:nt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:nt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:nt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:nt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:nt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:nt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:nt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:nt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:nt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:nt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:nt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:nt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:nt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:nt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:nt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:nt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:nt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:nt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:nt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:nt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:nt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:nt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:nt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:nt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:nt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:nt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:nt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:nt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:nt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:nt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:nt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:nt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:nt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:nt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:nt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:nt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:nt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:nt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:nt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:nt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:nt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:nt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:nt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:nt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:nt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:nt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:nt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:nt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:nt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:nt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:nt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:nt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:nt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:nt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:nt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:nt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:nt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:nt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:nt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:nt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:nt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:nt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:nt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:nt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:nt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:nt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:nt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:nt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:nt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:nt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:nt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:nt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:nt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:nt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:nt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:nt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:nt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:nt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:nt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:nt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:nt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:nt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:nt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:nt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:nt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:nt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:nt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:nt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:nt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:nt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:nt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:nt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:nt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:nt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:nt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:nt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:nt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:nt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:nt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:nt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:nt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:nt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:nt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:nt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:nt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:nt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:nt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:nt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:nt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:nt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:nt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:nt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:nt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:nt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:nt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:nt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:nt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:nt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:nt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:nt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:nt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:nt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:nt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:nt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:nt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:nt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:nt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:nt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:nt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:nt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:nt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:nt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:nt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:nt.create("--ft-opacity-0","","NUMBER","0"),opacity8:nt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:nt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:nt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:nt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:nt.create("--ft-opacity-80","","NUMBER","0.8")},ct={display:{fontFamily:nt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:nt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:nt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:nt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:nt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:nt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:nt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:nt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:nt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:nt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:nt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:nt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:nt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:nt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:nt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:nt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:nt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:nt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:nt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:nt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:nt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:nt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:nt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:nt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:nt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:nt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:nt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:nt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:nt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:nt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:nt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:nt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:nt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:nt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:nt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:nt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:nt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:nt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:nt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:nt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:nt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:nt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:nt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:nt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:nt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:nt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},pt={backgroundActionPrimary:nt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",lt.colorBrand0),backgroundErrorPrimary:nt.extend("--ft-background-error-primary","Used as background of error components.",lt.colorRed0),backgroundErrorSubtle:nt.extend("--ft-background-error-subtle","Used as background of subtle error components.",lt.colorRed10),backgroundInfoPrimary:nt.extend("--ft-background-info-primary","Used as background of information components.",lt.colorCyan200),backgroundInfoSubtle:nt.extend("--ft-background-info-subtle","Used as background of subtle information components.",lt.colorCyan10),backgroundWarningPrimary:nt.extend("--ft-background-warning-primary","Used as background of warning components.",lt.colorOrange300),backgroundWarningSubtle:nt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",lt.colorOrange10),backgroundSuccessPrimary:nt.extend("--ft-background-success-primary","Used as background of success components.",lt.colorGreen200),backgroundSuccessSubtle:nt.extend("--ft-background-success-subtle","Used as background of subtle success components.",lt.colorGreen10),backgroundGlobalSurface:nt.extend("--ft-background-global-surface","Used as app background.",lt.colorWhite),backgroundGlobalOnSurface:nt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",lt.colorGray10),backgroundGlobalOnSurfaceDark:nt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",lt.colorGray30),contentActionPrimary:nt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",lt.colorBrand0),contentWarningPrimary:nt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",lt.colorOrange300),contentWarningIconOnly:nt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",lt.colorOrange0),contentErrorPrimary:nt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",lt.colorRed0),contentErrorIconOnly:nt.extend("--ft-content-error-icon-only","Used on error status icons alone",lt.colorRed0),contentInfoPrimary:nt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",lt.colorCyan200),contentInfoIconOnly:nt.extend("--ft-content-info-icon-only","Used on info status icons alone",lt.colorCyan0),contentSuccessIconOnly:nt.extend("--ft-content-success-icon-only","Used on success status icons alone",lt.colorGreen0),contentSuccessPrimary:nt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",lt.colorGreen200),contentGlobalPrimary:nt.extend("--ft-content-global-primary","Used for main content on the page.",lt.colorGray500),contentGlobalSecondary:nt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",lt.colorGray200),contentGlobalSubtle:nt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",lt.colorGray0),contentGlobalOnColor:nt.extend("--ft-content-global-on-color","Used for content on a dominant color.",lt.colorWhite),borderActionPrimary:nt.extend("--ft-border-action-primary","Used as border for primary action components.",lt.colorBrand0),borderActionFocusRing:nt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",lt.colorCyan0),borderWarningPrimary:nt.extend("--ft-border-warning-primary","Used as border for warning components.",lt.colorOrange30),borderSuccessPrimary:nt.extend("--ft-border-success-primary","Used as border for success components.",lt.colorGreen30),borderErrorPrimary:nt.extend("--ft-border-error-primary","Used as border for error components.",lt.colorRed30),borderInfoPrimary:nt.extend("--ft-border-info-primary","Used as border for information components.",lt.colorCyan30),borderGlobalSubtle:nt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",lt.colorGray30),borderGlobalPrimary:nt.extend("--ft-border-global-primary","Used as border for element like input.",lt.colorGray50),borderInputPrimary:nt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",lt.colorGray80)},ft={largeHeight:nt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:nt.extend("--ft-button-large-horizontal-padding","",lt.spacing4),largeGap:nt.extend("--ft-button-large-gap","",lt.spacing2),largeBorderRadius:nt.extend("--ft-button-large-border-radius","",lt.borderRadiusS),largeIconSize:nt.extend("--ft-button-large-icon-size","",lt.iconSize3),largeBorderWidth:nt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:nt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:nt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:nt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:nt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:nt.extend("--ft-button-small-horizontal-padding","",lt.spacing3),smallGap:nt.extend("--ft-button-small-gap","",lt.spacing2),smallBorderRadius:nt.extend("--ft-button-small-border-radius","",lt.borderRadiusS),smallIconSize:nt.extend("--ft-button-small-icon-size","",lt.iconSize2),smallBorderWidth:nt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:nt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:nt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:nt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:nt.extend("--ft-button-primary-background-color","",pt.backgroundActionPrimary),primaryColor:nt.extend("--ft-button-primary-color","",pt.contentGlobalOnColor),primaryIconColor:nt.extend("--ft-button-primary-icon-color","",pt.contentGlobalOnColor),primaryStateLayerColor:nt.extend("--ft-button-primary-state-layer-color","",pt.contentGlobalOnColor),primaryStateLayerOpacityHover:nt.extend("--ft-button-primary-state-layer-opacity-hover","",lt.opacity16),primaryStateLayerOpacityFocus:nt.extend("--ft-button-primary-state-layer-opacity-focus","",lt.opacity16),primaryStateLayerOpacityActive:nt.extend("--ft-button-primary-state-layer-opacity-active","",lt.opacity24),primaryComponentOpacityDisabled:nt.extend("--ft-button-primary-component-opacity-disabled","",lt.opacity40),focusFocusRingColor:nt.extend("--ft-button-focus-focus-ring-color","",pt.borderActionFocusRing),tertiaryBackgroundColor:nt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:nt.extend("--ft-button-tertiary-color","",pt.contentActionPrimary),tertiaryIconColor:nt.extend("--ft-button-tertiary-icon-color","",pt.contentActionPrimary),tertiaryStateLayerColor:nt.extend("--ft-button-tertiary-state-layer-color","",pt.contentActionPrimary),tertiaryStateLayerOpacityHover:nt.extend("--ft-button-tertiary-state-layer-opacity-hover","",lt.opacity8),tertiaryStateLayerOpacityFocus:nt.extend("--ft-button-tertiary-state-layer-opacity-focus","",lt.opacity8),tertiaryStateLayerOpacityActive:nt.extend("--ft-button-tertiary-state-layer-opacity-active","",lt.opacity16),tertiaryComponentOpacityDisabled:nt.extend("--ft-button-tertiary-component-opacity-disabled","",lt.opacity40),secondaryBackgroundColor:nt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:nt.extend("--ft-button-secondary-color","",pt.contentActionPrimary),secondaryIconColor:nt.extend("--ft-button-secondary-icon-color","",pt.contentActionPrimary),secondaryStateLayerColor:nt.extend("--ft-button-secondary-state-layer-color","",pt.contentActionPrimary),secondaryStateLayerOpacityHover:nt.extend("--ft-button-secondary-state-layer-opacity-hover","",lt.opacity8),secondaryStateLayerOpacityFocus:nt.extend("--ft-button-secondary-state-layer-opacity-focus","",lt.opacity8),secondaryStateLayerOpacityActive:nt.extend("--ft-button-secondary-state-layer-opacity-active","",lt.opacity16),secondaryComponentOpacityDisabled:nt.extend("--ft-button-secondary-component-opacity-disabled","",lt.opacity40),secondaryBorderColor:nt.extend("--ft-button-secondary-border-color","",pt.borderActionPrimary),neutralBackgroundColor:nt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:nt.extend("--ft-button-neutral-icon-color","",pt.contentGlobalSecondary),neutralColor:nt.extend("--ft-button-neutral-color","",pt.contentGlobalSecondary),neutralStateLayerColor:nt.extend("--ft-button-neutral-state-layer-color","",pt.contentGlobalSecondary),neutralStateLayerOpacityHover:nt.extend("--ft-button-neutral-state-layer-opacity-hover","",lt.opacity8),neutralStateLayerOpacityFocus:nt.extend("--ft-button-neutral-state-layer-opacity-focus","",lt.opacity8),neutralStateLayerOpacityActive:nt.extend("--ft-button-neutral-state-layer-opacity-active","",lt.opacity16),neutralComponentOpacityDisabled:nt.extend("--ft-button-neutral-component-opacity-disabled","",lt.opacity40)};nt.extend("--ft-tabs-top-left-border-radius","",lt.borderRadiusS),nt.extend("--ft-tabs-top-right-border-radius","",lt.borderRadiusS),nt.extend("--ft-tabs-label-horizontal-padding","",lt.spacing4),nt.extend("--ft-tabs-label-vertical-padding","",lt.spacing3),nt.extend("--ft-tabs-label-gap","",lt.spacing1),nt.extend("--ft-switch-group-horizontal-padding","",lt.spacing1),nt.extend("--ft-switch-group-vertical-padding","",lt.spacing1),nt.extend("--ft-switch-group-gap","",lt.spacing1),nt.extend("--ft-switch-group-background-color","",pt.backgroundGlobalSurface),nt.extend("--ft-switch-group-border-color","",pt.borderGlobalSubtle),nt.create("--ft-switch-group-border-radius","","SIZE","6px"),nt.extend("--ft-switch-label-horizontal-padding","",lt.spacing2),nt.extend("--ft-switch-label-vertical-padding","",lt.spacing1),nt.extend("--ft-switch-icon-horizontal-padding","",lt.spacing1),nt.extend("--ft-switch-icon-vertical-padding","",lt.spacing1),nt.create("--ft-switch-focus-outline-width","","SIZE","2px"),nt.extend("--ft-switch-focus-focus-ring-color","",pt.borderActionFocusRing),nt.extend("--ft-switch-option-border-radius","",lt.borderRadiusS),nt.extend("--ft-switch-off-state-layer-opacity-hover","",lt.opacity8),nt.extend("--ft-switch-off-state-layer-opacity-focus","",lt.opacity8),nt.extend("--ft-switch-off-state-layer-opacity-active","",lt.opacity16),nt.extend("--ft-switch-off-component-opacity-disabled","",lt.opacity40),nt.extend("--ft-switch-off-color","",pt.contentGlobalSubtle),nt.extend("--ft-switch-off-state-layer-color","",pt.contentGlobalSubtle),nt.extend("--ft-chart-1-light","for area color charts",lt.colorBrand40),nt.extend("--ft-chart-1-base","for line charts",lt.colorBrand0),nt.extend("--ft-chart-2-light","for area color charts",lt.colorYellow60),nt.extend("--ft-chart-2-base","for line charts",lt.colorYellow100),nt.extend("--ft-chart-3-light","",lt.colorUltramarine40),nt.extend("--ft-chart-3-base","",lt.colorUltramarine70),nt.extend("--ft-chart-4-light","",lt.colorCyan50),nt.extend("--ft-chart-4-base","",lt.colorCyan100),nt.extend("--ft-chart-5-light","",lt.colorRed40),nt.extend("--ft-chart-5-base","",lt.colorRed60),nt.extend("--ft-chart-6-light","",lt.colorGreen40),nt.extend("--ft-chart-6-base","",lt.colorGreen70),nt.extend("--ft-chart-7-light","",lt.colorOrange70),nt.extend("--ft-chart-7-base","",lt.colorOrange100),nt.extend("--ft-chart-8-light","",lt.colorAvocado70),nt.extend("--ft-chart-8-base","",lt.colorAvocado200),nt.extend("--ft-chart-9-light","",lt.colorBrown50),nt.extend("--ft-chart-9-base","",lt.colorBrown200),nt.extend("--ft-chart-10-light","",lt.colorGray50),nt.extend("--ft-chart-10-base","",lt.colorGray80),nt.extend("--ft-chart-monochrome-10","",lt.colorBrand10),nt.extend("--ft-chart-monochrome-20","",lt.colorBrand20),nt.extend("--ft-chart-monochrome-30","",lt.colorBrand40),nt.extend("--ft-chart-monochrome-40","",lt.colorBrand60),nt.extend("--ft-chart-monochrome-50","",lt.colorBrand0),nt.extend("--ft-chart-monochrome-60","",lt.colorBrand200),nt.extend("--ft-chip-large-horizontal-padding","",lt.spacing4),nt.extend("--ft-chip-large-vertical-padding","",lt.spacing2),nt.extend("--ft-chip-large-gap","",lt.spacing1),nt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),nt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),nt.extend("--ft-chip-large-border-radius","",lt.borderRadiusPill),nt.create("--ft-chip-large-border-width","","SIZE","1px"),nt.extend("--ft-chip-large-icon-size","",lt.iconSize3),nt.extend("--ft-chip-medium-horizontal-padding","",lt.spacing3),nt.extend("--ft-chip-medium-vertical-padding","",lt.spacing1),nt.extend("--ft-chip-medium-gap","",lt.spacing1),nt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),nt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),nt.extend("--ft-chip-medium-border-radius","",lt.borderRadiusPill),nt.create("--ft-chip-medium-border-width","","SIZE","1px"),nt.extend("--ft-chip-medium-icon-size","",lt.iconSize2),nt.extend("--ft-chip-small-horizontal-padding","",lt.spacing2),nt.extend("--ft-chip-small-vertical-padding","",lt.spacing05),nt.extend("--ft-chip-small-gap","",lt.spacing1),nt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),nt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),nt.extend("--ft-chip-small-border-radius","",lt.borderRadiusPill),nt.create("--ft-chip-small-border-width","","SIZE","1px"),nt.extend("--ft-chip-small-icon-size","",lt.iconSize1),nt.extend("--ft-chip-neutral-background-color","",pt.backgroundGlobalOnSurface),nt.extend("--ft-chip-neutral-color","",pt.contentGlobalPrimary),nt.extend("--ft-chip-neutral-border-color","",pt.borderGlobalSubtle),nt.extend("--ft-chip-info-background-color","",pt.backgroundInfoSubtle),nt.extend("--ft-chip-info-color","",pt.contentInfoPrimary),nt.extend("--ft-chip-info-border-color","",pt.borderInfoPrimary),nt.extend("--ft-chip-success-background-color","",pt.backgroundSuccessSubtle),nt.extend("--ft-chip-success-color","",pt.contentSuccessPrimary),nt.extend("--ft-chip-success-border-color","",pt.borderSuccessPrimary),nt.extend("--ft-chip-warning-background-color","",pt.backgroundWarningSubtle),nt.extend("--ft-chip-warning-color","",pt.contentWarningPrimary),nt.extend("--ft-chip-warning-border-color","",pt.borderWarningPrimary),nt.extend("--ft-chip-error-background-color","",pt.backgroundErrorSubtle),nt.extend("--ft-chip-error-color","",pt.contentErrorPrimary),nt.extend("--ft-chip-error-border-color","",pt.borderErrorPrimary),nt.create("--ft-notice-border-width","","SIZE","1px"),nt.extend("--ft-notice-horizontal-padding","",lt.spacing2),nt.extend("--ft-notice-vertical-padding","",lt.spacing1),nt.extend("--ft-notice-border-radius","",lt.borderRadiusS),nt.extend("--ft-notice-gap","",lt.spacing2),nt.extend("--ft-notice-icon-size","",lt.iconSize3),nt.extend("--ft-notice-info-background-color","",pt.backgroundInfoSubtle),nt.extend("--ft-notice-info-border-color","",pt.borderInfoPrimary),nt.extend("--ft-notice-info-color","",pt.contentInfoPrimary),nt.extend("--ft-notice-warning-background-color","",pt.backgroundWarningSubtle),nt.extend("--ft-notice-warning-border-color","",pt.borderWarningPrimary),nt.extend("--ft-notice-warning-color","",pt.contentWarningPrimary),nt.extend("--ft-checkbox-label-color","",pt.contentGlobalPrimary),nt.extend("--ft-checkbox-checked-background-color","",pt.contentActionPrimary),nt.extend("--ft-checkbox-checked-state-layer-color","",pt.contentActionPrimary),nt.extend("--ft-checkbox-checked-color","",pt.contentGlobalOnColor),nt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",lt.opacity16),nt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",lt.opacity16),nt.extend("--ft-checkbox-checked-state-layer-opacity-active","",lt.opacity24),nt.extend("--ft-checkbox-checked-component-opacity-disabled","",lt.opacity40),nt.extend("--ft-checkbox-unchecked-border-color","",lt.colorGray80),nt.extend("--ft-checkbox-unchecked-state-layer-color","",lt.colorGray80),nt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",lt.opacity16),nt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",lt.opacity16),nt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",lt.opacity24),nt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",lt.opacity40),nt.extend("--ft-checkbox-focus-focus-ring-color","",pt.borderActionFocusRing),nt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),nt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),nt.extend("--ft-checkbox-gap","",lt.spacing3),nt.extend("--ft-toggle-off-state-layer-opacity-hover","",lt.opacity16),nt.extend("--ft-toggle-off-state-layer-opacity-focus","",lt.opacity16),nt.extend("--ft-toggle-off-state-layer-opacity-active","",lt.opacity24),nt.extend("--ft-toggle-off-component-opacity-disabled","",lt.opacity40),nt.extend("--ft-toggle-off-background-color","",pt.contentGlobalSubtle),nt.extend("--ft-toggle-off-icon-color","",pt.contentGlobalSubtle),nt.extend("--ft-toggle-off-state-layer-color","",pt.contentGlobalSubtle),nt.extend("--ft-toggle-on-state-layer-opacity-hover","",lt.opacity16),nt.extend("--ft-toggle-on-state-layer-opacity-focus","",lt.opacity16),nt.extend("--ft-toggle-on-state-layer-opacity-active","",lt.opacity24),nt.extend("--ft-toggle-on-component-opacity-disabled","",lt.opacity40),nt.extend("--ft-toggle-on-background-color","",pt.contentActionPrimary),nt.extend("--ft-toggle-on-icon-color","",pt.contentActionPrimary),nt.extend("--ft-toggle-on-state-layer-color","",pt.contentActionPrimary),nt.extend("--ft-toggle-label-color","",pt.contentGlobalPrimary),nt.extend("--ft-toggle-focus-focus-ring-color","",pt.borderActionFocusRing),nt.extend("--ft-toggle-gap","",lt.spacing3),nt.extend("--ft-radio-label-color","",pt.contentGlobalPrimary),nt.extend("--ft-radio-selected-color","",pt.contentActionPrimary),nt.extend("--ft-radio-selected-state-layer-color","",pt.contentActionPrimary),nt.extend("--ft-radio-selected-state-layer-opacity-hover","",lt.opacity16),nt.extend("--ft-radio-selected-state-layer-opacity-focus","",lt.opacity16),nt.extend("--ft-radio-selected-state-layer-opacity-active","",lt.opacity24),nt.extend("--ft-radio-selected-component-opacity-disabled","",lt.opacity40),nt.extend("--ft-radio-unselected-state-layer-color","",lt.colorGray80),nt.extend("--ft-radio-unselected-state-layer-opacity-hover","",lt.opacity16),nt.extend("--ft-radio-unselected-state-layer-opacity-focus","",lt.opacity16),nt.extend("--ft-radio-unselected-state-layer-opacity-active","",lt.opacity24),nt.extend("--ft-radio-unselected-component-opacity-disabled","",lt.opacity40),nt.extend("--ft-radio-focus-focus-ring-color","",pt.borderActionFocusRing),nt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),nt.create("--ft-radio-focus-outline-width","","SIZE","2px"),nt.extend("--ft-radio-gap","",lt.spacing3),nt.extend("--ft-notification-icon-size","",lt.iconSize4),nt.extend("--ft-notification-horizontal-padding","",lt.spacing4),nt.extend("--ft-notification-vertical-padding","",lt.spacing4),nt.extend("--ft-notification-info-background-color","",pt.backgroundInfoSubtle),nt.extend("--ft-notification-info-color","",pt.contentInfoPrimary),nt.extend("--ft-notification-info-border-color","",pt.borderInfoPrimary),nt.extend("--ft-notification-success-background-color","",pt.backgroundSuccessSubtle),nt.extend("--ft-notification-success-color","",pt.contentSuccessPrimary),nt.extend("--ft-notification-success-border-color","",pt.borderSuccessPrimary),nt.extend("--ft-notification-warning-background-color","",pt.backgroundWarningSubtle),nt.extend("--ft-notification-warning-color","",pt.contentWarningPrimary),nt.extend("--ft-notification-warning-border-color","",pt.borderWarningPrimary),nt.extend("--ft-notification-error-background-color","",pt.backgroundErrorSubtle),nt.extend("--ft-notification-error-color","",pt.contentErrorPrimary),nt.extend("--ft-notification-error-border-color","",pt.borderErrorPrimary),nt.extend("--ft-notification-border-radius","",lt.borderRadiusPill),nt.create("--ft-notification-border-width","","SIZE","1px"),nt.extend("--ft-notification-gap-leading","",lt.spacing2),nt.extend("--ft-notification-gap-trailing","",lt.spacing8);const st=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),dt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),ht={fontFamily:dt,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")},gt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",st),yt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",ht.fontSize,"20px"),bt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",ht.fontWeight,"normal"),ut=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",ht.letterSpacing,"0.15px"),mt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",ht.lineHeight,"1.2"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",ht.textTransform,"inherit"),Ot=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",st),vt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",ht.fontSize,"14px"),Nt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",ht.fontWeight,"normal"),St=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",ht.letterSpacing,"0.105px"),$t=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",ht.lineHeight,"1.7"),Ct=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",ht.textTransform,"inherit"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",dt),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",ht.fontSize,"16px"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",ht.fontWeight,"600"),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",ht.letterSpacing,"0.144px"),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",ht.lineHeight,"1.5"),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",ht.textTransform,"inherit"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",dt),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",ht.fontSize,"14px"),zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",ht.fontWeight,"normal"),Zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",ht.letterSpacing,"0.098px"),Kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",ht.lineHeight,"1.7"),Ft=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",ht.textTransform,"inherit"),Bt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",dt),Dt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",ht.fontSize,"16px"),Ht=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",ht.fontWeight,"normal"),At=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",ht.letterSpacing,"0.496px"),Gt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",ht.lineHeight,"1.5"),jt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",ht.textTransform,"inherit"),Pt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",dt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",ht.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",ht.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",ht.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",ht.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",ht.textTransform,"inherit")},Mt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",dt),Tt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",ht.fontSize,"12px"),_t=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",ht.fontWeight,"normal"),Yt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",ht.letterSpacing,"0.396px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",ht.lineHeight,"1.33"),qt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",ht.textTransform,"inherit"),Xt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",dt),Jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",ht.fontSize,"10px"),Qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",ht.fontWeight,"normal"),to=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",ht.letterSpacing,"0.33px"),oo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",ht.lineHeight,"1.6"),eo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",ht.textTransform,"inherit"),ro=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",dt),io=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",ht.fontSize,"10px"),ao=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",ht.fontWeight,"normal"),no=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",ht.letterSpacing,"1.5px"),lo=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",ht.lineHeight,"1.6"),co=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",ht.textTransform,"uppercase"),po={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",dt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",ht.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",ht.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",ht.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",ht.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",ht.textTransform,"uppercase")},fo=e.css`
|
|
131
137
|
.ft-typography--title {
|
|
132
|
-
font-family: ${
|
|
133
|
-
font-size: ${
|
|
134
|
-
font-weight: ${
|
|
135
|
-
letter-spacing: ${
|
|
136
|
-
line-height: ${
|
|
137
|
-
text-transform: ${
|
|
138
|
-
}
|
|
139
|
-
`,
|
|
138
|
+
font-family: ${gt};
|
|
139
|
+
font-size: ${yt};
|
|
140
|
+
font-weight: ${bt};
|
|
141
|
+
letter-spacing: ${ut};
|
|
142
|
+
line-height: ${mt};
|
|
143
|
+
text-transform: ${xt};
|
|
144
|
+
}
|
|
145
|
+
`,so=e.css`
|
|
140
146
|
.ft-typography--title-dense {
|
|
141
|
-
font-family: ${
|
|
142
|
-
font-size: ${
|
|
143
|
-
font-weight: ${
|
|
144
|
-
letter-spacing: ${
|
|
145
|
-
line-height: ${
|
|
146
|
-
text-transform: ${
|
|
147
|
+
font-family: ${Ot};
|
|
148
|
+
font-size: ${vt};
|
|
149
|
+
font-weight: ${Nt};
|
|
150
|
+
letter-spacing: ${St};
|
|
151
|
+
line-height: ${$t};
|
|
152
|
+
text-transform: ${Ct};
|
|
147
153
|
}
|
|
148
|
-
`,
|
|
154
|
+
`,ho=e.css`
|
|
149
155
|
.ft-typography--subtitle1 {
|
|
150
|
-
font-family: ${
|
|
151
|
-
font-size: ${
|
|
152
|
-
font-weight: ${
|
|
153
|
-
letter-spacing: ${
|
|
156
|
+
font-family: ${wt};
|
|
157
|
+
font-size: ${It};
|
|
158
|
+
font-weight: ${kt};
|
|
159
|
+
letter-spacing: ${Ut};
|
|
154
160
|
line-height: ${Rt};
|
|
155
|
-
text-transform: ${
|
|
161
|
+
text-transform: ${Wt};
|
|
156
162
|
}
|
|
157
|
-
`,
|
|
163
|
+
`,go=e.css`
|
|
158
164
|
.ft-typography--subtitle2 {
|
|
159
|
-
font-family: ${
|
|
160
|
-
font-size: ${
|
|
161
|
-
font-weight: ${
|
|
162
|
-
letter-spacing: ${
|
|
163
|
-
line-height: ${
|
|
164
|
-
text-transform: ${
|
|
165
|
+
font-family: ${Et};
|
|
166
|
+
font-size: ${Lt};
|
|
167
|
+
font-weight: ${zt};
|
|
168
|
+
letter-spacing: ${Zt};
|
|
169
|
+
line-height: ${Kt};
|
|
170
|
+
text-transform: ${Ft};
|
|
165
171
|
}
|
|
166
172
|
|
|
167
|
-
`,
|
|
173
|
+
`,yo=e.css`
|
|
168
174
|
.ft-typography--body1 {
|
|
169
|
-
font-family: ${
|
|
170
|
-
font-size: ${
|
|
171
|
-
font-weight: ${
|
|
172
|
-
letter-spacing: ${
|
|
173
|
-
line-height: ${
|
|
174
|
-
text-transform: ${
|
|
175
|
+
font-family: ${Bt};
|
|
176
|
+
font-size: ${Dt};
|
|
177
|
+
font-weight: ${Ht};
|
|
178
|
+
letter-spacing: ${At};
|
|
179
|
+
line-height: ${Gt};
|
|
180
|
+
text-transform: ${jt};
|
|
175
181
|
}
|
|
176
|
-
`,
|
|
182
|
+
`,bo=e.css`
|
|
177
183
|
.ft-typography--body2 {
|
|
178
|
-
font-family: ${
|
|
179
|
-
font-size: ${
|
|
180
|
-
font-weight: ${
|
|
181
|
-
letter-spacing: ${
|
|
182
|
-
line-height: ${
|
|
183
|
-
text-transform: ${
|
|
184
|
+
font-family: ${Pt.fontFamily};
|
|
185
|
+
font-size: ${Pt.fontSize};
|
|
186
|
+
font-weight: ${Pt.fontWeight};
|
|
187
|
+
letter-spacing: ${Pt.letterSpacing};
|
|
188
|
+
line-height: ${Pt.lineHeight};
|
|
189
|
+
text-transform: ${Pt.textTransform};
|
|
184
190
|
}
|
|
185
|
-
`,
|
|
191
|
+
`,uo=e.css`
|
|
186
192
|
.ft-typography--caption {
|
|
187
|
-
font-family: ${
|
|
188
|
-
font-size: ${
|
|
189
|
-
font-weight: ${
|
|
190
|
-
letter-spacing: ${
|
|
191
|
-
line-height: ${
|
|
192
|
-
text-transform: ${
|
|
193
|
+
font-family: ${Mt};
|
|
194
|
+
font-size: ${Tt};
|
|
195
|
+
font-weight: ${_t};
|
|
196
|
+
letter-spacing: ${Yt};
|
|
197
|
+
line-height: ${Vt};
|
|
198
|
+
text-transform: ${qt};
|
|
193
199
|
}
|
|
194
|
-
`,
|
|
200
|
+
`,mo=e.css`
|
|
195
201
|
.ft-typography--breadcrumb {
|
|
196
|
-
font-family: ${
|
|
197
|
-
font-size: ${
|
|
198
|
-
font-weight: ${
|
|
199
|
-
letter-spacing: ${
|
|
200
|
-
line-height: ${
|
|
201
|
-
text-transform: ${
|
|
202
|
+
font-family: ${Xt};
|
|
203
|
+
font-size: ${Jt};
|
|
204
|
+
font-weight: ${Qt};
|
|
205
|
+
letter-spacing: ${to};
|
|
206
|
+
line-height: ${oo};
|
|
207
|
+
text-transform: ${eo};
|
|
202
208
|
}
|
|
203
|
-
`,
|
|
209
|
+
`,xo=e.css`
|
|
204
210
|
.ft-typography--overline {
|
|
205
|
-
font-family: ${
|
|
206
|
-
font-size: ${
|
|
207
|
-
font-weight: ${
|
|
208
|
-
letter-spacing: ${
|
|
209
|
-
line-height: ${
|
|
210
|
-
text-transform: ${
|
|
211
|
+
font-family: ${ro};
|
|
212
|
+
font-size: ${io};
|
|
213
|
+
font-weight: ${ao};
|
|
214
|
+
letter-spacing: ${no};
|
|
215
|
+
line-height: ${lo};
|
|
216
|
+
text-transform: ${co};
|
|
211
217
|
}
|
|
212
|
-
`,
|
|
218
|
+
`,Oo=e.css`
|
|
213
219
|
.ft-typography--button {
|
|
214
|
-
font-family: ${
|
|
215
|
-
font-size: ${
|
|
216
|
-
font-weight: ${
|
|
217
|
-
letter-spacing: ${
|
|
218
|
-
line-height: ${
|
|
219
|
-
text-transform: ${
|
|
220
|
-
}
|
|
221
|
-
`,
|
|
220
|
+
font-family: ${po.fontFamily};
|
|
221
|
+
font-size: ${po.fontSize};
|
|
222
|
+
font-weight: ${po.fontWeight};
|
|
223
|
+
letter-spacing: ${po.letterSpacing};
|
|
224
|
+
line-height: ${po.lineHeight};
|
|
225
|
+
text-transform: ${po.textTransform};
|
|
226
|
+
}
|
|
227
|
+
`,vo=e.css`
|
|
222
228
|
.ft-typography {
|
|
223
229
|
vertical-align: inherit;
|
|
224
230
|
}
|
|
225
|
-
`,
|
|
231
|
+
`,No=[Object.keys(ct).map((t=>function(t){const o=ct[t];return e.css`
|
|
226
232
|
.ft-typography--${e.unsafeCSS(t)} {
|
|
227
233
|
font-family: ${o.fontFamily};
|
|
228
234
|
font-size: ${o.fontSize};
|
|
@@ -231,14 +237,14 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
231
237
|
line-height: ${o.lineHeight};
|
|
232
238
|
text-transform: ${o.textCase};
|
|
233
239
|
}
|
|
234
|
-
`}(t)))];var
|
|
235
|
-
<${
|
|
240
|
+
`}(t)))];var So,$o,Co=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class wo extends o.FtLitElement{constructor(){super(...arguments),this.variant=it.body1}render(){return this.element?rt`
|
|
241
|
+
<${ot(this.element)}
|
|
236
242
|
class="ft-typography ft-typography--${this.variant}">
|
|
237
243
|
<slot></slot>
|
|
238
|
-
</${
|
|
239
|
-
`:
|
|
244
|
+
</${ot(this.element)}>
|
|
245
|
+
`:rt`
|
|
240
246
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
241
|
-
`}}
|
|
247
|
+
`}}wo.styles=[fo,so,ho,go,yo,bo,uo,mo,xo,Oo,vo,...No],Co([r.property()],wo.prototype,"element",void 0),Co([r.property()],wo.prototype,"variant",void 0),o.customElement("ft-typography")(wo),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(So||(So={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}($o||($o={})),new Map([...["abw"].map((t=>[t,$o.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,$o.AUDIO])),...["avi"].map((t=>[t,$o.AVI])),...["chm","xhs"].map((t=>[t,$o.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,$o.CODE])),...["csv"].map((t=>[t,$o.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,$o.DITA])),...["epub"].map((t=>[t,$o.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,$o.EXCEL])),...["flac"].map((t=>[t,$o.FLAC])),...["gif"].map((t=>[t,$o.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,$o.GZIP])),...["html","htm","xhtml"].map((t=>[t,$o.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,$o.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,$o.JPEG])),...["json"].map((t=>[t,$o.JSON])),...["m4a","m4p"].map((t=>[t,$o.M4A])),...["mov","qt"].map((t=>[t,$o.MOV])),...["mp3"].map((t=>[t,$o.MP3])),...["mp4","m4v"].map((t=>[t,$o.MP4])),...["ogg","oga"].map((t=>[t,$o.OGG])),...["pdf","ps"].map((t=>[t,$o.PDF])),...["png"].map((t=>[t,$o.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,$o.POWERPOINT])),...["rar"].map((t=>[t,$o.RAR])),...["stp"].map((t=>[t,$o.STP])),...["txt","rtf","md","mdown"].map((t=>[t,$o.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,$o.VIDEO])),...["wav"].map((t=>[t,$o.WAV])),...["wma"].map((t=>[t,$o.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,$o.WORD])),...["xml","xsl","rdf"].map((t=>[t,$o.XML])),...["yaml","yml","x-yaml"].map((t=>[t,$o.YAML])),...["zip"].map((t=>[t,$o.ZIP]))]);const Io={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")},ko=e.css`
|
|
242
248
|
:host, i.ft-icon {
|
|
243
249
|
display: inline-flex;
|
|
244
250
|
align-items: center;
|
|
@@ -247,14 +253,14 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
247
253
|
}
|
|
248
254
|
|
|
249
255
|
:host {
|
|
250
|
-
width: ${
|
|
251
|
-
height: ${
|
|
256
|
+
width: ${Io.size};
|
|
257
|
+
height: ${Io.size};
|
|
252
258
|
}
|
|
253
259
|
|
|
254
260
|
i.ft-icon {
|
|
255
261
|
width: 100%;
|
|
256
262
|
height: 100%;
|
|
257
|
-
font-size: ${
|
|
263
|
+
font-size: ${Io.size};
|
|
258
264
|
line-height: 1;
|
|
259
265
|
font-weight: normal;
|
|
260
266
|
text-transform: none;
|
|
@@ -265,33 +271,33 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
265
271
|
text-rendering: auto;
|
|
266
272
|
-webkit-font-smoothing: antialiased;
|
|
267
273
|
-moz-osx-font-smoothing: grayscale;
|
|
268
|
-
vertical-align: ${
|
|
274
|
+
vertical-align: ${Io.verticalAlign};
|
|
269
275
|
}
|
|
270
276
|
|
|
271
277
|
i.ft-icon.ft-icon--fluid-topics {
|
|
272
|
-
font-family: ${
|
|
278
|
+
font-family: ${Io.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
273
279
|
|
|
274
280
|
/* Ugly fix because font is broken */
|
|
275
|
-
font-size: calc(0.75 * ${
|
|
276
|
-
line-height: ${
|
|
281
|
+
font-size: calc(0.75 * ${Io.size});
|
|
282
|
+
line-height: ${Io.size};
|
|
277
283
|
position: relative;
|
|
278
284
|
top: -4%;
|
|
279
285
|
justify-content: center;
|
|
280
286
|
}
|
|
281
287
|
|
|
282
288
|
.ft-icon--file-format {
|
|
283
|
-
font-family: ${
|
|
289
|
+
font-family: ${Io.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
284
290
|
}
|
|
285
291
|
|
|
286
292
|
.ft-icon--material {
|
|
287
|
-
font-family: ${
|
|
293
|
+
font-family: ${Io.materialFontFamily}, "Material Icons", sans-serif;
|
|
288
294
|
}
|
|
289
|
-
`;var
|
|
295
|
+
`;var Uo;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Uo||(Uo={}));var Ro=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Wo extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Uo).includes(this.variant)?this.variant:Uo.fluid_topics,o=t!==Uo.material||!!this.value;return e.html`
|
|
290
296
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
291
297
|
${a.unsafeHTML(this.resolvedIcon)}
|
|
292
298
|
<slot ?hidden=${o}></slot>
|
|
293
299
|
</i>
|
|
294
|
-
`}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 r=this.value||this.textContent;switch(this.variant){case
|
|
300
|
+
`}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 r=this.value||this.textContent;switch(this.variant){case Uo.file_format:this.resolvedIcon=null!==(t=$o[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case Uo.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=So[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Wo.elementDefinitions={},Wo.styles=ko,Ro([r.property()],Wo.prototype,"variant",void 0),Ro([r.property()],Wo.prototype,"value",void 0),Ro([r.state()],Wo.prototype,"resolvedIcon",void 0),Ro([r.query("slot")],Wo.prototype,"slottedContent",void 0),o.customElement("ft-icon")(Wo);const Eo={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Lo=e.css`
|
|
295
301
|
:host {
|
|
296
302
|
line-height: 0;
|
|
297
303
|
}
|
|
@@ -300,8 +306,8 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
300
306
|
display: inline-block;
|
|
301
307
|
position: relative;
|
|
302
308
|
|
|
303
|
-
width: ${
|
|
304
|
-
height: ${
|
|
309
|
+
width: ${Eo.size};
|
|
310
|
+
height: ${Eo.size};
|
|
305
311
|
}
|
|
306
312
|
|
|
307
313
|
.ft-loader div {
|
|
@@ -310,7 +316,7 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
310
316
|
width: 25%;
|
|
311
317
|
height: 25%;
|
|
312
318
|
border-radius: 50%;
|
|
313
|
-
background: ${
|
|
319
|
+
background: ${Eo.color};
|
|
314
320
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
315
321
|
}
|
|
316
322
|
|
|
@@ -357,10 +363,10 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
357
363
|
transform: translate(0, 0);
|
|
358
364
|
}
|
|
359
365
|
100% {
|
|
360
|
-
transform: translate(calc(0.35 * ${
|
|
366
|
+
transform: translate(calc(0.35 * ${Eo.size}), 0);
|
|
361
367
|
}
|
|
362
368
|
}
|
|
363
|
-
`,
|
|
369
|
+
`,zo=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Zo={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:zo,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",po.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",zo),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")},Ko=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Fo={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:Ko,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Ko)},Bo=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),Do=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Ho=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Ao=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),Go=[e.css`
|
|
364
370
|
:host {
|
|
365
371
|
display: inline-block;
|
|
366
372
|
max-width: 100%;
|
|
@@ -371,7 +377,7 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
371
377
|
box-shadow: 0px 0px 0px transparent;
|
|
372
378
|
border: 0px solid transparent;
|
|
373
379
|
text-shadow: 0px 0px 0px transparent;
|
|
374
|
-
font-size: ${
|
|
380
|
+
font-size: ${Zo.fontSize};
|
|
375
381
|
}
|
|
376
382
|
|
|
377
383
|
button:hover {
|
|
@@ -400,31 +406,31 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
400
406
|
border: none;
|
|
401
407
|
pointer-events: auto;
|
|
402
408
|
|
|
403
|
-
--ft-button-internal-line-height: max(calc(${
|
|
404
|
-
--ft-button-internal-color: ${
|
|
405
|
-
${o.setVariable(
|
|
406
|
-
${o.setVariable(l.color,
|
|
409
|
+
--ft-button-internal-line-height: max(calc(${Zo.fontSize} + 2px), ${Zo.iconSize});
|
|
410
|
+
--ft-button-internal-color: ${Zo.color};
|
|
411
|
+
${o.setVariable(Io.size,Zo.iconSize)};
|
|
412
|
+
${o.setVariable(l.color,Zo.rippleColor)};
|
|
407
413
|
|
|
408
|
-
border-radius: ${
|
|
409
|
-
padding: ${
|
|
410
|
-
background-color: ${
|
|
414
|
+
border-radius: ${Zo.borderRadius};
|
|
415
|
+
padding: ${Zo.verticalPadding} ${Zo.horizontalPadding};
|
|
416
|
+
background-color: ${Zo.backgroundColor};
|
|
411
417
|
color: var(--ft-button-internal-color);
|
|
412
418
|
-webkit-mask-image: radial-gradient(white, black);
|
|
413
419
|
}
|
|
414
420
|
|
|
415
421
|
.ft-button.ft-button--outlined {
|
|
416
422
|
border: 1px solid var(--ft-button-internal-color);
|
|
417
|
-
padding: calc(${
|
|
423
|
+
padding: calc(${Zo.verticalPadding} - 1px) calc(${Zo.horizontalPadding} - 1px);
|
|
418
424
|
}
|
|
419
425
|
|
|
420
426
|
.ft-button.ft-button--dense {
|
|
421
|
-
padding: ${
|
|
422
|
-
border-radius: ${
|
|
423
|
-
gap: ${
|
|
427
|
+
padding: ${Do} ${Ho};
|
|
428
|
+
border-radius: ${Bo};
|
|
429
|
+
gap: ${Ao};
|
|
424
430
|
}
|
|
425
431
|
|
|
426
432
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
427
|
-
padding: calc(${
|
|
433
|
+
padding: calc(${Do} - 1px) calc(${Ho} - 1px);
|
|
428
434
|
}
|
|
429
435
|
|
|
430
436
|
.ft-button:not([disabled]):hover {
|
|
@@ -432,22 +438,22 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
432
438
|
}
|
|
433
439
|
|
|
434
440
|
.ft-button--round {
|
|
435
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
441
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Zo.verticalPadding});
|
|
436
442
|
}
|
|
437
443
|
|
|
438
444
|
.ft-button--round.ft-button--dense {
|
|
439
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
445
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Do});
|
|
440
446
|
}
|
|
441
447
|
|
|
442
448
|
.ft-button[disabled] {
|
|
443
449
|
filter: grayscale(1);
|
|
444
|
-
opacity: ${
|
|
450
|
+
opacity: ${Zo.opacityDisabled};
|
|
445
451
|
}
|
|
446
452
|
|
|
447
453
|
.ft-button.ft-button--primary {
|
|
448
|
-
background-color: ${
|
|
449
|
-
--ft-button-internal-color: ${
|
|
450
|
-
${o.setVariable(l.color,
|
|
454
|
+
background-color: ${Fo.backgroundColor};
|
|
455
|
+
--ft-button-internal-color: ${Fo.color};
|
|
456
|
+
${o.setVariable(l.color,Fo.rippleColor)};
|
|
451
457
|
}
|
|
452
458
|
|
|
453
459
|
.ft-button:focus {
|
|
@@ -460,13 +466,13 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
460
466
|
white-space: nowrap;
|
|
461
467
|
text-overflow: ellipsis;
|
|
462
468
|
display: block;
|
|
463
|
-
margin: 0 ${
|
|
464
|
-
${o.setVariable(
|
|
465
|
-
${o.setVariable(
|
|
469
|
+
margin: 0 ${Zo.iconPadding};
|
|
470
|
+
${o.setVariable(po.fontSize,"1em")};
|
|
471
|
+
${o.setVariable(po.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
466
472
|
}
|
|
467
473
|
|
|
468
474
|
.ft-button--dense .ft-button--label {
|
|
469
|
-
margin: 0 ${
|
|
475
|
+
margin: 0 ${Ao};
|
|
470
476
|
}
|
|
471
477
|
|
|
472
478
|
.ft-button--label[hidden] {
|
|
@@ -479,13 +485,13 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
479
485
|
}
|
|
480
486
|
|
|
481
487
|
.ft-button--label[hidden] + ft-icon {
|
|
482
|
-
margin: 0 calc(${
|
|
483
|
-
padding: 0 ${
|
|
488
|
+
margin: 0 calc(${Zo.horizontalPadding} * -1);
|
|
489
|
+
padding: 0 ${Zo.verticalPadding};
|
|
484
490
|
}
|
|
485
491
|
|
|
486
492
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
487
|
-
margin: 0 calc(${
|
|
488
|
-
padding: 0 ${
|
|
493
|
+
margin: 0 calc(${Ho} * -1);
|
|
494
|
+
padding: 0 ${Do};
|
|
489
495
|
}
|
|
490
496
|
|
|
491
497
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -494,10 +500,10 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
494
500
|
}
|
|
495
501
|
|
|
496
502
|
ft-loader {
|
|
497
|
-
${o.setVariable(
|
|
498
|
-
${o.setVariable(
|
|
503
|
+
${o.setVariable(Eo.size,Zo.iconSize)};
|
|
504
|
+
${o.setVariable(Eo.color,"var(--ft-button-internal-color)")};
|
|
499
505
|
}
|
|
500
|
-
`,o.noTextSelect],
|
|
506
|
+
`,o.noTextSelect],jo=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),Po=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Mo=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),To=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),_o=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),Yo=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),Vo=e.css`
|
|
501
507
|
.ft-tooltip--container {
|
|
502
508
|
display: block;
|
|
503
509
|
}
|
|
@@ -512,21 +518,21 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
512
518
|
box-sizing: border-box;
|
|
513
519
|
overflow: hidden;
|
|
514
520
|
width: max-content;
|
|
515
|
-
max-width: ${
|
|
521
|
+
max-width: ${Yo};
|
|
516
522
|
text-align: center;
|
|
517
|
-
padding: ${
|
|
518
|
-
z-index: ${
|
|
523
|
+
padding: ${jo};
|
|
524
|
+
z-index: ${To};
|
|
519
525
|
}
|
|
520
526
|
|
|
521
527
|
.ft-tooltip--content {
|
|
522
528
|
padding: 4px 8px;
|
|
523
|
-
border-radius: ${
|
|
524
|
-
background-color: ${
|
|
525
|
-
color: ${
|
|
529
|
+
border-radius: ${_o};
|
|
530
|
+
background-color: ${Mo};
|
|
531
|
+
color: ${Po};
|
|
526
532
|
position: relative;
|
|
527
533
|
word-break: break-word;
|
|
528
534
|
}
|
|
529
|
-
`;var
|
|
535
|
+
`;var qo=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Xo 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 e.html`
|
|
530
536
|
<div part="container"
|
|
531
537
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
532
538
|
@mouseenter=${this.onHover}
|
|
@@ -544,14 +550,14 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
544
550
|
</div>
|
|
545
551
|
</div>
|
|
546
552
|
</div>
|
|
547
|
-
`}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,i=(t.offsetWidth-o)/2;let a=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,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"bottom":n=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"left":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=a+"px",l.top=n+"px";const c=this.tooltip.getBoundingClientRect();let p=-c.x,f=c.x+c.width-window.innerWidth;l.left=a+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, ${
|
|
553
|
+
`}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,i=(t.offsetWidth-o)/2;let a=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,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"bottom":n=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"left":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=a+"px",l.top=n+"px";const c=this.tooltip.getBoundingClientRect();let p=-c.x,f=c.x+c.width-window.innerWidth;l.left=a+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, ${Yo})`}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))}}Xo.elementDefinitions={"ft-typography":wo},Xo.styles=Vo,qo([r.property()],Xo.prototype,"text",void 0),qo([r.property({type:Boolean})],Xo.prototype,"manual",void 0),qo([r.property({type:Boolean})],Xo.prototype,"inline",void 0),qo([r.property({type:Number})],Xo.prototype,"delay",void 0),qo([r.property()],Xo.prototype,"position",void 0),qo([r.queryAssignedNodes()],Xo.prototype,"slotNodes",void 0),qo([r.query(".ft-tooltip--container")],Xo.prototype,"container",void 0),qo([r.query(".ft-tooltip")],Xo.prototype,"tooltip",void 0),qo([r.query(".ft-tooltip--content")],Xo.prototype,"tooltipContent",void 0),qo([r.state()],Xo.prototype,"visible",void 0),o.customElement("ft-tooltip")(Xo);class Jo extends o.FtLitElement{render(){return e.html`
|
|
548
554
|
<div class="ft-loader">
|
|
549
555
|
<div></div>
|
|
550
556
|
<div></div>
|
|
551
557
|
<div></div>
|
|
552
558
|
<div></div>
|
|
553
559
|
</div>
|
|
554
|
-
`}}
|
|
560
|
+
`}}Jo.styles=Lo,o.customElement("ft-loader")(Jo);var Qo=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class te 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(e.html`
|
|
555
561
|
<button part="button"
|
|
556
562
|
class="${i.classMap(this.buttonClasses)}"
|
|
557
563
|
aria-label="${this.getLabel()}"
|
|
@@ -574,7 +580,7 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
574
580
|
</ft-tooltip>
|
|
575
581
|
`:t}resolveIcon(){return this.loading?e.html`
|
|
576
582
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
577
|
-
<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}}
|
|
583
|
+
<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}}te.elementDefinitions={"ft-ripple":b,"ft-tooltip":Xo,"ft-typography":wo,"ft-icon":Wo,"ft-loader":Jo},Qo([r.property({type:String,reflect:!0})],te.prototype,"role",void 0),Qo([r.property()],te.prototype,"type",void 0),Qo([r.property({type:Boolean})],te.prototype,"disabled",void 0),Qo([r.property()],te.prototype,"label",void 0),Qo([r.property()],te.prototype,"icon",void 0),Qo([r.property()],te.prototype,"iconVariant",void 0),Qo([r.property({type:Boolean})],te.prototype,"trailingIcon",void 0),Qo([r.property({type:Boolean})],te.prototype,"loading",void 0),Qo([r.property()],te.prototype,"tooltipPosition",void 0),Qo([r.property({type:Boolean})],te.prototype,"hideTooltip",void 0),Qo([r.property({type:Boolean})],te.prototype,"forceTooltip",void 0),Qo([r.query(".ft-button")],te.prototype,"button",void 0),Qo([r.query(".ft-button--label slot")],te.prototype,"slottedContent",void 0);var oe=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ee extends te{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}ee.styles=[o.safariEllipsisFix,Go],oe([r.property({type:Boolean})],ee.prototype,"primary",void 0),oe([r.property({type:Boolean})],ee.prototype,"outlined",void 0),oe([r.property({type:Boolean})],ee.prototype,"dense",void 0),oe([r.property({type:Boolean})],ee.prototype,"round",void 0);const re=[e.css`
|
|
578
584
|
:host {
|
|
579
585
|
display: inline-block;
|
|
580
586
|
max-width: 100%;
|
|
@@ -624,7 +630,7 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
624
630
|
}
|
|
625
631
|
|
|
626
632
|
.ft-button:focus-visible {
|
|
627
|
-
outline-color: ${
|
|
633
|
+
outline-color: ${ft.focusFocusRingColor};
|
|
628
634
|
outline-style: solid;
|
|
629
635
|
}
|
|
630
636
|
|
|
@@ -653,146 +659,146 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
653
659
|
/** Primary styles **/
|
|
654
660
|
|
|
655
661
|
.ft-button--primary {
|
|
656
|
-
${o.setVariable(
|
|
662
|
+
${o.setVariable(Eo.color,ft.primaryIconColor)};
|
|
657
663
|
|
|
658
|
-
${o.setVariable(l.color,
|
|
659
|
-
${o.setVariable(l.opacityContentOnSurfaceHover,
|
|
660
|
-
${o.setVariable(l.opacityContentOnSurfaceFocused,
|
|
661
|
-
${o.setVariable(l.opacityContentOnSurfaceSelected,
|
|
662
|
-
${o.setVariable(l.opacityContentOnSurfacePressed,
|
|
664
|
+
${o.setVariable(l.color,ft.primaryStateLayerColor)};
|
|
665
|
+
${o.setVariable(l.opacityContentOnSurfaceHover,ft.primaryStateLayerOpacityHover)};
|
|
666
|
+
${o.setVariable(l.opacityContentOnSurfaceFocused,ft.primaryStateLayerOpacityFocus)};
|
|
667
|
+
${o.setVariable(l.opacityContentOnSurfaceSelected,ft.primaryStateLayerOpacityActive)};
|
|
668
|
+
${o.setVariable(l.opacityContentOnSurfacePressed,ft.primaryStateLayerOpacityActive)};
|
|
663
669
|
|
|
664
|
-
background-color: ${
|
|
665
|
-
color: ${
|
|
670
|
+
background-color: ${ft.primaryBackgroundColor};
|
|
671
|
+
color: ${ft.primaryColor};
|
|
666
672
|
border-style: none;
|
|
667
673
|
}
|
|
668
674
|
|
|
669
675
|
.ft-button--primary[disabled] {
|
|
670
|
-
opacity: ${
|
|
676
|
+
opacity: ${ft.primaryComponentOpacityDisabled};
|
|
671
677
|
}
|
|
672
678
|
|
|
673
679
|
.ft-button--primary ft-icon {
|
|
674
|
-
color: ${
|
|
680
|
+
color: ${ft.primaryIconColor};
|
|
675
681
|
}
|
|
676
682
|
|
|
677
683
|
/** Secondary styles **/
|
|
678
684
|
|
|
679
685
|
.ft-button--secondary {
|
|
680
|
-
${o.setVariable(
|
|
686
|
+
${o.setVariable(Eo.color,ft.secondaryIconColor)};
|
|
681
687
|
|
|
682
|
-
${o.setVariable(l.color,
|
|
683
|
-
${o.setVariable(l.opacityContentOnSurfaceHover,
|
|
684
|
-
${o.setVariable(l.opacityContentOnSurfaceFocused,
|
|
685
|
-
${o.setVariable(l.opacityContentOnSurfaceSelected,
|
|
686
|
-
${o.setVariable(l.opacityContentOnSurfacePressed,
|
|
688
|
+
${o.setVariable(l.color,ft.secondaryStateLayerColor)};
|
|
689
|
+
${o.setVariable(l.opacityContentOnSurfaceHover,ft.secondaryStateLayerOpacityHover)};
|
|
690
|
+
${o.setVariable(l.opacityContentOnSurfaceFocused,ft.secondaryStateLayerOpacityFocus)};
|
|
691
|
+
${o.setVariable(l.opacityContentOnSurfaceSelected,ft.secondaryStateLayerOpacityActive)};
|
|
692
|
+
${o.setVariable(l.opacityContentOnSurfacePressed,ft.secondaryStateLayerOpacityActive)};
|
|
687
693
|
|
|
688
|
-
background-color: ${
|
|
689
|
-
color: ${
|
|
690
|
-
border-color: ${
|
|
694
|
+
background-color: ${ft.secondaryBackgroundColor};
|
|
695
|
+
color: ${ft.secondaryColor};
|
|
696
|
+
border-color: ${ft.secondaryBorderColor};
|
|
691
697
|
border-style: solid;
|
|
692
698
|
}
|
|
693
699
|
|
|
694
700
|
.ft-button--secondary[disabled] {
|
|
695
|
-
opacity: ${
|
|
701
|
+
opacity: ${ft.secondaryComponentOpacityDisabled};
|
|
696
702
|
}
|
|
697
703
|
|
|
698
704
|
.ft-button--secondary ft-icon {
|
|
699
|
-
color: ${
|
|
705
|
+
color: ${ft.secondaryIconColor};
|
|
700
706
|
}
|
|
701
707
|
|
|
702
708
|
/** Tertiary styles **/
|
|
703
709
|
|
|
704
710
|
.ft-button--tertiary {
|
|
705
|
-
${o.setVariable(
|
|
711
|
+
${o.setVariable(Eo.color,ft.tertiaryIconColor)};
|
|
706
712
|
|
|
707
|
-
${o.setVariable(l.color,
|
|
708
|
-
${o.setVariable(l.opacityContentOnSurfaceHover,
|
|
709
|
-
${o.setVariable(l.opacityContentOnSurfaceFocused,
|
|
710
|
-
${o.setVariable(l.opacityContentOnSurfaceSelected,
|
|
711
|
-
${o.setVariable(l.opacityContentOnSurfacePressed,
|
|
713
|
+
${o.setVariable(l.color,ft.tertiaryStateLayerColor)};
|
|
714
|
+
${o.setVariable(l.opacityContentOnSurfaceHover,ft.tertiaryStateLayerOpacityHover)};
|
|
715
|
+
${o.setVariable(l.opacityContentOnSurfaceFocused,ft.tertiaryStateLayerOpacityFocus)};
|
|
716
|
+
${o.setVariable(l.opacityContentOnSurfaceSelected,ft.tertiaryStateLayerOpacityActive)};
|
|
717
|
+
${o.setVariable(l.opacityContentOnSurfacePressed,ft.tertiaryStateLayerOpacityActive)};
|
|
712
718
|
|
|
713
|
-
background-color: ${
|
|
714
|
-
color: ${
|
|
719
|
+
background-color: ${ft.tertiaryBackgroundColor};
|
|
720
|
+
color: ${ft.tertiaryColor};
|
|
715
721
|
border-style: none;
|
|
716
722
|
}
|
|
717
723
|
|
|
718
724
|
.ft-button--tertiary[disabled] {
|
|
719
|
-
opacity: ${
|
|
725
|
+
opacity: ${ft.tertiaryComponentOpacityDisabled};
|
|
720
726
|
}
|
|
721
727
|
|
|
722
728
|
.ft-button--tertiary ft-icon {
|
|
723
|
-
color: ${
|
|
729
|
+
color: ${ft.tertiaryIconColor};
|
|
724
730
|
}
|
|
725
731
|
|
|
726
732
|
/** Neutral styles **/
|
|
727
733
|
|
|
728
734
|
.ft-button--neutral {
|
|
729
|
-
${o.setVariable(
|
|
735
|
+
${o.setVariable(Eo.color,ft.neutralIconColor)};
|
|
730
736
|
|
|
731
|
-
${o.setVariable(l.backgroundColor,
|
|
732
|
-
${o.setVariable(l.opacityContentOnSurfaceHover,
|
|
733
|
-
${o.setVariable(l.opacityContentOnSurfaceFocused,
|
|
734
|
-
${o.setVariable(l.opacityContentOnSurfaceSelected,
|
|
735
|
-
${o.setVariable(l.opacityContentOnSurfacePressed,
|
|
737
|
+
${o.setVariable(l.backgroundColor,ft.neutralStateLayerColor)};
|
|
738
|
+
${o.setVariable(l.opacityContentOnSurfaceHover,ft.neutralStateLayerOpacityHover)};
|
|
739
|
+
${o.setVariable(l.opacityContentOnSurfaceFocused,ft.neutralStateLayerOpacityFocus)};
|
|
740
|
+
${o.setVariable(l.opacityContentOnSurfaceSelected,ft.neutralStateLayerOpacityActive)};
|
|
741
|
+
${o.setVariable(l.opacityContentOnSurfacePressed,ft.neutralStateLayerOpacityActive)};
|
|
736
742
|
|
|
737
|
-
background-color: ${
|
|
738
|
-
color: ${
|
|
743
|
+
background-color: ${ft.neutralBackgroundColor};
|
|
744
|
+
color: ${ft.neutralColor};
|
|
739
745
|
border-style: none;
|
|
740
746
|
}
|
|
741
747
|
|
|
742
748
|
.ft-button--neutral[disabled] {
|
|
743
|
-
opacity: ${
|
|
749
|
+
opacity: ${ft.neutralComponentOpacityDisabled};
|
|
744
750
|
}
|
|
745
751
|
|
|
746
752
|
.ft-button--neutral ft-icon {
|
|
747
|
-
color: ${
|
|
753
|
+
color: ${ft.neutralIconColor};
|
|
748
754
|
}
|
|
749
755
|
|
|
750
756
|
/** Large styles **/
|
|
751
757
|
|
|
752
758
|
.ft-button--large {
|
|
753
|
-
${o.setVariable(
|
|
754
|
-
${o.setVariable(
|
|
759
|
+
${o.setVariable(Io.size,ft.largeIconSize)};
|
|
760
|
+
${o.setVariable(Eo.size,ft.largeIconSize)};
|
|
755
761
|
|
|
756
|
-
height: ${
|
|
757
|
-
padding: 0 ${
|
|
758
|
-
gap: ${
|
|
759
|
-
border-radius: ${
|
|
760
|
-
border-width: ${
|
|
762
|
+
height: ${ft.largeHeight};
|
|
763
|
+
padding: 0 ${ft.largeHorizontalPadding};
|
|
764
|
+
gap: ${ft.largeGap};
|
|
765
|
+
border-radius: ${ft.largeBorderRadius};
|
|
766
|
+
border-width: ${ft.largeBorderWidth};
|
|
761
767
|
}
|
|
762
768
|
|
|
763
769
|
.ft-button--large:focus-visible {
|
|
764
|
-
outline-width: ${
|
|
765
|
-
outline-offset: ${
|
|
770
|
+
outline-width: ${ft.largeFocusOutlineWidth};
|
|
771
|
+
outline-offset: ${ft.largeFocusOutlineOffset};
|
|
766
772
|
}
|
|
767
773
|
|
|
768
774
|
.ft-button--large.ft-button--icon-only {
|
|
769
|
-
width: ${
|
|
775
|
+
width: ${ft.largeIconOnlyWidth};
|
|
770
776
|
padding: unset;
|
|
771
777
|
}
|
|
772
778
|
|
|
773
779
|
/** Small styles **/
|
|
774
780
|
|
|
775
781
|
.ft-button--small {
|
|
776
|
-
${o.setVariable(
|
|
777
|
-
${o.setVariable(
|
|
782
|
+
${o.setVariable(Io.size,ft.smallIconSize)};
|
|
783
|
+
${o.setVariable(Eo.size,ft.smallIconSize)};
|
|
778
784
|
|
|
779
|
-
height: ${
|
|
780
|
-
padding: 0 ${
|
|
781
|
-
gap: ${
|
|
782
|
-
border-radius: ${
|
|
783
|
-
border-width: ${
|
|
785
|
+
height: ${ft.smallHeight};
|
|
786
|
+
padding: 0 ${ft.smallHorizontalPadding};
|
|
787
|
+
gap: ${ft.smallGap};
|
|
788
|
+
border-radius: ${ft.smallBorderRadius};
|
|
789
|
+
border-width: ${ft.smallBorderWidth};
|
|
784
790
|
}
|
|
785
791
|
|
|
786
792
|
.ft-button--small:focus-visible {
|
|
787
|
-
outline-width: ${
|
|
788
|
-
outline-offset: ${
|
|
793
|
+
outline-width: ${ft.smallFocusOutlineWidth};
|
|
794
|
+
outline-offset: ${ft.smallFocusOutlineOffset};
|
|
789
795
|
}
|
|
790
796
|
|
|
791
797
|
.ft-button--small.ft-button--icon-only {
|
|
792
|
-
width: ${
|
|
798
|
+
width: ${ft.smallIconOnlyWidth};
|
|
793
799
|
padding: unset;
|
|
794
800
|
}
|
|
795
|
-
`,o.noTextSelect];var
|
|
801
|
+
`,o.noTextSelect];var ie=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ae extends te{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?it.caption1medium:it.body2medium}}ae.styles=[o.safariEllipsisFix,re],ie([r.property({type:Boolean})],ae.prototype,"primary",void 0),ie([r.property({type:Boolean})],ae.prototype,"secondary",void 0),ie([r.property({type:Boolean})],ae.prototype,"tertiary",void 0),ie([r.property({type:Boolean})],ae.prototype,"neutral",void 0),ie([r.property({type:Boolean})],ae.prototype,"small",void 0),o.customElement("ft-button")(ee),o.customElement("ftds-button")(ae);const ne=o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnSurface),le={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorSurface),color:ne,fontSize:o.FtCssVariableFactory.extend("--ft-chip-font-size","",Pt.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:o.FtCssVariableFactory.extend("--ft-chip-ripple-color","",ne),horizontalPadding:o.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},ce=o.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnPrimary)),pe={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorPrimary)),color:ce,rippleColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",ce)},fe={horizontalPadding:o.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:o.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},se=[o.noTextSelect,e.css`
|
|
796
802
|
:host {
|
|
797
803
|
display: inline-block;
|
|
798
804
|
max-width: 100%;
|
|
@@ -808,20 +814,20 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
808
814
|
box-sizing: border-box;
|
|
809
815
|
pointer-events: auto;
|
|
810
816
|
|
|
811
|
-
--ft-chip-internal-font-size: ${
|
|
817
|
+
--ft-chip-internal-font-size: ${le.fontSize};
|
|
812
818
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
813
|
-
${o.setVariable(
|
|
814
|
-
--ft-chip-internal-vertical-padding: ${
|
|
815
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
819
|
+
${o.setVariable(Io.size,le.iconSize)};
|
|
820
|
+
--ft-chip-internal-vertical-padding: ${le.verticalPadding};
|
|
821
|
+
--ft-chip-internal-horizontal-padding: ${le.horizontalPadding};
|
|
816
822
|
--ft-chip-internal-icon-padding: 3px;
|
|
817
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
823
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${le.iconSize});
|
|
818
824
|
|
|
819
|
-
border: 1px solid ${
|
|
820
|
-
color: ${
|
|
821
|
-
${o.setVariable(l.color,
|
|
825
|
+
border: 1px solid ${le.colorOutline};
|
|
826
|
+
color: ${le.color};
|
|
827
|
+
${o.setVariable(l.color,le.rippleColor)};
|
|
822
828
|
border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
|
|
823
829
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
824
|
-
background-color: ${
|
|
830
|
+
background-color: ${le.backgroundColor};
|
|
825
831
|
line-height: var(--ft-chip-internal-content-height);
|
|
826
832
|
}
|
|
827
833
|
|
|
@@ -831,8 +837,8 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
831
837
|
|
|
832
838
|
.ft-chip--dense {
|
|
833
839
|
--ft-chip-internal-icon-padding: 3px;
|
|
834
|
-
--ft-chip-internal-vertical-padding: ${
|
|
835
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
840
|
+
--ft-chip-internal-vertical-padding: ${fe.verticalPadding};
|
|
841
|
+
--ft-chip-internal-horizontal-padding: ${fe.horizontalPadding};
|
|
836
842
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
837
843
|
}
|
|
838
844
|
|
|
@@ -844,15 +850,15 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
844
850
|
cursor: default;
|
|
845
851
|
pointer-events: none;
|
|
846
852
|
filter: grayscale(1);
|
|
847
|
-
opacity: ${
|
|
853
|
+
opacity: ${le.opacityDisabled};
|
|
848
854
|
}
|
|
849
855
|
|
|
850
856
|
.ft-chip--highlighted {
|
|
851
857
|
border: none;
|
|
852
858
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
853
|
-
background-color: ${
|
|
854
|
-
${o.setVariable(l.color,
|
|
855
|
-
color: ${
|
|
859
|
+
background-color: ${pe.backgroundColor};
|
|
860
|
+
${o.setVariable(l.color,pe.rippleColor)};
|
|
861
|
+
color: ${pe.color};
|
|
856
862
|
}
|
|
857
863
|
|
|
858
864
|
.ft-chip--clickable {
|
|
@@ -882,9 +888,9 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
882
888
|
}
|
|
883
889
|
|
|
884
890
|
.ft-chip--icon-button {
|
|
885
|
-
${o.setVariable(
|
|
886
|
-
${o.setVariable(
|
|
887
|
-
${o.setVariable(
|
|
891
|
+
${o.setVariable(Zo.iconSize,le.iconSize)};
|
|
892
|
+
${o.setVariable(Zo.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
893
|
+
${o.setVariable(Zo.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
888
894
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
889
895
|
}
|
|
890
896
|
|
|
@@ -892,8 +898,8 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
892
898
|
vertical-align: bottom;
|
|
893
899
|
display: block;
|
|
894
900
|
margin: 0 var(--ft-chip-internal-horizontal-padding);
|
|
895
|
-
${o.setVariable(
|
|
896
|
-
${o.setVariable(
|
|
901
|
+
${o.setVariable(Pt.fontSize,"var(--ft-chip-internal-font-size)")};
|
|
902
|
+
${o.setVariable(Pt.lineHeight,"var(--ft-chip-internal-content-height)")};
|
|
897
903
|
}
|
|
898
904
|
|
|
899
905
|
.ft-chip--safari-fix .ft-chip--label {
|
|
@@ -929,7 +935,7 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
929
935
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
930
936
|
order: -1;
|
|
931
937
|
}
|
|
932
|
-
`];var
|
|
938
|
+
`];var de=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class he extends CustomEvent{constructor(){super("icon-click")}}class ge extends o.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":o.isSafari};return e.html`
|
|
933
939
|
<div class="${i.classMap(t)}"
|
|
934
940
|
aria-label="${this.getLabel()}"
|
|
935
941
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
@@ -952,4 +958,4 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
952
958
|
<div class="ft-chip--icon-container ft-no-text-select">
|
|
953
959
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
|
|
954
960
|
</div>
|
|
955
|
-
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new
|
|
961
|
+
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new he))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new he))}getLabel(){return this.label||this.textContent}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:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}ge.elementDefinitions={"ft-ripple":b,"ft-typography":wo,"ft-icon":Wo,"ft-button":ee},ge.styles=se,de([r.property({type:Boolean})],ge.prototype,"highlighted",void 0),de([r.property({type:Boolean})],ge.prototype,"removable",void 0),de([r.property({type:Boolean})],ge.prototype,"disabled",void 0),de([r.property({type:Boolean})],ge.prototype,"clickable",void 0),de([r.property({type:Boolean})],ge.prototype,"iconClickable",void 0),de([r.property({type:Boolean})],ge.prototype,"dense",void 0),de([r.property({type:Boolean})],ge.prototype,"multiLine",void 0),de([r.property()],ge.prototype,"label",void 0),de([r.property()],ge.prototype,"iconLabel",void 0),de([r.property()],ge.prototype,"icon",void 0),de([r.property()],ge.prototype,"iconVariant",void 0),de([r.property({type:Boolean})],ge.prototype,"trailingIcon",void 0),de([r.query("ft-typography slot")],ge.prototype,"slottedContent",void 0),o.customElement("ft-chip")(ge),t.FtChip=ge,t.FtChipCssVariables=le,t.FtChipDenseCssVariables=fe,t.FtChipHighlightedCssVariables=pe,t.IconClickEvent=he,t.styles=se}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
|