@fluid-topics/ft-tooltip 1.0.59 → 1.0.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,12 @@
1
1
  import { css } from "lit";
2
2
  import { designSystemVariables, FtCssVariableFactory } from "@fluid-topics/ft-wc-utils";
3
3
  export const FtTooltipCssVariables = {
4
- distance: FtCssVariableFactory.create("--ft-tooltip-distance", "SIZE", "4px"),
5
- color: FtCssVariableFactory.create("--ft-tooltip-color", "COLOR", "#FFFFFF"),
6
- backgroundColor: FtCssVariableFactory.create("--ft-tooltip-background-color", "COLOR", "#666666"),
7
- zIndex: FtCssVariableFactory.create("--ft-tooltip-z-index", "NUMBER", "100"),
4
+ distance: FtCssVariableFactory.create("--ft-tooltip-distance", "", "SIZE", "4px"),
5
+ color: FtCssVariableFactory.create("--ft-tooltip-color", "", "COLOR", "#FFFFFF"),
6
+ backgroundColor: FtCssVariableFactory.create("--ft-tooltip-background-color", "", "COLOR", "#666666"),
7
+ zIndex: FtCssVariableFactory.create("--ft-tooltip-z-index", "", "NUMBER", "100"),
8
8
  borderRadiusS: FtCssVariableFactory.external(designSystemVariables.borderRadiusS, "Design system"),
9
- maxWidth: FtCssVariableFactory.create("--ft-tooltip-max-width", "SIZE", "150px"),
9
+ maxWidth: FtCssVariableFactory.create("--ft-tooltip-max-width", "", "SIZE", "150px"),
10
10
  };
11
11
  // language=CSS
