@fluid-topics/ft-select 1.0.59 → 1.0.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-select.css.js +9 -9
- package/build/ft-select.light.js +188 -181
- package/build/ft-select.min.js +206 -199
- package/package.json +7 -7
package/build/ft-select.light.js
CHANGED
|
@@ -1,136 +1,143 @@
|
|
|
1
|
-
!function(t,e,i,
|
|
1
|
+
!function(t,o,e,r,i,a,n){
|
|
2
2
|
/**
|
|
3
3
|
* @license
|
|
4
4
|
* Copyright 2017 Google LLC
|
|
5
5
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
6
|
*/
|
|
7
|
-
var
|
|
7
|
+
var l;const p=window,c=p.trustedTypes,f=c?c.createPolicy("lit-html",{createHTML:t=>t}):void 0,s="$lit$",d=`lit$${(Math.random()+"").slice(9)}$`,h="?"+d,g=`<${h}>`,y=document,b=()=>y.createComment(""),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,m=Array.isArray,x="[ \t\n\f\r]",O=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,N=/-->/g,v=/>/g,S=RegExp(`>|${x}(?:([^\\s"'>=/]+)(${x}*=${x}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),C=/'/g,$=/"/g,w=/^(?:script|style|textarea|title)$/i,I=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),U=Symbol.for("lit-noChange"),R=Symbol.for("lit-nothing"),W=new WeakMap,E=y.createTreeWalker(y,129,null,!1),k=(t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=O;for(let o=0;o<e;o++){const e=t[o];let l,p,c=-1,f=0;for(;f<e.length&&(n.lastIndex=f,p=n.exec(e),null!==p);)f=n.lastIndex,n===O?"!--"===p[1]?n=N:void 0!==p[1]?n=v:void 0!==p[2]?(w.test(p[2])&&(i=RegExp("</"+p[2],"g")),n=S):void 0!==p[3]&&(n=S):n===S?">"===p[0]?(n=null!=i?i:O,c=-1):void 0===p[1]?c=-2:(c=n.lastIndex-p[2].length,l=p[1],n=void 0===p[3]?S:'"'===p[3]?$:C):n===$||n===C?n=S:n===N||n===v?n=O:(n=S,i=void 0);const h=n===S&&t[o+1].startsWith("/>")?" ":"";a+=n===O?e+g:c>=0?(r.push(l),e.slice(0,c)+s+e.slice(c)+d+h):e+d+(-2===c?(r.push(void 0),o):h)}const l=a+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==f?f.createHTML(l):l,r]};class L{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,a=0;const n=t.length-1,l=this.parts,[p,f]=k(t,o);if(this.el=L.createElement(p,e),E.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=E.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(s)||o.startsWith(d)){const e=f[a++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+s).split(d),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?F:"?"===o[1]?A:"@"===o[1]?H:D})}else l.push({type:6,index:i})}for(const o of t)r.removeAttribute(o)}if(w.test(r.tagName)){const t=r.textContent.split(d),o=t.length-1;if(o>0){r.textContent=c?c.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],b()),E.nextNode(),l.push({type:2,index:++i});r.append(t[o],b())}}}else if(8===r.nodeType)if(r.data===h)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(d,t+1));)l.push({type:7,index:i}),t+=d.length-1}i++}}static createElement(t,o){const e=y.createElement("template");return e.innerHTML=t,e}}function K(t,o,e=t,r){var i,a,n,l;if(o===U)return o;let p=void 0!==r?null===(i=e._$Co)||void 0===i?void 0:i[r]:e._$Cl;const c=u(o)?void 0:o._$litDirective$;return(null==p?void 0:p.constructor)!==c&&(null===(a=null==p?void 0:p._$AO)||void 0===a||a.call(p,!1),void 0===c?p=void 0:(p=new c(t),p._$AT(t,e,r)),void 0!==r?(null!==(n=(l=e)._$Co)&&void 0!==n?n:l._$Co=[])[r]=p:e._$Cl=p),void 0!==p&&(o=K(t,p._$AS(t,o.values),p,r)),o}class Z{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:e},parts:r}=this._$AD,i=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:y).importNode(e,!0);E.currentNode=i;let a=E.nextNode(),n=0,l=0,p=r[0];for(;void 0!==p;){if(n===p.index){let o;2===p.type?o=new z(a,a.nextSibling,this,t):1===p.type?o=new p.ctor(a,p.name,p.strings,this,t):6===p.type&&(o=new G(a,this,t)),this._$AV.push(o),p=r[++l]}n!==(null==p?void 0:p.index)&&(a=E.nextNode(),n++)}return i}v(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class z{constructor(t,o,e,r){var i;this.type=2,this._$AH=R,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=K(this,t,o),u(t)?t===R||null==t||""===t?(this._$AH!==R&&this._$AR(),this._$AH=R):t!==this._$AH&&t!==U&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>m(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!==R&&u(this._$AH)?this._$AA.nextSibling.data=t:this.$(y.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=L.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===i)this._$AH.v(e);else{const t=new Z(i,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=W.get(t.strings);return void 0===o&&W.set(t.strings,o=new L(t)),o}T(t){m(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new z(this.k(b()),this.k(b()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class D{constructor(t,o,e,r,i){this.type=1,this._$AH=R,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=R}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=K(this,t,o,0),a=!u(t)||t!==this._$AH&&t!==U,a&&(this._$AH=t);else{const r=t;let n,l;for(t=i[0],n=0;n<i.length-1;n++)l=K(this,r[e+n],o,n),l===U&&(l=this._$AH[n]),a||(a=!u(l)||l!==this._$AH[n]),l===R?t=R:t!==R&&(t+=(null!=l?l:"")+i[n+1]),this._$AH[n]=l}a&&!r&&this.j(t)}j(t){t===R?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class F extends D{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===R?void 0:t}}const B=c?c.emptyScript:"";class A extends D{constructor(){super(...arguments),this.type=4}j(t){t&&t!==R?this.element.setAttribute(this.name,B):this.element.removeAttribute(this.name)}}class H extends D{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=K(this,t,o,0))&&void 0!==e?e:R)===U)return;const r=this._$AH,i=t===R&&r!==R||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,a=t!==R&&(r===R||i);i&&this.element.removeEventListener(this.name,this,r),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class G{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){K(this,t)}}const j=p.litHtmlPolyfillSupport;null==j||j(L,z),(null!==(l=p.litHtmlVersions)&&void 0!==l?l:p.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 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}),q=new Map,L=(t=>(e,...i)=>{const o=i.length;let s,l;const n=[],r=[];let p,a=0,f=!1;for(;a<o;){for(p=e[a];a<o&&void 0!==(l=i[a],s=G(l));)p+=s+e[++a],f=!0;a!==o&&r.push(l),n.push(p),a++}if(a===o&&n.push(e[o]),f){const t=n.join("$$lit$$");void 0===(e=q.get(t))&&(n.raw=n,q.set(t,e=n)),i=r}return t(e,...i)})(E);var V;!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"}(V||(V={}));const X=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),Y=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),J={fontFamily:Y,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},Q=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",X),tt=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",J.fontSize,"20px"),et=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",J.fontWeight,"normal"),it=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",J.letterSpacing,"0.15px"),ot=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",J.lineHeight,"1.2"),st=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",J.textTransform,"inherit"),lt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",X),nt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",J.fontSize,"14px"),rt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",J.fontWeight,"normal"),pt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",J.letterSpacing,"0.105px"),at=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",J.lineHeight,"1.7"),ft=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",J.textTransform,"inherit"),ht=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",Y),dt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",J.fontSize,"16px"),ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",J.fontWeight,"600"),ut=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",J.letterSpacing,"0.144px"),xt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",J.lineHeight,"1.5"),yt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",J.textTransform,"inherit"),gt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",Y),bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",J.fontSize,"14px"),vt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",J.fontWeight,"normal"),mt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",J.letterSpacing,"0.098px"),$t=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",J.lineHeight,"1.7"),wt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",J.textTransform,"inherit"),kt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",Y),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",J.fontSize,"16px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",J.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",J.letterSpacing,"0.496px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",J.lineHeight,"1.5"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",J.textTransform,"inherit")},zt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",Y),St=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",J.fontSize,"14px"),Ot=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",J.fontWeight,"normal"),Et=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",J.letterSpacing,"0.252px"),jt=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",J.lineHeight,"1.4"),Nt=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",J.textTransform,"inherit"),Ct={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",Y),fontSize:e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",J.fontSize,"12px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",J.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",J.letterSpacing,"0.396px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",J.lineHeight,"1.33"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",J.textTransform,"inherit")},It=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",Y),At=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",J.fontSize,"10px"),Dt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",J.fontWeight,"normal"),_t=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",J.letterSpacing,"0.33px"),Mt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",J.lineHeight,"1.6"),Bt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",J.textTransform,"inherit"),Zt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",Y),Ut=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",J.fontSize,"10px"),Tt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",J.fontWeight,"normal"),Wt=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",J.letterSpacing,"1.5px"),Rt=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",J.lineHeight,"1.6"),Kt=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",J.textTransform,"uppercase"),Ft=e.FtCssVariableFactory.extend("--ft-typography-button-font-family",Y),Ht=e.FtCssVariableFactory.extend("--ft-typography-button-font-size",J.fontSize,"14px"),Gt=e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",J.fontWeight,"600"),Pt=e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",J.letterSpacing,"1.246px"),qt=e.FtCssVariableFactory.extend("--ft-typography-button-line-height",J.lineHeight,"1.15"),Lt=e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",J.textTransform,"uppercase"),Vt=i.css`
|
|
13
|
+
const M=Symbol.for(""),P=t=>{if((null==t?void 0:t.r)===M)return null==t?void 0:t._$litStatic$},_=t=>({_$litStatic$:t,r:M}),Y=new Map,T=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],l=[];let p,c=0,f=!1;for(;c<r;){for(p=o[c];c<r&&void 0!==(a=e[c],i=P(a));)p+=i+o[++c],f=!0;c!==r&&l.push(a),n.push(p),c++}if(c===r&&n.push(o[r]),f){const t=n.join("$$lit$$");void 0===(o=Y.get(t))&&(n.raw=n,Y.set(t,o=n)),e=l}return t(o,...e)})(I);var q;!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"}(q||(q={}));const X=t=>"string"==typeof t?e.unsafeCSS(t):t;class V{static create(t,o,r,i){const a=t=>X(null!=t?t:i),n=e.css`var(${X(t)}, ${a(i)})`;return n.name=t,n.description=t,n.category=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${X(t)}, ${a(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,r,i){const a=t=>r.get(null!=t?t:i),n=e.css`var(${X(t)}, ${a(i)})`;return n.name=t,n.description=o,n.category=r.category,n.fallbackVariable=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${X(t)}, ${a(o)})`,n.breadcrumb=()=>[r.name,...r.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),n}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):X(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${X(t.name)}, ${r(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=r,i.get=o=>e.css`var(${X(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const J={colorWhite:V.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:V.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:V.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:V.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:V.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:V.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:V.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:V.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:V.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:V.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:V.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:V.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:V.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:V.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:V.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:V.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:V.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:V.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:V.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:V.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:V.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:V.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:V.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:V.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:V.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:V.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:V.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:V.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:V.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:V.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:V.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:V.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:V.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:V.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:V.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:V.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:V.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:V.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:V.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:V.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:V.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:V.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:V.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:V.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:V.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:V.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:V.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:V.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:V.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:V.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:V.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:V.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:V.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:V.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:V.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:V.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:V.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:V.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:V.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:V.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:V.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:V.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:V.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:V.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:V.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:V.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:V.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:V.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:V.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:V.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:V.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:V.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:V.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:V.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:V.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:V.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:V.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:V.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:V.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:V.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:V.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:V.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:V.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:V.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:V.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:V.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:V.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:V.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:V.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:V.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:V.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:V.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:V.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:V.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:V.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:V.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:V.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:V.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:V.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:V.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:V.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:V.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:V.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:V.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:V.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:V.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:V.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:V.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:V.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:V.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:V.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:V.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:V.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:V.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:V.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:V.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:V.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:V.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:V.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:V.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:V.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:V.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:V.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:V.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:V.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:V.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:V.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:V.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:V.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:V.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:V.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:V.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:V.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:V.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:V.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:V.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:V.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:V.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:V.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:V.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:V.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:V.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:V.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:V.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:V.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:V.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:V.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:V.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:V.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:V.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:V.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:V.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:V.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:V.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:V.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:V.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:V.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:V.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:V.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:V.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:V.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:V.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:V.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:V.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:V.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:V.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:V.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:V.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:V.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:V.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:V.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:V.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:V.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:V.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:V.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:V.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:V.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:V.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:V.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:V.create("--ft-icon-size-6","","SIZE","48px"),opacity0:V.create("--ft-opacity-0","","NUMBER","0"),opacity8:V.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:V.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:V.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:V.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:V.create("--ft-opacity-80","","NUMBER","0.8")},Q={display:{fontFamily:V.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:V.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:V.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:V.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:V.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:V.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:V.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:V.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:V.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:V.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:V.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:V.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:V.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:V.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:V.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:V.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:V.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:V.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:V.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:V.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:V.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:V.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:V.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:V.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:V.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:V.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:V.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:V.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:V.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:V.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:V.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:V.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:V.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:V.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:V.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:V.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:V.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:V.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:V.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:V.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:V.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:V.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:V.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:V.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:V.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:V.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:V.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:V.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:V.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:V.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:V.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:V.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:V.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:V.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:V.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:V.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:V.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:V.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:V.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:V.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:V.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:V.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:V.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:V.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:V.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:V.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:V.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:V.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:V.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:V.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:V.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:V.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:V.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:V.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:V.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:V.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:V.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:V.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:V.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:V.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:V.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:V.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:V.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:V.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:V.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:V.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:V.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:V.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:V.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:V.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:V.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:V.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:V.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:V.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:V.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:V.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:V.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:V.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:V.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:V.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:V.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:V.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:V.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:V.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:V.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:V.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:V.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:V.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:V.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:V.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:V.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:V.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},tt={backgroundActionPrimary:V.extend("--ft-background-action-primary","Used as backgorund of primary action components.",J.colorBrand0),backgroundErrorPrimary:V.extend("--ft-background-error-primary","Used as background of error components.",J.colorRed0),backgroundErrorSubtle:V.extend("--ft-background-error-subtle","Used as background of subtle error components.",J.colorRed10),backgroundInfoPrimary:V.extend("--ft-background-info-primary","Used as background of information components.",J.colorCyan200),backgroundInfoSubtle:V.extend("--ft-background-info-subtle","Used as background of subtle information components.",J.colorCyan10),backgroundWarningPrimary:V.extend("--ft-background-warning-primary","Used as background of warning components.",J.colorOrange300),backgroundWarningSubtle:V.extend("--ft-background-warning-subtle","Used as background of subtle information components.",J.colorOrange10),backgroundSuccessPrimary:V.extend("--ft-background-success-primary","Used as background of success components.",J.colorGreen200),backgroundSuccessSubtle:V.extend("--ft-background-success-subtle","Used as background of subtle success components.",J.colorGreen10),backgroundGlobalSurface:V.extend("--ft-background-global-surface","Used as app background.",J.colorWhite),backgroundGlobalOnSurface:V.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",J.colorGray10),backgroundGlobalOnSurfaceDark:V.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",J.colorGray30),contentActionPrimary:V.extend("--ft-content-action-primary","Used on label of primary action on light surface.",J.colorBrand0),contentWarningPrimary:V.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",J.colorOrange300),contentWarningIconOnly:V.extend("--ft-content-warning-icon-only","Used on warning status icons alone",J.colorOrange0),contentErrorPrimary:V.extend("--ft-content-error-primary","Used on label of error messages on light surface.",J.colorRed0),contentErrorIconOnly:V.extend("--ft-content-error-icon-only","Used on error status icons alone",J.colorRed0),contentInfoPrimary:V.extend("--ft-content-info-primary","Used on label of information messages on light surface.",J.colorCyan200),contentInfoIconOnly:V.extend("--ft-content-info-icon-only","Used on info status icons alone",J.colorCyan0),contentSuccessIconOnly:V.extend("--ft-content-success-icon-only","Used on success status icons alone",J.colorGreen0),contentSuccessPrimary:V.extend("--ft-content-success-primary","Used on label of success messages on light surface.",J.colorGreen200),contentGlobalPrimary:V.extend("--ft-content-global-primary","Used for main content on the page.",J.colorGray500),contentGlobalSecondary:V.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",J.colorGray200),contentGlobalSubtle:V.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",J.colorGray0),contentGlobalOnColor:V.extend("--ft-content-global-on-color","Used for content on a dominant color.",J.colorWhite),borderActionPrimary:V.extend("--ft-border-action-primary","Used as border for primary action components.",J.colorBrand0),borderActionFocusRing:V.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",J.colorCyan0),borderWarningPrimary:V.extend("--ft-border-warning-primary","Used as border for warning components.",J.colorOrange30),borderSuccessPrimary:V.extend("--ft-border-success-primary","Used as border for success components.",J.colorGreen30),borderErrorPrimary:V.extend("--ft-border-error-primary","Used as border for error components.",J.colorRed30),borderInfoPrimary:V.extend("--ft-border-info-primary","Used as border for information components.",J.colorCyan30),borderGlobalSubtle:V.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",J.colorGray30),borderGlobalPrimary:V.extend("--ft-border-global-primary","Used as border for element like input.",J.colorGray50),borderInputPrimary:V.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",J.colorGray80)};V.create("--ft-button-large-height","","SIZE","40px"),V.extend("--ft-button-large-horizontal-padding","",J.spacing4),V.extend("--ft-button-large-gap","",J.spacing2),V.extend("--ft-button-large-border-radius","",J.borderRadiusS),V.extend("--ft-button-large-icon-size","",J.iconSize3),V.create("--ft-button-large-border-width","","SIZE","1px"),V.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),V.create("--ft-button-large-focus-outline-width","","SIZE","2px"),V.create("--ft-button-large-icon-only-width","","SIZE","40px"),V.create("--ft-button-small-height","","SIZE","30px"),V.extend("--ft-button-small-horizontal-padding","",J.spacing3),V.extend("--ft-button-small-gap","",J.spacing2),V.extend("--ft-button-small-border-radius","",J.borderRadiusS),V.extend("--ft-button-small-icon-size","",J.iconSize2),V.create("--ft-button-small-border-width","","SIZE","1px"),V.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),V.create("--ft-button-small-focus-outline-width","","SIZE","2px"),V.create("--ft-button-small-icon-only-width","","SIZE","30px"),V.extend("--ft-button-primary-background-color","",tt.backgroundActionPrimary),V.extend("--ft-button-primary-color","",tt.contentGlobalOnColor),V.extend("--ft-button-primary-icon-color","",tt.contentGlobalOnColor),V.extend("--ft-button-primary-state-layer-color","",tt.contentGlobalOnColor),V.extend("--ft-button-primary-state-layer-opacity-hover","",J.opacity16),V.extend("--ft-button-primary-state-layer-opacity-focus","",J.opacity16),V.extend("--ft-button-primary-state-layer-opacity-active","",J.opacity24),V.extend("--ft-button-primary-component-opacity-disabled","",J.opacity40),V.extend("--ft-button-focus-focus-ring-color","",tt.borderActionFocusRing),V.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),V.extend("--ft-button-tertiary-color","",tt.contentActionPrimary),V.extend("--ft-button-tertiary-icon-color","",tt.contentActionPrimary),V.extend("--ft-button-tertiary-state-layer-color","",tt.contentActionPrimary),V.extend("--ft-button-tertiary-state-layer-opacity-hover","",J.opacity8),V.extend("--ft-button-tertiary-state-layer-opacity-focus","",J.opacity8),V.extend("--ft-button-tertiary-state-layer-opacity-active","",J.opacity16),V.extend("--ft-button-tertiary-component-opacity-disabled","",J.opacity40),V.extend("--ft-button-secondary-background-color","",J.colorWhite),V.extend("--ft-button-secondary-color","",tt.contentActionPrimary),V.extend("--ft-button-secondary-icon-color","",tt.contentActionPrimary),V.extend("--ft-button-secondary-state-layer-color","",tt.contentActionPrimary),V.extend("--ft-button-secondary-state-layer-opacity-hover","",J.opacity8),V.extend("--ft-button-secondary-state-layer-opacity-focus","",J.opacity8),V.extend("--ft-button-secondary-state-layer-opacity-active","",J.opacity16),V.extend("--ft-button-secondary-component-opacity-disabled","",J.opacity40),V.extend("--ft-button-secondary-border-color","",tt.borderActionPrimary),V.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),V.extend("--ft-button-neutral-icon-color","",tt.contentGlobalSecondary),V.extend("--ft-button-neutral-color","",tt.contentGlobalSecondary),V.extend("--ft-button-neutral-state-layer-color","",tt.contentGlobalSecondary),V.extend("--ft-button-neutral-state-layer-opacity-hover","",J.opacity8),V.extend("--ft-button-neutral-state-layer-opacity-focus","",J.opacity8),V.extend("--ft-button-neutral-state-layer-opacity-active","",J.opacity16),V.extend("--ft-button-neutral-component-opacity-disabled","",J.opacity40),V.extend("--ft-tabs-top-left-border-radius","",J.borderRadiusS),V.extend("--ft-tabs-top-right-border-radius","",J.borderRadiusS),V.extend("--ft-tabs-label-horizontal-padding","",J.spacing4),V.extend("--ft-tabs-label-vertical-padding","",J.spacing3),V.extend("--ft-tabs-label-gap","",J.spacing1),V.extend("--ft-switch-group-horizontal-padding","",J.spacing1),V.extend("--ft-switch-group-vertical-padding","",J.spacing1),V.extend("--ft-switch-group-gap","",J.spacing1),V.extend("--ft-switch-group-background-color","",tt.backgroundGlobalSurface),V.extend("--ft-switch-group-border-color","",tt.borderGlobalSubtle),V.create("--ft-switch-group-border-radius","","SIZE","6px"),V.extend("--ft-switch-label-horizontal-padding","",J.spacing2),V.extend("--ft-switch-label-vertical-padding","",J.spacing1),V.extend("--ft-switch-icon-horizontal-padding","",J.spacing1),V.extend("--ft-switch-icon-vertical-padding","",J.spacing1),V.create("--ft-switch-focus-outline-width","","SIZE","2px"),V.extend("--ft-switch-focus-focus-ring-color","",tt.borderActionFocusRing),V.extend("--ft-switch-option-border-radius","",J.borderRadiusS),V.extend("--ft-switch-off-state-layer-opacity-hover","",J.opacity8),V.extend("--ft-switch-off-state-layer-opacity-focus","",J.opacity8),V.extend("--ft-switch-off-state-layer-opacity-active","",J.opacity16),V.extend("--ft-switch-off-component-opacity-disabled","",J.opacity40),V.extend("--ft-switch-off-color","",tt.contentGlobalSubtle),V.extend("--ft-switch-off-state-layer-color","",tt.contentGlobalSubtle),V.extend("--ft-chart-1-light","for area color charts",J.colorBrand40),V.extend("--ft-chart-1-base","for line charts",J.colorBrand0),V.extend("--ft-chart-2-light","for area color charts",J.colorYellow60),V.extend("--ft-chart-2-base","for line charts",J.colorYellow100),V.extend("--ft-chart-3-light","",J.colorUltramarine40),V.extend("--ft-chart-3-base","",J.colorUltramarine70),V.extend("--ft-chart-4-light","",J.colorCyan50),V.extend("--ft-chart-4-base","",J.colorCyan100),V.extend("--ft-chart-5-light","",J.colorRed40),V.extend("--ft-chart-5-base","",J.colorRed60),V.extend("--ft-chart-6-light","",J.colorGreen40),V.extend("--ft-chart-6-base","",J.colorGreen70),V.extend("--ft-chart-7-light","",J.colorOrange70),V.extend("--ft-chart-7-base","",J.colorOrange100),V.extend("--ft-chart-8-light","",J.colorAvocado70),V.extend("--ft-chart-8-base","",J.colorAvocado200),V.extend("--ft-chart-9-light","",J.colorBrown50),V.extend("--ft-chart-9-base","",J.colorBrown200),V.extend("--ft-chart-10-light","",J.colorGray50),V.extend("--ft-chart-10-base","",J.colorGray80),V.extend("--ft-chart-monochrome-10","",J.colorBrand10),V.extend("--ft-chart-monochrome-20","",J.colorBrand20),V.extend("--ft-chart-monochrome-30","",J.colorBrand40),V.extend("--ft-chart-monochrome-40","",J.colorBrand60),V.extend("--ft-chart-monochrome-50","",J.colorBrand0),V.extend("--ft-chart-monochrome-60","",J.colorBrand200),V.extend("--ft-chip-large-horizontal-padding","",J.spacing4),V.extend("--ft-chip-large-vertical-padding","",J.spacing2),V.extend("--ft-chip-large-gap","",J.spacing1),V.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),V.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),V.extend("--ft-chip-large-border-radius","",J.borderRadiusPill),V.create("--ft-chip-large-border-width","","SIZE","1px"),V.extend("--ft-chip-large-icon-size","",J.iconSize3),V.extend("--ft-chip-medium-horizontal-padding","",J.spacing3),V.extend("--ft-chip-medium-vertical-padding","",J.spacing1),V.extend("--ft-chip-medium-gap","",J.spacing1),V.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),V.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),V.extend("--ft-chip-medium-border-radius","",J.borderRadiusPill),V.create("--ft-chip-medium-border-width","","SIZE","1px"),V.extend("--ft-chip-medium-icon-size","",J.iconSize2),V.extend("--ft-chip-small-horizontal-padding","",J.spacing2),V.extend("--ft-chip-small-vertical-padding","",J.spacing05),V.extend("--ft-chip-small-gap","",J.spacing1),V.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),V.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),V.extend("--ft-chip-small-border-radius","",J.borderRadiusPill),V.create("--ft-chip-small-border-width","","SIZE","1px"),V.extend("--ft-chip-small-icon-size","",J.iconSize1),V.extend("--ft-chip-neutral-background-color","",tt.backgroundGlobalOnSurface),V.extend("--ft-chip-neutral-color","",tt.contentGlobalPrimary),V.extend("--ft-chip-neutral-border-color","",tt.borderGlobalSubtle),V.extend("--ft-chip-info-background-color","",tt.backgroundInfoSubtle),V.extend("--ft-chip-info-color","",tt.contentInfoPrimary),V.extend("--ft-chip-info-border-color","",tt.borderInfoPrimary),V.extend("--ft-chip-success-background-color","",tt.backgroundSuccessSubtle),V.extend("--ft-chip-success-color","",tt.contentSuccessPrimary),V.extend("--ft-chip-success-border-color","",tt.borderSuccessPrimary),V.extend("--ft-chip-warning-background-color","",tt.backgroundWarningSubtle),V.extend("--ft-chip-warning-color","",tt.contentWarningPrimary),V.extend("--ft-chip-warning-border-color","",tt.borderWarningPrimary),V.extend("--ft-chip-error-background-color","",tt.backgroundErrorSubtle),V.extend("--ft-chip-error-color","",tt.contentErrorPrimary),V.extend("--ft-chip-error-border-color","",tt.borderErrorPrimary),V.create("--ft-notice-border-width","","SIZE","1px"),V.extend("--ft-notice-horizontal-padding","",J.spacing2),V.extend("--ft-notice-vertical-padding","",J.spacing1),V.extend("--ft-notice-border-radius","",J.borderRadiusS),V.extend("--ft-notice-gap","",J.spacing2),V.extend("--ft-notice-icon-size","",J.iconSize3),V.extend("--ft-notice-info-background-color","",tt.backgroundInfoSubtle),V.extend("--ft-notice-info-border-color","",tt.borderInfoPrimary),V.extend("--ft-notice-info-color","",tt.contentInfoPrimary),V.extend("--ft-notice-warning-background-color","",tt.backgroundWarningSubtle),V.extend("--ft-notice-warning-border-color","",tt.borderWarningPrimary),V.extend("--ft-notice-warning-color","",tt.contentWarningPrimary),V.extend("--ft-checkbox-label-color","",tt.contentGlobalPrimary),V.extend("--ft-checkbox-checked-background-color","",tt.contentActionPrimary),V.extend("--ft-checkbox-checked-state-layer-color","",tt.contentActionPrimary),V.extend("--ft-checkbox-checked-color","",tt.contentGlobalOnColor),V.extend("--ft-checkbox-checked-state-layer-opacity-hover","",J.opacity16),V.extend("--ft-checkbox-checked-state-layer-opacity-focus","",J.opacity16),V.extend("--ft-checkbox-checked-state-layer-opacity-active","",J.opacity24),V.extend("--ft-checkbox-checked-component-opacity-disabled","",J.opacity40),V.extend("--ft-checkbox-unchecked-border-color","",J.colorGray80),V.extend("--ft-checkbox-unchecked-state-layer-color","",J.colorGray80),V.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",J.opacity16),V.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",J.opacity16),V.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",J.opacity24),V.extend("--ft-checkbox-unchecked-component-opacity-disabled","",J.opacity40),V.extend("--ft-checkbox-focus-focus-ring-color","",tt.borderActionFocusRing),V.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),V.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),V.extend("--ft-checkbox-gap","",J.spacing3),V.extend("--ft-toggle-off-state-layer-opacity-hover","",J.opacity16),V.extend("--ft-toggle-off-state-layer-opacity-focus","",J.opacity16),V.extend("--ft-toggle-off-state-layer-opacity-active","",J.opacity24),V.extend("--ft-toggle-off-component-opacity-disabled","",J.opacity40),V.extend("--ft-toggle-off-background-color","",tt.contentGlobalSubtle),V.extend("--ft-toggle-off-icon-color","",tt.contentGlobalSubtle),V.extend("--ft-toggle-off-state-layer-color","",tt.contentGlobalSubtle),V.extend("--ft-toggle-on-state-layer-opacity-hover","",J.opacity16),V.extend("--ft-toggle-on-state-layer-opacity-focus","",J.opacity16),V.extend("--ft-toggle-on-state-layer-opacity-active","",J.opacity24),V.extend("--ft-toggle-on-component-opacity-disabled","",J.opacity40),V.extend("--ft-toggle-on-background-color","",tt.contentActionPrimary),V.extend("--ft-toggle-on-icon-color","",tt.contentActionPrimary),V.extend("--ft-toggle-on-state-layer-color","",tt.contentActionPrimary),V.extend("--ft-toggle-label-color","",tt.contentGlobalPrimary),V.extend("--ft-toggle-focus-focus-ring-color","",tt.borderActionFocusRing),V.extend("--ft-toggle-gap","",J.spacing3),V.extend("--ft-radio-label-color","",tt.contentGlobalPrimary),V.extend("--ft-radio-selected-color","",tt.contentActionPrimary),V.extend("--ft-radio-selected-state-layer-color","",tt.contentActionPrimary),V.extend("--ft-radio-selected-state-layer-opacity-hover","",J.opacity16),V.extend("--ft-radio-selected-state-layer-opacity-focus","",J.opacity16),V.extend("--ft-radio-selected-state-layer-opacity-active","",J.opacity24),V.extend("--ft-radio-selected-component-opacity-disabled","",J.opacity40),V.extend("--ft-radio-unselected-state-layer-color","",J.colorGray80),V.extend("--ft-radio-unselected-state-layer-opacity-hover","",J.opacity16),V.extend("--ft-radio-unselected-state-layer-opacity-focus","",J.opacity16),V.extend("--ft-radio-unselected-state-layer-opacity-active","",J.opacity24),V.extend("--ft-radio-unselected-component-opacity-disabled","",J.opacity40),V.extend("--ft-radio-focus-focus-ring-color","",tt.borderActionFocusRing),V.create("--ft-radio-focus-outline-offset","","SIZE","3px"),V.create("--ft-radio-focus-outline-width","","SIZE","2px"),V.extend("--ft-radio-gap","",J.spacing3),V.extend("--ft-notification-icon-size","",J.iconSize4),V.extend("--ft-notification-horizontal-padding","",J.spacing4),V.extend("--ft-notification-vertical-padding","",J.spacing4),V.extend("--ft-notification-info-background-color","",tt.backgroundInfoSubtle),V.extend("--ft-notification-info-color","",tt.contentInfoPrimary),V.extend("--ft-notification-info-border-color","",tt.borderInfoPrimary),V.extend("--ft-notification-success-background-color","",tt.backgroundSuccessSubtle),V.extend("--ft-notification-success-color","",tt.contentSuccessPrimary),V.extend("--ft-notification-success-border-color","",tt.borderSuccessPrimary),V.extend("--ft-notification-warning-background-color","",tt.backgroundWarningSubtle),V.extend("--ft-notification-warning-color","",tt.contentWarningPrimary),V.extend("--ft-notification-warning-border-color","",tt.borderWarningPrimary),V.extend("--ft-notification-error-background-color","",tt.backgroundErrorSubtle),V.extend("--ft-notification-error-color","",tt.contentErrorPrimary),V.extend("--ft-notification-error-border-color","",tt.borderErrorPrimary),V.extend("--ft-notification-border-radius","",J.borderRadiusPill),V.create("--ft-notification-border-width","","SIZE","1px"),V.extend("--ft-notification-gap-leading","",J.spacing2),V.extend("--ft-notification-gap-trailing","",J.spacing8);const ot=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),et=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),rt={fontFamily:et,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")},it=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ot),at=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",rt.fontSize,"20px"),nt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",rt.fontWeight,"normal"),lt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",rt.letterSpacing,"0.15px"),pt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",rt.lineHeight,"1.2"),ct=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",rt.textTransform,"inherit"),ft=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ot),st=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",rt.fontSize,"14px"),dt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",rt.fontWeight,"normal"),ht=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",rt.letterSpacing,"0.105px"),gt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",rt.lineHeight,"1.7"),yt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",rt.textTransform,"inherit"),bt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",et),ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",rt.fontSize,"16px"),mt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",rt.fontWeight,"600"),xt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",rt.letterSpacing,"0.144px"),Ot=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",rt.lineHeight,"1.5"),Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",rt.textTransform,"inherit"),vt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",et),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",rt.fontSize,"14px"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",rt.fontWeight,"normal"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",rt.letterSpacing,"0.098px"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",rt.lineHeight,"1.7"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",rt.textTransform,"inherit"),Ut={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",et),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",rt.fontSize,"16px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",rt.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",rt.letterSpacing,"0.496px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",rt.lineHeight,"1.5"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",rt.textTransform,"inherit")},Rt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",et),Wt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",rt.fontSize,"14px"),Et=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",rt.fontWeight,"normal"),kt=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",rt.letterSpacing,"0.252px"),Lt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",rt.lineHeight,"1.4"),Kt=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",rt.textTransform,"inherit"),Zt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",et),fontSize:o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",rt.fontSize,"12px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",rt.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",rt.letterSpacing,"0.396px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",rt.lineHeight,"1.33"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",rt.textTransform,"inherit")},zt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",et),Dt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",rt.fontSize,"10px"),Ft=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",rt.fontWeight,"normal"),Bt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",rt.letterSpacing,"0.33px"),At=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",rt.lineHeight,"1.6"),Ht=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",rt.textTransform,"inherit"),Gt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",et),jt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",rt.fontSize,"10px"),Mt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",rt.fontWeight,"normal"),Pt=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",rt.letterSpacing,"1.5px"),_t=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",rt.lineHeight,"1.6"),Yt=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",rt.textTransform,"uppercase"),Tt=o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",et),qt=o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",rt.fontSize,"14px"),Xt=o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",rt.fontWeight,"600"),Vt=o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",rt.letterSpacing,"1.246px"),Jt=o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",rt.lineHeight,"1.15"),Qt=o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",rt.textTransform,"uppercase"),to=e.css`
|
|
14
14
|
.ft-typography--title {
|
|
15
|
-
font-family: ${
|
|
16
|
-
font-size: ${
|
|
17
|
-
font-weight: ${
|
|
18
|
-
letter-spacing: ${
|
|
19
|
-
line-height: ${
|
|
20
|
-
text-transform: ${
|
|
21
|
-
}
|
|
22
|
-
`,
|
|
15
|
+
font-family: ${it};
|
|
16
|
+
font-size: ${at};
|
|
17
|
+
font-weight: ${nt};
|
|
18
|
+
letter-spacing: ${lt};
|
|
19
|
+
line-height: ${pt};
|
|
20
|
+
text-transform: ${ct};
|
|
21
|
+
}
|
|
22
|
+
`,oo=e.css`
|
|
23
23
|
.ft-typography--title-dense {
|
|
24
|
-
font-family: ${
|
|
25
|
-
font-size: ${
|
|
26
|
-
font-weight: ${
|
|
27
|
-
letter-spacing: ${
|
|
28
|
-
line-height: ${
|
|
29
|
-
text-transform: ${ft};
|
|
30
|
-
}
|
|
31
|
-
`,Yt=i.css`
|
|
32
|
-
.ft-typography--subtitle1 {
|
|
33
|
-
font-family: ${ht};
|
|
34
|
-
font-size: ${dt};
|
|
35
|
-
font-weight: ${ct};
|
|
36
|
-
letter-spacing: ${ut};
|
|
37
|
-
line-height: ${xt};
|
|
24
|
+
font-family: ${ft};
|
|
25
|
+
font-size: ${st};
|
|
26
|
+
font-weight: ${dt};
|
|
27
|
+
letter-spacing: ${ht};
|
|
28
|
+
line-height: ${gt};
|
|
38
29
|
text-transform: ${yt};
|
|
39
30
|
}
|
|
40
|
-
`,
|
|
31
|
+
`,eo=e.css`
|
|
32
|
+
.ft-typography--subtitle1 {
|
|
33
|
+
font-family: ${bt};
|
|
34
|
+
font-size: ${ut};
|
|
35
|
+
font-weight: ${mt};
|
|
36
|
+
letter-spacing: ${xt};
|
|
37
|
+
line-height: ${Ot};
|
|
38
|
+
text-transform: ${Nt};
|
|
39
|
+
}
|
|
40
|
+
`,ro=e.css`
|
|
41
41
|
.ft-typography--subtitle2 {
|
|
42
|
-
font-family: ${
|
|
43
|
-
font-size: ${
|
|
44
|
-
font-weight: ${
|
|
45
|
-
letter-spacing: ${
|
|
46
|
-
line-height: ${
|
|
47
|
-
text-transform: ${
|
|
42
|
+
font-family: ${vt};
|
|
43
|
+
font-size: ${St};
|
|
44
|
+
font-weight: ${Ct};
|
|
45
|
+
letter-spacing: ${$t};
|
|
46
|
+
line-height: ${wt};
|
|
47
|
+
text-transform: ${It};
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
`,
|
|
50
|
+
`,io=e.css`
|
|
51
51
|
.ft-typography--body1 {
|
|
52
|
-
font-family: ${
|
|
53
|
-
font-size: ${
|
|
54
|
-
font-weight: ${
|
|
55
|
-
letter-spacing: ${
|
|
56
|
-
line-height: ${
|
|
57
|
-
text-transform: ${
|
|
58
|
-
}
|
|
59
|
-
`,
|
|
52
|
+
font-family: ${Ut.fontFamily};
|
|
53
|
+
font-size: ${Ut.fontSize};
|
|
54
|
+
font-weight: ${Ut.fontWeight};
|
|
55
|
+
letter-spacing: ${Ut.letterSpacing};
|
|
56
|
+
line-height: ${Ut.lineHeight};
|
|
57
|
+
text-transform: ${Ut.textTransform};
|
|
58
|
+
}
|
|
59
|
+
`,ao=e.css`
|
|
60
60
|
.ft-typography--body2 {
|
|
61
|
-
font-family: ${
|
|
62
|
-
font-size: ${
|
|
63
|
-
font-weight: ${
|
|
64
|
-
letter-spacing: ${
|
|
65
|
-
line-height: ${
|
|
66
|
-
text-transform: ${
|
|
61
|
+
font-family: ${Rt};
|
|
62
|
+
font-size: ${Wt};
|
|
63
|
+
font-weight: ${Et};
|
|
64
|
+
letter-spacing: ${kt};
|
|
65
|
+
line-height: ${Lt};
|
|
66
|
+
text-transform: ${Kt};
|
|
67
67
|
}
|
|
68
|
-
`,
|
|
68
|
+
`,no=e.css`
|
|
69
69
|
.ft-typography--caption {
|
|
70
|
-
font-family: ${
|
|
71
|
-
font-size: ${
|
|
72
|
-
font-weight: ${
|
|
73
|
-
letter-spacing: ${
|
|
74
|
-
line-height: ${
|
|
75
|
-
text-transform: ${
|
|
76
|
-
}
|
|
77
|
-
`,
|
|
70
|
+
font-family: ${Zt.fontFamily};
|
|
71
|
+
font-size: ${Zt.fontSize};
|
|
72
|
+
font-weight: ${Zt.fontWeight};
|
|
73
|
+
letter-spacing: ${Zt.letterSpacing};
|
|
74
|
+
line-height: ${Zt.lineHeight};
|
|
75
|
+
text-transform: ${Zt.textTransform};
|
|
76
|
+
}
|
|
77
|
+
`,lo=e.css`
|
|
78
78
|
.ft-typography--breadcrumb {
|
|
79
|
-
font-family: ${
|
|
80
|
-
font-size: ${
|
|
81
|
-
font-weight: ${
|
|
82
|
-
letter-spacing: ${
|
|
83
|
-
line-height: ${
|
|
84
|
-
text-transform: ${
|
|
85
|
-
}
|
|
86
|
-
`,oe=i.css`
|
|
87
|
-
.ft-typography--overline {
|
|
88
|
-
font-family: ${Zt};
|
|
89
|
-
font-size: ${Ut};
|
|
90
|
-
font-weight: ${Tt};
|
|
91
|
-
letter-spacing: ${Wt};
|
|
92
|
-
line-height: ${Rt};
|
|
93
|
-
text-transform: ${Kt};
|
|
79
|
+
font-family: ${zt};
|
|
80
|
+
font-size: ${Dt};
|
|
81
|
+
font-weight: ${Ft};
|
|
82
|
+
letter-spacing: ${Bt};
|
|
83
|
+
line-height: ${At};
|
|
84
|
+
text-transform: ${Ht};
|
|
94
85
|
}
|
|
95
|
-
`,
|
|
96
|
-
.ft-typography--
|
|
97
|
-
font-family: ${
|
|
98
|
-
font-size: ${
|
|
99
|
-
font-weight: ${
|
|
86
|
+
`,po=e.css`
|
|
87
|
+
.ft-typography--overline {
|
|
88
|
+
font-family: ${Gt};
|
|
89
|
+
font-size: ${jt};
|
|
90
|
+
font-weight: ${Mt};
|
|
100
91
|
letter-spacing: ${Pt};
|
|
101
|
-
line-height: ${
|
|
102
|
-
text-transform: ${
|
|
92
|
+
line-height: ${_t};
|
|
93
|
+
text-transform: ${Yt};
|
|
103
94
|
}
|
|
104
|
-
`,
|
|
95
|
+
`,co=e.css`
|
|
96
|
+
.ft-typography--button {
|
|
97
|
+
font-family: ${Tt};
|
|
98
|
+
font-size: ${qt};
|
|
99
|
+
font-weight: ${Xt};
|
|
100
|
+
letter-spacing: ${Vt};
|
|
101
|
+
line-height: ${Jt};
|
|
102
|
+
text-transform: ${Qt};
|
|
103
|
+
}
|
|
104
|
+
`,fo=e.css`
|
|
105
105
|
.ft-typography {
|
|
106
106
|
vertical-align: inherit;
|
|
107
107
|
}
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
108
|
+
`,so=[Object.keys(Q).map((t=>function(t){const o=Q[t];return e.css`
|
|
109
|
+
font-family: ${o.fontFamily};
|
|
110
|
+
font-size: ${o.fontSize};
|
|
111
|
+
font-weight: ${o.fontWeight};
|
|
112
|
+
letter-spacing: ${o.letterSpacing};
|
|
113
|
+
line-height: ${o.lineHeight};
|
|
114
|
+
text-transform: ${o.textCase};
|
|
115
|
+
`}(t)))];var ho=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class go extends o.FtLitElement{constructor(){super(...arguments),this.variant=q.body1}render(){return this.element?T`
|
|
116
|
+
<${_(this.element)}
|
|
117
|
+
class="ft-typography ft-typography--${this.variant}">
|
|
111
118
|
<slot></slot>
|
|
112
|
-
</${
|
|
113
|
-
`:
|
|
119
|
+
</${_(this.element)}>
|
|
120
|
+
`:T`
|
|
114
121
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
115
|
-
`}}
|
|
122
|
+
`}}go.styles=[to,oo,eo,ro,io,ao,no,lo,po,co,fo,...so],ho([r.property()],go.prototype,"element",void 0),ho([r.property()],go.prototype,"variant",void 0),o.customElement("ft-typography")(go);const yo={fontSize:o.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:o.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:o.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:o.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:o.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:o.FtCssVariableFactory.extend("--ft-input-label-border-color","",o.designSystemVariables.colorOutline),textColor:o.FtCssVariableFactory.extend("--ft-input-label-text-color","",o.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:o.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",o.designSystemVariables.colorOnSurfaceDisabled),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),borderRadiusS:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),colorError:o.FtCssVariableFactory.external(o.designSystemVariables.colorError,"Design system")},bo=e.css`
|
|
116
123
|
.ft-input-label {
|
|
117
124
|
position: absolute;
|
|
118
125
|
inset: 0;
|
|
119
126
|
display: flex;
|
|
120
|
-
background-color: ${
|
|
121
|
-
border-radius: ${
|
|
127
|
+
background-color: ${yo.colorSurface};
|
|
128
|
+
border-radius: ${yo.borderRadiusS} ${yo.borderRadiusS} 0 0;
|
|
122
129
|
}
|
|
123
130
|
|
|
124
131
|
.ft-input-label--outlined {
|
|
125
|
-
border-radius: ${
|
|
132
|
+
border-radius: ${yo.borderRadiusS};
|
|
126
133
|
}
|
|
127
134
|
|
|
128
135
|
.ft-input-label {
|
|
129
|
-
border-color: ${
|
|
136
|
+
border-color: ${yo.borderColor};
|
|
130
137
|
}
|
|
131
138
|
|
|
132
139
|
.ft-input-label.ft-input-label--in-error {
|
|
133
|
-
border-color: ${
|
|
140
|
+
border-color: ${yo.colorError}
|
|
134
141
|
}
|
|
135
142
|
|
|
136
143
|
.ft-input-label:before,
|
|
@@ -143,7 +150,7 @@ const H=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
|
|
|
143
150
|
}
|
|
144
151
|
|
|
145
152
|
.ft-input-label:before {
|
|
146
|
-
width: calc(${
|
|
153
|
+
width: calc(${yo.horizontalSpacing} - 4px);
|
|
147
154
|
flex-shrink: 0;
|
|
148
155
|
}
|
|
149
156
|
|
|
@@ -159,20 +166,20 @@ const H=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
|
|
|
159
166
|
border-bottom-width: 1px;
|
|
160
167
|
border-bottom-style: solid;
|
|
161
168
|
border-color: inherit;
|
|
162
|
-
color: ${
|
|
169
|
+
color: ${yo.textColor};
|
|
163
170
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
164
|
-
max-width: calc(${
|
|
171
|
+
max-width: calc(${yo.labelMaxWidth} - 2 * (${yo.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
165
172
|
text-overflow: ellipsis;
|
|
166
|
-
${
|
|
167
|
-
${
|
|
173
|
+
${o.setVariable(Zt.fontSize,yo.fontSize)};
|
|
174
|
+
${o.setVariable(Zt.lineHeight,yo.fontSize)};
|
|
168
175
|
}
|
|
169
176
|
|
|
170
177
|
.ft-input-label--in-error .ft-input-label--text {
|
|
171
|
-
color: ${
|
|
178
|
+
color: ${yo.colorError}
|
|
172
179
|
}
|
|
173
180
|
|
|
174
181
|
.ft-input-label--disabled .ft-input-label--text {
|
|
175
|
-
color: ${
|
|
182
|
+
color: ${yo.disabledTextColor};
|
|
176
183
|
}
|
|
177
184
|
|
|
178
185
|
.ft-input-label--hidden-text {
|
|
@@ -189,19 +196,19 @@ const H=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
|
|
|
189
196
|
overflow: hidden;
|
|
190
197
|
white-space: nowrap;
|
|
191
198
|
text-overflow: ellipsis;
|
|
192
|
-
padding: ${
|
|
193
|
-
margin: calc(${
|
|
199
|
+
padding: ${yo.verticalSpacing} 4px;
|
|
200
|
+
margin: calc(${yo.verticalSpacing} * -1) 0;
|
|
194
201
|
max-width: 100%;
|
|
195
202
|
box-sizing: border-box;
|
|
196
203
|
}
|
|
197
204
|
|
|
198
205
|
.ft-input-label--raised .ft-input-label--text {
|
|
199
|
-
${
|
|
200
|
-
${
|
|
206
|
+
${o.setVariable(Zt.fontSize,yo.raisedFontSize)};
|
|
207
|
+
${o.setVariable(Zt.lineHeight,yo.raisedFontSize)};
|
|
201
208
|
}
|
|
202
209
|
|
|
203
210
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
204
|
-
top: ${
|
|
211
|
+
top: ${yo.verticalSpacing};
|
|
205
212
|
}
|
|
206
213
|
|
|
207
214
|
.ft-input-label--outlined .ft-input-label--text,
|
|
@@ -214,36 +221,36 @@ const H=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
|
|
|
214
221
|
.ft-input-label--outlined:before {
|
|
215
222
|
border-left-width: 1px;
|
|
216
223
|
border-left-style: solid;
|
|
217
|
-
border-radius: ${
|
|
224
|
+
border-radius: ${yo.borderRadiusS} 0 0 ${yo.borderRadiusS};
|
|
218
225
|
}
|
|
219
226
|
|
|
220
227
|
.ft-input-label--outlined:after {
|
|
221
228
|
border-right-width: 1px;
|
|
222
229
|
border-right-style: solid;
|
|
223
|
-
border-radius: 0 ${
|
|
230
|
+
border-radius: 0 ${yo.borderRadiusS} ${yo.borderRadiusS} 0;
|
|
224
231
|
}
|
|
225
232
|
|
|
226
233
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
|
|
227
234
|
padding: 2px 4px;
|
|
228
|
-
z-index: ${
|
|
229
|
-
background-color: ${
|
|
230
|
-
border-radius: ${
|
|
235
|
+
z-index: ${yo.raisedZIndex};
|
|
236
|
+
background-color: ${yo.colorSurface};
|
|
237
|
+
border-radius: ${yo.borderRadiusS};
|
|
231
238
|
top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
|
|
232
239
|
}
|
|
233
240
|
|
|
234
241
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
235
242
|
border-top: none;
|
|
236
243
|
}
|
|
237
|
-
`;var
|
|
238
|
-
<div class="${
|
|
239
|
-
${this.text?
|
|
244
|
+
`;var uo=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class mo extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return e.html`
|
|
245
|
+
<div class="${i.classMap(t)}">
|
|
246
|
+
${this.text?e.html`
|
|
240
247
|
<div class="ft-input-label--text ft-typography--caption">
|
|
241
248
|
<span class="ft-input-label--floating-text">${this.text}</span>
|
|
242
249
|
<span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
|
|
243
250
|
</div>
|
|
244
251
|
`:null}
|
|
245
252
|
</div>
|
|
246
|
-
`}}
|
|
253
|
+
`}}mo.elementDefinitions={},mo.styles=[no,bo],uo([r.property({type:String})],mo.prototype,"text",void 0),uo([r.property({type:Boolean})],mo.prototype,"raised",void 0),uo([r.property({type:Boolean})],mo.prototype,"outlined",void 0),uo([r.property({type:Boolean})],mo.prototype,"disabled",void 0),uo([r.property({type:Boolean})],mo.prototype,"error",void 0),o.customElement("ft-input-label")(mo);const xo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),Oo={color:xo,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",xo),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},No=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),vo=No,So=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",No),Co=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),$o=Co,wo=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Co),Io=e.css`
|
|
247
254
|
:host {
|
|
248
255
|
display: contents;
|
|
249
256
|
}
|
|
@@ -256,7 +263,7 @@ const H=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
|
|
|
256
263
|
|
|
257
264
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
258
265
|
overflow: hidden;
|
|
259
|
-
border-radius: ${
|
|
266
|
+
border-radius: ${Oo.borderRadius};
|
|
260
267
|
}
|
|
261
268
|
|
|
262
269
|
.ft-ripple .ft-ripple--background,
|
|
@@ -290,27 +297,27 @@ const H=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
|
|
|
290
297
|
}
|
|
291
298
|
|
|
292
299
|
.ft-ripple .ft-ripple--background {
|
|
293
|
-
background-color: ${
|
|
300
|
+
background-color: ${Oo.backgroundColor};
|
|
294
301
|
}
|
|
295
302
|
|
|
296
303
|
.ft-ripple .ft-ripple--effect {
|
|
297
|
-
background-color: ${
|
|
304
|
+
background-color: ${Oo.color};
|
|
298
305
|
}
|
|
299
306
|
|
|
300
307
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
301
|
-
background-color: ${
|
|
308
|
+
background-color: ${wo};
|
|
302
309
|
}
|
|
303
310
|
|
|
304
311
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
305
|
-
background-color: ${
|
|
312
|
+
background-color: ${$o};
|
|
306
313
|
}
|
|
307
314
|
|
|
308
315
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
309
|
-
background-color: ${
|
|
316
|
+
background-color: ${So};
|
|
310
317
|
}
|
|
311
318
|
|
|
312
319
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
313
|
-
background-color: ${
|
|
320
|
+
background-color: ${vo};
|
|
314
321
|
}
|
|
315
322
|
|
|
316
323
|
.ft-ripple .ft-ripple--background {
|
|
@@ -340,33 +347,33 @@ const H=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
|
|
|
340
347
|
}
|
|
341
348
|
|
|
342
349
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
343
|
-
opacity: ${
|
|
350
|
+
opacity: ${Oo.opacityContentOnSurfaceHover};
|
|
344
351
|
}
|
|
345
352
|
|
|
346
353
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
347
|
-
opacity: ${
|
|
354
|
+
opacity: ${Oo.opacityContentOnSurfaceSelected};
|
|
348
355
|
}
|
|
349
356
|
|
|
350
357
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
351
|
-
opacity: ${
|
|
358
|
+
opacity: ${Oo.opacityContentOnSurfaceFocused};
|
|
352
359
|
}
|
|
353
360
|
|
|
354
361
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
355
|
-
opacity: ${
|
|
362
|
+
opacity: ${Oo.opacityContentOnSurfacePressed};
|
|
356
363
|
transform: translate(-50%, -50%) scale(1);
|
|
357
364
|
}
|
|
358
|
-
`;var
|
|
365
|
+
`;var Uo,Ro,Wo=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Eo extends o.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),a=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-a.x:a.width/2),this.originY=Math.round(null!=i?i-a.y:a.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
|
|
359
366
|
<style>
|
|
360
367
|
.ft-ripple .ft-ripple--effect {
|
|
361
368
|
left: ${this.originX}px;
|
|
362
369
|
top: ${this.originY}px;
|
|
363
370
|
}
|
|
364
371
|
</style>
|
|
365
|
-
<div class="${
|
|
372
|
+
<div class="${i.classMap(t)}">
|
|
366
373
|
<div class="ft-ripple--background"></div>
|
|
367
374
|
<div class="ft-ripple--effect"></div>
|
|
368
375
|
</div>
|
|
369
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,i;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:i)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}ze.elementDefinitions={},ze.styles=me,ke([o.property({type:Boolean})],ze.prototype,"primary",void 0),ke([o.property({type:Boolean})],ze.prototype,"secondary",void 0),ke([o.property({type:Boolean})],ze.prototype,"unbounded",void 0),ke([o.property({type:Boolean})],ze.prototype,"activated",void 0),ke([o.property({type:Boolean})],ze.prototype,"selected",void 0),ke([o.property({type:Boolean})],ze.prototype,"disabled",void 0),ke([o.state()],ze.prototype,"hovered",void 0),ke([o.state()],ze.prototype,"focused",void 0),ke([o.state()],ze.prototype,"pressed",void 0),ke([o.state()],ze.prototype,"rippling",void 0),ke([o.state()],ze.prototype,"originX",void 0),ke([o.state()],ze.prototype,"originY",void 0),ke([o.query(".ft-ripple")],ze.prototype,"ripple",void 0),ke([o.query(".ft-ripple--effect")],ze.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(ze),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}($e||($e={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(we||(we={})),new Map([...["abw"].map((t=>[t,we.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,we.AUDIO])),...["avi"].map((t=>[t,we.AVI])),...["chm","xhs"].map((t=>[t,we.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,we.CODE])),...["csv"].map((t=>[t,we.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,we.DITA])),...["epub"].map((t=>[t,we.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,we.EXCEL])),...["flac"].map((t=>[t,we.FLAC])),...["gif"].map((t=>[t,we.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,we.GZIP])),...["html","htm","xhtml"].map((t=>[t,we.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,we.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,we.JPEG])),...["json"].map((t=>[t,we.JSON])),...["m4a","m4p"].map((t=>[t,we.M4A])),...["mov","qt"].map((t=>[t,we.MOV])),...["mp3"].map((t=>[t,we.MP3])),...["mp4","m4v"].map((t=>[t,we.MP4])),...["ogg","oga"].map((t=>[t,we.OGG])),...["pdf","ps"].map((t=>[t,we.PDF])),...["png"].map((t=>[t,we.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,we.POWERPOINT])),...["rar"].map((t=>[t,we.RAR])),...["stp"].map((t=>[t,we.STP])),...["txt","rtf","md","mdown"].map((t=>[t,we.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,we.VIDEO])),...["wav"].map((t=>[t,we.WAV])),...["wma"].map((t=>[t,we.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,we.WORD])),...["xml","xsl","rdf"].map((t=>[t,we.XML])),...["yaml","yml","x-yaml"].map((t=>[t,we.YAML])),...["zip"].map((t=>[t,we.ZIP]))]);const Se=e.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),Oe=e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),Ee=e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),je=e.FtCssVariableFactory.extend("--ft-icon-material-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),Ne=e.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset"),Ce=i.css`
|
|
376
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Eo.elementDefinitions={},Eo.styles=Io,Wo([r.property({type:Boolean})],Eo.prototype,"primary",void 0),Wo([r.property({type:Boolean})],Eo.prototype,"secondary",void 0),Wo([r.property({type:Boolean})],Eo.prototype,"unbounded",void 0),Wo([r.property({type:Boolean})],Eo.prototype,"activated",void 0),Wo([r.property({type:Boolean})],Eo.prototype,"selected",void 0),Wo([r.property({type:Boolean})],Eo.prototype,"disabled",void 0),Wo([r.state()],Eo.prototype,"hovered",void 0),Wo([r.state()],Eo.prototype,"focused",void 0),Wo([r.state()],Eo.prototype,"pressed",void 0),Wo([r.state()],Eo.prototype,"rippling",void 0),Wo([r.state()],Eo.prototype,"originX",void 0),Wo([r.state()],Eo.prototype,"originY",void 0),Wo([r.query(".ft-ripple")],Eo.prototype,"ripple",void 0),Wo([r.query(".ft-ripple--effect")],Eo.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Eo),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(Uo||(Uo={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Ro||(Ro={})),new Map([...["abw"].map((t=>[t,Ro.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Ro.AUDIO])),...["avi"].map((t=>[t,Ro.AVI])),...["chm","xhs"].map((t=>[t,Ro.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Ro.CODE])),...["csv"].map((t=>[t,Ro.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ro.DITA])),...["epub"].map((t=>[t,Ro.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ro.EXCEL])),...["flac"].map((t=>[t,Ro.FLAC])),...["gif"].map((t=>[t,Ro.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ro.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ro.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Ro.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ro.JPEG])),...["json"].map((t=>[t,Ro.JSON])),...["m4a","m4p"].map((t=>[t,Ro.M4A])),...["mov","qt"].map((t=>[t,Ro.MOV])),...["mp3"].map((t=>[t,Ro.MP3])),...["mp4","m4v"].map((t=>[t,Ro.MP4])),...["ogg","oga"].map((t=>[t,Ro.OGG])),...["pdf","ps"].map((t=>[t,Ro.PDF])),...["png"].map((t=>[t,Ro.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ro.POWERPOINT])),...["rar"].map((t=>[t,Ro.RAR])),...["stp"].map((t=>[t,Ro.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ro.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Ro.VIDEO])),...["wav"].map((t=>[t,Ro.WAV])),...["wma"].map((t=>[t,Ro.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ro.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ro.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ro.YAML])),...["zip"].map((t=>[t,Ro.ZIP]))]);const ko=o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),Lo=o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),Ko=o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),Zo=o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),zo=o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset"),Do=e.css`
|
|
370
377
|
:host, i.ft-icon {
|
|
371
378
|
display: inline-flex;
|
|
372
379
|
align-items: center;
|
|
@@ -375,14 +382,14 @@ const H=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
|
|
|
375
382
|
}
|
|
376
383
|
|
|
377
384
|
:host {
|
|
378
|
-
width: ${
|
|
379
|
-
height: ${
|
|
385
|
+
width: ${ko};
|
|
386
|
+
height: ${ko};
|
|
380
387
|
}
|
|
381
388
|
|
|
382
389
|
i.ft-icon {
|
|
383
390
|
width: 100%;
|
|
384
391
|
height: 100%;
|
|
385
|
-
font-size: ${
|
|
392
|
+
font-size: ${ko};
|
|
386
393
|
line-height: 1;
|
|
387
394
|
font-weight: normal;
|
|
388
395
|
text-transform: none;
|
|
@@ -393,33 +400,33 @@ const H=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
|
|
|
393
400
|
text-rendering: auto;
|
|
394
401
|
-webkit-font-smoothing: antialiased;
|
|
395
402
|
-moz-osx-font-smoothing: grayscale;
|
|
396
|
-
vertical-align: ${
|
|
403
|
+
vertical-align: ${zo};
|
|
397
404
|
}
|
|
398
405
|
|
|
399
406
|
i.ft-icon.ft-icon--fluid-topics {
|
|
400
|
-
font-family: ${
|
|
407
|
+
font-family: ${Lo}, ft-icons, fticons, sans-serif;
|
|
401
408
|
|
|
402
409
|
/* Ugly fix because font is broken */
|
|
403
|
-
font-size: calc(0.75 * ${
|
|
404
|
-
line-height: ${
|
|
410
|
+
font-size: calc(0.75 * ${ko});
|
|
411
|
+
line-height: ${ko};
|
|
405
412
|
position: relative;
|
|
406
413
|
top: -4%;
|
|
407
414
|
justify-content: center;
|
|
408
415
|
}
|
|
409
416
|
|
|
410
417
|
.ft-icon--file-format {
|
|
411
|
-
font-family: ${
|
|
418
|
+
font-family: ${Ko}, ft-mime, sans-serif;
|
|
412
419
|
}
|
|
413
420
|
|
|
414
421
|
.ft-icon--material {
|
|
415
|
-
font-family: ${
|
|
422
|
+
font-family: ${Zo}, "Material Icons", sans-serif;
|
|
416
423
|
}
|
|
417
|
-
`;var
|
|
424
|
+
`;var Fo;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Fo||(Fo={}));var Bo=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ao extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Fo).includes(this.variant)?this.variant:Fo.fluid_topics,o=t!==Fo.material||!!this.value;return e.html`
|
|
418
425
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
419
426
|
${n.unsafeHTML(this.resolvedIcon)}
|
|
420
|
-
<slot ?hidden=${
|
|
427
|
+
<slot ?hidden=${o}></slot>
|
|
421
428
|
</i>
|
|
422
|
-
`}get textContent(){var t,
|
|
429
|
+
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let r=this.value||this.textContent;switch(this.variant){case Fo.file_format:this.resolvedIcon=null!==(t=Ro[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case Fo.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=Uo[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ao.elementDefinitions={},Ao.styles=Do,Bo([r.property()],Ao.prototype,"variant",void 0),Bo([r.property()],Ao.prototype,"value",void 0),Bo([r.state()],Ao.prototype,"resolvedIcon",void 0),Bo([r.query("slot")],Ao.prototype,"slottedContent",void 0),o.customElement("ft-icon")(Ao);const Ho={labelSize:o.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:o.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:o.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:o.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","unset"),selectedOptionColor:o.FtCssVariableFactory.extend("--ft-select-selected-option-color","",o.designSystemVariables.colorOnSurface),helperColor:o.FtCssVariableFactory.extend("--ft-select-helper-color","",o.designSystemVariables.colorOnSurfaceMedium),optionsColor:o.FtCssVariableFactory.extend("--ft-select-options-color","",o.designSystemVariables.colorOnSurface),optionsZIndex:o.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),colorOnSurfaceDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),elevation02:o.FtCssVariableFactory.external(o.designSystemVariables.elevation02,"Design system"),colorError:o.FtCssVariableFactory.external(o.designSystemVariables.colorError,"Design system")},Go=e.css`
|
|
423
430
|
*:focus {
|
|
424
431
|
outline: none;
|
|
425
432
|
}
|
|
@@ -433,7 +440,7 @@ const H=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
|
|
|
433
440
|
.ft-select--main-panel {
|
|
434
441
|
position: relative;
|
|
435
442
|
display: flex;
|
|
436
|
-
height: calc(4 * ${
|
|
443
|
+
height: calc(4 * ${Ho.verticalSpacing} + ${Ho.labelSize} + ${Ho.selectedOptionSize});
|
|
437
444
|
}
|
|
438
445
|
|
|
439
446
|
.ft-select--input-panel {
|
|
@@ -442,17 +449,17 @@ const H=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
|
|
|
442
449
|
display: flex;
|
|
443
450
|
align-items: center;
|
|
444
451
|
overflow: hidden;
|
|
445
|
-
padding-left: ${
|
|
446
|
-
padding-right: ${
|
|
452
|
+
padding-left: ${Ho.horizontalSpacing};
|
|
453
|
+
padding-right: ${Ho.horizontalSpacing};
|
|
447
454
|
gap: 8px;
|
|
448
|
-
color: ${
|
|
449
|
-
${
|
|
455
|
+
color: ${Ho.selectedOptionColor};
|
|
456
|
+
${o.setVariable(Oo.color,Ho.selectedOptionColor)};
|
|
450
457
|
}
|
|
451
458
|
|
|
452
459
|
.ft-select--input-panel,
|
|
453
460
|
.ft-select--option {
|
|
454
|
-
${
|
|
455
|
-
${
|
|
461
|
+
${o.setVariable(Oo.opacityContentOnSurfaceHover,"0.08")};
|
|
462
|
+
${o.setVariable(Oo.opacityContentOnSurfacePressed,"0.04")};
|
|
456
463
|
}
|
|
457
464
|
|
|
458
465
|
.ft-select--input-panel > *:not(ft-ripple),
|
|
@@ -462,7 +469,7 @@ const H=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
|
|
|
462
469
|
|
|
463
470
|
.ft-select--disabled .ft-select--input-panel,
|
|
464
471
|
.ft-select--disabled .ft-select--option {
|
|
465
|
-
color: ${
|
|
472
|
+
color: ${Ho.colorOnSurfaceDisabled};
|
|
466
473
|
}
|
|
467
474
|
|
|
468
475
|
.ft-select:not(.ft-select--disabled) .ft-select--input-panel,
|
|
@@ -471,20 +478,20 @@ const H=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
|
|
|
471
478
|
}
|
|
472
479
|
|
|
473
480
|
ft-input-label {
|
|
474
|
-
${
|
|
475
|
-
${
|
|
476
|
-
${
|
|
477
|
-
${
|
|
478
|
-
${
|
|
481
|
+
${o.setVariable(yo.fontSize,Ho.selectedOptionSize)};
|
|
482
|
+
${o.setVariable(yo.raisedFontSize,Ho.labelSize)};
|
|
483
|
+
${o.setVariable(yo.verticalSpacing,Ho.verticalSpacing)};
|
|
484
|
+
${o.setVariable(yo.horizontalSpacing,Ho.horizontalSpacing)};
|
|
485
|
+
${o.setVariable(yo.labelMaxWidth,`calc(100% - ${ko} - 8px)`)};
|
|
479
486
|
}
|
|
480
487
|
|
|
481
488
|
.ft-select:not(.ft-select--disabled):focus-within ft-icon {
|
|
482
|
-
color: ${
|
|
489
|
+
color: ${Ho.colorPrimary};
|
|
483
490
|
}
|
|
484
491
|
|
|
485
492
|
.ft-select:not(.ft-select--disabled):focus-within ft-input-label {
|
|
486
|
-
${
|
|
487
|
-
${
|
|
493
|
+
${o.setVariable(yo.borderColor,Ho.colorPrimary)};
|
|
494
|
+
${o.setVariable(yo.textColor,Ho.colorPrimary)};
|
|
488
495
|
}
|
|
489
496
|
|
|
490
497
|
.ft-select--selected-option {
|
|
@@ -494,12 +501,12 @@ const H=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
|
|
|
494
501
|
overflow: hidden;
|
|
495
502
|
white-space: nowrap;
|
|
496
503
|
text-overflow: ellipsis;
|
|
497
|
-
${
|
|
498
|
-
${
|
|
504
|
+
${o.setVariable(Ut.fontSize,Ho.selectedOptionSize)};
|
|
505
|
+
${o.setVariable(Ut.lineHeight,Ho.selectedOptionSize)};
|
|
499
506
|
}
|
|
500
507
|
|
|
501
508
|
.ft-select--in-error .ft-select--selected-option {
|
|
502
|
-
color: ${
|
|
509
|
+
color: ${Ho.colorError};
|
|
503
510
|
}
|
|
504
511
|
|
|
505
512
|
ft-icon {
|
|
@@ -511,16 +518,16 @@ const H=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
|
|
|
511
518
|
}
|
|
512
519
|
|
|
513
520
|
.ft-select--filled .ft-select--input-panel {
|
|
514
|
-
border-radius: ${
|
|
521
|
+
border-radius: ${Ho.borderRadiusS} ${Ho.borderRadiusS} 0 0;
|
|
515
522
|
}
|
|
516
523
|
|
|
517
524
|
.ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
|
|
518
525
|
align-self: stretch;
|
|
519
|
-
padding-top: calc(${
|
|
526
|
+
padding-top: calc(${Ho.labelSize} + 2 * ${Ho.verticalSpacing});
|
|
520
527
|
}
|
|
521
528
|
|
|
522
529
|
.ft-select--outlined .ft-select--input-panel {
|
|
523
|
-
border-radius: ${
|
|
530
|
+
border-radius: ${Ho.borderRadiusS};
|
|
524
531
|
}
|
|
525
532
|
|
|
526
533
|
.ft-select--options {
|
|
@@ -529,10 +536,10 @@ const H=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
|
|
|
529
536
|
top: 100%;
|
|
530
537
|
left: 0;
|
|
531
538
|
right: 0;
|
|
532
|
-
color: ${
|
|
533
|
-
background: ${
|
|
534
|
-
z-index: ${
|
|
535
|
-
box-shadow: ${
|
|
539
|
+
color: ${Ho.optionsColor};
|
|
540
|
+
background: ${Ho.colorSurface};
|
|
541
|
+
z-index: ${Ho.optionsZIndex};
|
|
542
|
+
box-shadow: ${Ho.elevation02};
|
|
536
543
|
}
|
|
537
544
|
|
|
538
545
|
.ft-select--fixed .ft-select--options {
|
|
@@ -543,13 +550,13 @@ const H=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
|
|
|
543
550
|
|
|
544
551
|
.ft-select--options-displayed .ft-select--options {
|
|
545
552
|
display: block;
|
|
546
|
-
max-height: ${
|
|
553
|
+
max-height: ${Ho.optionsHeight};
|
|
547
554
|
overflow-y: auto;
|
|
548
555
|
}
|
|
549
556
|
|
|
550
557
|
.ft-select--option {
|
|
551
558
|
position: relative;
|
|
552
|
-
padding: 4px ${
|
|
559
|
+
padding: 4px ${Ho.horizontalSpacing};
|
|
553
560
|
min-height: 32px;
|
|
554
561
|
display: flex;
|
|
555
562
|
align-items: center;
|
|
@@ -561,34 +568,34 @@ const H=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
|
|
|
561
568
|
}
|
|
562
569
|
|
|
563
570
|
.ft-select--helper-text {
|
|
564
|
-
padding: 0 ${
|
|
565
|
-
color: ${
|
|
571
|
+
padding: 0 ${Ho.horizontalSpacing};
|
|
572
|
+
color: ${Ho.helperColor};
|
|
566
573
|
}
|
|
567
574
|
|
|
568
575
|
.ft-select--in-error .ft-select--helper-text {
|
|
569
|
-
color: ${
|
|
576
|
+
color: ${Ho.colorError};
|
|
570
577
|
}
|
|
571
|
-
`;var
|
|
572
|
-
<div class="${
|
|
578
|
+
`;var jo=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Mo extends o.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return e.html``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Mo.elementDefinitions={},jo([r.property({type:String})],Mo.prototype,"label",void 0),jo([r.property({type:Object,converter:t=>t})],Mo.prototype,"value",void 0),jo([r.property({type:Boolean,reflect:!0})],Mo.prototype,"selected",void 0);class Po extends o.FtLitElement{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,o,r,n,l;let p=this.hasOptionsMenuOpen,c=this.disabled||!this.hasOptions;const f=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(r=null===(o=this.selectedOption)||void 0===o?void 0:o.label)&&void 0!==r?r:"").length>0,s={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":c,"ft-select--options-displayed":p,"ft-select--has-option-selected":f,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return e.html`
|
|
579
|
+
<div class="${i.classMap(s)}" part="container">
|
|
573
580
|
<div class="ft-select--main-panel" part="main-panel">
|
|
574
581
|
<ft-input-label text="${this.label}"
|
|
575
582
|
part="label"
|
|
576
|
-
?disabled=${
|
|
583
|
+
?disabled=${c}
|
|
577
584
|
?outlined=${this.outlined}
|
|
578
585
|
?raised=${f||p}
|
|
579
586
|
?error=${this.error}
|
|
580
587
|
></ft-input-label>
|
|
581
588
|
<div class="ft-select--input-panel"
|
|
582
589
|
part="selected-value"
|
|
583
|
-
tabindex="${
|
|
590
|
+
tabindex="${c?"-1":"0"}"
|
|
584
591
|
@click=${()=>{this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=this.optionsDisplayed}}
|
|
585
592
|
@keydown=${this.onMainPanelKeyDown}
|
|
586
593
|
aria-label="${this.label}"
|
|
587
594
|
aria-haspopup="listbox"
|
|
588
595
|
aria-expanded="${p}">
|
|
589
|
-
<ft-ripple ?disabled=${
|
|
596
|
+
<ft-ripple ?disabled=${c} ?activated=${!this.outlined}></ft-ripple>
|
|
590
597
|
<ft-typography variant="body1" class="ft-select--selected-option">
|
|
591
|
-
${null!==(
|
|
598
|
+
${null!==(l=null===(n=this.selectedOption)||void 0===n?void 0:n.label)&&void 0!==l?l:""}
|
|
592
599
|
</ft-typography>
|
|
593
600
|
<ft-icon>${p?"thin_arrow_up":"thin_arrow"}</ft-icon>
|
|
594
601
|
</div>
|
|
@@ -596,24 +603,24 @@ const H=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
|
|
|
596
603
|
part="options"
|
|
597
604
|
@keydown=${this.onOptionsKeyDown}
|
|
598
605
|
innerrole="listbox">
|
|
599
|
-
${
|
|
606
|
+
${a.repeat(this.options,(t=>t.value),(t=>this.renderOption(t)))}
|
|
600
607
|
</div>
|
|
601
608
|
</div>
|
|
602
|
-
${this.helper?
|
|
609
|
+
${this.helper?e.html`
|
|
603
610
|
<ft-typography class="ft-select--helper-text" variant="caption">${this.helper}
|
|
604
611
|
</ft-typography>`:void 0}
|
|
605
612
|
</div>
|
|
606
613
|
<slot @slotchange=${this.updateOptionsFromSlot}
|
|
607
614
|
@option-change=${this.updateOptionsFromSlot}
|
|
608
615
|
></slot>
|
|
609
|
-
`}renderOption(t){let
|
|
610
|
-
<div class="${
|
|
616
|
+
`}renderOption(t){let o=this.selectedOption===t;const r={"ft-select--option":!0,"ft-select--option-selected":o,"ft-typography--body2":!0};return e.html`
|
|
617
|
+
<div class="${i.classMap(r)}"
|
|
611
618
|
part="option"
|
|
612
619
|
tabindex="0"
|
|
613
620
|
data-value="${t.value}"
|
|
614
|
-
@keydown=${
|
|
621
|
+
@keydown=${o=>this.onOptionKeyDown(o,t)}
|
|
615
622
|
@click=${()=>this.selectOption(t)}>
|
|
616
|
-
<ft-ripple ?primary=${
|
|
623
|
+
<ft-ripple ?primary=${o} ?activated=${o}></ft-ripple>
|
|
617
624
|
<span>${t.label}</span>
|
|
618
625
|
</div>
|
|
619
|
-
`}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e
|
|
626
|
+
`}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var o,e;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(e=null!==(o=this.selectedOptionElement)&&void 0!==o?o:this.firstOption)||void 0===e||e.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var o;t.stopPropagation();let e=null===(o=this.optionsSlot)||void 0===o?void 0:o.assignedElements().map((t=>t));e&&e.length>0&&(this.options=e)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var o,e,r,i,a;let n;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(o=this.mainPanel)||void 0===o||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),n=null!==(r=null===(e=this.focusedOption)||void 0===e?void 0:e.previousElementSibling)&&void 0!==r?r:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),n=null!==(a=null===(i=this.focusedOption)||void 0===i?void 0:i.nextElementSibling)&&void 0!==a?a:this.firstOption}null==n||n.focus()}onOptionKeyDown(t,o){var e;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(o),this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus())}selectOption(t){var e,r;if(!o.deepEqual(null===(e=this.selectedOption)||void 0===e?void 0:e.value,t.value)){this.selectedOption=t;for(let o of this.options)o.selected=o===t;this.dispatchEvent(new CustomEvent("change",{detail:null===(r=this.selectedOption)||void 0===r?void 0:r.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}Po.elementDefinitions={"ft-input-label":mo,"ft-typography":go,"ft-ripple":Eo,"ft-icon":Ao},Po.styles=[ao,no,Go],jo([r.property({type:String})],Po.prototype,"label",void 0),jo([r.property({type:String})],Po.prototype,"helper",void 0),jo([r.property({type:Boolean})],Po.prototype,"outlined",void 0),jo([r.property({type:Boolean})],Po.prototype,"disabled",void 0),jo([r.property({type:Boolean})],Po.prototype,"error",void 0),jo([r.property({type:Boolean})],Po.prototype,"fixedMenuPosition",void 0),jo([r.property({type:Array})],Po.prototype,"options",void 0),jo([r.state()],Po.prototype,"selectedOption",void 0),jo([r.state()],Po.prototype,"optionsDisplayed",void 0),jo([r.state()],Po.prototype,"focusOptions",void 0),jo([r.query(".ft-select")],Po.prototype,"container",void 0),jo([r.query(".ft-select--options")],Po.prototype,"optionsMenu",void 0),jo([r.query(".ft-select--input-panel")],Po.prototype,"mainPanel",void 0),jo([r.query(".ft-select--option:first-child")],Po.prototype,"firstOption",void 0),jo([r.query(".ft-select--option:focus")],Po.prototype,"focusedOption",void 0),jo([r.query(".ft-select--option.ft-select--option-selected")],Po.prototype,"selectedOptionElement",void 0),jo([r.query(".ft-select--option:last-child")],Po.prototype,"lastOption",void 0),jo([r.query("slot")],Po.prototype,"optionsSlot",void 0),o.customElement("ft-select")(Po),o.customElement("ft-select-option")(Mo),t.FtSelect=Po,t.FtSelectCssVariables=Ho,t.FtSelectOption=Mo,t.styles=Go}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litRepeat,ftGlobals.litUnsafeHTML);
|