@fluid-topics/ft-switch 1.0.63 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-switch.d.ts +1 -1
- package/build/ft-switch.light.js +135 -129
- package/build/ft-switch.min.js +249 -235
- package/package.json +8 -8
package/build/ft-switch.light.js
CHANGED
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
opacity: ${l.opacityContentOnSurfacePressed};
|
|
111
111
|
transform: translate(-50%, -50%) scale(1);
|
|
112
112
|
}
|
|
113
|
-
`;var y
|
|
113
|
+
`;var y=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class b extends o.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),a=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-a.x:a.width/2),this.originY=Math.round(null!=i?i-a.y:a.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
|
|
114
114
|
<style>
|
|
115
115
|
.ft-ripple .ft-ripple--effect {
|
|
116
116
|
left: ${this.originX}px;
|
|
@@ -121,108 +121,114 @@
|
|
|
121
121
|
<div class="ft-ripple--background"></div>
|
|
122
122
|
<div class="ft-ripple--effect"></div>
|
|
123
123
|
</div>
|
|
124
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}u.elementDefinitions={},u.styles=g,b([r.property({type:Boolean})],u.prototype,"primary",void 0),b([r.property({type:Boolean})],u.prototype,"secondary",void 0),b([r.property({type:Boolean})],u.prototype,"unbounded",void 0),b([r.property({type:Boolean})],u.prototype,"activated",void 0),b([r.property({type:Boolean})],u.prototype,"selected",void 0),b([r.property({type:Boolean})],u.prototype,"disabled",void 0),b([r.state()],u.prototype,"hovered",void 0),b([r.state()],u.prototype,"focused",void 0),b([r.state()],u.prototype,"pressed",void 0),b([r.state()],u.prototype,"rippling",void 0),b([r.state()],u.prototype,"originX",void 0),b([r.state()],u.prototype,"originY",void 0),b([r.query(".ft-ripple")],u.prototype,"ripple",void 0),b([r.query(".ft-ripple--effect")],u.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(u);const m=window,x=m.trustedTypes,O=x?x.createPolicy("lit-html",{createHTML:t=>t}):void 0,N="$lit$",v=`lit$${(Math.random()+"").slice(9)}$`,S="?"+v,w=`<${S}>`,C=document,I=()=>C.createComment(""),$=t=>null===t||"object"!=typeof t&&"function"!=typeof t,U=Array.isArray,R="[ \t\n\f\r]",W=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,E=/-->/g,k=/>/g,L=RegExp(`>|${R}(?:([^\\s"'>=/]+)(${R}*=${R}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),K=/'/g,Z=/"/g,z=/^(?:script|style|textarea|title)$/i,F=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),D=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),A=new WeakMap,H=C.createTreeWalker(C,129,null,!1),G=(t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=W;for(let o=0;o<e;o++){const e=t[o];let l,c,p=-1,s=0;for(;s<e.length&&(n.lastIndex=s,c=n.exec(e),null!==c);)s=n.lastIndex,n===W?"!--"===c[1]?n=E:void 0!==c[1]?n=k:void 0!==c[2]?(z.test(c[2])&&(i=RegExp("</"+c[2],"g")),n=L):void 0!==c[3]&&(n=L):n===L?">"===c[0]?(n=null!=i?i:W,p=-1):void 0===c[1]?p=-2:(p=n.lastIndex-c[2].length,l=c[1],n=void 0===c[3]?L:'"'===c[3]?Z:K):n===Z||n===K?n=L:n===E||n===k?n=W:(n=L,i=void 0);const f=n===L&&t[o+1].startsWith("/>")?" ":"";a+=n===W?e+w:p>=0?(r.push(l),e.slice(0,p)+N+e.slice(p)+v+f):e+v+(-2===p?(r.push(void 0),o):f)}const l=a+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==O?O.createHTML(l):l,r]};class j{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,a=0;const n=t.length-1,l=this.parts,[c,p]=G(t,o);if(this.el=j.createElement(c,e),H.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=H.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(N)||o.startsWith(v)){const e=p[a++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+N).split(v),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?Y:"?"===o[1]?q:"@"===o[1]?X:_})}else l.push({type:6,index:i})}for(const o of t)r.removeAttribute(o)}if(z.test(r.tagName)){const t=r.textContent.split(v),o=t.length-1;if(o>0){r.textContent=x?x.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],I()),H.nextNode(),l.push({type:2,index:++i});r.append(t[o],I())}}}else if(8===r.nodeType)if(r.data===S)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(v,t+1));)l.push({type:7,index:i}),t+=v.length-1}i++}}static createElement(t,o){const e=C.createElement("template");return e.innerHTML=t,e}}function M(t,o,e=t,r){var i,a,n,l;if(o===D)return o;let c=void 0!==r?null===(i=e._$Co)||void 0===i?void 0:i[r]:e._$Cl;const p=$(o)?void 0:o._$litDirective$;return(null==c?void 0:c.constructor)!==p&&(null===(a=null==c?void 0:c._$AO)||void 0===a||a.call(c,!1),void 0===p?c=void 0:(c=new p(t),c._$AT(t,e,r)),void 0!==r?(null!==(n=(l=e)._$Co)&&void 0!==n?n:l._$Co=[])[r]=c:e._$Cl=c),void 0!==c&&(o=M(t,c._$AS(t,o.values),c,r)),o}class P{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:e},parts:r}=this._$AD,i=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:C).importNode(e,!0);H.currentNode=i;let a=H.nextNode(),n=0,l=0,c=r[0];for(;void 0!==c;){if(n===c.index){let o;2===c.type?o=new T(a,a.nextSibling,this,t):1===c.type?o=new c.ctor(a,c.name,c.strings,this,t):6===c.type&&(o=new J(a,this,t)),this._$AV.push(o),c=r[++l]}n!==(null==c?void 0:c.index)&&(a=H.nextNode(),n++)}return i}v(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class T{constructor(t,o,e,r){var i;this.type=2,this._$AH=B,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=M(this,t,o),$(t)?t===B||null==t||""===t?(this._$AH!==B&&this._$AR(),this._$AH=B):t!==this._$AH&&t!==D&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>U(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!==B&&$(this._$AH)?this._$AA.nextSibling.data=t:this.$(C.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=j.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===i)this._$AH.v(e);else{const t=new P(i,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=A.get(t.strings);return void 0===o&&A.set(t.strings,o=new j(t)),o}T(t){U(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new T(this.k(I()),this.k(I()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class _{constructor(t,o,e,r,i){this.type=1,this._$AH=B,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=B}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=M(this,t,o,0),a=!$(t)||t!==this._$AH&&t!==D,a&&(this._$AH=t);else{const r=t;let n,l;for(t=i[0],n=0;n<i.length-1;n++)l=M(this,r[e+n],o,n),l===D&&(l=this._$AH[n]),a||(a=!$(l)||l!==this._$AH[n]),l===B?t=B:t!==B&&(t+=(null!=l?l:"")+i[n+1]),this._$AH[n]=l}a&&!r&&this.j(t)}j(t){t===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Y extends _{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===B?void 0:t}}const V=x?x.emptyScript:"";class q extends _{constructor(){super(...arguments),this.type=4}j(t){t&&t!==B?this.element.setAttribute(this.name,V):this.element.removeAttribute(this.name)}}class X extends _{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=M(this,t,o,0))&&void 0!==e?e:B)===D)return;const r=this._$AH,i=t===B&&r!==B||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,a=t!==B&&(r===B||i);i&&this.element.removeEventListener(this.name,this,r),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class J{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){M(this,t)}}const Q=m.litHtmlPolyfillSupport;null==Q||Q(j,T),(null!==(y=m.litHtmlVersions)&&void 0!==y?y:m.litHtmlVersions=[]).push("2.7.3");
|
|
124
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}b.elementDefinitions={},b.styles=g,y([r.property({type:Boolean})],b.prototype,"primary",void 0),y([r.property({type:Boolean})],b.prototype,"secondary",void 0),y([r.property({type:Boolean})],b.prototype,"unbounded",void 0),y([r.property({type:Boolean})],b.prototype,"activated",void 0),y([r.property({type:Boolean})],b.prototype,"selected",void 0),y([r.property({type:Boolean})],b.prototype,"disabled",void 0),y([r.state()],b.prototype,"hovered",void 0),y([r.state()],b.prototype,"focused",void 0),y([r.state()],b.prototype,"pressed",void 0),y([r.state()],b.prototype,"rippling",void 0),y([r.state()],b.prototype,"originX",void 0),y([r.state()],b.prototype,"originY",void 0),y([r.query(".ft-ripple")],b.prototype,"ripple",void 0),y([r.query(".ft-ripple--effect")],b.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(b);
|
|
125
|
+
/**
|
|
126
|
+
* @license
|
|
127
|
+
* Copyright 2017 Google LLC
|
|
128
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
129
|
+
*/
|
|
130
|
+
const u=globalThis,m=u.trustedTypes,x=m?m.createPolicy("lit-html",{createHTML:t=>t}):void 0,O="$lit$",N=`lit$${(Math.random()+"").slice(9)}$`,v="?"+N,S=`<${v}>`,w=document,C=()=>w.createComment(""),I=t=>null===t||"object"!=typeof t&&"function"!=typeof t,$=Array.isArray,U="[ \t\n\f\r]",R=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,W=/-->/g,E=/>/g,k=RegExp(`>|${U}(?:([^\\s"'>=/]+)(${U}*=${U}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),L=/'/g,K=/"/g,Z=/^(?:script|style|textarea|title)$/i,z=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),F=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),B=new WeakMap,A=w.createTreeWalker(w,129);function H(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==x?x.createHTML(o):o}const G=(t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=R;for(let o=0;o<e;o++){const e=t[o];let l,c,p=-1,s=0;for(;s<e.length&&(n.lastIndex=s,c=n.exec(e),null!==c);)s=n.lastIndex,n===R?"!--"===c[1]?n=W:void 0!==c[1]?n=E:void 0!==c[2]?(Z.test(c[2])&&(i=RegExp("</"+c[2],"g")),n=k):void 0!==c[3]&&(n=k):n===k?">"===c[0]?(n=i??R,p=-1):void 0===c[1]?p=-2:(p=n.lastIndex-c[2].length,l=c[1],n=void 0===c[3]?k:'"'===c[3]?K:L):n===K||n===L?n=k:n===W||n===E?n=R:(n=k,i=void 0);const f=n===k&&t[o+1].startsWith("/>")?" ":"";a+=n===R?e+S:p>=0?(r.push(l),e.slice(0,p)+O+e.slice(p)+N+f):e+N+(-2===p?o:f)}return[H(t,a+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class j{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,a=0;const n=t.length-1,l=this.parts,[c,p]=G(t,o);if(this.el=j.createElement(c,e),A.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=A.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(O)){const o=p[a++],e=r.getAttribute(t).split(N),n=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:n[2],strings:e,ctor:"."===n[1]?Y:"?"===n[1]?V:"@"===n[1]?q:_}),r.removeAttribute(t)}else t.startsWith(N)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(Z.test(r.tagName)){const t=r.textContent.split(N),o=t.length-1;if(o>0){r.textContent=m?m.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],C()),A.nextNode(),l.push({type:2,index:++i});r.append(t[o],C())}}}else if(8===r.nodeType)if(r.data===v)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(N,t+1));)l.push({type:7,index:i}),t+=N.length-1}i++}}static createElement(t,o){const e=w.createElement("template");return e.innerHTML=t,e}}function M(t,o,e=t,r){if(o===F)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const a=I(o)?void 0:o._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),void 0===a?i=void 0:(i=new a(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=M(t,i._$AS(t,o.values),i,r)),o}class P{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??w).importNode(o,!0);A.currentNode=r;let i=A.nextNode(),a=0,n=0,l=e[0];for(;void 0!==l;){if(a===l.index){let o;2===l.type?o=new T(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new X(i,this,t)),this._$AV.push(o),l=e[++n]}a!==l?.index&&(i=A.nextNode(),a++)}return A.currentNode=w,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class T{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=D,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=M(this,t,o),I(t)?t===D||null==t||""===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==F&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>$(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==D&&I(this._$AH)?this._$AA.nextSibling.data=t:this.$(w.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=j.createElement(H(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new P(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=B.get(t.strings);return void 0===o&&B.set(t.strings,o=new j(t)),o}T(t){$(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new T(this.k(C()),this.k(C()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class _{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=D,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=D}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=M(this,t,o,0),a=!I(t)||t!==this._$AH&&t!==F,a&&(this._$AH=t);else{const r=t;let n,l;for(t=i[0],n=0;n<i.length-1;n++)l=M(this,r[e+n],o,n),l===F&&(l=this._$AH[n]),a||=!I(l)||l!==this._$AH[n],l===D?t=D:t!==D&&(t+=(l??"")+i[n+1]),this._$AH[n]=l}a&&!r&&this.O(t)}O(t){t===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Y extends _{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===D?void 0:t}}class V extends _{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==D)}}class q extends _{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=M(this,t,o,0)??D)===F)return;const e=this._$AH,r=t===D&&e!==D||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==D&&(e===D||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class X{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){M(this,t)}}const J=u.litHtmlPolyfillSupport;J?.(j,T),(u.litHtmlVersions??=[]).push("3.1.0");
|
|
125
131
|
/**
|
|
126
132
|
* @license
|
|
127
133
|
* Copyright 2020 Google LLC
|
|
128
134
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
129
135
|
*/
|
|
130
|
-
const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void 0:t._$litStatic$},et=t=>({_$litStatic$:t,r:tt}),rt=new Map,it=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],l=[];let c,p=0,s=!1;for(;p<r;){for(c=o[p];p<r&&void 0!==(a=e[p],i=ot(a));)c+=i+o[++p],s=!0;p!==r&&l.push(a),n.push(c),p++}if(p===r&&n.push(o[r]),s){const t=n.join("$$lit$$");void 0===(o=rt.get(t))&&(n.raw=n,rt.set(t,o=n)),e=l}return t(o,...e)})(F);var at;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(at||(at={}));const nt=t=>"string"==typeof t?e.unsafeCSS(t):t;class lt{static create(t,o,r,i){const a=t=>nt(null!=t?t:i),n=e.css`var(${nt(t)}, ${a(i)})`;return n.name=t,n.description=t,n.category=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${nt(t)}, ${a(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,r,i){const a=t=>r.get(null!=t?t:i),n=e.css`var(${nt(t)}, ${a(i)})`;return n.name=t,n.description=o,n.category=r.category,n.fallbackVariable=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${nt(t)}, ${a(o)})`,n.breadcrumb=()=>[r.name,...r.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),n}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):nt(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${nt(t.name)}, ${r(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=r,i.get=o=>e.css`var(${nt(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const ct={colorWhite:lt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:lt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:lt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:lt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:lt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:lt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:lt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:lt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:lt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:lt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:lt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:lt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:lt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:lt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:lt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:lt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:lt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:lt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:lt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:lt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:lt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:lt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:lt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:lt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:lt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:lt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:lt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:lt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:lt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:lt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:lt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:lt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:lt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:lt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:lt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:lt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:lt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:lt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:lt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:lt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:lt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:lt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:lt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:lt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:lt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:lt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:lt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:lt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:lt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:lt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:lt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:lt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:lt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:lt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:lt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:lt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:lt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:lt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:lt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:lt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:lt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:lt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:lt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:lt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:lt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:lt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:lt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:lt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:lt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:lt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:lt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:lt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:lt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:lt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:lt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:lt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:lt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:lt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:lt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:lt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:lt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:lt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:lt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:lt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:lt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:lt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:lt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:lt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:lt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:lt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:lt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:lt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:lt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:lt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:lt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:lt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:lt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:lt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:lt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:lt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:lt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:lt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:lt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:lt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:lt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:lt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:lt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:lt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:lt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:lt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:lt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:lt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:lt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:lt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:lt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:lt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:lt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:lt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:lt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:lt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:lt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:lt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:lt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:lt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:lt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:lt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:lt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:lt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:lt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:lt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:lt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:lt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:lt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:lt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:lt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:lt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:lt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:lt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:lt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:lt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:lt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:lt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:lt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:lt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:lt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:lt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:lt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:lt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:lt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:lt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:lt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:lt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:lt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:lt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:lt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:lt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:lt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:lt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:lt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:lt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:lt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:lt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:lt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:lt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:lt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:lt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:lt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:lt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:lt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:lt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:lt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:lt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:lt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:lt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:lt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:lt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:lt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:lt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:lt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:lt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:lt.create("--ft-opacity-0","","NUMBER","0"),opacity8:lt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:lt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:lt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:lt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:lt.create("--ft-opacity-80","","NUMBER","0.8")},pt={display:{fontFamily:lt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:lt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:lt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:lt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:lt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:lt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:lt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:lt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:lt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:lt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:lt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:lt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:lt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:lt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:lt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:lt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:lt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:lt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:lt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:lt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:lt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:lt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:lt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:lt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:lt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:lt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:lt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:lt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:lt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:lt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:lt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:lt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:lt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:lt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:lt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:lt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:lt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:lt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},st={backgroundActionPrimary:lt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ct.colorBrand0),backgroundErrorPrimary:lt.extend("--ft-background-error-primary","Used as background of error components.",ct.colorRed0),backgroundErrorSubtle:lt.extend("--ft-background-error-subtle","Used as background of subtle error components.",ct.colorRed10),backgroundInfoPrimary:lt.extend("--ft-background-info-primary","Used as background of information components.",ct.colorCyan200),backgroundInfoSubtle:lt.extend("--ft-background-info-subtle","Used as background of subtle information components.",ct.colorCyan10),backgroundWarningPrimary:lt.extend("--ft-background-warning-primary","Used as background of warning components.",ct.colorOrange300),backgroundWarningSubtle:lt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ct.colorOrange10),backgroundSuccessPrimary:lt.extend("--ft-background-success-primary","Used as background of success components.",ct.colorGreen200),backgroundSuccessSubtle:lt.extend("--ft-background-success-subtle","Used as background of subtle success components.",ct.colorGreen10),backgroundGlobalSurface:lt.extend("--ft-background-global-surface","Used as app background.",ct.colorWhite),backgroundGlobalOnSurface:lt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ct.colorGray10),backgroundGlobalOnSurfaceDark:lt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ct.colorGray30),contentActionPrimary:lt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ct.colorBrand0),contentWarningPrimary:lt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ct.colorOrange300),contentWarningIconOnly:lt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ct.colorOrange0),contentErrorPrimary:lt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ct.colorRed0),contentErrorIconOnly:lt.extend("--ft-content-error-icon-only","Used on error status icons alone",ct.colorRed0),contentInfoPrimary:lt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ct.colorCyan200),contentInfoIconOnly:lt.extend("--ft-content-info-icon-only","Used on info status icons alone",ct.colorCyan0),contentSuccessIconOnly:lt.extend("--ft-content-success-icon-only","Used on success status icons alone",ct.colorGreen0),contentSuccessPrimary:lt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ct.colorGreen200),contentGlobalPrimary:lt.extend("--ft-content-global-primary","Used for main content on the page.",ct.colorGray500),contentGlobalSecondary:lt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ct.colorGray200),contentGlobalSubtle:lt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ct.colorGray0),contentGlobalOnColor:lt.extend("--ft-content-global-on-color","Used for content on a dominant color.",ct.colorWhite),borderActionPrimary:lt.extend("--ft-border-action-primary","Used as border for primary action components.",ct.colorBrand0),borderActionFocusRing:lt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ct.colorCyan0),borderWarningPrimary:lt.extend("--ft-border-warning-primary","Used as border for warning components.",ct.colorOrange30),borderSuccessPrimary:lt.extend("--ft-border-success-primary","Used as border for success components.",ct.colorGreen30),borderErrorPrimary:lt.extend("--ft-border-error-primary","Used as border for error components.",ct.colorRed30),borderInfoPrimary:lt.extend("--ft-border-info-primary","Used as border for information components.",ct.colorCyan30),borderGlobalSubtle:lt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ct.colorGray30),borderGlobalPrimary:lt.extend("--ft-border-global-primary","Used as border for element like input.",ct.colorGray50),borderInputPrimary:lt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ct.colorGray80)};lt.create("--ft-button-large-height","","SIZE","40px"),lt.extend("--ft-button-large-horizontal-padding","",ct.spacing4),lt.extend("--ft-button-large-gap","",ct.spacing2),lt.extend("--ft-button-large-border-radius","",ct.borderRadiusS),lt.extend("--ft-button-large-icon-size","",ct.iconSize3),lt.create("--ft-button-large-border-width","","SIZE","1px"),lt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),lt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),lt.create("--ft-button-large-icon-only-width","","SIZE","40px"),lt.create("--ft-button-small-height","","SIZE","30px"),lt.extend("--ft-button-small-horizontal-padding","",ct.spacing3),lt.extend("--ft-button-small-gap","",ct.spacing2),lt.extend("--ft-button-small-border-radius","",ct.borderRadiusS),lt.extend("--ft-button-small-icon-size","",ct.iconSize2),lt.create("--ft-button-small-border-width","","SIZE","1px"),lt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),lt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),lt.create("--ft-button-small-icon-only-width","","SIZE","30px"),lt.extend("--ft-button-primary-background-color","",st.backgroundActionPrimary),lt.extend("--ft-button-primary-color","",st.contentGlobalOnColor),lt.extend("--ft-button-primary-icon-color","",st.contentGlobalOnColor),lt.extend("--ft-button-primary-state-layer-color","",st.contentGlobalOnColor),lt.extend("--ft-button-primary-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-button-primary-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-button-primary-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-button-primary-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-button-focus-focus-ring-color","",st.borderActionFocusRing),lt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),lt.extend("--ft-button-tertiary-color","",st.contentActionPrimary),lt.extend("--ft-button-tertiary-icon-color","",st.contentActionPrimary),lt.extend("--ft-button-tertiary-state-layer-color","",st.contentActionPrimary),lt.extend("--ft-button-tertiary-state-layer-opacity-hover","",ct.opacity8),lt.extend("--ft-button-tertiary-state-layer-opacity-focus","",ct.opacity8),lt.extend("--ft-button-tertiary-state-layer-opacity-active","",ct.opacity16),lt.extend("--ft-button-tertiary-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-button-secondary-background-color","",ct.colorWhite),lt.extend("--ft-button-secondary-color","",st.contentActionPrimary),lt.extend("--ft-button-secondary-icon-color","",st.contentActionPrimary),lt.extend("--ft-button-secondary-state-layer-color","",st.contentActionPrimary),lt.extend("--ft-button-secondary-state-layer-opacity-hover","",ct.opacity8),lt.extend("--ft-button-secondary-state-layer-opacity-focus","",ct.opacity8),lt.extend("--ft-button-secondary-state-layer-opacity-active","",ct.opacity16),lt.extend("--ft-button-secondary-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-button-secondary-border-color","",st.borderActionPrimary),lt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),lt.extend("--ft-button-neutral-icon-color","",st.contentGlobalSecondary),lt.extend("--ft-button-neutral-color","",st.contentGlobalSecondary),lt.extend("--ft-button-neutral-state-layer-color","",st.contentGlobalSecondary),lt.extend("--ft-button-neutral-state-layer-opacity-hover","",ct.opacity8),lt.extend("--ft-button-neutral-state-layer-opacity-focus","",ct.opacity8),lt.extend("--ft-button-neutral-state-layer-opacity-active","",ct.opacity16),lt.extend("--ft-button-neutral-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-tabs-top-left-border-radius","",ct.borderRadiusS),lt.extend("--ft-tabs-top-right-border-radius","",ct.borderRadiusS),lt.extend("--ft-tabs-label-horizontal-padding","",ct.spacing4),lt.extend("--ft-tabs-label-vertical-padding","",ct.spacing3),lt.extend("--ft-tabs-label-gap","",ct.spacing1),lt.extend("--ft-switch-group-horizontal-padding","",ct.spacing1),lt.extend("--ft-switch-group-vertical-padding","",ct.spacing1),lt.extend("--ft-switch-group-gap","",ct.spacing1),lt.extend("--ft-switch-group-background-color","",st.backgroundGlobalSurface),lt.extend("--ft-switch-group-border-color","",st.borderGlobalSubtle),lt.create("--ft-switch-group-border-radius","","SIZE","6px"),lt.extend("--ft-switch-label-horizontal-padding","",ct.spacing2),lt.extend("--ft-switch-label-vertical-padding","",ct.spacing1),lt.extend("--ft-switch-icon-horizontal-padding","",ct.spacing1),lt.extend("--ft-switch-icon-vertical-padding","",ct.spacing1),lt.create("--ft-switch-focus-outline-width","","SIZE","2px"),lt.extend("--ft-switch-focus-focus-ring-color","",st.borderActionFocusRing),lt.extend("--ft-switch-option-border-radius","",ct.borderRadiusS),lt.extend("--ft-switch-off-state-layer-opacity-hover","",ct.opacity8),lt.extend("--ft-switch-off-state-layer-opacity-focus","",ct.opacity8),lt.extend("--ft-switch-off-state-layer-opacity-active","",ct.opacity16),lt.extend("--ft-switch-off-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-switch-off-color","",st.contentGlobalSubtle),lt.extend("--ft-switch-off-state-layer-color","",st.contentGlobalSubtle),lt.extend("--ft-chart-1-light","for area color charts",ct.colorBrand40),lt.extend("--ft-chart-1-base","for line charts",ct.colorBrand0),lt.extend("--ft-chart-2-light","for area color charts",ct.colorYellow60),lt.extend("--ft-chart-2-base","for line charts",ct.colorYellow100),lt.extend("--ft-chart-3-light","",ct.colorUltramarine40),lt.extend("--ft-chart-3-base","",ct.colorUltramarine70),lt.extend("--ft-chart-4-light","",ct.colorCyan50),lt.extend("--ft-chart-4-base","",ct.colorCyan100),lt.extend("--ft-chart-5-light","",ct.colorRed40),lt.extend("--ft-chart-5-base","",ct.colorRed60),lt.extend("--ft-chart-6-light","",ct.colorGreen40),lt.extend("--ft-chart-6-base","",ct.colorGreen70),lt.extend("--ft-chart-7-light","",ct.colorOrange70),lt.extend("--ft-chart-7-base","",ct.colorOrange100),lt.extend("--ft-chart-8-light","",ct.colorAvocado70),lt.extend("--ft-chart-8-base","",ct.colorAvocado200),lt.extend("--ft-chart-9-light","",ct.colorBrown50),lt.extend("--ft-chart-9-base","",ct.colorBrown200),lt.extend("--ft-chart-10-light","",ct.colorGray50),lt.extend("--ft-chart-10-base","",ct.colorGray80),lt.extend("--ft-chart-monochrome-10","",ct.colorBrand10),lt.extend("--ft-chart-monochrome-20","",ct.colorBrand20),lt.extend("--ft-chart-monochrome-30","",ct.colorBrand40),lt.extend("--ft-chart-monochrome-40","",ct.colorBrand60),lt.extend("--ft-chart-monochrome-50","",ct.colorBrand0),lt.extend("--ft-chart-monochrome-60","",ct.colorBrand200),lt.extend("--ft-chip-large-horizontal-padding","",ct.spacing4),lt.extend("--ft-chip-large-vertical-padding","",ct.spacing2),lt.extend("--ft-chip-large-gap","",ct.spacing1),lt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),lt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),lt.extend("--ft-chip-large-border-radius","",ct.borderRadiusPill),lt.create("--ft-chip-large-border-width","","SIZE","1px"),lt.extend("--ft-chip-large-icon-size","",ct.iconSize3),lt.extend("--ft-chip-medium-horizontal-padding","",ct.spacing3),lt.extend("--ft-chip-medium-vertical-padding","",ct.spacing1),lt.extend("--ft-chip-medium-gap","",ct.spacing1),lt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),lt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),lt.extend("--ft-chip-medium-border-radius","",ct.borderRadiusPill),lt.create("--ft-chip-medium-border-width","","SIZE","1px"),lt.extend("--ft-chip-medium-icon-size","",ct.iconSize2),lt.extend("--ft-chip-small-horizontal-padding","",ct.spacing2),lt.extend("--ft-chip-small-vertical-padding","",ct.spacing05),lt.extend("--ft-chip-small-gap","",ct.spacing1),lt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),lt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),lt.extend("--ft-chip-small-border-radius","",ct.borderRadiusPill),lt.create("--ft-chip-small-border-width","","SIZE","1px"),lt.extend("--ft-chip-small-icon-size","",ct.iconSize1),lt.extend("--ft-chip-neutral-background-color","",st.backgroundGlobalOnSurface),lt.extend("--ft-chip-neutral-color","",st.contentGlobalPrimary),lt.extend("--ft-chip-neutral-border-color","",st.borderGlobalSubtle),lt.extend("--ft-chip-info-background-color","",st.backgroundInfoSubtle),lt.extend("--ft-chip-info-color","",st.contentInfoPrimary),lt.extend("--ft-chip-info-border-color","",st.borderInfoPrimary),lt.extend("--ft-chip-success-background-color","",st.backgroundSuccessSubtle),lt.extend("--ft-chip-success-color","",st.contentSuccessPrimary),lt.extend("--ft-chip-success-border-color","",st.borderSuccessPrimary),lt.extend("--ft-chip-warning-background-color","",st.backgroundWarningSubtle),lt.extend("--ft-chip-warning-color","",st.contentWarningPrimary),lt.extend("--ft-chip-warning-border-color","",st.borderWarningPrimary),lt.extend("--ft-chip-error-background-color","",st.backgroundErrorSubtle),lt.extend("--ft-chip-error-color","",st.contentErrorPrimary),lt.extend("--ft-chip-error-border-color","",st.borderErrorPrimary),lt.create("--ft-notice-border-width","","SIZE","1px"),lt.extend("--ft-notice-horizontal-padding","",ct.spacing2),lt.extend("--ft-notice-vertical-padding","",ct.spacing1),lt.extend("--ft-notice-border-radius","",ct.borderRadiusS),lt.extend("--ft-notice-gap","",ct.spacing2),lt.extend("--ft-notice-icon-size","",ct.iconSize3),lt.extend("--ft-notice-info-background-color","",st.backgroundInfoSubtle),lt.extend("--ft-notice-info-border-color","",st.borderInfoPrimary),lt.extend("--ft-notice-info-color","",st.contentInfoPrimary),lt.extend("--ft-notice-warning-background-color","",st.backgroundWarningSubtle),lt.extend("--ft-notice-warning-border-color","",st.borderWarningPrimary),lt.extend("--ft-notice-warning-color","",st.contentWarningPrimary),lt.extend("--ft-checkbox-label-color","",st.contentGlobalPrimary),lt.extend("--ft-checkbox-checked-background-color","",st.contentActionPrimary),lt.extend("--ft-checkbox-checked-state-layer-color","",st.contentActionPrimary),lt.extend("--ft-checkbox-checked-color","",st.contentGlobalOnColor),lt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-checkbox-checked-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-checkbox-checked-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-checkbox-unchecked-border-color","",ct.colorGray80),lt.extend("--ft-checkbox-unchecked-state-layer-color","",ct.colorGray80),lt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-checkbox-focus-focus-ring-color","",st.borderActionFocusRing),lt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),lt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),lt.extend("--ft-checkbox-gap","",ct.spacing3),lt.extend("--ft-toggle-off-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-toggle-off-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-toggle-off-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-toggle-off-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-toggle-off-background-color","",st.contentGlobalSubtle),lt.extend("--ft-toggle-off-icon-color","",st.contentGlobalSubtle),lt.extend("--ft-toggle-off-state-layer-color","",st.contentGlobalSubtle),lt.extend("--ft-toggle-on-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-toggle-on-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-toggle-on-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-toggle-on-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-toggle-on-background-color","",st.contentActionPrimary),lt.extend("--ft-toggle-on-icon-color","",st.contentActionPrimary),lt.extend("--ft-toggle-on-state-layer-color","",st.contentActionPrimary),lt.extend("--ft-toggle-label-color","",st.contentGlobalPrimary),lt.extend("--ft-toggle-focus-focus-ring-color","",st.borderActionFocusRing),lt.extend("--ft-toggle-gap","",ct.spacing3),lt.extend("--ft-radio-label-color","",st.contentGlobalPrimary),lt.extend("--ft-radio-selected-color","",st.contentActionPrimary),lt.extend("--ft-radio-selected-state-layer-color","",st.contentActionPrimary),lt.extend("--ft-radio-selected-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-radio-selected-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-radio-selected-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-radio-selected-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-radio-unselected-state-layer-color","",ct.colorGray80),lt.extend("--ft-radio-unselected-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-radio-unselected-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-radio-unselected-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-radio-unselected-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-radio-focus-focus-ring-color","",st.borderActionFocusRing),lt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),lt.create("--ft-radio-focus-outline-width","","SIZE","2px"),lt.extend("--ft-radio-gap","",ct.spacing3),lt.extend("--ft-notification-icon-size","",ct.iconSize4),lt.extend("--ft-notification-horizontal-padding","",ct.spacing4),lt.extend("--ft-notification-vertical-padding","",ct.spacing4),lt.extend("--ft-notification-info-background-color","",st.backgroundInfoSubtle),lt.extend("--ft-notification-info-color","",st.contentInfoPrimary),lt.extend("--ft-notification-info-border-color","",st.borderInfoPrimary),lt.extend("--ft-notification-success-background-color","",st.backgroundSuccessSubtle),lt.extend("--ft-notification-success-color","",st.contentSuccessPrimary),lt.extend("--ft-notification-success-border-color","",st.borderSuccessPrimary),lt.extend("--ft-notification-warning-background-color","",st.backgroundWarningSubtle),lt.extend("--ft-notification-warning-color","",st.contentWarningPrimary),lt.extend("--ft-notification-warning-border-color","",st.borderWarningPrimary),lt.extend("--ft-notification-error-background-color","",st.backgroundErrorSubtle),lt.extend("--ft-notification-error-color","",st.contentErrorPrimary),lt.extend("--ft-notification-error-border-color","",st.borderErrorPrimary),lt.extend("--ft-notification-border-radius","",ct.borderRadiusPill),lt.create("--ft-notification-border-width","","SIZE","1px"),lt.extend("--ft-notification-gap-leading","",ct.spacing2),lt.extend("--ft-notification-gap-trailing","",ct.spacing8);const ft=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),ht=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),dt={fontFamily:ht,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},gt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ft),yt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",dt.fontSize,"20px"),bt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",dt.fontWeight,"normal"),ut=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",dt.letterSpacing,"0.15px"),mt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",dt.lineHeight,"1.2"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",dt.textTransform,"inherit"),Ot=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ft),Nt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",dt.fontSize,"14px"),vt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",dt.fontWeight,"normal"),St=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",dt.letterSpacing,"0.105px"),wt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",dt.lineHeight,"1.7"),Ct=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",dt.textTransform,"inherit"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ht),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",dt.fontSize,"16px"),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",dt.fontWeight,"600"),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",dt.letterSpacing,"0.144px"),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",dt.lineHeight,"1.5"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",dt.textTransform,"inherit"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ht),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",dt.fontSize,"14px"),Kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",dt.fontWeight,"normal"),Zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",dt.letterSpacing,"0.098px"),zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",dt.lineHeight,"1.7"),Ft=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",dt.textTransform,"inherit"),Dt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ht),Bt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",dt.fontSize,"16px"),At=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",dt.fontWeight,"normal"),Ht=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",dt.letterSpacing,"0.496px"),Gt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",dt.lineHeight,"1.5"),jt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",dt.textTransform,"inherit"),Mt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ht),Pt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",dt.fontSize,"14px"),Tt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",dt.fontWeight,"normal"),_t=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",dt.letterSpacing,"0.252px"),Yt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",dt.lineHeight,"1.4"),Vt=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",dt.textTransform,"inherit"),qt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ht),Xt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",dt.fontSize,"12px"),Jt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",dt.fontWeight,"normal"),Qt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",dt.letterSpacing,"0.396px"),to=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",dt.lineHeight,"1.33"),oo=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",dt.textTransform,"inherit"),eo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ht),ro=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",dt.fontSize,"10px"),io=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",dt.fontWeight,"normal"),ao=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",dt.letterSpacing,"0.33px"),no=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",dt.lineHeight,"1.6"),lo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",dt.textTransform,"inherit"),co=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ht),po=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",dt.fontSize,"10px"),so=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",dt.fontWeight,"normal"),fo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",dt.letterSpacing,"1.5px"),ho=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",dt.lineHeight,"1.6"),go=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",dt.textTransform,"uppercase"),yo={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ht),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",dt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",dt.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",dt.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",dt.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",dt.textTransform,"uppercase")},bo=e.css`
|
|
136
|
+
const Q=Symbol.for(""),tt=t=>{if(t?.r===Q)return t?._$litStatic$},ot=t=>({_$litStatic$:t,r:Q}),et=new Map,rt=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],l=[];let c,p=0,s=!1;for(;p<r;){for(c=o[p];p<r&&void 0!==(a=e[p],i=tt(a));)c+=i+o[++p],s=!0;p!==r&&l.push(a),n.push(c),p++}if(p===r&&n.push(o[r]),s){const t=n.join("$$lit$$");void 0===(o=et.get(t))&&(n.raw=n,et.set(t,o=n)),e=l}return t(o,...e)})(z);var it;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(it||(it={}));const at=t=>"string"==typeof t?e.unsafeCSS(t):t;class nt{static create(t,o,r,i){const a=t=>at(null!=t?t:i),n=e.css`var(${at(t)}, ${a(i)})`;return n.name=t,n.description=o,n.category=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${at(t)}, ${a(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,r,i){const a=t=>r.get(null!=t?t:i),n=e.css`var(${at(t)}, ${a(i)})`;return n.name=t,n.description=o,n.category=r.category,n.fallbackVariable=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${at(t)}, ${a(o)})`,n.breadcrumb=()=>[r.name,...r.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),n}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):at(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${at(t.name)}, ${r(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=r,i.get=o=>e.css`var(${at(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const lt={colorWhite:nt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:nt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:nt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:nt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:nt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:nt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:nt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:nt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:nt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:nt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:nt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:nt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:nt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:nt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:nt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:nt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:nt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:nt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:nt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:nt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:nt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:nt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:nt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:nt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:nt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:nt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:nt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:nt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:nt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:nt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:nt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:nt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:nt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:nt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:nt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:nt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:nt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:nt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:nt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:nt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:nt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:nt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:nt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:nt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:nt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:nt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:nt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:nt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:nt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:nt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:nt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:nt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:nt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:nt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:nt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:nt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:nt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:nt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:nt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:nt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:nt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:nt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:nt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:nt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:nt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:nt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:nt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:nt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:nt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:nt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:nt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:nt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:nt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:nt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:nt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:nt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:nt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:nt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:nt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:nt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:nt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:nt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:nt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:nt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:nt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:nt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:nt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:nt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:nt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:nt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:nt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:nt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:nt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:nt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:nt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:nt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:nt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:nt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:nt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:nt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:nt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:nt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:nt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:nt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:nt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:nt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:nt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:nt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:nt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:nt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:nt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:nt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:nt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:nt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:nt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:nt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:nt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:nt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:nt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:nt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:nt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:nt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:nt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:nt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:nt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:nt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:nt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:nt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:nt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:nt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:nt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:nt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:nt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:nt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:nt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:nt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:nt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:nt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:nt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:nt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:nt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:nt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:nt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:nt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:nt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:nt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:nt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:nt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:nt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:nt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:nt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:nt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:nt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:nt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:nt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:nt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:nt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:nt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:nt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:nt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:nt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:nt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:nt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:nt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:nt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:nt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:nt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:nt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:nt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:nt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:nt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:nt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:nt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:nt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:nt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:nt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:nt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:nt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:nt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:nt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:nt.create("--ft-opacity-0","","NUMBER","0"),opacity8:nt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:nt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:nt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:nt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:nt.create("--ft-opacity-80","","NUMBER","0.8")},ct={display:{fontFamily:nt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:nt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:nt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:nt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:nt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:nt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:nt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:nt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:nt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:nt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:nt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:nt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:nt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:nt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:nt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:nt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:nt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:nt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:nt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:nt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:nt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:nt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:nt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:nt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:nt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:nt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:nt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:nt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:nt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:nt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:nt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:nt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:nt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:nt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:nt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:nt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:nt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:nt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:nt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:nt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:nt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:nt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:nt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:nt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:nt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:nt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},pt={backgroundActionPrimary:nt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",lt.colorBrand0),backgroundErrorPrimary:nt.extend("--ft-background-error-primary","Used as background of error components.",lt.colorRed0),backgroundErrorSubtle:nt.extend("--ft-background-error-subtle","Used as background of subtle error components.",lt.colorRed10),backgroundInfoPrimary:nt.extend("--ft-background-info-primary","Used as background of information components.",lt.colorCyan200),backgroundInfoSubtle:nt.extend("--ft-background-info-subtle","Used as background of subtle information components.",lt.colorCyan10),backgroundWarningPrimary:nt.extend("--ft-background-warning-primary","Used as background of warning components.",lt.colorOrange300),backgroundWarningSubtle:nt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",lt.colorOrange10),backgroundSuccessPrimary:nt.extend("--ft-background-success-primary","Used as background of success components.",lt.colorGreen200),backgroundSuccessSubtle:nt.extend("--ft-background-success-subtle","Used as background of subtle success components.",lt.colorGreen10),backgroundGlobalSurface:nt.extend("--ft-background-global-surface","Used as app background.",lt.colorWhite),backgroundGlobalOnSurface:nt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",lt.colorGray10),backgroundGlobalOnSurfaceDark:nt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",lt.colorGray30),contentActionPrimary:nt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",lt.colorBrand0),contentWarningPrimary:nt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",lt.colorOrange300),contentWarningIconOnly:nt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",lt.colorOrange0),contentErrorPrimary:nt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",lt.colorRed0),contentErrorIconOnly:nt.extend("--ft-content-error-icon-only","Used on error status icons alone",lt.colorRed0),contentInfoPrimary:nt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",lt.colorCyan200),contentInfoIconOnly:nt.extend("--ft-content-info-icon-only","Used on info status icons alone",lt.colorCyan0),contentSuccessIconOnly:nt.extend("--ft-content-success-icon-only","Used on success status icons alone",lt.colorGreen0),contentSuccessPrimary:nt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",lt.colorGreen200),contentGlobalPrimary:nt.extend("--ft-content-global-primary","Used for main content on the page.",lt.colorGray500),contentGlobalSecondary:nt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",lt.colorGray200),contentGlobalSubtle:nt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",lt.colorGray0),contentGlobalOnColor:nt.extend("--ft-content-global-on-color","Used for content on a dominant color.",lt.colorWhite),borderActionPrimary:nt.extend("--ft-border-action-primary","Used as border for primary action components.",lt.colorBrand0),borderActionFocusRing:nt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",lt.colorCyan0),borderWarningPrimary:nt.extend("--ft-border-warning-primary","Used as border for warning components.",lt.colorOrange30),borderSuccessPrimary:nt.extend("--ft-border-success-primary","Used as border for success components.",lt.colorGreen30),borderErrorPrimary:nt.extend("--ft-border-error-primary","Used as border for error components.",lt.colorRed30),borderInfoPrimary:nt.extend("--ft-border-info-primary","Used as border for information components.",lt.colorCyan30),borderGlobalSubtle:nt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",lt.colorGray30),borderGlobalPrimary:nt.extend("--ft-border-global-primary","Used as border for element like input.",lt.colorGray50),borderInputPrimary:nt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",lt.colorGray80)};nt.create("--ft-button-large-height","","SIZE","40px"),nt.extend("--ft-button-large-horizontal-padding","",lt.spacing4),nt.extend("--ft-button-large-gap","",lt.spacing2),nt.extend("--ft-button-large-border-radius","",lt.borderRadiusS),nt.extend("--ft-button-large-icon-size","",lt.iconSize3),nt.create("--ft-button-large-border-width","","SIZE","1px"),nt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),nt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),nt.create("--ft-button-large-icon-only-width","","SIZE","40px"),nt.create("--ft-button-small-height","","SIZE","30px"),nt.extend("--ft-button-small-horizontal-padding","",lt.spacing3),nt.extend("--ft-button-small-gap","",lt.spacing2),nt.extend("--ft-button-small-border-radius","",lt.borderRadiusS),nt.extend("--ft-button-small-icon-size","",lt.iconSize2),nt.create("--ft-button-small-border-width","","SIZE","1px"),nt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),nt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),nt.create("--ft-button-small-icon-only-width","","SIZE","30px"),nt.extend("--ft-button-primary-background-color","",pt.backgroundActionPrimary),nt.extend("--ft-button-primary-color","",pt.contentGlobalOnColor),nt.extend("--ft-button-primary-icon-color","",pt.contentGlobalOnColor),nt.extend("--ft-button-primary-state-layer-color","",pt.contentGlobalOnColor),nt.extend("--ft-button-primary-state-layer-opacity-hover","",lt.opacity16),nt.extend("--ft-button-primary-state-layer-opacity-focus","",lt.opacity16),nt.extend("--ft-button-primary-state-layer-opacity-active","",lt.opacity24),nt.extend("--ft-button-primary-component-opacity-disabled","",lt.opacity40),nt.extend("--ft-button-focus-focus-ring-color","",pt.borderActionFocusRing),nt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),nt.extend("--ft-button-tertiary-color","",pt.contentActionPrimary),nt.extend("--ft-button-tertiary-icon-color","",pt.contentActionPrimary),nt.extend("--ft-button-tertiary-state-layer-color","",pt.contentActionPrimary),nt.extend("--ft-button-tertiary-state-layer-opacity-hover","",lt.opacity8),nt.extend("--ft-button-tertiary-state-layer-opacity-focus","",lt.opacity8),nt.extend("--ft-button-tertiary-state-layer-opacity-active","",lt.opacity16),nt.extend("--ft-button-tertiary-component-opacity-disabled","",lt.opacity40),nt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),nt.extend("--ft-button-secondary-color","",pt.contentActionPrimary),nt.extend("--ft-button-secondary-icon-color","",pt.contentActionPrimary),nt.extend("--ft-button-secondary-state-layer-color","",pt.contentActionPrimary),nt.extend("--ft-button-secondary-state-layer-opacity-hover","",lt.opacity8),nt.extend("--ft-button-secondary-state-layer-opacity-focus","",lt.opacity8),nt.extend("--ft-button-secondary-state-layer-opacity-active","",lt.opacity16),nt.extend("--ft-button-secondary-component-opacity-disabled","",lt.opacity40),nt.extend("--ft-button-secondary-border-color","",pt.borderActionPrimary),nt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),nt.extend("--ft-button-neutral-icon-color","",pt.contentGlobalSecondary),nt.extend("--ft-button-neutral-color","",pt.contentGlobalSecondary),nt.extend("--ft-button-neutral-state-layer-color","",pt.contentGlobalSecondary),nt.extend("--ft-button-neutral-state-layer-opacity-hover","",lt.opacity8),nt.extend("--ft-button-neutral-state-layer-opacity-focus","",lt.opacity8),nt.extend("--ft-button-neutral-state-layer-opacity-active","",lt.opacity16),nt.extend("--ft-button-neutral-component-opacity-disabled","",lt.opacity40),nt.extend("--ft-tabs-top-left-border-radius","",lt.borderRadiusS),nt.extend("--ft-tabs-top-right-border-radius","",lt.borderRadiusS),nt.extend("--ft-tabs-label-horizontal-padding","",lt.spacing4),nt.extend("--ft-tabs-label-vertical-padding","",lt.spacing3),nt.extend("--ft-tabs-label-gap","",lt.spacing1),nt.extend("--ft-switch-group-horizontal-padding","",lt.spacing1),nt.extend("--ft-switch-group-vertical-padding","",lt.spacing1),nt.extend("--ft-switch-group-gap","",lt.spacing1),nt.extend("--ft-switch-group-background-color","",pt.backgroundGlobalSurface),nt.extend("--ft-switch-group-border-color","",pt.borderGlobalSubtle),nt.create("--ft-switch-group-border-radius","","SIZE","6px"),nt.extend("--ft-switch-label-horizontal-padding","",lt.spacing2),nt.extend("--ft-switch-label-vertical-padding","",lt.spacing1),nt.extend("--ft-switch-icon-horizontal-padding","",lt.spacing1),nt.extend("--ft-switch-icon-vertical-padding","",lt.spacing1),nt.create("--ft-switch-focus-outline-width","","SIZE","2px"),nt.extend("--ft-switch-focus-focus-ring-color","",pt.borderActionFocusRing),nt.extend("--ft-switch-option-border-radius","",lt.borderRadiusS),nt.extend("--ft-switch-off-state-layer-opacity-hover","",lt.opacity8),nt.extend("--ft-switch-off-state-layer-opacity-focus","",lt.opacity8),nt.extend("--ft-switch-off-state-layer-opacity-active","",lt.opacity16),nt.extend("--ft-switch-off-component-opacity-disabled","",lt.opacity40),nt.extend("--ft-switch-off-color","",pt.contentGlobalSubtle),nt.extend("--ft-switch-off-state-layer-color","",pt.contentGlobalSubtle),nt.extend("--ft-chart-1-light","for area color charts",lt.colorBrand40),nt.extend("--ft-chart-1-base","for line charts",lt.colorBrand0),nt.extend("--ft-chart-2-light","for area color charts",lt.colorYellow60),nt.extend("--ft-chart-2-base","for line charts",lt.colorYellow100),nt.extend("--ft-chart-3-light","",lt.colorUltramarine40),nt.extend("--ft-chart-3-base","",lt.colorUltramarine70),nt.extend("--ft-chart-4-light","",lt.colorCyan50),nt.extend("--ft-chart-4-base","",lt.colorCyan100),nt.extend("--ft-chart-5-light","",lt.colorRed40),nt.extend("--ft-chart-5-base","",lt.colorRed60),nt.extend("--ft-chart-6-light","",lt.colorGreen40),nt.extend("--ft-chart-6-base","",lt.colorGreen70),nt.extend("--ft-chart-7-light","",lt.colorOrange70),nt.extend("--ft-chart-7-base","",lt.colorOrange100),nt.extend("--ft-chart-8-light","",lt.colorAvocado70),nt.extend("--ft-chart-8-base","",lt.colorAvocado200),nt.extend("--ft-chart-9-light","",lt.colorBrown50),nt.extend("--ft-chart-9-base","",lt.colorBrown200),nt.extend("--ft-chart-10-light","",lt.colorGray50),nt.extend("--ft-chart-10-base","",lt.colorGray80),nt.extend("--ft-chart-monochrome-10","",lt.colorBrand10),nt.extend("--ft-chart-monochrome-20","",lt.colorBrand20),nt.extend("--ft-chart-monochrome-30","",lt.colorBrand40),nt.extend("--ft-chart-monochrome-40","",lt.colorBrand60),nt.extend("--ft-chart-monochrome-50","",lt.colorBrand0),nt.extend("--ft-chart-monochrome-60","",lt.colorBrand200),nt.extend("--ft-chip-large-horizontal-padding","",lt.spacing4),nt.extend("--ft-chip-large-vertical-padding","",lt.spacing2),nt.extend("--ft-chip-large-gap","",lt.spacing1),nt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),nt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),nt.extend("--ft-chip-large-border-radius","",lt.borderRadiusPill),nt.create("--ft-chip-large-border-width","","SIZE","1px"),nt.extend("--ft-chip-large-icon-size","",lt.iconSize3),nt.extend("--ft-chip-medium-horizontal-padding","",lt.spacing3),nt.extend("--ft-chip-medium-vertical-padding","",lt.spacing1),nt.extend("--ft-chip-medium-gap","",lt.spacing1),nt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),nt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),nt.extend("--ft-chip-medium-border-radius","",lt.borderRadiusPill),nt.create("--ft-chip-medium-border-width","","SIZE","1px"),nt.extend("--ft-chip-medium-icon-size","",lt.iconSize2),nt.extend("--ft-chip-small-horizontal-padding","",lt.spacing2),nt.extend("--ft-chip-small-vertical-padding","",lt.spacing05),nt.extend("--ft-chip-small-gap","",lt.spacing1),nt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),nt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),nt.extend("--ft-chip-small-border-radius","",lt.borderRadiusPill),nt.create("--ft-chip-small-border-width","","SIZE","1px"),nt.extend("--ft-chip-small-icon-size","",lt.iconSize1),nt.extend("--ft-chip-neutral-background-color","",pt.backgroundGlobalOnSurface),nt.extend("--ft-chip-neutral-color","",pt.contentGlobalPrimary),nt.extend("--ft-chip-neutral-border-color","",pt.borderGlobalSubtle),nt.extend("--ft-chip-info-background-color","",pt.backgroundInfoSubtle),nt.extend("--ft-chip-info-color","",pt.contentInfoPrimary),nt.extend("--ft-chip-info-border-color","",pt.borderInfoPrimary),nt.extend("--ft-chip-success-background-color","",pt.backgroundSuccessSubtle),nt.extend("--ft-chip-success-color","",pt.contentSuccessPrimary),nt.extend("--ft-chip-success-border-color","",pt.borderSuccessPrimary),nt.extend("--ft-chip-warning-background-color","",pt.backgroundWarningSubtle),nt.extend("--ft-chip-warning-color","",pt.contentWarningPrimary),nt.extend("--ft-chip-warning-border-color","",pt.borderWarningPrimary),nt.extend("--ft-chip-error-background-color","",pt.backgroundErrorSubtle),nt.extend("--ft-chip-error-color","",pt.contentErrorPrimary),nt.extend("--ft-chip-error-border-color","",pt.borderErrorPrimary),nt.create("--ft-notice-border-width","","SIZE","1px"),nt.extend("--ft-notice-horizontal-padding","",lt.spacing2),nt.extend("--ft-notice-vertical-padding","",lt.spacing1),nt.extend("--ft-notice-border-radius","",lt.borderRadiusS),nt.extend("--ft-notice-gap","",lt.spacing2),nt.extend("--ft-notice-icon-size","",lt.iconSize3),nt.extend("--ft-notice-info-background-color","",pt.backgroundInfoSubtle),nt.extend("--ft-notice-info-border-color","",pt.borderInfoPrimary),nt.extend("--ft-notice-info-color","",pt.contentInfoPrimary),nt.extend("--ft-notice-warning-background-color","",pt.backgroundWarningSubtle),nt.extend("--ft-notice-warning-border-color","",pt.borderWarningPrimary),nt.extend("--ft-notice-warning-color","",pt.contentWarningPrimary),nt.extend("--ft-checkbox-label-color","",pt.contentGlobalPrimary),nt.extend("--ft-checkbox-checked-background-color","",pt.contentActionPrimary),nt.extend("--ft-checkbox-checked-state-layer-color","",pt.contentActionPrimary),nt.extend("--ft-checkbox-checked-color","",pt.contentGlobalOnColor),nt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",lt.opacity16),nt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",lt.opacity16),nt.extend("--ft-checkbox-checked-state-layer-opacity-active","",lt.opacity24),nt.extend("--ft-checkbox-checked-component-opacity-disabled","",lt.opacity40),nt.extend("--ft-checkbox-unchecked-border-color","",lt.colorGray80),nt.extend("--ft-checkbox-unchecked-state-layer-color","",lt.colorGray80),nt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",lt.opacity16),nt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",lt.opacity16),nt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",lt.opacity24),nt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",lt.opacity40),nt.extend("--ft-checkbox-focus-focus-ring-color","",pt.borderActionFocusRing),nt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),nt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),nt.extend("--ft-checkbox-gap","",lt.spacing3),nt.extend("--ft-toggle-off-state-layer-opacity-hover","",lt.opacity16),nt.extend("--ft-toggle-off-state-layer-opacity-focus","",lt.opacity16),nt.extend("--ft-toggle-off-state-layer-opacity-active","",lt.opacity24),nt.extend("--ft-toggle-off-component-opacity-disabled","",lt.opacity40),nt.extend("--ft-toggle-off-background-color","",pt.contentGlobalSubtle),nt.extend("--ft-toggle-off-icon-color","",pt.contentGlobalSubtle),nt.extend("--ft-toggle-off-state-layer-color","",pt.contentGlobalSubtle),nt.extend("--ft-toggle-on-state-layer-opacity-hover","",lt.opacity16),nt.extend("--ft-toggle-on-state-layer-opacity-focus","",lt.opacity16),nt.extend("--ft-toggle-on-state-layer-opacity-active","",lt.opacity24),nt.extend("--ft-toggle-on-component-opacity-disabled","",lt.opacity40),nt.extend("--ft-toggle-on-background-color","",pt.contentActionPrimary),nt.extend("--ft-toggle-on-icon-color","",pt.contentActionPrimary),nt.extend("--ft-toggle-on-state-layer-color","",pt.contentActionPrimary),nt.extend("--ft-toggle-label-color","",pt.contentGlobalPrimary),nt.extend("--ft-toggle-focus-focus-ring-color","",pt.borderActionFocusRing),nt.extend("--ft-toggle-gap","",lt.spacing3),nt.extend("--ft-radio-label-color","",pt.contentGlobalPrimary),nt.extend("--ft-radio-selected-color","",pt.contentActionPrimary),nt.extend("--ft-radio-selected-state-layer-color","",pt.contentActionPrimary),nt.extend("--ft-radio-selected-state-layer-opacity-hover","",lt.opacity16),nt.extend("--ft-radio-selected-state-layer-opacity-focus","",lt.opacity16),nt.extend("--ft-radio-selected-state-layer-opacity-active","",lt.opacity24),nt.extend("--ft-radio-selected-component-opacity-disabled","",lt.opacity40),nt.extend("--ft-radio-unselected-state-layer-color","",lt.colorGray80),nt.extend("--ft-radio-unselected-state-layer-opacity-hover","",lt.opacity16),nt.extend("--ft-radio-unselected-state-layer-opacity-focus","",lt.opacity16),nt.extend("--ft-radio-unselected-state-layer-opacity-active","",lt.opacity24),nt.extend("--ft-radio-unselected-component-opacity-disabled","",lt.opacity40),nt.extend("--ft-radio-focus-focus-ring-color","",pt.borderActionFocusRing),nt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),nt.create("--ft-radio-focus-outline-width","","SIZE","2px"),nt.extend("--ft-radio-gap","",lt.spacing3),nt.extend("--ft-notification-icon-size","",lt.iconSize4),nt.extend("--ft-notification-horizontal-padding","",lt.spacing4),nt.extend("--ft-notification-vertical-padding","",lt.spacing4),nt.extend("--ft-notification-info-background-color","",pt.backgroundInfoSubtle),nt.extend("--ft-notification-info-color","",pt.contentInfoPrimary),nt.extend("--ft-notification-info-border-color","",pt.borderInfoPrimary),nt.extend("--ft-notification-success-background-color","",pt.backgroundSuccessSubtle),nt.extend("--ft-notification-success-color","",pt.contentSuccessPrimary),nt.extend("--ft-notification-success-border-color","",pt.borderSuccessPrimary),nt.extend("--ft-notification-warning-background-color","",pt.backgroundWarningSubtle),nt.extend("--ft-notification-warning-color","",pt.contentWarningPrimary),nt.extend("--ft-notification-warning-border-color","",pt.borderWarningPrimary),nt.extend("--ft-notification-error-background-color","",pt.backgroundErrorSubtle),nt.extend("--ft-notification-error-color","",pt.contentErrorPrimary),nt.extend("--ft-notification-error-border-color","",pt.borderErrorPrimary),nt.extend("--ft-notification-border-radius","",lt.borderRadiusPill),nt.create("--ft-notification-border-width","","SIZE","1px"),nt.extend("--ft-notification-gap-leading","",lt.spacing2),nt.extend("--ft-notification-gap-trailing","",lt.spacing8);const st=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),ft=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),ht={fontFamily:ft,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")},dt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",st),gt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",ht.fontSize,"20px"),yt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",ht.fontWeight,"normal"),bt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",ht.letterSpacing,"0.15px"),ut=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",ht.lineHeight,"1.2"),mt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",ht.textTransform,"inherit"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",st),Ot=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",ht.fontSize,"14px"),Nt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",ht.fontWeight,"normal"),vt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",ht.letterSpacing,"0.105px"),St=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",ht.lineHeight,"1.7"),wt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",ht.textTransform,"inherit"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ft),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",ht.fontSize,"16px"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",ht.fontWeight,"600"),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",ht.letterSpacing,"0.144px"),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",ht.lineHeight,"1.5"),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",ht.textTransform,"inherit"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ft),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",ht.fontSize,"14px"),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",ht.fontWeight,"normal"),Kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",ht.letterSpacing,"0.098px"),Zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",ht.lineHeight,"1.7"),zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",ht.textTransform,"inherit"),Ft=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ft),Dt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",ht.fontSize,"16px"),Bt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",ht.fontWeight,"normal"),At=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",ht.letterSpacing,"0.496px"),Ht=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",ht.lineHeight,"1.5"),Gt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",ht.textTransform,"inherit"),jt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ft),Mt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",ht.fontSize,"14px"),Pt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",ht.fontWeight,"normal"),Tt=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",ht.letterSpacing,"0.252px"),_t=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",ht.lineHeight,"1.4"),Yt=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",ht.textTransform,"inherit"),Vt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ft),qt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",ht.fontSize,"12px"),Xt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",ht.fontWeight,"normal"),Jt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",ht.letterSpacing,"0.396px"),Qt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",ht.lineHeight,"1.33"),to=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",ht.textTransform,"inherit"),oo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ft),eo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",ht.fontSize,"10px"),ro=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",ht.fontWeight,"normal"),io=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",ht.letterSpacing,"0.33px"),ao=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",ht.lineHeight,"1.6"),no=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",ht.textTransform,"inherit"),lo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ft),co=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",ht.fontSize,"10px"),po=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",ht.fontWeight,"normal"),so=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",ht.letterSpacing,"1.5px"),fo=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",ht.lineHeight,"1.6"),ho=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",ht.textTransform,"uppercase"),go={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ft),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",ht.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",ht.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",ht.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",ht.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",ht.textTransform,"uppercase")},yo=e.css`
|
|
131
137
|
.ft-typography--title {
|
|
132
|
-
font-family: ${
|
|
133
|
-
font-size: ${
|
|
134
|
-
font-weight: ${
|
|
135
|
-
letter-spacing: ${
|
|
136
|
-
line-height: ${
|
|
137
|
-
text-transform: ${
|
|
138
|
-
}
|
|
139
|
-
`,
|
|
138
|
+
font-family: ${dt};
|
|
139
|
+
font-size: ${gt};
|
|
140
|
+
font-weight: ${yt};
|
|
141
|
+
letter-spacing: ${bt};
|
|
142
|
+
line-height: ${ut};
|
|
143
|
+
text-transform: ${mt};
|
|
144
|
+
}
|
|
145
|
+
`,bo=e.css`
|
|
140
146
|
.ft-typography--title-dense {
|
|
141
|
-
font-family: ${
|
|
142
|
-
font-size: ${
|
|
143
|
-
font-weight: ${
|
|
144
|
-
letter-spacing: ${
|
|
145
|
-
line-height: ${
|
|
146
|
-
text-transform: ${
|
|
147
|
+
font-family: ${xt};
|
|
148
|
+
font-size: ${Ot};
|
|
149
|
+
font-weight: ${Nt};
|
|
150
|
+
letter-spacing: ${vt};
|
|
151
|
+
line-height: ${St};
|
|
152
|
+
text-transform: ${wt};
|
|
147
153
|
}
|
|
148
|
-
`,
|
|
154
|
+
`,uo=e.css`
|
|
149
155
|
.ft-typography--subtitle1 {
|
|
150
|
-
font-family: ${
|
|
151
|
-
font-size: ${
|
|
152
|
-
font-weight: ${
|
|
153
|
-
letter-spacing: ${
|
|
154
|
-
line-height: ${
|
|
155
|
-
text-transform: ${
|
|
156
|
+
font-family: ${Ct};
|
|
157
|
+
font-size: ${It};
|
|
158
|
+
font-weight: ${$t};
|
|
159
|
+
letter-spacing: ${Ut};
|
|
160
|
+
line-height: ${Rt};
|
|
161
|
+
text-transform: ${Wt};
|
|
156
162
|
}
|
|
157
|
-
`,
|
|
163
|
+
`,mo=e.css`
|
|
158
164
|
.ft-typography--subtitle2 {
|
|
159
|
-
font-family: ${
|
|
160
|
-
font-size: ${
|
|
161
|
-
font-weight: ${
|
|
162
|
-
letter-spacing: ${
|
|
163
|
-
line-height: ${
|
|
164
|
-
text-transform: ${
|
|
165
|
+
font-family: ${Et};
|
|
166
|
+
font-size: ${kt};
|
|
167
|
+
font-weight: ${Lt};
|
|
168
|
+
letter-spacing: ${Kt};
|
|
169
|
+
line-height: ${Zt};
|
|
170
|
+
text-transform: ${zt};
|
|
165
171
|
}
|
|
166
172
|
|
|
167
|
-
`,
|
|
173
|
+
`,xo=e.css`
|
|
168
174
|
.ft-typography--body1 {
|
|
169
|
-
font-family: ${
|
|
170
|
-
font-size: ${
|
|
171
|
-
font-weight: ${
|
|
172
|
-
letter-spacing: ${
|
|
173
|
-
line-height: ${
|
|
174
|
-
text-transform: ${
|
|
175
|
+
font-family: ${Ft};
|
|
176
|
+
font-size: ${Dt};
|
|
177
|
+
font-weight: ${Bt};
|
|
178
|
+
letter-spacing: ${At};
|
|
179
|
+
line-height: ${Ht};
|
|
180
|
+
text-transform: ${Gt};
|
|
175
181
|
}
|
|
176
|
-
`,
|
|
182
|
+
`,Oo=e.css`
|
|
177
183
|
.ft-typography--body2 {
|
|
178
|
-
font-family: ${
|
|
179
|
-
font-size: ${
|
|
180
|
-
font-weight: ${
|
|
181
|
-
letter-spacing: ${
|
|
182
|
-
line-height: ${
|
|
183
|
-
text-transform: ${
|
|
184
|
+
font-family: ${jt};
|
|
185
|
+
font-size: ${Mt};
|
|
186
|
+
font-weight: ${Pt};
|
|
187
|
+
letter-spacing: ${Tt};
|
|
188
|
+
line-height: ${_t};
|
|
189
|
+
text-transform: ${Yt};
|
|
184
190
|
}
|
|
185
|
-
`,
|
|
191
|
+
`,No=e.css`
|
|
186
192
|
.ft-typography--caption {
|
|
187
|
-
font-family: ${
|
|
188
|
-
font-size: ${
|
|
189
|
-
font-weight: ${
|
|
190
|
-
letter-spacing: ${
|
|
191
|
-
line-height: ${
|
|
192
|
-
text-transform: ${
|
|
193
|
+
font-family: ${Vt};
|
|
194
|
+
font-size: ${qt};
|
|
195
|
+
font-weight: ${Xt};
|
|
196
|
+
letter-spacing: ${Jt};
|
|
197
|
+
line-height: ${Qt};
|
|
198
|
+
text-transform: ${to};
|
|
193
199
|
}
|
|
194
|
-
`,
|
|
200
|
+
`,vo=e.css`
|
|
195
201
|
.ft-typography--breadcrumb {
|
|
196
|
-
font-family: ${
|
|
197
|
-
font-size: ${
|
|
198
|
-
font-weight: ${
|
|
199
|
-
letter-spacing: ${
|
|
200
|
-
line-height: ${
|
|
201
|
-
text-transform: ${
|
|
202
|
+
font-family: ${oo};
|
|
203
|
+
font-size: ${eo};
|
|
204
|
+
font-weight: ${ro};
|
|
205
|
+
letter-spacing: ${io};
|
|
206
|
+
line-height: ${ao};
|
|
207
|
+
text-transform: ${no};
|
|
202
208
|
}
|
|
203
|
-
`,
|
|
209
|
+
`,So=e.css`
|
|
204
210
|
.ft-typography--overline {
|
|
205
|
-
font-family: ${
|
|
206
|
-
font-size: ${
|
|
207
|
-
font-weight: ${
|
|
208
|
-
letter-spacing: ${
|
|
209
|
-
line-height: ${
|
|
210
|
-
text-transform: ${
|
|
211
|
+
font-family: ${lo};
|
|
212
|
+
font-size: ${co};
|
|
213
|
+
font-weight: ${po};
|
|
214
|
+
letter-spacing: ${so};
|
|
215
|
+
line-height: ${fo};
|
|
216
|
+
text-transform: ${ho};
|
|
211
217
|
}
|
|
212
|
-
`,
|
|
218
|
+
`,wo=e.css`
|
|
213
219
|
.ft-typography--button {
|
|
214
|
-
font-family: ${
|
|
215
|
-
font-size: ${
|
|
216
|
-
font-weight: ${
|
|
217
|
-
letter-spacing: ${
|
|
218
|
-
line-height: ${
|
|
219
|
-
text-transform: ${
|
|
220
|
-
}
|
|
221
|
-
`,
|
|
220
|
+
font-family: ${go.fontFamily};
|
|
221
|
+
font-size: ${go.fontSize};
|
|
222
|
+
font-weight: ${go.fontWeight};
|
|
223
|
+
letter-spacing: ${go.letterSpacing};
|
|
224
|
+
line-height: ${go.lineHeight};
|
|
225
|
+
text-transform: ${go.textTransform};
|
|
226
|
+
}
|
|
227
|
+
`,Co=e.css`
|
|
222
228
|
.ft-typography {
|
|
223
229
|
vertical-align: inherit;
|
|
224
230
|
}
|
|
225
|
-
|
|
231
|
+
`,Io=[Object.keys(ct).map((t=>function(t){const o=ct[t];return e.css`
|
|
226
232
|
.ft-typography--${e.unsafeCSS(t)} {
|
|
227
233
|
font-family: ${o.fontFamily};
|
|
228
234
|
font-size: ${o.fontSize};
|
|
@@ -231,14 +237,14 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
231
237
|
line-height: ${o.lineHeight};
|
|
232
238
|
text-transform: ${o.textCase};
|
|
233
239
|
}
|
|
234
|
-
`}(t)))];var
|
|
235
|
-
<${
|
|
240
|
+
`}(t)))];var $o=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 Uo extends o.FtLitElement{constructor(){super(...arguments),this.variant=it.body1}render(){return this.element?rt`
|
|
241
|
+
<${ot(this.element)}
|
|
236
242
|
class="ft-typography ft-typography--${this.variant}">
|
|
237
243
|
<slot></slot>
|
|
238
|
-
</${
|
|
239
|
-
`:
|
|
244
|
+
</${ot(this.element)}>
|
|
245
|
+
`:rt`
|
|
240
246
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
241
|
-
`}}
|
|
247
|
+
`}}Uo.styles=[yo,bo,uo,mo,xo,Oo,No,vo,So,wo,Co,...Io],$o([r.property()],Uo.prototype,"element",void 0),$o([r.property()],Uo.prototype,"variant",void 0),o.customElement("ft-typography")(Uo);const Ro=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),Wo=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Eo=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),ko=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),Lo=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),Ko=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),Zo=e.css`
|
|
242
248
|
.ft-tooltip--container {
|
|
243
249
|
display: block;
|
|
244
250
|
}
|
|
@@ -253,21 +259,21 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
253
259
|
box-sizing: border-box;
|
|
254
260
|
overflow: hidden;
|
|
255
261
|
width: max-content;
|
|
256
|
-
max-width: ${
|
|
262
|
+
max-width: ${Ko};
|
|
257
263
|
text-align: center;
|
|
258
|
-
padding: ${
|
|
259
|
-
z-index: ${
|
|
264
|
+
padding: ${Ro};
|
|
265
|
+
z-index: ${ko};
|
|
260
266
|
}
|
|
261
267
|
|
|
262
268
|
.ft-tooltip--content {
|
|
263
269
|
padding: 4px 8px;
|
|
264
|
-
border-radius: ${
|
|
265
|
-
background-color: ${
|
|
266
|
-
color: ${
|
|
270
|
+
border-radius: ${Lo};
|
|
271
|
+
background-color: ${Eo};
|
|
272
|
+
color: ${Wo};
|
|
267
273
|
position: relative;
|
|
268
274
|
word-break: break-word;
|
|
269
275
|
}
|
|
270
|
-
`;var Fo,Do
|
|
276
|
+
`;var zo,Fo,Do=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 Bo extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
271
277
|
<div part="container"
|
|
272
278
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
273
279
|
@mouseenter=${this.onHover}
|
|
@@ -285,7 +291,7 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
285
291
|
</div>
|
|
286
292
|
</div>
|
|
287
293
|
</div>
|
|
288
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,r=(t.offsetHeight-e)/2,i=(t.offsetWidth-o)/2;let a=0,n=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":n=t.offsetTop-e-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"bottom":n=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"left":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=a+"px",l.top=n+"px";const c=this.tooltip.getBoundingClientRect();let p=-c.x,s=c.x+c.width-window.innerWidth;l.left=a+Math.round(this.correctOutOfWindowPixels(p,s))+"px";let f=-c.y,h=c.y+c.height-window.innerHeight;l.top=n+Math.round(this.correctOutOfWindowPixels(f,h))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${Zo})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Ao.elementDefinitions={"ft-typography":Ro},Ao.styles=zo,Bo([r.property()],Ao.prototype,"text",void 0),Bo([r.property({type:Boolean})],Ao.prototype,"manual",void 0),Bo([r.property({type:Boolean})],Ao.prototype,"inline",void 0),Bo([r.property({type:Number})],Ao.prototype,"delay",void 0),Bo([r.property()],Ao.prototype,"position",void 0),Bo([r.queryAssignedNodes("",!0)],Ao.prototype,"slotNodes",void 0),Bo([r.query(".ft-tooltip--container")],Ao.prototype,"container",void 0),Bo([r.query(".ft-tooltip")],Ao.prototype,"tooltip",void 0),Bo([r.query(".ft-tooltip--content")],Ao.prototype,"tooltipContent",void 0),Bo([r.state()],Ao.prototype,"visible",void 0),o.customElement("ft-tooltip")(Ao),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=""}(Fo||(Fo={})),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=""}(Do||(Do={})),new Map([...["abw"].map((t=>[t,Do.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,Do.AUDIO])),...["avi"].map((t=>[t,Do.AVI])),...["chm","xhs"].map((t=>[t,Do.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,Do.CODE])),...["csv"].map((t=>[t,Do.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Do.DITA])),...["epub"].map((t=>[t,Do.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Do.EXCEL])),...["flac"].map((t=>[t,Do.FLAC])),...["gif"].map((t=>[t,Do.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Do.GZIP])),...["html","htm","xhtml"].map((t=>[t,Do.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,Do.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Do.JPEG])),...["json"].map((t=>[t,Do.JSON])),...["m4a","m4p"].map((t=>[t,Do.M4A])),...["mov","qt"].map((t=>[t,Do.MOV])),...["mp3"].map((t=>[t,Do.MP3])),...["mp4","m4v"].map((t=>[t,Do.MP4])),...["ogg","oga"].map((t=>[t,Do.OGG])),...["pdf","ps"].map((t=>[t,Do.PDF])),...["png"].map((t=>[t,Do.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Do.POWERPOINT])),...["rar"].map((t=>[t,Do.RAR])),...["stp"].map((t=>[t,Do.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Do.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,Do.VIDEO])),...["wav"].map((t=>[t,Do.WAV])),...["wma"].map((t=>[t,Do.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Do.WORD])),...["xml","xsl","rdf"].map((t=>[t,Do.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Do.YAML])),...["zip"].map((t=>[t,Do.ZIP]))]);const Ho={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Go=e.css`
|
|
294
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,r=(t.offsetHeight-e)/2,i=(t.offsetWidth-o)/2;let a=0,n=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":n=t.offsetTop-e-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"bottom":n=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"left":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=a+"px",l.top=n+"px";const c=this.tooltip.getBoundingClientRect();let p=-c.x,s=c.x+c.width-window.innerWidth;l.left=a+Math.round(this.correctOutOfWindowPixels(p,s))+"px";let f=-c.y,h=c.y+c.height-window.innerHeight;l.top=n+Math.round(this.correctOutOfWindowPixels(f,h))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${Ko})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Bo.elementDefinitions={"ft-typography":Uo},Bo.styles=Zo,Do([r.property()],Bo.prototype,"text",void 0),Do([r.property({type:Boolean})],Bo.prototype,"manual",void 0),Do([r.property({type:Boolean})],Bo.prototype,"inline",void 0),Do([r.property({type:Number})],Bo.prototype,"delay",void 0),Do([r.property()],Bo.prototype,"position",void 0),Do([r.queryAssignedNodes()],Bo.prototype,"slotNodes",void 0),Do([r.query(".ft-tooltip--container")],Bo.prototype,"container",void 0),Do([r.query(".ft-tooltip")],Bo.prototype,"tooltip",void 0),Do([r.query(".ft-tooltip--content")],Bo.prototype,"tooltipContent",void 0),Do([r.state()],Bo.prototype,"visible",void 0),o.customElement("ft-tooltip")(Bo),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=""}(zo||(zo={})),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=""}(Fo||(Fo={})),new Map([...["abw"].map((t=>[t,Fo.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,Fo.AUDIO])),...["avi"].map((t=>[t,Fo.AVI])),...["chm","xhs"].map((t=>[t,Fo.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,Fo.CODE])),...["csv"].map((t=>[t,Fo.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Fo.DITA])),...["epub"].map((t=>[t,Fo.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Fo.EXCEL])),...["flac"].map((t=>[t,Fo.FLAC])),...["gif"].map((t=>[t,Fo.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Fo.GZIP])),...["html","htm","xhtml"].map((t=>[t,Fo.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,Fo.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Fo.JPEG])),...["json"].map((t=>[t,Fo.JSON])),...["m4a","m4p"].map((t=>[t,Fo.M4A])),...["mov","qt"].map((t=>[t,Fo.MOV])),...["mp3"].map((t=>[t,Fo.MP3])),...["mp4","m4v"].map((t=>[t,Fo.MP4])),...["ogg","oga"].map((t=>[t,Fo.OGG])),...["pdf","ps"].map((t=>[t,Fo.PDF])),...["png"].map((t=>[t,Fo.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Fo.POWERPOINT])),...["rar"].map((t=>[t,Fo.RAR])),...["stp"].map((t=>[t,Fo.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Fo.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,Fo.VIDEO])),...["wav"].map((t=>[t,Fo.WAV])),...["wma"].map((t=>[t,Fo.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Fo.WORD])),...["xml","xsl","rdf"].map((t=>[t,Fo.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Fo.YAML])),...["zip"].map((t=>[t,Fo.ZIP]))]);const Ao={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ho=e.css`
|
|
289
295
|
:host, i.ft-icon {
|
|
290
296
|
display: inline-flex;
|
|
291
297
|
align-items: center;
|
|
@@ -294,14 +300,14 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
294
300
|
}
|
|
295
301
|
|
|
296
302
|
:host {
|
|
297
|
-
width: ${
|
|
298
|
-
height: ${
|
|
303
|
+
width: ${Ao.size};
|
|
304
|
+
height: ${Ao.size};
|
|
299
305
|
}
|
|
300
306
|
|
|
301
307
|
i.ft-icon {
|
|
302
308
|
width: 100%;
|
|
303
309
|
height: 100%;
|
|
304
|
-
font-size: ${
|
|
310
|
+
font-size: ${Ao.size};
|
|
305
311
|
line-height: 1;
|
|
306
312
|
font-weight: normal;
|
|
307
313
|
text-transform: none;
|
|
@@ -312,33 +318,33 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
312
318
|
text-rendering: auto;
|
|
313
319
|
-webkit-font-smoothing: antialiased;
|
|
314
320
|
-moz-osx-font-smoothing: grayscale;
|
|
315
|
-
vertical-align: ${
|
|
321
|
+
vertical-align: ${Ao.verticalAlign};
|
|
316
322
|
}
|
|
317
323
|
|
|
318
324
|
i.ft-icon.ft-icon--fluid-topics {
|
|
319
|
-
font-family: ${
|
|
325
|
+
font-family: ${Ao.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
320
326
|
|
|
321
327
|
/* Ugly fix because font is broken */
|
|
322
|
-
font-size: calc(0.75 * ${
|
|
323
|
-
line-height: ${
|
|
328
|
+
font-size: calc(0.75 * ${Ao.size});
|
|
329
|
+
line-height: ${Ao.size};
|
|
324
330
|
position: relative;
|
|
325
331
|
top: -4%;
|
|
326
332
|
justify-content: center;
|
|
327
333
|
}
|
|
328
334
|
|
|
329
335
|
.ft-icon--file-format {
|
|
330
|
-
font-family: ${
|
|
336
|
+
font-family: ${Ao.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
331
337
|
}
|
|
332
338
|
|
|
333
339
|
.ft-icon--material {
|
|
334
|
-
font-family: ${
|
|
340
|
+
font-family: ${Ao.materialFontFamily}, "Material Icons", sans-serif;
|
|
335
341
|
}
|
|
336
|
-
`;var
|
|
342
|
+
`;var Go;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Go||(Go={}));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.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Go).includes(this.variant)?this.variant:Go.fluid_topics,o=t!==Go.material||!!this.value;return e.html`
|
|
337
343
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
338
344
|
${a.unsafeHTML(this.resolvedIcon)}
|
|
339
345
|
<slot ?hidden=${o}></slot>
|
|
340
346
|
</i>
|
|
341
|
-
`}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
|
|
347
|
+
`}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 Go.file_format:this.resolvedIcon=null!==(t=Fo[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case Go.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=zo[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Mo.elementDefinitions={},Mo.styles=Ho,jo([r.property()],Mo.prototype,"variant",void 0),jo([r.property()],Mo.prototype,"value",void 0),jo([r.state()],Mo.prototype,"resolvedIcon",void 0),jo([r.query("slot")],Mo.prototype,"slottedContent",void 0),o.customElement("ft-icon")(Mo);const Po={textColor:o.FtCssVariableFactory.extend("--ft-switch-text-color","",o.designSystemVariables.colorOnSurfaceHigh),backgroundColor:o.FtCssVariableFactory.extend("--ft-switch-background-color","",o.designSystemVariables.colorSurface),selectedTextColor:o.FtCssVariableFactory.extend("--ft-switch-selected-text-color","",o.designSystemVariables.colorPrimary),selectedBackgroundColor:o.FtCssVariableFactory.extend("--ft-switch-selected-background-color","",o.designSystemVariables.colorPrimary),borderColor:o.FtCssVariableFactory.extend("--ft-switch-border-color","",o.designSystemVariables.colorOutline),borderRadius:o.FtCssVariableFactory.extend("--ft-switch-border-radius","",o.designSystemVariables.borderRadiusL),fontSize:o.FtCssVariableFactory.extend("--ft-switch-font-size","",go.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-switch-icon-size","","SIZE","24px"),iconColor:o.FtCssVariableFactory.extend("--ft-switch-text-color","",o.designSystemVariables.colorOnSurfaceMedium),rippleColor:o.FtCssVariableFactory.extend("--ft-switch-ripple-color","",o.designSystemVariables.colorPrimary),outlineColor:o.FtCssVariableFactory.extend("--ft-switch-outline-color","",o.designSystemVariables.colorPrimary)},To={borderRadiusLeft:o.FtCssVariableFactory.extend("--ft-switch-option-border-radius-left","",o.designSystemVariables.borderRadiusL),borderRadiusRight:o.FtCssVariableFactory.extend("--ft-switch-option-border-radius-right","",o.designSystemVariables.borderRadiusL),borderWidthLeft:o.FtCssVariableFactory.create("--ft-switch-option-border-width-left","","SIZE","1px"),borderWidthRight:o.FtCssVariableFactory.create("--ft-switch-option-border-width-right","","SIZE","1px"),borderWidthVertical:o.FtCssVariableFactory.create("--ft-switch-option-border-width-vertical","","SIZE","1px")},_o=e.css`
|
|
342
348
|
.ft-switch-option {
|
|
343
349
|
position: relative;
|
|
344
350
|
display: inline-block;
|
|
@@ -352,20 +358,20 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
352
358
|
}
|
|
353
359
|
|
|
354
360
|
.ft-switch-option--content {
|
|
355
|
-
--ft-switch-option-internal-line-height: calc(${
|
|
356
|
-
--ft-switch-option-internal-content-height: max(var(--ft-switch-option-internal-line-height), ${
|
|
361
|
+
--ft-switch-option-internal-line-height: calc(${Po.fontSize} + 2px);
|
|
362
|
+
--ft-switch-option-internal-content-height: max(var(--ft-switch-option-internal-line-height), ${Po.iconSize});
|
|
357
363
|
|
|
358
364
|
border-style: solid;
|
|
359
|
-
border-color: ${
|
|
360
|
-
border-width: ${
|
|
361
|
-
border-radius: ${
|
|
365
|
+
border-color: ${Po.borderColor};
|
|
366
|
+
border-width: ${To.borderWidthVertical} ${To.borderWidthRight} ${To.borderWidthVertical} ${To.borderWidthLeft};
|
|
367
|
+
border-radius: ${To.borderRadiusLeft} ${To.borderRadiusRight} ${To.borderRadiusRight} ${To.borderRadiusLeft};
|
|
362
368
|
display: flex;
|
|
363
369
|
align-items: center;
|
|
364
370
|
justify-content: center;
|
|
365
371
|
overflow: hidden;
|
|
366
|
-
${o.setVariable(
|
|
372
|
+
${o.setVariable(Ao.size,Po.iconSize)};
|
|
367
373
|
padding: var(--ft-switch-internal-vertical-padding, 6px) var(--ft-switch-internal-horizontal-padding, 8px);
|
|
368
|
-
background-color: ${
|
|
374
|
+
background-color: ${Po.backgroundColor};
|
|
369
375
|
-webkit-mask-image: radial-gradient(white, black);
|
|
370
376
|
}
|
|
371
377
|
|
|
@@ -374,8 +380,8 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
374
380
|
}
|
|
375
381
|
|
|
376
382
|
.ft-switch-option--selected .ft-switch-option--content:before {
|
|
377
|
-
background-color: ${
|
|
378
|
-
border-radius: ${
|
|
383
|
+
background-color: ${Po.selectedBackgroundColor};
|
|
384
|
+
border-radius: ${To.borderRadiusLeft} ${To.borderRadiusRight} ${To.borderRadiusRight} ${To.borderRadiusLeft};
|
|
379
385
|
position: absolute;
|
|
380
386
|
inset: 0;
|
|
381
387
|
content: "";
|
|
@@ -384,18 +390,18 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
384
390
|
}
|
|
385
391
|
|
|
386
392
|
.ft-switch-option--label {
|
|
387
|
-
color: ${
|
|
393
|
+
color: ${Po.textColor};
|
|
388
394
|
overflow: hidden;
|
|
389
395
|
white-space: nowrap;
|
|
390
396
|
text-overflow: ellipsis;
|
|
391
397
|
display: block;
|
|
392
398
|
margin: 0 8px;
|
|
393
|
-
${o.setVariable(
|
|
394
|
-
${o.setVariable(
|
|
399
|
+
${o.setVariable(go.fontSize,Po.fontSize)};
|
|
400
|
+
${o.setVariable(go.lineHeight,"var(--ft-switch-option-internal-content-height)")}
|
|
395
401
|
}
|
|
396
402
|
|
|
397
403
|
.ft-switch-option--selected .ft-switch-option--label {
|
|
398
|
-
color: ${
|
|
404
|
+
color: ${Po.selectedTextColor};
|
|
399
405
|
}
|
|
400
406
|
|
|
401
407
|
.ft-switch-option--label[hidden] {
|
|
@@ -403,7 +409,7 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
403
409
|
}
|
|
404
410
|
|
|
405
411
|
.ft-switch-option--ripple {
|
|
406
|
-
${o.setVariable(l.color,
|
|
412
|
+
${o.setVariable(l.color,Po.rippleColor)};
|
|
407
413
|
}
|
|
408
414
|
|
|
409
415
|
ft-icon, ft-ripple, ft-typography {
|
|
@@ -416,13 +422,13 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
416
422
|
|
|
417
423
|
ft-icon {
|
|
418
424
|
flex-shrink: 0;
|
|
419
|
-
color: ${
|
|
425
|
+
color: ${Po.iconColor};
|
|
420
426
|
}
|
|
421
427
|
|
|
422
428
|
.ft-switch-option--selected ft-icon {
|
|
423
|
-
color: ${
|
|
429
|
+
color: ${Po.selectedTextColor};
|
|
424
430
|
}
|
|
425
|
-
`;var
|
|
431
|
+
`;var Yo=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 Vo extends CustomEvent{constructor(t){super("option-change-by-user",{detail:t,bubbles:!0,composed:!0})}}class qo extends CustomEvent{constructor(t){super("option-change",{detail:t,bubbles:!0,composed:!0})}}class Xo extends o.FtLitElement{constructor(){super(...arguments),this.value="",this.label="",this.tooltipPosition="bottom",this.selected=!1,this.trailingIcon=!1,this.unselectable=!1}focus(){this.input.focus()}update(t){super.update(t),t.has("selected")&&this.dispatchEvent(new qo(this.selected))}render(){const t={"ft-switch-option":!0,"ft-switch-option--trailing-icon":this.trailingIcon,"ft-switch-option--selected":this.selected};return this.addTooltip(e.html`
|
|
426
432
|
<label part="label" for="input" class=${i.classMap(t)}
|
|
427
433
|
@click=${this.onChange}>
|
|
428
434
|
<div class="ft-switch-option--content">
|
|
@@ -444,23 +450,23 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
444
450
|
position="${this.tooltipPosition}">
|
|
445
451
|
${t}
|
|
446
452
|
</ft-tooltip>
|
|
447
|
-
`}onChange(){this.selected=!this.unselectable||!this.selected,this.dispatchEvent(new
|
|
453
|
+
`}onChange(){this.selected=!this.unselectable||!this.selected,this.dispatchEvent(new Vo(this.selected))}getLabel(){return this.label||this.textContent}resolveIcon(){return this.icon?e.html`
|
|
448
454
|
<ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
|
|
449
|
-
`:e.nothing}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}}
|
|
455
|
+
`:e.nothing}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}}Xo.elementDefinitions={"ft-ripple":b,"ft-typography":Uo,"ft-tooltip":Bo,"ft-icon":Mo},Xo.styles=[o.safariEllipsisFix,_o],Yo([r.property()],Xo.prototype,"value",void 0),Yo([r.property()],Xo.prototype,"icon",void 0),Yo([r.property()],Xo.prototype,"iconVariant",void 0),Yo([r.property()],Xo.prototype,"label",void 0),Yo([r.property()],Xo.prototype,"tooltipPosition",void 0),Yo([r.property({type:Boolean,reflect:!0})],Xo.prototype,"selected",void 0),Yo([r.property({type:Boolean})],Xo.prototype,"trailingIcon",void 0),Yo([r.property({type:Boolean})],Xo.prototype,"unselectable",void 0),Yo([r.query(".ft-switch-option--content slot")],Xo.prototype,"slottedContent",void 0),Yo([r.query(".ft-switch-option--input")],Xo.prototype,"input",void 0);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 Qo extends CustomEvent{constructor(t){super("change",{detail:t})}}class te extends o.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.unselectable=!1,this.options=[]}get value(){var t;return null===(t=this.selectedOption)||void 0===t?void 0:t.value}update(t){super.update(t),t.has("selectedOption")&&this.updateOptions(),t.has("unselectable")&&this.options.forEach((t=>t.unselectable=this.unselectable))}render(){const t={"ft-switch":!0,"ft-switch--dense":this.dense};return e.html`
|
|
450
456
|
<div @keydown=${this.onKeyDown} tabindex="0" class="${i.classMap(t)}">
|
|
451
457
|
<slot @slotchange=${this.onSlotchange}
|
|
452
458
|
@option-change=${this.onOptionChangeByScript}
|
|
453
459
|
@option-change-by-user=${this.onOptionChangeByUser}
|
|
454
460
|
></slot>
|
|
455
461
|
</div>
|
|
456
|
-
`}onKeyDown(t){let o;"ArrowDown"!=t.key&&"ArrowRight"!=t.key||(o=this.selectedOption?this.options.indexOf(this.selectedOption)+1:0),"ArrowUp"!=t.key&&"ArrowLeft"!=t.key||(o=this.selectedOption?this.options.indexOf(this.selectedOption)-1:this.options.length-1),null!=o&&(t.preventDefault(),this.options[this.fixIndex(o)].selected=!0)}fixIndex(t){return t<0?this.options.length-1:t>this.options.length-1?0:t}onSlotchange(){var t;this.options=[],null===(t=this.slottedContent)||void 0===t||t.assignedElements().forEach((t=>{t instanceof
|
|
462
|
+
`}onKeyDown(t){let o;"ArrowDown"!=t.key&&"ArrowRight"!=t.key||(o=this.selectedOption?this.options.indexOf(this.selectedOption)+1:0),"ArrowUp"!=t.key&&"ArrowLeft"!=t.key||(o=this.selectedOption?this.options.indexOf(this.selectedOption)-1:this.options.length-1),null!=o&&(t.preventDefault(),this.options[this.fixIndex(o)].selected=!0)}fixIndex(t){return t<0?this.options.length-1:t>this.options.length-1?0:t}onSlotchange(){var t;this.options=[],null===(t=this.slottedContent)||void 0===t||t.assignedElements().forEach((t=>{t instanceof Xo&&this.registerOption(t)})),this.selectedOption=this.options.find((t=>t.selected))}registerOption(t){t.setAttribute("tabindex","-1"),t.unselectable=this.unselectable,this.options.push(t)}onOptionChangeByScript(t){t.stopPropagation();let o=t.target;this.onOptionChange(o)}onOptionChangeByUser(t){var o;t.stopPropagation(),this.onOptionChange(t.target),this.dispatchEvent(new Qo(null===(o=this.selectedOption)||void 0===o?void 0:o.value))}onOptionChange(t){t.selected?this.selectedOption=t:this.selectedOption=this.options.find((t=>t.selected))}private(t){t.selected?this.selectedOption=t:this.selectedOption=this.options.find((t=>t.selected))}focus(){this.ftSwitchDiv.focus()}updateOptions(){this.options.forEach((t=>{t.selected=t===this.selectedOption}))}}te.elementDefinitions={},te.styles=e.css`
|
|
457
463
|
:host {
|
|
458
464
|
display: inline-block;
|
|
459
465
|
}
|
|
460
466
|
|
|
461
467
|
.ft-switch {
|
|
462
|
-
border-radius: ${
|
|
463
|
-
outline-color: ${
|
|
468
|
+
border-radius: ${Po.borderRadius};
|
|
469
|
+
outline-color: ${Po.outlineColor};
|
|
464
470
|
}
|
|
465
471
|
|
|
466
472
|
.ft-switch slot {
|
|
@@ -469,22 +475,22 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
469
475
|
}
|
|
470
476
|
|
|
471
477
|
.ft-switch slot::slotted(ft-switch-option) {
|
|
472
|
-
${o.setVariable(
|
|
473
|
-
${o.setVariable(
|
|
474
|
-
${o.setVariable(
|
|
478
|
+
${o.setVariable(To.borderRadiusLeft,"0")};
|
|
479
|
+
${o.setVariable(To.borderRadiusRight,"0")};
|
|
480
|
+
${o.setVariable(To.borderWidthLeft,"0")};
|
|
475
481
|
}
|
|
476
482
|
|
|
477
483
|
.ft-switch slot::slotted(ft-switch-option:first-child) {
|
|
478
|
-
${o.setVariable(
|
|
479
|
-
${o.setVariable(
|
|
484
|
+
${o.setVariable(To.borderRadiusLeft,Po.borderRadius)};
|
|
485
|
+
${o.setVariable(To.borderWidthLeft,"1px")};
|
|
480
486
|
}
|
|
481
487
|
|
|
482
488
|
.ft-switch slot::slotted(ft-switch-option:last-child) {
|
|
483
|
-
${o.setVariable(
|
|
489
|
+
${o.setVariable(To.borderRadiusRight,Po.borderRadius)};
|
|
484
490
|
}
|
|
485
491
|
|
|
486
492
|
.ft-switch--dense slot::slotted(ft-switch-option) {
|
|
487
493
|
--ft-switch-internal-vertical-padding: 2px;
|
|
488
494
|
--ft-switch-internal-horizontal-padding: 4px;
|
|
489
495
|
}
|
|
490
|
-
`,
|
|
496
|
+
`,Jo([r.property({type:Boolean})],te.prototype,"dense",void 0),Jo([r.property({type:Boolean})],te.prototype,"unselectable",void 0),Jo([r.query(".ft-switch slot")],te.prototype,"slottedContent",void 0),Jo([r.state()],te.prototype,"selectedOption",void 0),Jo([r.query(".ft-switch")],te.prototype,"ftSwitchDiv",void 0),o.customElement("ft-switch")(te),o.customElement("ft-switch-option")(Xo),t.FtSwitch=te,t.FtSwitchChange=Qo,t.FtSwitchCssVariables=Po,t.FtSwitchOption=Xo,t.FtSwitchOptionCssVariables=To,t.SwitchOptionChange=qo,t.SwitchOptionChangeByUser=Vo,t.optionStyles=_o}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
|