12
12
  export const styles = css `
@@ -1,118 +1,127 @@
1
- !function(t,i,o,e){
1
+ !function(t,o,r,e){
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2017 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- var s;const n=window,h=n.trustedTypes,r=h?h.createPolicy("lit-html",{createHTML:t=>t}):void 0,l="$lit$",a=`lit$${(Math.random()+"").slice(9)}$`,p="?"+a,f=`<${p}>`,y=document,g=()=>y.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,d=Array.isArray,u="[ \t\n\f\r]",v=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,$=/-->/g,b=/>/g,m=RegExp(`>|${u}(?:([^\\s"'>=/]+)(${u}*=${u}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),x=/'/g,w=/"/g,z=/^(?:script|style|textarea|title)$/i,k=(t=>(i,...o)=>({_$litType$:t,strings:i,values:o}))(1),A=Symbol.for("lit-noChange"),N=Symbol.for("lit-nothing"),_=new WeakMap,S=y.createTreeWalker(y,129,null,!1),O=(t,i)=>{const o=t.length-1,e=[];let s,n=2===i?"<svg>":"",h=v;for(let i=0;i<o;i++){const o=t[i];let r,p,y=-1,g=0;for(;g<o.length&&(h.lastIndex=g,p=h.exec(o),null!==p);)g=h.lastIndex,h===v?"!--"===p[1]?h=$:void 0!==p[1]?h=b:void 0!==p[2]?(z.test(p[2])&&(s=RegExp("</"+p[2],"g")),h=m):void 0!==p[3]&&(h=m):h===m?">"===p[0]?(h=null!=s?s:v,y=-1):void 0===p[1]?y=-2:(y=h.lastIndex-p[2].length,r=p[1],h=void 0===p[3]?m:'"'===p[3]?w:x):h===w||h===x?h=m:h===$||h===b?h=v:(h=m,s=void 0);const c=h===m&&t[i+1].startsWith("/>")?" ":"";n+=h===v?o+f:y>=0?(e.push(r),o.slice(0,y)+l+o.slice(y)+a+c):o+a+(-2===y?(e.push(void 0),i):c)}const p=n+(t[o]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==r?r.createHTML(p):p,e]};class E{constructor({strings:t,_$litType$:i},o){let e;this.parts=[];let s=0,n=0;const r=t.length-1,f=this.parts,[y,c]=O(t,i);if(this.el=E.createElement(y,o),S.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(e=S.nextNode())&&f.length<r;){if(1===e.nodeType){if(e.hasAttributes()){const t=[];for(const i of e.getAttributeNames())if(i.endsWith(l)||i.startsWith(a)){const o=c[n++];if(t.push(i),void 0!==o){const t=e.getAttribute(o.toLowerCase()+l).split(a),i=/([.?@])?(.*)/.exec(o);f.push({type:1,index:s,name:i[2],strings:t,ctor:"."===i[1]?j:"?"===i[1]?U:"@"===i[1]?F:I})}else f.push({type:6,index:s})}for(const i of t)e.removeAttribute(i)}if(z.test(e.tagName)){const t=e.textContent.split(a),i=t.length-1;if(i>0){e.textContent=h?h.emptyScript:"";for(let o=0;o<i;o++)e.append(t[o],g()),S.nextNode(),f.push({type:2,index:++s});e.append(t[i],g())}}}else if(8===e.nodeType)if(e.data===p)f.push({type:2,index:s});else{let t=-1;for(;-1!==(t=e.data.indexOf(a,t+1));)f.push({type:7,index:s}),t+=a.length-1}s++}}static createElement(t,i){const o=y.createElement("template");return o.innerHTML=t,o}}function M(t,i,o=t,e){var s,n,h,r;if(i===A)return i;let l=void 0!==e?null===(s=o._$Co)||void 0===s?void 0:s[e]:o._$Cl;const a=c(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==a&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===a?l=void 0:(l=new a(t),l._$AT(t,o,e)),void 0!==e?(null!==(h=(r=o)._$Co)&&void 0!==h?h:r._$Co=[])[e]=l:o._$Cl=l),void 0!==l&&(i=M(t,l._$AS(t,i.values),l,e)),i}class T{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:o},parts:e}=this._$AD,s=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:y).importNode(o,!0);S.currentNode=s;let n=S.nextNode(),h=0,r=0,l=e[0];for(;void 0!==l;){if(h===l.index){let i;2===l.type?i=new C(n,n.nextSibling,this,t):1===l.type?i=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(i=new W(n,this,t)),this._$AV.push(i),l=e[++r]}h!==(null==l?void 0:l.index)&&(n=S.nextNode(),h++)}return s}v(t){let i=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,i),i+=o.strings.length-2):o._$AI(t[i])),i++}}class C{constructor(t,i,o,e){var s;this.type=2,this._$AH=N,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=o,this.options=e,this._$Cp=null===(s=null==e?void 0:e.isConnected)||void 0===s||s}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=M(this,t,i),c(t)?t===N||null==t||""===t?(this._$AH!==N&&this._$AR(),this._$AH=N):t!==this._$AH&&t!==A&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>d(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!==N&&c(this._$AH)?this._$AA.nextSibling.data=t:this.$(y.createTextNode(t)),this._$AH=t}g(t){var i;const{values:o,_$litType$:e}=t,s="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=E.createElement(e.h,this.options)),e);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===s)this._$AH.v(o);else{const t=new T(s,this),i=t.u(this.options);t.v(o),this.$(i),this._$AH=t}}_$AC(t){let i=_.get(t.strings);return void 0===i&&_.set(t.strings,i=new E(t)),i}T(t){d(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let o,e=0;for(const s of t)e===i.length?i.push(o=new C(this.k(g()),this.k(g()),this,this.options)):o=i[e],o._$AI(s),e++;e<i.length&&(this._$AR(o&&o._$AB.nextSibling,e),i.length=e)}_$AR(t=this._$AA.nextSibling,i){var o;for(null===(o=this._$AP)||void 0===o||o.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class I{constructor(t,i,o,e,s){this.type=1,this._$AH=N,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=s,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=N}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,o,e){const s=this.strings;let n=!1;if(void 0===s)t=M(this,t,i,0),n=!c(t)||t!==this._$AH&&t!==A,n&&(this._$AH=t);else{const e=t;let h,r;for(t=s[0],h=0;h<s.length-1;h++)r=M(this,e[o+h],i,h),r===A&&(r=this._$AH[h]),n||(n=!c(r)||r!==this._$AH[h]),r===N?t=N:t!==N&&(t+=(null!=r?r:"")+s[h+1]),this._$AH[h]=r}n&&!e&&this.j(t)}j(t){t===N?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class j extends I{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===N?void 0:t}}const R=h?h.emptyScript:"";class U extends I{constructor(){super(...arguments),this.type=4}j(t){t&&t!==N?this.element.setAttribute(this.name,R):this.element.removeAttribute(this.name)}}class F extends I{constructor(t,i,o,e,s){super(t,i,o,e,s),this.type=5}_$AI(t,i=this){var o;if((t=null!==(o=M(this,t,i,0))&&void 0!==o?o:N)===A)return;const e=this._$AH,s=t===N&&e!==N||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==N&&(e===N||s);s&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,o;"function"==typeof this._$AH?this._$AH.call(null!==(o=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==o?o:this.element,t):this._$AH.handleEvent(t)}}class W{constructor(t,i,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){M(this,t)}}const Z=n.litHtmlPolyfillSupport;null==Z||Z(E,C),(null!==(s=n.litHtmlVersions)&&void 0!==s?s:n.litHtmlVersions=[]).push("2.7.3");
7
+ var a;const i=window,n=i.trustedTypes,l=n?n.createPolicy("lit-html",{createHTML:t=>t}):void 0,c="$lit$",p=`lit$${(Math.random()+"").slice(9)}$`,f="?"+p,s=`<${f}>`,y=document,g=()=>y.createComment(""),h=t=>null===t||"object"!=typeof t&&"function"!=typeof t,d=Array.isArray,b="[ \t\n\f\r]",m=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,u=/-->/g,O=/>/g,N=RegExp(`>|${b}(?:([^\\s"'>=/]+)(${b}*=${b}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),S=/'/g,C=/"/g,x=/^(?:script|style|textarea|title)$/i,v=(t=>(o,...r)=>({_$litType$:t,strings:o,values:r}))(1),I=Symbol.for("lit-noChange"),U=Symbol.for("lit-nothing"),R=new WeakMap,W=y.createTreeWalker(y,129,null,!1),w=(t,o)=>{const r=t.length-1,e=[];let a,i=2===o?"<svg>":"",n=m;for(let o=0;o<r;o++){const r=t[o];let l,f,y=-1,g=0;for(;g<r.length&&(n.lastIndex=g,f=n.exec(r),null!==f);)g=n.lastIndex,n===m?"!--"===f[1]?n=u:void 0!==f[1]?n=O:void 0!==f[2]?(x.test(f[2])&&(a=RegExp("</"+f[2],"g")),n=N):void 0!==f[3]&&(n=N):n===N?">"===f[0]?(n=null!=a?a:m,y=-1):void 0===f[1]?y=-2:(y=n.lastIndex-f[2].length,l=f[1],n=void 0===f[3]?N:'"'===f[3]?C:S):n===C||n===S?n=N:n===u||n===O?n=m:(n=N,a=void 0);const h=n===N&&t[o+1].startsWith("/>")?" ":"";i+=n===m?r+s:y>=0?(e.push(l),r.slice(0,y)+c+r.slice(y)+p+h):r+p+(-2===y?(e.push(void 0),o):h)}const f=i+(t[r]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==l?l.createHTML(f):f,e]};class E{constructor({strings:t,_$litType$:o},r){let e;this.parts=[];let a=0,i=0;const l=t.length-1,s=this.parts,[y,h]=w(t,o);if(this.el=E.createElement(y,r),W.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(e=W.nextNode())&&s.length<l;){if(1===e.nodeType){if(e.hasAttributes()){const t=[];for(const o of e.getAttributeNames())if(o.endsWith(c)||o.startsWith(p)){const r=h[i++];if(t.push(o),void 0!==r){const t=e.getAttribute(r.toLowerCase()+c).split(p),o=/([.?@])?(.*)/.exec(r);s.push({type:1,index:a,name:o[2],strings:t,ctor:"."===o[1]?k:"?"===o[1]?F:"@"===o[1]?D:Z})}else s.push({type:6,index:a})}for(const o of t)e.removeAttribute(o)}if(x.test(e.tagName)){const t=e.textContent.split(p),o=t.length-1;if(o>0){e.textContent=n?n.emptyScript:"";for(let r=0;r<o;r++)e.append(t[r],g()),W.nextNode(),s.push({type:2,index:++a});e.append(t[o],g())}}}else if(8===e.nodeType)if(e.data===f)s.push({type:2,index:a});else{let t=-1;for(;-1!==(t=e.data.indexOf(p,t+1));)s.push({type:7,index:a}),t+=p.length-1}a++}}static createElement(t,o){const r=y.createElement("template");return r.innerHTML=t,r}}function L(t,o,r=t,e){var a,i,n,l;if(o===I)return o;let c=void 0!==e?null===(a=r._$Co)||void 0===a?void 0:a[e]:r._$Cl;const p=h(o)?void 0:o._$litDirective$;return(null==c?void 0:c.constructor)!==p&&(null===(i=null==c?void 0:c._$AO)||void 0===i||i.call(c,!1),void 0===p?c=void 0:(c=new p(t),c._$AT(t,r,e)),void 0!==e?(null!==(n=(l=r)._$Co)&&void 0!==n?n:l._$Co=[])[e]=c:r._$Cl=c),void 0!==c&&(o=L(t,c._$AS(t,o.values),c,e)),o}class ${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:r},parts:e}=this._$AD,a=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:y).importNode(r,!0);W.currentNode=a;let i=W.nextNode(),n=0,l=0,c=e[0];for(;void 0!==c;){if(n===c.index){let o;2===c.type?o=new K(i,i.nextSibling,this,t):1===c.type?o=new c.ctor(i,c.name,c.strings,this,t):6===c.type&&(o=new B(i,this,t)),this._$AV.push(o),c=e[++l]}n!==(null==c?void 0:c.index)&&(i=W.nextNode(),n++)}return a}v(t){let o=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,o),o+=r.strings.length-2):r._$AI(t[o])),o++}}class K{constructor(t,o,r,e){var a;this.type=2,this._$AH=U,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=r,this.options=e,this._$Cp=null===(a=null==e?void 0:e.isConnected)||void 0===a||a}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=L(this,t,o),h(t)?t===U||null==t||""===t?(this._$AH!==U&&this._$AR(),this._$AH=U):t!==this._$AH&&t!==I&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>d(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==U&&h(this._$AH)?this._$AA.nextSibling.data=t:this.$(y.createTextNode(t)),this._$AH=t}g(t){var o;const{values:r,_$litType$:e}=t,a="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=E.createElement(e.h,this.options)),e);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===a)this._$AH.v(r);else{const t=new $(a,this),o=t.u(this.options);t.v(r),this.$(o),this._$AH=t}}_$AC(t){let o=R.get(t.strings);return void 0===o&&R.set(t.strings,o=new E(t)),o}T(t){d(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,e=0;for(const a of t)e===o.length?o.push(r=new K(this.k(g()),this.k(g()),this,this.options)):r=o[e],r._$AI(a),e++;e<o.length&&(this._$AR(r&&r._$AB.nextSibling,e),o.length=e)}_$AR(t=this._$AA.nextSibling,o){var r;for(null===(r=this._$AP)||void 0===r||r.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 Z{constructor(t,o,r,e,a){this.type=1,this._$AH=U,this._$AN=void 0,this.element=t,this.name=o,this._$AM=e,this.options=a,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=U}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,r,e){const a=this.strings;let i=!1;if(void 0===a)t=L(this,t,o,0),i=!h(t)||t!==this._$AH&&t!==I,i&&(this._$AH=t);else{const e=t;let n,l;for(t=a[0],n=0;n<a.length-1;n++)l=L(this,e[r+n],o,n),l===I&&(l=this._$AH[n]),i||(i=!h(l)||l!==this._$AH[n]),l===U?t=U:t!==U&&(t+=(null!=l?l:"")+a[n+1]),this._$AH[n]=l}i&&!e&&this.j(t)}j(t){t===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class k extends Z{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===U?void 0:t}}const z=n?n.emptyScript:"";class F extends Z{constructor(){super(...arguments),this.type=4}j(t){t&&t!==U?this.element.setAttribute(this.name,z):this.element.removeAttribute(this.name)}}class D extends Z{constructor(t,o,r,e,a){super(t,o,r,e,a),this.type=5}_$AI(t,o=this){var r;if((t=null!==(r=L(this,t,o,0))&&void 0!==r?r:U)===I)return;const e=this._$AH,a=t===U&&e!==U||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==U&&(e===U||a);a&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,r;"function"==typeof this._$AH?this._$AH.call(null!==(r=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==r?r:this.element,t):this._$AH.handleEvent(t)}}class B{constructor(t,o,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){L(this,t)}}const A=i.litHtmlPolyfillSupport;null==A||A(E,K),(null!==(a=i.litHtmlVersions)&&void 0!==a?a:i.litHtmlVersions=[]).push("2.7.3");
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2020 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
12
  */
13
- const B=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===B)return null==t?void 0:t._$litStatic$},H=t=>({_$litStatic$:t,r:B}),L=new Map,K=(t=>(i,...o)=>{const e=o.length;let s,n;const h=[],r=[];let l,a=0,p=!1;for(;a<e;){for(l=i[a];a<e&&void 0!==(n=o[a],s=G(n));)l+=s+i[++a],p=!0;a!==e&&r.push(n),h.push(l),a++}if(a===e&&h.push(i[e]),p){const t=h.join("$$lit$$");void 0===(i=L.get(t))&&(h.raw=h,L.set(t,i=h)),o=r}return t(i,...o)})(k);var P;!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"}(P||(P={}));const D=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),q=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),J={fontFamily:q,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},Q=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",D),V=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",J.fontSize,"20px"),X=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",J.fontWeight,"normal"),Y=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",J.letterSpacing,"0.15px"),tt=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",J.lineHeight,"1.2"),it=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",J.textTransform,"inherit"),ot=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",D),et=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",J.fontSize,"14px"),st=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",J.fontWeight,"normal"),nt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",J.letterSpacing,"0.105px"),ht=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",J.lineHeight,"1.7"),rt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",J.textTransform,"inherit"),lt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",q),at=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",J.fontSize,"16px"),pt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",J.fontWeight,"600"),ft=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",J.letterSpacing,"0.144px"),yt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",J.lineHeight,"1.5"),gt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",J.textTransform,"inherit"),ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",q),dt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",J.fontSize,"14px"),ut=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",J.fontWeight,"normal"),vt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",J.letterSpacing,"0.098px"),$t=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",J.lineHeight,"1.7"),bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",J.textTransform,"inherit"),mt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",q),xt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",J.fontSize,"16px"),wt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",J.fontWeight,"normal"),zt=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",J.letterSpacing,"0.496px"),kt=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",J.lineHeight,"1.5"),At=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",J.textTransform,"inherit"),Nt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",q),_t=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",J.fontSize,"14px"),St=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",J.fontWeight,"normal"),Ot=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",J.letterSpacing,"0.252px"),Et=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",J.lineHeight,"1.4"),Mt=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",J.textTransform,"inherit"),Tt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",q),Ct=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",J.fontSize,"12px"),It=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",J.fontWeight,"normal"),jt=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",J.letterSpacing,"0.396px"),Rt=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",J.lineHeight,"1.33"),Ut=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",J.textTransform,"inherit"),Ft=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",q),Wt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",J.fontSize,"10px"),Zt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",J.fontWeight,"normal"),Bt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",J.letterSpacing,"0.33px"),Gt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",J.lineHeight,"1.6"),Ht=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",J.textTransform,"inherit"),Lt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",q),Kt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",J.fontSize,"10px"),Pt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",J.fontWeight,"normal"),Dt=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",J.letterSpacing,"1.5px"),qt=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",J.lineHeight,"1.6"),Jt=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",J.textTransform,"uppercase"),Qt=i.FtCssVariableFactory.extend("--ft-typography-button-font-family",q),Vt=i.FtCssVariableFactory.extend("--ft-typography-button-font-size",J.fontSize,"14px"),Xt=i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",J.fontWeight,"600"),Yt=i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",J.letterSpacing,"1.246px"),ti=i.FtCssVariableFactory.extend("--ft-typography-button-line-height",J.lineHeight,"1.15"),ii=i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",J.textTransform,"uppercase"),oi=o.css`
13
+ const H=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t._$litStatic$},P=t=>({_$litStatic$:t,r:H}),M=new Map,Y=(t=>(o,...r)=>{const e=r.length;let a,i;const n=[],l=[];let c,p=0,f=!1;for(;p<e;){for(c=o[p];p<e&&void 0!==(i=r[p],a=G(i));)c+=a+o[++p],f=!0;p!==e&&l.push(i),n.push(c),p++}if(p===e&&n.push(o[e]),f){const t=n.join("$$lit$$");void 0===(o=M.get(t))&&(n.raw=n,M.set(t,o=n)),r=l}return t(o,...r)})(v);var _;!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"}(_||(_={}));const T=t=>"string"==typeof t?r.unsafeCSS(t):t;class j{static create(t,o,e,a){const i=t=>T(null!=t?t:a),n=r.css`var(${T(t)}, ${i(a)})`;return n.name=t,n.description=t,n.category=e,n.defaultValue=a,n.defaultCssValue=i,n.get=o=>r.css`var(${T(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>a,n}static extend(t,o,e,a){const i=t=>e.get(null!=t?t:a),n=r.css`var(${T(t)}, ${i(a)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=a,n.defaultCssValue=i,n.get=o=>r.css`var(${T(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=a?a:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):T(null!=o?o:t.lastResortDefaultValue()),a=r.css`var(${T(t.name)}, ${e(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=e,a.get=o=>r.css`var(${T(t.name)}, ${e(o)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}}const X={colorWhite:j.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:j.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:j.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:j.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:j.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:j.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:j.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:j.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:j.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:j.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:j.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:j.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:j.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:j.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:j.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:j.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:j.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:j.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:j.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:j.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:j.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:j.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:j.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:j.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:j.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:j.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:j.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:j.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:j.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:j.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:j.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:j.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:j.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:j.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:j.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:j.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:j.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:j.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:j.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:j.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:j.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:j.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:j.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:j.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:j.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:j.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:j.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:j.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:j.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:j.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:j.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:j.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:j.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:j.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:j.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:j.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:j.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:j.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:j.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:j.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:j.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:j.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:j.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:j.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:j.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:j.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:j.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:j.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:j.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:j.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:j.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:j.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:j.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:j.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:j.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:j.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:j.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:j.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:j.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:j.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:j.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:j.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:j.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:j.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:j.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:j.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:j.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:j.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:j.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:j.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:j.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:j.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:j.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:j.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:j.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:j.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:j.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:j.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:j.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:j.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:j.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:j.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:j.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:j.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:j.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:j.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:j.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:j.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:j.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:j.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:j.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:j.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:j.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:j.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:j.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:j.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:j.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:j.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:j.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:j.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:j.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:j.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:j.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:j.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:j.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:j.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:j.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:j.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:j.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:j.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:j.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:j.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:j.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:j.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:j.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:j.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:j.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:j.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:j.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:j.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:j.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:j.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:j.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:j.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:j.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:j.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:j.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:j.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:j.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:j.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:j.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:j.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:j.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:j.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:j.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:j.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:j.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:j.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:j.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:j.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:j.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:j.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:j.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:j.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:j.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:j.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:j.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:j.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:j.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:j.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:j.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:j.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:j.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:j.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:j.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:j.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:j.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:j.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:j.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:j.create("--ft-icon-size-6","","SIZE","48px"),opacity0:j.create("--ft-opacity-0","","NUMBER","0"),opacity8:j.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:j.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:j.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:j.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:j.create("--ft-opacity-80","","NUMBER","0.8")},q={display:{fontFamily:j.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:j.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:j.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:j.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:j.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:j.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:j.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:j.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:j.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:j.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:j.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:j.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:j.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:j.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:j.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:j.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:j.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:j.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:j.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:j.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:j.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:j.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:j.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:j.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:j.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:j.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:j.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:j.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:j.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:j.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:j.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:j.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:j.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:j.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:j.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:j.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:j.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:j.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:j.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:j.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:j.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:j.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:j.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:j.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:j.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:j.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:j.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:j.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:j.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:j.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:j.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:j.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:j.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:j.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:j.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:j.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:j.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:j.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:j.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:j.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:j.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:j.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:j.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:j.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:j.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:j.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:j.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:j.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:j.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:j.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:j.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:j.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:j.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:j.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:j.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:j.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:j.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:j.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:j.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:j.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:j.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:j.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:j.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:j.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:j.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:j.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:j.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:j.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:j.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:j.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:j.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:j.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:j.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:j.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:j.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:j.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:j.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:j.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:j.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:j.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:j.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:j.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:j.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:j.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:j.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:j.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:j.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:j.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:j.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:j.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:j.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:j.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:j.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:j.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:j.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:j.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:j.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:j.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:j.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:j.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:j.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:j.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:j.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:j.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:j.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:j.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:j.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:j.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:j.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:j.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:j.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:j.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:j.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:j.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:j.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:j.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:j.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:j.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:j.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:j.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:j.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:j.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:j.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:j.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:j.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:j.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:j.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:j.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:j.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:j.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:j.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:j.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:j.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:j.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:j.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:j.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:j.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:j.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:j.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:j.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:j.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:j.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:j.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:j.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:j.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:j.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:j.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:j.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:j.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:j.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:j.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:j.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:j.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:j.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:j.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:j.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:j.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:j.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:j.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:j.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:j.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:j.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:j.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:j.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:j.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:j.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:j.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:j.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:j.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:j.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:j.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:j.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:j.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:j.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:j.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:j.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:j.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:j.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},J={backgroundActionPrimary:j.extend("--ft-background-action-primary","Used as backgorund of primary action components.",X.colorBrand0),backgroundErrorPrimary:j.extend("--ft-background-error-primary","Used as background of error components.",X.colorRed0),backgroundErrorSubtle:j.extend("--ft-background-error-subtle","Used as background of subtle error components.",X.colorRed10),backgroundInfoPrimary:j.extend("--ft-background-info-primary","Used as background of information components.",X.colorCyan200),backgroundInfoSubtle:j.extend("--ft-background-info-subtle","Used as background of subtle information components.",X.colorCyan10),backgroundWarningPrimary:j.extend("--ft-background-warning-primary","Used as background of warning components.",X.colorOrange300),backgroundWarningSubtle:j.extend("--ft-background-warning-subtle","Used as background of subtle information components.",X.colorOrange10),backgroundSuccessPrimary:j.extend("--ft-background-success-primary","Used as background of success components.",X.colorGreen200),backgroundSuccessSubtle:j.extend("--ft-background-success-subtle","Used as background of subtle success components.",X.colorGreen10),backgroundGlobalSurface:j.extend("--ft-background-global-surface","Used as app background.",X.colorWhite),backgroundGlobalOnSurface:j.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",X.colorGray10),backgroundGlobalOnSurfaceDark:j.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",X.colorGray30),contentActionPrimary:j.extend("--ft-content-action-primary","Used on label of primary action on light surface.",X.colorBrand0),contentWarningPrimary:j.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",X.colorOrange300),contentWarningIconOnly:j.extend("--ft-content-warning-icon-only","Used on warning status icons alone",X.colorOrange0),contentErrorPrimary:j.extend("--ft-content-error-primary","Used on label of error messages on light surface.",X.colorRed0),contentErrorIconOnly:j.extend("--ft-content-error-icon-only","Used on error status icons alone",X.colorRed0),contentInfoPrimary:j.extend("--ft-content-info-primary","Used on label of information messages on light surface.",X.colorCyan200),contentInfoIconOnly:j.extend("--ft-content-info-icon-only","Used on info status icons alone",X.colorCyan0),contentSuccessIconOnly:j.extend("--ft-content-success-icon-only","Used on success status icons alone",X.colorGreen0),contentSuccessPrimary:j.extend("--ft-content-success-primary","Used on label of success messages on light surface.",X.colorGreen200),contentGlobalPrimary:j.extend("--ft-content-global-primary","Used for main content on the page.",X.colorGray500),contentGlobalSecondary:j.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",X.colorGray200),contentGlobalSubtle:j.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",X.colorGray0),contentGlobalOnColor:j.extend("--ft-content-global-on-color","Used for content on a dominant color.",X.colorWhite),borderActionPrimary:j.extend("--ft-border-action-primary","Used as border for primary action components.",X.colorBrand0),borderActionFocusRing:j.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",X.colorCyan0),borderWarningPrimary:j.extend("--ft-border-warning-primary","Used as border for warning components.",X.colorOrange30),borderSuccessPrimary:j.extend("--ft-border-success-primary","Used as border for success components.",X.colorGreen30),borderErrorPrimary:j.extend("--ft-border-error-primary","Used as border for error components.",X.colorRed30),borderInfoPrimary:j.extend("--ft-border-info-primary","Used as border for information components.",X.colorCyan30),borderGlobalSubtle:j.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",X.colorGray30),borderGlobalPrimary:j.extend("--ft-border-global-primary","Used as border for element like input.",X.colorGray50),borderInputPrimary:j.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",X.colorGray80)};j.create("--ft-button-large-height","","SIZE","40px"),j.extend("--ft-button-large-horizontal-padding","",X.spacing4),j.extend("--ft-button-large-gap","",X.spacing2),j.extend("--ft-button-large-border-radius","",X.borderRadiusS),j.extend("--ft-button-large-icon-size","",X.iconSize3),j.create("--ft-button-large-border-width","","SIZE","1px"),j.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),j.create("--ft-button-large-focus-outline-width","","SIZE","2px"),j.create("--ft-button-large-icon-only-width","","SIZE","40px"),j.create("--ft-button-small-height","","SIZE","30px"),j.extend("--ft-button-small-horizontal-padding","",X.spacing3),j.extend("--ft-button-small-gap","",X.spacing2),j.extend("--ft-button-small-border-radius","",X.borderRadiusS),j.extend("--ft-button-small-icon-size","",X.iconSize2),j.create("--ft-button-small-border-width","","SIZE","1px"),j.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),j.create("--ft-button-small-focus-outline-width","","SIZE","2px"),j.create("--ft-button-small-icon-only-width","","SIZE","30px"),j.extend("--ft-button-primary-background-color","",J.backgroundActionPrimary),j.extend("--ft-button-primary-color","",J.contentGlobalOnColor),j.extend("--ft-button-primary-icon-color","",J.contentGlobalOnColor),j.extend("--ft-button-primary-state-layer-color","",J.contentGlobalOnColor),j.extend("--ft-button-primary-state-layer-opacity-hover","",X.opacity16),j.extend("--ft-button-primary-state-layer-opacity-focus","",X.opacity16),j.extend("--ft-button-primary-state-layer-opacity-active","",X.opacity24),j.extend("--ft-button-primary-component-opacity-disabled","",X.opacity40),j.extend("--ft-button-focus-focus-ring-color","",J.borderActionFocusRing),j.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),j.extend("--ft-button-tertiary-color","",J.contentActionPrimary),j.extend("--ft-button-tertiary-icon-color","",J.contentActionPrimary),j.extend("--ft-button-tertiary-state-layer-color","",J.contentActionPrimary),j.extend("--ft-button-tertiary-state-layer-opacity-hover","",X.opacity8),j.extend("--ft-button-tertiary-state-layer-opacity-focus","",X.opacity8),j.extend("--ft-button-tertiary-state-layer-opacity-active","",X.opacity16),j.extend("--ft-button-tertiary-component-opacity-disabled","",X.opacity40),j.extend("--ft-button-secondary-background-color","",X.colorWhite),j.extend("--ft-button-secondary-color","",J.contentActionPrimary),j.extend("--ft-button-secondary-icon-color","",J.contentActionPrimary),j.extend("--ft-button-secondary-state-layer-color","",J.contentActionPrimary),j.extend("--ft-button-secondary-state-layer-opacity-hover","",X.opacity8),j.extend("--ft-button-secondary-state-layer-opacity-focus","",X.opacity8),j.extend("--ft-button-secondary-state-layer-opacity-active","",X.opacity16),j.extend("--ft-button-secondary-component-opacity-disabled","",X.opacity40),j.extend("--ft-button-secondary-border-color","",J.borderActionPrimary),j.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),j.extend("--ft-button-neutral-icon-color","",J.contentGlobalSecondary),j.extend("--ft-button-neutral-color","",J.contentGlobalSecondary),j.extend("--ft-button-neutral-state-layer-color","",J.contentGlobalSecondary),j.extend("--ft-button-neutral-state-layer-opacity-hover","",X.opacity8),j.extend("--ft-button-neutral-state-layer-opacity-focus","",X.opacity8),j.extend("--ft-button-neutral-state-layer-opacity-active","",X.opacity16),j.extend("--ft-button-neutral-component-opacity-disabled","",X.opacity40),j.extend("--ft-tabs-top-left-border-radius","",X.borderRadiusS),j.extend("--ft-tabs-top-right-border-radius","",X.borderRadiusS),j.extend("--ft-tabs-label-horizontal-padding","",X.spacing4),j.extend("--ft-tabs-label-vertical-padding","",X.spacing3),j.extend("--ft-tabs-label-gap","",X.spacing1),j.extend("--ft-switch-group-horizontal-padding","",X.spacing1),j.extend("--ft-switch-group-vertical-padding","",X.spacing1),j.extend("--ft-switch-group-gap","",X.spacing1),j.extend("--ft-switch-group-background-color","",J.backgroundGlobalSurface),j.extend("--ft-switch-group-border-color","",J.borderGlobalSubtle),j.create("--ft-switch-group-border-radius","","SIZE","6px"),j.extend("--ft-switch-label-horizontal-padding","",X.spacing2),j.extend("--ft-switch-label-vertical-padding","",X.spacing1),j.extend("--ft-switch-icon-horizontal-padding","",X.spacing1),j.extend("--ft-switch-icon-vertical-padding","",X.spacing1),j.create("--ft-switch-focus-outline-width","","SIZE","2px"),j.extend("--ft-switch-focus-focus-ring-color","",J.borderActionFocusRing),j.extend("--ft-switch-option-border-radius","",X.borderRadiusS),j.extend("--ft-switch-off-state-layer-opacity-hover","",X.opacity8),j.extend("--ft-switch-off-state-layer-opacity-focus","",X.opacity8),j.extend("--ft-switch-off-state-layer-opacity-active","",X.opacity16),j.extend("--ft-switch-off-component-opacity-disabled","",X.opacity40),j.extend("--ft-switch-off-color","",J.contentGlobalSubtle),j.extend("--ft-switch-off-state-layer-color","",J.contentGlobalSubtle),j.extend("--ft-chart-1-light","for area color charts",X.colorBrand40),j.extend("--ft-chart-1-base","for line charts",X.colorBrand0),j.extend("--ft-chart-2-light","for area color charts",X.colorYellow60),j.extend("--ft-chart-2-base","for line charts",X.colorYellow100),j.extend("--ft-chart-3-light","",X.colorUltramarine40),j.extend("--ft-chart-3-base","",X.colorUltramarine70),j.extend("--ft-chart-4-light","",X.colorCyan50),j.extend("--ft-chart-4-base","",X.colorCyan100),j.extend("--ft-chart-5-light","",X.colorRed40),j.extend("--ft-chart-5-base","",X.colorRed60),j.extend("--ft-chart-6-light","",X.colorGreen40),j.extend("--ft-chart-6-base","",X.colorGreen70),j.extend("--ft-chart-7-light","",X.colorOrange70),j.extend("--ft-chart-7-base","",X.colorOrange100),j.extend("--ft-chart-8-light","",X.colorAvocado70),j.extend("--ft-chart-8-base","",X.colorAvocado200),j.extend("--ft-chart-9-light","",X.colorBrown50),j.extend("--ft-chart-9-base","",X.colorBrown200),j.extend("--ft-chart-10-light","",X.colorGray50),j.extend("--ft-chart-10-base","",X.colorGray80),j.extend("--ft-chart-monochrome-10","",X.colorBrand10),j.extend("--ft-chart-monochrome-20","",X.colorBrand20),j.extend("--ft-chart-monochrome-30","",X.colorBrand40),j.extend("--ft-chart-monochrome-40","",X.colorBrand60),j.extend("--ft-chart-monochrome-50","",X.colorBrand0),j.extend("--ft-chart-monochrome-60","",X.colorBrand200),j.extend("--ft-chip-large-horizontal-padding","",X.spacing4),j.extend("--ft-chip-large-vertical-padding","",X.spacing2),j.extend("--ft-chip-large-gap","",X.spacing1),j.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),j.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),j.extend("--ft-chip-large-border-radius","",X.borderRadiusPill),j.create("--ft-chip-large-border-width","","SIZE","1px"),j.extend("--ft-chip-large-icon-size","",X.iconSize3),j.extend("--ft-chip-medium-horizontal-padding","",X.spacing3),j.extend("--ft-chip-medium-vertical-padding","",X.spacing1),j.extend("--ft-chip-medium-gap","",X.spacing1),j.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),j.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),j.extend("--ft-chip-medium-border-radius","",X.borderRadiusPill),j.create("--ft-chip-medium-border-width","","SIZE","1px"),j.extend("--ft-chip-medium-icon-size","",X.iconSize2),j.extend("--ft-chip-small-horizontal-padding","",X.spacing2),j.extend("--ft-chip-small-vertical-padding","",X.spacing05),j.extend("--ft-chip-small-gap","",X.spacing1),j.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),j.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),j.extend("--ft-chip-small-border-radius","",X.borderRadiusPill),j.create("--ft-chip-small-border-width","","SIZE","1px"),j.extend("--ft-chip-small-icon-size","",X.iconSize1),j.extend("--ft-chip-neutral-background-color","",J.backgroundGlobalOnSurface),j.extend("--ft-chip-neutral-color","",J.contentGlobalPrimary),j.extend("--ft-chip-neutral-border-color","",J.borderGlobalSubtle),j.extend("--ft-chip-info-background-color","",J.backgroundInfoSubtle),j.extend("--ft-chip-info-color","",J.contentInfoPrimary),j.extend("--ft-chip-info-border-color","",J.borderInfoPrimary),j.extend("--ft-chip-success-background-color","",J.backgroundSuccessSubtle),j.extend("--ft-chip-success-color","",J.contentSuccessPrimary),j.extend("--ft-chip-success-border-color","",J.borderSuccessPrimary),j.extend("--ft-chip-warning-background-color","",J.backgroundWarningSubtle),j.extend("--ft-chip-warning-color","",J.contentWarningPrimary),j.extend("--ft-chip-warning-border-color","",J.borderWarningPrimary),j.extend("--ft-chip-error-background-color","",J.backgroundErrorSubtle),j.extend("--ft-chip-error-color","",J.contentErrorPrimary),j.extend("--ft-chip-error-border-color","",J.borderErrorPrimary),j.create("--ft-notice-border-width","","SIZE","1px"),j.extend("--ft-notice-horizontal-padding","",X.spacing2),j.extend("--ft-notice-vertical-padding","",X.spacing1),j.extend("--ft-notice-border-radius","",X.borderRadiusS),j.extend("--ft-notice-gap","",X.spacing2),j.extend("--ft-notice-icon-size","",X.iconSize3),j.extend("--ft-notice-info-background-color","",J.backgroundInfoSubtle),j.extend("--ft-notice-info-border-color","",J.borderInfoPrimary),j.extend("--ft-notice-info-color","",J.contentInfoPrimary),j.extend("--ft-notice-warning-background-color","",J.backgroundWarningSubtle),j.extend("--ft-notice-warning-border-color","",J.borderWarningPrimary),j.extend("--ft-notice-warning-color","",J.contentWarningPrimary),j.extend("--ft-checkbox-label-color","",J.contentGlobalPrimary),j.extend("--ft-checkbox-checked-background-color","",J.contentActionPrimary),j.extend("--ft-checkbox-checked-state-layer-color","",J.contentActionPrimary),j.extend("--ft-checkbox-checked-color","",J.contentGlobalOnColor),j.extend("--ft-checkbox-checked-state-layer-opacity-hover","",X.opacity16),j.extend("--ft-checkbox-checked-state-layer-opacity-focus","",X.opacity16),j.extend("--ft-checkbox-checked-state-layer-opacity-active","",X.opacity24),j.extend("--ft-checkbox-checked-component-opacity-disabled","",X.opacity40),j.extend("--ft-checkbox-unchecked-border-color","",X.colorGray80),j.extend("--ft-checkbox-unchecked-state-layer-color","",X.colorGray80),j.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",X.opacity16),j.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",X.opacity16),j.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",X.opacity24),j.extend("--ft-checkbox-unchecked-component-opacity-disabled","",X.opacity40),j.extend("--ft-checkbox-focus-focus-ring-color","",J.borderActionFocusRing),j.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),j.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),j.extend("--ft-checkbox-gap","",X.spacing3),j.extend("--ft-toggle-off-state-layer-opacity-hover","",X.opacity16),j.extend("--ft-toggle-off-state-layer-opacity-focus","",X.opacity16),j.extend("--ft-toggle-off-state-layer-opacity-active","",X.opacity24),j.extend("--ft-toggle-off-component-opacity-disabled","",X.opacity40),j.extend("--ft-toggle-off-background-color","",J.contentGlobalSubtle),j.extend("--ft-toggle-off-icon-color","",J.contentGlobalSubtle),j.extend("--ft-toggle-off-state-layer-color","",J.contentGlobalSubtle),j.extend("--ft-toggle-on-state-layer-opacity-hover","",X.opacity16),j.extend("--ft-toggle-on-state-layer-opacity-focus","",X.opacity16),j.extend("--ft-toggle-on-state-layer-opacity-active","",X.opacity24),j.extend("--ft-toggle-on-component-opacity-disabled","",X.opacity40),j.extend("--ft-toggle-on-background-color","",J.contentActionPrimary),j.extend("--ft-toggle-on-icon-color","",J.contentActionPrimary),j.extend("--ft-toggle-on-state-layer-color","",J.contentActionPrimary),j.extend("--ft-toggle-label-color","",J.contentGlobalPrimary),j.extend("--ft-toggle-focus-focus-ring-color","",J.borderActionFocusRing),j.extend("--ft-toggle-gap","",X.spacing3),j.extend("--ft-radio-label-color","",J.contentGlobalPrimary),j.extend("--ft-radio-selected-color","",J.contentActionPrimary),j.extend("--ft-radio-selected-state-layer-color","",J.contentActionPrimary),j.extend("--ft-radio-selected-state-layer-opacity-hover","",X.opacity16),j.extend("--ft-radio-selected-state-layer-opacity-focus","",X.opacity16),j.extend("--ft-radio-selected-state-layer-opacity-active","",X.opacity24),j.extend("--ft-radio-selected-component-opacity-disabled","",X.opacity40),j.extend("--ft-radio-unselected-state-layer-color","",X.colorGray80),j.extend("--ft-radio-unselected-state-layer-opacity-hover","",X.opacity16),j.extend("--ft-radio-unselected-state-layer-opacity-focus","",X.opacity16),j.extend("--ft-radio-unselected-state-layer-opacity-active","",X.opacity24),j.extend("--ft-radio-unselected-component-opacity-disabled","",X.opacity40),j.extend("--ft-radio-focus-focus-ring-color","",J.borderActionFocusRing),j.create("--ft-radio-focus-outline-offset","","SIZE","3px"),j.create("--ft-radio-focus-outline-width","","SIZE","2px"),j.extend("--ft-radio-gap","",X.spacing3),j.extend("--ft-notification-icon-size","",X.iconSize4),j.extend("--ft-notification-horizontal-padding","",X.spacing4),j.extend("--ft-notification-vertical-padding","",X.spacing4),j.extend("--ft-notification-info-background-color","",J.backgroundInfoSubtle),j.extend("--ft-notification-info-color","",J.contentInfoPrimary),j.extend("--ft-notification-info-border-color","",J.borderInfoPrimary),j.extend("--ft-notification-success-background-color","",J.backgroundSuccessSubtle),j.extend("--ft-notification-success-color","",J.contentSuccessPrimary),j.extend("--ft-notification-success-border-color","",J.borderSuccessPrimary),j.extend("--ft-notification-warning-background-color","",J.backgroundWarningSubtle),j.extend("--ft-notification-warning-color","",J.contentWarningPrimary),j.extend("--ft-notification-warning-border-color","",J.borderWarningPrimary),j.extend("--ft-notification-error-background-color","",J.backgroundErrorSubtle),j.extend("--ft-notification-error-color","",J.contentErrorPrimary),j.extend("--ft-notification-error-border-color","",J.borderErrorPrimary),j.extend("--ft-notification-border-radius","",X.borderRadiusPill),j.create("--ft-notification-border-width","","SIZE","1px"),j.extend("--ft-notification-gap-leading","",X.spacing2),j.extend("--ft-notification-gap-trailing","",X.spacing8);const Q=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),V=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),tt={fontFamily:V,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ot=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Q),rt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",tt.fontSize,"20px"),et=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",tt.fontWeight,"normal"),at=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",tt.letterSpacing,"0.15px"),it=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",tt.lineHeight,"1.2"),nt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",tt.textTransform,"inherit"),lt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Q),ct=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",tt.fontSize,"14px"),pt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",tt.fontWeight,"normal"),ft=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",tt.letterSpacing,"0.105px"),st=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",tt.lineHeight,"1.7"),yt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",tt.textTransform,"inherit"),gt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",V),ht=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",tt.fontSize,"16px"),dt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",tt.fontWeight,"600"),bt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",tt.letterSpacing,"0.144px"),mt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",tt.lineHeight,"1.5"),ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",tt.textTransform,"inherit"),Ot=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",V),Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",tt.fontSize,"14px"),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",tt.fontWeight,"normal"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",tt.letterSpacing,"0.098px"),xt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",tt.lineHeight,"1.7"),vt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",tt.textTransform,"inherit"),It=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",V),Ut=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",tt.fontSize,"16px"),Rt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",tt.fontWeight,"normal"),Wt=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",tt.letterSpacing,"0.496px"),wt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",tt.lineHeight,"1.5"),Et=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",tt.textTransform,"inherit"),Lt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",V),$t=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",tt.fontSize,"14px"),Kt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",tt.fontWeight,"normal"),Zt=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",tt.letterSpacing,"0.252px"),kt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",tt.lineHeight,"1.4"),zt=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",tt.textTransform,"inherit"),Ft=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",V),Dt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",tt.fontSize,"12px"),Bt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",tt.fontWeight,"normal"),At=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",tt.letterSpacing,"0.396px"),Ht=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",tt.lineHeight,"1.33"),Gt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",tt.textTransform,"inherit"),Pt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",V),Mt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",tt.fontSize,"10px"),Yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",tt.fontWeight,"normal"),_t=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",tt.letterSpacing,"0.33px"),Tt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",tt.lineHeight,"1.6"),jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",tt.textTransform,"inherit"),Xt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",V),qt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",tt.fontSize,"10px"),Jt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",tt.fontWeight,"normal"),Qt=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",tt.letterSpacing,"1.5px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",tt.lineHeight,"1.6"),to=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",tt.textTransform,"uppercase"),oo=o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",V),ro=o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",tt.fontSize,"14px"),eo=o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",tt.fontWeight,"600"),ao=o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",tt.letterSpacing,"1.246px"),io=o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",tt.lineHeight,"1.15"),no=o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",tt.textTransform,"uppercase"),lo=r.css`
14
14
  .ft-typography--title {
15
- font-family: ${Q};
16
- font-size: ${V};
17
- font-weight: ${X};
18
- letter-spacing: ${Y};
19
- line-height: ${tt};
20
- text-transform: ${it};
21
- }
22
- `,ei=o.css`
23
- .ft-typography--title-dense {
24
15
  font-family: ${ot};
25
- font-size: ${et};
26
- font-weight: ${st};
27
- letter-spacing: ${nt};
28
- line-height: ${ht};
29
- text-transform: ${rt};
16
+ font-size: ${rt};
17
+ font-weight: ${et};
18
+ letter-spacing: ${at};
19
+ line-height: ${it};
20
+ text-transform: ${nt};
30
21
  }
