@fluid-topics/ft-dialog 1.1.12 → 1.1.13
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-dialog.light.js +11 -11
- package/build/ft-dialog.min.js +3 -3
- package/package.json +6 -6
package/build/ft-dialog.light.js
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* Copyright 2017 Google LLC
|
|
5
5
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
6
|
*/
|
|
7
|
-
const a=globalThis,l=a.trustedTypes,c=l?l.createPolicy("lit-html",{createHTML:t=>t}):void 0,s="$lit$",p=`lit$${(Math.random()+"").slice(9)}$`,f="?"+p,d=`<${f}>`,h=document,g=()=>h.createComment(""),y=t=>null===t||"object"!=typeof t&&"function"!=typeof t,u=Array.isArray,b="[ \t\n\f\r]",m=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,x=/-->/g,O=/>/g,v=RegExp(`>|${b}(?:([^\\s"'>=/]+)(${b}*=${b}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),N=/'/g,S=/"/g,w=/^(?:script|style|textarea|title)$/i,C=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),$=Symbol.for("lit-noChange"),I=Symbol.for("lit-nothing"),R=new WeakMap,U=h.createTreeWalker(h,129);function
|
|
7
|
+
const a=globalThis,l=a.trustedTypes,c=l?l.createPolicy("lit-html",{createHTML:t=>t}):void 0,s="$lit$",p=`lit$${(Math.random()+"").slice(9)}$`,f="?"+p,d=`<${f}>`,h=document,g=()=>h.createComment(""),y=t=>null===t||"object"!=typeof t&&"function"!=typeof t,u=Array.isArray,b="[ \t\n\f\r]",m=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,x=/-->/g,O=/>/g,v=RegExp(`>|${b}(?:([^\\s"'>=/]+)(${b}*=${b}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),N=/'/g,S=/"/g,w=/^(?:script|style|textarea|title)$/i,C=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),$=Symbol.for("lit-noChange"),I=Symbol.for("lit-nothing"),R=new WeakMap,U=h.createTreeWalker(h,129);function k(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==c?c.createHTML(o):o}const W=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=m;for(let o=0;o<e;o++){const e=t[o];let l,c,f=-1,h=0;for(;h<e.length&&(a.lastIndex=h,c=a.exec(e),null!==c);)h=a.lastIndex,a===m?"!--"===c[1]?a=x:void 0!==c[1]?a=O:void 0!==c[2]?(w.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=v):void 0!==c[3]&&(a=v):a===v?">"===c[0]?(a=i??m,f=-1):void 0===c[1]?f=-2:(f=a.lastIndex-c[2].length,l=c[1],a=void 0===c[3]?v:'"'===c[3]?S:N):a===S||a===N?a=v:a===x||a===O?a=m:(a=v,i=void 0);const g=a===v&&t[o+1].startsWith("/>")?" ":"";n+=a===m?e+d:f>=0?(r.push(l),e.slice(0,f)+s+e.slice(f)+p+g):e+p+(-2===f?o:g)}return[k(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class E{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,c=this.parts,[d,h]=W(t,o);if(this.el=E.createElement(d,e),U.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=U.nextNode())&&c.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(s)){const o=h[n++],e=r.getAttribute(t).split(p),a=/([.?@])?(.*)/.exec(o);c.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?B:"?"===a[1]?F:"@"===a[1]?D:z}),r.removeAttribute(t)}else t.startsWith(p)&&(c.push({type:6,index:i}),r.removeAttribute(t));if(w.test(r.tagName)){const t=r.textContent.split(p),o=t.length-1;if(o>0){r.textContent=l?l.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],g()),U.nextNode(),c.push({type:2,index:++i});r.append(t[o],g())}}}else if(8===r.nodeType)if(r.data===f)c.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(p,t+1));)c.push({type:7,index:i}),t+=p.length-1}i++}}static createElement(t,o){const e=h.createElement("template");return e.innerHTML=t,e}}function L(t,o,e=t,r){if(o===$)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=y(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=L(t,i._$AS(t,o.values),i,r)),o}class Z{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??h).importNode(o,!0);U.currentNode=r;let i=U.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new K(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new A(i,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(i=U.nextNode(),n++)}return U.currentNode=h,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 K{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=I,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=L(this,t,o),y(t)?t===I||null==t||""===t?(this._$AH!==I&&this._$AR(),this._$AH=I):t!==this._$AH&&t!==$&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>u(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!==I&&y(this._$AH)?this._$AA.nextSibling.data=t:this.$(h.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=E.createElement(k(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new Z(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=R.get(t.strings);return void 0===o&&R.set(t.strings,o=new E(t)),o}T(t){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 K(this.k(g()),this.k(g()),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 z{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=I,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=I}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=L(this,t,o,0),n=!y(t)||t!==this._$AH&&t!==$,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=L(this,r[e+a],o,a),l===$&&(l=this._$AH[a]),n||=!y(l)||l!==this._$AH[a],l===I?t=I:t!==I&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===I?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class B extends z{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===I?void 0:t}}class F extends z{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==I)}}class D extends z{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=L(this,t,o,0)??I)===$)return;const e=this._$AH,r=t===I&&e!==I||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==I&&(e===I||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 A{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){L(this,t)}}const H=a.litHtmlPolyfillSupport;H?.(E,K),(a.litHtmlVersions??=[]).push("3.1.0");
|
|
8
8
|
/**
|
|
9
9
|
* @license
|
|
10
10
|
* Copyright 2020 Google LLC
|
|
11
11
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12
12
|
*/
|
|
13
|
-
const G=Symbol.for(""),P=t=>{if(t?.r===G)return t?._$litStatic$},j=t=>({_$litStatic$:t,r:G}),T=new Map,M=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],l=[];let c,s=0,p=!1;for(;s<r;){for(c=o[s];s<r&&void 0!==(n=e[s],i=P(n));)c+=i+o[++s],p=!0;s!==r&&l.push(n),a.push(c),s++}if(s===r&&a.push(o[r]),p){const t=a.join("$$lit$$");void 0===(o=T.get(t))&&(a.raw=a,T.set(t,o=a)),e=l}return t(o,...e)})(C);var Y;!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"}(Y||(Y={}));const _=t=>"string"==typeof t?e.unsafeCSS(t):t;class V{static create(t,o,r,i){const n=t=>_(null!=t?t:i),a=e.css`var(${_(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${_(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(t,o,r,i){const n=t=>r.get(null!=t?t:i),a=e.css`var(${_(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r.category,a.fallbackVariable=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${_(t)}, ${n(o)})`,a.breadcrumb=()=>[r.name,...r.breadcrumb()],a.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),a}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):_(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${_(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(${_(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const X={colorWhite:V.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:V.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:V.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:V.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:V.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:V.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:V.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:V.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:V.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:V.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:V.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:V.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:V.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:V.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:V.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:V.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:V.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:V.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:V.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:V.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:V.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:V.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:V.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:V.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:V.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:V.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:V.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:V.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:V.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:V.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:V.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:V.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:V.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:V.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:V.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:V.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:V.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:V.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:V.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:V.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:V.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:V.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:V.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:V.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:V.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:V.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:V.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:V.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:V.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:V.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:V.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:V.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:V.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:V.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:V.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:V.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:V.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:V.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:V.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:V.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:V.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:V.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:V.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:V.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:V.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:V.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:V.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:V.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:V.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:V.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:V.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:V.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:V.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:V.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:V.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:V.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:V.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:V.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:V.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:V.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:V.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:V.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:V.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:V.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:V.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:V.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:V.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:V.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:V.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:V.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:V.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:V.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:V.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:V.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:V.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:V.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:V.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:V.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:V.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:V.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:V.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:V.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:V.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:V.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:V.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:V.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:V.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:V.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:V.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:V.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:V.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:V.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:V.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:V.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:V.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:V.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:V.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:V.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:V.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:V.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:V.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:V.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:V.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:V.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:V.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:V.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:V.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:V.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:V.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:V.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:V.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:V.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:V.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:V.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:V.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:V.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:V.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:V.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:V.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:V.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:V.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:V.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:V.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:V.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:V.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:V.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:V.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:V.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:V.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:V.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:V.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:V.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:V.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:V.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:V.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:V.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:V.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:V.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:V.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:V.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:V.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:V.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:V.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:V.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:V.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:V.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:V.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:V.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:V.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:V.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:V.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:V.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:V.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:V.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:V.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:V.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:V.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:V.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:V.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:V.create("--ft-icon-size-6","","SIZE","48px"),opacity0:V.create("--ft-opacity-0","","NUMBER","0"),opacity8:V.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:V.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:V.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:V.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:V.create("--ft-opacity-80","","NUMBER","0.8")},q={display:{fontFamily:V.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:V.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:V.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:V.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:V.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:V.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:V.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:V.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:V.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:V.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:V.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:V.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:V.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:V.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:V.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:V.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:V.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:V.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:V.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:V.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:V.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:V.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:V.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:V.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:V.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:V.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:V.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:V.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:V.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:V.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:V.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:V.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:V.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:V.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:V.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:V.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:V.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:V.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:V.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:V.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:V.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:V.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:V.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:V.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:V.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:V.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:V.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:V.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:V.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:V.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:V.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:V.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:V.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:V.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:V.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:V.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:V.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:V.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:V.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:V.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:V.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:V.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:V.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:V.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:V.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:V.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:V.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:V.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:V.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:V.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:V.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:V.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:V.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:V.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:V.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:V.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:V.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:V.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:V.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:V.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:V.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:V.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:V.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:V.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:V.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:V.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:V.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:V.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:V.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:V.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:V.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:V.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:V.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:V.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:V.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:V.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:V.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:V.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:V.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:V.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:V.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:V.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:V.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:V.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:V.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:V.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:V.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:V.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:V.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:V.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:V.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:V.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},J={backgroundActionPrimary:V.extend("--ft-background-action-primary","Used as backgorund of primary action components.",X.colorBrand0),backgroundErrorPrimary:V.extend("--ft-background-error-primary","Used as background of error components.",X.colorRed0),backgroundErrorSubtle:V.extend("--ft-background-error-subtle","Used as background of subtle error components.",X.colorRed10),backgroundInfoPrimary:V.extend("--ft-background-info-primary","Used as background of information components.",X.colorCyan200),backgroundInfoSubtle:V.extend("--ft-background-info-subtle","Used as background of subtle information components.",X.colorCyan10),backgroundWarningPrimary:V.extend("--ft-background-warning-primary","Used as background of warning components.",X.colorOrange300),backgroundWarningSubtle:V.extend("--ft-background-warning-subtle","Used as background of subtle information components.",X.colorOrange10),backgroundSuccessPrimary:V.extend("--ft-background-success-primary","Used as background of success components.",X.colorGreen200),backgroundSuccessSubtle:V.extend("--ft-background-success-subtle","Used as background of subtle success components.",X.colorGreen10),backgroundGlobalSurface:V.extend("--ft-background-global-surface","Used as app background.",X.colorWhite),backgroundGlobalOnSurface:V.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",X.colorGray10),backgroundGlobalOnSurfaceDark:V.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",X.colorGray30),contentActionPrimary:V.extend("--ft-content-action-primary","Used on label of primary action on light surface.",X.colorBrand0),contentWarningPrimary:V.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",X.colorOrange300),contentWarningIconOnly:V.extend("--ft-content-warning-icon-only","Used on warning status icons alone",X.colorOrange0),contentErrorPrimary:V.extend("--ft-content-error-primary","Used on label of error messages on light surface.",X.colorRed0),contentErrorIconOnly:V.extend("--ft-content-error-icon-only","Used on error status icons alone",X.colorRed0),contentInfoPrimary:V.extend("--ft-content-info-primary","Used on label of information messages on light surface.",X.colorCyan200),contentInfoIconOnly:V.extend("--ft-content-info-icon-only","Used on info status icons alone",X.colorCyan0),contentSuccessIconOnly:V.extend("--ft-content-success-icon-only","Used on success status icons alone",X.colorGreen0),contentSuccessPrimary:V.extend("--ft-content-success-primary","Used on label of success messages on light surface.",X.colorGreen200),contentGlobalPrimary:V.extend("--ft-content-global-primary","Used for main content on the page.",X.colorGray500),contentGlobalSecondary:V.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",X.colorGray200),contentGlobalSubtle:V.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",X.colorGray0),contentGlobalOnColor:V.extend("--ft-content-global-on-color","Used for content on a dominant color.",X.colorWhite),borderActionPrimary:V.extend("--ft-border-action-primary","Used as border for primary action components.",X.colorBrand0),borderActionFocusRing:V.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",X.colorCyan0),borderWarningPrimary:V.extend("--ft-border-warning-primary","Used as border for warning components.",X.colorOrange30),borderSuccessPrimary:V.extend("--ft-border-success-primary","Used as border for success components.",X.colorGreen30),borderErrorPrimary:V.extend("--ft-border-error-primary","Used as border for error components.",X.colorRed30),borderInfoPrimary:V.extend("--ft-border-info-primary","Used as border for information components.",X.colorCyan30),borderGlobalSubtle:V.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",X.colorGray30),borderGlobalPrimary:V.extend("--ft-border-global-primary","Used as border for element like input.",X.colorGray50),borderInputPrimary:V.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",X.colorGray80)},Q={largeHeight:V.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:V.extend("--ft-button-large-horizontal-padding","",X.spacing4),largeGap:V.extend("--ft-button-large-gap","",X.spacing2),largeBorderRadius:V.extend("--ft-button-large-border-radius","",X.borderRadiusS),largeIconSize:V.extend("--ft-button-large-icon-size","",X.iconSize3),largeBorderWidth:V.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:V.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:V.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:V.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:V.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:V.extend("--ft-button-small-horizontal-padding","",X.spacing3),smallGap:V.extend("--ft-button-small-gap","",X.spacing2),smallBorderRadius:V.extend("--ft-button-small-border-radius","",X.borderRadiusS),smallIconSize:V.extend("--ft-button-small-icon-size","",X.iconSize2),smallBorderWidth:V.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:V.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:V.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:V.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:V.extend("--ft-button-primary-background-color","",J.backgroundActionPrimary),primaryColor:V.extend("--ft-button-primary-color","",J.contentGlobalOnColor),primaryIconColor:V.extend("--ft-button-primary-icon-color","",J.contentGlobalOnColor),primaryStateLayerColor:V.extend("--ft-button-primary-state-layer-color","",J.contentGlobalOnColor),primaryStateLayerOpacityHover:V.extend("--ft-button-primary-state-layer-opacity-hover","",X.opacity16),primaryStateLayerOpacityFocus:V.extend("--ft-button-primary-state-layer-opacity-focus","",X.opacity16),primaryStateLayerOpacityActive:V.extend("--ft-button-primary-state-layer-opacity-active","",X.opacity24),primaryComponentOpacityDisabled:V.extend("--ft-button-primary-component-opacity-disabled","",X.opacity40),focusFocusRingColor:V.extend("--ft-button-focus-focus-ring-color","",J.borderActionFocusRing),tertiaryBackgroundColor:V.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:V.extend("--ft-button-tertiary-color","",J.contentActionPrimary),tertiaryIconColor:V.extend("--ft-button-tertiary-icon-color","",J.contentActionPrimary),tertiaryStateLayerColor:V.extend("--ft-button-tertiary-state-layer-color","",J.contentActionPrimary),tertiaryStateLayerOpacityHover:V.extend("--ft-button-tertiary-state-layer-opacity-hover","",X.opacity8),tertiaryStateLayerOpacityFocus:V.extend("--ft-button-tertiary-state-layer-opacity-focus","",X.opacity8),tertiaryStateLayerOpacityActive:V.extend("--ft-button-tertiary-state-layer-opacity-active","",X.opacity16),tertiaryComponentOpacityDisabled:V.extend("--ft-button-tertiary-component-opacity-disabled","",X.opacity40),secondaryBackgroundColor:V.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:V.extend("--ft-button-secondary-color","",J.contentActionPrimary),secondaryIconColor:V.extend("--ft-button-secondary-icon-color","",J.contentActionPrimary),secondaryStateLayerColor:V.extend("--ft-button-secondary-state-layer-color","",J.contentActionPrimary),secondaryStateLayerOpacityHover:V.extend("--ft-button-secondary-state-layer-opacity-hover","",X.opacity8),secondaryStateLayerOpacityFocus:V.extend("--ft-button-secondary-state-layer-opacity-focus","",X.opacity8),secondaryStateLayerOpacityActive:V.extend("--ft-button-secondary-state-layer-opacity-active","",X.opacity16),secondaryComponentOpacityDisabled:V.extend("--ft-button-secondary-component-opacity-disabled","",X.opacity40),secondaryBorderColor:V.extend("--ft-button-secondary-border-color","",J.borderActionPrimary),neutralBackgroundColor:V.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:V.extend("--ft-button-neutral-icon-color","",J.contentGlobalSecondary),neutralColor:V.extend("--ft-button-neutral-color","",J.contentGlobalSecondary),neutralStateLayerColor:V.extend("--ft-button-neutral-state-layer-color","",J.contentGlobalSecondary),neutralStateLayerOpacityHover:V.extend("--ft-button-neutral-state-layer-opacity-hover","",X.opacity8),neutralStateLayerOpacityFocus:V.extend("--ft-button-neutral-state-layer-opacity-focus","",X.opacity8),neutralStateLayerOpacityActive:V.extend("--ft-button-neutral-state-layer-opacity-active","",X.opacity16),neutralComponentOpacityDisabled:V.extend("--ft-button-neutral-component-opacity-disabled","",X.opacity40)};V.extend("--ft-tabs-top-left-border-radius","",X.borderRadiusS),V.extend("--ft-tabs-top-right-border-radius","",X.borderRadiusS),V.extend("--ft-tabs-label-horizontal-padding","",X.spacing4),V.extend("--ft-tabs-label-vertical-padding","",X.spacing3),V.extend("--ft-tabs-label-gap","",X.spacing1),V.extend("--ft-switch-group-horizontal-padding","",X.spacing1),V.extend("--ft-switch-group-vertical-padding","",X.spacing1),V.extend("--ft-switch-group-gap","",X.spacing1),V.extend("--ft-switch-group-background-color","",J.backgroundGlobalSurface),V.extend("--ft-switch-group-border-color","",J.borderGlobalSubtle),V.create("--ft-switch-group-border-radius","","SIZE","6px"),V.extend("--ft-switch-label-horizontal-padding","",X.spacing2),V.extend("--ft-switch-label-vertical-padding","",X.spacing1),V.extend("--ft-switch-icon-horizontal-padding","",X.spacing1),V.extend("--ft-switch-icon-vertical-padding","",X.spacing1),V.create("--ft-switch-focus-outline-width","","SIZE","2px"),V.extend("--ft-switch-focus-focus-ring-color","",J.borderActionFocusRing),V.extend("--ft-switch-option-border-radius","",X.borderRadiusS),V.extend("--ft-switch-off-state-layer-opacity-hover","",X.opacity8),V.extend("--ft-switch-off-state-layer-opacity-focus","",X.opacity8),V.extend("--ft-switch-off-state-layer-opacity-active","",X.opacity16),V.extend("--ft-switch-off-component-opacity-disabled","",X.opacity40),V.extend("--ft-switch-off-color","",J.contentGlobalSubtle),V.extend("--ft-switch-off-state-layer-color","",J.contentGlobalSubtle),V.extend("--ft-chart-1-light","for area color charts",X.colorBrand40),V.extend("--ft-chart-1-base","for line charts",X.colorBrand0),V.extend("--ft-chart-2-light","for area color charts",X.colorYellow60),V.extend("--ft-chart-2-base","for line charts",X.colorYellow100),V.extend("--ft-chart-3-light","",X.colorUltramarine40),V.extend("--ft-chart-3-base","",X.colorUltramarine70),V.extend("--ft-chart-4-light","",X.colorCyan50),V.extend("--ft-chart-4-base","",X.colorCyan100),V.extend("--ft-chart-5-light","",X.colorRed40),V.extend("--ft-chart-5-base","",X.colorRed60),V.extend("--ft-chart-6-light","",X.colorGreen40),V.extend("--ft-chart-6-base","",X.colorGreen70),V.extend("--ft-chart-7-light","",X.colorOrange70),V.extend("--ft-chart-7-base","",X.colorOrange100),V.extend("--ft-chart-8-light","",X.colorAvocado70),V.extend("--ft-chart-8-base","",X.colorAvocado200),V.extend("--ft-chart-9-light","",X.colorBrown50),V.extend("--ft-chart-9-base","",X.colorBrown200),V.extend("--ft-chart-10-light","",X.colorGray50),V.extend("--ft-chart-10-base","",X.colorGray80),V.extend("--ft-chart-monochrome-10","",X.colorBrand10),V.extend("--ft-chart-monochrome-20","",X.colorBrand20),V.extend("--ft-chart-monochrome-30","",X.colorBrand40),V.extend("--ft-chart-monochrome-40","",X.colorBrand60),V.extend("--ft-chart-monochrome-50","",X.colorBrand0),V.extend("--ft-chart-monochrome-60","",X.colorBrand200),V.extend("--ft-chip-large-horizontal-padding","",X.spacing4),V.extend("--ft-chip-large-vertical-padding","",X.spacing2),V.extend("--ft-chip-large-gap","",X.spacing1),V.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),V.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),V.extend("--ft-chip-large-border-radius","",X.borderRadiusPill),V.create("--ft-chip-large-border-width","","SIZE","1px"),V.extend("--ft-chip-large-icon-size","",X.iconSize3),V.extend("--ft-chip-medium-horizontal-padding","",X.spacing3),V.extend("--ft-chip-medium-vertical-padding","",X.spacing1),V.extend("--ft-chip-medium-gap","",X.spacing1),V.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),V.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),V.extend("--ft-chip-medium-border-radius","",X.borderRadiusPill),V.create("--ft-chip-medium-border-width","","SIZE","1px"),V.extend("--ft-chip-medium-icon-size","",X.iconSize2),V.extend("--ft-chip-small-horizontal-padding","",X.spacing2),V.extend("--ft-chip-small-vertical-padding","",X.spacing05),V.extend("--ft-chip-small-gap","",X.spacing1),V.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),V.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),V.extend("--ft-chip-small-border-radius","",X.borderRadiusPill),V.create("--ft-chip-small-border-width","","SIZE","1px"),V.extend("--ft-chip-small-icon-size","",X.iconSize1),V.extend("--ft-chip-neutral-background-color","",J.backgroundGlobalOnSurface),V.extend("--ft-chip-neutral-color","",J.contentGlobalPrimary),V.extend("--ft-chip-neutral-border-color","",J.borderGlobalSubtle),V.extend("--ft-chip-info-background-color","",J.backgroundInfoSubtle),V.extend("--ft-chip-info-color","",J.contentInfoPrimary),V.extend("--ft-chip-info-border-color","",J.borderInfoPrimary),V.extend("--ft-chip-success-background-color","",J.backgroundSuccessSubtle),V.extend("--ft-chip-success-color","",J.contentSuccessPrimary),V.extend("--ft-chip-success-border-color","",J.borderSuccessPrimary),V.extend("--ft-chip-warning-background-color","",J.backgroundWarningSubtle),V.extend("--ft-chip-warning-color","",J.contentWarningPrimary),V.extend("--ft-chip-warning-border-color","",J.borderWarningPrimary),V.extend("--ft-chip-error-background-color","",J.backgroundErrorSubtle),V.extend("--ft-chip-error-color","",J.contentErrorPrimary),V.extend("--ft-chip-error-border-color","",J.borderErrorPrimary),V.create("--ft-notice-border-width","","SIZE","1px"),V.extend("--ft-notice-horizontal-padding","",X.spacing2),V.extend("--ft-notice-vertical-padding","",X.spacing1),V.extend("--ft-notice-border-radius","",X.borderRadiusS),V.extend("--ft-notice-gap","",X.spacing2),V.extend("--ft-notice-icon-size","",X.iconSize3),V.extend("--ft-notice-info-background-color","",J.backgroundInfoSubtle),V.extend("--ft-notice-info-border-color","",J.borderInfoPrimary),V.extend("--ft-notice-info-color","",J.contentInfoPrimary),V.extend("--ft-notice-warning-background-color","",J.backgroundWarningSubtle),V.extend("--ft-notice-warning-border-color","",J.borderWarningPrimary),V.extend("--ft-notice-warning-color","",J.contentWarningPrimary),V.extend("--ft-checkbox-label-color","",J.contentGlobalPrimary),V.extend("--ft-checkbox-checked-background-color","",J.contentActionPrimary),V.extend("--ft-checkbox-checked-state-layer-color","",J.contentActionPrimary),V.extend("--ft-checkbox-checked-color","",J.contentGlobalOnColor),V.extend("--ft-checkbox-checked-state-layer-opacity-hover","",X.opacity16),V.extend("--ft-checkbox-checked-state-layer-opacity-focus","",X.opacity16),V.extend("--ft-checkbox-checked-state-layer-opacity-active","",X.opacity24),V.extend("--ft-checkbox-checked-component-opacity-disabled","",X.opacity40),V.extend("--ft-checkbox-unchecked-border-color","",X.colorGray80),V.extend("--ft-checkbox-unchecked-state-layer-color","",X.colorGray80),V.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",X.opacity16),V.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",X.opacity16),V.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",X.opacity24),V.extend("--ft-checkbox-unchecked-component-opacity-disabled","",X.opacity40),V.extend("--ft-checkbox-focus-focus-ring-color","",J.borderActionFocusRing),V.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),V.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),V.extend("--ft-checkbox-gap","",X.spacing3),V.extend("--ft-toggle-off-state-layer-opacity-hover","",X.opacity16),V.extend("--ft-toggle-off-state-layer-opacity-focus","",X.opacity16),V.extend("--ft-toggle-off-state-layer-opacity-active","",X.opacity24),V.extend("--ft-toggle-off-component-opacity-disabled","",X.opacity40),V.extend("--ft-toggle-off-background-color","",J.contentGlobalSubtle),V.extend("--ft-toggle-off-icon-color","",J.contentGlobalSubtle),V.extend("--ft-toggle-off-state-layer-color","",J.contentGlobalSubtle),V.extend("--ft-toggle-on-state-layer-opacity-hover","",X.opacity16),V.extend("--ft-toggle-on-state-layer-opacity-focus","",X.opacity16),V.extend("--ft-toggle-on-state-layer-opacity-active","",X.opacity24),V.extend("--ft-toggle-on-component-opacity-disabled","",X.opacity40),V.extend("--ft-toggle-on-background-color","",J.contentActionPrimary),V.extend("--ft-toggle-on-icon-color","",J.contentActionPrimary),V.extend("--ft-toggle-on-state-layer-color","",J.contentActionPrimary),V.extend("--ft-toggle-label-color","",J.contentGlobalPrimary),V.extend("--ft-toggle-focus-focus-ring-color","",J.borderActionFocusRing),V.extend("--ft-toggle-gap","",X.spacing3),V.extend("--ft-radio-label-color","",J.contentGlobalPrimary),V.extend("--ft-radio-selected-color","",J.contentActionPrimary),V.extend("--ft-radio-selected-state-layer-color","",J.contentActionPrimary),V.extend("--ft-radio-selected-state-layer-opacity-hover","",X.opacity16),V.extend("--ft-radio-selected-state-layer-opacity-focus","",X.opacity16),V.extend("--ft-radio-selected-state-layer-opacity-active","",X.opacity24),V.extend("--ft-radio-selected-component-opacity-disabled","",X.opacity40),V.extend("--ft-radio-unselected-state-layer-color","",X.colorGray80),V.extend("--ft-radio-unselected-state-layer-opacity-hover","",X.opacity16),V.extend("--ft-radio-unselected-state-layer-opacity-focus","",X.opacity16),V.extend("--ft-radio-unselected-state-layer-opacity-active","",X.opacity24),V.extend("--ft-radio-unselected-component-opacity-disabled","",X.opacity40),V.extend("--ft-radio-focus-focus-ring-color","",J.borderActionFocusRing),V.create("--ft-radio-focus-outline-offset","","SIZE","3px"),V.create("--ft-radio-focus-outline-width","","SIZE","2px"),V.extend("--ft-radio-gap","",X.spacing3),V.extend("--ft-notification-icon-size","",X.iconSize4),V.extend("--ft-notification-horizontal-padding","",X.spacing4),V.extend("--ft-notification-vertical-padding","",X.spacing4),V.extend("--ft-notification-info-background-color","",J.backgroundInfoSubtle),V.extend("--ft-notification-info-color","",J.contentInfoPrimary),V.extend("--ft-notification-info-border-color","",J.borderInfoPrimary),V.extend("--ft-notification-success-background-color","",J.backgroundSuccessSubtle),V.extend("--ft-notification-success-color","",J.contentSuccessPrimary),V.extend("--ft-notification-success-border-color","",J.borderSuccessPrimary),V.extend("--ft-notification-warning-background-color","",J.backgroundWarningSubtle),V.extend("--ft-notification-warning-color","",J.contentWarningPrimary),V.extend("--ft-notification-warning-border-color","",J.borderWarningPrimary),V.extend("--ft-notification-error-background-color","",J.backgroundErrorSubtle),V.extend("--ft-notification-error-color","",J.contentErrorPrimary),V.extend("--ft-notification-error-border-color","",J.borderErrorPrimary),V.extend("--ft-notification-border-radius","",X.borderRadiusPill),V.create("--ft-notification-border-width","","SIZE","1px"),V.extend("--ft-notification-gap-leading","",X.spacing2),V.extend("--ft-notification-gap-trailing","",X.spacing8);const tt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),ot=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),et={fontFamily:ot,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")},rt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",tt),it=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",et.fontSize,"20px"),nt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",et.fontWeight,"normal"),at=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",et.letterSpacing,"0.15px"),lt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",et.lineHeight,"1.2"),ct=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",et.textTransform,"inherit"),st=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",tt),pt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",et.fontSize,"14px"),ft=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",et.fontWeight,"normal"),dt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",et.letterSpacing,"0.105px"),ht=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",et.lineHeight,"1.7"),gt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",et.textTransform,"inherit"),yt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ot),ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",et.fontSize,"16px"),bt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",et.fontWeight,"600"),mt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",et.letterSpacing,"0.144px"),xt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",et.lineHeight,"1.5"),Ot=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",et.textTransform,"inherit"),vt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ot),Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",et.fontSize,"14px"),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",et.fontWeight,"normal"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",et.letterSpacing,"0.098px"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",et.lineHeight,"1.7"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",et.textTransform,"inherit"),It=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ot),Rt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",et.fontSize,"16px"),Ut=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",et.fontWeight,"normal"),Wt=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",et.letterSpacing,"0.496px"),Et=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",et.lineHeight,"1.5"),kt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",et.textTransform,"inherit"),Lt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ot),Zt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",et.fontSize,"14px"),Kt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",et.fontWeight,"normal"),zt=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",et.letterSpacing,"0.252px"),Bt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",et.lineHeight,"1.4"),Ft=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",et.textTransform,"inherit"),Dt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ot),At=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",et.fontSize,"12px"),Ht=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",et.fontWeight,"normal"),Gt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",et.letterSpacing,"0.396px"),Pt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",et.lineHeight,"1.33"),jt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",et.textTransform,"inherit"),Tt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ot),Mt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",et.fontSize,"10px"),Yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",et.fontWeight,"normal"),_t=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",et.letterSpacing,"0.33px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",et.lineHeight,"1.6"),Xt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",et.textTransform,"inherit"),qt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ot),Jt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",et.fontSize,"10px"),Qt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",et.fontWeight,"normal"),to=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",et.letterSpacing,"1.5px"),oo=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",et.lineHeight,"1.6"),eo=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",et.textTransform,"uppercase"),ro={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ot),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",et.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",et.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",et.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",et.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",et.textTransform,"uppercase")},io=e.css`
|
|
13
|
+
const G=Symbol.for(""),P=t=>{if(t?.r===G)return t?._$litStatic$},j=t=>({_$litStatic$:t,r:G}),T=new Map,M=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],l=[];let c,s=0,p=!1;for(;s<r;){for(c=o[s];s<r&&void 0!==(n=e[s],i=P(n));)c+=i+o[++s],p=!0;s!==r&&l.push(n),a.push(c),s++}if(s===r&&a.push(o[r]),p){const t=a.join("$$lit$$");void 0===(o=T.get(t))&&(a.raw=a,T.set(t,o=a)),e=l}return t(o,...e)})(C);var Y;!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"}(Y||(Y={}));const _=t=>"string"==typeof t?e.unsafeCSS(t):t;class V{static create(t,o,r,i){const n=t=>_(null!=t?t:i),a=e.css`var(${_(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${_(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(t,o,r,i){const n=t=>r.get(null!=t?t:i),a=e.css`var(${_(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r.category,a.fallbackVariable=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${_(t)}, ${n(o)})`,a.breadcrumb=()=>[r.name,...r.breadcrumb()],a.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),a}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):_(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${_(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(${_(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const X={colorWhite:V.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:V.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:V.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:V.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:V.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:V.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:V.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:V.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:V.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:V.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:V.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:V.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:V.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:V.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:V.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:V.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:V.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:V.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:V.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:V.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:V.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:V.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:V.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:V.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:V.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:V.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:V.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:V.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:V.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:V.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:V.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:V.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:V.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:V.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:V.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:V.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:V.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:V.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:V.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:V.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:V.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:V.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:V.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:V.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:V.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:V.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:V.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:V.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:V.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:V.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:V.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:V.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:V.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:V.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:V.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:V.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:V.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:V.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:V.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:V.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:V.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:V.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:V.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:V.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:V.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:V.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:V.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:V.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:V.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:V.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:V.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:V.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:V.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:V.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:V.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:V.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:V.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:V.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:V.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:V.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:V.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:V.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:V.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:V.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:V.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:V.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:V.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:V.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:V.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:V.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:V.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:V.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:V.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:V.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:V.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:V.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:V.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:V.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:V.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:V.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:V.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:V.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:V.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:V.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:V.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:V.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:V.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:V.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:V.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:V.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:V.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:V.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:V.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:V.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:V.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:V.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:V.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:V.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:V.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:V.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:V.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:V.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:V.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:V.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:V.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:V.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:V.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:V.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:V.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:V.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:V.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:V.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:V.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:V.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:V.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:V.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:V.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:V.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:V.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:V.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:V.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:V.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:V.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:V.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:V.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:V.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:V.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:V.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:V.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:V.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:V.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:V.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:V.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:V.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:V.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:V.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:V.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:V.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:V.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:V.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:V.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:V.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:V.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:V.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:V.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:V.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:V.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:V.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:V.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:V.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:V.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:V.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:V.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:V.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:V.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:V.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:V.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:V.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:V.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:V.create("--ft-icon-size-6","","SIZE","48px"),opacity0:V.create("--ft-opacity-0","","NUMBER","0"),opacity8:V.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:V.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:V.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:V.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:V.create("--ft-opacity-80","","NUMBER","0.8")},q={display:{fontFamily:V.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:V.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:V.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:V.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:V.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:V.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:V.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:V.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:V.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:V.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:V.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:V.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:V.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:V.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:V.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:V.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:V.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:V.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:V.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:V.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:V.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:V.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:V.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:V.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:V.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:V.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:V.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:V.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:V.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:V.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:V.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:V.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:V.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:V.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:V.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:V.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:V.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:V.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:V.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:V.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:V.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:V.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:V.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:V.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:V.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:V.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:V.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:V.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:V.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:V.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:V.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:V.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:V.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:V.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:V.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:V.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:V.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:V.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:V.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:V.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:V.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:V.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:V.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:V.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:V.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:V.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:V.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:V.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:V.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:V.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:V.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:V.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:V.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:V.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:V.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:V.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:V.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:V.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:V.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:V.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:V.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:V.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:V.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:V.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:V.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:V.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:V.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:V.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:V.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:V.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:V.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:V.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:V.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:V.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:V.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:V.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:V.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:V.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:V.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:V.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:V.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:V.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:V.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:V.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:V.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:V.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:V.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:V.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:V.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:V.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:V.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:V.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:V.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:V.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:V.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:V.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:V.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},J={backgroundActionPrimary:V.extend("--ft-background-action-primary","Used as backgorund of primary action components.",X.colorBrand0),backgroundErrorPrimary:V.extend("--ft-background-error-primary","Used as background of error components.",X.colorRed0),backgroundErrorSubtle:V.extend("--ft-background-error-subtle","Used as background of subtle error components.",X.colorRed10),backgroundInfoPrimary:V.extend("--ft-background-info-primary","Used as background of information components.",X.colorCyan200),backgroundInfoSubtle:V.extend("--ft-background-info-subtle","Used as background of subtle information components.",X.colorCyan10),backgroundWarningPrimary:V.extend("--ft-background-warning-primary","Used as background of warning components.",X.colorOrange300),backgroundWarningSubtle:V.extend("--ft-background-warning-subtle","Used as background of subtle information components.",X.colorOrange10),backgroundSuccessPrimary:V.extend("--ft-background-success-primary","Used as background of success components.",X.colorGreen200),backgroundSuccessSubtle:V.extend("--ft-background-success-subtle","Used as background of subtle success components.",X.colorGreen10),backgroundGlobalSurface:V.extend("--ft-background-global-surface","Used as app background.",X.colorWhite),backgroundGlobalOnSurface:V.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",X.colorGray10),backgroundGlobalOnSurfaceDark:V.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",X.colorGray30),contentActionPrimary:V.extend("--ft-content-action-primary","Used on label of primary action on light surface.",X.colorBrand0),contentWarningPrimary:V.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",X.colorOrange300),contentWarningIconOnly:V.extend("--ft-content-warning-icon-only","Used on warning status icons alone",X.colorOrange0),contentErrorPrimary:V.extend("--ft-content-error-primary","Used on label of error messages on light surface.",X.colorRed0),contentErrorIconOnly:V.extend("--ft-content-error-icon-only","Used on error status icons alone",X.colorRed0),contentInfoPrimary:V.extend("--ft-content-info-primary","Used on label of information messages on light surface.",X.colorCyan200),contentInfoIconOnly:V.extend("--ft-content-info-icon-only","Used on info status icons alone",X.colorCyan0),contentSuccessIconOnly:V.extend("--ft-content-success-icon-only","Used on success status icons alone",X.colorGreen0),contentSuccessPrimary:V.extend("--ft-content-success-primary","Used on label of success messages on light surface.",X.colorGreen200),contentGlobalPrimary:V.extend("--ft-content-global-primary","Used for main content on the page.",X.colorGray500),contentGlobalSecondary:V.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",X.colorGray200),contentGlobalSubtle:V.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",X.colorGray0),contentGlobalOnColor:V.extend("--ft-content-global-on-color","Used for content on a dominant color.",X.colorWhite),borderActionPrimary:V.extend("--ft-border-action-primary","Used as border for primary action components.",X.colorBrand0),borderActionFocusRing:V.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",X.colorCyan0),borderWarningPrimary:V.extend("--ft-border-warning-primary","Used as border for warning components.",X.colorOrange30),borderSuccessPrimary:V.extend("--ft-border-success-primary","Used as border for success components.",X.colorGreen30),borderErrorPrimary:V.extend("--ft-border-error-primary","Used as border for error components.",X.colorRed30),borderInfoPrimary:V.extend("--ft-border-info-primary","Used as border for information components.",X.colorCyan30),borderGlobalSubtle:V.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",X.colorGray30),borderGlobalPrimary:V.extend("--ft-border-global-primary","Used as border for element like input.",X.colorGray50),borderInputPrimary:V.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",X.colorGray80)},Q={largeHeight:V.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:V.extend("--ft-button-large-horizontal-padding","",X.spacing4),largeGap:V.extend("--ft-button-large-gap","",X.spacing2),largeBorderRadius:V.extend("--ft-button-large-border-radius","",X.borderRadiusS),largeIconSize:V.extend("--ft-button-large-icon-size","",X.iconSize3),largeBorderWidth:V.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:V.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:V.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:V.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:V.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:V.extend("--ft-button-small-horizontal-padding","",X.spacing3),smallGap:V.extend("--ft-button-small-gap","",X.spacing2),smallBorderRadius:V.extend("--ft-button-small-border-radius","",X.borderRadiusS),smallIconSize:V.extend("--ft-button-small-icon-size","",X.iconSize2),smallBorderWidth:V.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:V.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:V.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:V.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:V.extend("--ft-button-primary-background-color","",J.backgroundActionPrimary),primaryColor:V.extend("--ft-button-primary-color","",J.contentGlobalOnColor),primaryIconColor:V.extend("--ft-button-primary-icon-color","",J.contentGlobalOnColor),primaryStateLayerColor:V.extend("--ft-button-primary-state-layer-color","",J.contentGlobalOnColor),primaryStateLayerOpacityHover:V.extend("--ft-button-primary-state-layer-opacity-hover","",X.opacity16),primaryStateLayerOpacityFocus:V.extend("--ft-button-primary-state-layer-opacity-focus","",X.opacity16),primaryStateLayerOpacityActive:V.extend("--ft-button-primary-state-layer-opacity-active","",X.opacity24),primaryComponentOpacityDisabled:V.extend("--ft-button-primary-component-opacity-disabled","",X.opacity40),focusFocusRingColor:V.extend("--ft-button-focus-focus-ring-color","",J.borderActionFocusRing),tertiaryBackgroundColor:V.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:V.extend("--ft-button-tertiary-color","",J.contentActionPrimary),tertiaryIconColor:V.extend("--ft-button-tertiary-icon-color","",J.contentActionPrimary),tertiaryStateLayerColor:V.extend("--ft-button-tertiary-state-layer-color","",J.contentActionPrimary),tertiaryStateLayerOpacityHover:V.extend("--ft-button-tertiary-state-layer-opacity-hover","",X.opacity8),tertiaryStateLayerOpacityFocus:V.extend("--ft-button-tertiary-state-layer-opacity-focus","",X.opacity8),tertiaryStateLayerOpacityActive:V.extend("--ft-button-tertiary-state-layer-opacity-active","",X.opacity16),tertiaryComponentOpacityDisabled:V.extend("--ft-button-tertiary-component-opacity-disabled","",X.opacity40),secondaryBackgroundColor:V.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:V.extend("--ft-button-secondary-color","",J.contentActionPrimary),secondaryIconColor:V.extend("--ft-button-secondary-icon-color","",J.contentActionPrimary),secondaryStateLayerColor:V.extend("--ft-button-secondary-state-layer-color","",J.contentActionPrimary),secondaryStateLayerOpacityHover:V.extend("--ft-button-secondary-state-layer-opacity-hover","",X.opacity8),secondaryStateLayerOpacityFocus:V.extend("--ft-button-secondary-state-layer-opacity-focus","",X.opacity8),secondaryStateLayerOpacityActive:V.extend("--ft-button-secondary-state-layer-opacity-active","",X.opacity16),secondaryComponentOpacityDisabled:V.extend("--ft-button-secondary-component-opacity-disabled","",X.opacity40),secondaryBorderColor:V.extend("--ft-button-secondary-border-color","",J.borderActionPrimary),neutralBackgroundColor:V.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:V.extend("--ft-button-neutral-icon-color","",J.contentGlobalSecondary),neutralColor:V.extend("--ft-button-neutral-color","",J.contentGlobalSecondary),neutralStateLayerColor:V.extend("--ft-button-neutral-state-layer-color","",J.contentGlobalSecondary),neutralStateLayerOpacityHover:V.extend("--ft-button-neutral-state-layer-opacity-hover","",X.opacity8),neutralStateLayerOpacityFocus:V.extend("--ft-button-neutral-state-layer-opacity-focus","",X.opacity8),neutralStateLayerOpacityActive:V.extend("--ft-button-neutral-state-layer-opacity-active","",X.opacity16),neutralComponentOpacityDisabled:V.extend("--ft-button-neutral-component-opacity-disabled","",X.opacity40)};V.extend("--ft-tabs-top-left-border-radius","",X.borderRadiusS),V.extend("--ft-tabs-top-right-border-radius","",X.borderRadiusS),V.extend("--ft-tabs-label-horizontal-padding","",X.spacing4),V.extend("--ft-tabs-label-vertical-padding","",X.spacing3),V.extend("--ft-tabs-label-gap","",X.spacing1),V.extend("--ft-switch-group-horizontal-padding","",X.spacing1),V.extend("--ft-switch-group-vertical-padding","",X.spacing1),V.extend("--ft-switch-group-gap","",X.spacing1),V.extend("--ft-switch-group-background-color","",J.backgroundGlobalSurface),V.extend("--ft-switch-group-border-color","",J.borderGlobalSubtle),V.create("--ft-switch-group-border-radius","","SIZE","6px"),V.extend("--ft-switch-label-horizontal-padding","",X.spacing2),V.extend("--ft-switch-label-vertical-padding","",X.spacing1),V.extend("--ft-switch-icon-horizontal-padding","",X.spacing1),V.extend("--ft-switch-icon-vertical-padding","",X.spacing1),V.create("--ft-switch-focus-outline-width","","SIZE","2px"),V.extend("--ft-switch-focus-focus-ring-color","",J.borderActionFocusRing),V.extend("--ft-switch-option-border-radius","",X.borderRadiusS),V.extend("--ft-switch-off-state-layer-opacity-hover","",X.opacity8),V.extend("--ft-switch-off-state-layer-opacity-focus","",X.opacity8),V.extend("--ft-switch-off-state-layer-opacity-active","",X.opacity16),V.extend("--ft-switch-off-component-opacity-disabled","",X.opacity40),V.extend("--ft-switch-off-color","",J.contentGlobalSubtle),V.extend("--ft-switch-off-state-layer-color","",J.contentGlobalSubtle),V.extend("--ft-chart-1-light","for area color charts",X.colorBrand40),V.extend("--ft-chart-1-base","for line charts",X.colorBrand0),V.extend("--ft-chart-2-light","for area color charts",X.colorYellow60),V.extend("--ft-chart-2-base","for line charts",X.colorYellow100),V.extend("--ft-chart-3-light","",X.colorUltramarine40),V.extend("--ft-chart-3-base","",X.colorUltramarine70),V.extend("--ft-chart-4-light","",X.colorCyan50),V.extend("--ft-chart-4-base","",X.colorCyan100),V.extend("--ft-chart-5-light","",X.colorRed40),V.extend("--ft-chart-5-base","",X.colorRed60),V.extend("--ft-chart-6-light","",X.colorGreen40),V.extend("--ft-chart-6-base","",X.colorGreen70),V.extend("--ft-chart-7-light","",X.colorOrange70),V.extend("--ft-chart-7-base","",X.colorOrange100),V.extend("--ft-chart-8-light","",X.colorAvocado70),V.extend("--ft-chart-8-base","",X.colorAvocado200),V.extend("--ft-chart-9-light","",X.colorBrown50),V.extend("--ft-chart-9-base","",X.colorBrown200),V.extend("--ft-chart-10-light","",X.colorGray50),V.extend("--ft-chart-10-base","",X.colorGray80),V.extend("--ft-chart-monochrome-10","",X.colorBrand10),V.extend("--ft-chart-monochrome-20","",X.colorBrand20),V.extend("--ft-chart-monochrome-30","",X.colorBrand40),V.extend("--ft-chart-monochrome-40","",X.colorBrand60),V.extend("--ft-chart-monochrome-50","",X.colorBrand0),V.extend("--ft-chart-monochrome-60","",X.colorBrand200),V.extend("--ft-chip-large-horizontal-padding","",X.spacing4),V.extend("--ft-chip-large-vertical-padding","",X.spacing2),V.extend("--ft-chip-large-gap","",X.spacing1),V.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),V.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),V.extend("--ft-chip-large-border-radius","",X.borderRadiusPill),V.create("--ft-chip-large-border-width","","SIZE","1px"),V.extend("--ft-chip-large-icon-size","",X.iconSize3),V.extend("--ft-chip-medium-horizontal-padding","",X.spacing3),V.extend("--ft-chip-medium-vertical-padding","",X.spacing1),V.extend("--ft-chip-medium-gap","",X.spacing1),V.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),V.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),V.extend("--ft-chip-medium-border-radius","",X.borderRadiusPill),V.create("--ft-chip-medium-border-width","","SIZE","1px"),V.extend("--ft-chip-medium-icon-size","",X.iconSize2),V.extend("--ft-chip-small-horizontal-padding","",X.spacing2),V.extend("--ft-chip-small-vertical-padding","",X.spacing05),V.extend("--ft-chip-small-gap","",X.spacing1),V.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),V.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),V.extend("--ft-chip-small-border-radius","",X.borderRadiusPill),V.create("--ft-chip-small-border-width","","SIZE","1px"),V.extend("--ft-chip-small-icon-size","",X.iconSize1),V.extend("--ft-chip-neutral-background-color","",J.backgroundGlobalOnSurface),V.extend("--ft-chip-neutral-color","",J.contentGlobalPrimary),V.extend("--ft-chip-neutral-border-color","",J.borderGlobalSubtle),V.extend("--ft-chip-info-background-color","",J.backgroundInfoSubtle),V.extend("--ft-chip-info-color","",J.contentInfoPrimary),V.extend("--ft-chip-info-border-color","",J.borderInfoPrimary),V.extend("--ft-chip-success-background-color","",J.backgroundSuccessSubtle),V.extend("--ft-chip-success-color","",J.contentSuccessPrimary),V.extend("--ft-chip-success-border-color","",J.borderSuccessPrimary),V.extend("--ft-chip-warning-background-color","",J.backgroundWarningSubtle),V.extend("--ft-chip-warning-color","",J.contentWarningPrimary),V.extend("--ft-chip-warning-border-color","",J.borderWarningPrimary),V.extend("--ft-chip-error-background-color","",J.backgroundErrorSubtle),V.extend("--ft-chip-error-color","",J.contentErrorPrimary),V.extend("--ft-chip-error-border-color","",J.borderErrorPrimary),V.create("--ft-notice-border-width","","SIZE","1px"),V.extend("--ft-notice-horizontal-padding","",X.spacing2),V.extend("--ft-notice-vertical-padding","",X.spacing1),V.extend("--ft-notice-border-radius","",X.borderRadiusS),V.extend("--ft-notice-gap","",X.spacing2),V.extend("--ft-notice-icon-size","",X.iconSize3),V.extend("--ft-notice-info-background-color","",J.backgroundInfoSubtle),V.extend("--ft-notice-info-border-color","",J.borderInfoPrimary),V.extend("--ft-notice-info-color","",J.contentInfoPrimary),V.extend("--ft-notice-warning-background-color","",J.backgroundWarningSubtle),V.extend("--ft-notice-warning-border-color","",J.borderWarningPrimary),V.extend("--ft-notice-warning-color","",J.contentWarningPrimary),V.extend("--ft-checkbox-label-color","",J.contentGlobalPrimary),V.extend("--ft-checkbox-checked-background-color","",J.contentActionPrimary),V.extend("--ft-checkbox-checked-state-layer-color","",J.contentActionPrimary),V.extend("--ft-checkbox-checked-color","",J.contentGlobalOnColor),V.extend("--ft-checkbox-checked-state-layer-opacity-hover","",X.opacity16),V.extend("--ft-checkbox-checked-state-layer-opacity-focus","",X.opacity16),V.extend("--ft-checkbox-checked-state-layer-opacity-active","",X.opacity24),V.extend("--ft-checkbox-checked-component-opacity-disabled","",X.opacity40),V.extend("--ft-checkbox-unchecked-border-color","",X.colorGray80),V.extend("--ft-checkbox-unchecked-state-layer-color","",X.colorGray80),V.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",X.opacity16),V.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",X.opacity16),V.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",X.opacity24),V.extend("--ft-checkbox-unchecked-component-opacity-disabled","",X.opacity40),V.extend("--ft-checkbox-focus-focus-ring-color","",J.borderActionFocusRing),V.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),V.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),V.extend("--ft-checkbox-gap","",X.spacing3),V.extend("--ft-toggle-off-state-layer-opacity-hover","",X.opacity16),V.extend("--ft-toggle-off-state-layer-opacity-focus","",X.opacity16),V.extend("--ft-toggle-off-state-layer-opacity-active","",X.opacity24),V.extend("--ft-toggle-off-component-opacity-disabled","",X.opacity40),V.extend("--ft-toggle-off-background-color","",J.contentGlobalSubtle),V.extend("--ft-toggle-off-icon-color","",J.contentGlobalSubtle),V.extend("--ft-toggle-off-state-layer-color","",J.contentGlobalSubtle),V.extend("--ft-toggle-on-state-layer-opacity-hover","",X.opacity16),V.extend("--ft-toggle-on-state-layer-opacity-focus","",X.opacity16),V.extend("--ft-toggle-on-state-layer-opacity-active","",X.opacity24),V.extend("--ft-toggle-on-component-opacity-disabled","",X.opacity40),V.extend("--ft-toggle-on-background-color","",J.contentActionPrimary),V.extend("--ft-toggle-on-icon-color","",J.contentActionPrimary),V.extend("--ft-toggle-on-state-layer-color","",J.contentActionPrimary),V.extend("--ft-toggle-label-color","",J.contentGlobalPrimary),V.extend("--ft-toggle-focus-focus-ring-color","",J.borderActionFocusRing),V.extend("--ft-toggle-gap","",X.spacing3),V.extend("--ft-radio-label-color","",J.contentGlobalPrimary),V.extend("--ft-radio-selected-color","",J.contentActionPrimary),V.extend("--ft-radio-selected-state-layer-color","",J.contentActionPrimary),V.extend("--ft-radio-selected-state-layer-opacity-hover","",X.opacity16),V.extend("--ft-radio-selected-state-layer-opacity-focus","",X.opacity16),V.extend("--ft-radio-selected-state-layer-opacity-active","",X.opacity24),V.extend("--ft-radio-selected-component-opacity-disabled","",X.opacity40),V.extend("--ft-radio-unselected-state-layer-color","",X.colorGray80),V.extend("--ft-radio-unselected-state-layer-opacity-hover","",X.opacity16),V.extend("--ft-radio-unselected-state-layer-opacity-focus","",X.opacity16),V.extend("--ft-radio-unselected-state-layer-opacity-active","",X.opacity24),V.extend("--ft-radio-unselected-component-opacity-disabled","",X.opacity40),V.extend("--ft-radio-focus-focus-ring-color","",J.borderActionFocusRing),V.create("--ft-radio-focus-outline-offset","","SIZE","3px"),V.create("--ft-radio-focus-outline-width","","SIZE","2px"),V.extend("--ft-radio-gap","",X.spacing3),V.extend("--ft-notification-icon-size","",X.iconSize4),V.extend("--ft-notification-horizontal-padding","",X.spacing4),V.extend("--ft-notification-vertical-padding","",X.spacing4),V.extend("--ft-notification-info-background-color","",J.backgroundInfoSubtle),V.extend("--ft-notification-info-color","",J.contentInfoPrimary),V.extend("--ft-notification-info-border-color","",J.borderInfoPrimary),V.extend("--ft-notification-success-background-color","",J.backgroundSuccessSubtle),V.extend("--ft-notification-success-color","",J.contentSuccessPrimary),V.extend("--ft-notification-success-border-color","",J.borderSuccessPrimary),V.extend("--ft-notification-warning-background-color","",J.backgroundWarningSubtle),V.extend("--ft-notification-warning-color","",J.contentWarningPrimary),V.extend("--ft-notification-warning-border-color","",J.borderWarningPrimary),V.extend("--ft-notification-error-background-color","",J.backgroundErrorSubtle),V.extend("--ft-notification-error-color","",J.contentErrorPrimary),V.extend("--ft-notification-error-border-color","",J.borderErrorPrimary),V.extend("--ft-notification-border-radius","",X.borderRadiusPill),V.create("--ft-notification-border-width","","SIZE","1px"),V.extend("--ft-notification-gap-leading","",X.spacing2),V.extend("--ft-notification-gap-trailing","",X.spacing8);const tt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),ot=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),et={fontFamily:ot,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")},rt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",tt),it=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",et.fontSize,"20px"),nt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",et.fontWeight,"normal"),at=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",et.letterSpacing,"0.15px"),lt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",et.lineHeight,"1.2"),ct=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",et.textTransform,"inherit"),st=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",tt),pt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",et.fontSize,"14px"),ft=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",et.fontWeight,"normal"),dt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",et.letterSpacing,"0.105px"),ht=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",et.lineHeight,"1.7"),gt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",et.textTransform,"inherit"),yt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ot),ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",et.fontSize,"16px"),bt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",et.fontWeight,"600"),mt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",et.letterSpacing,"0.144px"),xt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",et.lineHeight,"1.5"),Ot=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",et.textTransform,"inherit"),vt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ot),Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",et.fontSize,"14px"),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",et.fontWeight,"normal"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",et.letterSpacing,"0.098px"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",et.lineHeight,"1.7"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",et.textTransform,"inherit"),It=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ot),Rt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",et.fontSize,"16px"),Ut=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",et.fontWeight,"normal"),kt=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",et.letterSpacing,"0.496px"),Wt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",et.lineHeight,"1.5"),Et=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",et.textTransform,"inherit"),Lt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ot),Zt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",et.fontSize,"14px"),Kt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",et.fontWeight,"normal"),zt=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",et.letterSpacing,"0.252px"),Bt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",et.lineHeight,"1.4"),Ft=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",et.textTransform,"inherit"),Dt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ot),At=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",et.fontSize,"12px"),Ht=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",et.fontWeight,"normal"),Gt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",et.letterSpacing,"0.396px"),Pt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",et.lineHeight,"1.33"),jt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",et.textTransform,"inherit"),Tt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ot),Mt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",et.fontSize,"10px"),Yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",et.fontWeight,"normal"),_t=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",et.letterSpacing,"0.33px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",et.lineHeight,"1.6"),Xt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",et.textTransform,"inherit"),qt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ot),Jt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",et.fontSize,"10px"),Qt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",et.fontWeight,"normal"),to=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",et.letterSpacing,"1.5px"),oo=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",et.lineHeight,"1.6"),eo=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",et.textTransform,"uppercase"),ro={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ot),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",et.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",et.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",et.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",et.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",et.textTransform,"uppercase")},io=e.css`
|
|
14
14
|
.ft-typography--title {
|
|
15
15
|
font-family: ${rt};
|
|
16
16
|
font-size: ${it};
|
|
@@ -52,9 +52,9 @@ const G=Symbol.for(""),P=t=>{if(t?.r===G)return t?._$litStatic$},j=t=>({_$litSta
|
|
|
52
52
|
font-family: ${It};
|
|
53
53
|
font-size: ${Rt};
|
|
54
54
|
font-weight: ${Ut};
|
|
55
|
-
letter-spacing: ${
|
|
56
|
-
line-height: ${
|
|
57
|
-
text-transform: ${
|
|
55
|
+
letter-spacing: ${kt};
|
|
56
|
+
line-height: ${Wt};
|
|
57
|
+
text-transform: ${Et};
|
|
58
58
|
}
|
|
59
59
|
`,so=e.css`
|
|
60
60
|
.ft-typography--body2 {
|
|
@@ -174,7 +174,7 @@ const G=Symbol.for(""),P=t=>{if(t?.r===G)return t?._$litStatic$},j=t=>({_$litSta
|
|
|
174
174
|
${i.unsafeHTML(this.resolvedIcon)}
|
|
175
175
|
<slot ?hidden=${o}></slot>
|
|
176
176
|
</i>
|
|
177
|
-
`}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 So.file_format:this.resolvedIcon=null!==(t=mo[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case So.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=bo[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Co.elementDefinitions={},Co.styles=No,wo([r.property()],Co.prototype,"variant",void 0),wo([r.property()],Co.prototype,"value",void 0),wo([r.state()],Co.prototype,"resolvedIcon",void 0),wo([r.query("slot")],Co.prototype,"slottedContent",void 0),o.customElement("ft-icon")(Co);const $o=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),Io={color:$o,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",$o),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Ro=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),Uo=Ro,
|
|
177
|
+
`}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 So.file_format:this.resolvedIcon=null!==(t=mo[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case So.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=bo[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Co.elementDefinitions={},Co.styles=No,wo([r.property()],Co.prototype,"variant",void 0),wo([r.property()],Co.prototype,"value",void 0),wo([r.state()],Co.prototype,"resolvedIcon",void 0),wo([r.query("slot")],Co.prototype,"slottedContent",void 0),o.customElement("ft-icon")(Co);const $o=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),Io={color:$o,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",$o),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Ro=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),Uo=Ro,ko=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ro),Wo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),Eo=Wo,Lo=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Wo),Zo=e.css`
|
|
178
178
|
:host {
|
|
179
179
|
display: contents;
|
|
180
180
|
}
|
|
@@ -233,11 +233,11 @@ const G=Symbol.for(""),P=t=>{if(t?.r===G)return t?._$litStatic$},j=t=>({_$litSta
|
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
236
|
-
background-color: ${
|
|
236
|
+
background-color: ${Eo};
|
|
237
237
|
}
|
|
238
238
|
|
|
239
239
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
240
|
-
background-color: ${
|
|
240
|
+
background-color: ${ko};
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
@@ -532,7 +532,7 @@ const G=Symbol.for(""),P=t=>{if(t?.r===G)return t?._$litStatic$},j=t=>({_$litSta
|
|
|
532
532
|
position: relative;
|
|
533
533
|
word-break: break-word;
|
|
534
534
|
}
|
|
535
|
-
`,oe=["start","end"],ee=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+oe[0],o+"-"+oe[1])),[]),re=Math.min,ie=Math.max,ne=Math.round,ae=t=>({x:t,y:t}),le={left:"right",right:"left",bottom:"top",top:"bottom"},ce={start:"end",end:"start"};function se(t,o,e){return ie(t,re(o,e))}function pe(t,o){return"function"==typeof t?t(o):t}function fe(t){return t.split("-")[0]}function de(t){return t.split("-")[1]}function he(t){return"x"===t?"y":"x"}function ge(t){return"y"===t?"height":"width"}function ye(t){return["top","bottom"].includes(fe(t))?"y":"x"}function ue(t){return he(ye(t))}function be(t){return t.replace(/left|right|bottom|top/g,(t=>le[t]))}function me(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function xe(t,o,e){let{reference:r,floating:i}=t;const n=ye(o),a=ue(o),l=ge(a),c=fe(o),s="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(c){case"top":h={x:p,y:r.y-i.height};break;case"bottom":h={x:p,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(de(o)){case"start":h[a]-=d*(e&&s?-1:1);break;case"end":h[a]+=d*(e&&s?-1:1)}return h}async function Oe(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=pe(o,t),g=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),y=l[d?"floating"===f?"reference":"floating":f],u=me(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:s,rootBoundary:p,strategy:c})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=me(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(u.top-O.top+g.top)/x.y,bottom:(O.bottom-u.bottom+g.bottom)/x.y,left:(u.left-O.left+g.left)/x.x,right:(O.right-u.right+g.right)/x.x}}function ve(t,o,e){return(t?[...e.filter((o=>de(o)===t)),...e.filter((o=>de(o)!==t))]:e.filter((t=>fe(t)===t))).filter((e=>!t||(de(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>ce[t]))}(e)!==e)))}const Ne=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:c,elements:s}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:d=ee,autoAlignment:h=!0,...g}=pe(t,o),y=void 0!==f||d===ee?ve(f||null,h,d):d,u=await Oe(o,g),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=de(t),i=ue(t),n=ge(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=be(a)),[a,be(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:y[0]}};const O=[u[fe(m)],u[x[0]],u[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=y[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=de(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,de(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function Se(t){return $e(t)?(t.nodeName||"").toLowerCase():"#document"}function we(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Ce(t){var o;return null==(o=($e(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function $e(t){return t instanceof Node||t instanceof we(t).Node}function Ie(t){return t instanceof Element||t instanceof we(t).Element}function Re(t){return t instanceof HTMLElement||t instanceof we(t).HTMLElement}function Ue(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof we(t).ShadowRoot)}function We(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Ke(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function Ee(t){return["table","td","th"].includes(Se(t))}function ke(t){const o=Le(),e=Ke(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Le(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ze(t){return["html","body","#document"].includes(Se(t))}function Ke(t){return we(t).getComputedStyle(t)}function ze(t){return Ie(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Be(t){if("html"===Se(t))return t;const o=t.assignedSlot||t.parentNode||Ue(t)&&t.host||Ce(t);return Ue(o)?o.host:o}function Fe(t){const o=Be(t);return Ze(o)?t.ownerDocument?t.ownerDocument.body:t.body:Re(o)&&We(o)?o:Fe(o)}function De(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=Fe(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=we(i);return n?o.concat(a,a.visualViewport||[],We(i)?i:[],a.frameElement&&e?De(a.frameElement):[]):o.concat(i,De(i,[],e))}function Ae(t){const o=Ke(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Re(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=ne(e)!==n||ne(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function He(t){return Ie(t)?t:t.contextElement}function Ge(t){const o=He(t);if(!Re(o))return ae(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=Ae(o);let a=(n?ne(e.width):e.width)/r,l=(n?ne(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Pe=ae(0);function je(t){const o=we(t);return Le()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Pe}function Te(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=He(t);let a=ae(1);o&&(r?Ie(r)&&(a=Ge(r)):a=Ge(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==we(t))&&o}(n,e,r)?je(n):ae(0);let c=(i.left+l.x)/a.x,s=(i.top+l.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=we(n),o=r&&Ie(r)?we(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Ge(e),o=e.getBoundingClientRect(),r=Ke(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,p*=t.x,f*=t.y,c+=i,s+=n,e=we(e).frameElement}}return me({width:p,height:f,x:c,y:s})}function Me(t){return Te(Ce(t)).left+ze(t).scrollLeft}function Ye(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=we(t),r=Ce(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,c=0;if(i){n=i.width,a=i.height;const t=Le();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=Ce(t),e=ze(t),r=t.ownerDocument.body,i=ie(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=ie(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Me(t);const l=-e.scrollTop;return"rtl"===Ke(r).direction&&(a+=ie(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(Ce(t));else if(Ie(o))r=function(t,o){const e=Te(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Re(t)?Ge(t):ae(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=je(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return me(r)}function _e(t,o){const e=Be(t);return!(e===o||!Ie(e)||Ze(e))&&("fixed"===Ke(e).position||_e(e,o))}function Ve(t,o,e){const r=Re(o),i=Ce(o),n="fixed"===e,a=Te(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const c=ae(0);if(r||!r&&!n)if(("body"!==Se(o)||We(i))&&(l=ze(o)),r){const t=Te(o,!0,n,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=Me(i));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function Xe(t,o){return Re(t)&&"fixed"!==Ke(t).position?o?o(t):t.offsetParent:null}function qe(t,o){const e=we(t);if(!Re(t))return e;let r=Xe(t,o);for(;r&&Ee(r)&&"static"===Ke(r).position;)r=Xe(r,o);return r&&("html"===Se(r)||"body"===Se(r)&&"static"===Ke(r).position&&!ke(r))?e:r||function(t){let o=Be(t);for(;Re(o)&&!Ze(o);){if(ke(o))return o;o=Be(o)}return null}(t)||e}const Je={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Re(e),n=Ce(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=ae(1);const c=ae(0);if((i||!i&&"fixed"!==r)&&(("body"!==Se(e)||We(n))&&(a=ze(e)),Re(e))){const t=Te(e);l=Ge(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+c.x,y:o.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:Ce,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=De(t,[],!1).filter((t=>Ie(t)&&"body"!==Se(t))),i=null;const n="fixed"===Ke(t).position;let a=n?Be(t):t;for(;Ie(a)&&!Ze(a);){const o=Ke(a),e=ke(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||We(a)&&!e&&_e(t,a))?r=r.filter((t=>t!==a)):i=o,a=Be(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],l=n.reduce(((t,e)=>{const r=Ye(o,e,i);return t.top=ie(r.top,t.top),t.right=re(r.right,t.right),t.bottom=re(r.bottom,t.bottom),t.left=ie(r.left,t.left),t}),Ye(o,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:qe,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||qe,n=this.getDimensions;return{reference:Ve(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ae(t)},getScale:Ge,isElement:Ie,isRTL:function(t){return"rtl"===Ke(t).direction}},Qe=(t,o,e)=>{const r=new Map,i={platform:Je,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let s=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=xe(s,r,c),d=r,h={},g=0;for(let e=0;e<l.length;e++){const{name:n,fn:y}=l[e],{x:u,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:s,platform:a,elements:{reference:t,floating:o}});p=null!=u?u:p,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&g<=50&&(g++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=xe(s,d,c))),e=-1)}return{x:p,y:f,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function tr(t){return function(t){for(let o=t;o;o=or(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=or(t);o;o=or(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function or(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var er=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class rr 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`
|
|
535
|
+
`,oe=["start","end"],ee=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+oe[0],o+"-"+oe[1])),[]),re=Math.min,ie=Math.max,ne=Math.round,ae=t=>({x:t,y:t}),le={left:"right",right:"left",bottom:"top",top:"bottom"},ce={start:"end",end:"start"};function se(t,o,e){return ie(t,re(o,e))}function pe(t,o){return"function"==typeof t?t(o):t}function fe(t){return t.split("-")[0]}function de(t){return t.split("-")[1]}function he(t){return"x"===t?"y":"x"}function ge(t){return"y"===t?"height":"width"}function ye(t){return["top","bottom"].includes(fe(t))?"y":"x"}function ue(t){return he(ye(t))}function be(t){return t.replace(/left|right|bottom|top/g,(t=>le[t]))}function me(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function xe(t,o,e){let{reference:r,floating:i}=t;const n=ye(o),a=ue(o),l=ge(a),c=fe(o),s="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(c){case"top":h={x:p,y:r.y-i.height};break;case"bottom":h={x:p,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(de(o)){case"start":h[a]-=d*(e&&s?-1:1);break;case"end":h[a]+=d*(e&&s?-1:1)}return h}async function Oe(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=pe(o,t),g=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),y=l[d?"floating"===f?"reference":"floating":f],u=me(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:s,rootBoundary:p,strategy:c})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=me(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(u.top-O.top+g.top)/x.y,bottom:(O.bottom-u.bottom+g.bottom)/x.y,left:(u.left-O.left+g.left)/x.x,right:(O.right-u.right+g.right)/x.x}}function ve(t,o,e){return(t?[...e.filter((o=>de(o)===t)),...e.filter((o=>de(o)!==t))]:e.filter((t=>fe(t)===t))).filter((e=>!t||(de(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>ce[t]))}(e)!==e)))}const Ne=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:c,elements:s}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:d=ee,autoAlignment:h=!0,...g}=pe(t,o),y=void 0!==f||d===ee?ve(f||null,h,d):d,u=await Oe(o,g),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=de(t),i=ue(t),n=ge(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=be(a)),[a,be(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:y[0]}};const O=[u[fe(m)],u[x[0]],u[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=y[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=de(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,de(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function Se(t){return $e(t)?(t.nodeName||"").toLowerCase():"#document"}function we(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Ce(t){var o;return null==(o=($e(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function $e(t){return t instanceof Node||t instanceof we(t).Node}function Ie(t){return t instanceof Element||t instanceof we(t).Element}function Re(t){return t instanceof HTMLElement||t instanceof we(t).HTMLElement}function Ue(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof we(t).ShadowRoot)}function ke(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Ke(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function We(t){return["table","td","th"].includes(Se(t))}function Ee(t){const o=Le(),e=Ke(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Le(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ze(t){return["html","body","#document"].includes(Se(t))}function Ke(t){return we(t).getComputedStyle(t)}function ze(t){return Ie(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Be(t){if("html"===Se(t))return t;const o=t.assignedSlot||t.parentNode||Ue(t)&&t.host||Ce(t);return Ue(o)?o.host:o}function Fe(t){const o=Be(t);return Ze(o)?t.ownerDocument?t.ownerDocument.body:t.body:Re(o)&&ke(o)?o:Fe(o)}function De(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=Fe(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=we(i);return n?o.concat(a,a.visualViewport||[],ke(i)?i:[],a.frameElement&&e?De(a.frameElement):[]):o.concat(i,De(i,[],e))}function Ae(t){const o=Ke(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Re(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=ne(e)!==n||ne(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function He(t){return Ie(t)?t:t.contextElement}function Ge(t){const o=He(t);if(!Re(o))return ae(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=Ae(o);let a=(n?ne(e.width):e.width)/r,l=(n?ne(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Pe=ae(0);function je(t){const o=we(t);return Le()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Pe}function Te(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=He(t);let a=ae(1);o&&(r?Ie(r)&&(a=Ge(r)):a=Ge(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==we(t))&&o}(n,e,r)?je(n):ae(0);let c=(i.left+l.x)/a.x,s=(i.top+l.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=we(n),o=r&&Ie(r)?we(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Ge(e),o=e.getBoundingClientRect(),r=Ke(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,p*=t.x,f*=t.y,c+=i,s+=n,e=we(e).frameElement}}return me({width:p,height:f,x:c,y:s})}function Me(t){return Te(Ce(t)).left+ze(t).scrollLeft}function Ye(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=we(t),r=Ce(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,c=0;if(i){n=i.width,a=i.height;const t=Le();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=Ce(t),e=ze(t),r=t.ownerDocument.body,i=ie(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=ie(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Me(t);const l=-e.scrollTop;return"rtl"===Ke(r).direction&&(a+=ie(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(Ce(t));else if(Ie(o))r=function(t,o){const e=Te(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Re(t)?Ge(t):ae(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=je(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return me(r)}function _e(t,o){const e=Be(t);return!(e===o||!Ie(e)||Ze(e))&&("fixed"===Ke(e).position||_e(e,o))}function Ve(t,o,e){const r=Re(o),i=Ce(o),n="fixed"===e,a=Te(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const c=ae(0);if(r||!r&&!n)if(("body"!==Se(o)||ke(i))&&(l=ze(o)),r){const t=Te(o,!0,n,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=Me(i));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function Xe(t,o){return Re(t)&&"fixed"!==Ke(t).position?o?o(t):t.offsetParent:null}function qe(t,o){const e=we(t);if(!Re(t))return e;let r=Xe(t,o);for(;r&&We(r)&&"static"===Ke(r).position;)r=Xe(r,o);return r&&("html"===Se(r)||"body"===Se(r)&&"static"===Ke(r).position&&!Ee(r))?e:r||function(t){let o=Be(t);for(;Re(o)&&!Ze(o);){if(Ee(o))return o;o=Be(o)}return null}(t)||e}const Je={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Re(e),n=Ce(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=ae(1);const c=ae(0);if((i||!i&&"fixed"!==r)&&(("body"!==Se(e)||ke(n))&&(a=ze(e)),Re(e))){const t=Te(e);l=Ge(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+c.x,y:o.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:Ce,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=De(t,[],!1).filter((t=>Ie(t)&&"body"!==Se(t))),i=null;const n="fixed"===Ke(t).position;let a=n?Be(t):t;for(;Ie(a)&&!Ze(a);){const o=Ke(a),e=Ee(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||ke(a)&&!e&&_e(t,a))?r=r.filter((t=>t!==a)):i=o,a=Be(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],l=n.reduce(((t,e)=>{const r=Ye(o,e,i);return t.top=ie(r.top,t.top),t.right=re(r.right,t.right),t.bottom=re(r.bottom,t.bottom),t.left=ie(r.left,t.left),t}),Ye(o,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:qe,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||qe,n=this.getDimensions;return{reference:Ve(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ae(t)},getScale:Ge,isElement:Ie,isRTL:function(t){return"rtl"===Ke(t).direction}},Qe=(t,o,e)=>{const r=new Map,i={platform:Je,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let s=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=xe(s,r,c),d=r,h={},g=0;for(let e=0;e<l.length;e++){const{name:n,fn:y}=l[e],{x:u,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:s,platform:a,elements:{reference:t,floating:o}});p=null!=u?u:p,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&g<=50&&(g++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=xe(s,d,c))),e=-1)}return{x:p,y:f,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function tr(t){return function(t){for(let o=t;o;o=or(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=or(t);o;o=or(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function or(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var er=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class rr 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`
|
|
536
536
|
<div part="container"
|
|
537
537
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
538
538
|
@mouseenter=${this.onHover}
|
|
@@ -540,7 +540,7 @@ const G=Symbol.for(""),P=t=>{if(t?.r===G)return t?._$litStatic$},j=t=>({_$litSta
|
|
|
540
540
|
@focusin=${this.onHover}
|
|
541
541
|
@focusout=${this.onOut}
|
|
542
542
|
@touchstart=${this.onTouch}>
|
|
543
|
-
<slot part="slot"></slot>
|
|
543
|
+
<slot part="slot" @click=${this.onClick}></slot>
|
|
544
544
|
<div part="tooltip" role="tooltip" inert
|
|
545
545
|
class="ft-tooltip ft-tooltip--${this.validPosition}"
|
|
546
546
|
?hidden=${!this.visible}>
|
|
@@ -550,7 +550,7 @@ const G=Symbol.for(""),P=t=>{if(t?.r===G)return t?._$litStatic$},j=t=>({_$litSta
|
|
|
550
550
|
</div>
|
|
551
551
|
</div>
|
|
552
552
|
</div>
|
|
553
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Qe(this.slottedElement,this.tooltip,{platform:{...Je,getOffsetParent:t=>Je.getOffsetParent(t,tr)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:r,placement:i}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=pe(t,o),s={x:e,y:r},p=await Oe(o,c),f=ye(fe(i)),d=he(f);let h=s[d],g=s[f];if(n){const t="y"===d?"bottom":"right";h=se(h+p["y"===d?"top":"left"],h,h-p[t])}if(a){const t="y"===f?"bottom":"right";g=se(g+p["y"===f?"top":"left"],g,g-p[t])}const y=l.fn({...o,[d]:h,[f]:g});return{...y,data:{x:y.x-e,y:y.y-r}}}}),Ne({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),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))}}rr.elementDefinitions={"ft-typography":Oo},rr.styles=te,er([r.property()],rr.prototype,"text",void 0),er([r.property({type:Boolean})],rr.prototype,"manual",void 0),er([r.property({type:Boolean})],rr.prototype,"inline",void 0),er([r.property({type:Number})],rr.prototype,"delay",void 0),er([r.property()],rr.prototype,"position",void 0),er([r.queryAssignedNodes()],rr.prototype,"slotNodes",void 0),er([r.query(".ft-tooltip--container")],rr.prototype,"container",void 0),er([r.query(".ft-tooltip")],rr.prototype,"tooltip",void 0),er([r.query(".ft-tooltip--content")],rr.prototype,"tooltipContent",void 0),er([r.state()],rr.prototype,"visible",void 0),er([r.eventOptions({passive:!0})],rr.prototype,"onTouch",null),er([r.eventOptions({passive:!0})],rr.prototype,"onHover",null),er([r.eventOptions({passive:!0})],rr.prototype,"onOut",null),o.customElement("ft-tooltip")(rr);class ir extends o.FtLitElement{render(){return e.html`
|
|
553
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Qe(this.slottedElement,this.tooltip,{platform:{...Je,getOffsetParent:t=>Je.getOffsetParent(t,tr)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:r,placement:i}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=pe(t,o),s={x:e,y:r},p=await Oe(o,c),f=ye(fe(i)),d=he(f);let h=s[d],g=s[f];if(n){const t="y"===d?"bottom":"right";h=se(h+p["y"===d?"top":"left"],h,h-p[t])}if(a){const t="y"===f?"bottom":"right";g=se(g+p["y"===f?"top":"left"],g,g-p[t])}const y=l.fn({...o,[d]:h,[f]:g});return{...y,data:{x:y.x-e,y:y.y-r}}}}),Ne({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),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())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}rr.elementDefinitions={"ft-typography":Oo},rr.styles=te,er([r.property()],rr.prototype,"text",void 0),er([r.property({type:Boolean})],rr.prototype,"manual",void 0),er([r.property({type:Boolean})],rr.prototype,"inline",void 0),er([r.property({type:Number})],rr.prototype,"delay",void 0),er([r.property()],rr.prototype,"position",void 0),er([r.queryAssignedNodes()],rr.prototype,"slotNodes",void 0),er([r.query(".ft-tooltip--container")],rr.prototype,"container",void 0),er([r.query(".ft-tooltip")],rr.prototype,"tooltip",void 0),er([r.query(".ft-tooltip--content")],rr.prototype,"tooltipContent",void 0),er([r.state()],rr.prototype,"visible",void 0),er([r.eventOptions({passive:!0})],rr.prototype,"onTouch",null),er([r.eventOptions({passive:!0})],rr.prototype,"onHover",null),er([r.eventOptions({passive:!0})],rr.prototype,"onOut",null),er([r.eventOptions({passive:!0})],rr.prototype,"onClick",null),o.customElement("ft-tooltip")(rr);class ir extends o.FtLitElement{render(){return e.html`
|
|
554
554
|
<div class="ft-loader">
|
|
555
555
|
<div></div>
|
|
556
556
|
<div></div>
|
package/build/ft-dialog.min.js
CHANGED
|
@@ -669,7 +669,7 @@ const Si=1,Ni=2,wi=t=>(...o)=>({_$litDirective$:t,values:o});class Ci{constructo
|
|
|
669
669
|
@focusin=${this.onHover}
|
|
670
670
|
@focusout=${this.onOut}
|
|
671
671
|
@touchstart=${this.onTouch}>
|
|
672
|
-
<slot part="slot"></slot>
|
|
672
|
+
<slot part="slot" @click=${this.onClick}></slot>
|
|
673
673
|
<div part="tooltip" role="tooltip" inert
|
|
674
674
|
class="ft-tooltip ft-tooltip--${this.validPosition}"
|
|
675
675
|
?hidden=${!this.visible}>
|
|
@@ -679,13 +679,13 @@ const Si=1,Ni=2,wi=t=>(...o)=>({_$litDirective$:t,values:o});class Ci{constructo
|
|
|
679
679
|
</div>
|
|
680
680
|
</div>
|
|
681
681
|
</div>
|
|
682
|
-
`}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(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",pn(this.slottedElement,this.tooltip,{platform:{...cn,getOffsetParent:t=>cn.getOffsetParent(t,fn)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:i,placement:r}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=Or(t,o),c={x:e,y:i},p=await kr(o,l),f=Cr(vr(r)),h=Nr(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=xr(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=xr(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...o,[h]:d,[f]:u});return{...y,data:{x:y.x-e,y:y.y-i}}}}),Lr({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),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))}}un.elementDefinitions={"ft-typography":vi},un.styles=pr,dn([C()],un.prototype,"text",void 0),dn([C({type:Boolean})],un.prototype,"manual",void 0),dn([C({type:Boolean})],un.prototype,"inline",void 0),dn([C({type:Number})],un.prototype,"delay",void 0),dn([C()],un.prototype,"position",void 0),dn([
|
|
682
|
+
`}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(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",pn(this.slottedElement,this.tooltip,{platform:{...cn,getOffsetParent:t=>cn.getOffsetParent(t,fn)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:i,placement:r}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=Or(t,o),c={x:e,y:i},p=await kr(o,l),f=Cr(vr(r)),h=Nr(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=xr(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=xr(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...o,[h]:d,[f]:u});return{...y,data:{x:y.x-e,y:y.y-i}}}}),Lr({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),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())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}un.elementDefinitions={"ft-typography":vi},un.styles=pr,dn([C()],un.prototype,"text",void 0),dn([C({type:Boolean})],un.prototype,"manual",void 0),dn([C({type:Boolean})],un.prototype,"inline",void 0),dn([C({type:Number})],un.prototype,"delay",void 0),dn([C()],un.prototype,"position",void 0),dn([
|
|
683
683
|
/**
|
|
684
684
|
* @license
|
|
685
685
|
* Copyright 2017 Google LLC
|
|
686
686
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
687
687
|
*/
|
|
688
|
-
function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],un.prototype,"slotNodes",void 0),dn([U(".ft-tooltip--container")],un.prototype,"container",void 0),dn([U(".ft-tooltip")],un.prototype,"tooltip",void 0),dn([U(".ft-tooltip--content")],un.prototype,"tooltipContent",void 0),dn([$()],un.prototype,"visible",void 0),dn([R({passive:!0})],un.prototype,"onTouch",null),dn([R({passive:!0})],un.prototype,"onHover",null),dn([R({passive:!0})],un.prototype,"onOut",null),I("ft-tooltip")(un);class yn extends Fo{render(){return to`
|
|
688
|
+
function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],un.prototype,"slotNodes",void 0),dn([U(".ft-tooltip--container")],un.prototype,"container",void 0),dn([U(".ft-tooltip")],un.prototype,"tooltip",void 0),dn([U(".ft-tooltip--content")],un.prototype,"tooltipContent",void 0),dn([$()],un.prototype,"visible",void 0),dn([R({passive:!0})],un.prototype,"onTouch",null),dn([R({passive:!0})],un.prototype,"onHover",null),dn([R({passive:!0})],un.prototype,"onOut",null),dn([R({passive:!0})],un.prototype,"onClick",null),I("ft-tooltip")(un);class yn extends Fo{render(){return to`
|
|
689
689
|
<div class="ft-loader">
|
|
690
690
|
<div></div>
|
|
691
691
|
<div></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-dialog",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.13",
|
|
4
4
|
"description": "A simple dialog component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-button": "1.1.
|
|
23
|
-
"@fluid-topics/ft-icon": "1.1.
|
|
24
|
-
"@fluid-topics/ft-typography": "1.1.
|
|
25
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/ft-button": "1.1.13",
|
|
23
|
+
"@fluid-topics/ft-icon": "1.1.13",
|
|
24
|
+
"@fluid-topics/ft-typography": "1.1.13",
|
|
25
|
+
"@fluid-topics/ft-wc-utils": "1.1.13",
|
|
26
26
|
"lit": "3.1.0"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "6678af642af51eb1590bccbeeb0de8cbc5938ab1"
|
|
29
29
|
}
|