@fluid-topics/ft-search-facet 1.1.49 → 1.1.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-search-facet.light.js +75 -68
- package/build/ft-search-facet.min.js +283 -276
- package/package.json +7 -7
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* @license
|
|
5
5
|
* Copyright 2017 Google LLC
|
|
6
6
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7
|
-
*/,s=globalThis,c=s.trustedTypes,f=c?c.createPolicy("lit-html",{createHTML:t=>t}):void 0,p="$lit$",h=`lit$${(Math.random()+"").slice(9)}$`,d="?"+h,u=`<${d}>`,g=document,y=()=>g.createComment(""),b=t=>null===t||"object"!=typeof t&&"function"!=typeof t,m=Array.isArray,x="[ \t\n\f\r]",v=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,O=/-->/g,
|
|
7
|
+
*/,s=globalThis,c=s.trustedTypes,f=c?c.createPolicy("lit-html",{createHTML:t=>t}):void 0,p="$lit$",h=`lit$${(Math.random()+"").slice(9)}$`,d="?"+h,u=`<${d}>`,g=document,y=()=>g.createComment(""),b=t=>null===t||"object"!=typeof t&&"function"!=typeof t,m=Array.isArray,x="[ \t\n\f\r]",v=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,O=/-->/g,w=/>/g,S=RegExp(`>|${x}(?:([^\\s"'>=/]+)(${x}*=${x}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),N=/'/g,$=/"/g,C=/^(?:script|style|textarea|title)$/i,I=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),E=Symbol.for("lit-noChange"),k=Symbol.for("lit-nothing"),R=new WeakMap,U=g.createTreeWalker(g,129);function L(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==f?f.createHTML(o):o}const W=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=v;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,s=a.exec(e),null!==s);)f=a.lastIndex,a===v?"!--"===s[1]?a=O:void 0!==s[1]?a=w:void 0!==s[2]?(C.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=S):void 0!==s[3]&&(a=S):a===S?">"===s[0]?(a=r??v,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?S:'"'===s[3]?$:N):a===$||a===N?a=S:a===O||a===w?a=v:(a=S,r=void 0);const d=a===S&&t[o+1].startsWith("/>")?" ":"";n+=a===v?e+u:c>=0?(i.push(l),e.slice(0,c)+p+e.slice(c)+h+d):e+h+(-2===c?o:d)}return[L(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class z{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[s,f]=W(t,o);if(this.el=z.createElement(s,e),U.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=U.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(p)){const o=f[n++],e=i.getAttribute(t).split(h),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?B:"?"===a[1]?F:"@"===a[1]?T:K}),i.removeAttribute(t)}else t.startsWith(h)&&(l.push({type:6,index:r}),i.removeAttribute(t));if(C.test(i.tagName)){const t=i.textContent.split(h),o=t.length-1;if(o>0){i.textContent=c?c.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],y()),U.nextNode(),l.push({type:2,index:++r});i.append(t[o],y())}}}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(h,t+1));)l.push({type:7,index:r}),t+=h.length-1}r++}}static createElement(t,o){const e=g.createElement("template");return e.innerHTML=t,e}}function Z(t,o,e=t,i){if(o===E)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=b(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=Z(t,r._$AS(t,o.values),r,i)),o}class D{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??g).importNode(o,!0);U.currentNode=i;let r=U.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new A(r,r.nextSibling,this,t):1===l.type?o=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(o=new H(r,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(r=U.nextNode(),n++)}return U.currentNode=g,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class A{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=k,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Z(this,t,o),b(t)?t===k||null==t||""===t?(this._$AH!==k&&this._$AR(),this._$AH=k):t!==this._$AH&&t!==E&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>m(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!==k&&b(this._$AH)?this._$AA.nextSibling.data=t:this.$(g.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=z.createElement(L(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new D(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=R.get(t.strings);return void 0===o&&R.set(t.strings,o=new z(t)),o}T(t){m(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new A(this.k(y()),this.k(y()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class K{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=k,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=k}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=Z(this,t,o,0),n=!b(t)||t!==this._$AH&&t!==E,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[e+a],o,a),l===E&&(l=this._$AH[a]),n||=!b(l)||l!==this._$AH[a],l===k?t=k:t!==k&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}n&&!i&&this.O(t)}O(t){t===k?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class B extends K{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===k?void 0:t}}class F extends K{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==k)}}class T extends K{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=Z(this,t,o,0)??k)===E)return;const e=this._$AH,i=t===k&&e!==k||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==k&&(e===k||i);i&&this.element.removeEventListener(this.name,this,e),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,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Z(this,t)}}const P=s.litHtmlPolyfillSupport;P?.(z,A),(s.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 M=Symbol.for(""),j=t=>{if(t?.r===M)return t?._$litStatic$},_=t=>({_$litStatic$:t,r:M}),G=new Map,V=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],l=[];let s,c=0,f=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(n=e[c],r=j(n));)s+=r+o[++c],f=!0;c!==i&&l.push(n),a.push(s),c++}if(c===i&&a.push(o[i]),f){const t=a.join("$$lit$$");void 0===(o=G.get(t))&&(a.raw=a,G.set(t,o=a)),e=l}return t(o,...e)})(I);var q;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(q||(q={}));const Y=t=>"string"==typeof t?e.unsafeCSS(t):t;class Q{static create(t,o,i,r){const n=t=>Y(null!=t?t:r),a=e.css`var(${Y(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${Y(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,o,i,r){const n=t=>i.get(null!=t?t:r),a=e.css`var(${Y(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${Y(t)}, ${n(o)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):Y(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${Y(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=i,r.get=o=>e.css`var(${Y(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const X={colorWhite:Q.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Q.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Q.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Q.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Q.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Q.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Q.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Q.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Q.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Q.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Q.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Q.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Q.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Q.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Q.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Q.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Q.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Q.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Q.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Q.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Q.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Q.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Q.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Q.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Q.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Q.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Q.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Q.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Q.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Q.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Q.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Q.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Q.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Q.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Q.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Q.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Q.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Q.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Q.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Q.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Q.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Q.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Q.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Q.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Q.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Q.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Q.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Q.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Q.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Q.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Q.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Q.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Q.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Q.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Q.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Q.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Q.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Q.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Q.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Q.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Q.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Q.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Q.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Q.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:Q.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:Q.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:Q.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:Q.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:Q.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:Q.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:Q.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:Q.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:Q.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:Q.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:Q.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:Q.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:Q.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:Q.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:Q.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Q.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Q.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Q.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Q.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Q.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Q.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Q.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Q.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Q.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Q.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Q.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Q.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Q.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Q.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Q.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Q.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Q.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Q.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Q.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Q.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Q.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Q.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Q.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Q.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Q.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Q.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Q.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Q.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Q.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Q.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Q.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Q.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Q.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Q.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Q.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Q.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Q.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Q.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Q.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Q.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Q.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Q.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Q.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Q.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Q.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Q.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Q.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Q.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Q.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Q.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Q.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Q.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Q.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Q.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Q.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Q.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Q.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Q.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Q.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Q.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Q.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Q.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Q.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Q.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Q.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Q.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Q.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Q.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Q.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Q.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Q.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Q.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Q.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Q.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Q.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Q.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Q.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Q.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Q.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Q.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Q.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Q.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Q.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Q.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Q.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Q.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Q.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Q.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Q.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Q.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Q.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Q.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Q.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Q.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Q.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Q.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Q.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Q.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Q.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Q.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Q.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Q.create("--ft-opacity-0","","NUMBER","0"),opacity8:Q.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Q.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Q.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Q.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Q.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Q.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:Q.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:Q.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:Q.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:Q.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:Q.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:Q.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:Q.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:Q.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)"),underline:Q.create("--ft-underline","","UNKNOWN","underline")},J={display:{fontFamily:Q.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Q.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Q.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Q.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Q.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Q.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:Q.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Q.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Q.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Q.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:Q.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Q.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Q.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Q.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:Q.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Q.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Q.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Q.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Q.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Q.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Q.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Q.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Q.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Q.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Q.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Q.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Q.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Q.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Q.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Q.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Q.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Q.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Q.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Q.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Q.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Q.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Q.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Q.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-medium-underline":{fontFamily:Q.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:Q.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:Q.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:Q.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:Q.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:Q.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},"body-2-semibold":{fontFamily:Q.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Q.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Q.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Q.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Q.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Q.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Q.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Q.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Q.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Q.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Q.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Q.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Q.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Q.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Q.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Q.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Q.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Q.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Q.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Q.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Q.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Q.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Q.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Q.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Q.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Q.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Q.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Q.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Q.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Q.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Q.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Q.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Q.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Q.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Q.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Q.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Q.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Q.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Q.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Q.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Q.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Q.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Q.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Q.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Q.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Q.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Q.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Q.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Q.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Q.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Q.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Q.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Q.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Q.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Q.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Q.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Q.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Q.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Q.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Q.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Q.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Q.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Q.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Q.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Q.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Q.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Q.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Q.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:Q.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Q.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Q.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Q.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Q.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:Q.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Q.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Q.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Q.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Q.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:Q.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Q.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Q.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Q.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Q.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Q.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},tt={backgroundActionPrimary:Q.extend("--ft-background-action-primary","Used as backgorund of primary action components.",X.colorBrand0),backgroundErrorSubtle:Q.extend("--ft-background-error-subtle","Used as background of subtle error components.",X.colorRed10),backgroundInfoSubtle:Q.extend("--ft-background-info-subtle","Used as background of subtle information components.",X.colorCyan10),backgroundWarningSubtle:Q.extend("--ft-background-warning-subtle","Used as background of subtle information components.",X.colorOrange10),backgroundSuccessSubtle:Q.extend("--ft-background-success-subtle","Used as background of subtle success components.",X.colorGreen10),backgroundGlobalSurface:Q.extend("--ft-background-global-surface","Used as app background.",X.colorWhite),backgroundGlobalOnSurface:Q.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",X.colorGray10),backgroundGlobalOnSurfaceDark:Q.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",X.colorGray30),contentActionPrimary:Q.extend("--ft-content-action-primary","Used on label of primary action on light surface.",X.colorBrand0),contentWarningPrimary:Q.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",X.colorOrange200),contentWarningIconOnly:Q.extend("--ft-content-warning-icon-only","Used on warning status icons alone",X.colorOrange0),contentErrorPrimary:Q.extend("--ft-content-error-primary","Used on label of error messages on light surface.",X.colorRed0),contentErrorIconOnly:Q.extend("--ft-content-error-icon-only","Used on error status icons alone",X.colorRed70),contentInfoPrimary:Q.extend("--ft-content-info-primary","Used on label of information messages on light surface.",X.colorCyan200),contentInfoIconOnly:Q.extend("--ft-content-info-icon-only","Used on info status icons alone",X.colorCyan0),contentSuccessPrimary:Q.extend("--ft-content-success-primary","Used on label of success messages on light surface.",X.colorGreen200),contentSuccessIconOnly:Q.extend("--ft-content-success-icon-only","Used on success status icons alone",X.colorGreen0),contentGlobalPrimary:Q.extend("--ft-content-global-primary","Used for main content on the page.",X.colorGray500),contentGlobalSecondary:Q.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",X.colorGray200),contentGlobalSubtle:Q.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",X.colorGray0),contentGlobalOnColor:Q.extend("--ft-content-global-on-color","Used for content on a dominant color.",X.colorWhite),borderActionPrimary:Q.extend("--ft-border-action-primary","Used as border for primary action components.",X.colorBrand0),borderActionFocusRing:Q.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",X.colorCyan0),borderWarningPrimary:Q.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",X.colorOrange200),borderWarningSubtle:Q.extend("--ft-border-warning-subtle","Used as border for warning components.",X.colorOrange30),borderSuccessPrimary:Q.extend("--ft-border-success-primary","Used as border for success buttons.",X.colorGreen200),borderSuccessSubtle:Q.extend("--ft-border-success-subtle","Used as border for success components.",X.colorGreen30),borderErrorPrimary:Q.extend("--ft-border-error-primary","Used as border for text fields in error states.",X.colorRed0),borderErrorSubtle:Q.extend("--ft-border-error-subtle","Used as border for error components.",X.colorRed30),borderInfoPrimary:Q.extend("--ft-border-info-primary","Used as border for buttons in info color.",X.colorCyan200),borderInfoSubtle:Q.extend("--ft-border-info-subtle","Used as border for information components.",X.colorCyan30),borderGlobalPrimary:Q.extend("--ft-border-global-primary","Used as border for element like input.",X.colorGray50),borderGlobalSubtle:Q.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",X.colorGray30),borderInputPrimary:Q.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",X.colorGray80)},ot={largeHeight:Q.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Q.extend("--ft-button-large-horizontal-padding","",X.spacing4),largeGap:Q.extend("--ft-button-large-gap","",X.spacing2),largeBorderRadius:Q.extend("--ft-button-large-border-radius","",X.borderRadiusS),largeIconSize:Q.extend("--ft-button-large-icon-size","",X.iconSize3),largeBorderWidth:Q.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Q.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Q.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Q.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Q.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Q.extend("--ft-button-small-horizontal-padding","",X.spacing3),smallGap:Q.extend("--ft-button-small-gap","",X.spacing2),smallBorderRadius:Q.extend("--ft-button-small-border-radius","",X.borderRadiusS),smallIconSize:Q.extend("--ft-button-small-icon-size","",X.iconSize2),smallBorderWidth:Q.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Q.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Q.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Q.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Q.extend("--ft-button-primary-background-color","",tt.backgroundActionPrimary),primaryColor:Q.extend("--ft-button-primary-color","",tt.contentGlobalOnColor),primaryIconColor:Q.extend("--ft-button-primary-icon-color","",tt.contentGlobalOnColor),primaryStateLayerColor:Q.extend("--ft-button-primary-state-layer-color","",tt.contentGlobalOnColor),primaryHoverStateLayerOpacity:Q.extend("--ft-button-primary-hover-state-layer-opacity","",X.opacity16),primaryFocusStateLayerOpacity:Q.extend("--ft-button-primary-focus-state-layer-opacity","",X.opacity16),primaryActiveStateLayerOpacity:Q.extend("--ft-button-primary-active-state-layer-opacity","",X.opacity24),primaryDisabledComponentOpacity:Q.extend("--ft-button-primary-disabled-component-opacity","",X.opacity40),focusFocusRingColor:Q.extend("--ft-button-focus-focus-ring-color","",tt.borderActionFocusRing),tertiaryBackgroundColor:Q.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Q.extend("--ft-button-tertiary-color","",tt.contentActionPrimary),tertiaryIconColor:Q.extend("--ft-button-tertiary-icon-color","",tt.contentActionPrimary),tertiaryStateLayerColor:Q.extend("--ft-button-tertiary-state-layer-color","",tt.contentActionPrimary),tertiaryHoverStateLayerOpacity:Q.extend("--ft-button-tertiary-hover-state-layer-opacity","",X.opacity8),tertiaryFocusStateLayerOpacity:Q.extend("--ft-button-tertiary-focus-state-layer-opacity","",X.opacity8),tertiaryActiveStateLayerOpacity:Q.extend("--ft-button-tertiary-active-state-layer-opacity","",X.opacity16),tertiaryDisabledComponentOpacity:Q.extend("--ft-button-tertiary-disabled-component-opacity","",X.opacity40),secondaryBackgroundColor:Q.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Q.extend("--ft-button-secondary-color","",tt.contentActionPrimary),secondaryIconColor:Q.extend("--ft-button-secondary-icon-color","",tt.contentActionPrimary),secondaryStateLayerColor:Q.extend("--ft-button-secondary-state-layer-color","",tt.contentActionPrimary),secondaryHoverStateLayerOpacity:Q.extend("--ft-button-secondary-hover-state-layer-opacity","",X.opacity8),secondaryFocusStateLayerOpacity:Q.extend("--ft-button-secondary-focus-state-layer-opacity","",X.opacity8),secondaryActiveStateLayerOpacity:Q.extend("--ft-button-secondary-active-state-layer-opacity","",X.opacity16),secondaryDisabledComponentOpacity:Q.extend("--ft-button-secondary-disabled-component-opacity","",X.opacity40),secondaryBorderColor:Q.extend("--ft-button-secondary-border-color","",tt.borderActionPrimary),neutralBackgroundColor:Q.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Q.extend("--ft-button-neutral-icon-color","",tt.contentGlobalSecondary),neutralColor:Q.extend("--ft-button-neutral-color","",tt.contentGlobalSecondary),neutralStateLayerColor:Q.extend("--ft-button-neutral-state-layer-color","",tt.contentGlobalSecondary),neutralHoverStateLayerOpacity:Q.extend("--ft-button-neutral-hover-state-layer-opacity","",X.opacity8),neutralFocusStateLayerOpacity:Q.extend("--ft-button-neutral-focus-state-layer-opacity","",X.opacity8),neutralActiveStateLayerOpacity:Q.extend("--ft-button-neutral-active-state-layer-opacity","",X.opacity16),neutralDisabledComponentOpacity:Q.extend("--ft-button-neutral-disabled-component-opacity","",X.opacity40)};Q.extend("--ft-banner-icon-size","",X.iconSize5),Q.create("--ft-banner-border-width","","SIZE","1px"),Q.extend("--ft-banner-horizontal-padding","",X.spacing6),Q.extend("--ft-banner-vertical-padding","",X.spacing6),Q.extend("--ft-banner-horizontal-side-gap","",X.spacing6),Q.extend("--ft-banner-horizontal-mobile-gap","",X.spacing4),Q.extend("--ft-banner-vertical-mobile-gap","",X.spacing6),Q.extend("--ft-banner-horizontal-middle-gap","",X.spacing20),Q.extend("--ft-banner-info-background-color","",tt.backgroundInfoSubtle),Q.extend("--ft-banner-info-color","",tt.contentInfoPrimary),Q.extend("--ft-banner-info-icon-color","",tt.contentInfoIconOnly),Q.extend("--ft-breadcrumb-gap","",X.spacing1),Q.extend("--ft-page-header-horizontal-padding","",X.spacing12),Q.extend("--ft-page-header-vertical-padding","",X.spacing6),Q.create("--ft-modal-small-container-width","","SIZE","600px"),Q.create("--ft-modal-large-container-width","","SIZE","900px"),Q.extend("--ft-modal-overlay-background-color","",X.colorGray700),Q.extend("--ft-modal-overlay-opacity","",X.opacity40),Q.extend("--ft-modal-shadow","",X.shadowElevation03),Q.extend("--ft-modal-body-background-color","",X.colorWhite),Q.extend("--ft-modal-body-color","",tt.contentGlobalPrimary),Q.extend("--ft-modal-body-horizontal-padding","",X.spacing6),Q.extend("--ft-modal-body-vertical-padding","",X.spacing6),Q.extend("--ft-modal-body-vertical-gap","",X.spacing6),Q.extend("--ft-modal-container-margin","",X.spacing3),Q.extend("--ft-modal-header-background-color","",tt.backgroundGlobalOnSurface),Q.extend("--ft-modal-header-border-color","",tt.borderGlobalSubtle),Q.extend("--ft-modal-header-color","",tt.contentGlobalPrimary),Q.extend("--ft-modal-header-trailing-icon-color","",tt.contentGlobalSecondary),Q.extend("--ft-modal-header-vertical-padding","",X.spacing1),Q.extend("--ft-modal-header-right-padding","",X.spacing1),Q.extend("--ft-modal-header-left-padding","",X.spacing6),Q.extend("--ft-modal-header-gap","",X.spacing2),Q.create("--ft-modal-header-border-bottom","","SIZE","1px"),Q.extend("--ft-modal-border-radius","",X.borderRadiusM),Q.extend("--ft-text-input-field-horizontal-padding","",X.spacing4),Q.extend("--ft-text-input-field-horizontal-gap","",X.spacing3),Q.extend("--ft-text-input-field-vertical-gap","",X.spacing05),Q.extend("--ft-text-input-field-icon-size","",X.iconSize3),Q.create("--ft-text-input-field-height","","SIZE","50px"),Q.extend("--ft-text-input-helper-horizontal-padding","",X.spacing4),Q.extend("--ft-text-input-helper-horizontal-gap","",X.spacing1),Q.extend("--ft-text-input-helper-icon-size","",X.iconSize2),Q.extend("--ft-text-input-border-radius","",X.borderRadiusM),Q.extend("--ft-text-input-background-color","",X.colorWhite),Q.extend("--ft-text-input-content-value-color","",tt.contentGlobalPrimary),Q.extend("--ft-text-input-trailing-icon-color","",tt.contentGlobalSubtle),Q.extend("--ft-text-input-label-color","",tt.contentGlobalSubtle),Q.extend("--ft-text-input-default-border-color","",tt.borderInputPrimary),Q.extend("--ft-text-input-default-helper-text-color","",tt.contentGlobalSubtle),Q.create("--ft-text-input-default-border-width","","SIZE","1px"),Q.create("--ft-text-input-error-border-width","","SIZE","2px"),Q.extend("--ft-text-input-error-border-color","",tt.borderErrorPrimary),Q.extend("--ft-text-input-error-helper-text-color","",tt.contentErrorPrimary),Q.extend("--ft-text-input-error-helper-icon-color","",tt.contentErrorIconOnly),Q.create("--ft-text-input-warning-border-width","","SIZE","2px"),Q.create("--ft-text-input-focus-outline-width","","SIZE","2px"),Q.extend("--ft-text-input-focus-focus-ring-color","",tt.borderActionFocusRing),Q.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),Q.extend("--ft-text-input-disabled-component-opacity","",X.opacity40),Q.extend("--ft-text-area-background-color","",X.colorWhite),Q.extend("--ft-text-area-content-value-color","",tt.contentGlobalPrimary),Q.extend("--ft-text-area-label-color","",tt.contentGlobalSubtle),Q.extend("--ft-text-area-default-border-color","",tt.borderInputPrimary),Q.extend("--ft-text-area-default-helper-text-color","",tt.contentGlobalSubtle),Q.create("--ft-text-area-default-border-width","","SIZE","1px"),Q.create("--ft-text-area-error-border-width","","SIZE","2px"),Q.extend("--ft-text-area-error-border-color","",tt.borderErrorPrimary),Q.extend("--ft-text-area-error-helper-text-color","",tt.contentErrorPrimary),Q.extend("--ft-text-area-error-helper-icon-color","",tt.contentErrorIconOnly),Q.extend("--ft-text-area-focus-focus-ring-color","",tt.borderActionFocusRing),Q.create("--ft-text-area-focus-outline-width","","SIZE","2px"),Q.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),Q.extend("--ft-text-area-disabled-component-opacity","",X.opacity40),Q.extend("--ft-text-area-field-horizontal-left-padding","",X.spacing4),Q.extend("--ft-text-area-field-horizontal-gap","",X.spacing3),Q.extend("--ft-text-area-field-vertical-gap","",X.spacing05),Q.create("--ft-text-area-field-min-height","","SIZE","64px"),Q.extend("--ft-text-area-helper-horizontal-padding","",X.spacing4),Q.extend("--ft-text-area-helper-horizontal-gap","",X.spacing1),Q.extend("--ft-text-area-helper-icon-size","",X.iconSize2),Q.extend("--ft-text-area-border-radius","",X.borderRadiusM),Q.create("--ft-floating-menu-height","","SIZE","50px"),Q.extend("--ft-floating-menu-horizontal-padding","",X.spacing4),Q.extend("--ft-floating-menu-off-icon-color","",tt.contentGlobalPrimary),Q.extend("--ft-floating-menu-off-color","",tt.contentGlobalPrimary),Q.extend("--ft-floating-menu-on-color","",tt.contentActionPrimary),Q.extend("--ft-floating-menu-on-state-layer-color","",tt.contentActionPrimary),Q.extend("--ft-floating-menu-gap","",X.spacing3),Q.extend("--ft-floating-menu-focus-focus-ring-color","",tt.borderActionFocusRing),Q.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Q.extend("--ft-floating-menu-focus-state-layer-opacity","",X.opacity8),Q.extend("--ft-floating-menu-hover-state-layer-opacity","",X.opacity8),Q.extend("--ft-floating-menu-active-state-layer-opacity","",X.opacity16),Q.extend("--ft-floating-menu-disabled-component-opacity","",X.opacity40),Q.extend("--ft-floating-menu-icon-size","",X.iconSize3),Q.extend("--ft-floating-menu-background-color","",tt.backgroundGlobalOnSurface),Q.extend("--ft-combobox-single-select-field-horizontal-padding","",X.spacing4),Q.extend("--ft-combobox-single-select-field-horizontal-gap","",X.spacing3),Q.extend("--ft-combobox-single-select-field-vertical-gap","",X.spacing05),Q.extend("--ft-combobox-single-select-field-icon-size","",X.iconSize3),Q.create("--ft-combobox-single-select-field-height","","SIZE","50px"),Q.extend("--ft-combobox-single-select-helper-horizontal-padding","",X.spacing4),Q.extend("--ft-combobox-single-select-helper-horizontal-gap","",X.spacing1),Q.extend("--ft-combobox-single-select-helper-vertical-gap","",X.spacing1),Q.extend("--ft-combobox-single-select-helper-icon-size","",X.iconSize2),Q.extend("--ft-combobox-single-select-menu-vertical-gap","",X.spacing2),Q.extend("--ft-combobox-single-select-border-radius","",X.borderRadiusM),Q.extend("--ft-combobox-single-select-background-color","",X.colorWhite),Q.extend("--ft-combobox-single-select-label-color","",tt.contentGlobalSubtle),Q.extend("--ft-combobox-single-select-content-value-color","",tt.contentGlobalPrimary),Q.extend("--ft-combobox-single-select-trailing-icon-color","",tt.contentGlobalSubtle),Q.extend("--ft-combobox-single-select-default-border-color","",tt.borderInputPrimary),Q.extend("--ft-combobox-single-select-default-helper-text-color","",tt.contentGlobalSubtle),Q.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),Q.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),Q.extend("--ft-combobox-single-select-error-border-color","",tt.borderErrorPrimary),Q.extend("--ft-combobox-single-select-error-helper-text-color","",tt.contentErrorPrimary),Q.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),Q.extend("--ft-combobox-single-select-warning-border-color","",tt.borderWarningPrimary),Q.extend("--ft-combobox-single-select-warning-helper-text-color","",tt.contentWarningPrimary),Q.extend("--ft-combobox-single-select-warning-helper-icon-color","",tt.contentWarningIconOnly),Q.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),Q.extend("--ft-combobox-single-select-focus-focus-ring-color","",tt.borderActionFocusRing),Q.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),Q.extend("--ft-combobox-single-select-disabled-component-opacity","",X.opacity40),Q.extend("--ft-combobox-multi-select-background-color","",X.colorWhite),Q.extend("--ft-combobox-multi-select-label-color","",tt.contentGlobalSubtle),Q.extend("--ft-combobox-multi-select-trailing-icon-color","",tt.contentGlobalSubtle),Q.extend("--ft-combobox-multi-select-default-border-color","",tt.borderInputPrimary),Q.extend("--ft-combobox-multi-select-default-helper-text-color","",tt.contentGlobalSubtle),Q.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),Q.extend("--ft-combobox-multi-select-error-border-color","",tt.borderErrorPrimary),Q.extend("--ft-combobox-multi-select-error-helper-text-color","",tt.contentErrorPrimary),Q.extend("--ft-combobox-multi-select-error-helper-icon","",tt.contentErrorIconOnly),Q.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),Q.extend("--ft-combobox-multi-select-warning-border-color","",tt.borderWarningPrimary),Q.extend("--ft-combobox-multi-select-warning-helper-text-color","",tt.contentWarningPrimary),Q.extend("--ft-combobox-multi-select-warning-helper-icon-color","",tt.contentWarningIconOnly),Q.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),Q.extend("--ft-combobox-multi-select-focus-focus-ring-color","",tt.borderActionFocusRing),Q.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),Q.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),Q.extend("--ft-combobox-multi-select-disabled-component-opacity","",X.opacity40),Q.extend("--ft-combobox-multi-select-helper-horizontal-padding","",X.spacing4),Q.extend("--ft-combobox-multi-select-helper-horizontal-gap","",X.spacing1),Q.extend("--ft-combobox-multi-select-helper-vertical-gap","",X.spacing1),Q.extend("--ft-combobox-multi-select-helper-icon-size","",X.iconSize2),Q.extend("--ft-combobox-multi-select-field-horizontal-padding","",X.spacing4),Q.extend("--ft-combobox-multi-select-field-horizontal-gap","",X.spacing3),Q.extend("--ft-combobox-multi-select-field-vertical-gap","",X.spacing05),Q.extend("--ft-combobox-multi-select-field-icon-size","",X.iconSize3),Q.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),Q.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",X.spacing1),Q.extend("--ft-combobox-multi-select-content-values-vertical-gap","",X.spacing1),Q.extend("--ft-combobox-multi-select-border-radius","",X.borderRadiusM),Q.extend("--ft-popover-background-color","",tt.backgroundGlobalOnSurface),Q.extend("--ft-popover-horizontal-padding","",X.spacing6),Q.extend("--ft-popover-vertical-padding","",X.spacing6),Q.extend("--ft-popover-icon-color","",tt.contentGlobalSecondary),Q.extend("--ft-popover-icon-size","",X.iconSize2),Q.extend("--ft-popover-title-color","",tt.contentGlobalPrimary),Q.extend("--ft-popover-body-color","",tt.contentGlobalSecondary),Q.extend("--ft-popover-link-color","",tt.contentActionPrimary),Q.extend("--ft-popover-gap","",X.spacing3),Q.extend("--ft-popover-border-radius","",X.borderRadiusM),Q.extend("--ft-popover-shadow","",X.shadowElevation02),Q.extend("--ft-tabs-top-left-border-radius","",X.borderRadiusS),Q.extend("--ft-tabs-top-right-border-radius","",X.borderRadiusS),Q.extend("--ft-tabs-label-horizontal-padding","",X.spacing4),Q.extend("--ft-tabs-label-vertical-padding","",X.spacing3),Q.extend("--ft-tabs-label-gap","",X.spacing1),Q.extend("--ft-tabs-off-hover-state-layer-opacity","",X.opacity8),Q.extend("--ft-tabs-off-focus-state-layer-opacity","",X.opacity8),Q.extend("--ft-tabs-off-active-state-layer-opacity","",X.opacity16),Q.extend("--ft-tabs-off-disabled-component-opacity","",X.opacity40),Q.extend("--ft-tabs-off-color","",tt.contentGlobalSubtle),Q.extend("--ft-tabs-off-state-layer-color","",tt.contentGlobalSubtle),Q.extend("--ft-tabs-on-hover-state-layer-opacity","",X.opacity8),Q.extend("--ft-tabs-on-focus-state-layer-opacity","",X.opacity8),Q.extend("--ft-tabs-on-active-state-layer-opacity","",X.opacity16),Q.extend("--ft-tabs-on-disabled-component-opacity","",X.opacity40),Q.extend("--ft-tabs-on-color","",tt.contentActionPrimary),Q.extend("--ft-tabs-on-state-layer-color","",tt.contentActionPrimary),Q.extend("--ft-tabs-icon-horizontal-padding","",X.spacing1),Q.extend("--ft-tabs-icon-vertical-padding","",X.spacing4),Q.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Q.extend("--ft-tabs-focus-focus-ring-color","",tt.borderActionFocusRing),Q.extend("--ft-collapsible-hover-state-layer-opacity","",X.opacity8),Q.extend("--ft-collapsible-focus-state-layer-opacity","",X.opacity8),Q.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Q.extend("--ft-collapsible-focus-focus-ring-color","",tt.borderActionFocusRing),Q.extend("--ft-collapsible-active-state-layer-opacity","",X.opacity16),Q.extend("--ft-collapsible-disabled-component-opacity","",X.opacity40),Q.extend("--ft-collapsible-horizontal-padding","",X.spacing4),Q.extend("--ft-collapsible-vertical-padding","",X.spacing3),Q.extend("--ft-collapsible-color","",tt.contentGlobalPrimary),Q.extend("--ft-collapsible-state-layer-color","",tt.contentGlobalPrimary),Q.extend("--ft-collapsible-background-color","",tt.backgroundGlobalOnSurface),Q.extend("--ft-collapsible-border-color","",tt.borderGlobalSubtle),Q.extend("--ft-collapsible-icon-size","",X.iconSize3),Q.extend("--ft-switch-group-horizontal-padding","",X.spacing1),Q.extend("--ft-switch-group-vertical-padding","",X.spacing1),Q.extend("--ft-switch-group-gap","",X.spacing1),Q.extend("--ft-switch-group-background-color","",tt.backgroundGlobalSurface),Q.extend("--ft-switch-group-border-color","",tt.borderGlobalSubtle),Q.create("--ft-switch-group-border-radius","","SIZE","6px"),Q.extend("--ft-switch-label-horizontal-padding","",X.spacing2),Q.extend("--ft-switch-label-vertical-padding","",X.spacing1),Q.extend("--ft-switch-off-hover-state-layer-opacity","",X.opacity8),Q.extend("--ft-switch-off-focus-state-layer-opacity","",X.opacity8),Q.extend("--ft-switch-off-active-state-layer-opacity","",X.opacity16),Q.extend("--ft-switch-off-disabled-component-opacity","",X.opacity40),Q.extend("--ft-switch-off-color","",tt.contentGlobalSubtle),Q.extend("--ft-switch-off-state-layer-color","",tt.contentGlobalSubtle),Q.extend("--ft-switch-on-hover-state-layer-opacity","",X.opacity8),Q.extend("--ft-switch-on-focus-state-layer-opacity","",X.opacity8),Q.extend("--ft-switch-on-active-state-layer-opacity","",X.opacity16),Q.extend("--ft-switch-on-disabled-component-opacity","",X.opacity40),Q.extend("--ft-switch-on-color","",tt.contentActionPrimary),Q.extend("--ft-switch-on-state-layer-color","",tt.contentActionPrimary),Q.extend("--ft-switch-icon-horizontal-padding","",X.spacing1),Q.extend("--ft-switch-icon-vertical-padding","",X.spacing1),Q.create("--ft-switch-focus-outline-width","","SIZE","2px"),Q.extend("--ft-switch-focus-focus-ring-color","",tt.borderActionFocusRing),Q.extend("--ft-switch-option-border-radius","",X.borderRadiusS),Q.extend("--ft-chart-1-light","for area color charts",X.colorBrand40),Q.extend("--ft-chart-1-base","for line charts",X.colorBrand0),Q.extend("--ft-chart-2-light","for area color charts",X.colorYellow60),Q.extend("--ft-chart-2-base","for line charts",X.colorYellow100),Q.extend("--ft-chart-3-light","",X.colorUltramarine40),Q.extend("--ft-chart-3-base","",X.colorUltramarine70),Q.extend("--ft-chart-4-light","",X.colorCyan50),Q.extend("--ft-chart-4-base","",X.colorCyan100),Q.extend("--ft-chart-5-light","",X.colorRed40),Q.extend("--ft-chart-5-base","",X.colorRed60),Q.extend("--ft-chart-6-light","",X.colorGreen40),Q.extend("--ft-chart-6-base","",X.colorGreen70),Q.extend("--ft-chart-7-light","",X.colorOrange70),Q.extend("--ft-chart-7-base","",X.colorOrange100),Q.extend("--ft-chart-8-light","",X.colorAvocado70),Q.extend("--ft-chart-8-base","",X.colorAvocado200),Q.extend("--ft-chart-9-light","",X.colorBrown50),Q.extend("--ft-chart-9-base","",X.colorBrown200),Q.extend("--ft-chart-10-light","",X.colorGray50),Q.extend("--ft-chart-10-base","",X.colorGray80),Q.extend("--ft-chart-monochrome-10","",X.colorBrand10),Q.extend("--ft-chart-monochrome-20","",X.colorBrand20),Q.extend("--ft-chart-monochrome-30","",X.colorBrand40),Q.extend("--ft-chart-monochrome-40","",X.colorBrand60),Q.extend("--ft-chart-monochrome-50","",X.colorBrand0),Q.extend("--ft-chart-monochrome-60","",X.colorBrand200),Q.extend("--ft-chip-large-horizontal-padding","",X.spacing4),Q.extend("--ft-chip-large-vertical-padding","",X.spacing2),Q.extend("--ft-chip-large-gap","",X.spacing1),Q.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Q.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Q.extend("--ft-chip-large-border-radius","",X.borderRadiusPill),Q.create("--ft-chip-large-border-width","","SIZE","1px"),Q.extend("--ft-chip-large-icon-size","",X.iconSize3),Q.extend("--ft-chip-medium-horizontal-padding","",X.spacing3),Q.extend("--ft-chip-medium-vertical-padding","",X.spacing1),Q.extend("--ft-chip-medium-gap","",X.spacing1),Q.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Q.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Q.extend("--ft-chip-medium-border-radius","",X.borderRadiusPill),Q.create("--ft-chip-medium-border-width","","SIZE","1px"),Q.extend("--ft-chip-medium-icon-size","",X.iconSize2),Q.extend("--ft-chip-small-horizontal-padding","",X.spacing2),Q.extend("--ft-chip-small-vertical-padding","",X.spacing05),Q.extend("--ft-chip-small-gap","",X.spacing1),Q.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Q.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Q.extend("--ft-chip-small-border-radius","",X.borderRadiusPill),Q.create("--ft-chip-small-border-width","","SIZE","1px"),Q.extend("--ft-chip-small-icon-size","",X.iconSize1),Q.extend("--ft-chip-neutral-background-color","",tt.backgroundGlobalOnSurface),Q.extend("--ft-chip-neutral-color","",tt.contentGlobalPrimary),Q.extend("--ft-chip-neutral-icon-color","",tt.contentGlobalPrimary),Q.extend("--ft-chip-neutral-border-color","",tt.borderGlobalSubtle),Q.extend("--ft-chip-info-background-color","",tt.backgroundInfoSubtle),Q.extend("--ft-chip-info-color","",tt.contentInfoPrimary),Q.extend("--ft-chip-info-icon-color","",tt.contentInfoIconOnly),Q.extend("--ft-chip-info-border-color","",tt.borderInfoSubtle),Q.extend("--ft-chip-success-background-color","",tt.backgroundSuccessSubtle),Q.extend("--ft-chip-success-color","",tt.contentSuccessPrimary),Q.extend("--ft-chip-success-icon-color","",tt.contentSuccessIconOnly),Q.extend("--ft-chip-success-border-color","",tt.borderSuccessSubtle),Q.extend("--ft-chip-warning-background-color","",tt.backgroundWarningSubtle),Q.extend("--ft-chip-warning-color","",tt.contentWarningPrimary),Q.extend("--ft-chip-warning-icon-color","",tt.contentWarningIconOnly),Q.extend("--ft-chip-warning-border-color","",tt.borderWarningSubtle),Q.extend("--ft-chip-error-background-color","",tt.backgroundErrorSubtle),Q.extend("--ft-chip-error-color","",tt.contentErrorPrimary),Q.extend("--ft-chip-error-icon-color","",tt.contentErrorIconOnly),Q.extend("--ft-chip-error-border-color","",tt.borderErrorSubtle),Q.extend("--ft-border-info-border-color","",tt.borderInfoSubtle),Q.create("--ft-notice-border-width","","SIZE","1px"),Q.extend("--ft-notice-horizontal-padding","",X.spacing2),Q.extend("--ft-notice-vertical-padding","",X.spacing1),Q.extend("--ft-notice-border-radius","",X.borderRadiusS),Q.extend("--ft-notice-gap","",X.spacing2),Q.extend("--ft-notice-icon-size","",X.iconSize3),Q.extend("--ft-notice-info-background-color","",tt.backgroundInfoSubtle),Q.extend("--ft-notice-info-border-color","",tt.borderInfoSubtle),Q.extend("--ft-notice-info-color","",tt.contentInfoPrimary),Q.extend("--ft-notice-info-icon-color","",tt.contentInfoIconOnly),Q.extend("--ft-notice-warning-background-color","",tt.backgroundWarningSubtle),Q.extend("--ft-notice-warning-border-color","",tt.borderWarningSubtle),Q.extend("--ft-notice-warning-color","",tt.contentWarningPrimary),Q.extend("--ft-notice-warning-icon-color","",tt.contentWarningIconOnly),Q.extend("--ft-checkbox-color","",tt.contentGlobalPrimary),Q.extend("--ft-checkbox-checked-background-color","",tt.contentActionPrimary),Q.extend("--ft-checkbox-checked-state-layer-color","",tt.contentActionPrimary),Q.extend("--ft-checkbox-checked-icon-color","",tt.contentGlobalOnColor),Q.extend("--ft-checkbox-checked-hover-state-layer-opacity","",X.opacity16),Q.extend("--ft-checkbox-checked-focus-state-layer-opacity","",X.opacity16),Q.extend("--ft-checkbox-checked-active-state-layer-opacity","",X.opacity24),Q.extend("--ft-checkbox-checked-disabled-component-opacity","",X.opacity40),Q.extend("--ft-checkbox-unchecked-border-color","",X.colorGray80),Q.extend("--ft-checkbox-unchecked-state-layer-color","",X.colorGray80),Q.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",X.opacity16),Q.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",X.opacity16),Q.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",X.opacity24),Q.extend("--ft-checkbox-unchecked-disabled-component-opacity","",X.opacity40),Q.extend("--ft-checkbox-focus-focus-ring-color","",tt.borderActionFocusRing),Q.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Q.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Q.extend("--ft-checkbox-gap","",X.spacing3),Q.extend("--ft-toggle-off-hover-state-layer-opacity","",X.opacity16),Q.extend("--ft-toggle-off-focus-state-layer-opacity","",X.opacity16),Q.extend("--ft-toggle-off-active-state-layer-opacity","",X.opacity24),Q.extend("--ft-toggle-off-disabled-component-opacity","",X.opacity40),Q.extend("--ft-toggle-off-background-color","",tt.contentGlobalSubtle),Q.extend("--ft-toggle-off-icon-color","",tt.contentGlobalSubtle),Q.extend("--ft-toggle-off-state-layer-color","",tt.contentGlobalSubtle),Q.extend("--ft-toggle-on-hover-state-layer-opacity","",X.opacity16),Q.extend("--ft-toggle-on-focus-state-layer-opacity","",X.opacity16),Q.extend("--ft-toggle-on-active-state-layer-opacity","",X.opacity24),Q.extend("--ft-toggle-on-disabled-component-opacity","",X.opacity40),Q.extend("--ft-toggle-on-background-color","",tt.contentActionPrimary),Q.extend("--ft-toggle-on-state-layer-color","",tt.contentActionPrimary),Q.extend("--ft-toggle-on-icon-color","",tt.contentActionPrimary),Q.extend("--ft-toggle-color","",tt.contentGlobalPrimary),Q.extend("--ft-toggle-focus-focus-ring-color","",tt.borderActionFocusRing),Q.extend("--ft-toggle-gap","",X.spacing3),Q.extend("--ft-radio-color","",tt.contentGlobalPrimary),Q.extend("--ft-radio-selected-radio-color","",tt.contentActionPrimary),Q.extend("--ft-radio-selected-state-layer-color","",tt.contentActionPrimary),Q.extend("--ft-radio-selected-hover-state-layer-opacity","",X.opacity16),Q.extend("--ft-radio-selected-focus-state-layer-opacity","",X.opacity16),Q.extend("--ft-radio-selected-active-state-layer-opacity","",X.opacity24),Q.extend("--ft-radio-selected-disabled-component-opacity","",X.opacity40),Q.extend("--ft-radio-unselected-state-layer-color","",tt.borderInputPrimary),Q.extend("--ft-radio-unselected-border-color","",tt.borderInputPrimary),Q.extend("--ft-radio-unselected-hover-state-layer-opacity","",X.opacity16),Q.extend("--ft-radio-unselected-focus-state-layer-opacity","",X.opacity16),Q.extend("--ft-radio-unselected-active-state-layer-opacity","",X.opacity24),Q.extend("--ft-radio-unselected-disabled-component-opacity","",X.opacity40),Q.extend("--ft-radio-focus-focus-ring-color","",tt.borderActionFocusRing),Q.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Q.create("--ft-radio-focus-outline-width","","SIZE","2px"),Q.extend("--ft-radio-gap","",X.spacing3),Q.extend("--ft-notification-icon-size","",X.iconSize4),Q.extend("--ft-notification-horizontal-padding","",X.spacing4),Q.extend("--ft-notification-vertical-padding","",X.spacing4),Q.extend("--ft-notification-info-background-color","",tt.backgroundInfoSubtle),Q.extend("--ft-notification-info-color","",tt.contentInfoPrimary),Q.extend("--ft-notification-info-icon-color","",tt.contentInfoIconOnly),Q.extend("--ft-notification-info-border-color","",tt.borderInfoSubtle),Q.extend("--ft-notification-success-background-color","",tt.backgroundSuccessSubtle),Q.extend("--ft-notification-success-color","",tt.contentSuccessPrimary),Q.extend("--ft-notification-success-icon-color","",tt.contentSuccessIconOnly),Q.extend("--ft-notification-success-border-color","",tt.borderSuccessSubtle),Q.extend("--ft-notification-warning-background-color","",tt.backgroundWarningSubtle),Q.extend("--ft-notification-warning-color","",tt.contentWarningPrimary),Q.extend("--ft-notification-warning-icon-color","",tt.contentWarningIconOnly),Q.extend("--ft-notification-warning-border-color","",tt.borderWarningSubtle),Q.extend("--ft-notification-error-background-color","",tt.backgroundErrorSubtle),Q.extend("--ft-notification-error-color","",tt.contentErrorPrimary),Q.extend("--ft-notification-error-icon-color","",tt.contentErrorIconOnly),Q.extend("--ft-notification-error-border-color","",tt.borderErrorSubtle),Q.extend("--ft-notification-border-radius","",X.borderRadiusPill),Q.create("--ft-notification-border-width","","SIZE","1px"),Q.extend("--ft-notification-leading-gap","",X.spacing2),Q.extend("--ft-notification-trailing-gap","",X.spacing8),Q.extend("--ft-tooltip-horizontal-padding","",X.spacing2),Q.extend("--ft-tooltip-vertical-padding","",X.spacing2),Q.extend("--ft-tooltip-border-radius","",X.borderRadiusS),Q.extend("--ft-tooltip-color","",tt.contentGlobalOnColor),Q.extend("--ft-tooltip-background-color","",tt.contentGlobalPrimary),Q.extend("--ft-tooltip-background-opacity","",X.opacity80),Q.extend("--ft-tooltip-shadow","",X.shadowElevation03),Q.create("--ft-tooltip-max-width","","SIZE","256px"),Q.extend("--ft-tooltip-gap","",X.spacing05);const et=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),it=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),rt={fontFamily:it,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},nt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",et),at=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",rt.fontSize,"20px"),lt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",rt.fontWeight,"normal"),st=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",rt.letterSpacing,"0.15px"),ct=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",rt.lineHeight,"1.2"),ft=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",rt.textTransform,"inherit"),pt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",et),ht=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",rt.fontSize,"14px"),dt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",rt.fontWeight,"normal"),ut=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",rt.letterSpacing,"0.105px"),gt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",rt.lineHeight,"1.7"),yt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",rt.textTransform,"inherit"),bt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",it),mt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",rt.fontSize,"16px"),xt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",rt.fontWeight,"600"),vt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",rt.letterSpacing,"0.144px"),Ot=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",rt.lineHeight,"1.5"),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",rt.textTransform,"inherit"),Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",it),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",rt.fontSize,"14px"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",rt.fontWeight,"normal"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",rt.letterSpacing,"0.098px"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",rt.lineHeight,"1.7"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",rt.textTransform,"inherit"),kt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",it),Rt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",rt.fontSize,"16px"),Ut=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",rt.fontWeight,"normal"),Lt=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",rt.letterSpacing,"0.496px"),Wt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",rt.lineHeight,"1.5"),zt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",rt.textTransform,"inherit"),Dt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",it),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",rt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",rt.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",rt.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",rt.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",rt.textTransform,"inherit")},Zt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",it),At=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",rt.fontSize,"12px"),Kt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",rt.fontWeight,"normal"),Bt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",rt.letterSpacing,"0.396px"),Ft=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",rt.lineHeight,"1.33"),Tt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",rt.textTransform,"inherit"),Ht=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",it),Pt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",rt.fontSize,"10px"),Mt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",rt.fontWeight,"normal"),jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",rt.letterSpacing,"0.33px"),_t=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",rt.lineHeight,"1.6"),Gt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",rt.textTransform,"inherit"),Vt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",it),qt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",rt.fontSize,"10px"),Yt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",rt.fontWeight,"normal"),Qt=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",rt.letterSpacing,"1.5px"),Xt=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",rt.lineHeight,"1.6"),Jt=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",rt.textTransform,"uppercase"),to={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",it),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",rt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",rt.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",rt.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",rt.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",rt.textTransform,"uppercase")},oo=e.css`
|
|
13
|
+
const M=Symbol.for(""),j=t=>{if(t?.r===M)return t?._$litStatic$},_=t=>({_$litStatic$:t,r:M}),G=new Map,V=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],l=[];let s,c=0,f=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(n=e[c],r=j(n));)s+=r+o[++c],f=!0;c!==i&&l.push(n),a.push(s),c++}if(c===i&&a.push(o[i]),f){const t=a.join("$$lit$$");void 0===(o=G.get(t))&&(a.raw=a,G.set(t,o=a)),e=l}return t(o,...e)})(I);var q;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(q||(q={}));const Y=t=>"string"==typeof t?e.unsafeCSS(t):t;class Q{static create(t,o,i,r){const n=t=>Y(null!=t?t:r),a=e.css`var(${Y(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${Y(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,o,i,r){const n=t=>i.get(null!=t?t:r),a=e.css`var(${Y(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${Y(t)}, ${n(o)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):Y(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${Y(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=i,r.get=o=>e.css`var(${Y(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const X={colorWhite:Q.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Q.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Q.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Q.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Q.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Q.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Q.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Q.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Q.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Q.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Q.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Q.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Q.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Q.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Q.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Q.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Q.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Q.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Q.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Q.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Q.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Q.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Q.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Q.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Q.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Q.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Q.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Q.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Q.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Q.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Q.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Q.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Q.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Q.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Q.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Q.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Q.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Q.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Q.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Q.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Q.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Q.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Q.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Q.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Q.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Q.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Q.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Q.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Q.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Q.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Q.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Q.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Q.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Q.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Q.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Q.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Q.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Q.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Q.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Q.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Q.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Q.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Q.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Q.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:Q.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:Q.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:Q.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:Q.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:Q.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:Q.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:Q.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:Q.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:Q.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:Q.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:Q.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:Q.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:Q.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:Q.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:Q.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Q.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Q.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Q.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Q.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Q.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Q.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Q.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Q.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Q.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Q.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Q.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Q.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Q.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Q.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Q.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Q.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Q.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Q.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Q.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Q.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Q.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Q.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Q.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Q.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Q.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Q.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Q.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Q.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Q.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Q.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Q.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Q.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Q.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Q.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Q.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Q.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Q.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Q.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Q.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Q.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Q.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Q.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Q.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Q.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Q.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Q.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Q.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Q.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Q.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Q.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Q.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Q.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Q.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Q.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Q.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Q.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Q.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Q.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Q.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Q.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Q.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Q.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Q.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Q.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Q.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Q.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Q.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Q.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Q.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Q.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Q.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Q.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Q.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Q.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Q.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Q.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Q.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Q.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Q.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Q.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Q.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Q.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Q.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Q.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Q.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Q.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Q.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Q.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Q.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Q.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Q.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Q.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Q.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Q.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Q.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Q.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Q.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Q.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Q.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Q.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Q.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Q.create("--ft-opacity-0","","NUMBER","0"),opacity8:Q.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Q.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Q.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Q.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Q.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Q.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:Q.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:Q.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:Q.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:Q.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:Q.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:Q.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:Q.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:Q.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},J={display:{fontFamily:Q.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Q.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Q.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Q.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Q.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Q.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:Q.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Q.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Q.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Q.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:Q.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Q.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Q.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Q.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:Q.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Q.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Q.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Q.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Q.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Q.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Q.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Q.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Q.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Q.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Q.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Q.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Q.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Q.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Q.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Q.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Q.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Q.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Q.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Q.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Q.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Q.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Q.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Q.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-medium-underline":{fontFamily:Q.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:Q.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:Q.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:Q.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:Q.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:Q.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},"body-2-semibold":{fontFamily:Q.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Q.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Q.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Q.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Q.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Q.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Q.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Q.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Q.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Q.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Q.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Q.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Q.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Q.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Q.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Q.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Q.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Q.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Q.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Q.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Q.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Q.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Q.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Q.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Q.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Q.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Q.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Q.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Q.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Q.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Q.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Q.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Q.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Q.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Q.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Q.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Q.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Q.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Q.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Q.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Q.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Q.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Q.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Q.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Q.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Q.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Q.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Q.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Q.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Q.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Q.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Q.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Q.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Q.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Q.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Q.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Q.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Q.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Q.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Q.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Q.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Q.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Q.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Q.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Q.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Q.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Q.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Q.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:Q.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Q.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Q.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Q.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Q.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:Q.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Q.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Q.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Q.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Q.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:Q.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Q.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Q.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Q.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Q.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Q.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},tt={backgroundActionPrimary:Q.extend("--ft-background-action-primary","Used as backgorund of primary action components.",X.colorBrand0),backgroundErrorSubtle:Q.extend("--ft-background-error-subtle","Used as background of subtle error components.",X.colorRed10),backgroundInfoSubtle:Q.extend("--ft-background-info-subtle","Used as background of subtle information components.",X.colorCyan10),backgroundWarningSubtle:Q.extend("--ft-background-warning-subtle","Used as background of subtle information components.",X.colorOrange10),backgroundSuccessSubtle:Q.extend("--ft-background-success-subtle","Used as background of subtle success components.",X.colorGreen10),backgroundGlobalSurface:Q.extend("--ft-background-global-surface","Used as app background.",X.colorWhite),backgroundGlobalOnSurface:Q.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",X.colorGray10),backgroundGlobalOnSurfaceDark:Q.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",X.colorGray30),contentActionPrimary:Q.extend("--ft-content-action-primary","Used on label of primary action on light surface.",X.colorBrand0),contentWarningPrimary:Q.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",X.colorOrange200),contentWarningIconOnly:Q.extend("--ft-content-warning-icon-only","Used on warning status icons alone",X.colorOrange0),contentErrorPrimary:Q.extend("--ft-content-error-primary","Used on label of error messages on light surface.",X.colorRed0),contentErrorIconOnly:Q.extend("--ft-content-error-icon-only","Used on error status icons alone",X.colorRed70),contentInfoPrimary:Q.extend("--ft-content-info-primary","Used on label of information messages on light surface.",X.colorCyan200),contentInfoIconOnly:Q.extend("--ft-content-info-icon-only","Used on info status icons alone",X.colorCyan0),contentSuccessPrimary:Q.extend("--ft-content-success-primary","Used on label of success messages on light surface.",X.colorGreen200),contentSuccessIconOnly:Q.extend("--ft-content-success-icon-only","Used on success status icons alone",X.colorGreen0),contentGlobalPrimary:Q.extend("--ft-content-global-primary","Used for main content on the page.",X.colorGray500),contentGlobalSecondary:Q.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",X.colorGray200),contentGlobalSubtle:Q.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",X.colorGray0),contentGlobalOnColor:Q.extend("--ft-content-global-on-color","Used for content on a dominant color.",X.colorWhite),borderActionPrimary:Q.extend("--ft-border-action-primary","Used as border for primary action components.",X.colorBrand0),borderActionFocusRing:Q.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",X.colorCyan0),borderWarningPrimary:Q.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",X.colorOrange200),borderWarningSubtle:Q.extend("--ft-border-warning-subtle","Used as border for warning components.",X.colorOrange30),borderSuccessPrimary:Q.extend("--ft-border-success-primary","Used as border for success buttons.",X.colorGreen200),borderSuccessSubtle:Q.extend("--ft-border-success-subtle","Used as border for success components.",X.colorGreen30),borderErrorPrimary:Q.extend("--ft-border-error-primary","Used as border for text fields in error states.",X.colorRed0),borderErrorSubtle:Q.extend("--ft-border-error-subtle","Used as border for error components.",X.colorRed30),borderInfoPrimary:Q.extend("--ft-border-info-primary","Used as border for buttons in info color.",X.colorCyan200),borderInfoSubtle:Q.extend("--ft-border-info-subtle","Used as border for information components.",X.colorCyan30),borderGlobalPrimary:Q.extend("--ft-border-global-primary","Used as border for element like input.",X.colorGray50),borderGlobalSubtle:Q.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",X.colorGray30),borderInputPrimary:Q.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",X.colorGray80)},ot={largeHeight:Q.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Q.extend("--ft-button-large-horizontal-padding","",X.spacing4),largeGap:Q.extend("--ft-button-large-gap","",X.spacing2),largeBorderRadius:Q.extend("--ft-button-large-border-radius","",X.borderRadiusS),largeIconSize:Q.extend("--ft-button-large-icon-size","",X.iconSize3),largeBorderWidth:Q.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Q.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Q.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Q.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Q.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Q.extend("--ft-button-small-horizontal-padding","",X.spacing3),smallGap:Q.extend("--ft-button-small-gap","",X.spacing2),smallBorderRadius:Q.extend("--ft-button-small-border-radius","",X.borderRadiusS),smallIconSize:Q.extend("--ft-button-small-icon-size","",X.iconSize2),smallBorderWidth:Q.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Q.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Q.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Q.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Q.extend("--ft-button-primary-background-color","",tt.backgroundActionPrimary),primaryColor:Q.extend("--ft-button-primary-color","",tt.contentGlobalOnColor),primaryIconColor:Q.extend("--ft-button-primary-icon-color","",tt.contentGlobalOnColor),primaryStateLayerColor:Q.extend("--ft-button-primary-state-layer-color","",tt.contentGlobalOnColor),primaryHoverStateLayerOpacity:Q.extend("--ft-button-primary-hover-state-layer-opacity","",X.opacity16),primaryFocusStateLayerOpacity:Q.extend("--ft-button-primary-focus-state-layer-opacity","",X.opacity16),primaryActiveStateLayerOpacity:Q.extend("--ft-button-primary-active-state-layer-opacity","",X.opacity24),primaryDisabledComponentOpacity:Q.extend("--ft-button-primary-disabled-component-opacity","",X.opacity40),focusFocusRingColor:Q.extend("--ft-button-focus-focus-ring-color","",tt.borderActionFocusRing),tertiaryBackgroundColor:Q.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Q.extend("--ft-button-tertiary-color","",tt.contentActionPrimary),tertiaryIconColor:Q.extend("--ft-button-tertiary-icon-color","",tt.contentActionPrimary),tertiaryStateLayerColor:Q.extend("--ft-button-tertiary-state-layer-color","",tt.contentActionPrimary),tertiaryHoverStateLayerOpacity:Q.extend("--ft-button-tertiary-hover-state-layer-opacity","",X.opacity8),tertiaryFocusStateLayerOpacity:Q.extend("--ft-button-tertiary-focus-state-layer-opacity","",X.opacity8),tertiaryActiveStateLayerOpacity:Q.extend("--ft-button-tertiary-active-state-layer-opacity","",X.opacity16),tertiaryDisabledComponentOpacity:Q.extend("--ft-button-tertiary-disabled-component-opacity","",X.opacity40),secondaryBackgroundColor:Q.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Q.extend("--ft-button-secondary-color","",tt.contentActionPrimary),secondaryIconColor:Q.extend("--ft-button-secondary-icon-color","",tt.contentActionPrimary),secondaryStateLayerColor:Q.extend("--ft-button-secondary-state-layer-color","",tt.contentActionPrimary),secondaryHoverStateLayerOpacity:Q.extend("--ft-button-secondary-hover-state-layer-opacity","",X.opacity8),secondaryFocusStateLayerOpacity:Q.extend("--ft-button-secondary-focus-state-layer-opacity","",X.opacity8),secondaryActiveStateLayerOpacity:Q.extend("--ft-button-secondary-active-state-layer-opacity","",X.opacity16),secondaryDisabledComponentOpacity:Q.extend("--ft-button-secondary-disabled-component-opacity","",X.opacity40),secondaryBorderColor:Q.extend("--ft-button-secondary-border-color","",tt.borderActionPrimary),neutralBackgroundColor:Q.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Q.extend("--ft-button-neutral-icon-color","",tt.contentGlobalSecondary),neutralColor:Q.extend("--ft-button-neutral-color","",tt.contentGlobalSecondary),neutralStateLayerColor:Q.extend("--ft-button-neutral-state-layer-color","",tt.contentGlobalSecondary),neutralHoverStateLayerOpacity:Q.extend("--ft-button-neutral-hover-state-layer-opacity","",X.opacity8),neutralFocusStateLayerOpacity:Q.extend("--ft-button-neutral-focus-state-layer-opacity","",X.opacity8),neutralActiveStateLayerOpacity:Q.extend("--ft-button-neutral-active-state-layer-opacity","",X.opacity16),neutralDisabledComponentOpacity:Q.extend("--ft-button-neutral-disabled-component-opacity","",X.opacity40)};Q.extend("--ft-banner-icon-size","",X.iconSize5),Q.create("--ft-banner-border-width","","SIZE","1px"),Q.extend("--ft-banner-horizontal-padding","",X.spacing6),Q.extend("--ft-banner-vertical-padding","",X.spacing6),Q.extend("--ft-banner-horizontal-side-gap","",X.spacing6),Q.extend("--ft-banner-horizontal-mobile-gap","",X.spacing4),Q.extend("--ft-banner-vertical-mobile-gap","",X.spacing6),Q.extend("--ft-banner-horizontal-middle-gap","",X.spacing20),Q.extend("--ft-banner-info-background-color","",tt.backgroundInfoSubtle),Q.extend("--ft-banner-info-color","",tt.contentInfoPrimary),Q.extend("--ft-banner-info-icon-color","",tt.contentInfoIconOnly),Q.extend("--ft-breadcrumb-horizontal-gap","",X.spacing1),Q.extend("--ft-breadcrumb-vertical-gap","",X.spacing2),Q.extend("--ft-breadcrumb-current-element-color","",tt.contentGlobalPrimary),Q.extend("--ft-breadcrumb-icon-color","",tt.contentGlobalSubtle),Q.extend("--ft-page-header-horizontal-padding","",X.spacing12),Q.extend("--ft-page-header-horizontal-gap","",X.spacing4),Q.extend("--ft-page-header-vertical-gap","",X.spacing2),Q.extend("--ft-page-header-classic-vertical-padding","",X.spacing6),Q.extend("--ft-page-header-multiline-vertical-padding","",X.spacing4),Q.extend("--ft-page-header-inline-vertical-padding","",X.spacing2),Q.extend("--ft-page-header-background-color","",X.colorWhite),Q.extend("--ft-page-header-bottom-border-color","",tt.borderGlobalSubtle),Q.extend("--ft-page-header-title-color","",tt.contentGlobalPrimary),Q.extend("--ft-page-header-subtitle-color","",tt.contentGlobalSecondary),Q.create("--ft-modal-small-container-width","","SIZE","600px"),Q.create("--ft-modal-large-container-width","","SIZE","900px"),Q.extend("--ft-modal-overlay-background-color","",X.colorGray700),Q.extend("--ft-modal-overlay-opacity","",X.opacity40),Q.extend("--ft-modal-shadow","",X.shadowElevation03),Q.extend("--ft-modal-body-background-color","",X.colorWhite),Q.extend("--ft-modal-body-color","",tt.contentGlobalPrimary),Q.extend("--ft-modal-body-horizontal-padding","",X.spacing6),Q.extend("--ft-modal-body-vertical-padding","",X.spacing6),Q.extend("--ft-modal-body-vertical-gap","",X.spacing6),Q.extend("--ft-modal-container-margin","",X.spacing3),Q.extend("--ft-modal-header-background-color","",tt.backgroundGlobalOnSurface),Q.extend("--ft-modal-header-border-color","",tt.borderGlobalSubtle),Q.extend("--ft-modal-header-color","",tt.contentGlobalPrimary),Q.extend("--ft-modal-header-trailing-icon-color","",tt.contentGlobalSecondary),Q.extend("--ft-modal-header-vertical-padding","",X.spacing1),Q.extend("--ft-modal-header-right-padding","",X.spacing1),Q.extend("--ft-modal-header-left-padding","",X.spacing6),Q.extend("--ft-modal-header-gap","",X.spacing2),Q.create("--ft-modal-header-border-bottom","","SIZE","1px"),Q.extend("--ft-modal-border-radius","",X.borderRadiusM),Q.extend("--ft-drawer-overlay-opacity","",X.opacity40),Q.extend("--ft-drawer-shadow","",X.shadowElevation03),Q.extend("--ft-drawer-body-color","",tt.contentGlobalPrimary),Q.extend("--ft-drawer-body-horizontal-padding","",X.spacing6),Q.extend("--ft-drawer-body-vertical-padding","",X.spacing6),Q.extend("--ft-drawer-body-gap","",X.spacing6),Q.extend("--ft-drawer-body-background-color","",X.colorWhite),Q.extend("--ft-drawer-header-background-color","",tt.backgroundGlobalOnSurface),Q.extend("--ft-drawer-header-border-color","",tt.borderGlobalSubtle),Q.extend("--ft-drawer-header-color","",tt.contentGlobalPrimary),Q.extend("--ft-drawer-header-trailing-icon-color","",tt.contentGlobalSecondary),Q.create("--ft-drawer-header-height","","SIZE","50px"),Q.extend("--ft-drawer-header-horizontal-padding","",X.spacing2),Q.create("--ft-drawer-header-border-width","","SIZE","1px"),Q.extend("--ft-drawer-header-gap","",X.spacing3),Q.extend("--ft-drawer-buttons-bar-background-color","",tt.backgroundGlobalOnSurface),Q.extend("--ft-drawer-buttons-bar-border-color","",tt.borderGlobalSubtle),Q.extend("--ft-drawer-buttons-bar-color","",tt.contentGlobalPrimary),Q.extend("--ft-drawer-buttons-bar-horizontal-padding","",X.spacing4),Q.extend("--ft-drawer-buttons-bar-vertical-padding","",X.spacing4),Q.extend("--ft-drawer-buttons-bar-gap","",X.spacing3),Q.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),Q.create("--ft-drawer-container-width","","SIZE","66%"),Q.create("--ft-drawer-container-min-width","","SIZE","500px"),Q.create("--ft-drawer-container-max-width","","SIZE","1000px"),Q.create("--ft-drawer-container-height","","SIZE","100%"),Q.extend("--ft-drawer-overlay-background-color","",X.colorGray700),Q.extend("--ft-text-input-field-horizontal-padding","",X.spacing4),Q.extend("--ft-text-input-field-horizontal-gap","",X.spacing3),Q.extend("--ft-text-input-field-vertical-gap","",X.spacing05),Q.extend("--ft-text-input-field-icon-size","",X.iconSize3),Q.create("--ft-text-input-field-height","","SIZE","50px"),Q.extend("--ft-text-input-helper-horizontal-padding","",X.spacing4),Q.extend("--ft-text-input-helper-horizontal-gap","",X.spacing1),Q.extend("--ft-text-input-helper-icon-size","",X.iconSize2),Q.extend("--ft-text-input-border-radius","",X.borderRadiusM),Q.extend("--ft-text-input-background-color","",X.colorWhite),Q.extend("--ft-text-input-content-value-color","",tt.contentGlobalPrimary),Q.extend("--ft-text-input-trailing-icon-color","",tt.contentGlobalSubtle),Q.extend("--ft-text-input-label-color","",tt.contentGlobalSubtle),Q.extend("--ft-text-input-default-border-color","",tt.borderInputPrimary),Q.extend("--ft-text-input-default-helper-text-color","",tt.contentGlobalSubtle),Q.create("--ft-text-input-default-border-width","","SIZE","1px"),Q.create("--ft-text-input-error-border-width","","SIZE","2px"),Q.extend("--ft-text-input-error-border-color","",tt.borderErrorPrimary),Q.extend("--ft-text-input-error-helper-text-color","",tt.contentErrorPrimary),Q.extend("--ft-text-input-error-helper-icon-color","",tt.contentErrorIconOnly),Q.create("--ft-text-input-warning-border-width","","SIZE","2px"),Q.create("--ft-text-input-focus-outline-width","","SIZE","2px"),Q.extend("--ft-text-input-focus-focus-ring-color","",tt.borderActionFocusRing),Q.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),Q.extend("--ft-text-input-disabled-component-opacity","",X.opacity40),Q.extend("--ft-text-area-background-color","",X.colorWhite),Q.extend("--ft-text-area-content-value-color","",tt.contentGlobalPrimary),Q.extend("--ft-text-area-label-color","",tt.contentGlobalSubtle),Q.extend("--ft-text-area-default-border-color","",tt.borderInputPrimary),Q.extend("--ft-text-area-default-helper-text-color","",tt.contentGlobalSubtle),Q.create("--ft-text-area-default-border-width","","SIZE","1px"),Q.create("--ft-text-area-error-border-width","","SIZE","2px"),Q.extend("--ft-text-area-error-border-color","",tt.borderErrorPrimary),Q.extend("--ft-text-area-error-helper-text-color","",tt.contentErrorPrimary),Q.extend("--ft-text-area-error-helper-icon-color","",tt.contentErrorIconOnly),Q.extend("--ft-text-area-focus-focus-ring-color","",tt.borderActionFocusRing),Q.create("--ft-text-area-focus-outline-width","","SIZE","2px"),Q.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),Q.extend("--ft-text-area-disabled-component-opacity","",X.opacity40),Q.extend("--ft-text-area-field-horizontal-left-padding","",X.spacing4),Q.extend("--ft-text-area-field-horizontal-gap","",X.spacing3),Q.extend("--ft-text-area-field-vertical-gap","",X.spacing05),Q.create("--ft-text-area-field-min-height","","SIZE","64px"),Q.extend("--ft-text-area-helper-horizontal-padding","",X.spacing4),Q.extend("--ft-text-area-helper-horizontal-gap","",X.spacing1),Q.extend("--ft-text-area-helper-icon-size","",X.iconSize2),Q.extend("--ft-text-area-border-radius","",X.borderRadiusM),Q.create("--ft-floating-menu-height","","SIZE","50px"),Q.extend("--ft-floating-menu-horizontal-padding","",X.spacing4),Q.extend("--ft-floating-menu-off-icon-color","",tt.contentGlobalPrimary),Q.extend("--ft-floating-menu-off-color","",tt.contentGlobalPrimary),Q.extend("--ft-floating-menu-on-color","",tt.contentActionPrimary),Q.extend("--ft-floating-menu-on-state-layer-color","",tt.contentActionPrimary),Q.extend("--ft-floating-menu-gap","",X.spacing3),Q.extend("--ft-floating-menu-focus-focus-ring-color","",tt.borderActionFocusRing),Q.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Q.extend("--ft-floating-menu-focus-state-layer-opacity","",X.opacity8),Q.extend("--ft-floating-menu-hover-state-layer-opacity","",X.opacity8),Q.extend("--ft-floating-menu-active-state-layer-opacity","",X.opacity16),Q.extend("--ft-floating-menu-disabled-component-opacity","",X.opacity40),Q.extend("--ft-floating-menu-icon-size","",X.iconSize3),Q.extend("--ft-floating-menu-background-color","",tt.backgroundGlobalOnSurface),Q.extend("--ft-combobox-single-select-field-horizontal-padding","",X.spacing4),Q.extend("--ft-combobox-single-select-field-horizontal-gap","",X.spacing3),Q.extend("--ft-combobox-single-select-field-vertical-gap","",X.spacing05),Q.extend("--ft-combobox-single-select-field-icon-size","",X.iconSize3),Q.create("--ft-combobox-single-select-field-height","","SIZE","50px"),Q.extend("--ft-combobox-single-select-helper-horizontal-padding","",X.spacing4),Q.extend("--ft-combobox-single-select-helper-horizontal-gap","",X.spacing1),Q.extend("--ft-combobox-single-select-helper-vertical-gap","",X.spacing1),Q.extend("--ft-combobox-single-select-helper-icon-size","",X.iconSize2),Q.extend("--ft-combobox-single-select-menu-vertical-gap","",X.spacing2),Q.extend("--ft-combobox-single-select-border-radius","",X.borderRadiusM),Q.extend("--ft-combobox-single-select-background-color","",X.colorWhite),Q.extend("--ft-combobox-single-select-label-color","",tt.contentGlobalSubtle),Q.extend("--ft-combobox-single-select-content-value-color","",tt.contentGlobalPrimary),Q.extend("--ft-combobox-single-select-trailing-icon-color","",tt.contentGlobalSubtle),Q.extend("--ft-combobox-single-select-default-border-color","",tt.borderInputPrimary),Q.extend("--ft-combobox-single-select-default-helper-text-color","",tt.contentGlobalSubtle),Q.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),Q.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),Q.extend("--ft-combobox-single-select-error-border-color","",tt.borderErrorPrimary),Q.extend("--ft-combobox-single-select-error-helper-text-color","",tt.contentErrorPrimary),Q.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),Q.extend("--ft-combobox-single-select-warning-border-color","",tt.borderWarningPrimary),Q.extend("--ft-combobox-single-select-warning-helper-text-color","",tt.contentWarningPrimary),Q.extend("--ft-combobox-single-select-warning-helper-icon-color","",tt.contentWarningIconOnly),Q.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),Q.extend("--ft-combobox-single-select-focus-focus-ring-color","",tt.borderActionFocusRing),Q.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),Q.extend("--ft-combobox-single-select-disabled-component-opacity","",X.opacity40),Q.extend("--ft-combobox-multi-select-background-color","",X.colorWhite),Q.extend("--ft-combobox-multi-select-label-color","",tt.contentGlobalSubtle),Q.extend("--ft-combobox-multi-select-trailing-icon-color","",tt.contentGlobalSubtle),Q.extend("--ft-combobox-multi-select-default-border-color","",tt.borderInputPrimary),Q.extend("--ft-combobox-multi-select-default-helper-text-color","",tt.contentGlobalSubtle),Q.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),Q.extend("--ft-combobox-multi-select-error-border-color","",tt.borderErrorPrimary),Q.extend("--ft-combobox-multi-select-error-helper-text-color","",tt.contentErrorPrimary),Q.extend("--ft-combobox-multi-select-error-helper-icon","",tt.contentErrorIconOnly),Q.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),Q.extend("--ft-combobox-multi-select-warning-border-color","",tt.borderWarningPrimary),Q.extend("--ft-combobox-multi-select-warning-helper-text-color","",tt.contentWarningPrimary),Q.extend("--ft-combobox-multi-select-warning-helper-icon-color","",tt.contentWarningIconOnly),Q.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),Q.extend("--ft-combobox-multi-select-focus-focus-ring-color","",tt.borderActionFocusRing),Q.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),Q.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),Q.extend("--ft-combobox-multi-select-disabled-component-opacity","",X.opacity40),Q.extend("--ft-combobox-multi-select-helper-horizontal-padding","",X.spacing4),Q.extend("--ft-combobox-multi-select-helper-horizontal-gap","",X.spacing1),Q.extend("--ft-combobox-multi-select-helper-vertical-gap","",X.spacing1),Q.extend("--ft-combobox-multi-select-helper-icon-size","",X.iconSize2),Q.extend("--ft-combobox-multi-select-field-horizontal-padding","",X.spacing4),Q.extend("--ft-combobox-multi-select-field-horizontal-gap","",X.spacing3),Q.extend("--ft-combobox-multi-select-field-vertical-gap","",X.spacing05),Q.extend("--ft-combobox-multi-select-field-icon-size","",X.iconSize3),Q.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),Q.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",X.spacing1),Q.extend("--ft-combobox-multi-select-content-values-vertical-gap","",X.spacing1),Q.extend("--ft-combobox-multi-select-border-radius","",X.borderRadiusM),Q.extend("--ft-popover-background-color","",tt.backgroundGlobalOnSurface),Q.extend("--ft-popover-horizontal-padding","",X.spacing6),Q.extend("--ft-popover-vertical-padding","",X.spacing6),Q.extend("--ft-popover-icon-color","",tt.contentGlobalSecondary),Q.extend("--ft-popover-icon-size","",X.iconSize2),Q.extend("--ft-popover-title-color","",tt.contentGlobalPrimary),Q.extend("--ft-popover-body-color","",tt.contentGlobalSecondary),Q.extend("--ft-popover-link-color","",tt.contentActionPrimary),Q.extend("--ft-popover-gap","",X.spacing3),Q.extend("--ft-popover-border-radius","",X.borderRadiusM),Q.extend("--ft-popover-shadow","",X.shadowElevation02),Q.extend("--ft-tabs-top-left-border-radius","",X.borderRadiusS),Q.extend("--ft-tabs-top-right-border-radius","",X.borderRadiusS),Q.extend("--ft-tabs-label-horizontal-padding","",X.spacing4),Q.extend("--ft-tabs-label-vertical-padding","",X.spacing3),Q.extend("--ft-tabs-label-gap","",X.spacing1),Q.extend("--ft-tabs-off-hover-state-layer-opacity","",X.opacity8),Q.extend("--ft-tabs-off-focus-state-layer-opacity","",X.opacity8),Q.extend("--ft-tabs-off-active-state-layer-opacity","",X.opacity16),Q.extend("--ft-tabs-off-disabled-component-opacity","",X.opacity40),Q.extend("--ft-tabs-off-color","",tt.contentGlobalSubtle),Q.extend("--ft-tabs-off-state-layer-color","",tt.contentGlobalSubtle),Q.extend("--ft-tabs-on-hover-state-layer-opacity","",X.opacity8),Q.extend("--ft-tabs-on-focus-state-layer-opacity","",X.opacity8),Q.extend("--ft-tabs-on-active-state-layer-opacity","",X.opacity16),Q.extend("--ft-tabs-on-disabled-component-opacity","",X.opacity40),Q.extend("--ft-tabs-on-color","",tt.contentActionPrimary),Q.extend("--ft-tabs-on-state-layer-color","",tt.contentActionPrimary),Q.extend("--ft-tabs-icon-horizontal-padding","",X.spacing1),Q.extend("--ft-tabs-icon-vertical-padding","",X.spacing4),Q.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Q.extend("--ft-tabs-focus-focus-ring-color","",tt.borderActionFocusRing),Q.extend("--ft-collapsible-hover-state-layer-opacity","",X.opacity8),Q.extend("--ft-collapsible-focus-state-layer-opacity","",X.opacity8),Q.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Q.extend("--ft-collapsible-focus-focus-ring-color","",tt.borderActionFocusRing),Q.extend("--ft-collapsible-active-state-layer-opacity","",X.opacity16),Q.extend("--ft-collapsible-disabled-component-opacity","",X.opacity40),Q.extend("--ft-collapsible-horizontal-padding","",X.spacing4),Q.extend("--ft-collapsible-vertical-padding","",X.spacing3),Q.extend("--ft-collapsible-color","",tt.contentGlobalPrimary),Q.extend("--ft-collapsible-state-layer-color","",tt.contentGlobalPrimary),Q.extend("--ft-collapsible-background-color","",tt.backgroundGlobalOnSurface),Q.extend("--ft-collapsible-border-color","",tt.borderGlobalSubtle),Q.extend("--ft-collapsible-icon-size","",X.iconSize3),Q.extend("--ft-switch-group-horizontal-padding","",X.spacing1),Q.extend("--ft-switch-group-vertical-padding","",X.spacing1),Q.extend("--ft-switch-group-gap","",X.spacing1),Q.extend("--ft-switch-group-background-color","",tt.backgroundGlobalSurface),Q.extend("--ft-switch-group-border-color","",tt.borderGlobalSubtle),Q.create("--ft-switch-group-border-radius","","SIZE","6px"),Q.extend("--ft-switch-label-horizontal-padding","",X.spacing2),Q.extend("--ft-switch-label-vertical-padding","",X.spacing1),Q.extend("--ft-switch-off-hover-state-layer-opacity","",X.opacity8),Q.extend("--ft-switch-off-focus-state-layer-opacity","",X.opacity8),Q.extend("--ft-switch-off-active-state-layer-opacity","",X.opacity16),Q.extend("--ft-switch-off-disabled-component-opacity","",X.opacity40),Q.extend("--ft-switch-off-color","",tt.contentGlobalSubtle),Q.extend("--ft-switch-off-state-layer-color","",tt.contentGlobalSubtle),Q.extend("--ft-switch-on-hover-state-layer-opacity","",X.opacity8),Q.extend("--ft-switch-on-focus-state-layer-opacity","",X.opacity8),Q.extend("--ft-switch-on-active-state-layer-opacity","",X.opacity16),Q.extend("--ft-switch-on-disabled-component-opacity","",X.opacity40),Q.extend("--ft-switch-on-color","",tt.contentActionPrimary),Q.extend("--ft-switch-on-state-layer-color","",tt.contentActionPrimary),Q.extend("--ft-switch-icon-horizontal-padding","",X.spacing1),Q.extend("--ft-switch-icon-vertical-padding","",X.spacing1),Q.create("--ft-switch-focus-outline-width","","SIZE","2px"),Q.extend("--ft-switch-focus-focus-ring-color","",tt.borderActionFocusRing),Q.extend("--ft-switch-option-border-radius","",X.borderRadiusS),Q.extend("--ft-chart-1-light","for area color charts",X.colorBrand40),Q.extend("--ft-chart-1-base","for line charts",X.colorBrand0),Q.extend("--ft-chart-2-light","for area color charts",X.colorYellow60),Q.extend("--ft-chart-2-base","for line charts",X.colorYellow100),Q.extend("--ft-chart-3-light","",X.colorUltramarine40),Q.extend("--ft-chart-3-base","",X.colorUltramarine70),Q.extend("--ft-chart-4-light","",X.colorCyan50),Q.extend("--ft-chart-4-base","",X.colorCyan100),Q.extend("--ft-chart-5-light","",X.colorRed40),Q.extend("--ft-chart-5-base","",X.colorRed60),Q.extend("--ft-chart-6-light","",X.colorGreen40),Q.extend("--ft-chart-6-base","",X.colorGreen70),Q.extend("--ft-chart-7-light","",X.colorOrange70),Q.extend("--ft-chart-7-base","",X.colorOrange100),Q.extend("--ft-chart-8-light","",X.colorAvocado70),Q.extend("--ft-chart-8-base","",X.colorAvocado200),Q.extend("--ft-chart-9-light","",X.colorBrown50),Q.extend("--ft-chart-9-base","",X.colorBrown200),Q.extend("--ft-chart-10-light","",X.colorGray50),Q.extend("--ft-chart-10-base","",X.colorGray80),Q.extend("--ft-chart-monochrome-10","",X.colorBrand10),Q.extend("--ft-chart-monochrome-20","",X.colorBrand20),Q.extend("--ft-chart-monochrome-30","",X.colorBrand40),Q.extend("--ft-chart-monochrome-40","",X.colorBrand60),Q.extend("--ft-chart-monochrome-50","",X.colorBrand0),Q.extend("--ft-chart-monochrome-60","",X.colorBrand200),Q.extend("--ft-chip-large-horizontal-padding","",X.spacing4),Q.extend("--ft-chip-large-vertical-padding","",X.spacing2),Q.extend("--ft-chip-large-gap","",X.spacing1),Q.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Q.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Q.extend("--ft-chip-large-border-radius","",X.borderRadiusPill),Q.create("--ft-chip-large-border-width","","SIZE","1px"),Q.extend("--ft-chip-large-icon-size","",X.iconSize3),Q.extend("--ft-chip-medium-horizontal-padding","",X.spacing3),Q.extend("--ft-chip-medium-vertical-padding","",X.spacing1),Q.extend("--ft-chip-medium-gap","",X.spacing1),Q.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Q.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Q.extend("--ft-chip-medium-border-radius","",X.borderRadiusPill),Q.create("--ft-chip-medium-border-width","","SIZE","1px"),Q.extend("--ft-chip-medium-icon-size","",X.iconSize2),Q.extend("--ft-chip-small-horizontal-padding","",X.spacing2),Q.extend("--ft-chip-small-vertical-padding","",X.spacing05),Q.extend("--ft-chip-small-gap","",X.spacing1),Q.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Q.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Q.extend("--ft-chip-small-border-radius","",X.borderRadiusPill),Q.create("--ft-chip-small-border-width","","SIZE","1px"),Q.extend("--ft-chip-small-icon-size","",X.iconSize1),Q.extend("--ft-chip-neutral-background-color","",tt.backgroundGlobalOnSurface),Q.extend("--ft-chip-neutral-color","",tt.contentGlobalPrimary),Q.extend("--ft-chip-neutral-icon-color","",tt.contentGlobalPrimary),Q.extend("--ft-chip-neutral-border-color","",tt.borderGlobalSubtle),Q.extend("--ft-chip-info-background-color","",tt.backgroundInfoSubtle),Q.extend("--ft-chip-info-color","",tt.contentInfoPrimary),Q.extend("--ft-chip-info-icon-color","",tt.contentInfoIconOnly),Q.extend("--ft-chip-info-border-color","",tt.borderInfoSubtle),Q.extend("--ft-chip-success-background-color","",tt.backgroundSuccessSubtle),Q.extend("--ft-chip-success-color","",tt.contentSuccessPrimary),Q.extend("--ft-chip-success-icon-color","",tt.contentSuccessIconOnly),Q.extend("--ft-chip-success-border-color","",tt.borderSuccessSubtle),Q.extend("--ft-chip-warning-background-color","",tt.backgroundWarningSubtle),Q.extend("--ft-chip-warning-color","",tt.contentWarningPrimary),Q.extend("--ft-chip-warning-icon-color","",tt.contentWarningIconOnly),Q.extend("--ft-chip-warning-border-color","",tt.borderWarningSubtle),Q.extend("--ft-chip-error-background-color","",tt.backgroundErrorSubtle),Q.extend("--ft-chip-error-color","",tt.contentErrorPrimary),Q.extend("--ft-chip-error-icon-color","",tt.contentErrorIconOnly),Q.extend("--ft-chip-error-border-color","",tt.borderErrorSubtle),Q.extend("--ft-border-info-border-color","",tt.borderInfoSubtle),Q.create("--ft-notice-border-width","","SIZE","1px"),Q.extend("--ft-notice-horizontal-padding","",X.spacing2),Q.extend("--ft-notice-vertical-padding","",X.spacing1),Q.extend("--ft-notice-border-radius","",X.borderRadiusS),Q.extend("--ft-notice-gap","",X.spacing2),Q.extend("--ft-notice-icon-size","",X.iconSize3),Q.extend("--ft-notice-info-background-color","",tt.backgroundInfoSubtle),Q.extend("--ft-notice-info-border-color","",tt.borderInfoSubtle),Q.extend("--ft-notice-info-color","",tt.contentInfoPrimary),Q.extend("--ft-notice-info-icon-color","",tt.contentInfoIconOnly),Q.extend("--ft-notice-warning-background-color","",tt.backgroundWarningSubtle),Q.extend("--ft-notice-warning-border-color","",tt.borderWarningSubtle),Q.extend("--ft-notice-warning-color","",tt.contentWarningPrimary),Q.extend("--ft-notice-warning-icon-color","",tt.contentWarningIconOnly),Q.extend("--ft-notice-error-background-color","",tt.backgroundErrorSubtle),Q.extend("--ft-notice-error-border-color","",tt.borderErrorSubtle),Q.extend("--ft-notice-error-color","",tt.contentErrorPrimary),Q.extend("--ft-notice-error-icon-color","",tt.contentErrorIconOnly),Q.extend("--ft-notice-success-background-color","",tt.backgroundSuccessSubtle),Q.extend("--ft-notice-success-border-color","",tt.borderSuccessSubtle),Q.extend("--ft-notice-success-color","",tt.contentSuccessPrimary),Q.extend("--ft-notice-success-icon-color","",tt.contentSuccessIconOnly),Q.extend("--ft-checkbox-color","",tt.contentGlobalPrimary),Q.extend("--ft-checkbox-checked-background-color","",tt.contentActionPrimary),Q.extend("--ft-checkbox-checked-state-layer-color","",tt.contentActionPrimary),Q.extend("--ft-checkbox-checked-icon-color","",tt.contentGlobalOnColor),Q.extend("--ft-checkbox-checked-hover-state-layer-opacity","",X.opacity16),Q.extend("--ft-checkbox-checked-focus-state-layer-opacity","",X.opacity16),Q.extend("--ft-checkbox-checked-active-state-layer-opacity","",X.opacity24),Q.extend("--ft-checkbox-checked-disabled-component-opacity","",X.opacity40),Q.extend("--ft-checkbox-unchecked-border-color","",X.colorGray80),Q.extend("--ft-checkbox-unchecked-state-layer-color","",X.colorGray80),Q.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",X.opacity16),Q.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",X.opacity16),Q.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",X.opacity24),Q.extend("--ft-checkbox-unchecked-disabled-component-opacity","",X.opacity40),Q.extend("--ft-checkbox-focus-focus-ring-color","",tt.borderActionFocusRing),Q.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Q.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Q.extend("--ft-checkbox-gap","",X.spacing3),Q.extend("--ft-toggle-off-hover-state-layer-opacity","",X.opacity16),Q.extend("--ft-toggle-off-focus-state-layer-opacity","",X.opacity16),Q.extend("--ft-toggle-off-active-state-layer-opacity","",X.opacity24),Q.extend("--ft-toggle-off-disabled-component-opacity","",X.opacity40),Q.extend("--ft-toggle-off-background-color","",tt.contentGlobalSubtle),Q.extend("--ft-toggle-off-icon-color","",tt.contentGlobalSubtle),Q.extend("--ft-toggle-off-state-layer-color","",tt.contentGlobalSubtle),Q.extend("--ft-toggle-on-hover-state-layer-opacity","",X.opacity16),Q.extend("--ft-toggle-on-focus-state-layer-opacity","",X.opacity16),Q.extend("--ft-toggle-on-active-state-layer-opacity","",X.opacity24),Q.extend("--ft-toggle-on-disabled-component-opacity","",X.opacity40),Q.extend("--ft-toggle-on-background-color","",tt.contentActionPrimary),Q.extend("--ft-toggle-on-state-layer-color","",tt.contentActionPrimary),Q.extend("--ft-toggle-on-icon-color","",tt.contentActionPrimary),Q.extend("--ft-toggle-color","",tt.contentGlobalPrimary),Q.extend("--ft-toggle-focus-focus-ring-color","",tt.borderActionFocusRing),Q.extend("--ft-toggle-gap","",X.spacing3),Q.extend("--ft-radio-color","",tt.contentGlobalPrimary),Q.extend("--ft-radio-selected-radio-color","",tt.contentActionPrimary),Q.extend("--ft-radio-selected-state-layer-color","",tt.contentActionPrimary),Q.extend("--ft-radio-selected-hover-state-layer-opacity","",X.opacity16),Q.extend("--ft-radio-selected-focus-state-layer-opacity","",X.opacity16),Q.extend("--ft-radio-selected-active-state-layer-opacity","",X.opacity24),Q.extend("--ft-radio-selected-disabled-component-opacity","",X.opacity40),Q.extend("--ft-radio-unselected-state-layer-color","",tt.borderInputPrimary),Q.extend("--ft-radio-unselected-border-color","",tt.borderInputPrimary),Q.extend("--ft-radio-unselected-hover-state-layer-opacity","",X.opacity16),Q.extend("--ft-radio-unselected-focus-state-layer-opacity","",X.opacity16),Q.extend("--ft-radio-unselected-active-state-layer-opacity","",X.opacity24),Q.extend("--ft-radio-unselected-disabled-component-opacity","",X.opacity40),Q.extend("--ft-radio-focus-focus-ring-color","",tt.borderActionFocusRing),Q.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Q.create("--ft-radio-focus-outline-width","","SIZE","2px"),Q.extend("--ft-radio-gap","",X.spacing3),Q.extend("--ft-notification-icon-size","",X.iconSize4),Q.extend("--ft-notification-horizontal-padding","",X.spacing4),Q.extend("--ft-notification-vertical-padding","",X.spacing4),Q.extend("--ft-notification-info-background-color","",tt.backgroundInfoSubtle),Q.extend("--ft-notification-info-color","",tt.contentInfoPrimary),Q.extend("--ft-notification-info-icon-color","",tt.contentInfoIconOnly),Q.extend("--ft-notification-info-border-color","",tt.borderInfoSubtle),Q.extend("--ft-notification-success-background-color","",tt.backgroundSuccessSubtle),Q.extend("--ft-notification-success-color","",tt.contentSuccessPrimary),Q.extend("--ft-notification-success-icon-color","",tt.contentSuccessIconOnly),Q.extend("--ft-notification-success-border-color","",tt.borderSuccessSubtle),Q.extend("--ft-notification-warning-background-color","",tt.backgroundWarningSubtle),Q.extend("--ft-notification-warning-color","",tt.contentWarningPrimary),Q.extend("--ft-notification-warning-icon-color","",tt.contentWarningIconOnly),Q.extend("--ft-notification-warning-border-color","",tt.borderWarningSubtle),Q.extend("--ft-notification-error-background-color","",tt.backgroundErrorSubtle),Q.extend("--ft-notification-error-color","",tt.contentErrorPrimary),Q.extend("--ft-notification-error-icon-color","",tt.contentErrorIconOnly),Q.extend("--ft-notification-error-border-color","",tt.borderErrorSubtle),Q.extend("--ft-notification-border-radius","",X.borderRadiusPill),Q.create("--ft-notification-border-width","","SIZE","1px"),Q.extend("--ft-notification-leading-gap","",X.spacing2),Q.extend("--ft-notification-trailing-gap","",X.spacing8),Q.extend("--ft-tooltip-horizontal-padding","",X.spacing2),Q.extend("--ft-tooltip-vertical-padding","",X.spacing2),Q.extend("--ft-tooltip-border-radius","",X.borderRadiusS),Q.extend("--ft-tooltip-color","",tt.contentGlobalOnColor),Q.extend("--ft-tooltip-background-color","",tt.contentGlobalPrimary),Q.extend("--ft-tooltip-background-opacity","",X.opacity80),Q.extend("--ft-tooltip-shadow","",X.shadowElevation03),Q.create("--ft-tooltip-max-width","","SIZE","256px"),Q.extend("--ft-tooltip-gap","",X.spacing05);const et=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),it=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),rt={fontFamily:it,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},nt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",et),at=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",rt.fontSize,"20px"),lt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",rt.fontWeight,"normal"),st=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",rt.letterSpacing,"0.15px"),ct=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",rt.lineHeight,"1.2"),ft=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",rt.textTransform,"inherit"),pt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",et),ht=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",rt.fontSize,"14px"),dt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",rt.fontWeight,"normal"),ut=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",rt.letterSpacing,"0.105px"),gt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",rt.lineHeight,"1.7"),yt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",rt.textTransform,"inherit"),bt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",it),mt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",rt.fontSize,"16px"),xt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",rt.fontWeight,"600"),vt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",rt.letterSpacing,"0.144px"),Ot=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",rt.lineHeight,"1.5"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",rt.textTransform,"inherit"),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",it),Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",rt.fontSize,"14px"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",rt.fontWeight,"normal"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",rt.letterSpacing,"0.098px"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",rt.lineHeight,"1.7"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",rt.textTransform,"inherit"),kt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",it),Rt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",rt.fontSize,"16px"),Ut=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",rt.fontWeight,"normal"),Lt=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",rt.letterSpacing,"0.496px"),Wt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",rt.lineHeight,"1.5"),zt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",rt.textTransform,"inherit"),Zt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",it),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",rt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",rt.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",rt.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",rt.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",rt.textTransform,"inherit")},Dt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",it),At=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",rt.fontSize,"12px"),Kt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",rt.fontWeight,"normal"),Bt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",rt.letterSpacing,"0.396px"),Ft=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",rt.lineHeight,"1.33"),Tt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",rt.textTransform,"inherit"),Ht=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",it),Pt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",rt.fontSize,"10px"),Mt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",rt.fontWeight,"normal"),jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",rt.letterSpacing,"0.33px"),_t=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",rt.lineHeight,"1.6"),Gt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",rt.textTransform,"inherit"),Vt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",it),qt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",rt.fontSize,"10px"),Yt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",rt.fontWeight,"normal"),Qt=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",rt.letterSpacing,"1.5px"),Xt=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",rt.lineHeight,"1.6"),Jt=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",rt.textTransform,"uppercase"),to={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",it),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",rt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",rt.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",rt.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",rt.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",rt.textTransform,"uppercase")},oo=e.css`
|
|
14
14
|
.ft-typography--title {
|
|
15
15
|
font-family: ${nt};
|
|
16
16
|
font-size: ${at};
|
|
@@ -35,12 +35,12 @@ const M=Symbol.for(""),j=t=>{if(t?.r===M)return t?._$litStatic$},_=t=>({_$litSta
|
|
|
35
35
|
font-weight: ${xt};
|
|
36
36
|
letter-spacing: ${vt};
|
|
37
37
|
line-height: ${Ot};
|
|
38
|
-
text-transform: ${
|
|
38
|
+
text-transform: ${wt};
|
|
39
39
|
}
|
|
40
40
|
`,ro=e.css`
|
|
41
41
|
.ft-typography--subtitle2 {
|
|
42
|
-
font-family: ${
|
|
43
|
-
font-size: ${
|
|
42
|
+
font-family: ${St};
|
|
43
|
+
font-size: ${Nt};
|
|
44
44
|
font-weight: ${$t};
|
|
45
45
|
letter-spacing: ${Ct};
|
|
46
46
|
line-height: ${It};
|
|
@@ -58,16 +58,16 @@ const M=Symbol.for(""),j=t=>{if(t?.r===M)return t?._$litStatic$},_=t=>({_$litSta
|
|
|
58
58
|
}
|
|
59
59
|
`,ao=e.css`
|
|
60
60
|
.ft-typography--body2 {
|
|
61
|
-
font-family: ${
|
|
62
|
-
font-size: ${
|
|
63
|
-
font-weight: ${
|
|
64
|
-
letter-spacing: ${
|
|
65
|
-
line-height: ${
|
|
66
|
-
text-transform: ${
|
|
61
|
+
font-family: ${Zt.fontFamily};
|
|
62
|
+
font-size: ${Zt.fontSize};
|
|
63
|
+
font-weight: ${Zt.fontWeight};
|
|
64
|
+
letter-spacing: ${Zt.letterSpacing};
|
|
65
|
+
line-height: ${Zt.lineHeight};
|
|
66
|
+
text-transform: ${Zt.textTransform};
|
|
67
67
|
}
|
|
68
68
|
`,lo=e.css`
|
|
69
69
|
.ft-typography--caption {
|
|
70
|
-
font-family: ${
|
|
70
|
+
font-family: ${Dt};
|
|
71
71
|
font-size: ${At};
|
|
72
72
|
font-weight: ${Kt};
|
|
73
73
|
letter-spacing: ${Bt};
|
|
@@ -121,7 +121,7 @@ const M=Symbol.for(""),j=t=>{if(t?.r===M)return t?._$litStatic$},_=t=>({_$litSta
|
|
|
121
121
|
</${_(this.element)}>
|
|
122
122
|
`:V`
|
|
123
123
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
124
|
-
`}}go.styles=[oo,eo,io,ro,no,ao,lo,so,co,fo,po,...ho],uo([i.property()],go.prototype,"element",void 0),uo([i.property()],go.prototype,"variant",void 0),o.customElement("ft-typography")(go);const yo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),bo={color:yo,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",yo),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},mo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),xo=mo,vo=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",mo),Oo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),
|
|
124
|
+
`}}go.styles=[oo,eo,io,ro,no,ao,lo,so,co,fo,po,...ho],uo([i.property()],go.prototype,"element",void 0),uo([i.property()],go.prototype,"variant",void 0),o.customElement("ft-typography")(go);const yo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),bo={color:yo,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",yo),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},mo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),xo=mo,vo=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",mo),Oo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),wo=Oo,So=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Oo),No=e.css`
|
|
125
125
|
:host {
|
|
126
126
|
display: contents;
|
|
127
127
|
}
|
|
@@ -176,11 +176,11 @@ const M=Symbol.for(""),j=t=>{if(t?.r===M)return t?._$litStatic$},_=t=>({_$litSta
|
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
179
|
-
background-color: ${
|
|
179
|
+
background-color: ${So};
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
183
|
-
background-color: ${
|
|
183
|
+
background-color: ${wo};
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
@@ -350,7 +350,7 @@ const M=Symbol.for(""),j=t=>{if(t?.r===M)return t?._$litStatic$},_=t=>({_$litSta
|
|
|
350
350
|
.ft-icon--material {
|
|
351
351
|
font-family: ${Io.materialFontFamily}, "Material Icons", sans-serif;
|
|
352
352
|
}
|
|
353
|
-
`,ko=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Ro={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:ko,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",to.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",ko),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},Uo=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Lo={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:Uo,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Uo)},Wo=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),zo=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),
|
|
353
|
+
`,ko=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Ro={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:ko,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",to.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",ko),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},Uo=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Lo={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:Uo,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Uo)},Wo=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),zo=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Zo=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Do=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),Ao=[e.css`
|
|
354
354
|
:host {
|
|
355
355
|
display: inline-block;
|
|
356
356
|
max-width: 100%;
|
|
@@ -408,13 +408,13 @@ const M=Symbol.for(""),j=t=>{if(t?.r===M)return t?._$litStatic$},_=t=>({_$litSta
|
|
|
408
408
|
}
|
|
409
409
|
|
|
410
410
|
.ft-button.ft-button--dense {
|
|
411
|
-
padding: ${zo} ${
|
|
411
|
+
padding: ${zo} ${Zo};
|
|
412
412
|
border-radius: ${Wo};
|
|
413
|
-
gap: ${
|
|
413
|
+
gap: ${Do};
|
|
414
414
|
}
|
|
415
415
|
|
|
416
416
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
417
|
-
padding: calc(${zo} - 1px) calc(${
|
|
417
|
+
padding: calc(${zo} - 1px) calc(${Zo} - 1px);
|
|
418
418
|
}
|
|
419
419
|
|
|
420
420
|
.ft-button:not([disabled]):hover {
|
|
@@ -456,7 +456,7 @@ const M=Symbol.for(""),j=t=>{if(t?.r===M)return t?._$litStatic$},_=t=>({_$litSta
|
|
|
456
456
|
}
|
|
457
457
|
|
|
458
458
|
.ft-button--dense .ft-button--label {
|
|
459
|
-
margin: 0 ${
|
|
459
|
+
margin: 0 ${Do};
|
|
460
460
|
}
|
|
461
461
|
|
|
462
462
|
.ft-button--label[hidden] {
|
|
@@ -474,7 +474,7 @@ const M=Symbol.for(""),j=t=>{if(t?.r===M)return t?._$litStatic$},_=t=>({_$litSta
|
|
|
474
474
|
}
|
|
475
475
|
|
|
476
476
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
477
|
-
margin: 0 calc(${
|
|
477
|
+
margin: 0 calc(${Zo} * -1);
|
|
478
478
|
padding: 0 ${zo};
|
|
479
479
|
}
|
|
480
480
|
|
|
@@ -498,7 +498,7 @@ const M=Symbol.for(""),j=t=>{if(t?.r===M)return t?._$litStatic$},_=t=>({_$litSta
|
|
|
498
498
|
<div class="ft-ripple--background"></div>
|
|
499
499
|
<div class="ft-ripple--effect"></div>
|
|
500
500
|
</div>
|
|
501
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("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",e,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",e,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 o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.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 o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Bo.elementDefinitions={},Bo.styles=
|
|
501
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("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",e,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",e,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 o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.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 o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Bo.elementDefinitions={},Bo.styles=No,Ko([i.property({type:Boolean})],Bo.prototype,"primary",void 0),Ko([i.property({type:Boolean})],Bo.prototype,"secondary",void 0),Ko([i.property({type:Boolean})],Bo.prototype,"unbounded",void 0),Ko([i.property({type:Boolean})],Bo.prototype,"activated",void 0),Ko([i.property({type:Boolean})],Bo.prototype,"selected",void 0),Ko([i.property({type:Boolean})],Bo.prototype,"disabled",void 0),Ko([i.state()],Bo.prototype,"hovered",void 0),Ko([i.state()],Bo.prototype,"focused",void 0),Ko([i.state()],Bo.prototype,"pressed",void 0),Ko([i.state()],Bo.prototype,"rippling",void 0),Ko([i.state()],Bo.prototype,"originX",void 0),Ko([i.state()],Bo.prototype,"originY",void 0),Ko([i.query(".ft-ripple")],Bo.prototype,"ripple",void 0),Ko([i.query(".ft-ripple--effect")],Bo.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Bo);const Fo=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),To=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Ho=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),Po=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),Mo=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),jo=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),_o=e.css`
|
|
502
502
|
.ft-tooltip--container {
|
|
503
503
|
display: block;
|
|
504
504
|
}
|
|
@@ -527,7 +527,7 @@ const M=Symbol.for(""),j=t=>{if(t?.r===M)return t?._$litStatic$},_=t=>({_$litSta
|
|
|
527
527
|
position: relative;
|
|
528
528
|
word-break: break-word;
|
|
529
529
|
}
|
|
530
|
-
`,Go=["start","end"],Vo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Go[0],o+"-"+Go[1])),[]),qo=Math.min,Yo=Math.max,Qo=Math.round,Xo=t=>({x:t,y:t}),Jo={left:"right",right:"left",bottom:"top",top:"bottom"},te={start:"end",end:"start"};function oe(t,o,e){return Yo(t,qo(o,e))}function ee(t,o){return"function"==typeof t?t(o):t}function ie(t){return t.split("-")[0]}function re(t){return t.split("-")[1]}function ne(t){return"x"===t?"y":"x"}function ae(t){return"y"===t?"height":"width"}function le(t){return["top","bottom"].includes(ie(t))?"y":"x"}function se(t){return ne(le(t))}function ce(t){return t.replace(/left|right|bottom|top/g,(t=>Jo[t]))}function fe(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function pe(t,o,e){let{reference:i,floating:r}=t;const n=le(o),a=se(o),l=ae(a),s=ie(o),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,h=i[l]/2-r[l]/2;let d;switch(s){case"top":d={x:f,y:i.y-r.height};break;case"bottom":d={x:f,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:p};break;case"left":d={x:i.x-r.width,y:p};break;default:d={x:i.x,y:i.y}}switch(re(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function he(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:d=0}=ee(o,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}}(d),g=l[h?"floating"===p?"reference":"floating":p],y=fe(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(g)))||e?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=fe(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 de(t,o,e){return(t?[...e.filter((o=>re(o)===t)),...e.filter((o=>re(o)!==t))]:e.filter((t=>ie(t)===t))).filter((e=>!t||(re(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>te[t]))}(e)!==e)))}const ue=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:h=Vo,autoAlignment:d=!0,...u}=ee(t,o),g=void 0!==p||h===Vo?de(p||null,d,h):h,y=await he(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=re(t),r=se(t),n=ae(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=ce(a)),[a,ce(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const v=[y[ie(m)],y[x[0]],y[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],S=g[b+1];if(S)return{data:{index:b+1,overflows:O},reset:{placement:S}};const N=O.map((t=>{const o=re(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=N.filter((t=>t[2].slice(0,re(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=w[0])?void 0:r[0])||N[0][0];return $!==l?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function ge(t){return me(t)?(t.nodeName||"").toLowerCase():"#document"}function ye(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function be(t){var o;return null==(o=(me(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function me(t){return t instanceof Node||t instanceof ye(t).Node}function xe(t){return t instanceof Element||t instanceof ye(t).Element}function ve(t){return t instanceof HTMLElement||t instanceof ye(t).HTMLElement}function Oe(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ye(t).ShadowRoot)}function Se(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=Ie(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function Ne(t){return["table","td","th"].includes(ge(t))}function we(t){const o=$e(),e=Ie(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function $e(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ce(t){return["html","body","#document"].includes(ge(t))}function Ie(t){return ye(t).getComputedStyle(t)}function Ee(t){return xe(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ke(t){if("html"===ge(t))return t;const o=t.assignedSlot||t.parentNode||Oe(t)&&t.host||be(t);return Oe(o)?o.host:o}function Re(t){const o=ke(t);return Ce(o)?t.ownerDocument?t.ownerDocument.body:t.body:ve(o)&&Se(o)?o:Re(o)}function Ue(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=Re(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=ye(r);return n?o.concat(a,a.visualViewport||[],Se(r)?r:[],a.frameElement&&e?Ue(a.frameElement):[]):o.concat(r,Ue(r,[],e))}function Le(t){const o=Ie(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=ve(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,l=Qo(e)!==n||Qo(i)!==a;return l&&(e=n,i=a),{width:e,height:i,$:l}}function We(t){return xe(t)?t:t.contextElement}function ze(t){const o=We(t);if(!ve(o))return Xo(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=Le(o);let a=(n?Qo(e.width):e.width)/i,l=(n?Qo(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const De=Xo(0);function Ze(t){const o=ye(t);return $e()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:De}function Ae(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=We(t);let a=Xo(1);o&&(i?xe(i)&&(a=ze(i)):a=ze(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==ye(t))&&o}(n,e,i)?Ze(n):Xo(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=ye(n),o=i&&xe(i)?ye(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=ze(e),o=e.getBoundingClientRect(),i=Ie(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=r,c+=n,e=ye(e).frameElement}}return fe({width:f,height:p,x:s,y:c})}function Ke(t){return Ae(be(t)).left+Ee(t).scrollLeft}function Be(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=ye(t),i=be(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,l=0,s=0;if(r){n=r.width,a=r.height;const t=$e();(!t||t&&"fixed"===o)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)i=function(t){const o=be(t),e=Ee(t),i=t.ownerDocument.body,r=Yo(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=Yo(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+Ke(t);const l=-e.scrollTop;return"rtl"===Ie(i).direction&&(a+=Yo(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(be(t));else if(xe(o))i=function(t,o){const e=Ae(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=ve(t)?ze(t):Xo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=Ze(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return fe(i)}function Fe(t,o){const e=ke(t);return!(e===o||!xe(e)||Ce(e))&&("fixed"===Ie(e).position||Fe(e,o))}function Te(t,o,e){const i=ve(o),r=be(o),n="fixed"===e,a=Ae(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=Xo(0);if(i||!i&&!n)if(("body"!==ge(o)||Se(r))&&(l=Ee(o)),i){const t=Ae(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else r&&(s.x=Ke(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function He(t,o){return ve(t)&&"fixed"!==Ie(t).position?o?o(t):t.offsetParent:null}function Pe(t,o){const e=ye(t);if(!ve(t))return e;let i=He(t,o);for(;i&&Ne(i)&&"static"===Ie(i).position;)i=He(i,o);return i&&("html"===ge(i)||"body"===ge(i)&&"static"===Ie(i).position&&!we(i))?e:i||function(t){let o=ke(t);for(;ve(o)&&!Ce(o);){if(we(o))return o;o=ke(o)}return null}(t)||e}const Me={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=ve(e),n=be(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Xo(1);const s=Xo(0);if((r||!r&&"fixed"!==i)&&(("body"!==ge(e)||Se(n))&&(a=Ee(e)),ve(e))){const t=Ae(e);l=ze(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:be,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=Ue(t,[],!1).filter((t=>xe(t)&&"body"!==ge(t))),r=null;const n="fixed"===Ie(t).position;let a=n?ke(t):t;for(;xe(a)&&!Ce(a);){const o=Ie(a),e=we(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||Se(a)&&!e&&Fe(t,a))?i=i.filter((t=>t!==a)):r=o,a=ke(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],l=n.reduce(((t,e)=>{const i=Be(o,e,r);return t.top=Yo(i.top,t.top),t.right=qo(i.right,t.right),t.bottom=qo(i.bottom,t.bottom),t.left=Yo(i.left,t.left),t}),Be(o,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Pe,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||Pe,n=this.getDimensions;return{reference:Te(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Le(t)},getScale:ze,isElement:xe,isRTL:function(t){return"rtl"===Ie(t).direction}},je=(t,o,e)=>{const i=new Map,r={platform:Me,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:f,y:p}=pe(c,i,s),h=i,d={},u=0;for(let e=0;e<l.length;e++){const{name:n,fn:g}=l[e],{x:y,y:b,data:m,reset:x}=await g({x:f,y:p,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=y?y:f,p=null!=b?b:p,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:f,y:p}=pe(c,h,s))),e=-1)}return{x:f,y:p,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};function _e(t){return function(t){for(let o=t;o;o=Ge(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Ge(t);o;o=Ge(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Ge(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Ve,qe,Ye,Qe=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Xe extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
530
|
+
`,Go=["start","end"],Vo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Go[0],o+"-"+Go[1])),[]),qo=Math.min,Yo=Math.max,Qo=Math.round,Xo=t=>({x:t,y:t}),Jo={left:"right",right:"left",bottom:"top",top:"bottom"},te={start:"end",end:"start"};function oe(t,o,e){return Yo(t,qo(o,e))}function ee(t,o){return"function"==typeof t?t(o):t}function ie(t){return t.split("-")[0]}function re(t){return t.split("-")[1]}function ne(t){return"x"===t?"y":"x"}function ae(t){return"y"===t?"height":"width"}function le(t){return["top","bottom"].includes(ie(t))?"y":"x"}function se(t){return ne(le(t))}function ce(t){return t.replace(/left|right|bottom|top/g,(t=>Jo[t]))}function fe(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function pe(t,o,e){let{reference:i,floating:r}=t;const n=le(o),a=se(o),l=ae(a),s=ie(o),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,h=i[l]/2-r[l]/2;let d;switch(s){case"top":d={x:f,y:i.y-r.height};break;case"bottom":d={x:f,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:p};break;case"left":d={x:i.x-r.width,y:p};break;default:d={x:i.x,y:i.y}}switch(re(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function he(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:d=0}=ee(o,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}}(d),g=l[h?"floating"===p?"reference":"floating":p],y=fe(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(g)))||e?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=fe(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 de(t,o,e){return(t?[...e.filter((o=>re(o)===t)),...e.filter((o=>re(o)!==t))]:e.filter((t=>ie(t)===t))).filter((e=>!t||(re(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>te[t]))}(e)!==e)))}const ue=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:h=Vo,autoAlignment:d=!0,...u}=ee(t,o),g=void 0!==p||h===Vo?de(p||null,d,h):h,y=await he(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=re(t),r=se(t),n=ae(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=ce(a)),[a,ce(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const v=[y[ie(m)],y[x[0]],y[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],w=g[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const o=re(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),N=S.filter((t=>t[2].slice(0,re(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||S[0][0];return $!==l?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function ge(t){return me(t)?(t.nodeName||"").toLowerCase():"#document"}function ye(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function be(t){var o;return null==(o=(me(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function me(t){return t instanceof Node||t instanceof ye(t).Node}function xe(t){return t instanceof Element||t instanceof ye(t).Element}function ve(t){return t instanceof HTMLElement||t instanceof ye(t).HTMLElement}function Oe(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ye(t).ShadowRoot)}function we(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=Ie(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function Se(t){return["table","td","th"].includes(ge(t))}function Ne(t){const o=$e(),e=Ie(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function $e(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ce(t){return["html","body","#document"].includes(ge(t))}function Ie(t){return ye(t).getComputedStyle(t)}function Ee(t){return xe(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ke(t){if("html"===ge(t))return t;const o=t.assignedSlot||t.parentNode||Oe(t)&&t.host||be(t);return Oe(o)?o.host:o}function Re(t){const o=ke(t);return Ce(o)?t.ownerDocument?t.ownerDocument.body:t.body:ve(o)&&we(o)?o:Re(o)}function Ue(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=Re(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=ye(r);return n?o.concat(a,a.visualViewport||[],we(r)?r:[],a.frameElement&&e?Ue(a.frameElement):[]):o.concat(r,Ue(r,[],e))}function Le(t){const o=Ie(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=ve(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,l=Qo(e)!==n||Qo(i)!==a;return l&&(e=n,i=a),{width:e,height:i,$:l}}function We(t){return xe(t)?t:t.contextElement}function ze(t){const o=We(t);if(!ve(o))return Xo(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=Le(o);let a=(n?Qo(e.width):e.width)/i,l=(n?Qo(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Ze=Xo(0);function De(t){const o=ye(t);return $e()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Ze}function Ae(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=We(t);let a=Xo(1);o&&(i?xe(i)&&(a=ze(i)):a=ze(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==ye(t))&&o}(n,e,i)?De(n):Xo(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=ye(n),o=i&&xe(i)?ye(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=ze(e),o=e.getBoundingClientRect(),i=Ie(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=r,c+=n,e=ye(e).frameElement}}return fe({width:f,height:p,x:s,y:c})}function Ke(t){return Ae(be(t)).left+Ee(t).scrollLeft}function Be(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=ye(t),i=be(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,l=0,s=0;if(r){n=r.width,a=r.height;const t=$e();(!t||t&&"fixed"===o)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)i=function(t){const o=be(t),e=Ee(t),i=t.ownerDocument.body,r=Yo(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=Yo(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+Ke(t);const l=-e.scrollTop;return"rtl"===Ie(i).direction&&(a+=Yo(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(be(t));else if(xe(o))i=function(t,o){const e=Ae(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=ve(t)?ze(t):Xo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=De(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return fe(i)}function Fe(t,o){const e=ke(t);return!(e===o||!xe(e)||Ce(e))&&("fixed"===Ie(e).position||Fe(e,o))}function Te(t,o,e){const i=ve(o),r=be(o),n="fixed"===e,a=Ae(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=Xo(0);if(i||!i&&!n)if(("body"!==ge(o)||we(r))&&(l=Ee(o)),i){const t=Ae(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else r&&(s.x=Ke(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function He(t,o){return ve(t)&&"fixed"!==Ie(t).position?o?o(t):t.offsetParent:null}function Pe(t,o){const e=ye(t);if(!ve(t))return e;let i=He(t,o);for(;i&&Se(i)&&"static"===Ie(i).position;)i=He(i,o);return i&&("html"===ge(i)||"body"===ge(i)&&"static"===Ie(i).position&&!Ne(i))?e:i||function(t){let o=ke(t);for(;ve(o)&&!Ce(o);){if(Ne(o))return o;o=ke(o)}return null}(t)||e}const Me={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=ve(e),n=be(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Xo(1);const s=Xo(0);if((r||!r&&"fixed"!==i)&&(("body"!==ge(e)||we(n))&&(a=Ee(e)),ve(e))){const t=Ae(e);l=ze(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:be,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=Ue(t,[],!1).filter((t=>xe(t)&&"body"!==ge(t))),r=null;const n="fixed"===Ie(t).position;let a=n?ke(t):t;for(;xe(a)&&!Ce(a);){const o=Ie(a),e=Ne(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||we(a)&&!e&&Fe(t,a))?i=i.filter((t=>t!==a)):r=o,a=ke(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],l=n.reduce(((t,e)=>{const i=Be(o,e,r);return t.top=Yo(i.top,t.top),t.right=qo(i.right,t.right),t.bottom=qo(i.bottom,t.bottom),t.left=Yo(i.left,t.left),t}),Be(o,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Pe,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||Pe,n=this.getDimensions;return{reference:Te(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Le(t)},getScale:ze,isElement:xe,isRTL:function(t){return"rtl"===Ie(t).direction}},je=(t,o,e)=>{const i=new Map,r={platform:Me,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:f,y:p}=pe(c,i,s),h=i,d={},u=0;for(let e=0;e<l.length;e++){const{name:n,fn:g}=l[e],{x:y,y:b,data:m,reset:x}=await g({x:f,y:p,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=y?y:f,p=null!=b?b:p,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:f,y:p}=pe(c,h,s))),e=-1)}return{x:f,y:p,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};function _e(t){return function(t){for(let o=t;o;o=Ge(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Ge(t);o;o=Ge(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Ge(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Ve,qe,Ye,Qe=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Xe extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
531
531
|
<div part="container"
|
|
532
532
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
533
533
|
@mouseenter=${this.onHover}
|
|
@@ -880,9 +880,9 @@ const M=Symbol.for(""),j=t=>{if(t?.r===M)return t?._$litStatic$},_=t=>({_$litSta
|
|
|
880
880
|
<label class="${n.classMap(t)}" for="checkbox-input">
|
|
881
881
|
<div class="ft-checkbox--box-container">
|
|
882
882
|
<ft-ripple
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
883
|
+
?disabled=${this.disabled}
|
|
884
|
+
?primary=${this.checked||this.indeterminate}
|
|
885
|
+
unbounded>
|
|
886
886
|
</ft-ripple>
|
|
887
887
|
<div class="ft-checkbox--box">
|
|
888
888
|
<svg class="ft-checkbox--checkmark" viewBox="0 0 24 24">
|
|
@@ -896,13 +896,14 @@ const M=Symbol.for(""),j=t=>{if(t?.r===M)return t?._$litStatic$},_=t=>({_$litSta
|
|
|
896
896
|
.checked=${this.checked}
|
|
897
897
|
.disabled=${this.disabled}
|
|
898
898
|
@change=${this.onChange}
|
|
899
|
+
aria-checked=${this.indeterminate?"mixed":this.checked?"true":"false"}
|
|
899
900
|
>
|
|
900
901
|
</div>
|
|
901
902
|
<ft-typography variant="body2">
|
|
902
903
|
<slot></slot>
|
|
903
904
|
</ft-typography>
|
|
904
905
|
</label>
|
|
905
|
-
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),null===(o=this.ripple)||void 0===o||o.setupFor(this.container)}}bi.elementDefinitions={"ft-ripple":Bo,"ft-typography":go},bi.styles=gi,yi([i.property()],bi.prototype,"name",void 0),yi([i.property({type:Boolean,reflect:!0})],bi.prototype,"checked",void 0),yi([i.property({type:Boolean})],bi.prototype,"indeterminate",void 0),yi([i.property({type:Boolean})],bi.prototype,"disabled",void 0),yi([i.query(".ft-checkbox")],bi.prototype,"container",void 0),yi([i.query("ft-ripple")],bi.prototype,"ripple",void 0),o.customElement("ft-checkbox")(bi);const mi=o.FtCssVariableFactory.extend("--ft-radio-text-color","",o.designSystemVariables.colorOnSurfaceHigh),xi=o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),vi=(o.FtCssVariableFactory.external(o.designSystemVariables.colorOnPrimary,"Design system"),o.FtCssVariableFactory.extend("--ft-radio-border-color","",o.designSystemVariables.colorOnSurfaceMedium)),Oi=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),
|
|
906
|
+
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),null===(o=this.ripple)||void 0===o||o.setupFor(this.container)}}bi.elementDefinitions={"ft-ripple":Bo,"ft-typography":go},bi.styles=gi,yi([i.property()],bi.prototype,"name",void 0),yi([i.property({type:Boolean,reflect:!0})],bi.prototype,"checked",void 0),yi([i.property({type:Boolean})],bi.prototype,"indeterminate",void 0),yi([i.property({type:Boolean})],bi.prototype,"disabled",void 0),yi([i.query(".ft-checkbox")],bi.prototype,"container",void 0),yi([i.query("ft-ripple")],bi.prototype,"ripple",void 0),o.customElement("ft-checkbox")(bi);const mi=o.FtCssVariableFactory.extend("--ft-radio-text-color","",o.designSystemVariables.colorOnSurfaceHigh),xi=o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),vi=(o.FtCssVariableFactory.external(o.designSystemVariables.colorOnPrimary,"Design system"),o.FtCssVariableFactory.extend("--ft-radio-border-color","",o.designSystemVariables.colorOnSurfaceMedium)),Oi=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),wi=e.css`
|
|
906
907
|
* {
|
|
907
908
|
box-sizing: border-box;
|
|
908
909
|
}
|
|
@@ -981,7 +982,7 @@ const M=Symbol.for(""),j=t=>{if(t?.r===M)return t?._$litStatic$},_=t=>({_$litSta
|
|
|
981
982
|
.ft-radio--disabled .ft-radio--box:after {
|
|
982
983
|
background-color: ${Oi};
|
|
983
984
|
}
|
|
984
|
-
`;var
|
|
985
|
+
`;var Si=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ni extends CustomEvent{constructor(t,o){super("change",{detail:{value:t,checked:o},bubbles:!0,composed:!0})}}class $i extends o.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return e.html`
|
|
985
986
|
<div class="${n.classMap(t)}">
|
|
986
987
|
<div class="ft-radio--box-container">
|
|
987
988
|
<ft-ripple
|
|
@@ -1006,7 +1007,7 @@ const M=Symbol.for(""),j=t=>{if(t?.r===M)return t?._$litStatic$},_=t=>({_$litSta
|
|
|
1006
1007
|
</ft-typography>
|
|
1007
1008
|
</label>
|
|
1008
1009
|
</div>
|
|
1009
|
-
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new
|
|
1010
|
+
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Ni(this.value,this.checked))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),null===(o=this.ripple)||void 0===o||o.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Ni(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}$i.elementDefinitions={"ft-ripple":Bo,"ft-typography":go},$i.styles=wi,Si([i.property()],$i.prototype,"value",void 0),Si([i.property()],$i.prototype,"name",void 0),Si([i.property({type:Boolean,reflect:!0})],$i.prototype,"checked",void 0),Si([i.property({type:Boolean})],$i.prototype,"disabled",void 0),Si([i.query(".ft-radio")],$i.prototype,"container",void 0),Si([i.query("ft-ripple")],$i.prototype,"ripple",void 0),Si([i.query("input")],$i.prototype,"input",void 0);const Ci=e.css`
|
|
1010
1011
|
:host {
|
|
1011
1012
|
display: contents;
|
|
1012
1013
|
}
|
|
@@ -1015,7 +1016,7 @@ const M=Symbol.for(""),j=t=>{if(t?.r===M)return t?._$litStatic$},_=t=>({_$litSta
|
|
|
1015
1016
|
@change=${this.onChange}
|
|
1016
1017
|
@keydown=${this.onKeyDown}
|
|
1017
1018
|
></slot>
|
|
1018
|
-
`}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((o=>o.checked=t.detail.value===o.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let o=this.findFtRadio(t),e=this.radioButtons.indexOf(o)-1;this.radioButtons[e<0?this.radioButtons.length-1:e].select();break}case"ArrowDown":case"ArrowRight":{let o=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[o>this.radioButtons.length-1?0:o].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Ei.elementDefinitions={},Ei.styles=Ci,Ii([i.property()],Ei.prototype,"name",void 0),Ii([i.queryAssignedElements()],Ei.prototype,"radioButtons",void 0),o.customElement("ft-radio")($i),o.customElement("ft-radio-group")(Ei);const ki={borderRadiusM:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusM,"Design system"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),colorOnSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:o.FtCssVariableFactory.external(
|
|
1019
|
+
`}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((o=>o.checked=t.detail.value===o.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let o=this.findFtRadio(t),e=this.radioButtons.indexOf(o)-1;this.radioButtons[e<0?this.radioButtons.length-1:e].select();break}case"ArrowDown":case"ArrowRight":{let o=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[o>this.radioButtons.length-1?0:o].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Ei.elementDefinitions={},Ei.styles=Ci,Ii([i.property()],Ei.prototype,"name",void 0),Ii([i.queryAssignedElements()],Ei.prototype,"radioButtons",void 0),o.customElement("ft-radio")($i),o.customElement("ft-radio-group")(Ei);const ki={borderRadiusM:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusM,"Design system"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),colorOnSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:o.FtCssVariableFactory.external(Zt.fontFamily,"Body2 typography"),fontSize:o.FtCssVariableFactory.external(Zt.fontSize,"Body2 typography"),fontWeight:o.FtCssVariableFactory.external(Zt.fontWeight,"Body2 typography"),letterSpacing:o.FtCssVariableFactory.external(Zt.letterSpacing,"Body2 typography"),lineHeight:o.FtCssVariableFactory.external(Zt.lineHeight,"Body2 typography"),textTransform:o.FtCssVariableFactory.external(Zt.textTransform,"Body2 typography")},Ri=e.css`
|
|
1019
1020
|
.ft-filter-level--container {
|
|
1020
1021
|
display: flex;
|
|
1021
1022
|
flex-direction: column;
|
|
@@ -1270,7 +1271,7 @@ const M=Symbol.for(""),j=t=>{if(t?.r===M)return t?._$litStatic$},_=t=>({_$litSta
|
|
|
1270
1271
|
.ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
|
|
1271
1272
|
background-color: ${Wi.colorSurface};
|
|
1272
1273
|
}
|
|
1273
|
-
`;var
|
|
1274
|
+
`;var Zi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Di extends CustomEvent{constructor(t,o){super("current-element-change",{detail:{index:t,element:o}})}}class Ai extends o.FtLitElement{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new o.Debouncer(200),this.updateScrollDebouncer=new o.Debouncer(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let o=this.elements[t];if(o){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,e=this.contentSlot[this.scrollAttribute]+this.prevSize;(o[this.offsetAttribute]<e||o[this.offsetAttribute]+o[this.sizeAttribute]>t)&&this.scrollToElement(o)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=n.classMap({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":o.isSafari}),i=this.controls&&this.withScroll;return e.html`
|
|
1274
1275
|
<div part="container" class="${t}">
|
|
1275
1276
|
<ft-button
|
|
1276
1277
|
class="ft-snap-scroll--previous"
|
|
@@ -1294,7 +1295,7 @@ const M=Symbol.for(""),j=t=>{if(t?.r===M)return t?._$litStatic$},_=t=>({_$litSta
|
|
|
1294
1295
|
@click=${this.next}
|
|
1295
1296
|
></ft-button>
|
|
1296
1297
|
</div>
|
|
1297
|
-
`}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new
|
|
1298
|
+
`}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new Di(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(o=this.listenedContainer)||void 0===o||o.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const o=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<o&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var o,e;t&&(this.horizontal?null===(o=this.contentSlot)||void 0===o||o.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(e=this.contentSlot)||void 0===e||e.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,o;this.elements=null!==(o=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==o?o:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let o=0;o<this.elements.length;o++)(t<0||this.getDistanceFromStart(this.elements[o])<this.getDistanceFromStart(this.elements[t]))&&(t=o);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const o=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-o)}}Ai.elementDefinitions={"ft-button":ni},Ai.styles=zi,Zi([i.property({type:Boolean})],Ai.prototype,"horizontal",void 0),Zi([i.property({type:Boolean})],Ai.prototype,"hideScrollbar",void 0),Zi([i.property({type:Boolean})],Ai.prototype,"controls",void 0),Zi([i.property({type:Boolean})],Ai.prototype,"limitSize",void 0),Zi([i.state()],Ai.prototype,"elements",void 0),Zi([i.state()],Ai.prototype,"currentElement",void 0),Zi([i.state()],Ai.prototype,"withScroll",void 0),Zi([i.state()],Ai.prototype,"startReached",void 0),Zi([i.state()],Ai.prototype,"endReached",void 0),Zi([i.query(".ft-snap-scroll--content")],Ai.prototype,"contentSlot",void 0),o.customElement("ft-snap-scroll")(Ai);const Ki=o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),Bi=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurface,"Design system"),Fi=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceMedium,"Design system"),Ti=o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),Hi=o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),Pi=o.FtCssVariableFactory.external(o.designSystemVariables.transitionDuration,"Design system"),Mi=o.FtCssVariableFactory.external(o.designSystemVariables.transitionTimingFunction,"Design system"),ji=o.FtCssVariableFactory.extend("--ft-filter-label-color","",o.designSystemVariables.colorOnSurface),_i=o.FtCssVariableFactory.extend("--ft-filter-label-font-size","",rt.fontSize,"16px"),Gi=[lo,e.css`
|
|
1298
1299
|
:host {
|
|
1299
1300
|
display: flex;
|
|
1300
1301
|
max-height: 100%;
|
|
@@ -1323,6 +1324,9 @@ const M=Symbol.for(""),j=t=>{if(t?.r===M)return t?._$litStatic$},_=t=>({_$litSta
|
|
|
1323
1324
|
margin-left: auto;
|
|
1324
1325
|
${o.setVariable(Ro.iconSize,"18px")};
|
|
1325
1326
|
}
|
|
1327
|
+
.filter-label {
|
|
1328
|
+
display: contents;
|
|
1329
|
+
}
|
|
1326
1330
|
|
|
1327
1331
|
.ft-filter--label {
|
|
1328
1332
|
display: block;
|
|
@@ -1410,11 +1414,14 @@ const M=Symbol.for(""),j=t=>{if(t?.r===M)return t?._$litStatic$},_=t=>({_$litSta
|
|
|
1410
1414
|
<div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
|
|
1411
1415
|
part="container">
|
|
1412
1416
|
${this.label||t?e.html`
|
|
1417
|
+
|
|
1413
1418
|
<div class="ft-filter--header" part="header">
|
|
1414
|
-
<
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1419
|
+
<div class="filter-label" id="id-group-${this.id}">
|
|
1420
|
+
<ft-typography class="ft-filter--label" variant="overline" part="label">
|
|
1421
|
+
${this.label}
|
|
1422
|
+
</ft-typography>
|
|
1423
|
+
<slot name="label"></slot>
|
|
1424
|
+
</div>
|
|
1418
1425
|
${t&&!this.hideClearButton?e.html`
|
|
1419
1426
|
<ft-button icon="close" dense @click=${this.clear} part="clear-button">
|
|
1420
1427
|
${this.clearButtonLabel}
|
|
@@ -1432,7 +1439,7 @@ const M=Symbol.for(""),j=t=>{if(t?.r===M)return t?._$litStatic$},_=t=>({_$litSta
|
|
|
1432
1439
|
@search=${this.onFilterChange}
|
|
1433
1440
|
@keyup=${this.onFilterChange}>
|
|
1434
1441
|
</div>
|
|
1435
|
-
<div class="ft-filter--values">
|
|
1442
|
+
<div class="ft-filter--values" role="group" aria-labelledby="id-group-${this.id}">
|
|
1436
1443
|
${this.renderLevels()}
|
|
1437
1444
|
</div>
|
|
1438
1445
|
<slot class="ft-filter--slot"
|
|
@@ -1441,18 +1448,18 @@ const M=Symbol.for(""),j=t=>{if(t?.r===M)return t?._$litStatic$},_=t=>({_$litSta
|
|
|
1441
1448
|
</div>
|
|
1442
1449
|
`}update(t){if(super.update(t),t.has("options")){const t=new Set(this.flatOptions.map((t=>t.value)));this.displayedLevels=this.displayedLevels.filter((o=>t.has(o))),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var o,e,i,r,n;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),null===(o=this.levelsContainer)||void 0===o||o.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout((()=>{var t;null===(t=this.levelsContainer)||void 0===t||t.next(),this.slideIn=void 0}),0),t.has("slideOut")&&this.slideOut&&(null===(e=this.levelsContainer)||void 0===e||e.previous(),setTimeout((()=>{this.displayedLevels.pop(),this.slideOut=void 0}),300)),this.lastLevelHasHiddenvalues=null!==(n=null===(r=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(".ft-filter--levels ft-filter-level:last-child"))||void 0===r?void 0:r.hasHiddenValues)&&void 0!==n&&n}renderLevels(){const t=this.flatOptions,o=t.filter((t=>t.selected)),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,r=i<0?"ft-filter--level-center":"ft-filter--level-left";return e.html`
|
|
1443
1450
|
${this.raiseSelectedOptions&&o.length>0?e.html`
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1451
|
+
<ft-filter-level
|
|
1452
|
+
filterId="${this.id}"
|
|
1453
|
+
?multivalued=${this.multivalued}
|
|
1454
|
+
?disabled=${this.disabled}
|
|
1455
|
+
preventNavigation
|
|
1456
|
+
.options=${o}
|
|
1457
|
+
@change=${this.onChange}
|
|
1458
|
+
part="values selected-values"
|
|
1459
|
+
.exportpartsPrefixes=${["values","selected-values"]}
|
|
1460
|
+
></ft-filter-level>
|
|
1461
|
+
<div class="ft-filter--separator">
|
|
1462
|
+
`:null}
|
|
1456
1463
|
<ft-snap-scroll horizontal hideScrollbar
|
|
1457
1464
|
class="ft-filter--levels"
|
|
1458
1465
|
@current-element-change=${t=>this.levelsScrollDebouncer.run((()=>{for(;t.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()}))}>
|
|
@@ -1461,35 +1468,35 @@ const M=Symbol.for(""),j=t=>{if(t?.r===M)return t?._$litStatic$},_=t=>({_$litSta
|
|
|
1461
1468
|
</ft-snap-scroll>
|
|
1462
1469
|
`}renderLevel(t,o,i){return e.html`
|
|
1463
1470
|
<ft-filter-level
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1471
|
+
class="${t}"
|
|
1472
|
+
filterId="${this.id}"
|
|
1473
|
+
.filter="${this.filter}"
|
|
1474
|
+
moreValuesButtonLabel="${this.moreValuesButtonLabel}"
|
|
1475
|
+
?multivalued=${this.multivalued}
|
|
1476
|
+
?disabled=${this.disabled||"ft-filter--level-center"!==t}
|
|
1477
|
+
?hideSelectedOptions=${this.raiseSelectedOptions}
|
|
1478
|
+
.parent=${i}
|
|
1479
|
+
.options=${o}
|
|
1480
|
+
.displayedValuesLimit=${this.displayedValuesLimit}
|
|
1481
|
+
@change=${this.onChange}
|
|
1482
|
+
@go-back=${this.goBack}
|
|
1483
|
+
@display-level=${this.onDisplayLevel}
|
|
1484
|
+
part="values available-values"
|
|
1485
|
+
.exportpartsPrefixes=${["values","available-values"]}
|
|
1486
|
+
noValuesLabel="${this.noValuesLabel}"
|
|
1480
1487
|
></ft-filter-level>
|
|
1481
1488
|
`}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var o;t.stopPropagation();const e=this.flatOptions.find((o=>o.value===t.detail.value));e.selected=!e.selected;const i=t=>{var o;t!==e&&(t.selected=!1),null===(o=t.subOptions)||void 0===o||o.forEach(i)};this.multivalued?null===(o=e.subOptions)||void 0===o||o.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;o.deepEqual(this.lastDispatchedValues,t)||(this.dispatchEvent(new qi(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,o;this.filter=null!==(o=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==o?o:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}Yi.elementDefinitions={"ft-button":ni,"ft-filter-level":Li,"ft-snap-scroll":Ai,"ft-typography":go},Yi.styles=Gi,Vi([i.property({type:String})],Yi.prototype,"id",void 0),Vi([i.property({type:String})],Yi.prototype,"label",void 0),Vi([i.property({type:String})],Yi.prototype,"filterPlaceHolder",void 0),Vi([i.property({type:String})],Yi.prototype,"clearButtonLabel",void 0),Vi([i.property({type:String})],Yi.prototype,"moreValuesButtonLabel",void 0),Vi([i.property({type:String})],Yi.prototype,"noValuesLabel",void 0),Vi([o.jsonProperty([])],Yi.prototype,"options",void 0),Vi([i.property({type:Boolean})],Yi.prototype,"multivalued",void 0),Vi([i.property({type:Boolean})],Yi.prototype,"disabled",void 0),Vi([i.property({type:Boolean})],Yi.prototype,"raiseSelectedOptions",void 0),Vi([i.property({type:Number})],Yi.prototype,"displayedValuesLimit",void 0),Vi([i.property({type:Boolean})],Yi.prototype,"hideClearButton",void 0),Vi([i.query(".ft-filter--slot")],Yi.prototype,"slotElement",void 0),Vi([i.query(".ft-filter--container")],Yi.prototype,"container",void 0),Vi([i.query(".ft-filter--values")],Yi.prototype,"valuesContainer",void 0),Vi([i.query(".ft-filter--levels")],Yi.prototype,"levelsContainer",void 0),Vi([i.state()],Yi.prototype,"lastLevelHasHiddenvalues",void 0),Vi([i.query(".ft-filter--filter input")],Yi.prototype,"filterInput",void 0),Vi([i.queryAll(".ft-filter--levels ft-filter-level")],Yi.prototype,"levels",void 0),Vi([i.state()],Yi.prototype,"withScroll",void 0),Vi([i.state()],Yi.prototype,"filter",void 0),Vi([i.state()],Yi.prototype,"slideIn",void 0),Vi([i.state()],Yi.prototype,"slideOut",void 0);var Qi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Xi extends o.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return e.html`
|
|
1482
1489
|
<slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
|
|
1483
1490
|
`}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Xi.elementDefinitions={},Qi([i.property({type:String})],Xi.prototype,"label",void 0),Qi([i.property({type:Object,converter:t=>t})],Xi.prototype,"value",void 0),Qi([i.property({type:Boolean,reflect:!0})],Xi.prototype,"selected",void 0),Qi([i.property({type:Object})],Xi.prototype,"subOptions",void 0),Qi([o.jsonProperty({})],Xi.prototype,"renderOption",void 0),Qi([i.query(".ft-filter-option--slot")],Xi.prototype,"slotElement",void 0),o.customElement("ft-filter")(Yi),o.customElement("ft-filter-option")(Xi);const Ji={setRequest:(t,o)=>{t.request=o.payload},setRequestQuery:(t,o)=>{t.request.query=o.payload},setRequestContentLocale:(t,o)=>{t.request.contentLocale=o.payload},setPageSize:(t,o)=>{t.request.paging.perPage=o.payload},setPageNumber:(t,o)=>{t.request.paging.page=o.payload},setRequestSort:(t,o)=>{t.request.sort=o.payload},setRequestFilters:(t,o)=>{t.request.filters=o.payload},setRequestFacets:(t,o)=>{t.request.facets=o.payload},setRequestVirtualField:(t,o)=>{t.request.virtualField=o.payload},setRequestScope:(t,o)=>{t.request.scope=o.payload},setResults:(t,o)=>{t.results=o.payload},setFacets:(t,o)=>{t.facets=o.payload},setSpellcheck:(t,o)=>{t.spellcheck=o.payload},setLocales:(t,o)=>{t.locales=o.payload},setPaging:(t,o)=>{t.paging=o.payload},setLiveQuery:(t,o)=>{t.liveQuery=o.payload},setSuggestResults:(t,o)=>{t.suggestResults=o.payload}};var tr,or,er,ir,rr,nr,ar,lr,sr,cr,fr,pr,hr,dr,ur,gr,yr,br;!function(t){!function(o){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function s(t){this.map={},t instanceof s?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function p(t){var o=new FileReader,e=f(o);return o.readAsArrayBuffer(t),e}function h(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=h(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var t,o,e,i=c(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=f(o),o.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),i=0;i<o.length;i++)e[i]=String.fromCharCode(o[i]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(y)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},s.prototype.delete=function(t){delete this.map[n(t)]},s.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},s.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},s.prototype.set=function(t,o){this.map[n(t)]=a(o)},s.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},s.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},s.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},s.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,o){var e,i,r=(o=o||{}).body;if(t instanceof g){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new s(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new s(o.headers)),this.method=(e=o.method||this.method||"GET",i=e.toUpperCase(),u.indexOf(i)>-1?i:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function y(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),i=e.shift().replace(/\+/g," "),r=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(i),decodeURIComponent(r))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new s(o.headers),this.url=o.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},d.call(g.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function x(t,i){return new Promise((function(r,n){var a=new g(t,i);if(a.signal&&a.signal.aborted)return n(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function c(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new s,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),i=e.shift().trim();if(i){var r=e.join(":").trim();o.append(i,r)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var i="response"in l?l.response:l.responseText;r(new b(i,e))},l.onerror=function(){n(new TypeError("Network request failed"))},l.ontimeout=function(){n(new TypeError("Network request failed"))},l.onabort=function(){n(new o.DOMException("Aborted","AbortError"))},l.open(a.method,a.url,!0),"include"===a.credentials?l.withCredentials=!0:"omit"===a.credentials&&(l.withCredentials=!1),"responseType"in l&&e.blob&&(l.responseType="blob"),a.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",c),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",c)}),l.send(void 0===a._bodyInit?null:a._bodyInit)}))}x.polyfill=!0,t.fetch||(t.fetch=x,t.Headers=s,t.Request=g,t.Response=b),o.Headers=s,o.Request=g,o.Response=b,o.fetch=x,Object.defineProperty(o,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(tr||(tr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(or||(or={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(er||(er={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(ir||(ir={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(rr||(rr={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(nr||(nr={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(ar||(ar={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(lr||(lr={})),function(t){t.ASC="ASC",t.DESC="DESC"}(sr||(sr={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(cr||(cr={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(fr||(fr={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(pr||(pr={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(hr||(hr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(dr||(dr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(ur||(ur={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(gr||(gr={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(yr||(yr={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(br||(br={})),yr.PERSONAL_BOOK_SHARE_USER,yr.PERSONAL_BOOK_USER,yr.HTML_EXPORT_USER,yr.PERSONAL_BOOK_USER,yr.PDF_EXPORT_USER,yr.PERSONAL_BOOK_USER,yr.KHUB_ADMIN,yr.CONTENT_PUBLISHER,yr.ADMIN,yr.KHUB_ADMIN,yr.USERS_ADMIN,yr.PORTAL_ADMIN,yr.DEVELOPER,yr.BETA_USER,yr.DEBUG_USER;const mr=e.css`
|
|
1484
|
-
`,xr=o.FtReduxStore.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1}});class vr{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=xr.getState(),i=null!=t?t:e;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static get(t){var o;return null!=t?vr.build(t):null!==(o=vr.API)&&void 0!==o?o:vr.API=vr.build()}static await(t){return new Promise((o=>{let e=vr.get(t);if(e)o(e);else{const i=xr.subscribe((()=>{e=vr.get(t),e&&(i(),o(e))}))}}))}}class Or{constructor(t=!0,e){var i;this.overrideApi=e;let r=this.constructor;r.commonCache=null!==(i=r.commonCache)&&void 0!==i?i:new o.CacheRegistry,this.cache=t?r.commonCache:new o.CacheRegistry}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:vr.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:vr.await()}clearCache(){this.cache.clearAll()}}var
|
|
1491
|
+
`,xr=o.FtReduxStore.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1}});class vr{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=xr.getState(),i=null!=t?t:e;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static get(t){var o;return null!=t?vr.build(t):null!==(o=vr.API)&&void 0!==o?o:vr.API=vr.build()}static await(t){return new Promise((o=>{let e=vr.get(t);if(e)o(e);else{const i=xr.subscribe((()=>{e=vr.get(t),e&&(i(),o(e))}))}}))}}class Or{constructor(t=!0,e){var i;this.overrideApi=e;let r=this.constructor;r.commonCache=null!==(i=r.commonCache)&&void 0!==i?i:new o.CacheRegistry,this.cache=t?r.commonCache:new o.CacheRegistry}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:vr.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:vr.await()}clearCache(){this.cache.clearAll()}}var wr;const Sr=Symbol("clearAfterUnitTest");class Nr extends Or{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[wr]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=xr.getState().uiLocale,xr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=xr.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var i;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...e};o.deepEqual(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...i){var r,n,a;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(n=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==n?n:{};return new o.ParametrizedLabelResolver(null!==(a=this.defaultMessages[t])&&void 0!==a?a:{},l).resolve(e,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>o.delay(0).then((()=>t())).catch((()=>null)))))}}wr=Sr,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Nr{constructor(){super((async(t,o)=>(await this.awaitApi).getFluidTopicsMessageContext(t,o)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Nr{constructor(){super((async(t,o)=>(await this.awaitApi).getCustomMessageContext(t,o)))}});const $r=window.FluidTopicsI18nService,Cr=window.FluidTopicsCustomI18nService;var Ir=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Er extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>vr.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
|
|
1485
1492
|
<slot></slot>
|
|
1486
|
-
`}update(t){super.update(t),t.has("baseUrl")&&(xr.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&xr.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&xr.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&xr.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&xr.actions.noCustom(this.noCustom),t.has("editorMode")&&xr.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&xr.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&xr.actions.session(this.session),t.has("availableUiLocales")&&xr.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>$r.addContext(t))),t.has("openExternalDocumentInNewTab")&&xr.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Er.elementDefinitions={},Er.styles=mr,Ir([i.property()],Er.prototype,"baseUrl",void 0),Ir([i.property()],Er.prototype,"apiIntegrationIdentifier",void 0),Ir([i.property()],Er.prototype,"uiLocale",void 0),Ir([o.jsonProperty(null)],Er.prototype,"availableUiLocales",void 0),Ir([o.jsonProperty(null)],Er.prototype,"metadataConfiguration",void 0),Ir([i.property({type:Boolean})],Er.prototype,"editorMode",void 0),Ir([i.property({type:Boolean})],Er.prototype,"noCustom",void 0),Ir([i.property({type:Boolean})],Er.prototype,"openExternalDocumentInNewTab",void 0),Ir([i.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Er.prototype,"noCustomComponent",void 0),Ir([i.property({type:Boolean})],Er.prototype,"withManualResources",void 0),Ir([o.jsonProperty([])],Er.prototype,"messageContexts",void 0),Ir([o.jsonProperty(void 0)],Er.prototype,"session",void 0),Ir([i.property({type:Object})],Er.prototype,"apiProvider",void 0);class kr extends Or{async listMySearches(){let t=xr.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Rr extends Or{async listMyBookmarks(){let t=xr.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Ur=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Lr=new class{constructor(){this.currentSession=xr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Rr,this.savedSearchesService=new kr,xr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=xr.getState();o.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ur.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ur.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Ur.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Ur.actions.bookmarks(o)}}};o.customElement("ft-app-context")(Er);class Wr extends Or{constructor(){super(),this.cache.registerFinal("available-locales",(()=>this.api.getAvailableSearchLocales()))}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}}class zr extends Event{constructor(){super(zr.eventName)}}zr.eventName="search-context-clear-all-filters";class Dr{static build(t,e){return new Dr((t=>o.FtReduxStore.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:Ji}))(t.trim()||"context"),e)}constructor(t,e){this.store=t,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new o.Debouncer(100),this.suggestDebouncer=new o.Debouncer(300),this.service=null!=e?e:new Wr}async initService(){return this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let o=this.store.getState().locales,e=this.store.getState().request.contentLocale;if(t!=e){if(o){const i=t=>o.some((o=>o.lang==t));i(t)||(t=i(e)?e:o[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){const o=t.filter((t=>t.values.length>0));this.store.actions.setRequestFilters(o),this.store.actions.setPageNumber(1),o.forEach((t=>{this.facetIds.includes(t.key)||(this.facetIds=[...this.facetIds,t.key])})),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(fr.TITLE_ONLY),this.store.actions.setRequestScope(gr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(fr.EVERYWHERE),this.store.actions.setRequestScope(gr.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return(t=>t.request.virtualField===fr.TITLE_ONLY&&t.request.scope===gr.DOCUMENTS)(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new zr)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,o){let e=this.facetIds.filter((o=>o!=t));o&&e.push(o),this.facetIds=e,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map((t=>t.id))}set facetIds(t){let o=[...new Set(t)].map((t=>({id:t})));this.store.actions.setRequestFacets(o)}setFilter(t,o){let e=this.store.getState().request.filters,i={key:t,values:o,negative:!1},r=[...e.filter((o=>o.key!==t)),i];this.setFilters(r)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(t){this.store.actions.setRequestScope(t),this.launchSearch()}setIgnoreEmptyQuery(t){this.ignoreEmptyQuery=t,this.launchSearch()}setOpenExternalDocumentInNewTab(t){this.openExternalDocumentInNewTab=t}launchSearch(){return this.searchDebouncer.run((()=>this.fetchSearchData()))}launchSuggest(){return this.suggestDebouncer.run((()=>this.fetchSuggestData()))}async fetchSearchData(){var t,e;try{null===(t=this.cancelableSearch)||void 0===t||t.cancel();let i=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&0==i.query.length)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=o.cancelable(this.service.launchSearch(i));const t=await this.cancelableSearch;if(t.paging.currentPage<=1)this.store.actions.setResults(t.results),this.store.actions.setFacets(t.facets),this.store.actions.setSpellcheck(t.spellcheck);else{let o=(null!==(e=this.store.getState().results)&&void 0!==e?e:[]).concat(t.results);this.store.actions.setResults(o)}this.store.actions.setPaging(t.paging)}}catch(t){t instanceof o.CanceledPromiseError||!this.errorHandler||this.errorHandler(t)}}async fetchSuggestData(){var t;try{const e=this.store.getState(),i=e.request,r={input:e.liveQuery,filters:i.filters,sort:i.sort,contentLocale:i.contentLocale,scope:i.scope};null===(t=this.cancelableSuggest)||void 0===t||t.cancel(),this.cancelableSuggest=o.cancelable(this.service.launchSuggest(r));let n=await this.cancelableSuggest;this.store.actions.setSuggestResults(n.suggestions)}catch(t){t instanceof o.CanceledPromiseError||!this.errorHandler||this.errorHandler(t)}}clear(){this.store.clear()}}var Zr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ar extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Kr=Symbol("registerInterval");class Br extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Kr]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Kr]):this.dispatchEvent(new Ar)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Kr,Zr([i.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}function Fr(t){return t.rootNodes.map((t=>Tr(t)))}function Tr(t,o=!1){return{label:t.label,value:t.value,selected:t.selected&&!o,subOptions:t.childNodes.map((o=>Tr(o,t.selected)))}}const Hr=e.css`
|
|
1493
|
+
`}update(t){super.update(t),t.has("baseUrl")&&(xr.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&xr.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&xr.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&xr.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&xr.actions.noCustom(this.noCustom),t.has("editorMode")&&xr.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&xr.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&xr.actions.session(this.session),t.has("availableUiLocales")&&xr.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>$r.addContext(t))),t.has("openExternalDocumentInNewTab")&&xr.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Er.elementDefinitions={},Er.styles=mr,Ir([i.property()],Er.prototype,"baseUrl",void 0),Ir([i.property()],Er.prototype,"apiIntegrationIdentifier",void 0),Ir([i.property()],Er.prototype,"uiLocale",void 0),Ir([o.jsonProperty(null)],Er.prototype,"availableUiLocales",void 0),Ir([o.jsonProperty(null)],Er.prototype,"metadataConfiguration",void 0),Ir([i.property({type:Boolean})],Er.prototype,"editorMode",void 0),Ir([i.property({type:Boolean})],Er.prototype,"noCustom",void 0),Ir([i.property({type:Boolean})],Er.prototype,"openExternalDocumentInNewTab",void 0),Ir([i.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Er.prototype,"noCustomComponent",void 0),Ir([i.property({type:Boolean})],Er.prototype,"withManualResources",void 0),Ir([o.jsonProperty([])],Er.prototype,"messageContexts",void 0),Ir([o.jsonProperty(void 0)],Er.prototype,"session",void 0),Ir([i.property({type:Object})],Er.prototype,"apiProvider",void 0);class kr extends Or{async listMySearches(){let t=xr.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Rr extends Or{async listMyBookmarks(){let t=xr.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Ur=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Lr=new class{constructor(){this.currentSession=xr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Rr,this.savedSearchesService=new kr,xr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=xr.getState();o.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ur.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ur.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Ur.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Ur.actions.bookmarks(o)}}};o.customElement("ft-app-context")(Er);class Wr extends Or{constructor(){super(),this.cache.registerFinal("available-locales",(()=>this.api.getAvailableSearchLocales()))}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}}class zr extends Event{constructor(){super(zr.eventName)}}zr.eventName="search-context-clear-all-filters";class Zr{static build(t,e){return new Zr((t=>o.FtReduxStore.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:Ji}))(t.trim()||"context"),e)}constructor(t,e){this.store=t,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new o.Debouncer(100),this.suggestDebouncer=new o.Debouncer(300),this.service=null!=e?e:new Wr}async initService(){return this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let o=this.store.getState().locales,e=this.store.getState().request.contentLocale;if(t!=e){if(o){const i=t=>o.some((o=>o.lang==t));i(t)||(t=i(e)?e:o[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){const o=t.filter((t=>t.values.length>0));this.store.actions.setRequestFilters(o),this.store.actions.setPageNumber(1),o.forEach((t=>{this.facetIds.includes(t.key)||(this.facetIds=[...this.facetIds,t.key])})),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(fr.TITLE_ONLY),this.store.actions.setRequestScope(gr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(fr.EVERYWHERE),this.store.actions.setRequestScope(gr.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return(t=>t.request.virtualField===fr.TITLE_ONLY&&t.request.scope===gr.DOCUMENTS)(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new zr)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,o){let e=this.facetIds.filter((o=>o!=t));o&&e.push(o),this.facetIds=e,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map((t=>t.id))}set facetIds(t){let o=[...new Set(t)].map((t=>({id:t})));this.store.actions.setRequestFacets(o)}setFilter(t,o){let e=this.store.getState().request.filters,i={key:t,values:o,negative:!1},r=[...e.filter((o=>o.key!==t)),i];this.setFilters(r)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(t){this.store.actions.setRequestScope(t),this.launchSearch()}setIgnoreEmptyQuery(t){this.ignoreEmptyQuery=t,this.launchSearch()}setOpenExternalDocumentInNewTab(t){this.openExternalDocumentInNewTab=t}launchSearch(){return this.searchDebouncer.run((()=>this.fetchSearchData()))}launchSuggest(){return this.suggestDebouncer.run((()=>this.fetchSuggestData()))}async fetchSearchData(){var t,e;try{null===(t=this.cancelableSearch)||void 0===t||t.cancel();let i=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&0==i.query.length)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=o.cancelable(this.service.launchSearch(i));const t=await this.cancelableSearch;if(t.paging.currentPage<=1)this.store.actions.setResults(t.results),this.store.actions.setFacets(t.facets),this.store.actions.setSpellcheck(t.spellcheck);else{let o=(null!==(e=this.store.getState().results)&&void 0!==e?e:[]).concat(t.results);this.store.actions.setResults(o)}this.store.actions.setPaging(t.paging)}}catch(t){t instanceof o.CanceledPromiseError||!this.errorHandler||this.errorHandler(t)}}async fetchSuggestData(){var t;try{const e=this.store.getState(),i=e.request,r={input:e.liveQuery,filters:i.filters,sort:i.sort,contentLocale:i.contentLocale,scope:i.scope};null===(t=this.cancelableSuggest)||void 0===t||t.cancel(),this.cancelableSuggest=o.cancelable(this.service.launchSuggest(r));let n=await this.cancelableSuggest;this.store.actions.setSuggestResults(n.suggestions)}catch(t){t instanceof o.CanceledPromiseError||!this.errorHandler||this.errorHandler(t)}}clear(){this.store.clear()}}var Dr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ar extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Kr=Symbol("registerInterval");class Br extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Kr]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Kr]):this.dispatchEvent(new Ar)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Kr,Dr([i.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}function Fr(t){return t.rootNodes.map((t=>Tr(t)))}function Tr(t,o=!1){return{label:t.label,value:t.value,selected:t.selected&&!o,subOptions:t.childNodes.map((o=>Tr(o,t.selected)))}}const Hr=e.css`
|
|
1487
1494
|
`;var Pr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Mr=Symbol("i18nAttributes"),jr=Symbol("i18nProperties"),_r=Symbol("i18nUnsubs");function Gr(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Cr:$r}i18n(t,o,...e){var i;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const r=null!==(i=t.args)&&void 0!==i?i:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...r)}onI18nUpdate(t){var o,e;null===(o=this[Mr])||void 0===o||o.forEach(((o,e)=>{var i;const r=this.getI18nAttributeValue(e);(null===(i=null==r?void 0:r.context)||void 0===i?void 0:i.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(e,r,o)})),null===(e=this[jr])||void 0===e||e.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,o,e){this[t]={...o,message:this.i18n({context:o.context,key:o.key,...e})}}update(t){var o,e;super.update(t),null===(o=this[Mr])||void 0===o||o.forEach(((o,e)=>{const i=this.getI18nAttributeValue(e);(null==i?void 0:i.context)&&i.key&&(t.has(e)||null!=o.argsProvider)&&(t.has(e)&&this.addI18nContext(i.context),this.updateI18nAttributeMessage(e,i,o))})),null===(e=this[jr])||void 0===e||e.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,o,e,i;super.connectedCallback(),new Set([...null!==(o=null===(t=this[jr])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(i=null===(e=this[Mr])||void 0===e?void 0:e.keys())&&void 0!==i?i:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[_r].has(t)||this[_r].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages("string"==typeof t?t:t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[_r].forEach((t=>t())),this[_r].clear()}}return o=_r,Pr([i.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Vr extends(Gr(o.FtLitElement)){}class qr extends(Gr(o.FtLitElementRedux)){}var Yr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Qr extends qr{constructor(){super(),this.editorMode=!1,this.addStore(xr)}render(){return this.key&&this.context?e.html`
|
|
1488
1495
|
<span class="ft-i18n">
|
|
1489
1496
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
1490
1497
|
</span>
|
|
1491
1498
|
`:this.editorMode?"Select a context and a label key.":e.nothing}update(t){var o;super.update(t),["context","key","defaultMessage"].some((o=>t.has(o)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}Qr.elementDefinitions={},Qr.styles=Hr,Yr([o.redux()],Qr.prototype,"editorMode",void 0),Yr([i.property()],Qr.prototype,"context",void 0),Yr([i.property()],Qr.prototype,"key",void 0),Yr([o.jsonProperty([])],Qr.prototype,"args",void 0),Yr([i.property()],Qr.prototype,"defaultMessage",void 0);class Xr{static build(t){return new Xr(t)}static fromGwt(t){return new Xr(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>$r.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(Qr);const Jr=Xr.build("designedSearchFacet"),tn=e.css`
|
|
1492
|
-
`;var on=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class en extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class rn extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class nn extends CustomEvent{constructor(t,o,e){super("ft-search-results-change",{detail:{request:t,paging:o,spellcheck:e}})}}class an extends o.FtLitElementRedux{get stateManager(){if(null==this._stateManager){const t=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=
|
|
1499
|
+
`;var on=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class en extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class rn extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class nn extends CustomEvent{constructor(t,o,e){super("ft-search-results-change",{detail:{request:t,paging:o,spellcheck:e}})}}class an extends o.FtLitElementRedux{get stateManager(){if(null==this._stateManager){const t=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Zr.build(this.id||(""+Math.round(999e3*Math.random())).padStart(6,"0"),t),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(xr)}render(){return e.html`
|
|
1493
1500
|
<slot @register-ft-search-component=${this.registerComponent}></slot>
|
|
1494
1501
|
`}update(t){super.update(t),t.has("query")&&void 0!==this.query&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&void 0!==this.contentLocale&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&void 0!==this.filters&&this.stateManager.setFilters(this.filters),t.has("sort")&&void 0!==this.sort&&this.stateManager.setSort(this.sort),t.has("pageSize")&&void 0!==this.pageSize&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&void 0!==this.searchInDocumentTitlesOnly&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),t.has("scope")&&void 0!==this.scope&&this.stateManager.setScope(this.scope),t.has("ignoreEmptyQuery")&&void 0!==this.ignoreEmptyQuery&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),t.has("openExternalDocumentInNewTab")&&void 0!==this.openExternalDocumentInNewTab&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("request")&&this.request&&this.dispatchEvent(new rn(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new nn(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();const o=t.composedPath()[0];this.register(o)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new en(t))}reloadSavedSearches(){Lr.clearMySearches()}clear(){this.stateManager.clear()}}an.elementDefinitions={},an.styles=tn,on([i.property()],an.prototype,"query",void 0),on([i.property()],an.prototype,"contentLocale",void 0),on([i.property({type:Number})],an.prototype,"pageSize",void 0),on([i.property({type:Boolean})],an.prototype,"searchInDocumentTitlesOnly",void 0),on([i.property()],an.prototype,"scope",void 0),on([i.property({type:Boolean})],an.prototype,"ignoreEmptyQuery",void 0),on([o.redux({store:xr.name})],an.prototype,"openExternalDocumentInNewTab",void 0),on([o.jsonProperty([])],an.prototype,"filters",void 0),on([o.jsonProperty([])],an.prototype,"sort",void 0),on([o.redux({store:"search"})],an.prototype,"request",void 0),on([o.redux({store:"search"})],an.prototype,"paging",void 0),on([o.redux({store:"search",selector:t=>t.spellcheck})],an.prototype,"autocorrect",void 0),on([o.redux({store:xr.name})],an.prototype,"session",void 0),on([i.property({attribute:!1})],an.prototype,"searchServiceProvider",void 0),o.customElement("ft-search-context")(an);var ln=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class sn extends(Gr(Br)){constructor(){super(...arguments),this.facetId="",this.maxValues=7,this.raiseSelectedOptions=!1}setSearchStateManager(t){super.setSearchStateManager(t),this.facetId&&t.addFacet(this.facetId),this.addI18nContext(Jr),this.addStore(xr)}render(){var t;let o=null===(t=this.facets)||void 0===t?void 0:t.find((t=>t.key==this.facetId));return o?e.html`
|
|
1495
1502
|
<ft-filter
|