@fluid-topics/ft-search-saved-searches 1.1.70 → 1.1.72
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-saved-searches.light.js +360 -350
- package/build/ft-search-saved-searches.min.js +550 -488
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(t,o,e,r,i,n,a){const l=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),c={color:l,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",l),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")},s=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),p=s,f=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",s),d=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),h=d,u=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",d),g=e.css`
|
|
1
|
+
"use strict";(()=>{var Ta=Object.create;var gr=Object.defineProperty;var Pa=Object.getOwnPropertyDescriptor;var ka=Object.getOwnPropertyNames;var _a=Object.getPrototypeOf,Ba=Object.prototype.hasOwnProperty;var Qt=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var Ua=(e,o,r,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of ka(o))!Ba.call(e,n)&&n!==r&&gr(e,n,{get:()=>o[n],enumerable:!(i=Pa(o,n))||i.enumerable});return e};var u=(e,o,r)=>(r=e!=null?Ta(_a(e)):{},Ua(o||!e||!e.__esModule?gr(r,"default",{value:e,enumerable:!0}):r,e));var O=Qt((gs,br)=>{br.exports=ftGlobals.wcUtils});var D=Qt((bs,xr)=>{xr.exports=ftGlobals.lit});var pt=Qt((xs,Sr)=>{Sr.exports=ftGlobals.litDecorators});var Ne=Qt((Ss,vr)=>{vr.exports=ftGlobals.litClassMap});var zi=Qt((Od,Mi)=>{Mi.exports=ftGlobals.litUnsafeHTML});var ta=Qt((Sh,Jn)=>{Jn.exports=ftGlobals.litRepeat});var oa=Qt(ea=>{(function(e){var o=function(r){var i={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};function n(d){return d&&DataView.prototype.isPrototypeOf(d)}if(i.arrayBuffer)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(d){return d&&a.indexOf(Object.prototype.toString.call(d))>-1};function p(d){if(typeof d!="string"&&(d=String(d)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(d))throw new TypeError("Invalid character in header field name");return d.toLowerCase()}function f(d){return typeof d!="string"&&(d=String(d)),d}function h(d){var y={next:function(){var E=d.shift();return{done:E===void 0,value:E}}};return i.iterable&&(y[Symbol.iterator]=function(){return y}),y}function b(d){this.map={},d instanceof b?d.forEach(function(y,E){this.append(E,y)},this):Array.isArray(d)?d.forEach(function(y){this.append(y[0],y[1])},this):d&&Object.getOwnPropertyNames(d).forEach(function(y){this.append(y,d[y])},this)}b.prototype.append=function(d,y){d=p(d),y=f(y);var E=this.map[d];this.map[d]=E?E+", "+y:y},b.prototype.delete=function(d){delete this.map[p(d)]},b.prototype.get=function(d){return d=p(d),this.has(d)?this.map[d]:null},b.prototype.has=function(d){return this.map.hasOwnProperty(p(d))},b.prototype.set=function(d,y){this.map[p(d)]=f(y)},b.prototype.forEach=function(d,y){for(var E in this.map)this.map.hasOwnProperty(E)&&d.call(y,this.map[E],E,this)},b.prototype.keys=function(){var d=[];return this.forEach(function(y,E){d.push(E)}),h(d)},b.prototype.values=function(){var d=[];return this.forEach(function(y){d.push(y)}),h(d)},b.prototype.entries=function(){var d=[];return this.forEach(function(y,E){d.push([E,y])}),h(d)},i.iterable&&(b.prototype[Symbol.iterator]=b.prototype.entries);function S(d){if(d.bodyUsed)return Promise.reject(new TypeError("Already read"));d.bodyUsed=!0}function T(d){return new Promise(function(y,E){d.onload=function(){y(d.result)},d.onerror=function(){E(d.error)}})}function w(d){var y=new FileReader,E=T(y);return y.readAsArrayBuffer(d),E}function k(d){var y=new FileReader,E=T(y);return y.readAsText(d),E}function F(d){for(var y=new Uint8Array(d),E=new Array(y.length),Q=0;Q<y.length;Q++)E[Q]=String.fromCharCode(y[Q]);return E.join("")}function H(d){if(d.slice)return d.slice(0);var y=new Uint8Array(d.byteLength);return y.set(new Uint8Array(d)),y.buffer}function W(){return this.bodyUsed=!1,this._initBody=function(d){this._bodyInit=d,d?typeof d=="string"?this._bodyText=d:i.blob&&Blob.prototype.isPrototypeOf(d)?this._bodyBlob=d:i.formData&&FormData.prototype.isPrototypeOf(d)?this._bodyFormData=d:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)?this._bodyText=d.toString():i.arrayBuffer&&i.blob&&n(d)?(this._bodyArrayBuffer=H(d.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(d)||l(d))?this._bodyArrayBuffer=H(d):this._bodyText=d=Object.prototype.toString.call(d):this._bodyText="",this.headers.get("content-type")||(typeof d=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var d=S(this);if(d)return d;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?S(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(w)}),this.text=function(){var d=S(this);if(d)return d;if(this._bodyBlob)return k(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(F(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(X)}),this.json=function(){return this.text().then(JSON.parse)},this}var z=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function et(d){var y=d.toUpperCase();return z.indexOf(y)>-1?y:d}function at(d,y){y=y||{};var E=y.body;if(d instanceof at){if(d.bodyUsed)throw new TypeError("Already read");this.url=d.url,this.credentials=d.credentials,y.headers||(this.headers=new b(d.headers)),this.method=d.method,this.mode=d.mode,this.signal=d.signal,!E&&d._bodyInit!=null&&(E=d._bodyInit,d.bodyUsed=!0)}else this.url=String(d);if(this.credentials=y.credentials||this.credentials||"same-origin",(y.headers||!this.headers)&&(this.headers=new b(y.headers)),this.method=et(y.method||this.method||"GET"),this.mode=y.mode||this.mode||null,this.signal=y.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&E)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(E)}at.prototype.clone=function(){return new at(this,{body:this._bodyInit})};function X(d){var y=new FormData;return d.trim().split("&").forEach(function(E){if(E){var Q=E.split("="),ot=Q.shift().replace(/\+/g," "),B=Q.join("=").replace(/\+/g," ");y.append(decodeURIComponent(ot),decodeURIComponent(B))}}),y}function Xe(d){var y=new b,E=d.replace(/\r?\n[\t ]+/g," ");return E.split(/\r?\n/).forEach(function(Q){var ot=Q.split(":"),B=ot.shift().trim();if(B){var Qe=ot.join(":").trim();y.append(B,Qe)}}),y}W.call(at.prototype);function St(d,y){y||(y={}),this.type="default",this.status=y.status===void 0?200:y.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in y?y.statusText:"OK",this.headers=new b(y.headers),this.url=y.url||"",this._initBody(d)}W.call(St.prototype),St.prototype.clone=function(){return new St(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new b(this.headers),url:this.url})},St.error=function(){var d=new St(null,{status:0,statusText:""});return d.type="error",d};var mr=[301,302,303,307,308];St.redirect=function(d,y){if(mr.indexOf(y)===-1)throw new RangeError("Invalid status code");return new St(null,{status:y,headers:{location:d}})},r.DOMException=e.DOMException;try{new r.DOMException}catch{r.DOMException=function(y,E){this.message=y,this.name=E;var Q=Error(y);this.stack=Q.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function ce(d,y){return new Promise(function(E,Q){var ot=new at(d,y);if(ot.signal&&ot.signal.aborted)return Q(new r.DOMException("Aborted","AbortError"));var B=new XMLHttpRequest;function Qe(){B.abort()}B.onload=function(){var we={status:B.status,statusText:B.statusText,headers:Xe(B.getAllResponseHeaders()||"")};we.url="responseURL"in B?B.responseURL:we.headers.get("X-Request-URL");var Po="response"in B?B.response:B.responseText;E(new St(Po,we))},B.onerror=function(){Q(new TypeError("Network request failed"))},B.ontimeout=function(){Q(new TypeError("Network request failed"))},B.onabort=function(){Q(new r.DOMException("Aborted","AbortError"))},B.open(ot.method,ot.url,!0),ot.credentials==="include"?B.withCredentials=!0:ot.credentials==="omit"&&(B.withCredentials=!1),"responseType"in B&&i.blob&&(B.responseType="blob"),ot.headers.forEach(function(we,Po){B.setRequestHeader(Po,we)}),ot.signal&&(ot.signal.addEventListener("abort",Qe),B.onreadystatechange=function(){B.readyState===4&&ot.signal.removeEventListener("abort",Qe)}),B.send(typeof ot._bodyInit>"u"?null:ot._bodyInit)})}return ce.polyfill=!0,e.fetch||(e.fetch=ce,e.Headers=b,e.Request=at,e.Response=St),r.Headers=b,r.Request=at,r.Response=St,r.fetch=ce,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:ea)});var Ia=u(O());var V=u(D()),Ye=u(pt()),ct=u(O());var zn=u(D()),C=u(O());var Hi=u(O());var _e=u(D()),Be=u(pt()),Wi=u(O());var Tr=u(O());var Lr=u(D()),rt=u(pt()),Ir=u(Ne()),Le=u(O());var wr=u(D()),Z=u(O()),Cr=Z.FtCssVariableFactory.extend("--ft-ripple-color","",Z.designSystemVariables.colorContent),A={color:Cr,backgroundColor:Z.FtCssVariableFactory.extend("--ft-ripple-background-color","",Cr),opacityContentOnSurfacePressed:Z.FtCssVariableFactory.external(Z.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Z.FtCssVariableFactory.external(Z.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Z.FtCssVariableFactory.external(Z.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Z.FtCssVariableFactory.external(Z.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Z.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Or=Z.FtCssVariableFactory.extend("--ft-ripple-color","",Z.designSystemVariables.colorPrimary),Er={color:Or,backgroundColor:Z.FtCssVariableFactory.extend("--ft-ripple-background-color","",Or)},Ar=Z.FtCssVariableFactory.extend("--ft-ripple-color","",Z.designSystemVariables.colorSecondary),Rr={color:Ar,backgroundColor:Z.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ar)},Nr=wr.css`
|
|
2
2
|
:host {
|
|
3
3
|
display: contents;
|
|
4
4
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
13
13
|
overflow: hidden;
|
|
14
|
-
border-radius: ${
|
|
14
|
+
border-radius: ${A.borderRadius};
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.ft-ripple .ft-ripple--background,
|
|
@@ -45,27 +45,27 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.ft-ripple .ft-ripple--background {
|
|
48
|
-
background-color: ${
|
|
48
|
+
background-color: ${A.backgroundColor};
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.ft-ripple .ft-ripple--effect {
|
|
52
|
-
background-color: ${
|
|
52
|
+
background-color: ${A.color};
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
56
|
-
background-color: ${
|
|
56
|
+
background-color: ${Rr.backgroundColor};
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
60
|
-
background-color: ${
|
|
60
|
+
background-color: ${Rr.color};
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
64
|
-
background-color: ${
|
|
64
|
+
background-color: ${Er.backgroundColor};
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
68
|
-
background-color: ${
|
|
68
|
+
background-color: ${Er.color};
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.ft-ripple .ft-ripple--background {
|
|
@@ -95,171 +95,163 @@
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
98
|
-
opacity: ${
|
|
98
|
+
opacity: ${A.opacityContentOnSurfaceHover};
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
102
|
-
opacity: ${
|
|
102
|
+
opacity: ${A.opacityContentOnSurfaceSelected};
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
106
|
-
opacity: ${
|
|
106
|
+
opacity: ${A.opacityContentOnSurfaceFocused};
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
110
|
-
opacity: ${
|
|
110
|
+
opacity: ${A.opacityContentOnSurfacePressed};
|
|
111
111
|
transform: translate(-50%, -50%) scale(1);
|
|
112
112
|
}
|
|
113
|
-
`;var
|
|
113
|
+
`;var ht=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(a=(n<3?l(a):n>3?l(o,r,a):l(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},U=class extends Le.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new Le.Debouncer(1e3),this.onTransitionStart=o=>{o.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=o=>{o.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Le.Debouncer(10),this.moveRipple=o=>{var r,i;let{x:n,y:a}=this.getCoordinates(o),l=(i=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-l.x:l.width/2),this.originY=Math.round(a!=null?a-l.y:l.height/2)},this.startPress=o=>{this.moveRipple(o),this.pressed=!this.isIgnored(o)},this.endPress=()=>{this.pressed=!1},this.startHover=o=>{this.hovered=!this.isIgnored(o)},this.endHover=()=>{this.hovered=!1},this.startFocus=o=>{this.focused=this.isFocusVisible(o?.target)&&!this.isIgnored(o)},this.endFocus=()=>{this.focused=!1}}render(){let o={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Lr.html`
|
|
114
114
|
<style>
|
|
115
115
|
.ft-ripple .ft-ripple--effect {
|
|
116
116
|
left: ${this.originX}px;
|
|
117
117
|
top: ${this.originY}px;
|
|
118
118
|
}
|
|
119
119
|
</style>
|
|
120
|
-
<div class="${
|
|
120
|
+
<div class="${(0,Ir.classMap)(o)}">
|
|
121
121
|
<div class="ft-ripple--background"></div>
|
|
122
122
|
<div class="ft-ripple--effect"></div>
|
|
123
123
|
</div>
|
|
124
|
-
`}contentAvailableCallback(
|
|
125
|
-
|
|
126
|
-
* @license
|
|
127
|
-
* Copyright 2017 Google LLC
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$litStatic$:t,r:tt}),rt=new Map,it=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],l=[];let c,s=0,p=!1;for(;s<r;){for(c=o[s];s<r&&void 0!==(n=e[s],i=ot(n));)c+=i+o[++s],p=!0;s!==r&&l.push(n),a.push(c),s++}if(s===r&&a.push(o[r]),p){const t=a.join("$$lit$$");void 0===(o=rt.get(t))&&(a.raw=a,rt.set(t,o=a)),e=l}return t(o,...e)})(A);var nt;!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"}(nt||(nt={}));const at=t=>"string"==typeof t?e.unsafeCSS(t):t;class lt{static create(t,o,r,i){const n=t=>at(null!=t?t:i),a=e.css`var(${at(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${at(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(t,o,r,i){const n=t=>r.get(null!=t?t:i),a=e.css`var(${at(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r.category,a.fallbackVariable=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${at(t)}, ${n(o)})`,a.breadcrumb=()=>[r.name,...r.breadcrumb()],a.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),a}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):at(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${at(t.name)}, ${r(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=r,i.get=o=>e.css`var(${at(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const ct={colorWhite:lt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:lt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:lt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:lt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:lt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:lt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:lt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:lt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:lt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:lt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:lt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:lt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:lt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:lt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:lt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:lt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:lt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:lt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:lt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:lt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:lt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:lt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:lt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:lt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:lt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:lt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:lt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:lt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:lt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:lt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:lt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:lt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:lt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:lt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:lt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:lt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:lt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:lt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:lt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:lt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:lt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:lt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:lt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:lt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:lt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:lt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:lt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:lt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:lt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:lt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:lt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:lt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:lt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:lt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:lt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:lt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:lt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:lt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:lt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:lt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:lt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:lt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:lt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:lt.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:lt.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:lt.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:lt.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:lt.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:lt.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:lt.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:lt.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:lt.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:lt.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:lt.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:lt.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:lt.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:lt.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:lt.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:lt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:lt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:lt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:lt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:lt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:lt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:lt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:lt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:lt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:lt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:lt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:lt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:lt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:lt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:lt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:lt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:lt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:lt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:lt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:lt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:lt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:lt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:lt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:lt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:lt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:lt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:lt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:lt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:lt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:lt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:lt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:lt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:lt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:lt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:lt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:lt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:lt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:lt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:lt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:lt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:lt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:lt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:lt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:lt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:lt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:lt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:lt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:lt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:lt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:lt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:lt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:lt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:lt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:lt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:lt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:lt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:lt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:lt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:lt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:lt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:lt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:lt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:lt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:lt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:lt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:lt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:lt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:lt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:lt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:lt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:lt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:lt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:lt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:lt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:lt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:lt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:lt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:lt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:lt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:lt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:lt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:lt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:lt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:lt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:lt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:lt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:lt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:lt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:lt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:lt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:lt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:lt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:lt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:lt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:lt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:lt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:lt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:lt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:lt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:lt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:lt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:lt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:lt.create("--ft-opacity-0","","NUMBER","0"),opacity8:lt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:lt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:lt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:lt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:lt.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:lt.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:lt.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:lt.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:lt.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:lt.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:lt.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:lt.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:lt.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:lt.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)")},st={display:{fontFamily:lt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:lt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:lt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:lt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:lt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:lt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:lt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:lt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:lt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:lt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:lt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:lt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:lt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:lt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:lt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:lt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:lt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:lt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:lt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:lt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:lt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:lt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-medium-underline":{fontFamily:lt.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:lt.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:lt.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},"body-2-semibold":{fontFamily:lt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:lt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:lt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:lt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:lt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:lt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:lt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:lt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:lt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:lt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:lt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:lt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:lt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:lt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:lt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:lt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:lt.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:lt.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:lt.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:lt.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:lt.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:lt.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},pt={backgroundActionPrimary:lt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ct.colorBrand0),backgroundErrorSubtle:lt.extend("--ft-background-error-subtle","Used as background of subtle error components.",ct.colorRed10),backgroundInfoSubtle:lt.extend("--ft-background-info-subtle","Used as background of subtle information components.",ct.colorCyan10),backgroundWarningSubtle:lt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ct.colorOrange10),backgroundSuccessSubtle:lt.extend("--ft-background-success-subtle","Used as background of subtle success components.",ct.colorGreen10),backgroundGlobalSurface:lt.extend("--ft-background-global-surface","Used as app background.",ct.colorWhite),backgroundGlobalOnSurface:lt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ct.colorGray10),backgroundGlobalOnSurfaceDark:lt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ct.colorGray30),contentActionPrimary:lt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ct.colorBrand0),contentWarningPrimary:lt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ct.colorOrange200),contentWarningIconOnly:lt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ct.colorOrange0),contentErrorPrimary:lt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ct.colorRed0),contentErrorIconOnly:lt.extend("--ft-content-error-icon-only","Used on error status icons alone",ct.colorRed70),contentInfoPrimary:lt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ct.colorCyan200),contentInfoIconOnly:lt.extend("--ft-content-info-icon-only","Used on info status icons alone",ct.colorCyan0),contentSuccessPrimary:lt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ct.colorGreen200),contentSuccessIconOnly:lt.extend("--ft-content-success-icon-only","Used on success status icons alone",ct.colorGreen0),contentGlobalPrimary:lt.extend("--ft-content-global-primary","Used for main content on the page.",ct.colorGray500),contentGlobalSecondary:lt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ct.colorGray200),contentGlobalSubtle:lt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ct.colorGray0),contentGlobalOnColor:lt.extend("--ft-content-global-on-color","Used for content on a dominant color.",ct.colorWhite),borderActionPrimary:lt.extend("--ft-border-action-primary","Used as border for primary action components.",ct.colorBrand0),borderActionFocusRing:lt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ct.colorCyan0),borderWarningPrimary:lt.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",ct.colorOrange200),borderWarningSubtle:lt.extend("--ft-border-warning-subtle","Used as border for warning components.",ct.colorOrange30),borderSuccessPrimary:lt.extend("--ft-border-success-primary","Used as border for success buttons.",ct.colorGreen200),borderSuccessSubtle:lt.extend("--ft-border-success-subtle","Used as border for success components.",ct.colorGreen30),borderErrorPrimary:lt.extend("--ft-border-error-primary","Used as border for text fields in error states.",ct.colorRed0),borderErrorSubtle:lt.extend("--ft-border-error-subtle","Used as border for error components.",ct.colorRed30),borderInfoPrimary:lt.extend("--ft-border-info-primary","Used as border for buttons in info color.",ct.colorCyan200),borderInfoSubtle:lt.extend("--ft-border-info-subtle","Used as border for information components.",ct.colorCyan30),borderGlobalPrimary:lt.extend("--ft-border-global-primary","Used as border for element like input.",ct.colorGray50),borderGlobalSubtle:lt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ct.colorGray30),borderInputPrimary:lt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ct.colorGray80)},ft={largeHeight:lt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:lt.extend("--ft-button-large-horizontal-padding","",ct.spacing4),largeGap:lt.extend("--ft-button-large-gap","",ct.spacing2),largeBorderRadius:lt.extend("--ft-button-large-border-radius","",ct.borderRadiusS),largeIconSize:lt.extend("--ft-button-large-icon-size","",ct.iconSize3),largeBorderWidth:lt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:lt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:lt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:lt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:lt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:lt.extend("--ft-button-small-horizontal-padding","",ct.spacing3),smallGap:lt.extend("--ft-button-small-gap","",ct.spacing2),smallBorderRadius:lt.extend("--ft-button-small-border-radius","",ct.borderRadiusS),smallIconSize:lt.extend("--ft-button-small-icon-size","",ct.iconSize2),smallBorderWidth:lt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:lt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:lt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:lt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:lt.extend("--ft-button-primary-background-color","",pt.backgroundActionPrimary),primaryColor:lt.extend("--ft-button-primary-color","",pt.contentGlobalOnColor),primaryIconColor:lt.extend("--ft-button-primary-icon-color","",pt.contentGlobalOnColor),primaryStateLayerColor:lt.extend("--ft-button-primary-state-layer-color","",pt.contentGlobalOnColor),primaryHoverStateLayerOpacity:lt.extend("--ft-button-primary-hover-state-layer-opacity","",ct.opacity16),primaryFocusStateLayerOpacity:lt.extend("--ft-button-primary-focus-state-layer-opacity","",ct.opacity16),primaryActiveStateLayerOpacity:lt.extend("--ft-button-primary-active-state-layer-opacity","",ct.opacity24),primaryDisabledComponentOpacity:lt.extend("--ft-button-primary-disabled-component-opacity","",ct.opacity40),focusFocusRingColor:lt.extend("--ft-button-focus-focus-ring-color","",pt.borderActionFocusRing),tertiaryBackgroundColor:lt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:lt.extend("--ft-button-tertiary-color","",pt.contentActionPrimary),tertiaryIconColor:lt.extend("--ft-button-tertiary-icon-color","",pt.contentActionPrimary),tertiaryStateLayerColor:lt.extend("--ft-button-tertiary-state-layer-color","",pt.contentActionPrimary),tertiaryHoverStateLayerOpacity:lt.extend("--ft-button-tertiary-hover-state-layer-opacity","",ct.opacity8),tertiaryFocusStateLayerOpacity:lt.extend("--ft-button-tertiary-focus-state-layer-opacity","",ct.opacity8),tertiaryActiveStateLayerOpacity:lt.extend("--ft-button-tertiary-active-state-layer-opacity","",ct.opacity16),tertiaryDisabledComponentOpacity:lt.extend("--ft-button-tertiary-disabled-component-opacity","",ct.opacity40),secondaryBackgroundColor:lt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:lt.extend("--ft-button-secondary-color","",pt.contentActionPrimary),secondaryIconColor:lt.extend("--ft-button-secondary-icon-color","",pt.contentActionPrimary),secondaryStateLayerColor:lt.extend("--ft-button-secondary-state-layer-color","",pt.contentActionPrimary),secondaryHoverStateLayerOpacity:lt.extend("--ft-button-secondary-hover-state-layer-opacity","",ct.opacity8),secondaryFocusStateLayerOpacity:lt.extend("--ft-button-secondary-focus-state-layer-opacity","",ct.opacity8),secondaryActiveStateLayerOpacity:lt.extend("--ft-button-secondary-active-state-layer-opacity","",ct.opacity16),secondaryDisabledComponentOpacity:lt.extend("--ft-button-secondary-disabled-component-opacity","",ct.opacity40),secondaryBorderColor:lt.extend("--ft-button-secondary-border-color","",pt.borderActionPrimary),neutralBackgroundColor:lt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:lt.extend("--ft-button-neutral-icon-color","",pt.contentGlobalSecondary),neutralColor:lt.extend("--ft-button-neutral-color","",pt.contentGlobalSecondary),neutralStateLayerColor:lt.extend("--ft-button-neutral-state-layer-color","",pt.contentGlobalSecondary),neutralHoverStateLayerOpacity:lt.extend("--ft-button-neutral-hover-state-layer-opacity","",ct.opacity8),neutralFocusStateLayerOpacity:lt.extend("--ft-button-neutral-focus-state-layer-opacity","",ct.opacity8),neutralActiveStateLayerOpacity:lt.extend("--ft-button-neutral-active-state-layer-opacity","",ct.opacity16),neutralDisabledComponentOpacity:lt.extend("--ft-button-neutral-disabled-component-opacity","",ct.opacity40)};lt.extend("--ft-banner-icon-size","",ct.iconSize5),lt.create("--ft-banner-border-width","","SIZE","1px"),lt.extend("--ft-banner-horizontal-padding","",ct.spacing6),lt.extend("--ft-banner-vertical-padding","",ct.spacing6),lt.extend("--ft-banner-horizontal-side-gap","",ct.spacing6),lt.extend("--ft-banner-horizontal-mobile-gap","",ct.spacing4),lt.extend("--ft-banner-vertical-mobile-gap","",ct.spacing6),lt.extend("--ft-banner-horizontal-middle-gap","",ct.spacing20),lt.extend("--ft-banner-info-background-color","",pt.backgroundInfoSubtle),lt.extend("--ft-banner-info-color","",pt.contentInfoPrimary),lt.extend("--ft-banner-info-icon-color","",pt.contentInfoIconOnly),lt.extend("--ft-breadcrumb-horizontal-gap","",ct.spacing1),lt.extend("--ft-breadcrumb-vertical-gap","",ct.spacing2),lt.extend("--ft-breadcrumb-current-element-color","",pt.contentGlobalPrimary),lt.extend("--ft-breadcrumb-icon-color","",pt.contentGlobalSubtle),lt.extend("--ft-page-header-horizontal-padding","",ct.spacing12),lt.extend("--ft-page-header-horizontal-gap","",ct.spacing4),lt.extend("--ft-page-header-vertical-gap","",ct.spacing2),lt.extend("--ft-page-header-classic-vertical-padding","",ct.spacing6),lt.extend("--ft-page-header-multiline-vertical-padding","",ct.spacing4),lt.extend("--ft-page-header-inline-vertical-padding","",ct.spacing2),lt.extend("--ft-page-header-background-color","",ct.colorWhite),lt.extend("--ft-page-header-bottom-border-color","",pt.borderGlobalSubtle),lt.extend("--ft-page-header-title-color","",pt.contentGlobalPrimary),lt.extend("--ft-page-header-subtitle-color","",pt.contentGlobalSecondary),lt.create("--ft-modal-small-container-width","","SIZE","600px"),lt.create("--ft-modal-large-container-width","","SIZE","900px"),lt.extend("--ft-modal-overlay-background-color","",ct.colorGray700),lt.extend("--ft-modal-overlay-opacity","",ct.opacity40),lt.extend("--ft-modal-shadow","",ct.shadowElevation03),lt.extend("--ft-modal-body-background-color","",ct.colorWhite),lt.extend("--ft-modal-body-color","",pt.contentGlobalPrimary),lt.extend("--ft-modal-body-horizontal-padding","",ct.spacing6),lt.extend("--ft-modal-body-vertical-padding","",ct.spacing6),lt.extend("--ft-modal-body-vertical-gap","",ct.spacing6),lt.extend("--ft-modal-container-margin","",ct.spacing3),lt.extend("--ft-modal-header-background-color","",pt.backgroundGlobalOnSurface),lt.extend("--ft-modal-header-border-color","",pt.borderGlobalSubtle),lt.extend("--ft-modal-header-color","",pt.contentGlobalPrimary),lt.extend("--ft-modal-header-trailing-icon-color","",pt.contentGlobalSecondary),lt.extend("--ft-modal-header-vertical-padding","",ct.spacing1),lt.extend("--ft-modal-header-right-padding","",ct.spacing1),lt.extend("--ft-modal-header-left-padding","",ct.spacing6),lt.extend("--ft-modal-header-gap","",ct.spacing2),lt.create("--ft-modal-header-border-bottom","","SIZE","1px"),lt.extend("--ft-modal-border-radius","",ct.borderRadiusM),lt.extend("--ft-drawer-overlay-opacity","",ct.opacity40),lt.extend("--ft-drawer-shadow","",ct.shadowElevation03),lt.extend("--ft-drawer-body-color","",pt.contentGlobalPrimary),lt.extend("--ft-drawer-body-horizontal-padding","",ct.spacing6),lt.extend("--ft-drawer-body-vertical-padding","",ct.spacing6),lt.extend("--ft-drawer-body-gap","",ct.spacing6),lt.extend("--ft-drawer-body-background-color","",ct.colorWhite),lt.extend("--ft-drawer-header-background-color","",pt.backgroundGlobalOnSurface),lt.extend("--ft-drawer-header-border-color","",pt.borderGlobalSubtle),lt.extend("--ft-drawer-header-color","",pt.contentGlobalPrimary),lt.extend("--ft-drawer-header-trailing-icon-color","",pt.contentGlobalSecondary),lt.create("--ft-drawer-header-height","","SIZE","50px"),lt.extend("--ft-drawer-header-horizontal-padding","",ct.spacing2),lt.create("--ft-drawer-header-border-width","","SIZE","1px"),lt.extend("--ft-drawer-header-gap","",ct.spacing3),lt.extend("--ft-drawer-buttons-bar-background-color","",pt.backgroundGlobalOnSurface),lt.extend("--ft-drawer-buttons-bar-border-color","",pt.borderGlobalSubtle),lt.extend("--ft-drawer-buttons-bar-color","",pt.contentGlobalPrimary),lt.extend("--ft-drawer-buttons-bar-horizontal-padding","",ct.spacing4),lt.extend("--ft-drawer-buttons-bar-vertical-padding","",ct.spacing4),lt.extend("--ft-drawer-buttons-bar-gap","",ct.spacing3),lt.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),lt.create("--ft-drawer-container-width","","SIZE","66%"),lt.create("--ft-drawer-container-min-width","","SIZE","500px"),lt.create("--ft-drawer-container-max-width","","SIZE","1000px"),lt.create("--ft-drawer-container-height","","SIZE","100%"),lt.extend("--ft-drawer-overlay-background-color","",ct.colorGray700),lt.extend("--ft-text-input-field-horizontal-padding","",ct.spacing4),lt.extend("--ft-text-input-field-horizontal-gap","",ct.spacing3),lt.extend("--ft-text-input-field-vertical-gap","",ct.spacing05),lt.extend("--ft-text-input-field-icon-size","",ct.iconSize3),lt.create("--ft-text-input-field-height","","SIZE","50px"),lt.extend("--ft-text-input-helper-horizontal-padding","",ct.spacing4),lt.extend("--ft-text-input-helper-horizontal-gap","",ct.spacing1),lt.extend("--ft-text-input-helper-icon-size","",ct.iconSize2),lt.extend("--ft-text-input-border-radius","",ct.borderRadiusM),lt.extend("--ft-text-input-background-color","",ct.colorWhite),lt.extend("--ft-text-input-content-value-color","",pt.contentGlobalPrimary),lt.extend("--ft-text-input-trailing-icon-color","",pt.contentGlobalSubtle),lt.extend("--ft-text-input-label-color","",pt.contentGlobalSubtle),lt.extend("--ft-text-input-default-border-color","",pt.borderInputPrimary),lt.extend("--ft-text-input-default-helper-text-color","",pt.contentGlobalSubtle),lt.create("--ft-text-input-default-border-width","","SIZE","1px"),lt.create("--ft-text-input-error-border-width","","SIZE","2px"),lt.extend("--ft-text-input-error-border-color","",pt.borderErrorPrimary),lt.extend("--ft-text-input-error-helper-text-color","",pt.contentErrorPrimary),lt.extend("--ft-text-input-error-helper-icon-color","",pt.contentErrorIconOnly),lt.create("--ft-text-input-warning-border-width","","SIZE","2px"),lt.create("--ft-text-input-focus-outline-width","","SIZE","2px"),lt.extend("--ft-text-input-focus-focus-ring-color","",pt.borderActionFocusRing),lt.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),lt.extend("--ft-text-input-disabled-component-opacity","",ct.opacity40),lt.extend("--ft-text-area-background-color","",ct.colorWhite),lt.extend("--ft-text-area-content-value-color","",pt.contentGlobalPrimary),lt.extend("--ft-text-area-label-color","",pt.contentGlobalSubtle),lt.extend("--ft-text-area-default-border-color","",pt.borderInputPrimary),lt.extend("--ft-text-area-default-helper-text-color","",pt.contentGlobalSubtle),lt.create("--ft-text-area-default-border-width","","SIZE","1px"),lt.create("--ft-text-area-error-border-width","","SIZE","2px"),lt.extend("--ft-text-area-error-border-color","",pt.borderErrorPrimary),lt.extend("--ft-text-area-error-helper-text-color","",pt.contentErrorPrimary),lt.extend("--ft-text-area-error-helper-icon-color","",pt.contentErrorIconOnly),lt.extend("--ft-text-area-focus-focus-ring-color","",pt.borderActionFocusRing),lt.create("--ft-text-area-focus-outline-width","","SIZE","2px"),lt.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),lt.extend("--ft-text-area-disabled-component-opacity","",ct.opacity40),lt.extend("--ft-text-area-field-horizontal-left-padding","",ct.spacing4),lt.extend("--ft-text-area-field-horizontal-gap","",ct.spacing3),lt.extend("--ft-text-area-field-vertical-gap","",ct.spacing05),lt.create("--ft-text-area-field-min-height","","SIZE","64px"),lt.extend("--ft-text-area-helper-horizontal-padding","",ct.spacing4),lt.extend("--ft-text-area-helper-horizontal-gap","",ct.spacing1),lt.extend("--ft-text-area-helper-icon-size","",ct.iconSize2),lt.extend("--ft-text-area-border-radius","",ct.borderRadiusM),lt.create("--ft-floating-menu-height","","SIZE","50px"),lt.extend("--ft-floating-menu-horizontal-padding","",ct.spacing4),lt.extend("--ft-floating-menu-off-icon-color","",pt.contentGlobalPrimary),lt.extend("--ft-floating-menu-off-color","",pt.contentGlobalPrimary),lt.extend("--ft-floating-menu-on-color","",pt.contentActionPrimary),lt.extend("--ft-floating-menu-on-state-layer-color","",pt.contentActionPrimary),lt.extend("--ft-floating-menu-gap","",ct.spacing3),lt.extend("--ft-floating-menu-focus-focus-ring-color","",pt.borderActionFocusRing),lt.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),lt.extend("--ft-floating-menu-focus-state-layer-opacity","",ct.opacity8),lt.extend("--ft-floating-menu-hover-state-layer-opacity","",ct.opacity8),lt.extend("--ft-floating-menu-active-state-layer-opacity","",ct.opacity16),lt.extend("--ft-floating-menu-disabled-component-opacity","",ct.opacity40),lt.extend("--ft-floating-menu-icon-size","",ct.iconSize3),lt.extend("--ft-floating-menu-background-color","",pt.backgroundGlobalOnSurface),lt.extend("--ft-combobox-single-select-field-horizontal-padding","",ct.spacing4),lt.extend("--ft-combobox-single-select-field-horizontal-gap","",ct.spacing3),lt.extend("--ft-combobox-single-select-field-vertical-gap","",ct.spacing05),lt.extend("--ft-combobox-single-select-field-icon-size","",ct.iconSize3),lt.create("--ft-combobox-single-select-field-height","","SIZE","50px"),lt.extend("--ft-combobox-single-select-helper-horizontal-padding","",ct.spacing4),lt.extend("--ft-combobox-single-select-helper-horizontal-gap","",ct.spacing1),lt.extend("--ft-combobox-single-select-helper-vertical-gap","",ct.spacing1),lt.extend("--ft-combobox-single-select-helper-icon-size","",ct.iconSize2),lt.extend("--ft-combobox-single-select-menu-vertical-gap","",ct.spacing2),lt.extend("--ft-combobox-single-select-border-radius","",ct.borderRadiusM),lt.extend("--ft-combobox-single-select-background-color","",ct.colorWhite),lt.extend("--ft-combobox-single-select-label-color","",pt.contentGlobalSubtle),lt.extend("--ft-combobox-single-select-content-value-color","",pt.contentGlobalPrimary),lt.extend("--ft-combobox-single-select-trailing-icon-color","",pt.contentGlobalSubtle),lt.extend("--ft-combobox-single-select-default-border-color","",pt.borderInputPrimary),lt.extend("--ft-combobox-single-select-default-helper-text-color","",pt.contentGlobalSubtle),lt.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),lt.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),lt.extend("--ft-combobox-single-select-error-border-color","",pt.borderErrorPrimary),lt.extend("--ft-combobox-single-select-error-helper-text-color","",pt.contentErrorPrimary),lt.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),lt.extend("--ft-combobox-single-select-warning-border-color","",pt.borderWarningPrimary),lt.extend("--ft-combobox-single-select-warning-helper-text-color","",pt.contentWarningPrimary),lt.extend("--ft-combobox-single-select-warning-helper-icon-color","",pt.contentWarningIconOnly),lt.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),lt.extend("--ft-combobox-single-select-focus-focus-ring-color","",pt.borderActionFocusRing),lt.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),lt.extend("--ft-combobox-single-select-disabled-component-opacity","",ct.opacity40),lt.extend("--ft-combobox-multi-select-background-color","",ct.colorWhite),lt.extend("--ft-combobox-multi-select-label-color","",pt.contentGlobalSubtle),lt.extend("--ft-combobox-multi-select-trailing-icon-color","",pt.contentGlobalSubtle),lt.extend("--ft-combobox-multi-select-default-border-color","",pt.borderInputPrimary),lt.extend("--ft-combobox-multi-select-default-helper-text-color","",pt.contentGlobalSubtle),lt.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),lt.extend("--ft-combobox-multi-select-error-border-color","",pt.borderErrorPrimary),lt.extend("--ft-combobox-multi-select-error-helper-text-color","",pt.contentErrorPrimary),lt.extend("--ft-combobox-multi-select-error-helper-icon","",pt.contentErrorIconOnly),lt.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),lt.extend("--ft-combobox-multi-select-warning-border-color","",pt.borderWarningPrimary),lt.extend("--ft-combobox-multi-select-warning-helper-text-color","",pt.contentWarningPrimary),lt.extend("--ft-combobox-multi-select-warning-helper-icon-color","",pt.contentWarningIconOnly),lt.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),lt.extend("--ft-combobox-multi-select-focus-focus-ring-color","",pt.borderActionFocusRing),lt.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),lt.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),lt.extend("--ft-combobox-multi-select-disabled-component-opacity","",ct.opacity40),lt.extend("--ft-combobox-multi-select-helper-horizontal-padding","",ct.spacing4),lt.extend("--ft-combobox-multi-select-helper-horizontal-gap","",ct.spacing1),lt.extend("--ft-combobox-multi-select-helper-vertical-gap","",ct.spacing1),lt.extend("--ft-combobox-multi-select-helper-icon-size","",ct.iconSize2),lt.extend("--ft-combobox-multi-select-field-horizontal-padding","",ct.spacing4),lt.extend("--ft-combobox-multi-select-field-horizontal-gap","",ct.spacing3),lt.extend("--ft-combobox-multi-select-field-vertical-gap","",ct.spacing05),lt.extend("--ft-combobox-multi-select-field-icon-size","",ct.iconSize3),lt.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),lt.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",ct.spacing1),lt.extend("--ft-combobox-multi-select-content-values-vertical-gap","",ct.spacing1),lt.extend("--ft-combobox-multi-select-border-radius","",ct.borderRadiusM),lt.extend("--ft-popover-background-color","",pt.backgroundGlobalOnSurface),lt.extend("--ft-popover-horizontal-padding","",ct.spacing6),lt.extend("--ft-popover-vertical-padding","",ct.spacing6),lt.extend("--ft-popover-icon-color","",pt.contentGlobalSecondary),lt.extend("--ft-popover-icon-size","",ct.iconSize2),lt.extend("--ft-popover-title-color","",pt.contentGlobalPrimary),lt.extend("--ft-popover-body-color","",pt.contentGlobalSecondary),lt.extend("--ft-popover-link-color","",pt.contentActionPrimary),lt.extend("--ft-popover-gap","",ct.spacing3),lt.extend("--ft-popover-border-radius","",ct.borderRadiusM),lt.extend("--ft-popover-shadow","",ct.shadowElevation02),lt.extend("--ft-tabs-top-left-border-radius","",ct.borderRadiusS),lt.extend("--ft-tabs-top-right-border-radius","",ct.borderRadiusS),lt.extend("--ft-tabs-label-horizontal-padding","",ct.spacing4),lt.extend("--ft-tabs-label-vertical-padding","",ct.spacing3),lt.extend("--ft-tabs-label-gap","",ct.spacing1),lt.extend("--ft-tabs-off-hover-state-layer-opacity","",ct.opacity8),lt.extend("--ft-tabs-off-focus-state-layer-opacity","",ct.opacity8),lt.extend("--ft-tabs-off-active-state-layer-opacity","",ct.opacity16),lt.extend("--ft-tabs-off-disabled-component-opacity","",ct.opacity40),lt.extend("--ft-tabs-off-color","",pt.contentGlobalSubtle),lt.extend("--ft-tabs-off-state-layer-color","",pt.contentGlobalSubtle),lt.extend("--ft-tabs-on-hover-state-layer-opacity","",ct.opacity8),lt.extend("--ft-tabs-on-focus-state-layer-opacity","",ct.opacity8),lt.extend("--ft-tabs-on-active-state-layer-opacity","",ct.opacity16),lt.extend("--ft-tabs-on-disabled-component-opacity","",ct.opacity40),lt.extend("--ft-tabs-on-color","",pt.contentActionPrimary),lt.extend("--ft-tabs-on-state-layer-color","",pt.contentActionPrimary),lt.extend("--ft-tabs-icon-horizontal-padding","",ct.spacing1),lt.extend("--ft-tabs-icon-vertical-padding","",ct.spacing4),lt.create("--ft-tabs-focus-outline-width","","SIZE","2px"),lt.extend("--ft-tabs-focus-focus-ring-color","",pt.borderActionFocusRing),lt.extend("--ft-collapsible-hover-state-layer-opacity","",ct.opacity8),lt.extend("--ft-collapsible-focus-state-layer-opacity","",ct.opacity8),lt.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),lt.extend("--ft-collapsible-focus-focus-ring-color","",pt.borderActionFocusRing),lt.extend("--ft-collapsible-active-state-layer-opacity","",ct.opacity16),lt.extend("--ft-collapsible-disabled-component-opacity","",ct.opacity40),lt.extend("--ft-collapsible-horizontal-padding","",ct.spacing4),lt.extend("--ft-collapsible-vertical-padding","",ct.spacing3),lt.extend("--ft-collapsible-color","",pt.contentGlobalPrimary),lt.extend("--ft-collapsible-state-layer-color","",pt.contentGlobalPrimary),lt.extend("--ft-collapsible-background-color","",pt.backgroundGlobalOnSurface),lt.extend("--ft-collapsible-border-color","",pt.borderGlobalSubtle),lt.extend("--ft-collapsible-icon-size","",ct.iconSize3),lt.extend("--ft-switch-group-horizontal-padding","",ct.spacing1),lt.extend("--ft-switch-group-vertical-padding","",ct.spacing1),lt.extend("--ft-switch-group-gap","",ct.spacing1),lt.extend("--ft-switch-group-background-color","",pt.backgroundGlobalSurface),lt.extend("--ft-switch-group-border-color","",pt.borderGlobalSubtle),lt.create("--ft-switch-group-border-radius","","SIZE","6px"),lt.extend("--ft-switch-label-horizontal-padding","",ct.spacing2),lt.extend("--ft-switch-label-vertical-padding","",ct.spacing1),lt.extend("--ft-switch-off-hover-state-layer-opacity","",ct.opacity8),lt.extend("--ft-switch-off-focus-state-layer-opacity","",ct.opacity8),lt.extend("--ft-switch-off-active-state-layer-opacity","",ct.opacity16),lt.extend("--ft-switch-off-disabled-component-opacity","",ct.opacity40),lt.extend("--ft-switch-off-color","",pt.contentGlobalSubtle),lt.extend("--ft-switch-off-state-layer-color","",pt.contentGlobalSubtle),lt.extend("--ft-switch-on-hover-state-layer-opacity","",ct.opacity8),lt.extend("--ft-switch-on-focus-state-layer-opacity","",ct.opacity8),lt.extend("--ft-switch-on-active-state-layer-opacity","",ct.opacity16),lt.extend("--ft-switch-on-disabled-component-opacity","",ct.opacity40),lt.extend("--ft-switch-on-color","",pt.contentActionPrimary),lt.extend("--ft-switch-on-state-layer-color","",pt.contentActionPrimary),lt.extend("--ft-switch-icon-horizontal-padding","",ct.spacing1),lt.extend("--ft-switch-icon-vertical-padding","",ct.spacing1),lt.create("--ft-switch-focus-outline-width","","SIZE","2px"),lt.extend("--ft-switch-focus-focus-ring-color","",pt.borderActionFocusRing),lt.extend("--ft-switch-option-border-radius","",ct.borderRadiusS),lt.extend("--ft-chart-1-light","for area color charts",ct.colorBrand40),lt.extend("--ft-chart-1-base","for line charts",ct.colorBrand0),lt.extend("--ft-chart-2-light","for area color charts",ct.colorYellow60),lt.extend("--ft-chart-2-base","for line charts",ct.colorYellow100),lt.extend("--ft-chart-3-light","",ct.colorUltramarine40),lt.extend("--ft-chart-3-base","",ct.colorUltramarine70),lt.extend("--ft-chart-4-light","",ct.colorCyan50),lt.extend("--ft-chart-4-base","",ct.colorCyan100),lt.extend("--ft-chart-5-light","",ct.colorRed40),lt.extend("--ft-chart-5-base","",ct.colorRed60),lt.extend("--ft-chart-6-light","",ct.colorGreen40),lt.extend("--ft-chart-6-base","",ct.colorGreen70),lt.extend("--ft-chart-7-light","",ct.colorOrange70),lt.extend("--ft-chart-7-base","",ct.colorOrange100),lt.extend("--ft-chart-8-light","",ct.colorAvocado70),lt.extend("--ft-chart-8-base","",ct.colorAvocado200),lt.extend("--ft-chart-9-light","",ct.colorBrown50),lt.extend("--ft-chart-9-base","",ct.colorBrown200),lt.extend("--ft-chart-10-light","",ct.colorGray50),lt.extend("--ft-chart-10-base","",ct.colorGray80),lt.extend("--ft-chart-monochrome-10","",ct.colorBrand10),lt.extend("--ft-chart-monochrome-20","",ct.colorBrand20),lt.extend("--ft-chart-monochrome-30","",ct.colorBrand40),lt.extend("--ft-chart-monochrome-40","",ct.colorBrand60),lt.extend("--ft-chart-monochrome-50","",ct.colorBrand0),lt.extend("--ft-chart-monochrome-60","",ct.colorBrand200),lt.extend("--ft-chip-large-horizontal-padding","",ct.spacing4),lt.extend("--ft-chip-large-vertical-padding","",ct.spacing2),lt.extend("--ft-chip-large-gap","",ct.spacing1),lt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),lt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),lt.extend("--ft-chip-large-border-radius","",ct.borderRadiusPill),lt.create("--ft-chip-large-border-width","","SIZE","1px"),lt.extend("--ft-chip-large-icon-size","",ct.iconSize3),lt.extend("--ft-chip-medium-horizontal-padding","",ct.spacing3),lt.extend("--ft-chip-medium-vertical-padding","",ct.spacing1),lt.extend("--ft-chip-medium-gap","",ct.spacing1),lt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),lt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),lt.extend("--ft-chip-medium-border-radius","",ct.borderRadiusPill),lt.create("--ft-chip-medium-border-width","","SIZE","1px"),lt.extend("--ft-chip-medium-icon-size","",ct.iconSize2),lt.extend("--ft-chip-small-horizontal-padding","",ct.spacing2),lt.extend("--ft-chip-small-vertical-padding","",ct.spacing05),lt.extend("--ft-chip-small-gap","",ct.spacing1),lt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),lt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),lt.extend("--ft-chip-small-border-radius","",ct.borderRadiusPill),lt.create("--ft-chip-small-border-width","","SIZE","1px"),lt.extend("--ft-chip-small-icon-size","",ct.iconSize1),lt.extend("--ft-chip-neutral-background-color","",pt.backgroundGlobalOnSurface),lt.extend("--ft-chip-neutral-color","",pt.contentGlobalPrimary),lt.extend("--ft-chip-neutral-icon-color","",pt.contentGlobalPrimary),lt.extend("--ft-chip-neutral-border-color","",pt.borderGlobalSubtle),lt.extend("--ft-chip-info-background-color","",pt.backgroundInfoSubtle),lt.extend("--ft-chip-info-color","",pt.contentInfoPrimary),lt.extend("--ft-chip-info-icon-color","",pt.contentInfoIconOnly),lt.extend("--ft-chip-info-border-color","",pt.borderInfoSubtle),lt.extend("--ft-chip-success-background-color","",pt.backgroundSuccessSubtle),lt.extend("--ft-chip-success-color","",pt.contentSuccessPrimary),lt.extend("--ft-chip-success-icon-color","",pt.contentSuccessIconOnly),lt.extend("--ft-chip-success-border-color","",pt.borderSuccessSubtle),lt.extend("--ft-chip-warning-background-color","",pt.backgroundWarningSubtle),lt.extend("--ft-chip-warning-color","",pt.contentWarningPrimary),lt.extend("--ft-chip-warning-icon-color","",pt.contentWarningIconOnly),lt.extend("--ft-chip-warning-border-color","",pt.borderWarningSubtle),lt.extend("--ft-chip-error-background-color","",pt.backgroundErrorSubtle),lt.extend("--ft-chip-error-color","",pt.contentErrorPrimary),lt.extend("--ft-chip-error-icon-color","",pt.contentErrorIconOnly),lt.extend("--ft-chip-error-border-color","",pt.borderErrorSubtle),lt.extend("--ft-border-info-border-color","",pt.borderInfoSubtle),lt.create("--ft-notice-border-width","","SIZE","1px"),lt.extend("--ft-notice-horizontal-padding","",ct.spacing2),lt.extend("--ft-notice-vertical-padding","",ct.spacing1),lt.extend("--ft-notice-border-radius","",ct.borderRadiusS),lt.extend("--ft-notice-gap","",ct.spacing2),lt.extend("--ft-notice-icon-size","",ct.iconSize3),lt.extend("--ft-notice-info-background-color","",pt.backgroundInfoSubtle),lt.extend("--ft-notice-info-border-color","",pt.borderInfoSubtle),lt.extend("--ft-notice-info-color","",pt.contentInfoPrimary),lt.extend("--ft-notice-info-icon-color","",pt.contentInfoIconOnly),lt.extend("--ft-notice-warning-background-color","",pt.backgroundWarningSubtle),lt.extend("--ft-notice-warning-border-color","",pt.borderWarningSubtle),lt.extend("--ft-notice-warning-color","",pt.contentWarningPrimary),lt.extend("--ft-notice-warning-icon-color","",pt.contentWarningIconOnly),lt.extend("--ft-notice-error-background-color","",pt.backgroundErrorSubtle),lt.extend("--ft-notice-error-border-color","",pt.borderErrorSubtle),lt.extend("--ft-notice-error-color","",pt.contentErrorPrimary),lt.extend("--ft-notice-error-icon-color","",pt.contentErrorIconOnly),lt.extend("--ft-notice-success-background-color","",pt.backgroundSuccessSubtle),lt.extend("--ft-notice-success-border-color","",pt.borderSuccessSubtle),lt.extend("--ft-notice-success-color","",pt.contentSuccessPrimary),lt.extend("--ft-notice-success-icon-color","",pt.contentSuccessIconOnly),lt.extend("--ft-checkbox-color","",pt.contentGlobalPrimary),lt.extend("--ft-checkbox-checked-background-color","",pt.contentActionPrimary),lt.extend("--ft-checkbox-checked-state-layer-color","",pt.contentActionPrimary),lt.extend("--ft-checkbox-checked-icon-color","",pt.contentGlobalOnColor),lt.extend("--ft-checkbox-checked-hover-state-layer-opacity","",ct.opacity16),lt.extend("--ft-checkbox-checked-focus-state-layer-opacity","",ct.opacity16),lt.extend("--ft-checkbox-checked-active-state-layer-opacity","",ct.opacity24),lt.extend("--ft-checkbox-checked-disabled-component-opacity","",ct.opacity40),lt.extend("--ft-checkbox-unchecked-border-color","",ct.colorGray80),lt.extend("--ft-checkbox-unchecked-state-layer-color","",ct.colorGray80),lt.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",ct.opacity16),lt.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",ct.opacity16),lt.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",ct.opacity24),lt.extend("--ft-checkbox-unchecked-disabled-component-opacity","",ct.opacity40),lt.extend("--ft-checkbox-focus-focus-ring-color","",pt.borderActionFocusRing),lt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),lt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),lt.extend("--ft-checkbox-gap","",ct.spacing3),lt.extend("--ft-toggle-off-hover-state-layer-opacity","",ct.opacity16),lt.extend("--ft-toggle-off-focus-state-layer-opacity","",ct.opacity16),lt.extend("--ft-toggle-off-active-state-layer-opacity","",ct.opacity24),lt.extend("--ft-toggle-off-disabled-component-opacity","",ct.opacity40),lt.extend("--ft-toggle-off-background-color","",pt.contentGlobalSubtle),lt.extend("--ft-toggle-off-icon-color","",pt.contentGlobalSubtle),lt.extend("--ft-toggle-off-state-layer-color","",pt.contentGlobalSubtle),lt.extend("--ft-toggle-on-hover-state-layer-opacity","",ct.opacity16),lt.extend("--ft-toggle-on-focus-state-layer-opacity","",ct.opacity16),lt.extend("--ft-toggle-on-active-state-layer-opacity","",ct.opacity24),lt.extend("--ft-toggle-on-disabled-component-opacity","",ct.opacity40),lt.extend("--ft-toggle-on-background-color","",pt.contentActionPrimary),lt.extend("--ft-toggle-on-state-layer-color","",pt.contentActionPrimary),lt.extend("--ft-toggle-on-icon-color","",pt.contentActionPrimary),lt.extend("--ft-toggle-color","",pt.contentGlobalPrimary),lt.extend("--ft-toggle-focus-focus-ring-color","",pt.borderActionFocusRing),lt.extend("--ft-toggle-gap","",ct.spacing3),lt.extend("--ft-radio-color","",pt.contentGlobalPrimary),lt.extend("--ft-radio-selected-radio-color","",pt.contentActionPrimary),lt.extend("--ft-radio-selected-state-layer-color","",pt.contentActionPrimary),lt.extend("--ft-radio-selected-hover-state-layer-opacity","",ct.opacity16),lt.extend("--ft-radio-selected-focus-state-layer-opacity","",ct.opacity16),lt.extend("--ft-radio-selected-active-state-layer-opacity","",ct.opacity24),lt.extend("--ft-radio-selected-disabled-component-opacity","",ct.opacity40),lt.extend("--ft-radio-unselected-state-layer-color","",pt.borderInputPrimary),lt.extend("--ft-radio-unselected-border-color","",pt.borderInputPrimary),lt.extend("--ft-radio-unselected-hover-state-layer-opacity","",ct.opacity16),lt.extend("--ft-radio-unselected-focus-state-layer-opacity","",ct.opacity16),lt.extend("--ft-radio-unselected-active-state-layer-opacity","",ct.opacity24),lt.extend("--ft-radio-unselected-disabled-component-opacity","",ct.opacity40),lt.extend("--ft-radio-focus-focus-ring-color","",pt.borderActionFocusRing),lt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),lt.create("--ft-radio-focus-outline-width","","SIZE","2px"),lt.extend("--ft-radio-gap","",ct.spacing3),lt.extend("--ft-notification-icon-size","",ct.iconSize4),lt.extend("--ft-notification-horizontal-padding","",ct.spacing4),lt.extend("--ft-notification-vertical-padding","",ct.spacing4),lt.extend("--ft-notification-info-background-color","",pt.backgroundInfoSubtle),lt.extend("--ft-notification-info-color","",pt.contentInfoPrimary),lt.extend("--ft-notification-info-icon-color","",pt.contentInfoIconOnly),lt.extend("--ft-notification-info-border-color","",pt.borderInfoSubtle),lt.extend("--ft-notification-success-background-color","",pt.backgroundSuccessSubtle),lt.extend("--ft-notification-success-color","",pt.contentSuccessPrimary),lt.extend("--ft-notification-success-icon-color","",pt.contentSuccessIconOnly),lt.extend("--ft-notification-success-border-color","",pt.borderSuccessSubtle),lt.extend("--ft-notification-warning-background-color","",pt.backgroundWarningSubtle),lt.extend("--ft-notification-warning-color","",pt.contentWarningPrimary),lt.extend("--ft-notification-warning-icon-color","",pt.contentWarningIconOnly),lt.extend("--ft-notification-warning-border-color","",pt.borderWarningSubtle),lt.extend("--ft-notification-error-background-color","",pt.backgroundErrorSubtle),lt.extend("--ft-notification-error-color","",pt.contentErrorPrimary),lt.extend("--ft-notification-error-icon-color","",pt.contentErrorIconOnly),lt.extend("--ft-notification-error-border-color","",pt.borderErrorSubtle),lt.extend("--ft-notification-border-radius","",ct.borderRadiusPill),lt.create("--ft-notification-border-width","","SIZE","1px"),lt.extend("--ft-notification-leading-gap","",ct.spacing2),lt.extend("--ft-notification-trailing-gap","",ct.spacing8),lt.extend("--ft-tooltip-horizontal-padding","",ct.spacing2),lt.extend("--ft-tooltip-vertical-padding","",ct.spacing2),lt.extend("--ft-tooltip-border-radius","",ct.borderRadiusS),lt.extend("--ft-tooltip-color","",pt.contentGlobalOnColor),lt.extend("--ft-tooltip-background-color","",pt.contentGlobalPrimary),lt.extend("--ft-tooltip-background-opacity","",ct.opacity80),lt.extend("--ft-tooltip-shadow","",ct.shadowElevation03),lt.create("--ft-tooltip-max-width","","SIZE","256px"),lt.extend("--ft-tooltip-gap","",ct.spacing05);const dt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),ht=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),ut={fontFamily:ht,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},gt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",dt),yt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",ut.fontSize,"20px"),bt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",ut.fontWeight,"normal"),mt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",ut.letterSpacing,"0.15px"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",ut.lineHeight,"1.2"),vt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",ut.textTransform,"inherit"),Ot={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",dt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",ut.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",ut.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",ut.letterSpacing,"0.105px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",ut.lineHeight,"1.7"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",ut.textTransform,"inherit")},St=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ht),Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",ut.fontSize,"16px"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",ut.fontWeight,"600"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",ut.letterSpacing,"0.144px"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",ut.lineHeight,"1.5"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",ut.textTransform,"inherit"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ht),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",ut.fontSize,"14px"),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",ut.fontWeight,"normal"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",ut.letterSpacing,"0.098px"),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",ut.lineHeight,"1.7"),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",ut.textTransform,"inherit"),zt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ht),Zt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",ut.fontSize,"16px"),Kt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",ut.fontWeight,"normal"),At=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",ut.letterSpacing,"0.496px"),Bt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",ut.lineHeight,"1.5"),Dt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",ut.textTransform,"inherit"),Ft={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ht),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",ut.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",ut.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",ut.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",ut.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",ut.textTransform,"inherit")},Tt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ht),Ht=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",ut.fontSize,"12px"),Pt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",ut.fontWeight,"normal"),Mt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",ut.letterSpacing,"0.396px"),_t=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",ut.lineHeight,"1.33"),jt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",ut.textTransform,"inherit"),Gt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ht),Yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",ut.fontSize,"10px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",ut.fontWeight,"normal"),qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",ut.letterSpacing,"0.33px"),Xt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",ut.lineHeight,"1.6"),Jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",ut.textTransform,"inherit"),Qt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ht),to=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",ut.fontSize,"10px"),oo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",ut.fontWeight,"normal"),eo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",ut.letterSpacing,"1.5px"),ro=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",ut.lineHeight,"1.6"),io=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",ut.textTransform,"uppercase"),no={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ht),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",ut.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",ut.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",ut.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",ut.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",ut.textTransform,"uppercase")},ao=e.css`
|
|
124
|
+
`}contentAvailableCallback(o){super.contentAvailableCallback(o),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(o){var r,i;super.update(o),o.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var o,r;let i=(o=this.shadowRoot)===null||o===void 0?void 0:o.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}setupFor(o){if(this.setupDebouncer.cancel(),this.target===o)return;this.onDisconnect&&this.onDisconnect(),this.target=o,o.setAttribute("data-is-ft-ripple-target","true");let r=(...p)=>f=>{p.forEach(h=>window.addEventListener(h,this.endPress,{once:!0})),this.startPress(f)},i=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),a=p=>{["Enter"," "].includes(p.key)&&r("keyup")(p)},l={passive:!0};o.addEventListener("mouseover",this.startHover,l),o.addEventListener("mousemove",this.moveRipple,l),o.addEventListener("mouseleave",this.endHover,l),o.addEventListener("mousedown",i,l),o.addEventListener("touchstart",n,l),o.addEventListener("touchmove",this.moveRipple,l),o.addEventListener("keydown",a,l),o.addEventListener("focus",this.startFocus,l),o.addEventListener("blur",this.endFocus,l),o.addEventListener("focusin",this.startFocus,l),o.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{o.removeAttribute("data-is-ft-ripple-target"),o.removeEventListener("mouseover",this.startHover,l),o.removeEventListener("mousemove",this.moveRipple,l),o.removeEventListener("mouseleave",this.endHover,l),o.removeEventListener("mousedown",i,l),o.removeEventListener("touchstart",n,l),o.removeEventListener("touchmove",this.moveRipple,l),o.removeEventListener("keydown",a,l),o.removeEventListener("focus",this.startFocus,l),o.removeEventListener("blur",this.endFocus,l),o.removeEventListener("focusin",this.startFocus,l),o.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(o){let r=o,i=o,n,a;return r.x!=null?{x:n,y:a}=r:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(o){return o instanceof HTMLElement?o.matches(":focus-visible"):!0}isIgnored(o){if(this.disabled)return!0;if(o!=null)for(let r of o.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};U.elementDefinitions={};U.styles=Nr;ht([(0,rt.property)({type:Boolean})],U.prototype,"primary",void 0);ht([(0,rt.property)({type:Boolean})],U.prototype,"secondary",void 0);ht([(0,rt.property)({type:Boolean})],U.prototype,"unbounded",void 0);ht([(0,rt.property)({type:Boolean})],U.prototype,"activated",void 0);ht([(0,rt.property)({type:Boolean})],U.prototype,"selected",void 0);ht([(0,rt.property)({type:Boolean})],U.prototype,"disabled",void 0);ht([(0,rt.state)()],U.prototype,"hovered",void 0);ht([(0,rt.state)()],U.prototype,"focused",void 0);ht([(0,rt.state)()],U.prototype,"pressed",void 0);ht([(0,rt.state)()],U.prototype,"rippling",void 0);ht([(0,rt.state)()],U.prototype,"originX",void 0);ht([(0,rt.state)()],U.prototype,"originY",void 0);ht([(0,rt.query)(".ft-ripple")],U.prototype,"ripple",void 0);ht([(0,rt.query)(".ft-ripple--effect")],U.prototype,"rippleEffect",void 0);(0,Tr.customElement)("ft-ripple")(U);var Ui=u(O());var Wo=globalThis,Je=Wo.trustedTypes,Pr=Je?Je.createPolicy("lit-html",{createHTML:e=>e}):void 0,Dr="$lit$",Kt=`lit$${(Math.random()+"").slice(9)}$`,Wr="?"+Kt,$a=`<${Wr}>`,ee=document,to=()=>ee.createComment(""),Te=e=>e===null||typeof e!="object"&&typeof e!="function",Fr=Array.isArray,Da=e=>Fr(e)||typeof e?.[Symbol.iterator]=="function",ko=`[
|
|
125
|
+
\f\r]`,Ie=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,kr=/-->/g,_r=/>/g,Jt=RegExp(`>|${ko}(?:([^\\s"'>=/]+)(${ko}*=${ko}*(?:[^
|
|
126
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Br=/'/g,Ur=/"/g,Hr=/^(?:script|style|textarea|title)$/i,Mr=e=>(o,...r)=>({_$litType$:e,strings:o,values:r}),zr=Mr(1),Gr=Mr(2),Pe=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),$r=new WeakMap,te=ee.createTreeWalker(ee,129);function Kr(e,o){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Pr!==void 0?Pr.createHTML(o):o}var Wa=(e,o)=>{let r=e.length-1,i=[],n,a=o===2?"<svg>":"",l=Ie;for(let p=0;p<r;p++){let f=e[p],h,b,S=-1,T=0;for(;T<f.length&&(l.lastIndex=T,b=l.exec(f),b!==null);)T=l.lastIndex,l===Ie?b[1]==="!--"?l=kr:b[1]!==void 0?l=_r:b[2]!==void 0?(Hr.test(b[2])&&(n=RegExp("</"+b[2],"g")),l=Jt):b[3]!==void 0&&(l=Jt):l===Jt?b[0]===">"?(l=n??Ie,S=-1):b[1]===void 0?S=-2:(S=l.lastIndex-b[2].length,h=b[1],l=b[3]===void 0?Jt:b[3]==='"'?Ur:Br):l===Ur||l===Br?l=Jt:l===kr||l===_r?l=Ie:(l=Jt,n=void 0);let w=l===Jt&&e[p+1].startsWith("/>")?" ":"";a+=l===Ie?f+$a:S>=0?(i.push(h),f.slice(0,S)+Dr+f.slice(S)+Kt+w):f+Kt+(S===-2?p:w)}return[Kr(e,a+(e[r]||"<?>")+(o===2?"</svg>":"")),i]},ke=class e{constructor({strings:o,_$litType$:r},i){let n;this.parts=[];let a=0,l=0,p=o.length-1,f=this.parts,[h,b]=Wa(o,r);if(this.el=e.createElement(h,i),te.currentNode=this.el.content,r===2){let S=this.el.content.firstChild;S.replaceWith(...S.childNodes)}for(;(n=te.nextNode())!==null&&f.length<p;){if(n.nodeType===1){if(n.hasAttributes())for(let S of n.getAttributeNames())if(S.endsWith(Dr)){let T=b[l++],w=n.getAttribute(S).split(Kt),k=/([.?@])?(.*)/.exec(T);f.push({type:1,index:a,name:k[2],strings:w,ctor:k[1]==="."?Bo:k[1]==="?"?Uo:k[1]==="@"?$o:de}),n.removeAttribute(S)}else S.startsWith(Kt)&&(f.push({type:6,index:a}),n.removeAttribute(S));if(Hr.test(n.tagName)){let S=n.textContent.split(Kt),T=S.length-1;if(T>0){n.textContent=Je?Je.emptyScript:"";for(let w=0;w<T;w++)n.append(S[w],to()),te.nextNode(),f.push({type:2,index:++a});n.append(S[T],to())}}}else if(n.nodeType===8)if(n.data===Wr)f.push({type:2,index:a});else{let S=-1;for(;(S=n.data.indexOf(Kt,S+1))!==-1;)f.push({type:7,index:a}),S+=Kt.length-1}a++}}static createElement(o,r){let i=ee.createElement("template");return i.innerHTML=o,i}};function pe(e,o,r=e,i){if(o===Pe)return o;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=Te(o)?void 0:o._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(e),n._$AT(e,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(o=pe(e,n._$AS(e,o.values),n,i)),o}var _o=class{constructor(o,r){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){let{el:{content:r},parts:i}=this._$AD,n=(o?.creationScope??ee).importNode(r,!0);te.currentNode=n;let a=te.nextNode(),l=0,p=0,f=i[0];for(;f!==void 0;){if(l===f.index){let h;f.type===2?h=new eo(a,a.nextSibling,this,o):f.type===1?h=new f.ctor(a,f.name,f.strings,this,o):f.type===6&&(h=new Do(a,this,o)),this._$AV.push(h),f=i[++p]}l!==f?.index&&(a=te.nextNode(),l++)}return te.currentNode=ee,n}p(o){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(o,i,r),r+=i.strings.length-2):i._$AI(o[r])),r++}},eo=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,r,i,n){this.type=2,this._$AH=J,this._$AN=void 0,this._$AA=o,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let o=this._$AA.parentNode,r=this._$AM;return r!==void 0&&o?.nodeType===11&&(o=r.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,r=this){o=pe(this,o,r),Te(o)?o===J||o==null||o===""?(this._$AH!==J&&this._$AR(),this._$AH=J):o!==this._$AH&&o!==Pe&&this._(o):o._$litType$!==void 0?this.g(o):o.nodeType!==void 0?this.$(o):Da(o)?this.T(o):this._(o)}k(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}$(o){this._$AH!==o&&(this._$AR(),this._$AH=this.k(o))}_(o){this._$AH!==J&&Te(this._$AH)?this._$AA.nextSibling.data=o:this.$(ee.createTextNode(o)),this._$AH=o}g(o){let{values:r,_$litType$:i}=o,n=typeof i=="number"?this._$AC(o):(i.el===void 0&&(i.el=ke.createElement(Kr(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new _o(n,this),l=a.u(this.options);a.p(r),this.$(l),this._$AH=a}}_$AC(o){let r=$r.get(o.strings);return r===void 0&&$r.set(o.strings,r=new ke(o)),r}T(o){Fr(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of o)n===r.length?r.push(i=new e(this.k(to()),this.k(to()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(o=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);o&&o!==this._$AB;){let i=o.nextSibling;o.remove(),o=i}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},de=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,r,i,n,a){this.type=1,this._$AH=J,this._$AN=void 0,this.element=o,this.name=r,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=J}_$AI(o,r=this,i,n){let a=this.strings,l=!1;if(a===void 0)o=pe(this,o,r,0),l=!Te(o)||o!==this._$AH&&o!==Pe,l&&(this._$AH=o);else{let p=o,f,h;for(o=a[0],f=0;f<a.length-1;f++)h=pe(this,p[i+f],r,f),h===Pe&&(h=this._$AH[f]),l||=!Te(h)||h!==this._$AH[f],h===J?o=J:o!==J&&(o+=(h??"")+a[f+1]),this._$AH[f]=h}l&&!n&&this.O(o)}O(o){o===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},Bo=class extends de{constructor(){super(...arguments),this.type=3}O(o){this.element[this.name]=o===J?void 0:o}},Uo=class extends de{constructor(){super(...arguments),this.type=4}O(o){this.element.toggleAttribute(this.name,!!o&&o!==J)}},$o=class extends de{constructor(o,r,i,n,a){super(o,r,i,n,a),this.type=5}_$AI(o,r=this){if((o=pe(this,o,r,0)??J)===Pe)return;let i=this._$AH,n=o===J&&i!==J||o.capture!==i.capture||o.once!==i.once||o.passive!==i.passive,a=o!==J&&(i===J||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,o):this._$AH.handleEvent(o)}},Do=class{constructor(o,r,i){this.element=o,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(o){pe(this,o)}};var Fa=Wo.litHtmlPolyfillSupport;Fa?.(ke,eo),(Wo.litHtmlVersions??=[]).push("3.1.0");var Zr=Symbol.for(""),Ha=e=>{if(e?.r===Zr)return e?._$litStatic$},Fo=e=>({_$litStatic$:e,r:Zr});var Vr=new Map,jr=e=>(o,...r)=>{let i=r.length,n,a,l=[],p=[],f,h=0,b=!1;for(;h<i;){for(f=o[h];h<i&&(a=r[h],(n=Ha(a))!==void 0);)f+=n+o[++h],b=!0;h!==i&&p.push(a),l.push(f),h++}if(h===i&&l.push(o[i]),b){let S=l.join("$$lit$$");(o=Vr.get(S))===void 0&&(l.raw=l,Vr.set(S,o=l)),r=p}return e(o,...r)},Ho=jr(zr),Ts=jr(Gr);var Mo=u(pt()),Bi=u(O());var oe;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(oe||(oe={}));var At=u(D()),g=u(O());var Ut=u(D(),1),Vt=e=>typeof e=="string"?(0,Ut.unsafeCSS)(e):e,t=class{static create(o,r,i,n){let a=p=>Vt(p??n),l=Ut.css`var(${Vt(o)}, ${a(n)})`;return l.name=o,l.description=r,l.category=i,l.defaultValue=n,l.defaultCssValue=a,l.get=p=>Ut.css`var(${Vt(o)}, ${a(p)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>n,l}static extend(o,r,i,n){let a=p=>i.get(p??n),l=Ut.css`var(${Vt(o)}, ${a(n)})`;return l.name=o,l.description=r,l.category=i.category,l.fallbackVariable=i,l.defaultValue=n,l.defaultCssValue=a,l.get=p=>Ut.css`var(${Vt(o)}, ${a(p)})`,l.breadcrumb=()=>[i.name,...i.breadcrumb()],l.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),l}static external(o,r){let i=a=>o.fallbackVariable?o.fallbackVariable.get(a??o.defaultValue):Vt(a??o.lastResortDefaultValue()),n=Ut.css`var(${Vt(o.name)}, ${i(o.defaultValue)})`;return n.name=o.name,n.category=o.category,n.fallbackVariable=o.fallbackVariable,n.defaultValue=o.defaultValue,n.context=r,n.defaultCssValue=i,n.get=a=>Ut.css`var(${Vt(o.name)}, ${i(a)})`,n.breadcrumb=()=>o.fallbackVariable?[o.fallbackVariable.name,...o.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>o.lastResortDefaultValue(),n}};var s={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:t.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:t.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:t.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:t.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:t.create("--ft-icon-size-6","","SIZE","48px"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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)")},qr={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},Yr={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Xr={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Qr={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Jr={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},ti={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ei={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},oi={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},ri={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ma={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},ii={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ni={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},ai={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},si={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},li={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},ci={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},pi={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},di={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},fi={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},ui={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},hi={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},yi={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},mi={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},gi={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},bi={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},xi={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},oo={display:qr,"title-1":Yr,"title-2":Xr,"title-3":Qr,"body-1-regular":Jr,"body-1-medium":ti,"body-1-semibold":ei,"body-2-regular":oi,"body-2-medium":ri,"body-2-medium-underline":Ma,"body-2-semibold":ii,"label-1-medium":ni,"label-1-semibold":ai,"label-1-bold":si,"label-2-medium":li,"label-2-semibold":ci,"label-2-bold":pi,"caption-1-medium":di,"caption-1-semibold":fi,"caption-1-bold":ui,"caption-2-medium":hi,"caption-2-semibold":yi,"caption-2-bold":mi,"caption-3-medium":gi,"caption-3-semibold":bi,"caption-3-bold":xi};var c={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
127
|
+
Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80)};var x={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:t.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",s.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:t.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",s.spacing3),smallGap:t.extend("--ft-button-small-gap","",s.spacing2),smallBorderRadius:t.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",s.iconSize2),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:t.extend("--ft-button-primary-background-color","",c.backgroundActionPrimary),primaryColor:t.extend("--ft-button-primary-color","",c.contentGlobalOnColor),primaryIconColor:t.extend("--ft-button-primary-icon-color","",c.contentGlobalOnColor),primaryStateLayerColor:t.extend("--ft-button-primary-state-layer-color","",c.contentGlobalOnColor),primaryHoverStateLayerOpacity:t.extend("--ft-button-primary-hover-state-layer-opacity","",s.opacity16),primaryFocusStateLayerOpacity:t.extend("--ft-button-primary-focus-state-layer-opacity","",s.opacity16),primaryActiveStateLayerOpacity:t.extend("--ft-button-primary-active-state-layer-opacity","",s.opacity24),primaryDisabledComponentOpacity:t.extend("--ft-button-primary-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",c.borderActionFocusRing),tertiaryBackgroundColor:t.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:t.extend("--ft-button-tertiary-color","",c.contentActionPrimary),tertiaryIconColor:t.extend("--ft-button-tertiary-icon-color","",c.contentActionPrimary),tertiaryStateLayerColor:t.extend("--ft-button-tertiary-state-layer-color","",c.contentActionPrimary),tertiaryHoverStateLayerOpacity:t.extend("--ft-button-tertiary-hover-state-layer-opacity","",s.opacity8),tertiaryFocusStateLayerOpacity:t.extend("--ft-button-tertiary-focus-state-layer-opacity","",s.opacity8),tertiaryActiveStateLayerOpacity:t.extend("--ft-button-tertiary-active-state-layer-opacity","",s.opacity16),tertiaryDisabledComponentOpacity:t.extend("--ft-button-tertiary-disabled-component-opacity","",s.opacity40),secondaryBackgroundColor:t.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:t.extend("--ft-button-secondary-color","",c.contentActionPrimary),secondaryIconColor:t.extend("--ft-button-secondary-icon-color","",c.contentActionPrimary),secondaryStateLayerColor:t.extend("--ft-button-secondary-state-layer-color","",c.contentActionPrimary),secondaryHoverStateLayerOpacity:t.extend("--ft-button-secondary-hover-state-layer-opacity","",s.opacity8),secondaryFocusStateLayerOpacity:t.extend("--ft-button-secondary-focus-state-layer-opacity","",s.opacity8),secondaryActiveStateLayerOpacity:t.extend("--ft-button-secondary-active-state-layer-opacity","",s.opacity16),secondaryDisabledComponentOpacity:t.extend("--ft-button-secondary-disabled-component-opacity","",s.opacity40),secondaryBorderColor:t.extend("--ft-button-secondary-border-color","",c.borderActionPrimary),neutralBackgroundColor:t.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:t.extend("--ft-button-neutral-icon-color","",c.contentGlobalSecondary),neutralColor:t.extend("--ft-button-neutral-color","",c.contentGlobalSecondary),neutralStateLayerColor:t.extend("--ft-button-neutral-state-layer-color","",c.contentGlobalSecondary),neutralHoverStateLayerOpacity:t.extend("--ft-button-neutral-hover-state-layer-opacity","",s.opacity8),neutralFocusStateLayerOpacity:t.extend("--ft-button-neutral-focus-state-layer-opacity","",s.opacity8),neutralActiveStateLayerOpacity:t.extend("--ft-button-neutral-active-state-layer-opacity","",s.opacity16),neutralDisabledComponentOpacity:t.extend("--ft-button-neutral-disabled-component-opacity","",s.opacity40)};var qs={iconSize:t.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-banner-horizontal-padding","",s.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",c.contentInfoIconOnly)};var tl={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",s.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",s.spacing2),currentElementColor:t.extend("--ft-breadcrumb-current-element-color","",c.contentGlobalPrimary),iconColor:t.extend("--ft-breadcrumb-icon-color","",c.contentGlobalSubtle)};var nl={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",s.spacing12),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",s.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",s.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",s.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",s.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",s.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",c.borderGlobalSubtle),titleColor:t.extend("--ft-page-header-title-color","",c.contentGlobalPrimary),subtitleColor:t.extend("--ft-page-header-subtitle-color","",c.contentGlobalSecondary)};var pl={smallContainerWidth:t.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:t.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:t.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",s.spacing6),containerMargin:t.extend("--ft-modal-container-margin","",s.spacing3),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",c.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",c.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-modal-header-trailing-icon-color","",c.contentGlobalSecondary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:t.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottom:t.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",s.borderRadiusM)};var yl={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:t.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",c.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",c.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",c.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",c.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",c.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",c.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing4),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",s.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",s.colorGray700)};var Sl={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",s.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",s.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",s.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",c.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",c.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",c.contentErrorIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var Al={backgroundColor:t.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",c.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",c.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",s.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",s.borderRadiusM)};var Il={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",c.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",c.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",c.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",c.backgroundGlobalOnSurface)};var Bl={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",s.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",s.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",c.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",c.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",c.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",c.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var Fl={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",c.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",c.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",c.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",c.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",s.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusM)};var Kl={backgroundColor:t.extend("--ft-popover-background-color","",c.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",s.spacing6),iconColor:t.extend("--ft-popover-icon-color","",c.contentGlobalSecondary),iconSize:t.extend("--ft-popover-icon-size","",s.iconSize2),titleColor:t.extend("--ft-popover-title-color","",c.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",c.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",c.contentActionPrimary),gap:t.extend("--ft-popover-gap","",s.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",s.shadowElevation02)};var Yl={topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),labelHorizontalPadding:t.extend("--ft-tabs-label-horizontal-padding","",s.spacing4),labelVerticalPadding:t.extend("--ft-tabs-label-vertical-padding","",s.spacing3),labelGap:t.extend("--ft-tabs-label-gap","",s.spacing1),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:t.extend("--ft-tabs-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:t.extend("--ft-tabs-off-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:t.extend("--ft-tabs-on-disabled-component-opacity","",s.opacity40),onColor:t.extend("--ft-tabs-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",c.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-tabs-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:t.extend("--ft-tabs-icon-vertical-padding","",s.spacing4),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",c.borderActionFocusRing)};var ec={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",c.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:t.extend("--ft-collapsible-color","",c.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",c.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",c.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",c.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",s.iconSize3)};var ac={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:t.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",c.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",c.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:t.extend("--ft-switch-off-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:t.extend("--ft-switch-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",c.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",c.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var pc={color1Light:t.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",s.colorRed40),color5Base:t.extend("--ft-chart-5-base","",s.colorRed60),color6Light:t.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",s.colorGray50),color10Base:t.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",s.colorBrand200)};var yc={largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",s.spacing4),largeVerticalPadding:t.extend("--ft-chip-large-vertical-padding","",s.spacing2),largeGap:t.extend("--ft-chip-large-gap","",s.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.extend("--ft-chip-large-border-radius","",s.borderRadiusPill),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",s.iconSize3),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",s.spacing3),mediumVerticalPadding:t.extend("--ft-chip-medium-vertical-padding","",s.spacing1),mediumGap:t.extend("--ft-chip-medium-gap","",s.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.extend("--ft-chip-medium-border-radius","",s.borderRadiusPill),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",s.iconSize2),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",s.spacing2),smallVerticalPadding:t.extend("--ft-chip-small-vertical-padding","",s.spacing05),smallGap:t.extend("--ft-chip-small-gap","",s.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.extend("--ft-chip-small-border-radius","",s.borderRadiusPill),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",s.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",c.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",c.contentGlobalPrimary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",c.contentGlobalPrimary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",c.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",c.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",c.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",c.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",c.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",c.borderErrorSubtle)};var xc={infoBorderColor:t.extend("--ft-border-info-border-color","",c.borderInfoSubtle)};var Ec={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",s.spacing2),verticalPadding:t.extend("--ft-notice-vertical-padding","",s.spacing1),borderRadius:t.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:t.extend("--ft-notice-gap","",s.spacing2),iconSize:t.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",c.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",c.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",c.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",c.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",c.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",c.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",c.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",c.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",c.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",c.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",c.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",c.contentSuccessIconOnly)};var Lc={color:t.extend("--ft-checkbox-color","",c.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",c.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",c.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",c.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-checkbox-gap","",s.spacing3)};var _c={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",c.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",c.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",c.contentActionPrimary),color:t.extend("--ft-toggle-color","",c.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",c.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",s.spacing3)};var Wc={color:t.extend("--ft-radio-color","",c.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",c.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",c.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",c.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",c.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",s.spacing3)};var Gc={iconSize:t.extend("--ft-notification-icon-size","",s.iconSize4),horizontalPadding:t.extend("--ft-notification-horizontal-padding","",s.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",s.spacing4),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",c.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",c.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",c.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",c.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",c.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",s.spacing8)};var qc={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:t.extend("--ft-tooltip-color","",c.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",c.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:t.extend("--ft-tooltip-shadow","",s.shadowElevation03),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",s.spacing05)};var ro=u(D());function Si(e){let o=oo[e];return ro.css`
|
|
128
|
+
.ft-typography--${(0,ro.unsafeCSS)(e)} {
|
|
129
|
+
font-family: ${o.fontFamily};
|
|
130
|
+
font-size: ${o.fontSize};
|
|
131
|
+
font-weight: ${o.fontWeight};
|
|
132
|
+
letter-spacing: ${o.letterSpacing};
|
|
133
|
+
line-height: ${o.lineHeight};
|
|
134
|
+
text-transform: ${o.textCase};
|
|
135
|
+
}
|
|
136
|
+
`}var vi=g.FtCssVariableFactory.extend("--ft-typography-font-family","",g.designSystemVariables.titleFont),Dt=g.FtCssVariableFactory.extend("--ft-typography-font-family","",g.designSystemVariables.contentFont),v={fontFamily:Dt,fontSize:g.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:g.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:g.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:g.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:g.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},fe={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-title-font-family","",vi),fontSize:g.FtCssVariableFactory.extend("--ft-typography-title-font-size","",v.fontSize,"20px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",v.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",v.letterSpacing,"0.15px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-title-line-height","",v.lineHeight,"1.2"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",v.textTransform,"inherit")},$t={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",vi),fontSize:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",v.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",v.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",v.letterSpacing,"0.105px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",v.lineHeight,"1.7"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",v.textTransform,"inherit")},ue={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Dt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",v.fontSize,"16px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",v.fontWeight,"600"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",v.letterSpacing,"0.144px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",v.lineHeight,"1.5"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",v.textTransform,"inherit")},he={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Dt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",v.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",v.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",v.letterSpacing,"0.098px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",v.lineHeight,"1.7"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",v.textTransform,"inherit")},ye={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Dt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",v.fontSize,"16px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",v.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",v.letterSpacing,"0.496px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",v.lineHeight,"1.5"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",v.textTransform,"inherit")},Tt={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Dt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",v.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",v.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",v.letterSpacing,"0.252px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",v.lineHeight,"1.4"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",v.textTransform,"inherit")},me={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Dt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",v.fontSize,"12px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",v.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",v.letterSpacing,"0.396px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",v.lineHeight,"1.33"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",v.textTransform,"inherit")},ge={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Dt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",v.fontSize,"10px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",v.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",v.letterSpacing,"0.33px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",v.lineHeight,"1.6"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",v.textTransform,"inherit")},be={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Dt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",v.fontSize,"10px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",v.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",v.letterSpacing,"1.5px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",v.lineHeight,"1.6"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",v.textTransform,"uppercase")},Pt={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Dt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-button-font-size","",v.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",v.fontWeight,"600"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",v.letterSpacing,"1.246px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-button-line-height","",v.lineHeight,"1.15"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",v.textTransform,"uppercase")},Ci=At.css`
|
|
137
137
|
.ft-typography--title {
|
|
138
|
-
font-family: ${
|
|
139
|
-
font-size: ${
|
|
140
|
-
font-weight: ${
|
|
141
|
-
letter-spacing: ${
|
|
142
|
-
line-height: ${
|
|
143
|
-
text-transform: ${
|
|
144
|
-
}
|
|
145
|
-
`,
|
|
138
|
+
font-family: ${fe.fontFamily};
|
|
139
|
+
font-size: ${fe.fontSize};
|
|
140
|
+
font-weight: ${fe.fontWeight};
|
|
141
|
+
letter-spacing: ${fe.letterSpacing};
|
|
142
|
+
line-height: ${fe.lineHeight};
|
|
143
|
+
text-transform: ${fe.textTransform};
|
|
144
|
+
}
|
|
145
|
+
`,Oi=At.css`
|
|
146
146
|
.ft-typography--title-dense {
|
|
147
|
-
font-family: ${
|
|
148
|
-
font-size: ${
|
|
149
|
-
font-weight: ${
|
|
150
|
-
letter-spacing: ${
|
|
151
|
-
line-height: ${
|
|
152
|
-
text-transform: ${
|
|
153
|
-
}
|
|
154
|
-
`,
|
|
147
|
+
font-family: ${$t.fontFamily};
|
|
148
|
+
font-size: ${$t.fontSize};
|
|
149
|
+
font-weight: ${$t.fontWeight};
|
|
150
|
+
letter-spacing: ${$t.letterSpacing};
|
|
151
|
+
line-height: ${$t.lineHeight};
|
|
152
|
+
text-transform: ${$t.textTransform};
|
|
153
|
+
}
|
|
154
|
+
`,Ei=At.css`
|
|
155
155
|
.ft-typography--subtitle1 {
|
|
156
|
-
font-family: ${
|
|
157
|
-
font-size: ${
|
|
158
|
-
font-weight: ${
|
|
159
|
-
letter-spacing: ${
|
|
160
|
-
line-height: ${
|
|
161
|
-
text-transform: ${
|
|
162
|
-
}
|
|
163
|
-
`,
|
|
156
|
+
font-family: ${ue.fontFamily};
|
|
157
|
+
font-size: ${ue.fontSize};
|
|
158
|
+
font-weight: ${ue.fontWeight};
|
|
159
|
+
letter-spacing: ${ue.letterSpacing};
|
|
160
|
+
line-height: ${ue.lineHeight};
|
|
161
|
+
text-transform: ${ue.textTransform};
|
|
162
|
+
}
|
|
163
|
+
`,Ai=At.css`
|
|
164
164
|
.ft-typography--subtitle2 {
|
|
165
|
-
font-family: ${
|
|
166
|
-
font-size: ${
|
|
167
|
-
font-weight: ${
|
|
168
|
-
letter-spacing: ${
|
|
169
|
-
line-height: ${
|
|
170
|
-
text-transform: ${
|
|
165
|
+
font-family: ${he.fontFamily};
|
|
166
|
+
font-size: ${he.fontSize};
|
|
167
|
+
font-weight: ${he.fontWeight};
|
|
168
|
+
letter-spacing: ${he.letterSpacing};
|
|
169
|
+
line-height: ${he.lineHeight};
|
|
170
|
+
text-transform: ${he.textTransform};
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
`,
|
|
173
|
+
`,Ri=At.css`
|
|
174
174
|
.ft-typography--body1 {
|
|
175
|
-
font-family: ${
|
|
176
|
-
font-size: ${
|
|
177
|
-
font-weight: ${
|
|
178
|
-
letter-spacing: ${
|
|
179
|
-
line-height: ${
|
|
180
|
-
text-transform: ${
|
|
181
|
-
}
|
|
182
|
-
`,
|
|
175
|
+
font-family: ${ye.fontFamily};
|
|
176
|
+
font-size: ${ye.fontSize};
|
|
177
|
+
font-weight: ${ye.fontWeight};
|
|
178
|
+
letter-spacing: ${ye.letterSpacing};
|
|
179
|
+
line-height: ${ye.lineHeight};
|
|
180
|
+
text-transform: ${ye.textTransform};
|
|
181
|
+
}
|
|
182
|
+
`,wi=At.css`
|
|
183
183
|
.ft-typography--body2 {
|
|
184
|
-
font-family: ${
|
|
185
|
-
font-size: ${
|
|
186
|
-
font-weight: ${
|
|
187
|
-
letter-spacing: ${
|
|
188
|
-
line-height: ${
|
|
189
|
-
text-transform: ${
|
|
190
|
-
}
|
|
191
|
-
`,
|
|
184
|
+
font-family: ${Tt.fontFamily};
|
|
185
|
+
font-size: ${Tt.fontSize};
|
|
186
|
+
font-weight: ${Tt.fontWeight};
|
|
187
|
+
letter-spacing: ${Tt.letterSpacing};
|
|
188
|
+
line-height: ${Tt.lineHeight};
|
|
189
|
+
text-transform: ${Tt.textTransform};
|
|
190
|
+
}
|
|
191
|
+
`,Ni=At.css`
|
|
192
192
|
.ft-typography--caption {
|
|
193
|
-
font-family: ${
|
|
194
|
-
font-size: ${
|
|
195
|
-
font-weight: ${
|
|
196
|
-
letter-spacing: ${
|
|
197
|
-
line-height: ${
|
|
198
|
-
text-transform: ${
|
|
199
|
-
}
|
|
200
|
-
`,
|
|
193
|
+
font-family: ${me.fontFamily};
|
|
194
|
+
font-size: ${me.fontSize};
|
|
195
|
+
font-weight: ${me.fontWeight};
|
|
196
|
+
letter-spacing: ${me.letterSpacing};
|
|
197
|
+
line-height: ${me.lineHeight};
|
|
198
|
+
text-transform: ${me.textTransform};
|
|
199
|
+
}
|
|
200
|
+
`,Li=At.css`
|
|
201
201
|
.ft-typography--breadcrumb {
|
|
202
|
-
font-family: ${
|
|
203
|
-
font-size: ${
|
|
204
|
-
font-weight: ${
|
|
205
|
-
letter-spacing: ${
|
|
206
|
-
line-height: ${
|
|
207
|
-
text-transform: ${
|
|
208
|
-
}
|
|
209
|
-
`,
|
|
202
|
+
font-family: ${ge.fontFamily};
|
|
203
|
+
font-size: ${ge.fontSize};
|
|
204
|
+
font-weight: ${ge.fontWeight};
|
|
205
|
+
letter-spacing: ${ge.letterSpacing};
|
|
206
|
+
line-height: ${ge.lineHeight};
|
|
207
|
+
text-transform: ${ge.textTransform};
|
|
208
|
+
}
|
|
209
|
+
`,Ii=At.css`
|
|
210
210
|
.ft-typography--overline {
|
|
211
|
-
font-family: ${
|
|
212
|
-
font-size: ${
|
|
213
|
-
font-weight: ${
|
|
214
|
-
letter-spacing: ${
|
|
215
|
-
line-height: ${
|
|
216
|
-
text-transform: ${
|
|
217
|
-
}
|
|
218
|
-
`,
|
|
211
|
+
font-family: ${be.fontFamily};
|
|
212
|
+
font-size: ${be.fontSize};
|
|
213
|
+
font-weight: ${be.fontWeight};
|
|
214
|
+
letter-spacing: ${be.letterSpacing};
|
|
215
|
+
line-height: ${be.lineHeight};
|
|
216
|
+
text-transform: ${be.textTransform};
|
|
217
|
+
}
|
|
218
|
+
`,Ti=At.css`
|
|
219
219
|
.ft-typography--button {
|
|
220
|
-
font-family: ${
|
|
221
|
-
font-size: ${
|
|
222
|
-
font-weight: ${
|
|
223
|
-
letter-spacing: ${
|
|
224
|
-
line-height: ${
|
|
225
|
-
text-transform: ${
|
|
226
|
-
}
|
|
227
|
-
`,
|
|
220
|
+
font-family: ${Pt.fontFamily};
|
|
221
|
+
font-size: ${Pt.fontSize};
|
|
222
|
+
font-weight: ${Pt.fontWeight};
|
|
223
|
+
letter-spacing: ${Pt.letterSpacing};
|
|
224
|
+
line-height: ${Pt.lineHeight};
|
|
225
|
+
text-transform: ${Pt.textTransform};
|
|
226
|
+
}
|
|
227
|
+
`,Pi=At.css`
|
|
228
228
|
.ft-typography {
|
|
229
229
|
vertical-align: inherit;
|
|
230
230
|
}
|
|
231
|
-
`,
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
font-size: ${o.fontSize};
|
|
235
|
-
font-weight: ${o.fontWeight};
|
|
236
|
-
letter-spacing: ${o.letterSpacing};
|
|
237
|
-
line-height: ${o.lineHeight};
|
|
238
|
-
text-transform: ${o.textCase};
|
|
239
|
-
}
|
|
240
|
-
`}(t)))];var xo=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class vo extends o.FtLitElement{constructor(){super(...arguments),this.variant=nt.body1}render(){return this.element?it`
|
|
241
|
-
<${et(this.element)}
|
|
231
|
+
`,ki=[Object.keys(oo).map(e=>Si(e))];var _i=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(a=(n<3?l(a):n>3?l(o,r,a):l(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},it=class extends Bi.FtLitElement{constructor(){super(...arguments),this.variant=oe.body1}render(){return this.element?Ho`
|
|
232
|
+
<${Fo(this.element)}
|
|
233
|
+
part="text"
|
|
242
234
|
class="ft-typography ft-typography--${this.variant}">
|
|
243
235
|
<slot></slot>
|
|
244
|
-
</${
|
|
245
|
-
`:
|
|
246
|
-
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
247
|
-
`}}
|
|
236
|
+
</${Fo(this.element)}>
|
|
237
|
+
`:Ho`
|
|
238
|
+
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
239
|
+
`}};it.styles=[Ci,Oi,Ei,Ai,Ri,wi,Ni,Li,Ii,Ti,Pi,...ki];_i([(0,Mo.property)()],it.prototype,"element",void 0);_i([(0,Mo.property)()],it.prototype,"variant",void 0);(0,Ui.customElement)("ft-typography")(it);var $i=u(D()),P=u(O());var I={padding:P.FtCssVariableFactory.create("--ft-card-padding","","SIZE","12px"),borderRadius:P.FtCssVariableFactory.extend("--ft-card-border-radius","",P.designSystemVariables.borderRadiusM),borderStyle:P.FtCssVariableFactory.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:P.FtCssVariableFactory.extend("--ft-card-border-color","",P.designSystemVariables.colorOutline),hoverBorderColor:P.FtCssVariableFactory.extend("--ft-card-hover-border-color","",P.designSystemVariables.colorPrimary),outlineStyle:P.FtCssVariableFactory.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:P.FtCssVariableFactory.create("--ft-card-outline-width","","SIZE","0"),outlineColor:P.FtCssVariableFactory.extend("--ft-card-outline-color","",P.designSystemVariables.colorPrimary),selectedOutlineStyle:P.FtCssVariableFactory.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:P.FtCssVariableFactory.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:P.FtCssVariableFactory.extend("--ft-card-selected-outline-color","",P.designSystemVariables.colorPrimary),selectedBorderRadius:P.FtCssVariableFactory.extend("--ft-card-selected-border-radius","",P.designSystemVariables.borderRadiusM),colorSurface:P.FtCssVariableFactory.extend("--ft-card-background-color","",P.designSystemVariables.colorSurface),colorOnSurfaceMedium:P.FtCssVariableFactory.extend("--ft-card-content-color","",P.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceHigh:P.FtCssVariableFactory.extend("--ft-card-title-color","",P.designSystemVariables.colorOnSurfaceHigh),elevation02:P.FtCssVariableFactory.extend("--ft-card-elevation","",P.designSystemVariables.elevation02),elevation04:P.FtCssVariableFactory.extend("--ft-card-selected-elevation","",P.designSystemVariables.elevation04)},Di=$i.css`
|
|
248
240
|
:host {
|
|
249
241
|
display: block;
|
|
250
242
|
}
|
|
251
243
|
|
|
252
244
|
#container {
|
|
253
|
-
padding: ${
|
|
254
|
-
outline-style: ${
|
|
255
|
-
outline-width: ${
|
|
256
|
-
outline-color: ${
|
|
257
|
-
border-color: ${
|
|
258
|
-
border-style: ${
|
|
245
|
+
padding: ${I.padding};
|
|
246
|
+
outline-style: ${I.outlineStyle};
|
|
247
|
+
outline-width: ${I.outlineWidth};
|
|
248
|
+
outline-color: ${I.outlineColor};
|
|
249
|
+
border-color: ${I.borderColor};
|
|
250
|
+
border-style: ${I.borderStyle};
|
|
259
251
|
border-width: 1px;
|
|
260
|
-
border-radius: ${
|
|
261
|
-
${
|
|
262
|
-
box-shadow: ${
|
|
252
|
+
border-radius: ${I.borderRadius};
|
|
253
|
+
${(0,P.setVariable)(A.borderRadius,I.borderRadius)};
|
|
254
|
+
box-shadow: ${I.elevation02};
|
|
263
255
|
position: relative;
|
|
264
256
|
width: 100%;
|
|
265
257
|
height: 100%;
|
|
@@ -271,7 +263,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
271
263
|
grid-template-rows: max-content minmax(0, 1fr);
|
|
272
264
|
grid-gap: 8px;
|
|
273
265
|
box-sizing: border-box;
|
|
274
|
-
background-color: ${
|
|
266
|
+
background-color: ${I.colorSurface};
|
|
275
267
|
transition: box-shadow 0.2s linear, color 0.2s linear;
|
|
276
268
|
}
|
|
277
269
|
|
|
@@ -284,12 +276,12 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
284
276
|
}
|
|
285
277
|
|
|
286
278
|
#container.selected {
|
|
287
|
-
outline-style: ${
|
|
288
|
-
outline-width: ${
|
|
289
|
-
outline-color: ${
|
|
290
|
-
border-radius: ${
|
|
291
|
-
${
|
|
292
|
-
box-shadow: ${
|
|
279
|
+
outline-style: ${I.selectedOutlineStyle};
|
|
280
|
+
outline-width: ${I.selectedOutlineWidth};
|
|
281
|
+
outline-color: ${I.selectedOutlineColor};
|
|
282
|
+
border-radius: ${I.selectedBorderRadius};
|
|
283
|
+
${(0,P.setVariable)(A.borderRadius,I.selectedBorderRadius)};
|
|
284
|
+
box-shadow: ${I.elevation04};
|
|
293
285
|
}
|
|
294
286
|
|
|
295
287
|
#container.clickable {
|
|
@@ -297,8 +289,8 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
297
289
|
}
|
|
298
290
|
|
|
299
291
|
#container.clickable:hover {
|
|
300
|
-
box-shadow: ${
|
|
301
|
-
border-color: ${
|
|
292
|
+
box-shadow: ${I.elevation04};
|
|
293
|
+
border-color: ${I.hoverBorderColor};
|
|
302
294
|
}
|
|
303
295
|
|
|
304
296
|
#header {
|
|
@@ -309,24 +301,24 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
309
301
|
text-overflow: ellipsis;
|
|
310
302
|
overflow: hidden;
|
|
311
303
|
word-break: break-word;
|
|
312
|
-
color: ${
|
|
304
|
+
color: ${I.colorOnSurfaceHigh};
|
|
313
305
|
}
|
|
314
306
|
|
|
315
307
|
#content {
|
|
316
308
|
word-break: break-word;
|
|
317
309
|
min-width: 0; /* like with flexbox, some items have a hard time shrinking when necessary */
|
|
318
310
|
grid-area: content;
|
|
319
|
-
color: ${
|
|
311
|
+
color: ${I.colorOnSurfaceMedium};
|
|
320
312
|
}
|
|
321
313
|
|
|
322
314
|
#action {
|
|
323
315
|
grid-area: actions;
|
|
324
316
|
}
|
|
325
|
-
`;var
|
|
326
|
-
<div id="container" part="container" class=${
|
|
327
|
-
${this.clickable?
|
|
317
|
+
`;var Fi=u(Ne()),io=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(a=(n<3?l(a):n>3?l(o,r,a):l(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},Rt=class extends Wi.FtLitElement{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1}render(){let o={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader};return _e.html`
|
|
318
|
+
<div id="container" part="container" class=${(0,Fi.classMap)(o)}>
|
|
319
|
+
${this.clickable?_e.html`
|
|
328
320
|
<ft-ripple primary ?selected=${this.selected}></ft-ripple>
|
|
329
|
-
`:
|
|
321
|
+
`:_e.nothing}
|
|
330
322
|
<div id="header" part="header">
|
|
331
323
|
<ft-typography class="title" element="span" variant="title">${this.title}</ft-typography>
|
|
332
324
|
<slot name="header"></slot>
|
|
@@ -340,7 +332,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
340
332
|
</ft-typography>
|
|
341
333
|
</div>
|
|
342
334
|
</div>
|
|
343
|
-
`}}
|
|
335
|
+
`}};Rt.elementDefinitions={"ft-ripple":U,"ft-typography":it};Rt.styles=Di;io([(0,Be.property)()],Rt.prototype,"title",void 0);io([(0,Be.property)({type:Boolean})],Rt.prototype,"clickable",void 0);io([(0,Be.property)({type:Boolean})],Rt.prototype,"selected",void 0);io([(0,Be.property)({type:Boolean})],Rt.prototype,"noHeader",void 0);(0,Hi.customElement)("ft-card")(Rt);var Mn=u(O());var mo=u(D()),ft=u(pt()),Hn=u(Ne()),bo=u(O());var ji=u(O());var Ue=u(D()),re=u(pt()),Vi=u(O()),Zi=u(zi());var no;(function(e){e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.STAR="",e.STAR_PLAIN="",e.DESKTOP="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.ARROW_RIGHT_TO_LINE="",e.THIN_ARROW_UP="",e.CONTEXTUAL="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_NORMALIZED="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.UNSTRUCTURED_DOC="",e.RESET="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.MY_COLLECTIONS="",e.OFFLINE_SETTINGS="",e.MY_LIBRARY="",e.RATE_PLAIN="",e.RATE="",e.FEEDBACK_PLAIN="",e.PAUSE="",e.PLAY="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.SHORTCUT_MENU="",e.PRINT="",e.DEFAULT_ROLES="",e.ACCOUNT_SETTINGS="",e.ONLINE="",e.OFFLINE="",e.UPLOAD="",e.BOOK_PLAIN="",e.SYNC="",e.SHARED_PBK="",e.COLLECTIONS="",e.SEARCH_IN_PUBLICATION="",e.BOOKS="",e.LOCKER="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SAVE="",e.MAILS_AND_NOTIFICATIONS="",e.DOT="",e.MINUS="",e.PLUS="",e.FILTERS="",e.STRIPE_ARROW_RIGHT="",e.STRIPE_ARROW_LEFT="",e.ATTACHMENTS="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.EXPORT="",e.MENU="",e.TAG="",e.TAG_PLAIN="",e.COPY_TO_CLIPBOARD="",e.COLUMNS="",e.ARTICLE="",e.CLOSE="",e.OCTAGON_XMARK="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.LOGOUT="",e.SIGN_IN="",e.THIN_ARROW="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.FACET_HAS_DESCENDANT="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.INFO="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.SHARE="󨃱",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.EXTLINK="",e.EXTLINK_LIGHT="",e.CALENDAR="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.TOPICS="",e.EYE="",e.EYE_SLASH="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN_THEME="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.HOME="",e.TRANSLATE="",e.USER="",e.ADMIN="",e.ANALYTICS="",e.ADMIN_KHUB="",e.ADMIN_USERS="",e.ADMIN_INTEGRATION="",e.ADMIN_PORTAL="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.PIP="",e.PIP_WIDE="",e.EXPAND_WIDE="",e.X_MARK="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CONSUMER="",e.HOURGLASS_HALF="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE=""})(no||(no={}));var m;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(m||(m={}));var Ed=new Map([...["abw"].map(e=>[e,m.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,m.AUDIO]),...["avi"].map(e=>[e,m.AVI]),...["chm","xhs"].map(e=>[e,m.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,m.CODE]),...["csv"].map(e=>[e,m.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,m.DITA]),...["epub"].map(e=>[e,m.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,m.EXCEL]),...["flac"].map(e=>[e,m.FLAC]),...["gif"].map(e=>[e,m.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,m.GZIP]),...["html","htm","xhtml"].map(e=>[e,m.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,m.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,m.JPEG]),...["json"].map(e=>[e,m.JSON]),...["m4a","m4p"].map(e=>[e,m.M4A]),...["mov","qt"].map(e=>[e,m.MOV]),...["mp3"].map(e=>[e,m.MP3]),...["mp4","m4v"].map(e=>[e,m.MP4]),...["ogg","oga"].map(e=>[e,m.OGG]),...["pdf","ps"].map(e=>[e,m.PDF]),...["png"].map(e=>[e,m.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,m.POWERPOINT]),...["rar"].map(e=>[e,m.RAR]),...["stp"].map(e=>[e,m.STP]),...["txt","rtf","md","mdown"].map(e=>[e,m.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,m.VIDEO]),...["wav"].map(e=>[e,m.WAV]),...["wma"].map(e=>[e,m.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,m.WORD]),...["xml","xsl","rdf"].map(e=>[e,m.XML]),...["yaml","yml","x-yaml"].map(e=>[e,m.YAML]),...["zip"].map(e=>[e,m.ZIP])]);var Ad={[m.ABW]:"#91ABC6",[m.AUDIO]:"#1795E3",[m.AVI]:"#E63324",[m.CHM]:"#71C3EB",[m.CODE]:"#71C3EB",[m.CSV]:"#1F7345",[m.DITA]:"#71C3EB",[m.EPUB]:"#85B926",[m.EXCEL]:"#1F7345",[m.FLAC]:"#1795E3",[m.GIF]:"#59B031",[m.GZIP]:"#F8AB36",[m.HTML]:"#71C3EB",[m.IMAGE]:"#59B031",[m.JPEG]:"#59B031",[m.JSON]:"#71C3EB",[m.M4A]:"#1795E3",[m.MOV]:"#E63324",[m.MP3]:"#1795E3",[m.MP4]:"#E63324",[m.OGG]:"#1795E3",[m.PDF]:"#E44948",[m.PNG]:"#59B031",[m.POWERPOINT]:"#B54A2B",[m.RAR]:"#F8AB36",[m.STP]:"#3764B1",[m.TEXT]:"#3162AB",[m.UNKNOWN]:"#999999",[m.VIDEO]:"#E63324",[m.WAV]:"#1795E3",[m.WMA]:"#1795E3",[m.WORD]:"#3162AB",[m.XML]:"#71C3EB",[m.YAML]:"#71C3EB",[m.ZIP]:"#F8AB36"};var Gi=u(D()),Wt=u(O()),st={size:Wt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Wt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Wt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Wt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Wt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Wt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Wt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Wt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ki=Gi.css`
|
|
344
336
|
:host, i.ft-icon {
|
|
345
337
|
display: inline-flex;
|
|
346
338
|
align-items: center;
|
|
@@ -349,14 +341,14 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
349
341
|
}
|
|
350
342
|
|
|
351
343
|
:host {
|
|
352
|
-
width: ${
|
|
353
|
-
height: ${
|
|
344
|
+
width: ${st.size};
|
|
345
|
+
height: ${st.size};
|
|
354
346
|
}
|
|
355
347
|
|
|
356
348
|
i.ft-icon {
|
|
357
349
|
width: 100%;
|
|
358
350
|
height: 100%;
|
|
359
|
-
font-size: ${
|
|
351
|
+
font-size: ${st.size};
|
|
360
352
|
line-height: 1;
|
|
361
353
|
font-weight: normal;
|
|
362
354
|
text-transform: none;
|
|
@@ -367,33 +359,33 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
367
359
|
text-rendering: auto;
|
|
368
360
|
-webkit-font-smoothing: antialiased;
|
|
369
361
|
-moz-osx-font-smoothing: grayscale;
|
|
370
|
-
vertical-align: ${
|
|
362
|
+
vertical-align: ${st.verticalAlign};
|
|
371
363
|
}
|
|
372
364
|
|
|
373
365
|
i.ft-icon.ft-icon--fluid-topics {
|
|
374
|
-
font-family: ${
|
|
366
|
+
font-family: ${st.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
375
367
|
|
|
376
368
|
/* Ugly fix because font is broken */
|
|
377
|
-
font-size: calc(0.75 * ${
|
|
378
|
-
line-height: ${
|
|
369
|
+
font-size: calc(0.75 * ${st.size});
|
|
370
|
+
line-height: ${st.size};
|
|
379
371
|
position: relative;
|
|
380
372
|
top: -4%;
|
|
381
373
|
justify-content: center;
|
|
382
374
|
}
|
|
383
375
|
|
|
384
376
|
.ft-icon--file-format {
|
|
385
|
-
font-family: ${
|
|
377
|
+
font-family: ${st.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
386
378
|
}
|
|
387
379
|
|
|
388
380
|
.ft-icon--material {
|
|
389
|
-
font-family: ${
|
|
381
|
+
font-family: ${st.materialFontFamily}, "Material Icons", sans-serif;
|
|
390
382
|
}
|
|
391
|
-
`;var
|
|
392
|
-
<i class="ft-icon ft-icon--${
|
|
393
|
-
${
|
|
394
|
-
<slot ?hidden=${
|
|
383
|
+
`;var Zt;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Zt||(Zt={}));var ao=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(a=(n<3?l(a):n>3?l(o,r,a):l(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},lt=class extends Vi.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Ue.nothing}render(){let o=this.variant&&Object.values(Zt).includes(this.variant)?this.variant:Zt.fluid_topics,r=o!==Zt.material||!!this.value;return Ue.html`
|
|
384
|
+
<i class="ft-icon ft-icon--${o}" part="icon icon-${o}">
|
|
385
|
+
${(0,Zi.unsafeHTML)(this.resolvedIcon)}
|
|
386
|
+
<slot ?hidden=${r}></slot>
|
|
395
387
|
</i>
|
|
396
|
-
`}get textContent(){var
|
|
388
|
+
`}get textContent(){var o,r;return(r=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(o){super.update(o),["value","variant"].some(r=>o.has(r))&&this.resolveIcon()}resolveIcon(){var o,r;let i=this.value||this.textContent;switch(this.variant){case Zt.file_format:this.resolvedIcon=(o=m[i.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:i;break;case Zt.material:this.resolvedIcon=this.value||Ue.nothing;break;default:this.resolvedIcon=(r=no[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(o){super.firstUpdated(o),setTimeout(()=>this.resolveIcon())}};lt.elementDefinitions={};lt.styles=Ki;ao([(0,re.property)()],lt.prototype,"variant",void 0);ao([(0,re.property)()],lt.prototype,"value",void 0);ao([(0,re.state)()],lt.prototype,"resolvedIcon",void 0);ao([(0,re.query)("slot")],lt.prototype,"slottedContent",void 0);(0,ji.customElement)("ft-icon")(lt);var yo=u(D()),L=u(O());var tr=u(O());var Ge=u(pt()),kn=u(O());var Ji=u(D()),R=u(O());var qi=u(D()),$e=u(O()),yt={color:$e.FtCssVariableFactory.extend("--ft-loader-color","",$e.designSystemVariables.colorPrimary),size:$e.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Yi=qi.css`
|
|
397
389
|
:host {
|
|
398
390
|
line-height: 0;
|
|
399
391
|
}
|
|
@@ -402,8 +394,8 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
402
394
|
display: inline-block;
|
|
403
395
|
position: relative;
|
|
404
396
|
|
|
405
|
-
width: ${
|
|
406
|
-
height: ${
|
|
397
|
+
width: ${yt.size};
|
|
398
|
+
height: ${yt.size};
|
|
407
399
|
}
|
|
408
400
|
|
|
409
401
|
.ft-loader div {
|
|
@@ -412,7 +404,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
412
404
|
width: 25%;
|
|
413
405
|
height: 25%;
|
|
414
406
|
border-radius: 50%;
|
|
415
|
-
background: ${
|
|
407
|
+
background: ${yt.color};
|
|
416
408
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
417
409
|
}
|
|
418
410
|
|
|
@@ -459,10 +451,10 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
459
451
|
transform: translate(0, 0);
|
|
460
452
|
}
|
|
461
453
|
100% {
|
|
462
|
-
transform: translate(calc(0.35 * ${
|
|
454
|
+
transform: translate(calc(0.35 * ${yt.size}), 0);
|
|
463
455
|
}
|
|
464
456
|
}
|
|
465
|
-
|
|
457
|
+
`;var Xi=R.FtCssVariableFactory.extend("--ft-button-color","",R.designSystemVariables.colorPrimary),$={backgroundColor:R.FtCssVariableFactory.extend("--ft-button-background-color","",R.designSystemVariables.colorSurface),borderRadius:R.FtCssVariableFactory.extend("--ft-button-border-radius","",R.designSystemVariables.borderRadiusL),color:Xi,fontSize:R.FtCssVariableFactory.extend("--ft-button-font-size","",Pt.fontSize),iconSize:R.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:R.FtCssVariableFactory.extend("--ft-button-ripple-color","",Xi),verticalPadding:R.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:R.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:R.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:R.FtCssVariableFactory.external(R.designSystemVariables.colorOpacityDisabled,"Design system")},Qi=R.FtCssVariableFactory.extend("--ft-button-primary-color","",R.FtCssVariableFactory.extend("--ft-button-color","",R.designSystemVariables.colorOnPrimary)),zo={backgroundColor:R.FtCssVariableFactory.extend("--ft-button-primary-background-color","",R.FtCssVariableFactory.extend("--ft-button-background-color","",R.designSystemVariables.colorPrimary)),color:Qi,rippleColor:R.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Qi)},kt={borderRadius:R.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",R.FtCssVariableFactory.extend("--ft-button-border-radius","",R.designSystemVariables.borderRadiusM)),verticalPadding:R.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:R.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:R.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},tn=[Ji.css`
|
|
466
458
|
:host {
|
|
467
459
|
display: inline-block;
|
|
468
460
|
max-width: 100%;
|
|
@@ -473,7 +465,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
473
465
|
box-shadow: 0px 0px 0px transparent;
|
|
474
466
|
border: 0px solid transparent;
|
|
475
467
|
text-shadow: 0px 0px 0px transparent;
|
|
476
|
-
font-size: ${
|
|
468
|
+
font-size: ${$.fontSize};
|
|
477
469
|
}
|
|
478
470
|
|
|
479
471
|
button:hover {
|
|
@@ -502,31 +494,31 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
502
494
|
border: none;
|
|
503
495
|
pointer-events: auto;
|
|
504
496
|
|
|
505
|
-
--ft-button-internal-line-height: max(calc(${
|
|
506
|
-
--ft-button-internal-color: ${
|
|
507
|
-
${
|
|
508
|
-
${
|
|
497
|
+
--ft-button-internal-line-height: max(calc(${$.fontSize} + 2px), ${$.iconSize});
|
|
498
|
+
--ft-button-internal-color: ${$.color};
|
|
499
|
+
${(0,R.setVariable)(st.size,$.iconSize)};
|
|
500
|
+
${(0,R.setVariable)(A.color,$.rippleColor)};
|
|
509
501
|
|
|
510
|
-
border-radius: ${
|
|
511
|
-
padding: ${
|
|
512
|
-
background-color: ${
|
|
502
|
+
border-radius: ${$.borderRadius};
|
|
503
|
+
padding: ${$.verticalPadding} ${$.horizontalPadding};
|
|
504
|
+
background-color: ${$.backgroundColor};
|
|
513
505
|
color: var(--ft-button-internal-color);
|
|
514
506
|
-webkit-mask-image: radial-gradient(white, black);
|
|
515
507
|
}
|
|
516
508
|
|
|
517
509
|
.ft-button.ft-button--outlined {
|
|
518
510
|
border: 1px solid var(--ft-button-internal-color);
|
|
519
|
-
padding: calc(${
|
|
511
|
+
padding: calc(${$.verticalPadding} - 1px) calc(${$.horizontalPadding} - 1px);
|
|
520
512
|
}
|
|
521
513
|
|
|
522
514
|
.ft-button.ft-button--dense {
|
|
523
|
-
padding: ${
|
|
524
|
-
border-radius: ${
|
|
525
|
-
gap: ${
|
|
515
|
+
padding: ${kt.verticalPadding} ${kt.horizontalPadding};
|
|
516
|
+
border-radius: ${kt.borderRadius};
|
|
517
|
+
gap: ${kt.iconPadding};
|
|
526
518
|
}
|
|
527
519
|
|
|
528
520
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
529
|
-
padding: calc(${
|
|
521
|
+
padding: calc(${kt.verticalPadding} - 1px) calc(${kt.horizontalPadding} - 1px);
|
|
530
522
|
}
|
|
531
523
|
|
|
532
524
|
.ft-button:not([disabled]):hover {
|
|
@@ -534,22 +526,22 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
534
526
|
}
|
|
535
527
|
|
|
536
528
|
.ft-button--round {
|
|
537
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
529
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${$.verticalPadding});
|
|
538
530
|
}
|
|
539
531
|
|
|
540
532
|
.ft-button--round.ft-button--dense {
|
|
541
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
533
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${kt.verticalPadding});
|
|
542
534
|
}
|
|
543
535
|
|
|
544
536
|
.ft-button[disabled] {
|
|
545
537
|
filter: grayscale(1);
|
|
546
|
-
opacity: ${
|
|
538
|
+
opacity: ${$.opacityDisabled};
|
|
547
539
|
}
|
|
548
540
|
|
|
549
541
|
.ft-button.ft-button--primary {
|
|
550
|
-
background-color: ${
|
|
551
|
-
--ft-button-internal-color: ${
|
|
552
|
-
${
|
|
542
|
+
background-color: ${zo.backgroundColor};
|
|
543
|
+
--ft-button-internal-color: ${zo.color};
|
|
544
|
+
${(0,R.setVariable)(A.color,zo.rippleColor)};
|
|
553
545
|
}
|
|
554
546
|
|
|
555
547
|
.ft-button:focus {
|
|
@@ -562,44 +554,43 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
562
554
|
white-space: nowrap;
|
|
563
555
|
text-overflow: ellipsis;
|
|
564
556
|
display: block;
|
|
565
|
-
margin: 0 ${
|
|
566
|
-
${
|
|
567
|
-
${
|
|
557
|
+
margin: 0 ${$.iconPadding};
|
|
558
|
+
${(0,R.setVariable)(Pt.fontSize,"1em")};
|
|
559
|
+
${(0,R.setVariable)(Pt.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
568
560
|
}
|
|
569
561
|
|
|
570
562
|
.ft-button--dense .ft-button--label {
|
|
571
|
-
margin: 0 ${
|
|
563
|
+
margin: 0 ${kt.iconPadding};
|
|
572
564
|
}
|
|
573
565
|
|
|
574
566
|
.ft-button--label[hidden] {
|
|
575
567
|
display: none;
|
|
576
568
|
}
|
|
577
569
|
|
|
578
|
-
|
|
570
|
+
[part="icon"] {
|
|
579
571
|
flex-shrink: 0;
|
|
580
572
|
position: relative;
|
|
581
573
|
}
|
|
582
574
|
|
|
583
|
-
.ft-button--label[hidden] +
|
|
584
|
-
margin: 0 calc(${
|
|
585
|
-
padding: 0 ${
|
|
575
|
+
.ft-button--label[hidden] + [part="icon"] {
|
|
576
|
+
margin: 0 calc(${$.horizontalPadding} * -1);
|
|
577
|
+
padding: 0 ${$.verticalPadding};
|
|
586
578
|
}
|
|
587
579
|
|
|
588
|
-
.ft-button--dense .ft-button--label[hidden] +
|
|
589
|
-
margin: 0 calc(${
|
|
590
|
-
padding: 0 ${
|
|
580
|
+
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
581
|
+
margin: 0 calc(${kt.horizontalPadding} * -1);
|
|
582
|
+
padding: 0 ${kt.verticalPadding};
|
|
591
583
|
}
|
|
592
584
|
|
|
593
|
-
.ft-button:not(.ft-button--trailing-icon)
|
|
594
|
-
|
|
595
|
-
order: -1;
|
|
585
|
+
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
586
|
+
order: 2;
|
|
596
587
|
}
|
|
597
588
|
|
|
598
589
|
ft-loader {
|
|
599
|
-
${
|
|
600
|
-
${
|
|
590
|
+
${(0,R.setVariable)(yt.size,$.iconSize)};
|
|
591
|
+
${(0,R.setVariable)(yt.color,"var(--ft-button-internal-color)")};
|
|
601
592
|
}
|
|
602
|
-
`,
|
|
593
|
+
`,R.noTextSelect];var Ee=u(O());var Nn=u(O());var wn=u(D()),Y=u(pt()),ze=u(O());var en=u(D()),Ft=u(O()),xe={distance:Ft.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Ft.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Ft.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Ft.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Ft.FtCssVariableFactory.external(Ft.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Ft.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},on=en.css`
|
|
603
594
|
.ft-tooltip--container {
|
|
604
595
|
display: block;
|
|
605
596
|
}
|
|
@@ -614,21 +605,21 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
614
605
|
box-sizing: border-box;
|
|
615
606
|
overflow: hidden;
|
|
616
607
|
width: max-content;
|
|
617
|
-
max-width: ${
|
|
608
|
+
max-width: ${xe.maxWidth};
|
|
618
609
|
text-align: center;
|
|
619
|
-
padding: ${
|
|
620
|
-
z-index: ${
|
|
610
|
+
padding: ${xe.distance};
|
|
611
|
+
z-index: ${xe.zIndex};
|
|
621
612
|
}
|
|
622
613
|
|
|
623
614
|
.ft-tooltip--content {
|
|
624
615
|
padding: 4px 8px;
|
|
625
|
-
border-radius: ${
|
|
626
|
-
background-color: ${
|
|
627
|
-
color: ${
|
|
616
|
+
border-radius: ${xe.borderRadiusS};
|
|
617
|
+
background-color: ${xe.backgroundColor};
|
|
618
|
+
color: ${xe.color};
|
|
628
619
|
position: relative;
|
|
629
620
|
word-break: break-word;
|
|
630
621
|
}
|
|
631
|
-
`,qo=["start","end"],Xo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+qo[0],o+"-"+qo[1])),[]),Jo=Math.min,Qo=Math.max,te=Math.round,oe=t=>({x:t,y:t}),ee={left:"right",right:"left",bottom:"top",top:"bottom"},re={start:"end",end:"start"};function ie(t,o,e){return Qo(t,Jo(o,e))}function ne(t,o){return"function"==typeof t?t(o):t}function ae(t){return t.split("-")[0]}function le(t){return t.split("-")[1]}function ce(t){return"x"===t?"y":"x"}function se(t){return"y"===t?"height":"width"}function pe(t){return["top","bottom"].includes(ae(t))?"y":"x"}function fe(t){return ce(pe(t))}function de(t){return t.replace(/left|right|bottom|top/g,(t=>ee[t]))}function he(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ue(t,o,e){let{reference:r,floating:i}=t;const n=pe(o),a=fe(o),l=se(a),c=ae(o),s="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(c){case"top":h={x:p,y:r.y-i.height};break;case"bottom":h={x:p,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(le(o)){case"start":h[a]-=d*(e&&s?-1:1);break;case"end":h[a]+=d*(e&&s?-1:1)}return h}async function ge(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=ne(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}}(h),g=l[d?"floating"===f?"reference":"floating":f],y=he(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:s,rootBoundary:p,strategy:c})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=he(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):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 ye(t,o,e){return(t?[...e.filter((o=>le(o)===t)),...e.filter((o=>le(o)!==t))]:e.filter((t=>ae(t)===t))).filter((e=>!t||(le(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>re[t]))}(e)!==e)))}const be=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:c,elements:s}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:d=Xo,autoAlignment:h=!0,...u}=ne(t,o),g=void 0!==f||d===Xo?ye(f||null,h,d):d,y=await ge(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 r=le(t),i=fe(t),n=se(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=de(a)),[a,de(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:g[0]}};const v=[y[ae(m)],y[x[0]],y[x[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.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=le(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=N.filter((t=>t[2].slice(0,le(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||N[0][0];return C!==l?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function me(t){return Oe(t)?(t.nodeName||"").toLowerCase():"#document"}function xe(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function ve(t){var o;return null==(o=(Oe(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Oe(t){return t instanceof Node||t instanceof xe(t).Node}function Se(t){return t instanceof Element||t instanceof xe(t).Element}function Ne(t){return t instanceof HTMLElement||t instanceof xe(t).HTMLElement}function we(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof xe(t).ShadowRoot)}function Ce(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Ue(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function Ee(t){return["table","td","th"].includes(me(t))}function $e(t){const o=Ie(),e=Ue(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 Ie(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Re(t){return["html","body","#document"].includes(me(t))}function Ue(t){return xe(t).getComputedStyle(t)}function ke(t){return Se(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function We(t){if("html"===me(t))return t;const o=t.assignedSlot||t.parentNode||we(t)&&t.host||ve(t);return we(o)?o.host:o}function Le(t){const o=We(t);return Re(o)?t.ownerDocument?t.ownerDocument.body:t.body:Ne(o)&&Ce(o)?o:Le(o)}function ze(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=Le(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=xe(i);return n?o.concat(a,a.visualViewport||[],Ce(i)?i:[],a.frameElement&&e?ze(a.frameElement):[]):o.concat(i,ze(i,[],e))}function Ze(t){const o=Ue(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Ne(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=te(e)!==n||te(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function Ke(t){return Se(t)?t:t.contextElement}function Ae(t){const o=Ke(t);if(!Ne(o))return oe(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=Ze(o);let a=(n?te(e.width):e.width)/r,l=(n?te(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Be=oe(0);function De(t){const o=xe(t);return Ie()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Be}function Fe(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=Ke(t);let a=oe(1);o&&(r?Se(r)&&(a=Ae(r)):a=Ae(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==xe(t))&&o}(n,e,r)?De(n):oe(0);let c=(i.left+l.x)/a.x,s=(i.top+l.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=xe(n),o=r&&Se(r)?xe(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Ae(e),o=e.getBoundingClientRect(),r=Ue(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,p*=t.x,f*=t.y,c+=i,s+=n,e=xe(e).frameElement}}return he({width:p,height:f,x:c,y:s})}function Te(t){return Fe(ve(t)).left+ke(t).scrollLeft}function He(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=xe(t),r=ve(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,c=0;if(i){n=i.width,a=i.height;const t=Ie();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=ve(t),e=ke(t),r=t.ownerDocument.body,i=Qo(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Qo(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Te(t);const l=-e.scrollTop;return"rtl"===Ue(r).direction&&(a+=Qo(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(ve(t));else if(Se(o))r=function(t,o){const e=Fe(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Ne(t)?Ae(t):oe(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=De(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return he(r)}function Pe(t,o){const e=We(t);return!(e===o||!Se(e)||Re(e))&&("fixed"===Ue(e).position||Pe(e,o))}function Me(t,o,e){const r=Ne(o),i=ve(o),n="fixed"===e,a=Fe(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const c=oe(0);if(r||!r&&!n)if(("body"!==me(o)||Ce(i))&&(l=ke(o)),r){const t=Fe(o,!0,n,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=Te(i));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function _e(t,o){return Ne(t)&&"fixed"!==Ue(t).position?o?o(t):t.offsetParent:null}function je(t,o){const e=xe(t);if(!Ne(t))return e;let r=_e(t,o);for(;r&&Ee(r)&&"static"===Ue(r).position;)r=_e(r,o);return r&&("html"===me(r)||"body"===me(r)&&"static"===Ue(r).position&&!$e(r))?e:r||function(t){let o=We(t);for(;Ne(o)&&!Re(o);){if($e(o))return o;o=We(o)}return null}(t)||e}const Ge={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Ne(e),n=ve(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=oe(1);const c=oe(0);if((i||!i&&"fixed"!==r)&&(("body"!==me(e)||Ce(n))&&(a=ke(e)),Ne(e))){const t=Fe(e);l=Ae(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+c.x,y:o.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:ve,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=ze(t,[],!1).filter((t=>Se(t)&&"body"!==me(t))),i=null;const n="fixed"===Ue(t).position;let a=n?We(t):t;for(;Se(a)&&!Re(a);){const o=Ue(a),e=$e(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Ce(a)&&!e&&Pe(t,a))?r=r.filter((t=>t!==a)):i=o,a=We(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],l=n.reduce(((t,e)=>{const r=He(o,e,i);return t.top=Qo(r.top,t.top),t.right=Jo(r.right,t.right),t.bottom=Jo(r.bottom,t.bottom),t.left=Qo(r.left,t.left),t}),He(o,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:je,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||je,n=this.getDimensions;return{reference:Me(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ze(t)},getScale:Ae,isElement:Se,isRTL:function(t){return"rtl"===Ue(t).direction}},Ye=(t,o,e)=>{const r=new Map,i={platform:Ge,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let s=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=ue(s,r,c),d=r,h={},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:p,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:s,platform:a,elements:{reference:t,floating:o}});p=null!=y?y:p,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=ue(s,d,c))),e=-1)}return{x:p,y:f,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function Ve(t){return function(t){for(let o=t;o;o=qe(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=qe(t);o;o=qe(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 qe(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Xe=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Je 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`
|
|
622
|
+
`;var nn=["top","right","bottom","left"],rn=["start","end"],Ko=nn.reduce((e,o)=>e.concat(o,o+"-"+rn[0],o+"-"+rn[1]),[]),De=Math.min,jt=Math.max,We=Math.round;var Ht=e=>({x:e,y:e}),za={left:"right",right:"left",bottom:"top",top:"bottom"},Ga={start:"end",end:"start"};function Vo(e,o,r){return jt(e,De(o,r))}function so(e,o){return typeof e=="function"?e(o):e}function Se(e){return e.split("-")[0]}function qt(e){return e.split("-")[1]}function Zo(e){return e==="x"?"y":"x"}function jo(e){return e==="y"?"height":"width"}function lo(e){return["top","bottom"].includes(Se(e))?"y":"x"}function qo(e){return Zo(lo(e))}function an(e,o,r){r===void 0&&(r=!1);let i=qt(e),n=qo(e),a=jo(n),l=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[a]>o.floating[a]&&(l=Go(l)),[l,Go(l)]}function sn(e){return e.replace(/start|end/g,o=>Ga[o])}function Go(e){return e.replace(/left|right|bottom|top/g,o=>za[o])}function Ka(e){return{top:0,right:0,bottom:0,left:0,...e}}function ln(e){return typeof e!="number"?Ka(e):{top:e,right:e,bottom:e,left:e}}function ie(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function cn(e,o,r){let{reference:i,floating:n}=e,a=lo(o),l=qo(o),p=jo(l),f=Se(o),h=a==="y",b=i.x+i.width/2-n.width/2,S=i.y+i.height/2-n.height/2,T=i[p]/2-n[p]/2,w;switch(f){case"top":w={x:b,y:i.y-n.height};break;case"bottom":w={x:b,y:i.y+i.height};break;case"right":w={x:i.x+i.width,y:S};break;case"left":w={x:i.x-n.width,y:S};break;default:w={x:i.x,y:i.y}}switch(qt(o)){case"start":w[l]-=T*(r&&h?-1:1);break;case"end":w[l]+=T*(r&&h?-1:1);break}return w}var pn=async(e,o,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:l}=r,p=a.filter(Boolean),f=await(l.isRTL==null?void 0:l.isRTL(o)),h=await l.getElementRects({reference:e,floating:o,strategy:n}),{x:b,y:S}=cn(h,i,f),T=i,w={},k=0;for(let F=0;F<p.length;F++){let{name:H,fn:W}=p[F],{x:z,y:et,data:at,reset:X}=await W({x:b,y:S,initialPlacement:i,placement:T,strategy:n,middlewareData:w,rects:h,platform:l,elements:{reference:e,floating:o}});if(b=z??b,S=et??S,w={...w,[H]:{...w[H],...at}},X&&k<=50){k++,typeof X=="object"&&(X.placement&&(T=X.placement),X.rects&&(h=X.rects===!0?await l.getElementRects({reference:e,floating:o,strategy:n}):X.rects),{x:b,y:S}=cn(h,T,f)),F=-1;continue}}return{x:b,y:S,placement:T,strategy:n,middlewareData:w}};async function Yo(e,o){var r;o===void 0&&(o={});let{x:i,y:n,platform:a,rects:l,elements:p,strategy:f}=e,{boundary:h="clippingAncestors",rootBoundary:b="viewport",elementContext:S="floating",altBoundary:T=!1,padding:w=0}=so(o,e),k=ln(w),H=p[T?S==="floating"?"reference":"floating":S],W=ie(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(H)))==null||r?H:H.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(p.floating)),boundary:h,rootBoundary:b,strategy:f})),z=S==="floating"?{...l.floating,x:i,y:n}:l.reference,et=await(a.getOffsetParent==null?void 0:a.getOffsetParent(p.floating)),at=await(a.isElement==null?void 0:a.isElement(et))?await(a.getScale==null?void 0:a.getScale(et))||{x:1,y:1}:{x:1,y:1},X=ie(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:z,offsetParent:et,strategy:f}):z);return{top:(W.top-X.top+k.top)/at.y,bottom:(X.bottom-W.bottom+k.bottom)/at.y,left:(W.left-X.left+k.left)/at.x,right:(X.right-W.right+k.right)/at.x}}function Va(e,o,r){return(e?[...r.filter(n=>qt(n)===e),...r.filter(n=>qt(n)!==e)]:r.filter(n=>Se(n)===n)).filter(n=>e?qt(n)===e||(o?sn(n)!==n:!1):!0)}var Xo=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var r,i,n;let{rects:a,middlewareData:l,placement:p,platform:f,elements:h}=o,{crossAxis:b=!1,alignment:S,allowedPlacements:T=Ko,autoAlignment:w=!0,...k}=so(e,o),F=S!==void 0||T===Ko?Va(S||null,w,T):T,H=await Yo(o,k),W=((r=l.autoPlacement)==null?void 0:r.index)||0,z=F[W];if(z==null)return{};let et=an(z,a,await(f.isRTL==null?void 0:f.isRTL(h.floating)));if(p!==z)return{reset:{placement:F[0]}};let at=[H[Se(z)],H[et[0]],H[et[1]]],X=[...((i=l.autoPlacement)==null?void 0:i.overflows)||[],{placement:z,overflows:at}],Xe=F[W+1];if(Xe)return{data:{index:W+1,overflows:X},reset:{placement:Xe}};let St=X.map(d=>{let y=qt(d.placement);return[d.placement,y&&b?d.overflows.slice(0,2).reduce((E,Q)=>E+Q,0):d.overflows[0],d.overflows]}).sort((d,y)=>d[1]-y[1]),ce=((n=St.filter(d=>d[2].slice(0,qt(d[0])?2:3).every(y=>y<=0))[0])==null?void 0:n[0])||St[0][0];return ce!==p?{data:{index:W+1,overflows:X},reset:{placement:ce}}:{}}}};var Qo=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:r,y:i,placement:n}=o,{mainAxis:a=!0,crossAxis:l=!1,limiter:p={fn:H=>{let{x:W,y:z}=H;return{x:W,y:z}}},...f}=so(e,o),h={x:r,y:i},b=await Yo(o,f),S=lo(Se(n)),T=Zo(S),w=h[T],k=h[S];if(a){let H=T==="y"?"top":"left",W=T==="y"?"bottom":"right",z=w+b[H],et=w-b[W];w=Vo(z,w,et)}if(l){let H=S==="y"?"top":"left",W=S==="y"?"bottom":"right",z=k+b[H],et=k-b[W];k=Vo(z,k,et)}let F=p.fn({...o,[T]:w,[S]:k});return{...F,data:{x:F.x-r,y:F.y-i}}}}};function Mt(e){return fn(e)?(e.nodeName||"").toLowerCase():"#document"}function mt(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function zt(e){var o;return(o=(fn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function fn(e){return e instanceof Node||e instanceof mt(e).Node}function _t(e){return e instanceof Element||e instanceof mt(e).Element}function Nt(e){return e instanceof HTMLElement||e instanceof mt(e).HTMLElement}function dn(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof mt(e).ShadowRoot}function ve(e){let{overflow:o,overflowX:r,overflowY:i,display:n}=vt(e);return/auto|scroll|overlay|hidden|clip/.test(o+i+r)&&!["inline","contents"].includes(n)}function un(e){return["table","td","th"].includes(Mt(e))}function po(e){let o=fo(),r=vt(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!o&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!o&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function hn(e){let o=ne(e);for(;Nt(o)&&!Fe(o);){if(po(o))return o;o=ne(o)}return null}function fo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Fe(e){return["html","body","#document"].includes(Mt(e))}function vt(e){return mt(e).getComputedStyle(e)}function He(e){return _t(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ne(e){if(Mt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||dn(e)&&e.host||zt(e);return dn(o)?o.host:o}function yn(e){let o=ne(e);return Fe(o)?e.ownerDocument?e.ownerDocument.body:e.body:Nt(o)&&ve(o)?o:yn(o)}function co(e,o,r){var i;o===void 0&&(o=[]),r===void 0&&(r=!0);let n=yn(e),a=n===((i=e.ownerDocument)==null?void 0:i.body),l=mt(n);return a?o.concat(l,l.visualViewport||[],ve(n)?n:[],l.frameElement&&r?co(l.frameElement):[]):o.concat(n,co(n,[],r))}function bn(e){let o=vt(e),r=parseFloat(o.width)||0,i=parseFloat(o.height)||0,n=Nt(e),a=n?e.offsetWidth:r,l=n?e.offsetHeight:i,p=We(r)!==a||We(i)!==l;return p&&(r=a,i=l),{width:r,height:i,$:p}}function xn(e){return _t(e)?e:e.contextElement}function Ce(e){let o=xn(e);if(!Nt(o))return Ht(1);let r=o.getBoundingClientRect(),{width:i,height:n,$:a}=bn(o),l=(a?We(r.width):r.width)/i,p=(a?We(r.height):r.height)/n;return(!l||!Number.isFinite(l))&&(l=1),(!p||!Number.isFinite(p))&&(p=1),{x:l,y:p}}var Za=Ht(0);function Sn(e){let o=mt(e);return!fo()||!o.visualViewport?Za:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function ja(e,o,r){return o===void 0&&(o=!1),!r||o&&r!==mt(e)?!1:o}function Me(e,o,r,i){o===void 0&&(o=!1),r===void 0&&(r=!1);let n=e.getBoundingClientRect(),a=xn(e),l=Ht(1);o&&(i?_t(i)&&(l=Ce(i)):l=Ce(e));let p=ja(a,r,i)?Sn(a):Ht(0),f=(n.left+p.x)/l.x,h=(n.top+p.y)/l.y,b=n.width/l.x,S=n.height/l.y;if(a){let T=mt(a),w=i&&_t(i)?mt(i):i,k=T.frameElement;for(;k&&i&&w!==T;){let F=Ce(k),H=k.getBoundingClientRect(),W=vt(k),z=H.left+(k.clientLeft+parseFloat(W.paddingLeft))*F.x,et=H.top+(k.clientTop+parseFloat(W.paddingTop))*F.y;f*=F.x,h*=F.y,b*=F.x,S*=F.y,f+=z,h+=et,k=mt(k).frameElement}}return ie({width:b,height:S,x:f,y:h})}function qa(e){let{rect:o,offsetParent:r,strategy:i}=e,n=Nt(r),a=zt(r);if(r===a)return o;let l={scrollLeft:0,scrollTop:0},p=Ht(1),f=Ht(0);if((n||!n&&i!=="fixed")&&((Mt(r)!=="body"||ve(a))&&(l=He(r)),Nt(r))){let h=Me(r);p=Ce(r),f.x=h.x+r.clientLeft,f.y=h.y+r.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-l.scrollLeft*p.x+f.x,y:o.y*p.y-l.scrollTop*p.y+f.y}}function Ya(e){return Array.from(e.getClientRects())}function vn(e){return Me(zt(e)).left+He(e).scrollLeft}function Xa(e){let o=zt(e),r=He(e),i=e.ownerDocument.body,n=jt(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),a=jt(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight),l=-r.scrollLeft+vn(e),p=-r.scrollTop;return vt(i).direction==="rtl"&&(l+=jt(o.clientWidth,i.clientWidth)-n),{width:n,height:a,x:l,y:p}}function Qa(e,o){let r=mt(e),i=zt(e),n=r.visualViewport,a=i.clientWidth,l=i.clientHeight,p=0,f=0;if(n){a=n.width,l=n.height;let h=fo();(!h||h&&o==="fixed")&&(p=n.offsetLeft,f=n.offsetTop)}return{width:a,height:l,x:p,y:f}}function Ja(e,o){let r=Me(e,!0,o==="fixed"),i=r.top+e.clientTop,n=r.left+e.clientLeft,a=Nt(e)?Ce(e):Ht(1),l=e.clientWidth*a.x,p=e.clientHeight*a.y,f=n*a.x,h=i*a.y;return{width:l,height:p,x:f,y:h}}function mn(e,o,r){let i;if(o==="viewport")i=Qa(e,r);else if(o==="document")i=Xa(zt(e));else if(_t(o))i=Ja(o,r);else{let n=Sn(e);i={...o,x:o.x-n.x,y:o.y-n.y}}return ie(i)}function Cn(e,o){let r=ne(e);return r===o||!_t(r)||Fe(r)?!1:vt(r).position==="fixed"||Cn(r,o)}function ts(e,o){let r=o.get(e);if(r)return r;let i=co(e,[],!1).filter(p=>_t(p)&&Mt(p)!=="body"),n=null,a=vt(e).position==="fixed",l=a?ne(e):e;for(;_t(l)&&!Fe(l);){let p=vt(l),f=po(l);!f&&p.position==="fixed"&&(n=null),(a?!f&&!n:!f&&p.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||ve(l)&&!f&&Cn(e,l))?i=i.filter(b=>b!==l):n=p,l=ne(l)}return o.set(e,i),i}function es(e){let{element:o,boundary:r,rootBoundary:i,strategy:n}=e,l=[...r==="clippingAncestors"?ts(o,this._c):[].concat(r),i],p=l[0],f=l.reduce((h,b)=>{let S=mn(o,b,n);return h.top=jt(S.top,h.top),h.right=De(S.right,h.right),h.bottom=De(S.bottom,h.bottom),h.left=jt(S.left,h.left),h},mn(o,p,n));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function os(e){return bn(e)}function rs(e,o,r){let i=Nt(o),n=zt(o),a=r==="fixed",l=Me(e,!0,a,o),p={scrollLeft:0,scrollTop:0},f=Ht(0);if(i||!i&&!a)if((Mt(o)!=="body"||ve(n))&&(p=He(o)),i){let h=Me(o,!0,a,o);f.x=h.x+o.clientLeft,f.y=h.y+o.clientTop}else n&&(f.x=vn(n));return{x:l.left+p.scrollLeft-f.x,y:l.top+p.scrollTop-f.y,width:l.width,height:l.height}}function gn(e,o){return!Nt(e)||vt(e).position==="fixed"?null:o?o(e):e.offsetParent}function On(e,o){let r=mt(e);if(!Nt(e))return r;let i=gn(e,o);for(;i&&un(i)&&vt(i).position==="static";)i=gn(i,o);return i&&(Mt(i)==="html"||Mt(i)==="body"&&vt(i).position==="static"&&!po(i))?r:i||hn(e)||r}var is=async function(e){let{reference:o,floating:r,strategy:i}=e,n=this.getOffsetParent||On,a=this.getDimensions;return{reference:rs(o,await n(r),i),floating:{x:0,y:0,...await a(r)}}};function ns(e){return vt(e).direction==="rtl"}var uo={convertOffsetParentRelativeRectToViewportRelativeRect:qa,getDocumentElement:zt,getClippingRect:es,getOffsetParent:On,getElementRects:is,getClientRects:Ya,getDimensions:os,getScale:Ce,isElement:_t,isRTL:ns};var En=(e,o,r)=>{let i=new Map,n={platform:uo,...r},a={...n.platform,_c:i};return pn(e,o,{...n,platform:a})};function An(e){return as(e)}function Jo(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function as(e){for(let o=e;o;o=Jo(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=Jo(e);o;o=Jo(o)){if(!(o instanceof Element))continue;let r=getComputedStyle(o);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||o.tagName==="BODY"))return o}return null}async function Rn(e,o,r){return En(e,o,{platform:{...uo,getOffsetParent:i=>uo.getOffsetParent(i,An)},middleware:[Qo({crossAxis:!0}),Xo({allowedPlacements:[r]})]})}var gt=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(a=(n<3?l(a):n>3?l(o,r,a):l(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},M=class extends ze.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 ze.Debouncer,this.revealDebouncer=new ze.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return wn.html`
|
|
632
623
|
<div part="container"
|
|
633
624
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
634
625
|
@mouseenter=${this.onHover}
|
|
@@ -646,37 +637,40 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
646
637
|
</div>
|
|
647
638
|
</div>
|
|
648
639
|
</div>
|
|
649
|
-
`}updated(
|
|
640
|
+
`}updated(o){o.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(o)}contentAvailableCallback(o){super.contentAvailableCallback(o),["visible","text"].some(r=>o.has(r))&&this.visible&&this.positionTooltip()}async show(o){this.visible=!0,o!=null&&await this.hideDebounce.run(()=>{this.hide()},o)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var o;return((o=this.slotNodes)!==null&&o!==void 0?o:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let o=this.tooltipContent.style;switch(o.transition="none",this.validPosition){case"top":o.top=this.tooltip.clientHeight+"px",o.left="0";break;case"bottom":o.top=-this.tooltip.clientHeight+"px",o.left="0";break;case"left":o.top="0",o.left=this.tooltip.clientWidth+"px";break;case"right":o.top="0",o.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Rn(this.slottedElement,this.tooltip,this.position).then(({x:o,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${o}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",o=>{o.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(o,r){return Math.max(o,Math.min(0,-r))}};M.elementDefinitions={"ft-typography":it};M.styles=on;gt([(0,Y.property)()],M.prototype,"text",void 0);gt([(0,Y.property)({type:Boolean})],M.prototype,"manual",void 0);gt([(0,Y.property)({type:Boolean})],M.prototype,"inline",void 0);gt([(0,Y.property)({type:Number})],M.prototype,"delay",void 0);gt([(0,Y.property)()],M.prototype,"position",void 0);gt([(0,Y.queryAssignedNodes)()],M.prototype,"slotNodes",void 0);gt([(0,Y.query)(".ft-tooltip--container")],M.prototype,"container",void 0);gt([(0,Y.query)(".ft-tooltip")],M.prototype,"tooltip",void 0);gt([(0,Y.query)(".ft-tooltip--content")],M.prototype,"tooltipContent",void 0);gt([(0,Y.state)()],M.prototype,"visible",void 0);gt([(0,Y.eventOptions)({passive:!0})],M.prototype,"onTouch",null);gt([(0,Y.eventOptions)({passive:!0})],M.prototype,"onHover",null);gt([(0,Y.eventOptions)({passive:!0})],M.prototype,"onOut",null);gt([(0,Y.eventOptions)({passive:!0})],M.prototype,"onClick",null);(0,Nn.customElement)("ft-tooltip")(M);var Tn=u(O());var Ln=u(D()),In=u(O());var ae=class extends In.FtLitElement{render(){return Ln.html`
|
|
650
641
|
<div class="ft-loader">
|
|
651
642
|
<div></div>
|
|
652
643
|
<div></div>
|
|
653
644
|
<div></div>
|
|
654
645
|
<div></div>
|
|
655
646
|
</div>
|
|
656
|
-
`}}
|
|
647
|
+
`}};ae.styles=Yi;(0,Tn.customElement)("ft-loader")(ae);var Oe=u(D()),Pn=u(Ne()),dt=u(pt()),Ct=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(a=(n<3?l(a):n>3?l(o,r,a):l(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},j=class extends(0,Ee.toFtFormComponent)(Ee.FtLitElement,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",o=>{var r;this.isDisabled()?(o.preventDefault(),o.stopPropagation(),o.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(Oe.html`
|
|
657
648
|
<button part="button"
|
|
658
|
-
class="${
|
|
649
|
+
class="${(0,Pn.classMap)(this.buttonClasses)}"
|
|
659
650
|
aria-label="${this.getLabel()}"
|
|
660
651
|
?disabled=${this.isDisabled()}>
|
|
661
652
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
662
653
|
<ft-typography part="label"
|
|
663
654
|
variant=${this.typographyVariant}
|
|
664
655
|
element="span"
|
|
665
|
-
class="ft-button--label ${
|
|
656
|
+
class="ft-button--label ${Ee.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
666
657
|
?hidden=${!this.hasTextContent()}>
|
|
667
658
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
668
659
|
</ft-typography>
|
|
669
660
|
${this.resolveIcon()}
|
|
670
661
|
</button>
|
|
671
|
-
`)}addTooltipIfNeeded(
|
|
662
|
+
`)}addTooltipIfNeeded(o){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Oe.html`
|
|
672
663
|
<ft-tooltip part="tooltip"
|
|
673
664
|
text="${this.getLabel()}"
|
|
674
665
|
position="${this.tooltipPosition}">
|
|
675
|
-
${
|
|
666
|
+
${o}
|
|
676
667
|
</ft-tooltip>
|
|
677
|
-
`:
|
|
678
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
679
|
-
|
|
668
|
+
`:o}resolveIcon(){return this.loading?Oe.html`
|
|
669
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?Oe.html`
|
|
670
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
671
|
+
`:Oe.html`
|
|
672
|
+
<slot part="icon" name="icon"></slot>
|
|
673
|
+
`}focus(){var o;(o=this.button)===null||o===void 0||o.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(o){return o instanceof HTMLSlotElement?o.assignedNodes().map(r=>this.unslotText(r)).join(""):o?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};j.elementDefinitions={"ft-ripple":U,"ft-tooltip":M,"ft-typography":it,"ft-icon":lt,"ft-loader":ae};Ct([(0,dt.property)({type:String,reflect:!0})],j.prototype,"role",void 0);Ct([(0,dt.property)()],j.prototype,"type",void 0);Ct([(0,dt.property)({type:Boolean})],j.prototype,"disabled",void 0);Ct([(0,dt.property)()],j.prototype,"label",void 0);Ct([(0,dt.property)()],j.prototype,"icon",void 0);Ct([(0,dt.property)()],j.prototype,"iconVariant",void 0);Ct([(0,dt.property)({type:Boolean})],j.prototype,"trailingIcon",void 0);Ct([(0,dt.property)({type:Boolean})],j.prototype,"loading",void 0);Ct([(0,dt.property)()],j.prototype,"tooltipPosition",void 0);Ct([(0,dt.property)({type:Boolean})],j.prototype,"hideTooltip",void 0);Ct([(0,dt.property)({type:Boolean})],j.prototype,"forceTooltip",void 0);Ct([(0,dt.query)(".ft-button")],j.prototype,"button",void 0);Ct([(0,dt.query)(".ft-button--label slot")],j.prototype,"slottedContent",void 0);var ho=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(a=(n<3?l(a):n>3?l(o,r,a):l(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},Ot=class extends j{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};Ot.styles=[kn.safariEllipsisFix,tn];ho([(0,Ge.property)({type:Boolean})],Ot.prototype,"primary",void 0);ho([(0,Ge.property)({type:Boolean})],Ot.prototype,"outlined",void 0);ho([(0,Ge.property)({type:Boolean})],Ot.prototype,"dense",void 0);ho([(0,Ge.property)({type:Boolean})],Ot.prototype,"round",void 0);var Ae=u(pt());var Un=u(O());var _n=u(D()),_=u(O());var Bn=[_n.css`
|
|
680
674
|
:host {
|
|
681
675
|
display: inline-block;
|
|
682
676
|
max-width: 100%;
|
|
@@ -726,7 +720,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
726
720
|
}
|
|
727
721
|
|
|
728
722
|
.ft-button:focus-visible {
|
|
729
|
-
outline-color: ${
|
|
723
|
+
outline-color: ${x.focusFocusRingColor};
|
|
730
724
|
outline-style: solid;
|
|
731
725
|
}
|
|
732
726
|
|
|
@@ -755,146 +749,146 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
755
749
|
/** Primary styles **/
|
|
756
750
|
|
|
757
751
|
.ft-button--primary {
|
|
758
|
-
${
|
|
752
|
+
${(0,_.setVariable)(yt.color,x.primaryIconColor)};
|
|
759
753
|
|
|
760
|
-
${
|
|
761
|
-
${
|
|
762
|
-
${
|
|
763
|
-
${
|
|
764
|
-
${
|
|
754
|
+
${(0,_.setVariable)(A.color,x.primaryStateLayerColor)};
|
|
755
|
+
${(0,_.setVariable)(A.opacityContentOnSurfaceHover,x.primaryHoverStateLayerOpacity)};
|
|
756
|
+
${(0,_.setVariable)(A.opacityContentOnSurfaceFocused,x.primaryFocusStateLayerOpacity)};
|
|
757
|
+
${(0,_.setVariable)(A.opacityContentOnSurfaceSelected,x.primaryActiveStateLayerOpacity)};
|
|
758
|
+
${(0,_.setVariable)(A.opacityContentOnSurfacePressed,x.primaryActiveStateLayerOpacity)};
|
|
765
759
|
|
|
766
|
-
background-color: ${
|
|
767
|
-
color: ${
|
|
760
|
+
background-color: ${x.primaryBackgroundColor};
|
|
761
|
+
color: ${x.primaryColor};
|
|
768
762
|
border-style: none;
|
|
769
763
|
}
|
|
770
764
|
|
|
771
765
|
.ft-button--primary[disabled] {
|
|
772
|
-
opacity: ${
|
|
766
|
+
opacity: ${x.primaryDisabledComponentOpacity};
|
|
773
767
|
}
|
|
774
768
|
|
|
775
769
|
.ft-button--primary ft-icon {
|
|
776
|
-
color: ${
|
|
770
|
+
color: ${x.primaryIconColor};
|
|
777
771
|
}
|
|
778
772
|
|
|
779
773
|
/** Secondary styles **/
|
|
780
774
|
|
|
781
775
|
.ft-button--secondary {
|
|
782
|
-
${
|
|
776
|
+
${(0,_.setVariable)(yt.color,x.secondaryIconColor)};
|
|
783
777
|
|
|
784
|
-
${
|
|
785
|
-
${
|
|
786
|
-
${
|
|
787
|
-
${
|
|
788
|
-
${
|
|
778
|
+
${(0,_.setVariable)(A.color,x.secondaryStateLayerColor)};
|
|
779
|
+
${(0,_.setVariable)(A.opacityContentOnSurfaceHover,x.secondaryHoverStateLayerOpacity)};
|
|
780
|
+
${(0,_.setVariable)(A.opacityContentOnSurfaceFocused,x.secondaryFocusStateLayerOpacity)};
|
|
781
|
+
${(0,_.setVariable)(A.opacityContentOnSurfaceSelected,x.secondaryActiveStateLayerOpacity)};
|
|
782
|
+
${(0,_.setVariable)(A.opacityContentOnSurfacePressed,x.secondaryActiveStateLayerOpacity)};
|
|
789
783
|
|
|
790
|
-
background-color: ${
|
|
791
|
-
color: ${
|
|
792
|
-
border-color: ${
|
|
784
|
+
background-color: ${x.secondaryBackgroundColor};
|
|
785
|
+
color: ${x.secondaryColor};
|
|
786
|
+
border-color: ${x.secondaryBorderColor};
|
|
793
787
|
border-style: solid;
|
|
794
788
|
}
|
|
795
789
|
|
|
796
790
|
.ft-button--secondary[disabled] {
|
|
797
|
-
opacity: ${
|
|
791
|
+
opacity: ${x.secondaryDisabledComponentOpacity};
|
|
798
792
|
}
|
|
799
793
|
|
|
800
794
|
.ft-button--secondary ft-icon {
|
|
801
|
-
color: ${
|
|
795
|
+
color: ${x.secondaryIconColor};
|
|
802
796
|
}
|
|
803
797
|
|
|
804
798
|
/** Tertiary styles **/
|
|
805
799
|
|
|
806
800
|
.ft-button--tertiary {
|
|
807
|
-
${
|
|
801
|
+
${(0,_.setVariable)(yt.color,x.tertiaryIconColor)};
|
|
808
802
|
|
|
809
|
-
${
|
|
810
|
-
${
|
|
811
|
-
${
|
|
812
|
-
${
|
|
813
|
-
${
|
|
803
|
+
${(0,_.setVariable)(A.color,x.tertiaryStateLayerColor)};
|
|
804
|
+
${(0,_.setVariable)(A.opacityContentOnSurfaceHover,x.tertiaryHoverStateLayerOpacity)};
|
|
805
|
+
${(0,_.setVariable)(A.opacityContentOnSurfaceFocused,x.tertiaryFocusStateLayerOpacity)};
|
|
806
|
+
${(0,_.setVariable)(A.opacityContentOnSurfaceSelected,x.tertiaryActiveStateLayerOpacity)};
|
|
807
|
+
${(0,_.setVariable)(A.opacityContentOnSurfacePressed,x.tertiaryActiveStateLayerOpacity)};
|
|
814
808
|
|
|
815
|
-
background-color: ${
|
|
816
|
-
color: ${
|
|
809
|
+
background-color: ${x.tertiaryBackgroundColor};
|
|
810
|
+
color: ${x.tertiaryColor};
|
|
817
811
|
border-style: none;
|
|
818
812
|
}
|
|
819
813
|
|
|
820
814
|
.ft-button--tertiary[disabled] {
|
|
821
|
-
opacity: ${
|
|
815
|
+
opacity: ${x.tertiaryDisabledComponentOpacity};
|
|
822
816
|
}
|
|
823
817
|
|
|
824
818
|
.ft-button--tertiary ft-icon {
|
|
825
|
-
color: ${
|
|
819
|
+
color: ${x.tertiaryIconColor};
|
|
826
820
|
}
|
|
827
821
|
|
|
828
822
|
/** Neutral styles **/
|
|
829
823
|
|
|
830
824
|
.ft-button--neutral {
|
|
831
|
-
${
|
|
825
|
+
${(0,_.setVariable)(yt.color,x.neutralIconColor)};
|
|
832
826
|
|
|
833
|
-
${
|
|
834
|
-
${
|
|
835
|
-
${
|
|
836
|
-
${
|
|
837
|
-
${
|
|
827
|
+
${(0,_.setVariable)(A.backgroundColor,x.neutralStateLayerColor)};
|
|
828
|
+
${(0,_.setVariable)(A.opacityContentOnSurfaceHover,x.neutralHoverStateLayerOpacity)};
|
|
829
|
+
${(0,_.setVariable)(A.opacityContentOnSurfaceFocused,x.neutralFocusStateLayerOpacity)};
|
|
830
|
+
${(0,_.setVariable)(A.opacityContentOnSurfaceSelected,x.neutralActiveStateLayerOpacity)};
|
|
831
|
+
${(0,_.setVariable)(A.opacityContentOnSurfacePressed,x.neutralActiveStateLayerOpacity)};
|
|
838
832
|
|
|
839
|
-
background-color: ${
|
|
840
|
-
color: ${
|
|
833
|
+
background-color: ${x.neutralBackgroundColor};
|
|
834
|
+
color: ${x.neutralColor};
|
|
841
835
|
border-style: none;
|
|
842
836
|
}
|
|
843
837
|
|
|
844
838
|
.ft-button--neutral[disabled] {
|
|
845
|
-
opacity: ${
|
|
839
|
+
opacity: ${x.neutralDisabledComponentOpacity};
|
|
846
840
|
}
|
|
847
841
|
|
|
848
842
|
.ft-button--neutral ft-icon {
|
|
849
|
-
color: ${
|
|
843
|
+
color: ${x.neutralIconColor};
|
|
850
844
|
}
|
|
851
845
|
|
|
852
846
|
/** Large styles **/
|
|
853
847
|
|
|
854
848
|
.ft-button--large {
|
|
855
|
-
${
|
|
856
|
-
${
|
|
849
|
+
${(0,_.setVariable)(st.size,x.largeIconSize)};
|
|
850
|
+
${(0,_.setVariable)(yt.size,x.largeIconSize)};
|
|
857
851
|
|
|
858
|
-
height: ${
|
|
859
|
-
padding: 0 ${
|
|
860
|
-
gap: ${
|
|
861
|
-
border-radius: ${
|
|
862
|
-
border-width: ${
|
|
852
|
+
height: ${x.largeHeight};
|
|
853
|
+
padding: 0 ${x.largeHorizontalPadding};
|
|
854
|
+
gap: ${x.largeGap};
|
|
855
|
+
border-radius: ${x.largeBorderRadius};
|
|
856
|
+
border-width: ${x.largeBorderWidth};
|
|
863
857
|
}
|
|
864
858
|
|
|
865
859
|
.ft-button--large:focus-visible {
|
|
866
|
-
outline-width: ${
|
|
867
|
-
outline-offset: ${
|
|
860
|
+
outline-width: ${x.largeFocusOutlineWidth};
|
|
861
|
+
outline-offset: ${x.largeFocusOutlineOffset};
|
|
868
862
|
}
|
|
869
863
|
|
|
870
864
|
.ft-button--large.ft-button--icon-only {
|
|
871
|
-
width: ${
|
|
865
|
+
width: ${x.largeIconOnlyWidth};
|
|
872
866
|
padding: unset;
|
|
873
867
|
}
|
|
874
868
|
|
|
875
869
|
/** Small styles **/
|
|
876
870
|
|
|
877
871
|
.ft-button--small {
|
|
878
|
-
${
|
|
879
|
-
${
|
|
872
|
+
${(0,_.setVariable)(st.size,x.smallIconSize)};
|
|
873
|
+
${(0,_.setVariable)(yt.size,x.smallIconSize)};
|
|
880
874
|
|
|
881
|
-
height: ${
|
|
882
|
-
padding: 0 ${
|
|
883
|
-
gap: ${
|
|
884
|
-
border-radius: ${
|
|
885
|
-
border-width: ${
|
|
875
|
+
height: ${x.smallHeight};
|
|
876
|
+
padding: 0 ${x.smallHorizontalPadding};
|
|
877
|
+
gap: ${x.smallGap};
|
|
878
|
+
border-radius: ${x.smallBorderRadius};
|
|
879
|
+
border-width: ${x.smallBorderWidth};
|
|
886
880
|
}
|
|
887
881
|
|
|
888
882
|
.ft-button--small:focus-visible {
|
|
889
|
-
outline-width: ${
|
|
890
|
-
outline-offset: ${
|
|
883
|
+
outline-width: ${x.smallFocusOutlineWidth};
|
|
884
|
+
outline-offset: ${x.smallFocusOutlineOffset};
|
|
891
885
|
}
|
|
892
886
|
|
|
893
887
|
.ft-button--small.ft-button--icon-only {
|
|
894
|
-
width: ${
|
|
888
|
+
width: ${x.smallIconOnlyWidth};
|
|
895
889
|
padding: unset;
|
|
896
890
|
}
|
|
897
|
-
`,
|
|
891
|
+
`,_.noTextSelect];var Ke=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(a=(n<3?l(a):n>3?l(o,r,a):l(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},Bt=class extends j{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?oe.caption1medium:oe.body2medium}};Bt.styles=[Un.safariEllipsisFix,Bn];Ke([(0,Ae.property)({type:Boolean})],Bt.prototype,"primary",void 0);Ke([(0,Ae.property)({type:Boolean})],Bt.prototype,"secondary",void 0);Ke([(0,Ae.property)({type:Boolean})],Bt.prototype,"tertiary",void 0);Ke([(0,Ae.property)({type:Boolean})],Bt.prototype,"neutral",void 0);Ke([(0,Ae.property)({type:Boolean})],Bt.prototype,"small",void 0);(0,tr.customElement)("ft-button")(Ot);(0,tr.customElement)("ftds-button")(Bt);var $n=L.FtCssVariableFactory.extend("--ft-chip-color","",L.designSystemVariables.colorOnSurface),bt={backgroundColor:L.FtCssVariableFactory.extend("--ft-chip-background-color","",L.designSystemVariables.colorSurface),color:$n,fontSize:L.FtCssVariableFactory.extend("--ft-chip-font-size","",Tt.fontSize),iconSize:L.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:L.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:L.FtCssVariableFactory.extend("--ft-chip-ripple-color","",$n),horizontalPadding:L.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:L.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:L.FtCssVariableFactory.external(L.designSystemVariables.colorOutline,"Design system"),opacityDisabled:L.FtCssVariableFactory.external(L.designSystemVariables.colorOpacityDisabled,"Design system")},Dn=L.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",L.FtCssVariableFactory.extend("--ft-chip-color","",L.designSystemVariables.colorOnPrimary)),er={backgroundColor:L.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",L.FtCssVariableFactory.extend("--ft-chip-background-color","",L.designSystemVariables.colorPrimary)),color:Dn,rippleColor:L.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",Dn)},Wn={horizontalPadding:L.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:L.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Fn=[L.noTextSelect,yo.css`
|
|
898
892
|
:host {
|
|
899
893
|
display: inline-block;
|
|
900
894
|
max-width: 100%;
|
|
@@ -910,20 +904,20 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
910
904
|
box-sizing: border-box;
|
|
911
905
|
pointer-events: auto;
|
|
912
906
|
|
|
913
|
-
--ft-chip-internal-font-size: ${
|
|
907
|
+
--ft-chip-internal-font-size: ${bt.fontSize};
|
|
914
908
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
915
|
-
${
|
|
916
|
-
--ft-chip-internal-vertical-padding: ${
|
|
917
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
909
|
+
${(0,L.setVariable)(st.size,bt.iconSize)};
|
|
910
|
+
--ft-chip-internal-vertical-padding: ${bt.verticalPadding};
|
|
911
|
+
--ft-chip-internal-horizontal-padding: ${bt.horizontalPadding};
|
|
918
912
|
--ft-chip-internal-icon-padding: 3px;
|
|
919
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
913
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${bt.iconSize});
|
|
920
914
|
|
|
921
|
-
border: 1px solid ${
|
|
922
|
-
color: ${
|
|
923
|
-
${
|
|
924
|
-
border-radius: var(${
|
|
915
|
+
border: 1px solid ${bt.colorOutline};
|
|
916
|
+
color: ${bt.color};
|
|
917
|
+
${(0,L.setVariable)(A.color,bt.rippleColor)};
|
|
918
|
+
border-radius: var(${(0,yo.unsafeCSS)(bt.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
|
|
925
919
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
926
|
-
background-color: ${
|
|
920
|
+
background-color: ${bt.backgroundColor};
|
|
927
921
|
line-height: var(--ft-chip-internal-content-height);
|
|
928
922
|
}
|
|
929
923
|
|
|
@@ -933,8 +927,8 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
933
927
|
|
|
934
928
|
.ft-chip--dense {
|
|
935
929
|
--ft-chip-internal-icon-padding: 3px;
|
|
936
|
-
--ft-chip-internal-vertical-padding: ${
|
|
937
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
930
|
+
--ft-chip-internal-vertical-padding: ${Wn.verticalPadding};
|
|
931
|
+
--ft-chip-internal-horizontal-padding: ${Wn.horizontalPadding};
|
|
938
932
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
939
933
|
}
|
|
940
934
|
|
|
@@ -946,15 +940,15 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
946
940
|
cursor: default;
|
|
947
941
|
pointer-events: none;
|
|
948
942
|
filter: grayscale(1);
|
|
949
|
-
opacity: ${
|
|
943
|
+
opacity: ${bt.opacityDisabled};
|
|
950
944
|
}
|
|
951
945
|
|
|
952
946
|
.ft-chip--highlighted {
|
|
953
947
|
border: none;
|
|
954
948
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
955
|
-
background-color: ${
|
|
956
|
-
${
|
|
957
|
-
color: ${
|
|
949
|
+
background-color: ${er.backgroundColor};
|
|
950
|
+
${(0,L.setVariable)(A.color,er.rippleColor)};
|
|
951
|
+
color: ${er.color};
|
|
958
952
|
}
|
|
959
953
|
|
|
960
954
|
.ft-chip--clickable {
|
|
@@ -984,9 +978,9 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
984
978
|
}
|
|
985
979
|
|
|
986
980
|
.ft-chip--icon-button {
|
|
987
|
-
${
|
|
988
|
-
${
|
|
989
|
-
${
|
|
981
|
+
${(0,L.setVariable)($.iconSize,bt.iconSize)};
|
|
982
|
+
${(0,L.setVariable)($.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
983
|
+
${(0,L.setVariable)($.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
990
984
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
991
985
|
}
|
|
992
986
|
|
|
@@ -994,8 +988,8 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
994
988
|
vertical-align: bottom;
|
|
995
989
|
display: block;
|
|
996
990
|
margin: 0 var(--ft-chip-internal-horizontal-padding);
|
|
997
|
-
${
|
|
998
|
-
${
|
|
991
|
+
${(0,L.setVariable)(Tt.fontSize,"var(--ft-chip-internal-font-size)")};
|
|
992
|
+
${(0,L.setVariable)(Tt.lineHeight,"var(--ft-chip-internal-content-height)")};
|
|
999
993
|
}
|
|
1000
994
|
|
|
1001
995
|
.ft-chip--safari-fix .ft-chip--label {
|
|
@@ -1031,8 +1025,8 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
1031
1025
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
1032
1026
|
order: -1;
|
|
1033
1027
|
}
|
|
1034
|
-
`];var
|
|
1035
|
-
<div class="${
|
|
1028
|
+
`];var Et=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(a=(n<3?l(a):n>3?l(o,r,a):l(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},go=class extends CustomEvent{constructor(){super("icon-click")}},G=class extends bo.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let o={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":bo.isSafari};return mo.html`
|
|
1029
|
+
<div class="${(0,Hn.classMap)(o)}"
|
|
1036
1030
|
aria-label="${this.getLabel()}"
|
|
1037
1031
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
1038
1032
|
@keyup=${this.onKeyUp}
|
|
@@ -1043,7 +1037,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
1043
1037
|
</ft-typography>
|
|
1044
1038
|
${this.internalIcon?this.renderIcon():null}
|
|
1045
1039
|
</div>
|
|
1046
|
-
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?
|
|
1040
|
+
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?mo.html`
|
|
1047
1041
|
<ft-button round
|
|
1048
1042
|
class="ft-chip--icon-button"
|
|
1049
1043
|
@click=${this.onIconClick}
|
|
@@ -1052,39 +1046,39 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
1052
1046
|
label="${this.iconLabel}"
|
|
1053
1047
|
part="icon-button"
|
|
1054
1048
|
></ft-button>
|
|
1055
|
-
`:
|
|
1049
|
+
`:mo.html`
|
|
1056
1050
|
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
1057
1051
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
|
|
1058
1052
|
</div>
|
|
1059
|
-
`}onKeyUp(
|
|
1053
|
+
`}onKeyUp(o){this.interactionsOnChip&&["Enter"," "].includes(o.key)&&o.target.click()}onIconKeyUp(o){this.interactionsOnIcon&&["Enter"," "].includes(o.key)&&(o.stopPropagation(),this.dispatchEvent(new go))}onIconClick(o){this.interactionsOnIcon&&(o.stopPropagation(),this.dispatchEvent(new go))}getLabel(){return this.label||this.textContent}get textContent(){var o,r;return(r=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};G.elementDefinitions={"ft-ripple":U,"ft-typography":it,"ft-icon":lt,"ft-button":Ot};G.styles=Fn;Et([(0,ft.property)({type:Boolean})],G.prototype,"highlighted",void 0);Et([(0,ft.property)({type:Boolean})],G.prototype,"removable",void 0);Et([(0,ft.property)({type:Boolean})],G.prototype,"disabled",void 0);Et([(0,ft.property)({type:Boolean})],G.prototype,"clickable",void 0);Et([(0,ft.property)({type:Boolean})],G.prototype,"iconClickable",void 0);Et([(0,ft.property)({type:Boolean})],G.prototype,"dense",void 0);Et([(0,ft.property)({type:Boolean})],G.prototype,"multiLine",void 0);Et([(0,ft.property)()],G.prototype,"label",void 0);Et([(0,ft.property)()],G.prototype,"iconLabel",void 0);Et([(0,ft.property)()],G.prototype,"icon",void 0);Et([(0,ft.property)()],G.prototype,"iconVariant",void 0);Et([(0,ft.property)({type:Boolean})],G.prototype,"trailingIcon",void 0);Et([(0,ft.query)("ft-typography slot")],G.prototype,"slottedContent",void 0);(0,Mn.customElement)("ft-chip")(G);var or,rr,ir,nr,tt={color:C.FtCssVariableFactory.extend("--ft-search-saved-searches-color","",C.designSystemVariables.colorOnSurface),activeButtonTextColor:C.FtCssVariableFactory.extend("--ft-search-saved-searches-active-button-text-color","",C.designSystemVariables.colorPrimary),activeSearchBackgroundColor:C.FtCssVariableFactory.extend("--ft-search-saved-searches-active-search-background-color","",C.designSystemVariables.colorContent),activeSearchBorderStyle:C.FtCssVariableFactory.create("--ft-search-saved-searches-active-search-border-style","","BORDER-STYLE",(or=I.selectedOutlineStyle.lastResortDefaultValue())!==null&&or!==void 0?or:"solid"),activeSearchBorderColor:C.FtCssVariableFactory.extend("--ft-search-saved-searches-active-search-border-color","",C.designSystemVariables.colorPrimary),activeSearchBorderWidth:C.FtCssVariableFactory.create("--ft-search-saved-searches-active-search-border-width","","SIZE",(rr=I.selectedOutlineWidth.lastResortDefaultValue())!==null&&rr!==void 0?rr:"2px"),activeSearchBorderRadius:C.FtCssVariableFactory.extend("--ft-search-saved-searches-active-search-border-radius","",C.designSystemVariables.borderRadiusM),inactiveButtonTextColor:C.FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-button-text-color","",C.designSystemVariables.colorPrimary),inactiveButtonBackgroundColor:C.FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-button-background-color","",C.designSystemVariables.colorSurface),inactiveSearchBackgroundColor:C.FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-search-background-color","",C.designSystemVariables.colorContent),inactiveSearchBorderStyle:C.FtCssVariableFactory.create("--ft-search-saved-searches-inactive-search-border-style","","BORDER-STYLE",(ir=I.outlineStyle.lastResortDefaultValue())!==null&&ir!==void 0?ir:"solid"),inactiveSearchBorderColor:C.FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-search-border-color","",C.designSystemVariables.colorPrimary),inactiveSearchBorderWidth:C.FtCssVariableFactory.create("--ft-search-saved-searches-inactive-search-border-width","","SIZE",(nr=I.outlineWidth.lastResortDefaultValue())!==null&&nr!==void 0?nr:"0"),inactiveSearchBorderRadius:C.FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-search-border-radius","",C.designSystemVariables.borderRadiusM),chipBackgroundColor:C.FtCssVariableFactory.extend("--ft-search-saved-searches-chip-background-color","",C.designSystemVariables.colorSurface),cardTitleFontSize:C.FtCssVariableFactory.create("--ft-search-saved-searches-card-title-font-size","","SIZE","16px"),cardTitleFontWeight:C.FtCssVariableFactory.create("--ft-search-saved-searches-card-title-font-weight","","SIZE","600")},Gn=zn.css`
|
|
1060
1054
|
[part="container"] {
|
|
1061
1055
|
display: flex;
|
|
1062
1056
|
flex-direction: column;
|
|
1063
1057
|
gap: 12px;
|
|
1064
1058
|
margin: 3px;
|
|
1065
|
-
${
|
|
1066
|
-
${
|
|
1059
|
+
${(0,C.setVariable)(I.colorOnSurfaceHigh,tt.color)};
|
|
1060
|
+
${(0,C.setVariable)(I.colorOnSurfaceMedium,tt.color)};
|
|
1067
1061
|
}
|
|
1068
1062
|
|
|
1069
1063
|
[part="card"] {
|
|
1070
|
-
${
|
|
1071
|
-
${
|
|
1072
|
-
${
|
|
1073
|
-
${
|
|
1074
|
-
${
|
|
1075
|
-
${
|
|
1076
|
-
${
|
|
1077
|
-
${
|
|
1078
|
-
${
|
|
1064
|
+
${(0,C.setVariable)(I.outlineStyle,tt.inactiveSearchBorderStyle)};
|
|
1065
|
+
${(0,C.setVariable)(I.outlineWidth,tt.inactiveSearchBorderWidth)};
|
|
1066
|
+
${(0,C.setVariable)(I.outlineColor,tt.inactiveSearchBorderColor)};
|
|
1067
|
+
${(0,C.setVariable)(I.borderRadius,tt.inactiveSearchBorderRadius)};
|
|
1068
|
+
${(0,C.setVariable)(I.selectedOutlineStyle,tt.activeSearchBorderStyle)};
|
|
1069
|
+
${(0,C.setVariable)(I.selectedOutlineWidth,tt.activeSearchBorderWidth)};
|
|
1070
|
+
${(0,C.setVariable)(I.selectedOutlineColor,tt.activeSearchBorderColor)};
|
|
1071
|
+
${(0,C.setVariable)(I.selectedBorderRadius,tt.activeSearchBorderRadius)};
|
|
1072
|
+
${(0,C.setVariable)(A.backgroundColor,tt.inactiveSearchBackgroundColor)};
|
|
1079
1073
|
}
|
|
1080
1074
|
|
|
1081
1075
|
[part="card"][selected] {
|
|
1082
|
-
${
|
|
1076
|
+
${(0,C.setVariable)(A.backgroundColor,tt.activeSearchBackgroundColor)};
|
|
1083
1077
|
}
|
|
1084
1078
|
|
|
1085
1079
|
[part="title"] {
|
|
1086
|
-
${
|
|
1087
|
-
${
|
|
1080
|
+
${(0,C.setVariable)($t.fontSize,tt.cardTitleFontSize)};
|
|
1081
|
+
${(0,C.setVariable)($t.fontWeight,tt.cardTitleFontWeight)};
|
|
1088
1082
|
}
|
|
1089
1083
|
|
|
1090
1084
|
[part="card-content"] {
|
|
@@ -1100,16 +1094,16 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
1100
1094
|
}
|
|
1101
1095
|
|
|
1102
1096
|
[part="chip"] {
|
|
1103
|
-
${
|
|
1097
|
+
${(0,C.setVariable)(bt.backgroundColor,tt.chipBackgroundColor)};
|
|
1104
1098
|
}
|
|
1105
1099
|
|
|
1106
1100
|
[part="search-button"] {
|
|
1107
|
-
${
|
|
1101
|
+
${(0,C.setVariable)($.color,tt.inactiveButtonTextColor)};
|
|
1108
1102
|
}
|
|
1109
1103
|
|
|
1110
1104
|
[part="search-button"]:not([disabled]) {
|
|
1111
|
-
${
|
|
1112
|
-
${
|
|
1105
|
+
${(0,C.setVariable)($.color,tt.inactiveButtonTextColor)};
|
|
1106
|
+
${(0,C.setVariable)($.backgroundColor,tt.inactiveButtonBackgroundColor)};
|
|
1113
1107
|
}
|
|
1114
1108
|
|
|
1115
1109
|
[part="metadata-label"]:after {
|
|
@@ -1120,43 +1114,59 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
1120
1114
|
text-decoration: none;
|
|
1121
1115
|
color: inherit;
|
|
1122
1116
|
}
|
|
1123
|
-
|
|
1124
|
-
|
|
1117
|
+
`;var Qn=u(O());var Yn=u(D()),wt=u(pt()),Lt=u(O());var Kn=u(D());var Vn=Kn.css`
|
|
1118
|
+
`;var Zn=u(O()),ss="ft-app-info",ls={},N=Zn.FtReduxStore.get({name:ss,reducers:ls,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,navigatorOnline:!0,forcedOffline:!1}});var Yt=u(O());var ar=u(O());var se=class e{static get(o){let{baseUrl:r,apiIntegrationIdentifier:i}=N.getState(),n=o??i;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(o){return new Promise(r=>{let i=e.get(o);if(i)r(i);else{let n=N.subscribe(()=>{i=e.get(o),i&&(n(),r(i))})}})}};var Gt=class{constructor(o=!0,r){var i;this.overrideApi=r;let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new ar.CacheRegistry,this.cache=o?n.commonCache:new ar.CacheRegistry}get api(){var o;return(o=this.overrideApi)!==null&&o!==void 0?o:se.get()}get awaitApi(){var o;return(o=this.overrideApi)!==null&&o!==void 0?o:se.await()}clearCache(){this.cache.clearAll()}};var jn,cs=Symbol("clearAfterUnitTest"),xo=class extends Gt{constructor(o){super(),this.messageContextProvider=o,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[jn]=()=>{this.defaultMessages={},this.cache=new Yt.CacheRegistry,this.listeners={}},this.currentUiLocale=N.getState().uiLocale,N.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:o}=N.getState();this.currentUiLocale!==o&&(this.currentUiLocale=o,this.cache.clearAll(),this.notifyAll())}addContext(o){let r=o.name.toLowerCase();this.cache.setFinal(r,o),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(o,r){var i;if(o=o.toLowerCase(),Object.keys(r).length>0){let n={...(i=this.defaultMessages[o])!==null&&i!==void 0?i:{},...r};(0,Yt.deepEqual)(this.defaultMessages[o],n)||(this.defaultMessages[o]=n,await this.notify(o))}await this.fetchContext(o)}resolveMessage(o,r,...i){var n,a,l;o=o.toLowerCase(),this.fetchContext(o);let p=(a=(n=this.cache.getNow(o))===null||n===void 0?void 0:n.messages)!==null&&a!==void 0?a:{};return new Yt.ParametrizedLabelResolver((l=this.defaultMessages[o])!==null&&l!==void 0?l:{},p).resolve(r,...i)}async fetchContext(o){if(!this.cache.has(o))try{await this.cache.get(o,()=>this.messageContextProvider(this.currentUiLocale,o)),await this.notify(o)}catch(r){console.error(r)}}subscribe(o,r){var i;return o=o.toLowerCase(),this.listeners[o]=(i=this.listeners[o])!==null&&i!==void 0?i:new Set,this.listeners[o].add(r),()=>{var n;return(n=this.listeners[o])===null||n===void 0?void 0:n.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(o=>this.notify(o)))}async notify(o){this.listeners[o]!=null&&await Promise.all([...this.listeners[o].values()].map(r=>(0,Yt.delay)(0).then(()=>r()).catch(()=>null)))}};jn=cs;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends xo{constructor(){super(async(e,o)=>(await this.awaitApi).getFluidTopicsMessageContext(e,o))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends xo{constructor(){super(async(e,o)=>(await this.awaitApi).getCustomMessageContext(e,o))}});var Re=window.FluidTopicsI18nService,qn=window.FluidTopicsCustomI18nService;var ut=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(a=(n<3?l(a):n>3?l(o,r,a):l(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},K=class extends Lt.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.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>se.get(),this.messageContexts=[],this.cache=new Lt.CacheRegistry,this.cleanSessionDebouncer=new Lt.Debouncer}render(){return Yn.html`
|
|
1125
1119
|
<slot></slot>
|
|
1126
|
-
`}update(t){super.update(t),t.has("baseUrl")&&(wr.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&wr.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&wr.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&wr.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&wr.actions.noCustom(this.noCustom),t.has("editorMode")&&wr.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&wr.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&wr.actions.session(this.session),t.has("availableUiLocales")&&wr.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Ur.addContext(t))),t.has("openExternalDocumentInNewTab")&&wr.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&wr.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&wr.actions.forcedOffline(this.forcedOffline),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()))}}Lr.elementDefinitions={},Lr.styles=Nr,Wr([r.property()],Lr.prototype,"baseUrl",void 0),Wr([r.property()],Lr.prototype,"apiIntegrationIdentifier",void 0),Wr([r.property()],Lr.prototype,"uiLocale",void 0),Wr([o.jsonProperty(null)],Lr.prototype,"availableUiLocales",void 0),Wr([o.jsonProperty(null)],Lr.prototype,"metadataConfiguration",void 0),Wr([r.property({type:Boolean})],Lr.prototype,"editorMode",void 0),Wr([r.property({type:Boolean})],Lr.prototype,"noCustom",void 0),Wr([r.property({type:Boolean})],Lr.prototype,"openExternalDocumentInNewTab",void 0),Wr([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Lr.prototype,"noCustomComponent",void 0),Wr([r.property({type:Boolean})],Lr.prototype,"withManualResources",void 0),Wr([r.property({type:Boolean})],Lr.prototype,"navigatorOnline",void 0),Wr([r.property({type:Boolean})],Lr.prototype,"forcedOffline",void 0),Wr([r.property({type:Object})],Lr.prototype,"apiProvider",void 0),Wr([o.jsonProperty([])],Lr.prototype,"messageContexts",void 0),Wr([o.jsonProperty(void 0)],Lr.prototype,"session",void 0);class zr extends Er{async listMySearches(){let t=wr.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Zr extends Er{async listMyBookmarks(){let t=wr.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Kr=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Ar=new class{constructor(){this.currentSession=wr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Zr,this.savedSearchesService=new zr,wr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=wr.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(),Kr.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Kr.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Kr.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;Kr.actions.bookmarks(o)}}};window.FluidTopicsAppInfoStoreService=new class{addCommand(t,o=!1){wr.commands.add(t,o)}consumeCommand(t){return wr.commands.consume(t)}};var Br,Dr,Fr,Tr,Hr,Pr,Mr,_r,jr,Gr,Yr,Vr,qr,Xr,Jr,Qr,ti,oi,ei;window.FluidTopicsHighlightHtmlService=new class{highlightHtml(t,e){o.highlightHtml(t,e)}},o.customElement("ft-app-context")(Lr),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 r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(t){return t&&r.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 c(t){this.map={},t instanceof c?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 s(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function p(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function f(t){var o=new FileReader,e=p(o);return o.readAsArrayBuffer(t),e}function d(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function h(){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=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=d(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=s(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?s(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t,o,e,r=s(this);if(r)return r;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=p(o),o.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),r=0;r<o.length;r++)e[r]=String.fromCharCode(o[r]);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}c.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},c.prototype.delete=function(t){delete this.map[n(t)]},c.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},c.prototype.set=function(t,o){this.map[n(t)]=a(o)},c.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},c.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,o){var e,r,i=(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 c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=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 c(o.headers)),this.method=(e=o.method||this.method||"GET",r=e.toUpperCase(),u.indexOf(r)>-1?r:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function y(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),r=e.shift().replace(/\+/g," "),i=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(r),decodeURIComponent(i))}})),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 c(o.headers),this.url=o.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},h.call(g.prototype),h.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(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,r){return new Promise((function(i,n){var a=new g(t,r);if(a.signal&&a.signal.aborted)return n(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function s(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),r=e.shift().trim();if(r){var i=e.join(":").trim();o.append(r,i)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var r="response"in l?l.response:l.responseText;i(new b(r,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",s),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",s)}),l.send(void 0===a._bodyInit?null:a._bodyInit)}))}x.polyfill=!0,t.fetch||(t.fetch=x,t.Headers=c,t.Request=g,t.Response=b),o.Headers=c,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"}(Br||(Br={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Dr||(Dr={})),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"}(Fr||(Fr={})),function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"}(Tr||(Tr={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(Hr||(Hr={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(Pr||(Pr={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Mr||(Mr={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(_r||(_r={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(jr||(jr={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Gr||(Gr={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Yr||(Yr={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Vr||(Vr={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(qr||(qr={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Xr||(Xr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Jr||(Jr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Qr||(Qr={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(ti||(ti={})),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"}(oi||(oi={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(ei||(ei={}));const ri={[oi.PERSONAL_BOOK_SHARE_USER]:[oi.PERSONAL_BOOK_USER],[oi.HTML_EXPORT_USER]:[oi.PERSONAL_BOOK_USER],[oi.PDF_EXPORT_USER]:[oi.PERSONAL_BOOK_USER],[oi.KHUB_ADMIN]:[oi.CONTENT_PUBLISHER],[oi.ADMIN]:[oi.KHUB_ADMIN,oi.USERS_ADMIN,oi.PORTAL_ADMIN],[oi.DEVELOPER]:[oi.BETA_USER,oi.DEBUG_USER]};function ii(t,o){return t===o||(ri[t]??[]).some((t=>ii(t,o)))}function ni(t,o){if(null==t)return!1;return(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some((t=>ii(t,o)))}class ai extends Event{constructor(){super(ai.eventName)}}ai.eventName="search-context-clear-all-filters";var li=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ci extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const si=Symbol("registerInterval");class pi 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[si]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[si]):this.dispatchEvent(new ci)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=si,li([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}const fi=e.css`
|
|
1127
|
-
`;var
|
|
1120
|
+
`}update(o){super.update(o),o.has("baseUrl")&&(N.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),o.has("apiIntegrationIdentifier")&&N.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),o.has("uiLocale")&&N.actions.uiLocale(this.uiLocale),o.has("metadataConfiguration")&&N.actions.metadataConfiguration(this.metadataConfiguration),o.has("noCustom")&&N.actions.noCustom(this.noCustom),o.has("editorMode")&&N.actions.editorMode(this.editorMode),o.has("noCustomComponent")&&N.actions.noCustomComponent(this.noCustomComponent),o.has("session")&&N.actions.session(this.session),o.has("availableUiLocales")&&N.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),o.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Re.addContext(r)),o.has("openExternalDocumentInNewTab")&&N.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),o.has("navigatorOnline")&&N.actions.navigatorOnline(this.navigatorOnline),o.has("forcedOffline")&&N.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let o=await this.apiProvider().getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},o.idleTimeoutInMillis),o})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};K.elementDefinitions={};K.styles=Vn;ut([(0,wt.property)()],K.prototype,"baseUrl",void 0);ut([(0,wt.property)()],K.prototype,"apiIntegrationIdentifier",void 0);ut([(0,wt.property)()],K.prototype,"uiLocale",void 0);ut([(0,Lt.jsonProperty)(null)],K.prototype,"availableUiLocales",void 0);ut([(0,Lt.jsonProperty)(null)],K.prototype,"metadataConfiguration",void 0);ut([(0,wt.property)({type:Boolean})],K.prototype,"editorMode",void 0);ut([(0,wt.property)({type:Boolean})],K.prototype,"noCustom",void 0);ut([(0,wt.property)({type:Boolean})],K.prototype,"openExternalDocumentInNewTab",void 0);ut([(0,wt.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],K.prototype,"noCustomComponent",void 0);ut([(0,wt.property)({type:Boolean})],K.prototype,"withManualResources",void 0);ut([(0,wt.property)({type:Boolean})],K.prototype,"navigatorOnline",void 0);ut([(0,wt.property)({type:Boolean})],K.prototype,"forcedOffline",void 0);ut([(0,wt.property)({type:Object})],K.prototype,"apiProvider",void 0);ut([(0,Lt.jsonProperty)([])],K.prototype,"messageContexts",void 0);ut([(0,Lt.jsonProperty)(void 0)],K.prototype,"session",void 0);var Co=u(O());var So=class extends Gt{async listMySearches(){let o=N.getState().session;return o?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(o.profile.userId),5*60*1e3):[]}};var vo=class extends Gt{async listMyBookmarks(){let o=N.getState().session;return o?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(o.profile.userId),5*60*1e3):[]}};var ps="ft-user-assets",le=Co.FtReduxStore.get({name:ps,initialState:{savedSearches:void 0,bookmarks:void 0}}),sr=class{constructor(){this.currentSession=N.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new vo,this.savedSearchesService=new So,N.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var o;let{session:r}=N.getState();(0,Co.deepEqual)((o=this.currentSession)===null||o===void 0?void 0:o.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),le.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),le.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let o=await this.savedSearchesService.listMySearches();le.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var o;if(this.bookmarksAreUsed){let r=!((o=this.currentSession)===null||o===void 0)&&o.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;le.actions.bookmarks(r)}}},lr=new sr;var cr=class{addCommand(o,r=!1){N.commands.add(o,r)}consumeCommand(o){return N.commands.consume(o)}};window.FluidTopicsAppInfoStoreService=new cr;var Xn=u(O()),pr=class{highlightHtml(o,r){(0,Xn.highlightHtml)(o,r)}};window.FluidTopicsHighlightHtmlService=new pr;(0,Qn.customElement)("ft-app-context")(K);var La=u(ta());var Lh=u(oa(),1);var ra;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(ra||(ra={}));var ia;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(ia||(ia={}));var na;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(na||(na={}));var aa;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})(aa||(aa={}));var sa;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(sa||(sa={}));var la;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(la||(la={}));var ca;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(ca||(ca={}));var pa;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(pa||(pa={}));var da;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(da||(da={}));var fa;(function(e){e.ASC="ASC",e.DESC="DESC"})(fa||(fa={}));var ua;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(ua||(ua={}));var Ve;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Ve||(Ve={}));var ha;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(ha||(ha={}));var ya;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(ya||(ya={}));var ma;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(ma||(ma={}));var ga;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(ga||(ga={}));var Ze;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS"})(Ze||(Ze={}));var q;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN",e.DEVELOPER="DEVELOPER"})(q||(q={}));var ba;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(ba||(ba={}));var ds={[q.PERSONAL_BOOK_SHARE_USER]:[q.PERSONAL_BOOK_USER],[q.HTML_EXPORT_USER]:[q.PERSONAL_BOOK_USER],[q.PDF_EXPORT_USER]:[q.PERSONAL_BOOK_USER],[q.KHUB_ADMIN]:[q.CONTENT_PUBLISHER],[q.ADMIN]:[q.KHUB_ADMIN,q.USERS_ADMIN,q.PORTAL_ADMIN],[q.DEVELOPER]:[q.BETA_USER,q.DEBUG_USER]};function xa(e,o){return e===o||(ds[e]??[]).some(r=>xa(r,o))}function Sa(e,o){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(i=>xa(i,o))}var va=u(O()),Ca=u(pt());var fr=u(O());var fs=u(O());var dr=class e extends Event{constructor(){super(e.eventName)}};dr.eventName="search-context-clear-all-filters";var us=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(a=(n<3?l(a):n>3?l(o,r,a):l(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},hr=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},ur=Symbol("registerInterval");function hs(e){var o;class r extends e{constructor(){super(...arguments),this[o]=0}setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[ur]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[ur]):this.dispatchEvent(new hr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=ur,us([(0,Ca.state)()],r.prototype,"stateManager",void 0),r}var Oo=class extends hs(va.FtLitElementRedux){};var wa=u(O());var No=u(D()),Lo=u(pt()),Io=u(O());var Oa=u(D());var Ea=Oa.css`
|
|
1121
|
+
`;var Ro=u(O());var Ra=u(pt()),ys=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(a=(n<3?l(a):n>3?l(o,r,a):l(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},yr=Symbol("i18nAttributes"),Eo=Symbol("i18nProperties"),je=Symbol("i18nUnsubs");function wo(e){var o;class r extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?qn:Re}i18n(n,a,...l){var p;if(typeof n=="string")return this.i18nService.resolveMessage(n,a,...l);let f=(p=n.args)!==null&&p!==void 0?p:n.argsProvider?n.argsProvider(this):[];return this.i18nService.resolveMessage(n.context,n.key,...f)}onI18nUpdate(n){var a,l;(a=this[yr])===null||a===void 0||a.forEach((p,f)=>{var h;let b=this.getI18nAttributeValue(f);((h=b?.context)===null||h===void 0?void 0:h.toLowerCase())===n.toLowerCase()&&this.updateI18nAttributeMessage(f,b,p)}),(l=this[Eo])===null||l===void 0||l.forEach((p,f)=>{p.context.toLowerCase()===n.toLowerCase()&&(this[f]=this.i18n(p))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(n,a,l){this[n]={...a,message:this.i18n({context:a.context,key:a.key,...l})}}update(n){var a,l;super.update(n),(a=this[yr])===null||a===void 0||a.forEach((p,f)=>{let h=this.getI18nAttributeValue(f);h?.context&&h.key&&(n.has(f)||p.argsProvider!=null)&&(n.has(f)&&this.addI18nContext(h.context),this.updateI18nAttributeMessage(f,h,p))}),(l=this[Eo])===null||l===void 0||l.forEach((p,f)=>{p.argsProvider!=null&&(this[f]=this.i18n(p))})}getI18nAttributeValue(n){return this[n]}connectedCallback(){var n,a,l,p;super.connectedCallback(),new Set([...(a=(n=this[Eo])===null||n===void 0?void 0:n.values())!==null&&a!==void 0?a:[],...[...(p=(l=this[yr])===null||l===void 0?void 0:l.keys())!==null&&p!==void 0?p:[]].map(f=>this.getI18nAttributeValue(f))].map(f=>f?.context)).forEach(f=>f&&this.addI18nMessages(f))}addI18nMessages(n,a){n=n.toLowerCase(),this[je].has(n)||this[je].set(n,this.i18nService.subscribe(n,()=>this.onI18nUpdate(n))),this.i18nService.prepareContext(n,a??{})}addI18nContext(n,a){this.addI18nMessages(typeof n=="string"?n:n.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[je].forEach(n=>n()),this[je].clear()}}return o=je,ys([(0,Ra.property)({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var Aa=class extends wo(Ro.FtLitElement){},Ao=class extends wo(Ro.FtLitElementRedux){};var qe=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(a=(n<3?l(a):n>3?l(o,r,a):l(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},It=class extends Ao{constructor(){super(),this.editorMode=!1,this.addStore(N)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":No.nothing:No.html`
|
|
1128
1122
|
<span class="ft-i18n">
|
|
1129
1123
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
1130
1124
|
</span>
|
|
1131
|
-
|
|
1125
|
+
`}update(o){var r;super.update(o),["context","key","defaultMessage"].some(i=>o.has(i))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};It.elementDefinitions={};It.styles=Ea;qe([(0,Io.redux)()],It.prototype,"editorMode",void 0);qe([(0,Lo.property)()],It.prototype,"context",void 0);qe([(0,Lo.property)()],It.prototype,"key",void 0);qe([(0,Io.jsonProperty)([])],It.prototype,"args",void 0);qe([(0,Lo.property)()],It.prototype,"defaultMessage",void 0);var To=class e{static build(o){return new e(o)}static fromGwt(o){return new e(o)}constructor(o){this.name=o,this.properties=new Proxy({},{get:(r,i)=>{let n=i;return a=>({context:this.name,key:n,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(r,i)=>(...n)=>Re.resolveMessage(this.name,i,...n)})}};(0,wa.customElement)("ft-i18n")(It);var nt=To.build("savedSearchesComponent"),Na={keywords:"Keywords",language:"Language",sort:"Sort",period:"Period",relevance:"Relevance",lastUpdate:"Last update",lastWeek:"Less than one week",lastMonth:"Less than one month",lastYear:"Less than one year",customPeriod:"Custom period",search:"Search",in:"In",titles:"Titles",resultsType:"Results type",documentsOnly:"Documents only"};var Xt=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(a=(n<3?l(a):n>3?l(o,r,a):l(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},xt=class extends wo(Oo){constructor(){super(),this.showDescription=!1,this.showSearchFilters=!1,this.showSearchButton=!1,this.showAlertStatus=!1,this.requiredRole=q.SAVED_SEARCH_USER,this.addStore(N),this.addStore(le),this.addI18nContext(nt,Na)}render(){var o;return this.userHasRights&&!this.isEmpty?V.html`
|
|
1132
1126
|
<div part="container">
|
|
1133
|
-
${
|
|
1134
|
-
<a href="${
|
|
1135
|
-
<ft-card clickable ?selected="${this.isSelected(
|
|
1127
|
+
${(0,La.repeat)((o=this.savedSearches)!==null&&o!==void 0?o:[],r=>r.id,r=>{let i=this.toFtSearchRequest(r.searchRequest);if(i===void 0)return V.nothing;let n=(0,ct.serializeRequest)(this.baseUrl,i);return V.html`
|
|
1128
|
+
<a href="${n}" @click="${a=>this.onLinkClick(a,i)}">
|
|
1129
|
+
<ft-card clickable ?selected="${this.isSelected(r.searchRequest)}" part="card">
|
|
1136
1130
|
<div slot="header">
|
|
1137
|
-
<ft-typography variant="title">${
|
|
1138
|
-
${this.renderAlertStatus(
|
|
1131
|
+
<ft-typography variant="title">${r.title}</ft-typography>
|
|
1132
|
+
${this.renderAlertStatus(r.alert)}
|
|
1139
1133
|
</div>
|
|
1140
1134
|
|
|
1141
1135
|
<div part="card-content">
|
|
1142
|
-
${this.renderDescription(
|
|
1143
|
-
${this.renderSearchFilters(
|
|
1144
|
-
${this.renderSearchButton(this.isSelected(
|
|
1136
|
+
${this.renderDescription(r.description)}
|
|
1137
|
+
${this.renderSearchFilters(r.searchRequest)}
|
|
1138
|
+
${this.renderSearchButton(this.isSelected(r.searchRequest))}
|
|
1145
1139
|
</div>
|
|
1146
1140
|
</ft-card>
|
|
1147
1141
|
</a>
|
|
1148
|
-
`})
|
|
1142
|
+
`})}
|
|
1149
1143
|
</div>
|
|
1150
|
-
`:
|
|
1151
|
-
${
|
|
1152
|
-
${
|
|
1153
|
-
${
|
|
1154
|
-
${
|
|
1155
|
-
${
|
|
1156
|
-
${
|
|
1157
|
-
${
|
|
1158
|
-
</div>`:
|
|
1144
|
+
`:V.nothing}renderDescription(o){return this.showDescription&&o?V.html`<div part="description" class="content">${o}</div>`:V.nothing}renderSearchButton(o){return this.showSearchButton?V.html`<div part="search-button"><ft-button id="search" icon="search" ?disabled=${o}>${nt.messages.search()}</ft-button></div>`:V.nothing}renderAlertStatus(o){return this.showAlertStatus&&o?V.html`<ft-icon part="alert-status">alert</ft-icon>`:V.nothing}renderSearchFilters(o){var r,i,n,a,l;return this.showSearchFilters?V.html`<div part="search-filters" class="content">
|
|
1145
|
+
${(r=o.query.length)!==null&&r!==void 0&&r?this.renderMetadata(nt.messages.keywords(),o.query):V.nothing}
|
|
1146
|
+
${o.virtualField==Ve.TITLE_ONLY?this.renderMetadata(nt.messages.in(),nt.messages.titles()):V.nothing}
|
|
1147
|
+
${o.scope==Ze.DOCUMENTS?this.renderMetadata(nt.messages.resultsType(),nt.messages.documentsOnly()):V.nothing}
|
|
1148
|
+
${o.filters.map(p=>this.renderMetadata(p.label,p.values))}
|
|
1149
|
+
${(n=(i=o.contentLocale)===null||i===void 0?void 0:i.length)!==null&&n!==void 0&&n?this.renderMetadata(nt.messages.language(),o.contentLocale):V.nothing}
|
|
1150
|
+
${(l=(a=o.sort[0])===null||a===void 0?void 0:a.key.length)!==null&&l!==void 0&&l?this.renderMetadata(nt.messages.sort(),this.mapSortKey(o.sort[0].key)):V.nothing}
|
|
1151
|
+
${o.periodFilter?this.renderMetadata(nt.messages.period(),this.mapPeriodFilter(o.periodFilter)):V.nothing}
|
|
1152
|
+
</div>`:V.nothing}renderMetadata(o,r){return V.html`
|
|
1159
1153
|
<ft-chip dense part="chip">
|
|
1160
|
-
<span part="metadata-label">${
|
|
1161
|
-
<span part="metadata-values">${Array.isArray(
|
|
1162
|
-
</ft-chip>`}mapSortKey(
|
|
1154
|
+
<span part="metadata-label">${o}</span>
|
|
1155
|
+
<span part="metadata-values">${Array.isArray(r)?r.join(", "):r}</span>
|
|
1156
|
+
</ft-chip>`}mapSortKey(o){switch(o){case"afs:relevance":return nt.messages.relevance();case"ft:lastEdition":return nt.messages.lastUpdate();default:return o}}mapPeriodFilter(o){switch(o.periodType){case"LAST_WEEK":return nt.messages.lastWeek();case"LAST_MONTH":return nt.messages.lastMonth();case"LAST_YEAR":return nt.messages.lastYear();case"CUSTOM":return nt.messages.customPeriod();default:return"--"}}get userHasRights(){return Sa(this.user,this.requiredRole)}get isEmpty(){var o;return((o=this.savedSearches)!==null&&o!==void 0?o:[]).length==0}isSelected(o){var r,i,n,a;return this.request!=null&&(0,ct.deepEqual)(this.request.query,o.query)&&this.areFtSearchFiltersEqual([...this.request.filters],[...o.filters].map(this.mapSearchFilter))&&(0,ct.deepEqual)([...this.request.sort].map(this.mapFtSearchSortCriterion),[...o.sort].map(this.mapFtSearchSortCriterion))&&(0,ct.deepEqual)(this.request.contentLocale,o.contentLocale)&&(0,ct.deepEqual)(this.request.periodFilter,o.periodFilter)&&(0,ct.deepEqual)((r=this.request.virtualField)!==null&&r!==void 0?r:"EVERYWHERE",(i=o.virtualField)!==null&&i!==void 0?i:"EVERYWHERE")&&(0,ct.deepEqual)((n=this.request.scope)!==null&&n!==void 0?n:"DEFAULT",(a=o.scope)!==null&&a!==void 0?a:"DEFAULT")}areFtSearchFiltersEqual(o,r){if(!(0,ct.deepEqual)(o.map(n=>n.key).sort(),r.map(n=>n.key).sort()))return!1;let i=(n,a)=>n.key===a.key&&n.negative===a.negative&&(0,ct.deepEqual)(n.values.sort(),a.values.sort());for(let n of o)if(!r.find(l=>i(n,l)))return!1;return!0}mapFtSearchSortCriterion(o){return{...o}}toFtSearchRequest(o){return this.request==null?void 0:{...this.request,periodFilter:o.periodFilter,query:o.query,filters:o.filters.map(this.mapSearchFilter),sort:o.sort,contentLocale:o.contentLocale,virtualField:o.virtualField,scope:o.scope}}mapSearchFilter(o){return{key:o.key,values:o.values,negative:o.negative}}connectedCallback(){super.connectedCallback(),lr.reloadMySearches()}onLinkClick(o,r){var i;!o.ctrlKey&&!o.metaKey&&(o.stopPropagation(),o.preventDefault(),(i=this.stateManager)===null||i===void 0||i.setRequest(r),this.click())}update(o){super.update(o),(o.has("user")||o.has("savedSearches"))&&this.savedSearches==null&&lr.reloadMySearches()}};xt.styles=Gn;xt.elementDefinitions={"ft-typography":it,"ft-icon":lt,"ft-card":Rt,"ft-chip":G,"ft-button":Ot};Xt([(0,Ye.property)({type:Boolean})],xt.prototype,"showDescription",void 0);Xt([(0,Ye.property)({type:Boolean})],xt.prototype,"showSearchFilters",void 0);Xt([(0,Ye.property)({type:Boolean})],xt.prototype,"showSearchButton",void 0);Xt([(0,Ye.property)({type:Boolean})],xt.prototype,"showAlertStatus",void 0);Xt([(0,ct.redux)({store:le.name})],xt.prototype,"savedSearches",void 0);Xt([(0,ct.redux)({store:N.name,selector:e=>{var o;return(o=e.session)===null||o===void 0?void 0:o.profile}})],xt.prototype,"user",void 0);Xt([(0,ct.redux)({store:N.name})],xt.prototype,"baseUrl",void 0);Xt([(0,ct.redux)({store:"search"})],xt.prototype,"request",void 0);(0,Ia.customElement)("ft-search-saved-searches")(xt);})();
|
|
1157
|
+
/*! Bundled license information:
|
|
1158
|
+
|
|
1159
|
+
lit-html/lit-html.js:
|
|
1160
|
+
(**
|
|
1161
|
+
* @license
|
|
1162
|
+
* Copyright 2017 Google LLC
|
|
1163
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1164
|
+
*)
|
|
1165
|
+
|
|
1166
|
+
lit-html/static.js:
|
|
1167
|
+
(**
|
|
1168
|
+
* @license
|
|
1169
|
+
* Copyright 2020 Google LLC
|
|
1170
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1171
|
+
*)
|
|
1172
|
+
*/
|