31
- `,si=o.css`
32
- .ft-typography--subtitle1 {
22
+ `,co=r.css`
23
+ .ft-typography--title-dense {
33
24
  font-family: ${lt};
34
- font-size: ${at};
25
+ font-size: ${ct};
35
26
  font-weight: ${pt};
36
27
  letter-spacing: ${ft};
37
- line-height: ${yt};
38
- text-transform: ${gt};
28
+ line-height: ${st};
29
+ text-transform: ${yt};
39
30
  }
40
- `,ni=o.css`
31
+ `,po=r.css`
32
+ .ft-typography--subtitle1 {
33
+ font-family: ${gt};
34
+ font-size: ${ht};
35
+ font-weight: ${dt};
36
+ letter-spacing: ${bt};
37
+ line-height: ${mt};
38
+ text-transform: ${ut};
39
+ }
40
+ `,fo=r.css`
41
41
  .ft-typography--subtitle2 {
42
- font-family: ${ct};
43
- font-size: ${dt};
44
- font-weight: ${ut};
45
- letter-spacing: ${vt};
46
- line-height: ${$t};
47
- text-transform: ${bt};
42
+ font-family: ${Ot};
43
+ font-size: ${Nt};
44
+ font-weight: ${St};
45
+ letter-spacing: ${Ct};
46
+ line-height: ${xt};
47
+ text-transform: ${vt};
48
48
  }
49
49
 
50
- `,hi=o.css`
50
+ `,so=r.css`
51
51
  .ft-typography--body1 {
52
- font-family: ${mt};
53
- font-size: ${xt};
54
- font-weight: ${wt};
55
- letter-spacing: ${zt};
56
- line-height: ${kt};
57
- text-transform: ${At};
52
+ font-family: ${It};
53
+ font-size: ${Ut};
54
+ font-weight: ${Rt};
55
+ letter-spacing: ${Wt};
56
+ line-height: ${wt};
57
+ text-transform: ${Et};
58
58
  }
59
- `,ri=o.css`
59
+ `,yo=r.css`
60
60
  .ft-typography--body2 {
61
- font-family: ${Nt};
62
- font-size: ${_t};
63
- font-weight: ${St};
64
- letter-spacing: ${Ot};
65
- line-height: ${Et};
66
- text-transform: ${Mt};
61
+ font-family: ${Lt};
62
+ font-size: ${$t};
63
+ font-weight: ${Kt};
64
+ letter-spacing: ${Zt};
65
+ line-height: ${kt};
66
+ text-transform: ${zt};
67
67
  }
68
- `,li=o.css`
68
+ `,go=r.css`
69
69
  .ft-typography--caption {
70
- font-family: ${Tt};
71
- font-size: ${Ct};
72
- font-weight: ${It};
73
- letter-spacing: ${jt};
74
- line-height: ${Rt};
75
- text-transform: ${Ut};
70
+ font-family: ${Ft};
71
+ font-size: ${Dt};
72
+ font-weight: ${Bt};
73
+ letter-spacing: ${At};
74
+ line-height: ${Ht};
75
+ text-transform: ${Gt};
76
76
  }
77
- `,ai=o.css`
77
+ `,ho=r.css`
78
78
  .ft-typography--breadcrumb {
79
- font-family: ${Ft};
80
- font-size: ${Wt};
81
- font-weight: ${Zt};
82
- letter-spacing: ${Bt};
83
- line-height: ${Gt};
84
- text-transform: ${Ht};
79
+ font-family: ${Pt};
80
+ font-size: ${Mt};
81
+ font-weight: ${Yt};
82
+ letter-spacing: ${_t};
83
+ line-height: ${Tt};
84
+ text-transform: ${jt};
85
85
  }
86
- `,pi=o.css`
86
+ `,bo=r.css`
87
87
  .ft-typography--overline {
88
- font-family: ${Lt};
89
- font-size: ${Kt};
90
- font-weight: ${Pt};
91
- letter-spacing: ${Dt};
92
- line-height: ${qt};
93
- text-transform: ${Jt};
88
+ font-family: ${Xt};
89
+ font-size: ${qt};
90
+ font-weight: ${Jt};
91
+ letter-spacing: ${Qt};
92
+ line-height: ${Vt};
93
+ text-transform: ${to};
94
94
  }
95
- `,fi=o.css`
95
+ `,mo=r.css`
96
96
  .ft-typography--button {
97
- font-family: ${Qt};
98
- font-size: ${Vt};
99
- font-weight: ${Xt};
100
- letter-spacing: ${Yt};
101
- line-height: ${ti};
102
- text-transform: ${ii};
97
+ font-family: ${oo};
98
+ font-size: ${ro};
99
+ font-weight: ${eo};
100
+ letter-spacing: ${ao};
101
+ line-height: ${io};
102
+ text-transform: ${no};
103
103
  }
104
- `,yi=o.css`
104
+ `,uo=r.css`
105
105
  .ft-typography {
106
106
  vertical-align: inherit;
107
107
  }
108
- `;var gi=function(t,i,o,e){for(var s,n=arguments.length,h=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,o):e,r=t.length-1;r>=0;r--)(s=t[r])&&(h=(n<3?s(h):n>3?s(i,o,h):s(i,o))||h);return n>3&&h&&Object.defineProperty(i,o,h),h};class ci extends i.FtLitElement{constructor(){super(...arguments),this.variant=P.body1}render(){return this.element?K`
109
- <${H(this.element)}
110
- class="ft-typography ft-typography--${this.variant}">
108
+ `,Oo=[Object.keys(q).map((t=>function(t){const o=q[t];return r.css`
109
+ .ft-typography--${r.unsafeCSS(t)} {
110
+ font-family: ${o.fontFamily};
111
+ font-size: ${o.fontSize};
112
+ font-weight: ${o.fontWeight};
113
+ letter-spacing: ${o.letterSpacing};
114
+ line-height: ${o.lineHeight};
115
+ text-transform: ${o.textCase};
116
+ }
117
+ `}(t)))];var No=function(t,o,r,e){for(var a,i=arguments.length,n=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,r,n):a(o,r))||n);return i>3&&n&&Object.defineProperty(o,r,n),n};class So extends o.FtLitElement{constructor(){super(...arguments),this.variant=_.body1}render(){return this.element?Y`
118
+ <${P(this.element)}
119
+ class="ft-typography ft-typography--${this.variant}">
111
120
  <slot></slot>
112
- </${H(this.element)}>
113
- `:K`
121
+ </${P(this.element)}>
122
+ `:Y`
114
123
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
115
- `}}ci.styles=[oi,ei,si,ni,hi,ri,li,ai,pi,fi,yi],gi([e.property()],ci.prototype,"element",void 0),gi([e.property()],ci.prototype,"variant",void 0),i.customElement("ft-typography")(ci);const di={distance:i.FtCssVariableFactory.create("--ft-tooltip-distance","SIZE","4px"),color:i.FtCssVariableFactory.create("--ft-tooltip-color","COLOR","#FFFFFF"),backgroundColor:i.FtCssVariableFactory.create("--ft-tooltip-background-color","COLOR","#666666"),zIndex:i.FtCssVariableFactory.create("--ft-tooltip-z-index","NUMBER","100"),borderRadiusS:i.FtCssVariableFactory.external(i.designSystemVariables.borderRadiusS,"Design system"),maxWidth:i.FtCssVariableFactory.create("--ft-tooltip-max-width","SIZE","150px")},ui=o.css`
124
+ `}}So.styles=[lo,co,po,fo,so,yo,go,ho,bo,mo,uo,...Oo],No([e.property()],So.prototype,"element",void 0),No([e.property()],So.prototype,"variant",void 0),o.customElement("ft-typography")(So);const Co={distance:o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),maxWidth:o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},xo=r.css`
116
125
  .ft-tooltip--container {
117
126
  display: block;
118
127
  }
@@ -127,21 +136,21 @@ const B=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===B)return null==t?void 0:t
127
136
  box-sizing: border-box;
