@fluid-topics/ft-filterable-table 1.1.13 → 1.1.15
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.
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* Copyright 2017 Google LLC
|
|
5
5
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
6
|
*/
|
|
7
|
-
const l=globalThis,s=l.trustedTypes,c=s?s.createPolicy("lit-html",{createHTML:t=>t}):void 0,f="$lit$",p=`lit$${(Math.random()+"").slice(9)}$`,d="?"+p,h=`<${d}>`,u=document,g=()=>u.createComment(""),y=t=>null===t||"object"!=typeof t&&"function"!=typeof t,b=Array.isArray,m="[ \t\n\f\r]",x=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,O=/>/g,$=RegExp(`>|${m}(?:([^\\s"'>=/]+)(${m}*=${m}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),N=/'/g,w=/"/g,S=/^(?:script|style|textarea|title)$/i,C=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),
|
|
7
|
+
const l=globalThis,s=l.trustedTypes,c=s?s.createPolicy("lit-html",{createHTML:t=>t}):void 0,f="$lit$",p=`lit$${(Math.random()+"").slice(9)}$`,d="?"+p,h=`<${d}>`,u=document,g=()=>u.createComment(""),y=t=>null===t||"object"!=typeof t&&"function"!=typeof t,b=Array.isArray,m="[ \t\n\f\r]",x=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,O=/>/g,$=RegExp(`>|${m}(?:([^\\s"'>=/]+)(${m}*=${m}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),N=/'/g,w=/"/g,S=/^(?:script|style|textarea|title)$/i,C=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),k=Symbol.for("lit-noChange"),I=Symbol.for("lit-nothing"),E=new WeakMap,R=u.createTreeWalker(u,129);function U(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==c?c.createHTML(e):e}const W=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=x;for(let e=0;e<o;e++){const o=t[e];let l,s,c=-1,d=0;for(;d<o.length&&(a.lastIndex=d,s=a.exec(o),null!==s);)d=a.lastIndex,a===x?"!--"===s[1]?a=v:void 0!==s[1]?a=O:void 0!==s[2]?(S.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=$):void 0!==s[3]&&(a=$):a===$?">"===s[0]?(a=r??x,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?$:'"'===s[3]?w:N):a===w||a===N?a=$:a===v||a===O?a=x:(a=$,r=void 0);const u=a===$&&t[e+1].startsWith("/>")?" ":"";n+=a===x?o+h:c>=0?(i.push(l),o.slice(0,c)+f+o.slice(c)+p+u):o+p+(-2===c?e:u)}return[U(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class L{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[c,h]=W(t,e);if(this.el=L.createElement(c,o),R.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=R.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(f)){const e=h[n++],o=i.getAttribute(t).split(p),a=/([.?@])?(.*)/.exec(e);l.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?B:"?"===a[1]?F:"@"===a[1]?A:D}),i.removeAttribute(t)}else t.startsWith(p)&&(l.push({type:6,index:r}),i.removeAttribute(t));if(S.test(i.tagName)){const t=i.textContent.split(p),e=t.length-1;if(e>0){i.textContent=s?s.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],g()),R.nextNode(),l.push({type:2,index:++r});i.append(t[e],g())}}}else if(8===i.nodeType)if(i.data===d)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(p,t+1));)l.push({type:7,index:r}),t+=p.length-1}r++}}static createElement(t,e){const o=u.createElement("template");return o.innerHTML=t,o}}function z(t,e,o=t,i){if(e===k)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=y(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=z(t,r._$AS(t,e.values),r,i)),e}class Z{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??u).importNode(e,!0);R.currentNode=i;let r=R.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new K(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new H(r,this,t)),this._$AV.push(e),l=o[++a]}n!==l?.index&&(r=R.nextNode(),n++)}return R.currentNode=u,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}class K{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=I,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=z(this,t,e),y(t)?t===I||null==t||""===t?(this._$AH!==I&&this._$AR(),this._$AH=I):t!==this._$AH&&t!==k&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>b(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.$(u.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=L.createElement(U(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new Z(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=E.get(t.strings);return void 0===e&&E.set(t.strings,e=new L(t)),e}T(t){b(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,i=0;for(const r of t)i===e.length?e.push(o=new K(this.k(g()),this.k(g()),this,this.options)):o=e[i],o._$AI(r),i++;i<e.length&&(this._$AR(o&&o._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class D{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=I,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=I}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=z(this,t,e,0),n=!y(t)||t!==this._$AH&&t!==k,n&&(this._$AH=t);else{const i=t;let a,l;for(t=r[0],a=0;a<r.length-1;a++)l=z(this,i[o+a],e,a),l===k&&(l=this._$AH[a]),n||=!y(l)||l!==this._$AH[a],l===I?t=I:t!==I&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}n&&!i&&this.O(t)}O(t){t===I?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class B extends D{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===I?void 0:t}}class F extends D{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==I)}}class A extends D{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=z(this,t,e,0)??I)===k)return;const o=this._$AH,i=t===I&&o!==I||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==I&&(o===I||i);i&&this.element.removeEventListener(this.name,this,o),r&&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 H{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){z(this,t)}}const G=l.litHtmlPolyfillSupport;G?.(L,K),(l.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 P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litStatic$:t,r:P}),T=new Map,_=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],l=[];let s,c=0,f=!1;for(;c<i;){for(s=e[c];c<i&&void 0!==(n=o[c],r=j(n));)s+=r+e[++c],f=!0;c!==i&&l.push(n),a.push(s),c++}if(c===i&&a.push(e[i]),f){const t=a.join("$$lit$$");void 0===(e=T.get(t))&&(a.raw=a,T.set(t,e=a)),o=l}return t(e,...o)})(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 V=t=>"string"==typeof t?o.unsafeCSS(t):t;class X{static create(t,e,i,r){const n=t=>V(null!=t?t:r),a=o.css`var(${V(t)}, ${n(r)})`;return a.name=t,a.description=e,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=e=>o.css`var(${V(t)}, ${n(e)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,e,i,r){const n=t=>i.get(null!=t?t:r),a=o.css`var(${V(t)}, ${n(r)})`;return a.name=t,a.description=e,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=e=>o.css`var(${V(t)}, ${n(e)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,e){const i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):V(null!=e?e:t.lastResortDefaultValue()),r=o.css`var(${V(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=i,r.get=e=>o.css`var(${V(t.name)}, ${i(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const q={colorWhite:X.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:X.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:X.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:X.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:X.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:X.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:X.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:X.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:X.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:X.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:X.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:X.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:X.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:X.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:X.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:X.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:X.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:X.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:X.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:X.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:X.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:X.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:X.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:X.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:X.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:X.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:X.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:X.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:X.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:X.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:X.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:X.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:X.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:X.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:X.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:X.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:X.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:X.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:X.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:X.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:X.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:X.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:X.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:X.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:X.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:X.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:X.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:X.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:X.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:X.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:X.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:X.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:X.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:X.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:X.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:X.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:X.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:X.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:X.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:X.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:X.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:X.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:X.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:X.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:X.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:X.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:X.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:X.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:X.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:X.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:X.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:X.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:X.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:X.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:X.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:X.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:X.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:X.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:X.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:X.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:X.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:X.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:X.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:X.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:X.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:X.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:X.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:X.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:X.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:X.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:X.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:X.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:X.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:X.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:X.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:X.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:X.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:X.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:X.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:X.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:X.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:X.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:X.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:X.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:X.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:X.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:X.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:X.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:X.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:X.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:X.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:X.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:X.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:X.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:X.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:X.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:X.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:X.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:X.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:X.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:X.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:X.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:X.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:X.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:X.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:X.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:X.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:X.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:X.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:X.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:X.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:X.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:X.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:X.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:X.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:X.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:X.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:X.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:X.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:X.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:X.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:X.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:X.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:X.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:X.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:X.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:X.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:X.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:X.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:X.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:X.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:X.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:X.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:X.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:X.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:X.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:X.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:X.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:X.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:X.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:X.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:X.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:X.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:X.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:X.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:X.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:X.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:X.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:X.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:X.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:X.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:X.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:X.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:X.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:X.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:X.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:X.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:X.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:X.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:X.create("--ft-icon-size-6","","SIZE","48px"),opacity0:X.create("--ft-opacity-0","","NUMBER","0"),opacity8:X.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:X.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:X.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:X.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:X.create("--ft-opacity-80","","NUMBER","0.8")},J={display:{fontFamily:X.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:X.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:X.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:X.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:X.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:X.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:X.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:X.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:X.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:X.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:X.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:X.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:X.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:X.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:X.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:X.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:X.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:X.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:X.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:X.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:X.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:X.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:X.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:X.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:X.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:X.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:X.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:X.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:X.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:X.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:X.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:X.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:X.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:X.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:X.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:X.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:X.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:X.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Q={backgroundActionPrimary:X.extend("--ft-background-action-primary","Used as backgorund of primary action components.",q.colorBrand0),backgroundErrorPrimary:X.extend("--ft-background-error-primary","Used as background of error components.",q.colorRed0),backgroundErrorSubtle:X.extend("--ft-background-error-subtle","Used as background of subtle error components.",q.colorRed10),backgroundInfoPrimary:X.extend("--ft-background-info-primary","Used as background of information components.",q.colorCyan200),backgroundInfoSubtle:X.extend("--ft-background-info-subtle","Used as background of subtle information components.",q.colorCyan10),backgroundWarningPrimary:X.extend("--ft-background-warning-primary","Used as background of warning components.",q.colorOrange300),backgroundWarningSubtle:X.extend("--ft-background-warning-subtle","Used as background of subtle information components.",q.colorOrange10),backgroundSuccessPrimary:X.extend("--ft-background-success-primary","Used as background of success components.",q.colorGreen200),backgroundSuccessSubtle:X.extend("--ft-background-success-subtle","Used as background of subtle success components.",q.colorGreen10),backgroundGlobalSurface:X.extend("--ft-background-global-surface","Used as app background.",q.colorWhite),backgroundGlobalOnSurface:X.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",q.colorGray10),backgroundGlobalOnSurfaceDark:X.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",q.colorGray30),contentActionPrimary:X.extend("--ft-content-action-primary","Used on label of primary action on light surface.",q.colorBrand0),contentWarningPrimary:X.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",q.colorOrange300),contentWarningIconOnly:X.extend("--ft-content-warning-icon-only","Used on warning status icons alone",q.colorOrange0),contentErrorPrimary:X.extend("--ft-content-error-primary","Used on label of error messages on light surface.",q.colorRed0),contentErrorIconOnly:X.extend("--ft-content-error-icon-only","Used on error status icons alone",q.colorRed0),contentInfoPrimary:X.extend("--ft-content-info-primary","Used on label of information messages on light surface.",q.colorCyan200),contentInfoIconOnly:X.extend("--ft-content-info-icon-only","Used on info status icons alone",q.colorCyan0),contentSuccessIconOnly:X.extend("--ft-content-success-icon-only","Used on success status icons alone",q.colorGreen0),contentSuccessPrimary:X.extend("--ft-content-success-primary","Used on label of success messages on light surface.",q.colorGreen200),contentGlobalPrimary:X.extend("--ft-content-global-primary","Used for main content on the page.",q.colorGray500),contentGlobalSecondary:X.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",q.colorGray200),contentGlobalSubtle:X.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",q.colorGray0),contentGlobalOnColor:X.extend("--ft-content-global-on-color","Used for content on a dominant color.",q.colorWhite),borderActionPrimary:X.extend("--ft-border-action-primary","Used as border for primary action components.",q.colorBrand0),borderActionFocusRing:X.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",q.colorCyan0),borderWarningPrimary:X.extend("--ft-border-warning-primary","Used as border for warning components.",q.colorOrange30),borderSuccessPrimary:X.extend("--ft-border-success-primary","Used as border for success components.",q.colorGreen30),borderErrorPrimary:X.extend("--ft-border-error-primary","Used as border for error components.",q.colorRed30),borderInfoPrimary:X.extend("--ft-border-info-primary","Used as border for information components.",q.colorCyan30),borderGlobalSubtle:X.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",q.colorGray30),borderGlobalPrimary:X.extend("--ft-border-global-primary","Used as border for element like input.",q.colorGray50),borderInputPrimary:X.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",q.colorGray80)},tt={largeHeight:X.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:X.extend("--ft-button-large-horizontal-padding","",q.spacing4),largeGap:X.extend("--ft-button-large-gap","",q.spacing2),largeBorderRadius:X.extend("--ft-button-large-border-radius","",q.borderRadiusS),largeIconSize:X.extend("--ft-button-large-icon-size","",q.iconSize3),largeBorderWidth:X.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:X.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:X.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:X.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:X.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:X.extend("--ft-button-small-horizontal-padding","",q.spacing3),smallGap:X.extend("--ft-button-small-gap","",q.spacing2),smallBorderRadius:X.extend("--ft-button-small-border-radius","",q.borderRadiusS),smallIconSize:X.extend("--ft-button-small-icon-size","",q.iconSize2),smallBorderWidth:X.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:X.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:X.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:X.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:X.extend("--ft-button-primary-background-color","",Q.backgroundActionPrimary),primaryColor:X.extend("--ft-button-primary-color","",Q.contentGlobalOnColor),primaryIconColor:X.extend("--ft-button-primary-icon-color","",Q.contentGlobalOnColor),primaryStateLayerColor:X.extend("--ft-button-primary-state-layer-color","",Q.contentGlobalOnColor),primaryStateLayerOpacityHover:X.extend("--ft-button-primary-state-layer-opacity-hover","",q.opacity16),primaryStateLayerOpacityFocus:X.extend("--ft-button-primary-state-layer-opacity-focus","",q.opacity16),primaryStateLayerOpacityActive:X.extend("--ft-button-primary-state-layer-opacity-active","",q.opacity24),primaryComponentOpacityDisabled:X.extend("--ft-button-primary-component-opacity-disabled","",q.opacity40),focusFocusRingColor:X.extend("--ft-button-focus-focus-ring-color","",Q.borderActionFocusRing),tertiaryBackgroundColor:X.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:X.extend("--ft-button-tertiary-color","",Q.contentActionPrimary),tertiaryIconColor:X.extend("--ft-button-tertiary-icon-color","",Q.contentActionPrimary),tertiaryStateLayerColor:X.extend("--ft-button-tertiary-state-layer-color","",Q.contentActionPrimary),tertiaryStateLayerOpacityHover:X.extend("--ft-button-tertiary-state-layer-opacity-hover","",q.opacity8),tertiaryStateLayerOpacityFocus:X.extend("--ft-button-tertiary-state-layer-opacity-focus","",q.opacity8),tertiaryStateLayerOpacityActive:X.extend("--ft-button-tertiary-state-layer-opacity-active","",q.opacity16),tertiaryComponentOpacityDisabled:X.extend("--ft-button-tertiary-component-opacity-disabled","",q.opacity40),secondaryBackgroundColor:X.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:X.extend("--ft-button-secondary-color","",Q.contentActionPrimary),secondaryIconColor:X.extend("--ft-button-secondary-icon-color","",Q.contentActionPrimary),secondaryStateLayerColor:X.extend("--ft-button-secondary-state-layer-color","",Q.contentActionPrimary),secondaryStateLayerOpacityHover:X.extend("--ft-button-secondary-state-layer-opacity-hover","",q.opacity8),secondaryStateLayerOpacityFocus:X.extend("--ft-button-secondary-state-layer-opacity-focus","",q.opacity8),secondaryStateLayerOpacityActive:X.extend("--ft-button-secondary-state-layer-opacity-active","",q.opacity16),secondaryComponentOpacityDisabled:X.extend("--ft-button-secondary-component-opacity-disabled","",q.opacity40),secondaryBorderColor:X.extend("--ft-button-secondary-border-color","",Q.borderActionPrimary),neutralBackgroundColor:X.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:X.extend("--ft-button-neutral-icon-color","",Q.contentGlobalSecondary),neutralColor:X.extend("--ft-button-neutral-color","",Q.contentGlobalSecondary),neutralStateLayerColor:X.extend("--ft-button-neutral-state-layer-color","",Q.contentGlobalSecondary),neutralStateLayerOpacityHover:X.extend("--ft-button-neutral-state-layer-opacity-hover","",q.opacity8),neutralStateLayerOpacityFocus:X.extend("--ft-button-neutral-state-layer-opacity-focus","",q.opacity8),neutralStateLayerOpacityActive:X.extend("--ft-button-neutral-state-layer-opacity-active","",q.opacity16),neutralComponentOpacityDisabled:X.extend("--ft-button-neutral-component-opacity-disabled","",q.opacity40)};X.extend("--ft-tabs-top-left-border-radius","",q.borderRadiusS),X.extend("--ft-tabs-top-right-border-radius","",q.borderRadiusS),X.extend("--ft-tabs-label-horizontal-padding","",q.spacing4),X.extend("--ft-tabs-label-vertical-padding","",q.spacing3),X.extend("--ft-tabs-label-gap","",q.spacing1),X.extend("--ft-switch-group-horizontal-padding","",q.spacing1),X.extend("--ft-switch-group-vertical-padding","",q.spacing1),X.extend("--ft-switch-group-gap","",q.spacing1),X.extend("--ft-switch-group-background-color","",Q.backgroundGlobalSurface),X.extend("--ft-switch-group-border-color","",Q.borderGlobalSubtle),X.create("--ft-switch-group-border-radius","","SIZE","6px"),X.extend("--ft-switch-label-horizontal-padding","",q.spacing2),X.extend("--ft-switch-label-vertical-padding","",q.spacing1),X.extend("--ft-switch-icon-horizontal-padding","",q.spacing1),X.extend("--ft-switch-icon-vertical-padding","",q.spacing1),X.create("--ft-switch-focus-outline-width","","SIZE","2px"),X.extend("--ft-switch-focus-focus-ring-color","",Q.borderActionFocusRing),X.extend("--ft-switch-option-border-radius","",q.borderRadiusS),X.extend("--ft-switch-off-state-layer-opacity-hover","",q.opacity8),X.extend("--ft-switch-off-state-layer-opacity-focus","",q.opacity8),X.extend("--ft-switch-off-state-layer-opacity-active","",q.opacity16),X.extend("--ft-switch-off-component-opacity-disabled","",q.opacity40),X.extend("--ft-switch-off-color","",Q.contentGlobalSubtle),X.extend("--ft-switch-off-state-layer-color","",Q.contentGlobalSubtle),X.extend("--ft-chart-1-light","for area color charts",q.colorBrand40),X.extend("--ft-chart-1-base","for line charts",q.colorBrand0),X.extend("--ft-chart-2-light","for area color charts",q.colorYellow60),X.extend("--ft-chart-2-base","for line charts",q.colorYellow100),X.extend("--ft-chart-3-light","",q.colorUltramarine40),X.extend("--ft-chart-3-base","",q.colorUltramarine70),X.extend("--ft-chart-4-light","",q.colorCyan50),X.extend("--ft-chart-4-base","",q.colorCyan100),X.extend("--ft-chart-5-light","",q.colorRed40),X.extend("--ft-chart-5-base","",q.colorRed60),X.extend("--ft-chart-6-light","",q.colorGreen40),X.extend("--ft-chart-6-base","",q.colorGreen70),X.extend("--ft-chart-7-light","",q.colorOrange70),X.extend("--ft-chart-7-base","",q.colorOrange100),X.extend("--ft-chart-8-light","",q.colorAvocado70),X.extend("--ft-chart-8-base","",q.colorAvocado200),X.extend("--ft-chart-9-light","",q.colorBrown50),X.extend("--ft-chart-9-base","",q.colorBrown200),X.extend("--ft-chart-10-light","",q.colorGray50),X.extend("--ft-chart-10-base","",q.colorGray80),X.extend("--ft-chart-monochrome-10","",q.colorBrand10),X.extend("--ft-chart-monochrome-20","",q.colorBrand20),X.extend("--ft-chart-monochrome-30","",q.colorBrand40),X.extend("--ft-chart-monochrome-40","",q.colorBrand60),X.extend("--ft-chart-monochrome-50","",q.colorBrand0),X.extend("--ft-chart-monochrome-60","",q.colorBrand200),X.extend("--ft-chip-large-horizontal-padding","",q.spacing4),X.extend("--ft-chip-large-vertical-padding","",q.spacing2),X.extend("--ft-chip-large-gap","",q.spacing1),X.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),X.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),X.extend("--ft-chip-large-border-radius","",q.borderRadiusPill),X.create("--ft-chip-large-border-width","","SIZE","1px"),X.extend("--ft-chip-large-icon-size","",q.iconSize3),X.extend("--ft-chip-medium-horizontal-padding","",q.spacing3),X.extend("--ft-chip-medium-vertical-padding","",q.spacing1),X.extend("--ft-chip-medium-gap","",q.spacing1),X.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),X.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),X.extend("--ft-chip-medium-border-radius","",q.borderRadiusPill),X.create("--ft-chip-medium-border-width","","SIZE","1px"),X.extend("--ft-chip-medium-icon-size","",q.iconSize2),X.extend("--ft-chip-small-horizontal-padding","",q.spacing2),X.extend("--ft-chip-small-vertical-padding","",q.spacing05),X.extend("--ft-chip-small-gap","",q.spacing1),X.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),X.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),X.extend("--ft-chip-small-border-radius","",q.borderRadiusPill),X.create("--ft-chip-small-border-width","","SIZE","1px"),X.extend("--ft-chip-small-icon-size","",q.iconSize1),X.extend("--ft-chip-neutral-background-color","",Q.backgroundGlobalOnSurface),X.extend("--ft-chip-neutral-color","",Q.contentGlobalPrimary),X.extend("--ft-chip-neutral-border-color","",Q.borderGlobalSubtle),X.extend("--ft-chip-info-background-color","",Q.backgroundInfoSubtle),X.extend("--ft-chip-info-color","",Q.contentInfoPrimary),X.extend("--ft-chip-info-border-color","",Q.borderInfoPrimary),X.extend("--ft-chip-success-background-color","",Q.backgroundSuccessSubtle),X.extend("--ft-chip-success-color","",Q.contentSuccessPrimary),X.extend("--ft-chip-success-border-color","",Q.borderSuccessPrimary),X.extend("--ft-chip-warning-background-color","",Q.backgroundWarningSubtle),X.extend("--ft-chip-warning-color","",Q.contentWarningPrimary),X.extend("--ft-chip-warning-border-color","",Q.borderWarningPrimary),X.extend("--ft-chip-error-background-color","",Q.backgroundErrorSubtle),X.extend("--ft-chip-error-color","",Q.contentErrorPrimary),X.extend("--ft-chip-error-border-color","",Q.borderErrorPrimary),X.create("--ft-notice-border-width","","SIZE","1px"),X.extend("--ft-notice-horizontal-padding","",q.spacing2),X.extend("--ft-notice-vertical-padding","",q.spacing1),X.extend("--ft-notice-border-radius","",q.borderRadiusS),X.extend("--ft-notice-gap","",q.spacing2),X.extend("--ft-notice-icon-size","",q.iconSize3),X.extend("--ft-notice-info-background-color","",Q.backgroundInfoSubtle),X.extend("--ft-notice-info-border-color","",Q.borderInfoPrimary),X.extend("--ft-notice-info-color","",Q.contentInfoPrimary),X.extend("--ft-notice-warning-background-color","",Q.backgroundWarningSubtle),X.extend("--ft-notice-warning-border-color","",Q.borderWarningPrimary),X.extend("--ft-notice-warning-color","",Q.contentWarningPrimary),X.extend("--ft-checkbox-label-color","",Q.contentGlobalPrimary),X.extend("--ft-checkbox-checked-background-color","",Q.contentActionPrimary),X.extend("--ft-checkbox-checked-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-checkbox-checked-color","",Q.contentGlobalOnColor),X.extend("--ft-checkbox-checked-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-checkbox-checked-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-checkbox-checked-state-layer-opacity-active","",q.opacity24),X.extend("--ft-checkbox-checked-component-opacity-disabled","",q.opacity40),X.extend("--ft-checkbox-unchecked-border-color","",q.colorGray80),X.extend("--ft-checkbox-unchecked-state-layer-color","",q.colorGray80),X.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",q.opacity24),X.extend("--ft-checkbox-unchecked-component-opacity-disabled","",q.opacity40),X.extend("--ft-checkbox-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),X.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),X.extend("--ft-checkbox-gap","",q.spacing3),X.extend("--ft-toggle-off-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-toggle-off-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-toggle-off-state-layer-opacity-active","",q.opacity24),X.extend("--ft-toggle-off-component-opacity-disabled","",q.opacity40),X.extend("--ft-toggle-off-background-color","",Q.contentGlobalSubtle),X.extend("--ft-toggle-off-icon-color","",Q.contentGlobalSubtle),X.extend("--ft-toggle-off-state-layer-color","",Q.contentGlobalSubtle),X.extend("--ft-toggle-on-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-toggle-on-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-toggle-on-state-layer-opacity-active","",q.opacity24),X.extend("--ft-toggle-on-component-opacity-disabled","",q.opacity40),X.extend("--ft-toggle-on-background-color","",Q.contentActionPrimary),X.extend("--ft-toggle-on-icon-color","",Q.contentActionPrimary),X.extend("--ft-toggle-on-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-toggle-label-color","",Q.contentGlobalPrimary),X.extend("--ft-toggle-focus-focus-ring-color","",Q.borderActionFocusRing),X.extend("--ft-toggle-gap","",q.spacing3),X.extend("--ft-radio-label-color","",Q.contentGlobalPrimary),X.extend("--ft-radio-selected-color","",Q.contentActionPrimary),X.extend("--ft-radio-selected-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-radio-selected-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-radio-selected-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-radio-selected-state-layer-opacity-active","",q.opacity24),X.extend("--ft-radio-selected-component-opacity-disabled","",q.opacity40),X.extend("--ft-radio-unselected-state-layer-color","",q.colorGray80),X.extend("--ft-radio-unselected-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-radio-unselected-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-radio-unselected-state-layer-opacity-active","",q.opacity24),X.extend("--ft-radio-unselected-component-opacity-disabled","",q.opacity40),X.extend("--ft-radio-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-radio-focus-outline-offset","","SIZE","3px"),X.create("--ft-radio-focus-outline-width","","SIZE","2px"),X.extend("--ft-radio-gap","",q.spacing3),X.extend("--ft-notification-icon-size","",q.iconSize4),X.extend("--ft-notification-horizontal-padding","",q.spacing4),X.extend("--ft-notification-vertical-padding","",q.spacing4),X.extend("--ft-notification-info-background-color","",Q.backgroundInfoSubtle),X.extend("--ft-notification-info-color","",Q.contentInfoPrimary),X.extend("--ft-notification-info-border-color","",Q.borderInfoPrimary),X.extend("--ft-notification-success-background-color","",Q.backgroundSuccessSubtle),X.extend("--ft-notification-success-color","",Q.contentSuccessPrimary),X.extend("--ft-notification-success-border-color","",Q.borderSuccessPrimary),X.extend("--ft-notification-warning-background-color","",Q.backgroundWarningSubtle),X.extend("--ft-notification-warning-color","",Q.contentWarningPrimary),X.extend("--ft-notification-warning-border-color","",Q.borderWarningPrimary),X.extend("--ft-notification-error-background-color","",Q.backgroundErrorSubtle),X.extend("--ft-notification-error-color","",Q.contentErrorPrimary),X.extend("--ft-notification-error-border-color","",Q.borderErrorPrimary),X.extend("--ft-notification-border-radius","",q.borderRadiusPill),X.create("--ft-notification-border-width","","SIZE","1px"),X.extend("--ft-notification-gap-leading","",q.spacing2),X.extend("--ft-notification-gap-trailing","",q.spacing8);const et=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.titleFont),ot=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.contentFont),it={fontFamily:ot,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},rt=e.FtCssVariableFactory.extend("--ft-typography-title-font-family","",et),nt=e.FtCssVariableFactory.extend("--ft-typography-title-font-size","",it.fontSize,"20px"),at=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",it.fontWeight,"normal"),lt=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",it.letterSpacing,"0.15px"),st=e.FtCssVariableFactory.extend("--ft-typography-title-line-height","",it.lineHeight,"1.2"),ct=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",it.textTransform,"inherit"),ft=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",et),pt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",it.fontSize,"14px"),dt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",it.fontWeight,"normal"),ht=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",it.letterSpacing,"0.105px"),ut=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",it.lineHeight,"1.7"),gt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",it.textTransform,"inherit"),yt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ot),bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",it.fontSize,"16px"),mt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",it.fontWeight,"600"),xt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",it.letterSpacing,"0.144px"),vt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",it.lineHeight,"1.5"),Ot=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",it.textTransform,"inherit"),$t=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ot),Nt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",it.fontSize,"14px"),wt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",it.fontWeight,"normal"),St=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",it.letterSpacing,"0.098px"),Ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",it.lineHeight,"1.7"),It=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",it.textTransform,"inherit"),kt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ot),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",it.fontSize,"16px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",it.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",it.letterSpacing,"0.496px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",it.lineHeight,"1.5"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",it.textTransform,"inherit")},Et=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ot),Rt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",it.fontSize,"14px"),Ut=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",it.fontWeight,"normal"),Wt=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",it.letterSpacing,"0.252px"),Lt=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",it.lineHeight,"1.4"),zt=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",it.textTransform,"inherit"),Zt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ot),fontSize:e.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",it.fontSize,"12px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",it.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",it.letterSpacing,"0.396px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",it.lineHeight,"1.33"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",it.textTransform,"inherit")},Kt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ot),Dt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",it.fontSize,"10px"),Bt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",it.fontWeight,"normal"),Ft=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",it.letterSpacing,"0.33px"),At=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",it.lineHeight,"1.6"),Ht=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",it.textTransform,"inherit"),Gt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ot),Pt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",it.fontSize,"10px"),jt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",it.fontWeight,"normal"),Mt=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",it.letterSpacing,"1.5px"),Tt=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",it.lineHeight,"1.6"),_t=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",it.textTransform,"uppercase"),Yt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ot),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size","",it.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",it.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",it.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height","",it.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",it.textTransform,"uppercase")},Vt=o.css`
|
|
13
|
+
const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litStatic$:t,r:P}),T=new Map,_=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],l=[];let s,c=0,f=!1;for(;c<i;){for(s=e[c];c<i&&void 0!==(n=o[c],r=j(n));)s+=r+e[++c],f=!0;c!==i&&l.push(n),a.push(s),c++}if(c===i&&a.push(e[i]),f){const t=a.join("$$lit$$");void 0===(e=T.get(t))&&(a.raw=a,T.set(t,e=a)),o=l}return t(e,...o)})(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 V=t=>"string"==typeof t?o.unsafeCSS(t):t;class X{static create(t,e,i,r){const n=t=>V(null!=t?t:r),a=o.css`var(${V(t)}, ${n(r)})`;return a.name=t,a.description=e,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=e=>o.css`var(${V(t)}, ${n(e)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,e,i,r){const n=t=>i.get(null!=t?t:r),a=o.css`var(${V(t)}, ${n(r)})`;return a.name=t,a.description=e,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=e=>o.css`var(${V(t)}, ${n(e)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,e){const i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):V(null!=e?e:t.lastResortDefaultValue()),r=o.css`var(${V(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=i,r.get=e=>o.css`var(${V(t.name)}, ${i(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const q={colorWhite:X.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:X.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:X.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:X.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:X.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:X.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:X.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:X.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:X.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:X.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:X.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:X.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:X.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:X.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:X.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:X.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:X.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:X.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:X.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:X.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:X.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:X.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:X.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:X.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:X.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:X.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:X.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:X.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:X.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:X.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:X.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:X.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:X.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:X.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:X.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:X.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:X.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:X.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:X.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:X.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:X.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:X.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:X.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:X.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:X.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:X.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:X.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:X.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:X.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:X.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:X.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:X.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:X.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:X.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:X.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:X.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:X.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:X.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:X.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:X.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:X.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:X.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:X.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:X.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:X.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:X.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:X.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:X.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:X.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:X.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:X.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:X.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:X.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:X.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:X.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:X.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:X.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:X.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:X.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:X.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:X.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:X.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:X.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:X.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:X.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:X.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:X.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:X.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:X.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:X.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:X.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:X.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:X.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:X.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:X.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:X.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:X.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:X.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:X.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:X.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:X.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:X.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:X.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:X.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:X.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:X.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:X.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:X.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:X.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:X.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:X.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:X.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:X.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:X.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:X.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:X.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:X.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:X.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:X.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:X.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:X.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:X.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:X.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:X.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:X.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:X.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:X.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:X.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:X.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:X.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:X.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:X.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:X.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:X.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:X.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:X.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:X.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:X.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:X.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:X.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:X.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:X.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:X.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:X.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:X.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:X.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:X.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:X.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:X.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:X.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:X.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:X.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:X.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:X.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:X.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:X.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:X.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:X.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:X.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:X.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:X.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:X.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:X.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:X.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:X.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:X.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:X.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:X.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:X.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:X.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:X.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:X.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:X.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:X.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:X.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:X.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:X.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:X.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:X.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:X.create("--ft-icon-size-6","","SIZE","48px"),opacity0:X.create("--ft-opacity-0","","NUMBER","0"),opacity8:X.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:X.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:X.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:X.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:X.create("--ft-opacity-80","","NUMBER","0.8")},J={display:{fontFamily:X.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:X.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:X.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:X.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:X.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:X.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:X.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:X.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:X.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:X.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:X.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:X.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:X.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:X.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:X.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:X.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:X.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:X.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:X.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:X.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:X.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:X.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:X.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:X.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:X.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:X.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:X.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:X.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:X.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:X.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:X.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:X.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:X.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:X.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:X.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:X.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:X.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:X.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Q={backgroundActionPrimary:X.extend("--ft-background-action-primary","Used as backgorund of primary action components.",q.colorBrand0),backgroundErrorPrimary:X.extend("--ft-background-error-primary","Used as background of error components.",q.colorRed0),backgroundErrorSubtle:X.extend("--ft-background-error-subtle","Used as background of subtle error components.",q.colorRed10),backgroundInfoPrimary:X.extend("--ft-background-info-primary","Used as background of information components.",q.colorCyan200),backgroundInfoSubtle:X.extend("--ft-background-info-subtle","Used as background of subtle information components.",q.colorCyan10),backgroundWarningPrimary:X.extend("--ft-background-warning-primary","Used as background of warning components.",q.colorOrange300),backgroundWarningSubtle:X.extend("--ft-background-warning-subtle","Used as background of subtle information components.",q.colorOrange10),backgroundSuccessPrimary:X.extend("--ft-background-success-primary","Used as background of success components.",q.colorGreen200),backgroundSuccessSubtle:X.extend("--ft-background-success-subtle","Used as background of subtle success components.",q.colorGreen10),backgroundGlobalSurface:X.extend("--ft-background-global-surface","Used as app background.",q.colorWhite),backgroundGlobalOnSurface:X.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",q.colorGray10),backgroundGlobalOnSurfaceDark:X.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",q.colorGray30),contentActionPrimary:X.extend("--ft-content-action-primary","Used on label of primary action on light surface.",q.colorBrand0),contentWarningPrimary:X.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",q.colorOrange300),contentWarningIconOnly:X.extend("--ft-content-warning-icon-only","Used on warning status icons alone",q.colorOrange0),contentErrorPrimary:X.extend("--ft-content-error-primary","Used on label of error messages on light surface.",q.colorRed0),contentErrorIconOnly:X.extend("--ft-content-error-icon-only","Used on error status icons alone",q.colorRed0),contentInfoPrimary:X.extend("--ft-content-info-primary","Used on label of information messages on light surface.",q.colorCyan200),contentInfoIconOnly:X.extend("--ft-content-info-icon-only","Used on info status icons alone",q.colorCyan0),contentSuccessIconOnly:X.extend("--ft-content-success-icon-only","Used on success status icons alone",q.colorGreen0),contentSuccessPrimary:X.extend("--ft-content-success-primary","Used on label of success messages on light surface.",q.colorGreen200),contentGlobalPrimary:X.extend("--ft-content-global-primary","Used for main content on the page.",q.colorGray500),contentGlobalSecondary:X.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",q.colorGray200),contentGlobalSubtle:X.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",q.colorGray0),contentGlobalOnColor:X.extend("--ft-content-global-on-color","Used for content on a dominant color.",q.colorWhite),borderActionPrimary:X.extend("--ft-border-action-primary","Used as border for primary action components.",q.colorBrand0),borderActionFocusRing:X.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",q.colorCyan0),borderWarningPrimary:X.extend("--ft-border-warning-primary","Used as border for warning components.",q.colorOrange30),borderSuccessPrimary:X.extend("--ft-border-success-primary","Used as border for success components.",q.colorGreen30),borderErrorPrimary:X.extend("--ft-border-error-primary","Used as border for error components.",q.colorRed30),borderInfoPrimary:X.extend("--ft-border-info-primary","Used as border for information components.",q.colorCyan30),borderGlobalSubtle:X.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",q.colorGray30),borderGlobalPrimary:X.extend("--ft-border-global-primary","Used as border for element like input.",q.colorGray50),borderInputPrimary:X.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",q.colorGray80)},tt={largeHeight:X.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:X.extend("--ft-button-large-horizontal-padding","",q.spacing4),largeGap:X.extend("--ft-button-large-gap","",q.spacing2),largeBorderRadius:X.extend("--ft-button-large-border-radius","",q.borderRadiusS),largeIconSize:X.extend("--ft-button-large-icon-size","",q.iconSize3),largeBorderWidth:X.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:X.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:X.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:X.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:X.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:X.extend("--ft-button-small-horizontal-padding","",q.spacing3),smallGap:X.extend("--ft-button-small-gap","",q.spacing2),smallBorderRadius:X.extend("--ft-button-small-border-radius","",q.borderRadiusS),smallIconSize:X.extend("--ft-button-small-icon-size","",q.iconSize2),smallBorderWidth:X.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:X.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:X.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:X.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:X.extend("--ft-button-primary-background-color","",Q.backgroundActionPrimary),primaryColor:X.extend("--ft-button-primary-color","",Q.contentGlobalOnColor),primaryIconColor:X.extend("--ft-button-primary-icon-color","",Q.contentGlobalOnColor),primaryStateLayerColor:X.extend("--ft-button-primary-state-layer-color","",Q.contentGlobalOnColor),primaryStateLayerOpacityHover:X.extend("--ft-button-primary-state-layer-opacity-hover","",q.opacity16),primaryStateLayerOpacityFocus:X.extend("--ft-button-primary-state-layer-opacity-focus","",q.opacity16),primaryStateLayerOpacityActive:X.extend("--ft-button-primary-state-layer-opacity-active","",q.opacity24),primaryComponentOpacityDisabled:X.extend("--ft-button-primary-component-opacity-disabled","",q.opacity40),focusFocusRingColor:X.extend("--ft-button-focus-focus-ring-color","",Q.borderActionFocusRing),tertiaryBackgroundColor:X.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:X.extend("--ft-button-tertiary-color","",Q.contentActionPrimary),tertiaryIconColor:X.extend("--ft-button-tertiary-icon-color","",Q.contentActionPrimary),tertiaryStateLayerColor:X.extend("--ft-button-tertiary-state-layer-color","",Q.contentActionPrimary),tertiaryStateLayerOpacityHover:X.extend("--ft-button-tertiary-state-layer-opacity-hover","",q.opacity8),tertiaryStateLayerOpacityFocus:X.extend("--ft-button-tertiary-state-layer-opacity-focus","",q.opacity8),tertiaryStateLayerOpacityActive:X.extend("--ft-button-tertiary-state-layer-opacity-active","",q.opacity16),tertiaryComponentOpacityDisabled:X.extend("--ft-button-tertiary-component-opacity-disabled","",q.opacity40),secondaryBackgroundColor:X.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:X.extend("--ft-button-secondary-color","",Q.contentActionPrimary),secondaryIconColor:X.extend("--ft-button-secondary-icon-color","",Q.contentActionPrimary),secondaryStateLayerColor:X.extend("--ft-button-secondary-state-layer-color","",Q.contentActionPrimary),secondaryStateLayerOpacityHover:X.extend("--ft-button-secondary-state-layer-opacity-hover","",q.opacity8),secondaryStateLayerOpacityFocus:X.extend("--ft-button-secondary-state-layer-opacity-focus","",q.opacity8),secondaryStateLayerOpacityActive:X.extend("--ft-button-secondary-state-layer-opacity-active","",q.opacity16),secondaryComponentOpacityDisabled:X.extend("--ft-button-secondary-component-opacity-disabled","",q.opacity40),secondaryBorderColor:X.extend("--ft-button-secondary-border-color","",Q.borderActionPrimary),neutralBackgroundColor:X.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:X.extend("--ft-button-neutral-icon-color","",Q.contentGlobalSecondary),neutralColor:X.extend("--ft-button-neutral-color","",Q.contentGlobalSecondary),neutralStateLayerColor:X.extend("--ft-button-neutral-state-layer-color","",Q.contentGlobalSecondary),neutralStateLayerOpacityHover:X.extend("--ft-button-neutral-state-layer-opacity-hover","",q.opacity8),neutralStateLayerOpacityFocus:X.extend("--ft-button-neutral-state-layer-opacity-focus","",q.opacity8),neutralStateLayerOpacityActive:X.extend("--ft-button-neutral-state-layer-opacity-active","",q.opacity16),neutralComponentOpacityDisabled:X.extend("--ft-button-neutral-component-opacity-disabled","",q.opacity40)};X.extend("--ft-tabs-top-left-border-radius","",q.borderRadiusS),X.extend("--ft-tabs-top-right-border-radius","",q.borderRadiusS),X.extend("--ft-tabs-label-horizontal-padding","",q.spacing4),X.extend("--ft-tabs-label-vertical-padding","",q.spacing3),X.extend("--ft-tabs-label-gap","",q.spacing1),X.extend("--ft-switch-group-horizontal-padding","",q.spacing1),X.extend("--ft-switch-group-vertical-padding","",q.spacing1),X.extend("--ft-switch-group-gap","",q.spacing1),X.extend("--ft-switch-group-background-color","",Q.backgroundGlobalSurface),X.extend("--ft-switch-group-border-color","",Q.borderGlobalSubtle),X.create("--ft-switch-group-border-radius","","SIZE","6px"),X.extend("--ft-switch-label-horizontal-padding","",q.spacing2),X.extend("--ft-switch-label-vertical-padding","",q.spacing1),X.extend("--ft-switch-icon-horizontal-padding","",q.spacing1),X.extend("--ft-switch-icon-vertical-padding","",q.spacing1),X.create("--ft-switch-focus-outline-width","","SIZE","2px"),X.extend("--ft-switch-focus-focus-ring-color","",Q.borderActionFocusRing),X.extend("--ft-switch-option-border-radius","",q.borderRadiusS),X.extend("--ft-switch-off-state-layer-opacity-hover","",q.opacity8),X.extend("--ft-switch-off-state-layer-opacity-focus","",q.opacity8),X.extend("--ft-switch-off-state-layer-opacity-active","",q.opacity16),X.extend("--ft-switch-off-component-opacity-disabled","",q.opacity40),X.extend("--ft-switch-off-color","",Q.contentGlobalSubtle),X.extend("--ft-switch-off-state-layer-color","",Q.contentGlobalSubtle),X.extend("--ft-chart-1-light","for area color charts",q.colorBrand40),X.extend("--ft-chart-1-base","for line charts",q.colorBrand0),X.extend("--ft-chart-2-light","for area color charts",q.colorYellow60),X.extend("--ft-chart-2-base","for line charts",q.colorYellow100),X.extend("--ft-chart-3-light","",q.colorUltramarine40),X.extend("--ft-chart-3-base","",q.colorUltramarine70),X.extend("--ft-chart-4-light","",q.colorCyan50),X.extend("--ft-chart-4-base","",q.colorCyan100),X.extend("--ft-chart-5-light","",q.colorRed40),X.extend("--ft-chart-5-base","",q.colorRed60),X.extend("--ft-chart-6-light","",q.colorGreen40),X.extend("--ft-chart-6-base","",q.colorGreen70),X.extend("--ft-chart-7-light","",q.colorOrange70),X.extend("--ft-chart-7-base","",q.colorOrange100),X.extend("--ft-chart-8-light","",q.colorAvocado70),X.extend("--ft-chart-8-base","",q.colorAvocado200),X.extend("--ft-chart-9-light","",q.colorBrown50),X.extend("--ft-chart-9-base","",q.colorBrown200),X.extend("--ft-chart-10-light","",q.colorGray50),X.extend("--ft-chart-10-base","",q.colorGray80),X.extend("--ft-chart-monochrome-10","",q.colorBrand10),X.extend("--ft-chart-monochrome-20","",q.colorBrand20),X.extend("--ft-chart-monochrome-30","",q.colorBrand40),X.extend("--ft-chart-monochrome-40","",q.colorBrand60),X.extend("--ft-chart-monochrome-50","",q.colorBrand0),X.extend("--ft-chart-monochrome-60","",q.colorBrand200),X.extend("--ft-chip-large-horizontal-padding","",q.spacing4),X.extend("--ft-chip-large-vertical-padding","",q.spacing2),X.extend("--ft-chip-large-gap","",q.spacing1),X.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),X.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),X.extend("--ft-chip-large-border-radius","",q.borderRadiusPill),X.create("--ft-chip-large-border-width","","SIZE","1px"),X.extend("--ft-chip-large-icon-size","",q.iconSize3),X.extend("--ft-chip-medium-horizontal-padding","",q.spacing3),X.extend("--ft-chip-medium-vertical-padding","",q.spacing1),X.extend("--ft-chip-medium-gap","",q.spacing1),X.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),X.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),X.extend("--ft-chip-medium-border-radius","",q.borderRadiusPill),X.create("--ft-chip-medium-border-width","","SIZE","1px"),X.extend("--ft-chip-medium-icon-size","",q.iconSize2),X.extend("--ft-chip-small-horizontal-padding","",q.spacing2),X.extend("--ft-chip-small-vertical-padding","",q.spacing05),X.extend("--ft-chip-small-gap","",q.spacing1),X.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),X.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),X.extend("--ft-chip-small-border-radius","",q.borderRadiusPill),X.create("--ft-chip-small-border-width","","SIZE","1px"),X.extend("--ft-chip-small-icon-size","",q.iconSize1),X.extend("--ft-chip-neutral-background-color","",Q.backgroundGlobalOnSurface),X.extend("--ft-chip-neutral-color","",Q.contentGlobalPrimary),X.extend("--ft-chip-neutral-border-color","",Q.borderGlobalSubtle),X.extend("--ft-chip-info-background-color","",Q.backgroundInfoSubtle),X.extend("--ft-chip-info-color","",Q.contentInfoPrimary),X.extend("--ft-chip-info-border-color","",Q.borderInfoPrimary),X.extend("--ft-chip-success-background-color","",Q.backgroundSuccessSubtle),X.extend("--ft-chip-success-color","",Q.contentSuccessPrimary),X.extend("--ft-chip-success-border-color","",Q.borderSuccessPrimary),X.extend("--ft-chip-warning-background-color","",Q.backgroundWarningSubtle),X.extend("--ft-chip-warning-color","",Q.contentWarningPrimary),X.extend("--ft-chip-warning-border-color","",Q.borderWarningPrimary),X.extend("--ft-chip-error-background-color","",Q.backgroundErrorSubtle),X.extend("--ft-chip-error-color","",Q.contentErrorPrimary),X.extend("--ft-chip-error-border-color","",Q.borderErrorPrimary),X.create("--ft-notice-border-width","","SIZE","1px"),X.extend("--ft-notice-horizontal-padding","",q.spacing2),X.extend("--ft-notice-vertical-padding","",q.spacing1),X.extend("--ft-notice-border-radius","",q.borderRadiusS),X.extend("--ft-notice-gap","",q.spacing2),X.extend("--ft-notice-icon-size","",q.iconSize3),X.extend("--ft-notice-info-background-color","",Q.backgroundInfoSubtle),X.extend("--ft-notice-info-border-color","",Q.borderInfoPrimary),X.extend("--ft-notice-info-color","",Q.contentInfoPrimary),X.extend("--ft-notice-warning-background-color","",Q.backgroundWarningSubtle),X.extend("--ft-notice-warning-border-color","",Q.borderWarningPrimary),X.extend("--ft-notice-warning-color","",Q.contentWarningPrimary),X.extend("--ft-checkbox-label-color","",Q.contentGlobalPrimary),X.extend("--ft-checkbox-checked-background-color","",Q.contentActionPrimary),X.extend("--ft-checkbox-checked-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-checkbox-checked-color","",Q.contentGlobalOnColor),X.extend("--ft-checkbox-checked-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-checkbox-checked-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-checkbox-checked-state-layer-opacity-active","",q.opacity24),X.extend("--ft-checkbox-checked-component-opacity-disabled","",q.opacity40),X.extend("--ft-checkbox-unchecked-border-color","",q.colorGray80),X.extend("--ft-checkbox-unchecked-state-layer-color","",q.colorGray80),X.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",q.opacity24),X.extend("--ft-checkbox-unchecked-component-opacity-disabled","",q.opacity40),X.extend("--ft-checkbox-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),X.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),X.extend("--ft-checkbox-gap","",q.spacing3),X.extend("--ft-toggle-off-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-toggle-off-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-toggle-off-state-layer-opacity-active","",q.opacity24),X.extend("--ft-toggle-off-component-opacity-disabled","",q.opacity40),X.extend("--ft-toggle-off-background-color","",Q.contentGlobalSubtle),X.extend("--ft-toggle-off-icon-color","",Q.contentGlobalSubtle),X.extend("--ft-toggle-off-state-layer-color","",Q.contentGlobalSubtle),X.extend("--ft-toggle-on-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-toggle-on-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-toggle-on-state-layer-opacity-active","",q.opacity24),X.extend("--ft-toggle-on-component-opacity-disabled","",q.opacity40),X.extend("--ft-toggle-on-background-color","",Q.contentActionPrimary),X.extend("--ft-toggle-on-icon-color","",Q.contentActionPrimary),X.extend("--ft-toggle-on-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-toggle-label-color","",Q.contentGlobalPrimary),X.extend("--ft-toggle-focus-focus-ring-color","",Q.borderActionFocusRing),X.extend("--ft-toggle-gap","",q.spacing3),X.extend("--ft-radio-label-color","",Q.contentGlobalPrimary),X.extend("--ft-radio-selected-color","",Q.contentActionPrimary),X.extend("--ft-radio-selected-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-radio-selected-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-radio-selected-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-radio-selected-state-layer-opacity-active","",q.opacity24),X.extend("--ft-radio-selected-component-opacity-disabled","",q.opacity40),X.extend("--ft-radio-unselected-state-layer-color","",q.colorGray80),X.extend("--ft-radio-unselected-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-radio-unselected-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-radio-unselected-state-layer-opacity-active","",q.opacity24),X.extend("--ft-radio-unselected-component-opacity-disabled","",q.opacity40),X.extend("--ft-radio-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-radio-focus-outline-offset","","SIZE","3px"),X.create("--ft-radio-focus-outline-width","","SIZE","2px"),X.extend("--ft-radio-gap","",q.spacing3),X.extend("--ft-notification-icon-size","",q.iconSize4),X.extend("--ft-notification-horizontal-padding","",q.spacing4),X.extend("--ft-notification-vertical-padding","",q.spacing4),X.extend("--ft-notification-info-background-color","",Q.backgroundInfoSubtle),X.extend("--ft-notification-info-color","",Q.contentInfoPrimary),X.extend("--ft-notification-info-border-color","",Q.borderInfoPrimary),X.extend("--ft-notification-success-background-color","",Q.backgroundSuccessSubtle),X.extend("--ft-notification-success-color","",Q.contentSuccessPrimary),X.extend("--ft-notification-success-border-color","",Q.borderSuccessPrimary),X.extend("--ft-notification-warning-background-color","",Q.backgroundWarningSubtle),X.extend("--ft-notification-warning-color","",Q.contentWarningPrimary),X.extend("--ft-notification-warning-border-color","",Q.borderWarningPrimary),X.extend("--ft-notification-error-background-color","",Q.backgroundErrorSubtle),X.extend("--ft-notification-error-color","",Q.contentErrorPrimary),X.extend("--ft-notification-error-border-color","",Q.borderErrorPrimary),X.extend("--ft-notification-border-radius","",q.borderRadiusPill),X.create("--ft-notification-border-width","","SIZE","1px"),X.extend("--ft-notification-gap-leading","",q.spacing2),X.extend("--ft-notification-gap-trailing","",q.spacing8);const et=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.titleFont),ot=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.contentFont),it={fontFamily:ot,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},rt=e.FtCssVariableFactory.extend("--ft-typography-title-font-family","",et),nt=e.FtCssVariableFactory.extend("--ft-typography-title-font-size","",it.fontSize,"20px"),at=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",it.fontWeight,"normal"),lt=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",it.letterSpacing,"0.15px"),st=e.FtCssVariableFactory.extend("--ft-typography-title-line-height","",it.lineHeight,"1.2"),ct=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",it.textTransform,"inherit"),ft=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",et),pt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",it.fontSize,"14px"),dt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",it.fontWeight,"normal"),ht=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",it.letterSpacing,"0.105px"),ut=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",it.lineHeight,"1.7"),gt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",it.textTransform,"inherit"),yt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ot),bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",it.fontSize,"16px"),mt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",it.fontWeight,"600"),xt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",it.letterSpacing,"0.144px"),vt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",it.lineHeight,"1.5"),Ot=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",it.textTransform,"inherit"),$t=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ot),Nt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",it.fontSize,"14px"),wt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",it.fontWeight,"normal"),St=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",it.letterSpacing,"0.098px"),Ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",it.lineHeight,"1.7"),kt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",it.textTransform,"inherit"),It={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ot),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",it.fontSize,"16px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",it.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",it.letterSpacing,"0.496px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",it.lineHeight,"1.5"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",it.textTransform,"inherit")},Et=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ot),Rt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",it.fontSize,"14px"),Ut=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",it.fontWeight,"normal"),Wt=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",it.letterSpacing,"0.252px"),Lt=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",it.lineHeight,"1.4"),zt=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",it.textTransform,"inherit"),Zt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ot),fontSize:e.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",it.fontSize,"12px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",it.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",it.letterSpacing,"0.396px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",it.lineHeight,"1.33"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",it.textTransform,"inherit")},Kt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ot),Dt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",it.fontSize,"10px"),Bt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",it.fontWeight,"normal"),Ft=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",it.letterSpacing,"0.33px"),At=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",it.lineHeight,"1.6"),Ht=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",it.textTransform,"inherit"),Gt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ot),Pt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",it.fontSize,"10px"),jt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",it.fontWeight,"normal"),Mt=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",it.letterSpacing,"1.5px"),Tt=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",it.lineHeight,"1.6"),_t=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",it.textTransform,"uppercase"),Yt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ot),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size","",it.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",it.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",it.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height","",it.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",it.textTransform,"uppercase")},Vt=o.css`
|
|
14
14
|
.ft-typography--title {
|
|
15
15
|
font-family: ${rt};
|
|
16
16
|
font-size: ${nt};
|
|
@@ -44,17 +44,17 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
44
44
|
font-weight: ${wt};
|
|
45
45
|
letter-spacing: ${St};
|
|
46
46
|
line-height: ${Ct};
|
|
47
|
-
text-transform: ${
|
|
47
|
+
text-transform: ${kt};
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
`,Qt=o.css`
|
|
51
51
|
.ft-typography--body1 {
|
|
52
|
-
font-family: ${
|
|
53
|
-
font-size: ${
|
|
54
|
-
font-weight: ${
|
|
55
|
-
letter-spacing: ${
|
|
56
|
-
line-height: ${
|
|
57
|
-
text-transform: ${
|
|
52
|
+
font-family: ${It.fontFamily};
|
|
53
|
+
font-size: ${It.fontSize};
|
|
54
|
+
font-weight: ${It.fontWeight};
|
|
55
|
+
letter-spacing: ${It.letterSpacing};
|
|
56
|
+
line-height: ${It.lineHeight};
|
|
57
|
+
text-transform: ${It.textTransform};
|
|
58
58
|
}
|
|
59
59
|
`,te=o.css`
|
|
60
60
|
.ft-typography--body2 {
|
|
@@ -375,7 +375,7 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
375
375
|
<div class="ft-ripple--background"></div>
|
|
376
376
|
<div class="ft-ripple--effect"></div>
|
|
377
377
|
</div>
|
|
378
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Se.elementDefinitions={},Se.styles=Oe,we([i.property({type:Boolean})],Se.prototype,"primary",void 0),we([i.property({type:Boolean})],Se.prototype,"secondary",void 0),we([i.property({type:Boolean})],Se.prototype,"unbounded",void 0),we([i.property({type:Boolean})],Se.prototype,"activated",void 0),we([i.property({type:Boolean})],Se.prototype,"selected",void 0),we([i.property({type:Boolean})],Se.prototype,"disabled",void 0),we([i.state()],Se.prototype,"hovered",void 0),we([i.state()],Se.prototype,"focused",void 0),we([i.state()],Se.prototype,"pressed",void 0),we([i.state()],Se.prototype,"rippling",void 0),we([i.state()],Se.prototype,"originX",void 0),we([i.state()],Se.prototype,"originY",void 0),we([i.query(".ft-ripple")],Se.prototype,"ripple",void 0),we([i.query(".ft-ripple--effect")],Se.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(Se),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}($e||($e={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Ne||(Ne={})),new Map([...["abw"].map((t=>[t,Ne.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Ne.AUDIO])),...["avi"].map((t=>[t,Ne.AVI])),...["chm","xhs"].map((t=>[t,Ne.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Ne.CODE])),...["csv"].map((t=>[t,Ne.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ne.DITA])),...["epub"].map((t=>[t,Ne.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ne.EXCEL])),...["flac"].map((t=>[t,Ne.FLAC])),...["gif"].map((t=>[t,Ne.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ne.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ne.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Ne.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ne.JPEG])),...["json"].map((t=>[t,Ne.JSON])),...["m4a","m4p"].map((t=>[t,Ne.M4A])),...["mov","qt"].map((t=>[t,Ne.MOV])),...["mp3"].map((t=>[t,Ne.MP3])),...["mp4","m4v"].map((t=>[t,Ne.MP4])),...["ogg","oga"].map((t=>[t,Ne.OGG])),...["pdf","ps"].map((t=>[t,Ne.PDF])),...["png"].map((t=>[t,Ne.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ne.POWERPOINT])),...["rar"].map((t=>[t,Ne.RAR])),...["stp"].map((t=>[t,Ne.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ne.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Ne.VIDEO])),...["wav"].map((t=>[t,Ne.WAV])),...["wma"].map((t=>[t,Ne.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ne.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ne.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ne.YAML])),...["zip"].map((t=>[t,Ne.ZIP]))]),Ne.ABW,Ne.AUDIO,Ne.AVI,Ne.CHM,Ne.CODE,Ne.CSV,Ne.DITA,Ne.EPUB,Ne.EXCEL,Ne.FLAC,Ne.GIF,Ne.GZIP,Ne.HTML,Ne.IMAGE,Ne.JPEG,Ne.JSON,Ne.M4A,Ne.MOV,Ne.MP3,Ne.MP4,Ne.OGG,Ne.PDF,Ne.PNG,Ne.POWERPOINT,Ne.RAR,Ne.STP,Ne.TEXT,Ne.UNKNOWN,Ne.VIDEO,Ne.WAV,Ne.WMA,Ne.WORD,Ne.XML,Ne.YAML,Ne.ZIP;const Ce={size:e.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:e.FtCssVariableFactory.extend("--ft-icon-material-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:e.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ie=o.css`
|
|
378
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Se.elementDefinitions={},Se.styles=Oe,we([i.property({type:Boolean})],Se.prototype,"primary",void 0),we([i.property({type:Boolean})],Se.prototype,"secondary",void 0),we([i.property({type:Boolean})],Se.prototype,"unbounded",void 0),we([i.property({type:Boolean})],Se.prototype,"activated",void 0),we([i.property({type:Boolean})],Se.prototype,"selected",void 0),we([i.property({type:Boolean})],Se.prototype,"disabled",void 0),we([i.state()],Se.prototype,"hovered",void 0),we([i.state()],Se.prototype,"focused",void 0),we([i.state()],Se.prototype,"pressed",void 0),we([i.state()],Se.prototype,"rippling",void 0),we([i.state()],Se.prototype,"originX",void 0),we([i.state()],Se.prototype,"originY",void 0),we([i.query(".ft-ripple")],Se.prototype,"ripple",void 0),we([i.query(".ft-ripple--effect")],Se.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(Se),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}($e||($e={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Ne||(Ne={})),new Map([...["abw"].map((t=>[t,Ne.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Ne.AUDIO])),...["avi"].map((t=>[t,Ne.AVI])),...["chm","xhs"].map((t=>[t,Ne.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Ne.CODE])),...["csv"].map((t=>[t,Ne.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ne.DITA])),...["epub"].map((t=>[t,Ne.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ne.EXCEL])),...["flac"].map((t=>[t,Ne.FLAC])),...["gif"].map((t=>[t,Ne.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ne.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ne.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Ne.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ne.JPEG])),...["json"].map((t=>[t,Ne.JSON])),...["m4a","m4p"].map((t=>[t,Ne.M4A])),...["mov","qt"].map((t=>[t,Ne.MOV])),...["mp3"].map((t=>[t,Ne.MP3])),...["mp4","m4v"].map((t=>[t,Ne.MP4])),...["ogg","oga"].map((t=>[t,Ne.OGG])),...["pdf","ps"].map((t=>[t,Ne.PDF])),...["png"].map((t=>[t,Ne.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ne.POWERPOINT])),...["rar"].map((t=>[t,Ne.RAR])),...["stp"].map((t=>[t,Ne.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ne.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Ne.VIDEO])),...["wav"].map((t=>[t,Ne.WAV])),...["wma"].map((t=>[t,Ne.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ne.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ne.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ne.YAML])),...["zip"].map((t=>[t,Ne.ZIP]))]),Ne.ABW,Ne.AUDIO,Ne.AVI,Ne.CHM,Ne.CODE,Ne.CSV,Ne.DITA,Ne.EPUB,Ne.EXCEL,Ne.FLAC,Ne.GIF,Ne.GZIP,Ne.HTML,Ne.IMAGE,Ne.JPEG,Ne.JSON,Ne.M4A,Ne.MOV,Ne.MP3,Ne.MP4,Ne.OGG,Ne.PDF,Ne.PNG,Ne.POWERPOINT,Ne.RAR,Ne.STP,Ne.TEXT,Ne.UNKNOWN,Ne.VIDEO,Ne.WAV,Ne.WMA,Ne.WORD,Ne.XML,Ne.YAML,Ne.ZIP;const Ce={size:e.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:e.FtCssVariableFactory.extend("--ft-icon-material-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:e.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ke=o.css`
|
|
379
379
|
:host, i.ft-icon {
|
|
380
380
|
display: inline-flex;
|
|
381
381
|
align-items: center;
|
|
@@ -423,12 +423,12 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
423
423
|
.ft-icon--material {
|
|
424
424
|
font-family: ${Ce.materialFontFamily}, "Material Icons", sans-serif;
|
|
425
425
|
}
|
|
426
|
-
`;var
|
|
426
|
+
`;var Ie;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ie||(Ie={}));var Ee=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Re extends e.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=o.nothing}render(){const t=this.variant&&Object.values(Ie).includes(this.variant)?this.variant:Ie.fluid_topics,e=t!==Ie.material||!!this.value;return o.html`
|
|
427
427
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
428
428
|
${n.unsafeHTML(this.resolvedIcon)}
|
|
429
429
|
<slot ?hidden=${e}></slot>
|
|
430
430
|
</i>
|
|
431
|
-
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case
|
|
431
|
+
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case Ie.file_format:this.resolvedIcon=null!==(t=Ne[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Ie.material:this.resolvedIcon=this.value||o.nothing;break;default:this.resolvedIcon=null!==(e=$e[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Re.elementDefinitions={},Re.styles=ke,Ee([i.property()],Re.prototype,"variant",void 0),Ee([i.property()],Re.prototype,"value",void 0),Ee([i.state()],Re.prototype,"resolvedIcon",void 0),Ee([i.query("slot")],Re.prototype,"slottedContent",void 0),e.customElement("ft-icon")(Re);const Ue={labelSize:e.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:e.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:e.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:e.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:e.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","unset"),selectedOptionColor:e.FtCssVariableFactory.extend("--ft-select-selected-option-color","",e.designSystemVariables.colorOnSurface),helperColor:e.FtCssVariableFactory.extend("--ft-select-helper-color","",e.designSystemVariables.colorOnSurfaceMedium),optionsColor:e.FtCssVariableFactory.extend("--ft-select-options-color","",e.designSystemVariables.colorOnSurface),optionsZIndex:e.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),colorOnSurfaceDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),elevation02:e.FtCssVariableFactory.external(e.designSystemVariables.elevation02,"Design system"),colorError:e.FtCssVariableFactory.external(e.designSystemVariables.colorError,"Design system")},We=o.css`
|
|
432
432
|
*:focus {
|
|
433
433
|
outline: none;
|
|
434
434
|
}
|
|
@@ -503,8 +503,8 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
503
503
|
overflow: hidden;
|
|
504
504
|
white-space: nowrap;
|
|
505
505
|
text-overflow: ellipsis;
|
|
506
|
-
${e.setVariable(
|
|
507
|
-
${e.setVariable(
|
|
506
|
+
${e.setVariable(It.fontSize,Ue.selectedOptionSize)};
|
|
507
|
+
${e.setVariable(It.lineHeight,Ue.selectedOptionSize)};
|
|
508
508
|
}
|
|
509
509
|
|
|
510
510
|
.ft-select--in-error .ft-select--selected-option {
|
|
@@ -664,8 +664,8 @@ const Ke={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
664
664
|
overflow: hidden;
|
|
665
665
|
padding: 0 ${Ke.horizontalSpacing};
|
|
666
666
|
|
|
667
|
-
${e.setVariable(
|
|
668
|
-
${e.setVariable(
|
|
667
|
+
${e.setVariable(It.fontSize,Ke.fontSize)};
|
|
668
|
+
${e.setVariable(It.lineHeight,Ke.fontSize)};
|
|
669
669
|
}
|
|
670
670
|
|
|
671
671
|
.ft-text-field--input-panel ft-ripple {
|
|
@@ -787,7 +787,17 @@ const Ke={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
787
787
|
.ft-text-field--with-password ft-icon:hover {
|
|
788
788
|
cursor: pointer;
|
|
789
789
|
}
|
|
790
|
-
|
|
790
|
+
|
|
791
|
+
input::-webkit-outer-spin-button,
|
|
792
|
+
input::-webkit-inner-spin-button {
|
|
793
|
+
-webkit-appearance: none;
|
|
794
|
+
margin: 0;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
input[type=number] {
|
|
798
|
+
-moz-appearance: textfield;
|
|
799
|
+
}
|
|
800
|
+
`;var Be=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Fe extends(e.toFtFormComponent(e.FtLitElement,"textbox")){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.passwordHiddenIcon=$e.EYE_SLASH,this.passwordRevealedIcon=$e.EYE,this.filterSuggestions=!1,this.password=!1,this.type="text",this.focused=!1,this.hidePassword=!0,this.suggestionsOnTop=!1,this.hideSuggestions=!1,this.visibleSuggestions=[]}get value(){return this._value||""}set value(t){this.setInternalValue(t||""),this.dispatchedValue=t||""}setInternalValue(t){const e=this._value;this._value=t||"",this.setFormValue(this._value),this.requestUpdate("value",e)}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":0===this.visibleSuggestions.length||this.hideSuggestions,"ft-text-field--raised-label":this.focused||""!=this.value,"ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.password};return o.html`
|
|
791
801
|
<div class="${a.classMap(t)}">
|
|
792
802
|
<div class="ft-text-field--main-panel"
|
|
793
803
|
@keydown=${this.handleKeyboardNavigation}
|
|
@@ -802,14 +812,17 @@ const Ke={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
802
812
|
<ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
|
|
803
813
|
`}
|
|
804
814
|
${this.prefix?o.html`
|
|
805
|
-
<ft-typography class="ft-text-field--prefix"
|
|
815
|
+
<ft-typography class="ft-text-field--prefix" variant="body1">
|
|
806
816
|
${this.prefix}
|
|
807
817
|
</ft-typography>
|
|
808
818
|
`:o.nothing}
|
|
809
|
-
<input type=${this.password&&this.hidePassword?"password":
|
|
810
|
-
maxlength=${(t=>t??
|
|
819
|
+
<input type=${this.password&&this.hidePassword?"password":this.type}
|
|
820
|
+
maxlength=${(t=>t??I)(this.maxLength||void 0)}
|
|
821
|
+
.min=${this.min}
|
|
822
|
+
.max=${this.max}
|
|
811
823
|
aria-label="${this.label}"
|
|
812
824
|
class="ft-typography--body1 ft-text-field--input"
|
|
825
|
+
part="input"
|
|
813
826
|
?disabled=${this.disabled}
|
|
814
827
|
.value=${this.value}
|
|
815
828
|
@click=${this.handleClick}
|
|
@@ -838,7 +851,7 @@ const Ke={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
838
851
|
.variant=${this.iconVariant}
|
|
839
852
|
.value=${this.icon}
|
|
840
853
|
@click=${()=>{var t;return null===(t=this.input)||void 0===t?void 0:t.focus()}}></ft-icon>
|
|
841
|
-
`:o.nothing}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&null!=t.get("value")&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&null!=t.get("dispatchedValue")&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var e,o;if(super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),i=null===(o=this.suggestionsContainer)||void 0===o?void 0:o.getBoundingClientRect();t&&i&&(this.suggestionsOnTop=t.bottom+i.height>window.innerHeight&&t.top-i.height>0)}}setValue(t,e=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),e&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var e;const o=(null===(e=this.input)||void 0===e?void 0:e.value)||"";this.setValue(o,"Escape"==t.key||"Enter"==t.key)}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var e;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const o=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let i;i="ArrowDown"===t.key?o<this.visibleSuggestions.length-1?o+1:0:o>0?o-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[i])||void 0===e||e.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,e;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1,this.setValue((null===(e=this.input)||void 0===e?void 0:e.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}}Fe.elementDefinitions={"ft-input-label":de,"ft-ripple":Se,"ft-typography":se,"ft-icon":Re},Fe.styles=[Qt,De],Be([i.property()],Fe.prototype,"label",void 0),Be([i.property({noAccessor:!0})],Fe.prototype,"value",null),Be([i.state()],Fe.prototype,"dispatchedValue",void 0),Be([i.property()],Fe.prototype,"helper",void 0),Be([i.property({type:Boolean})],Fe.prototype,"outlined",void 0),Be([i.property({type:Boolean})],Fe.prototype,"disabled",void 0),Be([i.property({type:Boolean})],Fe.prototype,"error",void 0),Be([i.property()],Fe.prototype,"prefix",void 0),Be([i.property()],Fe.prototype,"icon",void 0),Be([i.property()],Fe.prototype,"passwordHiddenIcon",void 0),Be([i.property()],Fe.prototype,"passwordRevealedIcon",void 0),Be([i.property()],Fe.prototype,"iconVariant",void 0),Be([i.property({type:Boolean})],Fe.prototype,"filterSuggestions",void 0),Be([i.property({type:Number})],Fe.prototype,"maxLength",void 0),Be([i.property({type:Boolean})],Fe.prototype,"password",void 0),Be([i.state()],Fe.prototype,"focused",void 0),Be([i.state()],Fe.prototype,"hidePassword",void 0),Be([i.state()],Fe.prototype,"suggestionsOnTop",void 0),Be([i.state()],Fe.prototype,"hideSuggestions",void 0),Be([i.state()],Fe.prototype,"visibleSuggestions",void 0),Be([i.query(".ft-text-field--main-panel")],Fe.prototype,"mainPanel",void 0),Be([i.query(".ft-text-field--input")],Fe.prototype,"input",void 0),Be([i.query(".ft-text-field--suggestions")],Fe.prototype,"suggestionsContainer",void 0),Be([i.queryAssignedElements({selector:"ft-text-field-suggestion"})],Fe.prototype,"suggestions",void 0);const Ae=o.css`
|
|
854
|
+
`:o.nothing}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&null!=t.get("value")&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&null!=t.get("dispatchedValue")&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var e,o;if(super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),i=null===(o=this.suggestionsContainer)||void 0===o?void 0:o.getBoundingClientRect();t&&i&&(this.suggestionsOnTop=t.bottom+i.height>window.innerHeight&&t.top-i.height>0)}}setValue(t,e=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),e&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var e;const o=(null===(e=this.input)||void 0===e?void 0:e.value)||"";this.setValue(o,"Escape"==t.key||"Enter"==t.key)}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var e;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const o=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let i;i="ArrowDown"===t.key?o<this.visibleSuggestions.length-1?o+1:0:o>0?o-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[i])||void 0===e||e.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,e;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1,this.setValue((null===(e=this.input)||void 0===e?void 0:e.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}}Fe.elementDefinitions={"ft-input-label":de,"ft-ripple":Se,"ft-typography":se,"ft-icon":Re},Fe.styles=[Qt,De],Be([i.property()],Fe.prototype,"label",void 0),Be([i.property({noAccessor:!0})],Fe.prototype,"value",null),Be([i.state()],Fe.prototype,"dispatchedValue",void 0),Be([i.property()],Fe.prototype,"helper",void 0),Be([i.property({type:Boolean})],Fe.prototype,"outlined",void 0),Be([i.property({type:Boolean})],Fe.prototype,"disabled",void 0),Be([i.property({type:Boolean})],Fe.prototype,"error",void 0),Be([i.property()],Fe.prototype,"prefix",void 0),Be([i.property()],Fe.prototype,"icon",void 0),Be([i.property()],Fe.prototype,"passwordHiddenIcon",void 0),Be([i.property()],Fe.prototype,"passwordRevealedIcon",void 0),Be([i.property()],Fe.prototype,"iconVariant",void 0),Be([i.property({type:Boolean})],Fe.prototype,"filterSuggestions",void 0),Be([i.property({type:Number})],Fe.prototype,"maxLength",void 0),Be([i.property({type:Boolean})],Fe.prototype,"password",void 0),Be([i.property()],Fe.prototype,"type",void 0),Be([i.property()],Fe.prototype,"min",void 0),Be([i.property()],Fe.prototype,"max",void 0),Be([i.state()],Fe.prototype,"focused",void 0),Be([i.state()],Fe.prototype,"hidePassword",void 0),Be([i.state()],Fe.prototype,"suggestionsOnTop",void 0),Be([i.state()],Fe.prototype,"hideSuggestions",void 0),Be([i.state()],Fe.prototype,"visibleSuggestions",void 0),Be([i.query(".ft-text-field--main-panel")],Fe.prototype,"mainPanel",void 0),Be([i.query(".ft-text-field--input")],Fe.prototype,"input",void 0),Be([i.query(".ft-text-field--suggestions")],Fe.prototype,"suggestionsContainer",void 0),Be([i.queryAssignedElements({selector:"ft-text-field-suggestion"})],Fe.prototype,"suggestions",void 0);const Ae=o.css`
|
|
842
855
|
.ft-text-field-suggestion {
|
|
843
856
|
position: relative;
|
|
844
857
|
padding: 8px 16px;
|
|
@@ -1110,7 +1123,7 @@ const Ke={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
1110
1123
|
position: relative;
|
|
1111
1124
|
word-break: break-word;
|
|
1112
1125
|
}
|
|
1113
|
-
`,so=["start","end"],co=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+so[0],e+"-"+so[1])),[]),fo=Math.min,po=Math.max,ho=Math.round,uo=t=>({x:t,y:t}),go={left:"right",right:"left",bottom:"top",top:"bottom"},yo={start:"end",end:"start"};function bo(t,e,o){return po(t,fo(e,o))}function mo(t,e){return"function"==typeof t?t(e):t}function xo(t){return t.split("-")[0]}function vo(t){return t.split("-")[1]}function Oo(t){return"x"===t?"y":"x"}function $o(t){return"y"===t?"height":"width"}function No(t){return["top","bottom"].includes(xo(t))?"y":"x"}function wo(t){return Oo(No(t))}function So(t){return t.replace(/left|right|bottom|top/g,(t=>go[t]))}function Co(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Io(t,e,o){let{reference:i,floating:r}=t;const n=No(e),a=wo(e),l=$o(a),s=xo(e),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,d=i[l]/2-r[l]/2;let h;switch(s){case"top":h={x:f,y:i.y-r.height};break;case"bottom":h={x:f,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:p};break;case"left":h={x:i.x-r.width,y:p};break;default:h={x:i.x,y:i.y}}switch(vo(e)){case"start":h[a]-=d*(o&&c?-1:1);break;case"end":h[a]+=d*(o&&c?-1:1)}return h}async function ko(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=mo(e,t),u=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),g=l[d?"floating"===p?"reference":"floating":p],y=Co(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(g)))||o?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:s})),b="floating"===p?{...a.floating,x:i,y:r}: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},v=Co(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-v.top+u.top)/x.y,bottom:(v.bottom-y.bottom+u.bottom)/x.y,left:(y.left-v.left+u.left)/x.x,right:(v.right-y.right+u.right)/x.x}}function Eo(t,e,o){return(t?[...o.filter((e=>vo(e)===t)),...o.filter((e=>vo(e)!==t))]:o.filter((t=>xo(t)===t))).filter((o=>!t||(vo(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>yo[t]))}(o)!==o)))}const Ro=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:d=co,autoAlignment:h=!0,...u}=mo(t,e),g=void 0!==p||d===co?Eo(p||null,h,d):d,y=await ko(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=g[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=vo(t),r=wo(t),n=$o(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=So(a)),[a,So(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const v=[y[xo(m)],y[x[0]],y[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],$=g[b+1];if($)return{data:{index:b+1,overflows:O},reset:{placement:$}};const N=O.map((t=>{const e=vo(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),w=N.filter((t=>t[2].slice(0,vo(t[0])?2:3).every((t=>t<=0)))),S=(null==(r=w[0])?void 0:r[0])||N[0][0];return S!==l?{data:{index:b+1,overflows:O},reset:{placement:S}}:{}}}};function Uo(t){return zo(t)?(t.nodeName||"").toLowerCase():"#document"}function Wo(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Lo(t){var e;return null==(e=(zo(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function zo(t){return t instanceof Node||t instanceof Wo(t).Node}function Zo(t){return t instanceof Element||t instanceof Wo(t).Element}function Ko(t){return t instanceof HTMLElement||t instanceof Wo(t).HTMLElement}function Do(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Wo(t).ShadowRoot)}function Bo(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=Po(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function Fo(t){return["table","td","th"].includes(Uo(t))}function Ao(t){const e=Ho(),o=Po(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function Ho(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Go(t){return["html","body","#document"].includes(Uo(t))}function Po(t){return Wo(t).getComputedStyle(t)}function jo(t){return Zo(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Mo(t){if("html"===Uo(t))return t;const e=t.assignedSlot||t.parentNode||Do(t)&&t.host||Lo(t);return Do(e)?e.host:e}function To(t){const e=Mo(t);return Go(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ko(e)&&Bo(e)?e:To(e)}function _o(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=To(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Wo(r);return n?e.concat(a,a.visualViewport||[],Bo(r)?r:[],a.frameElement&&o?_o(a.frameElement):[]):e.concat(r,_o(r,[],o))}function Yo(t){const e=Po(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Ko(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,l=ho(o)!==n||ho(i)!==a;return l&&(o=n,i=a),{width:o,height:i,$:l}}function Vo(t){return Zo(t)?t:t.contextElement}function Xo(t){const e=Vo(t);if(!Ko(e))return uo(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Yo(e);let a=(n?ho(o.width):o.width)/i,l=(n?ho(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const qo=uo(0);function Jo(t){const e=Wo(t);return Ho()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:qo}function Qo(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=Vo(t);let a=uo(1);e&&(i?Zo(i)&&(a=Xo(i)):a=Xo(t));const l=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Wo(t))&&e}(n,o,i)?Jo(n):uo(0);let s=(r.left+l.x)/a.x,c=(r.top+l.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=Wo(n),e=i&&Zo(i)?Wo(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Xo(o),e=o.getBoundingClientRect(),i=Po(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=r,c+=n,o=Wo(o).frameElement}}return Co({width:f,height:p,x:s,y:c})}function ti(t){return Qo(Lo(t)).left+jo(t).scrollLeft}function ei(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=Wo(t),i=Lo(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,l=0,s=0;if(r){n=r.width,a=r.height;const t=Ho();(!t||t&&"fixed"===e)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,o);else if("document"===e)i=function(t){const e=Lo(t),o=jo(t),i=t.ownerDocument.body,r=po(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=po(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+ti(t);const l=-o.scrollTop;return"rtl"===Po(i).direction&&(a+=po(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(Lo(t));else if(Zo(e))i=function(t,e){const o=Qo(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=Ko(t)?Xo(t):uo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=Jo(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Co(i)}function oi(t,e){const o=Mo(t);return!(o===e||!Zo(o)||Go(o))&&("fixed"===Po(o).position||oi(o,e))}function ii(t,e,o){const i=Ko(e),r=Lo(e),n="fixed"===o,a=Qo(t,!0,n,e);let l={scrollLeft:0,scrollTop:0};const s=uo(0);if(i||!i&&!n)if(("body"!==Uo(e)||Bo(r))&&(l=jo(e)),i){const t=Qo(e,!0,n,e);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else r&&(s.x=ti(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function ri(t,e){return Ko(t)&&"fixed"!==Po(t).position?e?e(t):t.offsetParent:null}function ni(t,e){const o=Wo(t);if(!Ko(t))return o;let i=ri(t,e);for(;i&&Fo(i)&&"static"===Po(i).position;)i=ri(i,e);return i&&("html"===Uo(i)||"body"===Uo(i)&&"static"===Po(i).position&&!Ao(i))?o:i||function(t){let e=Mo(t);for(;Ko(e)&&!Go(e);){if(Ao(e))return e;e=Mo(e)}return null}(t)||o}const ai={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=Ko(o),n=Lo(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},l=uo(1);const s=uo(0);if((r||!r&&"fixed"!==i)&&(("body"!==Uo(o)||Bo(n))&&(a=jo(o)),Ko(o))){const t=Qo(o);l=Xo(o),s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-a.scrollLeft*l.x+s.x,y:e.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:Lo,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=_o(t,[],!1).filter((t=>Zo(t)&&"body"!==Uo(t))),r=null;const n="fixed"===Po(t).position;let a=n?Mo(t):t;for(;Zo(a)&&!Go(a);){const e=Po(a),o=Ao(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||Bo(a)&&!o&&oi(t,a))?i=i.filter((t=>t!==a)):r=e,a=Mo(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],l=n.reduce(((t,o)=>{const i=ei(e,o,r);return t.top=po(i.top,t.top),t.right=fo(i.right,t.right),t.bottom=fo(i.bottom,t.bottom),t.left=po(i.left,t.left),t}),ei(e,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:ni,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||ni,n=this.getDimensions;return{reference:ii(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Yo(t)},getScale:Xo,isElement:Zo,isRTL:function(t){return"rtl"===Po(t).direction}},li=(t,e,o)=>{const i=new Map,r={platform:ai,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:p}=Io(c,i,s),d=i,h={},u=0;for(let o=0;o<l.length;o++){const{name:n,fn:g}=l[o],{x:y,y:b,data:m,reset:x}=await g({x:f,y:p,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=y?y:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:f,y:p}=Io(c,d,s))),o=-1)}return{x:f,y:p,placement:d,strategy:r,middlewareData:h}})(t,e,{...r,platform:n})};function si(t){return function(t){for(let e=t;e;e=ci(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=ci(t);e;e=ci(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function ci(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var fi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class pi extends e.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 e.Debouncer,this.revealDebouncer=new e.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return o.html`
|
|
1126
|
+
`,so=["start","end"],co=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+so[0],e+"-"+so[1])),[]),fo=Math.min,po=Math.max,ho=Math.round,uo=t=>({x:t,y:t}),go={left:"right",right:"left",bottom:"top",top:"bottom"},yo={start:"end",end:"start"};function bo(t,e,o){return po(t,fo(e,o))}function mo(t,e){return"function"==typeof t?t(e):t}function xo(t){return t.split("-")[0]}function vo(t){return t.split("-")[1]}function Oo(t){return"x"===t?"y":"x"}function $o(t){return"y"===t?"height":"width"}function No(t){return["top","bottom"].includes(xo(t))?"y":"x"}function wo(t){return Oo(No(t))}function So(t){return t.replace(/left|right|bottom|top/g,(t=>go[t]))}function Co(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ko(t,e,o){let{reference:i,floating:r}=t;const n=No(e),a=wo(e),l=$o(a),s=xo(e),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,d=i[l]/2-r[l]/2;let h;switch(s){case"top":h={x:f,y:i.y-r.height};break;case"bottom":h={x:f,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:p};break;case"left":h={x:i.x-r.width,y:p};break;default:h={x:i.x,y:i.y}}switch(vo(e)){case"start":h[a]-=d*(o&&c?-1:1);break;case"end":h[a]+=d*(o&&c?-1:1)}return h}async function Io(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=mo(e,t),u=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),g=l[d?"floating"===p?"reference":"floating":p],y=Co(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(g)))||o?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:s})),b="floating"===p?{...a.floating,x:i,y:r}: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},v=Co(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-v.top+u.top)/x.y,bottom:(v.bottom-y.bottom+u.bottom)/x.y,left:(y.left-v.left+u.left)/x.x,right:(v.right-y.right+u.right)/x.x}}function Eo(t,e,o){return(t?[...o.filter((e=>vo(e)===t)),...o.filter((e=>vo(e)!==t))]:o.filter((t=>xo(t)===t))).filter((o=>!t||(vo(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>yo[t]))}(o)!==o)))}const Ro=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:d=co,autoAlignment:h=!0,...u}=mo(t,e),g=void 0!==p||d===co?Eo(p||null,h,d):d,y=await Io(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=g[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=vo(t),r=wo(t),n=$o(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=So(a)),[a,So(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const v=[y[xo(m)],y[x[0]],y[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],$=g[b+1];if($)return{data:{index:b+1,overflows:O},reset:{placement:$}};const N=O.map((t=>{const e=vo(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),w=N.filter((t=>t[2].slice(0,vo(t[0])?2:3).every((t=>t<=0)))),S=(null==(r=w[0])?void 0:r[0])||N[0][0];return S!==l?{data:{index:b+1,overflows:O},reset:{placement:S}}:{}}}};function Uo(t){return zo(t)?(t.nodeName||"").toLowerCase():"#document"}function Wo(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Lo(t){var e;return null==(e=(zo(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function zo(t){return t instanceof Node||t instanceof Wo(t).Node}function Zo(t){return t instanceof Element||t instanceof Wo(t).Element}function Ko(t){return t instanceof HTMLElement||t instanceof Wo(t).HTMLElement}function Do(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Wo(t).ShadowRoot)}function Bo(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=Po(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function Fo(t){return["table","td","th"].includes(Uo(t))}function Ao(t){const e=Ho(),o=Po(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function Ho(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Go(t){return["html","body","#document"].includes(Uo(t))}function Po(t){return Wo(t).getComputedStyle(t)}function jo(t){return Zo(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Mo(t){if("html"===Uo(t))return t;const e=t.assignedSlot||t.parentNode||Do(t)&&t.host||Lo(t);return Do(e)?e.host:e}function To(t){const e=Mo(t);return Go(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ko(e)&&Bo(e)?e:To(e)}function _o(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=To(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Wo(r);return n?e.concat(a,a.visualViewport||[],Bo(r)?r:[],a.frameElement&&o?_o(a.frameElement):[]):e.concat(r,_o(r,[],o))}function Yo(t){const e=Po(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Ko(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,l=ho(o)!==n||ho(i)!==a;return l&&(o=n,i=a),{width:o,height:i,$:l}}function Vo(t){return Zo(t)?t:t.contextElement}function Xo(t){const e=Vo(t);if(!Ko(e))return uo(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Yo(e);let a=(n?ho(o.width):o.width)/i,l=(n?ho(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const qo=uo(0);function Jo(t){const e=Wo(t);return Ho()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:qo}function Qo(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=Vo(t);let a=uo(1);e&&(i?Zo(i)&&(a=Xo(i)):a=Xo(t));const l=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Wo(t))&&e}(n,o,i)?Jo(n):uo(0);let s=(r.left+l.x)/a.x,c=(r.top+l.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=Wo(n),e=i&&Zo(i)?Wo(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Xo(o),e=o.getBoundingClientRect(),i=Po(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=r,c+=n,o=Wo(o).frameElement}}return Co({width:f,height:p,x:s,y:c})}function ti(t){return Qo(Lo(t)).left+jo(t).scrollLeft}function ei(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=Wo(t),i=Lo(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,l=0,s=0;if(r){n=r.width,a=r.height;const t=Ho();(!t||t&&"fixed"===e)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,o);else if("document"===e)i=function(t){const e=Lo(t),o=jo(t),i=t.ownerDocument.body,r=po(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=po(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+ti(t);const l=-o.scrollTop;return"rtl"===Po(i).direction&&(a+=po(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(Lo(t));else if(Zo(e))i=function(t,e){const o=Qo(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=Ko(t)?Xo(t):uo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=Jo(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Co(i)}function oi(t,e){const o=Mo(t);return!(o===e||!Zo(o)||Go(o))&&("fixed"===Po(o).position||oi(o,e))}function ii(t,e,o){const i=Ko(e),r=Lo(e),n="fixed"===o,a=Qo(t,!0,n,e);let l={scrollLeft:0,scrollTop:0};const s=uo(0);if(i||!i&&!n)if(("body"!==Uo(e)||Bo(r))&&(l=jo(e)),i){const t=Qo(e,!0,n,e);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else r&&(s.x=ti(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function ri(t,e){return Ko(t)&&"fixed"!==Po(t).position?e?e(t):t.offsetParent:null}function ni(t,e){const o=Wo(t);if(!Ko(t))return o;let i=ri(t,e);for(;i&&Fo(i)&&"static"===Po(i).position;)i=ri(i,e);return i&&("html"===Uo(i)||"body"===Uo(i)&&"static"===Po(i).position&&!Ao(i))?o:i||function(t){let e=Mo(t);for(;Ko(e)&&!Go(e);){if(Ao(e))return e;e=Mo(e)}return null}(t)||o}const ai={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=Ko(o),n=Lo(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},l=uo(1);const s=uo(0);if((r||!r&&"fixed"!==i)&&(("body"!==Uo(o)||Bo(n))&&(a=jo(o)),Ko(o))){const t=Qo(o);l=Xo(o),s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-a.scrollLeft*l.x+s.x,y:e.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:Lo,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=_o(t,[],!1).filter((t=>Zo(t)&&"body"!==Uo(t))),r=null;const n="fixed"===Po(t).position;let a=n?Mo(t):t;for(;Zo(a)&&!Go(a);){const e=Po(a),o=Ao(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||Bo(a)&&!o&&oi(t,a))?i=i.filter((t=>t!==a)):r=e,a=Mo(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],l=n.reduce(((t,o)=>{const i=ei(e,o,r);return t.top=po(i.top,t.top),t.right=fo(i.right,t.right),t.bottom=fo(i.bottom,t.bottom),t.left=po(i.left,t.left),t}),ei(e,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:ni,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||ni,n=this.getDimensions;return{reference:ii(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Yo(t)},getScale:Xo,isElement:Zo,isRTL:function(t){return"rtl"===Po(t).direction}},li=(t,e,o)=>{const i=new Map,r={platform:ai,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:p}=ko(c,i,s),d=i,h={},u=0;for(let o=0;o<l.length;o++){const{name:n,fn:g}=l[o],{x:y,y:b,data:m,reset:x}=await g({x:f,y:p,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=y?y:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:f,y:p}=ko(c,d,s))),o=-1)}return{x:f,y:p,placement:d,strategy:r,middlewareData:h}})(t,e,{...r,platform:n})};function si(t){return function(t){for(let e=t;e;e=ci(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=ci(t);e;e=ci(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function ci(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var fi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class pi extends e.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 e.Debouncer,this.revealDebouncer=new e.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return o.html`
|
|
1114
1127
|
<div part="container"
|
|
1115
1128
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
1116
1129
|
@mouseenter=${this.onHover}
|
|
@@ -1128,7 +1141,7 @@ const Ke={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
1128
1141
|
</div>
|
|
1129
1142
|
</div>
|
|
1130
1143
|
</div>
|
|
1131
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&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="",li(this.slottedElement,this.tooltip,{platform:{...ai,getOffsetParent:t=>ai.getOffsetParent(t,si)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...s}=mo(t,e),c={x:o,y:i},f=await
|
|
1144
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&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="",li(this.slottedElement,this.tooltip,{platform:{...ai,getOffsetParent:t=>ai.getOffsetParent(t,si)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...s}=mo(t,e),c={x:o,y:i},f=await Io(e,s),p=No(xo(r)),d=Oo(p);let h=c[d],u=c[p];if(n){const t="y"===d?"bottom":"right";h=bo(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";u=bo(u+f["y"===p?"top":"left"],u,u-f[t])}const g=l.fn({...e,[d]:h,[p]:u});return{...g,data:{x:g.x-o,y:g.y-i}}}}),Ro({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}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,e){return Math.max(t,Math.min(0,-e))}}pi.elementDefinitions={"ft-typography":se},pi.styles=lo,fi([i.property()],pi.prototype,"text",void 0),fi([i.property({type:Boolean})],pi.prototype,"manual",void 0),fi([i.property({type:Boolean})],pi.prototype,"inline",void 0),fi([i.property({type:Number})],pi.prototype,"delay",void 0),fi([i.property()],pi.prototype,"position",void 0),fi([i.queryAssignedNodes()],pi.prototype,"slotNodes",void 0),fi([i.query(".ft-tooltip--container")],pi.prototype,"container",void 0),fi([i.query(".ft-tooltip")],pi.prototype,"tooltip",void 0),fi([i.query(".ft-tooltip--content")],pi.prototype,"tooltipContent",void 0),fi([i.state()],pi.prototype,"visible",void 0),fi([i.eventOptions({passive:!0})],pi.prototype,"onTouch",null),fi([i.eventOptions({passive:!0})],pi.prototype,"onHover",null),fi([i.eventOptions({passive:!0})],pi.prototype,"onOut",null),fi([i.eventOptions({passive:!0})],pi.prototype,"onClick",null),e.customElement("ft-tooltip")(pi);class di extends e.FtLitElement{render(){return o.html`
|
|
1132
1145
|
<div class="ft-loader">
|
|
1133
1146
|
<div></div>
|
|
1134
1147
|
<div></div>
|