128
137
  overflow: hidden;
129
138
  width: max-content;
130
- max-width: ${di.maxWidth};
139
+ max-width: ${Co.maxWidth};
131
140
  text-align: center;
132
- padding: ${di.distance};
133
- z-index: ${di.zIndex};
141
+ padding: ${Co.distance};
142
+ z-index: ${Co.zIndex};
134
143
  }
135
144
 
136
145
  .ft-tooltip--content {
137
146
  padding: 4px 8px;
138
- border-radius: ${di.borderRadiusS};
139
- background-color: ${di.backgroundColor};
140
- color: ${di.color};
147
+ border-radius: ${Co.borderRadiusS};
148
+ background-color: ${Co.backgroundColor};
149
+ color: ${Co.color};
141
150
  position: relative;
142
151
  word-break: break-word;
143
152
  }
144
- `;var vi=function(t,i,o,e){for(var s,n=arguments.length,h=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,o):e,r=t.length-1;r>=0;r--)(s=t[r])&&(h=(n<3?s(h):n>3?s(i,o,h):s(i,o))||h);return n>3&&h&&Object.defineProperty(i,o,h),h};class $i extends i.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new i.Debouncer,this.revealDebouncer=new i.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return o.html`
153
+ `;var vo=function(t,o,r,e){for(var a,i=arguments.length,n=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,r,n):a(o,r))||n);return i>3&&n&&Object.defineProperty(o,r,n),n};class Io extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return r.html`
145
154
  <div part="container"
146
155
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
147
156
  @mouseenter=${this.onHover}
@@ -159,4 +168,4 @@ const B=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===B)return null==t?void 0:t
159
168
  </div>
160
169
  </div>
161
170
  </div>
162
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((i=>t.has(i)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const i=this.tooltip.offsetWidth,o=this.tooltip.offsetHeight,e=(t.offsetHeight-o)/2,s=(t.offsetWidth-i)/2;let n=0,h=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":h=t.offsetTop-o-this.tooltip.offsetTop,n=t.offsetLeft+s-this.tooltip.offsetLeft;break;case"bottom":h=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+s-this.tooltip.offsetLeft;break;case"left":h=t.offsetTop+e-this.tooltip.offsetTop,n=t.offsetLeft-i-this.tooltip.offsetLeft;break;case"right":h=t.offsetTop+e-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const r=this.tooltip.style;r.left=n+"px",r.top=h+"px";const l=this.tooltip.getBoundingClientRect();let a=-l.x,p=l.x+l.width-window.innerWidth;r.left=n+Math.round(this.correctOutOfWindowPixels(a,p))+"px";let f=-l.y,y=l.y+l.height-window.innerHeight;r.top=h+Math.round(this.correctOutOfWindowPixels(f,y))+"px",r.maxWidth=`max(${t.offsetWidth}px, ${di.maxWidth})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,i){return Math.max(t,Math.min(0,-i))}}$i.elementDefinitions={"ft-typography":ci},$i.styles=ui,vi([e.property()],$i.prototype,"text",void 0),vi([e.property({type:Boolean})],$i.prototype,"manual",void 0),vi([e.property({type:Boolean})],$i.prototype,"inline",void 0),vi([e.property({type:Number})],$i.prototype,"delay",void 0),vi([e.property()],$i.prototype,"position",void 0),vi([e.queryAssignedNodes("",!0)],$i.prototype,"slotNodes",void 0),vi([e.query(".ft-tooltip--container")],$i.prototype,"container",void 0),vi([e.query(".ft-tooltip")],$i.prototype,"tooltip",void 0),vi([e.query(".ft-tooltip--content")],$i.prototype,"tooltipContent",void 0),vi([e.state()],$i.prototype,"visible",void 0),i.customElement("ft-tooltip")($i),t.FtTooltip=$i,t.FtTooltipCssVariables=di,t.styles=ui}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators);
171
+ `}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,r=this.tooltip.offsetHeight,e=(t.offsetHeight-r)/2,a=(t.offsetWidth-o)/2;let i=0,n=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":n=t.offsetTop-r-this.tooltip.offsetTop,i=t.offsetLeft+a-this.tooltip.offsetLeft;break;case"bottom":n=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,i=t.offsetLeft+a-this.tooltip.offsetLeft;break;case"left":n=t.offsetTop+e-this.tooltip.offsetTop,i=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":n=t.offsetTop+e-this.tooltip.offsetTop,i=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=i+"px",l.top=n+"px";const c=this.tooltip.getBoundingClientRect();let p=-c.x,f=c.x+c.width-window.innerWidth;l.left=i+Math.round(this.correctOutOfWindowPixels(p,f))+"px";let s=-c.y,y=c.y+c.height-window.innerHeight;l.top=n+Math.round(this.correctOutOfWindowPixels(s,y))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${Co.maxWidth})`}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))}}Io.elementDefinitions={"ft-typography":So},Io.styles=xo,vo([e.property()],Io.prototype,"text",void 0),vo([e.property({type:Boolean})],Io.prototype,"manual",void 0),vo([e.property({type:Boolean})],Io.prototype,"inline",void 0),vo([e.property({type:Number})],Io.prototype,"delay",void 0),vo([e.property()],Io.prototype,"position",void 0),vo([e.queryAssignedNodes("",!0)],Io.prototype,"slotNodes",void 0),vo([e.query(".ft-tooltip--container")],Io.prototype,"container",void 0),vo([e.query(".ft-tooltip")],Io.prototype,"tooltip",void 0),vo([e.query(".ft-tooltip--content")],Io.prototype,"tooltipContent",void 0),vo([e.state()],Io.prototype,"visible",void 0),o.customElement("ft-tooltip")(Io),t.FtTooltip=Io,t.FtTooltipCssVariables=Co,t.styles=xo}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators);