@fluid-topics/ft-search-input 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-input.light.js +308 -298
- package/build/ft-search-input.min.js +500 -438
- package/package.json +9 -9
|
@@ -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 sa=Object.create;var or=Object.defineProperty;var la=Object.getOwnPropertyDescriptor;var ca=Object.getOwnPropertyNames;var pa=Object.getPrototypeOf,da=Object.prototype.hasOwnProperty;var Ht=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var fa=(e,o,r,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of ca(o))!da.call(e,i)&&i!==r&&or(e,i,{get:()=>o[i],enumerable:!(n=la(o,i))||n.enumerable});return e};var g=(e,o,r)=>(r=e!=null?sa(pa(e)):{},fa(o||!e||!e.__esModule?or(r,"default",{value:e,enumerable:!0}):r,e));var C=Ht((Za,rr)=>{rr.exports=ftGlobals.wcUtils});var U=Ht((ja,nr)=>{nr.exports=ftGlobals.lit});var ot=Ht((qa,ir)=>{ir.exports=ftGlobals.litDecorators});var ze=Ht((Ap,an)=>{an.exports=ftGlobals.litClassMap});var ni=Ht((Ld,ri)=>{ri.exports=ftGlobals.litUnsafeHTML});var Si=Ht(xi=>{(function(e){var o=function(r){var n={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 i(d){return d&&DataView.prototype.isPrototypeOf(d)}if(n.arrayBuffer)var s=["[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&&s.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 u(d){var h={next:function(){var O=d.shift();return{done:O===void 0,value:O}}};return n.iterable&&(h[Symbol.iterator]=function(){return h}),h}function b(d){this.map={},d instanceof b?d.forEach(function(h,O){this.append(O,h)},this):Array.isArray(d)?d.forEach(function(h){this.append(h[0],h[1])},this):d&&Object.getOwnPropertyNames(d).forEach(function(h){this.append(h,d[h])},this)}b.prototype.append=function(d,h){d=p(d),h=f(h);var O=this.map[d];this.map[d]=O?O+", "+h:h},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,h){this.map[p(d)]=f(h)},b.prototype.forEach=function(d,h){for(var O in this.map)this.map.hasOwnProperty(O)&&d.call(h,this.map[O],O,this)},b.prototype.keys=function(){var d=[];return this.forEach(function(h,O){d.push(O)}),u(d)},b.prototype.values=function(){var d=[];return this.forEach(function(h){d.push(h)}),u(d)},b.prototype.entries=function(){var d=[];return this.forEach(function(h,O){d.push([O,h])}),u(d)},n.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 R(d){return new Promise(function(h,O){d.onload=function(){h(d.result)},d.onerror=function(){O(d.error)}})}function A(d){var h=new FileReader,O=R(h);return h.readAsArrayBuffer(d),O}function w(d){var h=new FileReader,O=R(h);return h.readAsText(d),O}function B(d){for(var h=new Uint8Array(d),O=new Array(h.length),Z=0;Z<h.length;Z++)O[Z]=String.fromCharCode(h[Z]);return O.join("")}function $(d){if(d.slice)return d.slice(0);var h=new Uint8Array(d.byteLength);return h.set(new Uint8Array(d)),h.buffer}function k(){return this.bodyUsed=!1,this._initBody=function(d){this._bodyInit=d,d?typeof d=="string"?this._bodyText=d:n.blob&&Blob.prototype.isPrototypeOf(d)?this._bodyBlob=d:n.formData&&FormData.prototype.isPrototypeOf(d)?this._bodyFormData=d:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)?this._bodyText=d.toString():n.arrayBuffer&&n.blob&&i(d)?(this._bodyArrayBuffer=$(d.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(d)||l(d))?this._bodyArrayBuffer=$(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):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.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(A)}),this.text=function(){var d=S(this);if(d)return d;if(this._bodyBlob)return w(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(B(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(V)}),this.json=function(){return this.text().then(JSON.parse)},this}var H=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Y(d){var h=d.toUpperCase();return H.indexOf(h)>-1?h:d}function J(d,h){h=h||{};var O=h.body;if(d instanceof J){if(d.bodyUsed)throw new TypeError("Already read");this.url=d.url,this.credentials=d.credentials,h.headers||(this.headers=new b(d.headers)),this.method=d.method,this.mode=d.mode,this.signal=d.signal,!O&&d._bodyInit!=null&&(O=d._bodyInit,d.bodyUsed=!0)}else this.url=String(d);if(this.credentials=h.credentials||this.credentials||"same-origin",(h.headers||!this.headers)&&(this.headers=new b(h.headers)),this.method=Y(h.method||this.method||"GET"),this.mode=h.mode||this.mode||null,this.signal=h.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&O)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(O)}J.prototype.clone=function(){return new J(this,{body:this._bodyInit})};function V(d){var h=new FormData;return d.trim().split("&").forEach(function(O){if(O){var Z=O.split("="),X=Z.shift().replace(/\+/g," "),P=Z.join("=").replace(/\+/g," ");h.append(decodeURIComponent(X),decodeURIComponent(P))}}),h}function De(d){var h=new b,O=d.replace(/\r?\n[\t ]+/g," ");return O.split(/\r?\n/).forEach(function(Z){var X=Z.split(":"),P=X.shift().trim();if(P){var We=X.join(":").trim();h.append(P,We)}}),h}k.call(J.prototype);function ct(d,h){h||(h={}),this.type="default",this.status=h.status===void 0?200:h.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in h?h.statusText:"OK",this.headers=new b(h.headers),this.url=h.url||"",this._initBody(d)}k.call(ct.prototype),ct.prototype.clone=function(){return new ct(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new b(this.headers),url:this.url})},ct.error=function(){var d=new ct(null,{status:0,statusText:""});return d.type="error",d};var er=[301,302,303,307,308];ct.redirect=function(d,h){if(er.indexOf(h)===-1)throw new RangeError("Invalid status code");return new ct(null,{status:h,headers:{location:d}})},r.DOMException=e.DOMException;try{new r.DOMException}catch{r.DOMException=function(h,O){this.message=h,this.name=O;var Z=Error(h);this.stack=Z.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function Jt(d,h){return new Promise(function(O,Z){var X=new J(d,h);if(X.signal&&X.signal.aborted)return Z(new r.DOMException("Aborted","AbortError"));var P=new XMLHttpRequest;function We(){P.abort()}P.onload=function(){var xe={status:P.status,statusText:P.statusText,headers:De(P.getAllResponseHeaders()||"")};xe.url="responseURL"in P?P.responseURL:xe.headers.get("X-Request-URL");var bo="response"in P?P.response:P.responseText;O(new ct(bo,xe))},P.onerror=function(){Z(new TypeError("Network request failed"))},P.ontimeout=function(){Z(new TypeError("Network request failed"))},P.onabort=function(){Z(new r.DOMException("Aborted","AbortError"))},P.open(X.method,X.url,!0),X.credentials==="include"?P.withCredentials=!0:X.credentials==="omit"&&(P.withCredentials=!1),"responseType"in P&&n.blob&&(P.responseType="blob"),X.headers.forEach(function(xe,bo){P.setRequestHeader(bo,xe)}),X.signal&&(X.signal.addEventListener("abort",We),P.onreadystatechange=function(){P.readyState===4&&X.signal.removeEventListener("abort",We)}),P.send(typeof X._bodyInit>"u"?null:X._bodyInit)})}return Jt.polyfill=!0,e.fetch||(e.fetch=Jt,e.Headers=b,e.Request=J,e.Response=ct),r.Headers=b,r.Request=J,r.Response=ct,r.fetch=Jt,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:xi)});var ea=Ht((bh,ta)=>{ta.exports=ftGlobals.litRepeat});var aa=g(C());var tr=g(U()),mo=g(C());var mi=g(U()),T=g(C());var Mo=g(C());var _e=g(ot()),ui=g(C());var rn=g(U()),E=g(C());var dr=g(U()),F=g(C()),ar=F.FtCssVariableFactory.extend("--ft-ripple-color","",F.designSystemVariables.colorContent),L={color:ar,backgroundColor:F.FtCssVariableFactory.extend("--ft-ripple-background-color","",ar),opacityContentOnSurfacePressed:F.FtCssVariableFactory.external(F.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:F.FtCssVariableFactory.external(F.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:F.FtCssVariableFactory.external(F.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:F.FtCssVariableFactory.external(F.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:F.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},sr=F.FtCssVariableFactory.extend("--ft-ripple-color","",F.designSystemVariables.colorPrimary),lr={color:sr,backgroundColor:F.FtCssVariableFactory.extend("--ft-ripple-background-color","",sr)},cr=F.FtCssVariableFactory.extend("--ft-ripple-color","",F.designSystemVariables.colorSecondary),pr={color:cr,backgroundColor:F.FtCssVariableFactory.extend("--ft-ripple-background-color","",cr)},fr=dr.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: ${L.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: ${L.backgroundColor};
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.ft-ripple .ft-ripple--effect {
|
|
52
|
-
background-color: ${
|
|
52
|
+
background-color: ${L.color};
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
56
|
-
background-color: ${
|
|
56
|
+
background-color: ${pr.backgroundColor};
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
60
|
-
background-color: ${
|
|
60
|
+
background-color: ${pr.color};
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
64
|
-
background-color: ${
|
|
64
|
+
background-color: ${lr.backgroundColor};
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
68
|
-
background-color: ${
|
|
68
|
+
background-color: ${lr.color};
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.ft-ripple .ft-ripple--background {
|
|
@@ -95,126 +95,127 @@
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
98
|
-
opacity: ${
|
|
98
|
+
opacity: ${L.opacityContentOnSurfaceHover};
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
102
|
-
opacity: ${
|
|
102
|
+
opacity: ${L.opacityContentOnSurfaceSelected};
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
106
|
-
opacity: ${
|
|
106
|
+
opacity: ${L.opacityContentOnSurfaceFocused};
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
110
|
-
opacity: ${
|
|
110
|
+
opacity: ${L.opacityContentOnSurfacePressed};
|
|
111
111
|
transform: translate(-50%, -50%) scale(1);
|
|
112
112
|
}
|
|
113
|
-
`,y=t=>"string"==typeof t?e.unsafeCSS(t):t;class b{static create(t,o,r,i){const n=t=>y(null!=t?t:i),a=e.css`var(${y(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(${y(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(${y(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(${y(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):y(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${y(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(${y(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const m={colorWhite:b.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:b.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:b.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:b.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:b.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:b.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:b.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:b.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:b.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:b.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:b.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:b.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:b.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:b.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:b.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:b.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:b.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:b.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:b.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:b.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:b.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:b.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:b.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:b.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:b.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:b.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:b.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:b.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:b.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:b.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:b.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:b.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:b.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:b.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:b.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:b.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:b.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:b.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:b.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:b.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:b.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:b.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:b.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:b.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:b.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:b.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:b.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:b.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:b.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:b.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:b.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:b.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:b.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:b.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:b.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:b.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:b.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:b.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:b.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:b.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:b.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:b.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:b.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:b.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:b.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:b.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:b.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:b.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:b.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:b.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:b.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:b.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:b.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:b.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:b.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:b.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:b.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:b.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:b.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:b.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:b.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:b.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:b.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:b.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:b.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:b.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:b.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:b.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:b.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:b.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:b.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:b.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:b.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:b.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:b.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:b.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:b.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:b.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:b.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:b.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:b.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:b.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:b.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:b.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:b.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:b.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:b.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:b.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:b.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:b.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:b.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:b.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:b.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:b.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:b.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:b.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:b.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:b.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:b.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:b.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:b.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:b.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:b.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:b.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:b.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:b.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:b.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:b.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:b.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:b.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:b.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:b.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:b.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:b.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:b.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:b.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:b.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:b.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:b.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:b.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:b.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:b.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:b.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:b.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:b.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:b.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:b.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:b.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:b.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:b.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:b.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:b.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:b.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:b.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:b.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:b.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:b.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:b.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:b.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:b.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:b.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:b.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:b.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:b.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:b.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:b.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:b.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:b.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:b.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:b.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:b.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:b.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:b.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:b.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:b.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:b.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:b.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:b.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:b.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:b.create("--ft-icon-size-6","","SIZE","48px"),opacity0:b.create("--ft-opacity-0","","NUMBER","0"),opacity8:b.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:b.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:b.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:b.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:b.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:b.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:b.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:b.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:b.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:b.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:b.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:b.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:b.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:b.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)")},x={display:{fontFamily:b.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:b.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:b.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:b.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:b.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:b.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:b.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:b.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:b.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:b.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:b.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:b.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:b.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:b.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:b.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:b.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:b.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:b.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:b.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:b.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:b.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:b.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-medium-underline":{fontFamily:b.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:b.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:b.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},"body-2-semibold":{fontFamily:b.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:b.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:b.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:b.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:b.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:b.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:b.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:b.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:b.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:b.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:b.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:b.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:b.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:b.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:b.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:b.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:b.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:b.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:b.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:b.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:b.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:b.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},v={backgroundActionPrimary:b.extend("--ft-background-action-primary","Used as backgorund of primary action components.",m.colorBrand0),backgroundErrorSubtle:b.extend("--ft-background-error-subtle","Used as background of subtle error components.",m.colorRed10),backgroundInfoSubtle:b.extend("--ft-background-info-subtle","Used as background of subtle information components.",m.colorCyan10),backgroundWarningSubtle:b.extend("--ft-background-warning-subtle","Used as background of subtle information components.",m.colorOrange10),backgroundSuccessSubtle:b.extend("--ft-background-success-subtle","Used as background of subtle success components.",m.colorGreen10),backgroundGlobalSurface:b.extend("--ft-background-global-surface","Used as app background.",m.colorWhite),backgroundGlobalOnSurface:b.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",m.colorGray10),backgroundGlobalOnSurfaceDark:b.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",m.colorGray30),contentActionPrimary:b.extend("--ft-content-action-primary","Used on label of primary action on light surface.",m.colorBrand0),contentWarningPrimary:b.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",m.colorOrange200),contentWarningIconOnly:b.extend("--ft-content-warning-icon-only","Used on warning status icons alone",m.colorOrange0),contentErrorPrimary:b.extend("--ft-content-error-primary","Used on label of error messages on light surface.",m.colorRed0),contentErrorIconOnly:b.extend("--ft-content-error-icon-only","Used on error status icons alone",m.colorRed70),contentInfoPrimary:b.extend("--ft-content-info-primary","Used on label of information messages on light surface.",m.colorCyan200),contentInfoIconOnly:b.extend("--ft-content-info-icon-only","Used on info status icons alone",m.colorCyan0),contentSuccessPrimary:b.extend("--ft-content-success-primary","Used on label of success messages on light surface.",m.colorGreen200),contentSuccessIconOnly:b.extend("--ft-content-success-icon-only","Used on success status icons alone",m.colorGreen0),contentGlobalPrimary:b.extend("--ft-content-global-primary","Used for main content on the page.",m.colorGray500),contentGlobalSecondary:b.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",m.colorGray200),contentGlobalSubtle:b.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",m.colorGray0),contentGlobalOnColor:b.extend("--ft-content-global-on-color","Used for content on a dominant color.",m.colorWhite),borderActionPrimary:b.extend("--ft-border-action-primary","Used as border for primary action components.",m.colorBrand0),borderActionFocusRing:b.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",m.colorCyan0),borderWarningPrimary:b.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",m.colorOrange200),borderWarningSubtle:b.extend("--ft-border-warning-subtle","Used as border for warning components.",m.colorOrange30),borderSuccessPrimary:b.extend("--ft-border-success-primary","Used as border for success buttons.",m.colorGreen200),borderSuccessSubtle:b.extend("--ft-border-success-subtle","Used as border for success components.",m.colorGreen30),borderErrorPrimary:b.extend("--ft-border-error-primary","Used as border for text fields in error states.",m.colorRed0),borderErrorSubtle:b.extend("--ft-border-error-subtle","Used as border for error components.",m.colorRed30),borderInfoPrimary:b.extend("--ft-border-info-primary","Used as border for buttons in info color.",m.colorCyan200),borderInfoSubtle:b.extend("--ft-border-info-subtle","Used as border for information components.",m.colorCyan30),borderGlobalPrimary:b.extend("--ft-border-global-primary","Used as border for element like input.",m.colorGray50),borderGlobalSubtle:b.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",m.colorGray30),borderInputPrimary:b.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",m.colorGray80)},O={largeHeight:b.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:b.extend("--ft-button-large-horizontal-padding","",m.spacing4),largeGap:b.extend("--ft-button-large-gap","",m.spacing2),largeBorderRadius:b.extend("--ft-button-large-border-radius","",m.borderRadiusS),largeIconSize:b.extend("--ft-button-large-icon-size","",m.iconSize3),largeBorderWidth:b.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:b.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:b.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:b.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:b.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:b.extend("--ft-button-small-horizontal-padding","",m.spacing3),smallGap:b.extend("--ft-button-small-gap","",m.spacing2),smallBorderRadius:b.extend("--ft-button-small-border-radius","",m.borderRadiusS),smallIconSize:b.extend("--ft-button-small-icon-size","",m.iconSize2),smallBorderWidth:b.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:b.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:b.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:b.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:b.extend("--ft-button-primary-background-color","",v.backgroundActionPrimary),primaryColor:b.extend("--ft-button-primary-color","",v.contentGlobalOnColor),primaryIconColor:b.extend("--ft-button-primary-icon-color","",v.contentGlobalOnColor),primaryStateLayerColor:b.extend("--ft-button-primary-state-layer-color","",v.contentGlobalOnColor),primaryHoverStateLayerOpacity:b.extend("--ft-button-primary-hover-state-layer-opacity","",m.opacity16),primaryFocusStateLayerOpacity:b.extend("--ft-button-primary-focus-state-layer-opacity","",m.opacity16),primaryActiveStateLayerOpacity:b.extend("--ft-button-primary-active-state-layer-opacity","",m.opacity24),primaryDisabledComponentOpacity:b.extend("--ft-button-primary-disabled-component-opacity","",m.opacity40),focusFocusRingColor:b.extend("--ft-button-focus-focus-ring-color","",v.borderActionFocusRing),tertiaryBackgroundColor:b.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:b.extend("--ft-button-tertiary-color","",v.contentActionPrimary),tertiaryIconColor:b.extend("--ft-button-tertiary-icon-color","",v.contentActionPrimary),tertiaryStateLayerColor:b.extend("--ft-button-tertiary-state-layer-color","",v.contentActionPrimary),tertiaryHoverStateLayerOpacity:b.extend("--ft-button-tertiary-hover-state-layer-opacity","",m.opacity8),tertiaryFocusStateLayerOpacity:b.extend("--ft-button-tertiary-focus-state-layer-opacity","",m.opacity8),tertiaryActiveStateLayerOpacity:b.extend("--ft-button-tertiary-active-state-layer-opacity","",m.opacity16),tertiaryDisabledComponentOpacity:b.extend("--ft-button-tertiary-disabled-component-opacity","",m.opacity40),secondaryBackgroundColor:b.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:b.extend("--ft-button-secondary-color","",v.contentActionPrimary),secondaryIconColor:b.extend("--ft-button-secondary-icon-color","",v.contentActionPrimary),secondaryStateLayerColor:b.extend("--ft-button-secondary-state-layer-color","",v.contentActionPrimary),secondaryHoverStateLayerOpacity:b.extend("--ft-button-secondary-hover-state-layer-opacity","",m.opacity8),secondaryFocusStateLayerOpacity:b.extend("--ft-button-secondary-focus-state-layer-opacity","",m.opacity8),secondaryActiveStateLayerOpacity:b.extend("--ft-button-secondary-active-state-layer-opacity","",m.opacity16),secondaryDisabledComponentOpacity:b.extend("--ft-button-secondary-disabled-component-opacity","",m.opacity40),secondaryBorderColor:b.extend("--ft-button-secondary-border-color","",v.borderActionPrimary),neutralBackgroundColor:b.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:b.extend("--ft-button-neutral-icon-color","",v.contentGlobalSecondary),neutralColor:b.extend("--ft-button-neutral-color","",v.contentGlobalSecondary),neutralStateLayerColor:b.extend("--ft-button-neutral-state-layer-color","",v.contentGlobalSecondary),neutralHoverStateLayerOpacity:b.extend("--ft-button-neutral-hover-state-layer-opacity","",m.opacity8),neutralFocusStateLayerOpacity:b.extend("--ft-button-neutral-focus-state-layer-opacity","",m.opacity8),neutralActiveStateLayerOpacity:b.extend("--ft-button-neutral-active-state-layer-opacity","",m.opacity16),neutralDisabledComponentOpacity:b.extend("--ft-button-neutral-disabled-component-opacity","",m.opacity40)};b.extend("--ft-banner-icon-size","",m.iconSize5),b.create("--ft-banner-border-width","","SIZE","1px"),b.extend("--ft-banner-horizontal-padding","",m.spacing6),b.extend("--ft-banner-vertical-padding","",m.spacing6),b.extend("--ft-banner-horizontal-side-gap","",m.spacing6),b.extend("--ft-banner-horizontal-mobile-gap","",m.spacing4),b.extend("--ft-banner-vertical-mobile-gap","",m.spacing6),b.extend("--ft-banner-horizontal-middle-gap","",m.spacing20),b.extend("--ft-banner-info-background-color","",v.backgroundInfoSubtle),b.extend("--ft-banner-info-color","",v.contentInfoPrimary),b.extend("--ft-banner-info-icon-color","",v.contentInfoIconOnly),b.extend("--ft-breadcrumb-horizontal-gap","",m.spacing1),b.extend("--ft-breadcrumb-vertical-gap","",m.spacing2),b.extend("--ft-breadcrumb-current-element-color","",v.contentGlobalPrimary),b.extend("--ft-breadcrumb-icon-color","",v.contentGlobalSubtle),b.extend("--ft-page-header-horizontal-padding","",m.spacing12),b.extend("--ft-page-header-horizontal-gap","",m.spacing4),b.extend("--ft-page-header-vertical-gap","",m.spacing2),b.extend("--ft-page-header-classic-vertical-padding","",m.spacing6),b.extend("--ft-page-header-multiline-vertical-padding","",m.spacing4),b.extend("--ft-page-header-inline-vertical-padding","",m.spacing2),b.extend("--ft-page-header-background-color","",m.colorWhite),b.extend("--ft-page-header-bottom-border-color","",v.borderGlobalSubtle),b.extend("--ft-page-header-title-color","",v.contentGlobalPrimary),b.extend("--ft-page-header-subtitle-color","",v.contentGlobalSecondary),b.create("--ft-modal-small-container-width","","SIZE","600px"),b.create("--ft-modal-large-container-width","","SIZE","900px"),b.extend("--ft-modal-overlay-background-color","",m.colorGray700),b.extend("--ft-modal-overlay-opacity","",m.opacity40),b.extend("--ft-modal-shadow","",m.shadowElevation03),b.extend("--ft-modal-body-background-color","",m.colorWhite),b.extend("--ft-modal-body-color","",v.contentGlobalPrimary),b.extend("--ft-modal-body-horizontal-padding","",m.spacing6),b.extend("--ft-modal-body-vertical-padding","",m.spacing6),b.extend("--ft-modal-body-vertical-gap","",m.spacing6),b.extend("--ft-modal-container-margin","",m.spacing3),b.extend("--ft-modal-header-background-color","",v.backgroundGlobalOnSurface),b.extend("--ft-modal-header-border-color","",v.borderGlobalSubtle),b.extend("--ft-modal-header-color","",v.contentGlobalPrimary),b.extend("--ft-modal-header-trailing-icon-color","",v.contentGlobalSecondary),b.extend("--ft-modal-header-vertical-padding","",m.spacing1),b.extend("--ft-modal-header-right-padding","",m.spacing1),b.extend("--ft-modal-header-left-padding","",m.spacing6),b.extend("--ft-modal-header-gap","",m.spacing2),b.create("--ft-modal-header-border-bottom","","SIZE","1px"),b.extend("--ft-modal-border-radius","",m.borderRadiusM),b.extend("--ft-drawer-overlay-opacity","",m.opacity40),b.extend("--ft-drawer-shadow","",m.shadowElevation03),b.extend("--ft-drawer-body-color","",v.contentGlobalPrimary),b.extend("--ft-drawer-body-horizontal-padding","",m.spacing6),b.extend("--ft-drawer-body-vertical-padding","",m.spacing6),b.extend("--ft-drawer-body-gap","",m.spacing6),b.extend("--ft-drawer-body-background-color","",m.colorWhite),b.extend("--ft-drawer-header-background-color","",v.backgroundGlobalOnSurface),b.extend("--ft-drawer-header-border-color","",v.borderGlobalSubtle),b.extend("--ft-drawer-header-color","",v.contentGlobalPrimary),b.extend("--ft-drawer-header-trailing-icon-color","",v.contentGlobalSecondary),b.create("--ft-drawer-header-height","","SIZE","50px"),b.extend("--ft-drawer-header-horizontal-padding","",m.spacing2),b.create("--ft-drawer-header-border-width","","SIZE","1px"),b.extend("--ft-drawer-header-gap","",m.spacing3),b.extend("--ft-drawer-buttons-bar-background-color","",v.backgroundGlobalOnSurface),b.extend("--ft-drawer-buttons-bar-border-color","",v.borderGlobalSubtle),b.extend("--ft-drawer-buttons-bar-color","",v.contentGlobalPrimary),b.extend("--ft-drawer-buttons-bar-horizontal-padding","",m.spacing4),b.extend("--ft-drawer-buttons-bar-vertical-padding","",m.spacing4),b.extend("--ft-drawer-buttons-bar-gap","",m.spacing3),b.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),b.create("--ft-drawer-container-width","","SIZE","66%"),b.create("--ft-drawer-container-min-width","","SIZE","500px"),b.create("--ft-drawer-container-max-width","","SIZE","1000px"),b.create("--ft-drawer-container-height","","SIZE","100%"),b.extend("--ft-drawer-overlay-background-color","",m.colorGray700),b.extend("--ft-text-input-field-horizontal-padding","",m.spacing4),b.extend("--ft-text-input-field-horizontal-gap","",m.spacing3),b.extend("--ft-text-input-field-vertical-gap","",m.spacing05),b.extend("--ft-text-input-field-icon-size","",m.iconSize3),b.create("--ft-text-input-field-height","","SIZE","50px"),b.extend("--ft-text-input-helper-horizontal-padding","",m.spacing4),b.extend("--ft-text-input-helper-horizontal-gap","",m.spacing1),b.extend("--ft-text-input-helper-icon-size","",m.iconSize2),b.extend("--ft-text-input-border-radius","",m.borderRadiusM),b.extend("--ft-text-input-background-color","",m.colorWhite),b.extend("--ft-text-input-content-value-color","",v.contentGlobalPrimary),b.extend("--ft-text-input-trailing-icon-color","",v.contentGlobalSubtle),b.extend("--ft-text-input-label-color","",v.contentGlobalSubtle),b.extend("--ft-text-input-default-border-color","",v.borderInputPrimary),b.extend("--ft-text-input-default-helper-text-color","",v.contentGlobalSubtle),b.create("--ft-text-input-default-border-width","","SIZE","1px"),b.create("--ft-text-input-error-border-width","","SIZE","2px"),b.extend("--ft-text-input-error-border-color","",v.borderErrorPrimary),b.extend("--ft-text-input-error-helper-text-color","",v.contentErrorPrimary),b.extend("--ft-text-input-error-helper-icon-color","",v.contentErrorIconOnly),b.create("--ft-text-input-warning-border-width","","SIZE","2px"),b.create("--ft-text-input-focus-outline-width","","SIZE","2px"),b.extend("--ft-text-input-focus-focus-ring-color","",v.borderActionFocusRing),b.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),b.extend("--ft-text-input-disabled-component-opacity","",m.opacity40),b.extend("--ft-text-area-background-color","",m.colorWhite),b.extend("--ft-text-area-content-value-color","",v.contentGlobalPrimary),b.extend("--ft-text-area-label-color","",v.contentGlobalSubtle),b.extend("--ft-text-area-default-border-color","",v.borderInputPrimary),b.extend("--ft-text-area-default-helper-text-color","",v.contentGlobalSubtle),b.create("--ft-text-area-default-border-width","","SIZE","1px"),b.create("--ft-text-area-error-border-width","","SIZE","2px"),b.extend("--ft-text-area-error-border-color","",v.borderErrorPrimary),b.extend("--ft-text-area-error-helper-text-color","",v.contentErrorPrimary),b.extend("--ft-text-area-error-helper-icon-color","",v.contentErrorIconOnly),b.extend("--ft-text-area-focus-focus-ring-color","",v.borderActionFocusRing),b.create("--ft-text-area-focus-outline-width","","SIZE","2px"),b.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),b.extend("--ft-text-area-disabled-component-opacity","",m.opacity40),b.extend("--ft-text-area-field-horizontal-left-padding","",m.spacing4),b.extend("--ft-text-area-field-horizontal-gap","",m.spacing3),b.extend("--ft-text-area-field-vertical-gap","",m.spacing05),b.create("--ft-text-area-field-min-height","","SIZE","64px"),b.extend("--ft-text-area-helper-horizontal-padding","",m.spacing4),b.extend("--ft-text-area-helper-horizontal-gap","",m.spacing1),b.extend("--ft-text-area-helper-icon-size","",m.iconSize2),b.extend("--ft-text-area-border-radius","",m.borderRadiusM),b.create("--ft-floating-menu-height","","SIZE","50px"),b.extend("--ft-floating-menu-horizontal-padding","",m.spacing4),b.extend("--ft-floating-menu-off-icon-color","",v.contentGlobalPrimary),b.extend("--ft-floating-menu-off-color","",v.contentGlobalPrimary),b.extend("--ft-floating-menu-on-color","",v.contentActionPrimary),b.extend("--ft-floating-menu-on-state-layer-color","",v.contentActionPrimary),b.extend("--ft-floating-menu-gap","",m.spacing3),b.extend("--ft-floating-menu-focus-focus-ring-color","",v.borderActionFocusRing),b.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),b.extend("--ft-floating-menu-focus-state-layer-opacity","",m.opacity8),b.extend("--ft-floating-menu-hover-state-layer-opacity","",m.opacity8),b.extend("--ft-floating-menu-active-state-layer-opacity","",m.opacity16),b.extend("--ft-floating-menu-disabled-component-opacity","",m.opacity40),b.extend("--ft-floating-menu-icon-size","",m.iconSize3),b.extend("--ft-floating-menu-background-color","",v.backgroundGlobalOnSurface),b.extend("--ft-combobox-single-select-field-horizontal-padding","",m.spacing4),b.extend("--ft-combobox-single-select-field-horizontal-gap","",m.spacing3),b.extend("--ft-combobox-single-select-field-vertical-gap","",m.spacing05),b.extend("--ft-combobox-single-select-field-icon-size","",m.iconSize3),b.create("--ft-combobox-single-select-field-height","","SIZE","50px"),b.extend("--ft-combobox-single-select-helper-horizontal-padding","",m.spacing4),b.extend("--ft-combobox-single-select-helper-horizontal-gap","",m.spacing1),b.extend("--ft-combobox-single-select-helper-vertical-gap","",m.spacing1),b.extend("--ft-combobox-single-select-helper-icon-size","",m.iconSize2),b.extend("--ft-combobox-single-select-menu-vertical-gap","",m.spacing2),b.extend("--ft-combobox-single-select-border-radius","",m.borderRadiusM),b.extend("--ft-combobox-single-select-background-color","",m.colorWhite),b.extend("--ft-combobox-single-select-label-color","",v.contentGlobalSubtle),b.extend("--ft-combobox-single-select-content-value-color","",v.contentGlobalPrimary),b.extend("--ft-combobox-single-select-trailing-icon-color","",v.contentGlobalSubtle),b.extend("--ft-combobox-single-select-default-border-color","",v.borderInputPrimary),b.extend("--ft-combobox-single-select-default-helper-text-color","",v.contentGlobalSubtle),b.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),b.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),b.extend("--ft-combobox-single-select-error-border-color","",v.borderErrorPrimary),b.extend("--ft-combobox-single-select-error-helper-text-color","",v.contentErrorPrimary),b.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),b.extend("--ft-combobox-single-select-warning-border-color","",v.borderWarningPrimary),b.extend("--ft-combobox-single-select-warning-helper-text-color","",v.contentWarningPrimary),b.extend("--ft-combobox-single-select-warning-helper-icon-color","",v.contentWarningIconOnly),b.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),b.extend("--ft-combobox-single-select-focus-focus-ring-color","",v.borderActionFocusRing),b.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),b.extend("--ft-combobox-single-select-disabled-component-opacity","",m.opacity40),b.extend("--ft-combobox-multi-select-background-color","",m.colorWhite),b.extend("--ft-combobox-multi-select-label-color","",v.contentGlobalSubtle),b.extend("--ft-combobox-multi-select-trailing-icon-color","",v.contentGlobalSubtle),b.extend("--ft-combobox-multi-select-default-border-color","",v.borderInputPrimary),b.extend("--ft-combobox-multi-select-default-helper-text-color","",v.contentGlobalSubtle),b.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),b.extend("--ft-combobox-multi-select-error-border-color","",v.borderErrorPrimary),b.extend("--ft-combobox-multi-select-error-helper-text-color","",v.contentErrorPrimary),b.extend("--ft-combobox-multi-select-error-helper-icon","",v.contentErrorIconOnly),b.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),b.extend("--ft-combobox-multi-select-warning-border-color","",v.borderWarningPrimary),b.extend("--ft-combobox-multi-select-warning-helper-text-color","",v.contentWarningPrimary),b.extend("--ft-combobox-multi-select-warning-helper-icon-color","",v.contentWarningIconOnly),b.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),b.extend("--ft-combobox-multi-select-focus-focus-ring-color","",v.borderActionFocusRing),b.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),b.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),b.extend("--ft-combobox-multi-select-disabled-component-opacity","",m.opacity40),b.extend("--ft-combobox-multi-select-helper-horizontal-padding","",m.spacing4),b.extend("--ft-combobox-multi-select-helper-horizontal-gap","",m.spacing1),b.extend("--ft-combobox-multi-select-helper-vertical-gap","",m.spacing1),b.extend("--ft-combobox-multi-select-helper-icon-size","",m.iconSize2),b.extend("--ft-combobox-multi-select-field-horizontal-padding","",m.spacing4),b.extend("--ft-combobox-multi-select-field-horizontal-gap","",m.spacing3),b.extend("--ft-combobox-multi-select-field-vertical-gap","",m.spacing05),b.extend("--ft-combobox-multi-select-field-icon-size","",m.iconSize3),b.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),b.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",m.spacing1),b.extend("--ft-combobox-multi-select-content-values-vertical-gap","",m.spacing1),b.extend("--ft-combobox-multi-select-border-radius","",m.borderRadiusM),b.extend("--ft-popover-background-color","",v.backgroundGlobalOnSurface),b.extend("--ft-popover-horizontal-padding","",m.spacing6),b.extend("--ft-popover-vertical-padding","",m.spacing6),b.extend("--ft-popover-icon-color","",v.contentGlobalSecondary),b.extend("--ft-popover-icon-size","",m.iconSize2),b.extend("--ft-popover-title-color","",v.contentGlobalPrimary),b.extend("--ft-popover-body-color","",v.contentGlobalSecondary),b.extend("--ft-popover-link-color","",v.contentActionPrimary),b.extend("--ft-popover-gap","",m.spacing3),b.extend("--ft-popover-border-radius","",m.borderRadiusM),b.extend("--ft-popover-shadow","",m.shadowElevation02),b.extend("--ft-tabs-top-left-border-radius","",m.borderRadiusS),b.extend("--ft-tabs-top-right-border-radius","",m.borderRadiusS),b.extend("--ft-tabs-label-horizontal-padding","",m.spacing4),b.extend("--ft-tabs-label-vertical-padding","",m.spacing3),b.extend("--ft-tabs-label-gap","",m.spacing1),b.extend("--ft-tabs-off-hover-state-layer-opacity","",m.opacity8),b.extend("--ft-tabs-off-focus-state-layer-opacity","",m.opacity8),b.extend("--ft-tabs-off-active-state-layer-opacity","",m.opacity16),b.extend("--ft-tabs-off-disabled-component-opacity","",m.opacity40),b.extend("--ft-tabs-off-color","",v.contentGlobalSubtle),b.extend("--ft-tabs-off-state-layer-color","",v.contentGlobalSubtle),b.extend("--ft-tabs-on-hover-state-layer-opacity","",m.opacity8),b.extend("--ft-tabs-on-focus-state-layer-opacity","",m.opacity8),b.extend("--ft-tabs-on-active-state-layer-opacity","",m.opacity16),b.extend("--ft-tabs-on-disabled-component-opacity","",m.opacity40),b.extend("--ft-tabs-on-color","",v.contentActionPrimary),b.extend("--ft-tabs-on-state-layer-color","",v.contentActionPrimary),b.extend("--ft-tabs-icon-horizontal-padding","",m.spacing1),b.extend("--ft-tabs-icon-vertical-padding","",m.spacing4),b.create("--ft-tabs-focus-outline-width","","SIZE","2px"),b.extend("--ft-tabs-focus-focus-ring-color","",v.borderActionFocusRing),b.extend("--ft-collapsible-hover-state-layer-opacity","",m.opacity8),b.extend("--ft-collapsible-focus-state-layer-opacity","",m.opacity8),b.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),b.extend("--ft-collapsible-focus-focus-ring-color","",v.borderActionFocusRing),b.extend("--ft-collapsible-active-state-layer-opacity","",m.opacity16),b.extend("--ft-collapsible-disabled-component-opacity","",m.opacity40),b.extend("--ft-collapsible-horizontal-padding","",m.spacing4),b.extend("--ft-collapsible-vertical-padding","",m.spacing3),b.extend("--ft-collapsible-color","",v.contentGlobalPrimary),b.extend("--ft-collapsible-state-layer-color","",v.contentGlobalPrimary),b.extend("--ft-collapsible-background-color","",v.backgroundGlobalOnSurface),b.extend("--ft-collapsible-border-color","",v.borderGlobalSubtle),b.extend("--ft-collapsible-icon-size","",m.iconSize3),b.extend("--ft-switch-group-horizontal-padding","",m.spacing1),b.extend("--ft-switch-group-vertical-padding","",m.spacing1),b.extend("--ft-switch-group-gap","",m.spacing1),b.extend("--ft-switch-group-background-color","",v.backgroundGlobalSurface),b.extend("--ft-switch-group-border-color","",v.borderGlobalSubtle),b.create("--ft-switch-group-border-radius","","SIZE","6px"),b.extend("--ft-switch-label-horizontal-padding","",m.spacing2),b.extend("--ft-switch-label-vertical-padding","",m.spacing1),b.extend("--ft-switch-off-hover-state-layer-opacity","",m.opacity8),b.extend("--ft-switch-off-focus-state-layer-opacity","",m.opacity8),b.extend("--ft-switch-off-active-state-layer-opacity","",m.opacity16),b.extend("--ft-switch-off-disabled-component-opacity","",m.opacity40),b.extend("--ft-switch-off-color","",v.contentGlobalSubtle),b.extend("--ft-switch-off-state-layer-color","",v.contentGlobalSubtle),b.extend("--ft-switch-on-hover-state-layer-opacity","",m.opacity8),b.extend("--ft-switch-on-focus-state-layer-opacity","",m.opacity8),b.extend("--ft-switch-on-active-state-layer-opacity","",m.opacity16),b.extend("--ft-switch-on-disabled-component-opacity","",m.opacity40),b.extend("--ft-switch-on-color","",v.contentActionPrimary),b.extend("--ft-switch-on-state-layer-color","",v.contentActionPrimary),b.extend("--ft-switch-icon-horizontal-padding","",m.spacing1),b.extend("--ft-switch-icon-vertical-padding","",m.spacing1),b.create("--ft-switch-focus-outline-width","","SIZE","2px"),b.extend("--ft-switch-focus-focus-ring-color","",v.borderActionFocusRing),b.extend("--ft-switch-option-border-radius","",m.borderRadiusS),b.extend("--ft-chart-1-light","for area color charts",m.colorBrand40),b.extend("--ft-chart-1-base","for line charts",m.colorBrand0),b.extend("--ft-chart-2-light","for area color charts",m.colorYellow60),b.extend("--ft-chart-2-base","for line charts",m.colorYellow100),b.extend("--ft-chart-3-light","",m.colorUltramarine40),b.extend("--ft-chart-3-base","",m.colorUltramarine70),b.extend("--ft-chart-4-light","",m.colorCyan50),b.extend("--ft-chart-4-base","",m.colorCyan100),b.extend("--ft-chart-5-light","",m.colorRed40),b.extend("--ft-chart-5-base","",m.colorRed60),b.extend("--ft-chart-6-light","",m.colorGreen40),b.extend("--ft-chart-6-base","",m.colorGreen70),b.extend("--ft-chart-7-light","",m.colorOrange70),b.extend("--ft-chart-7-base","",m.colorOrange100),b.extend("--ft-chart-8-light","",m.colorAvocado70),b.extend("--ft-chart-8-base","",m.colorAvocado200),b.extend("--ft-chart-9-light","",m.colorBrown50),b.extend("--ft-chart-9-base","",m.colorBrown200),b.extend("--ft-chart-10-light","",m.colorGray50),b.extend("--ft-chart-10-base","",m.colorGray80),b.extend("--ft-chart-monochrome-10","",m.colorBrand10),b.extend("--ft-chart-monochrome-20","",m.colorBrand20),b.extend("--ft-chart-monochrome-30","",m.colorBrand40),b.extend("--ft-chart-monochrome-40","",m.colorBrand60),b.extend("--ft-chart-monochrome-50","",m.colorBrand0),b.extend("--ft-chart-monochrome-60","",m.colorBrand200),b.extend("--ft-chip-large-horizontal-padding","",m.spacing4),b.extend("--ft-chip-large-vertical-padding","",m.spacing2),b.extend("--ft-chip-large-gap","",m.spacing1),b.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),b.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),b.extend("--ft-chip-large-border-radius","",m.borderRadiusPill),b.create("--ft-chip-large-border-width","","SIZE","1px"),b.extend("--ft-chip-large-icon-size","",m.iconSize3),b.extend("--ft-chip-medium-horizontal-padding","",m.spacing3),b.extend("--ft-chip-medium-vertical-padding","",m.spacing1),b.extend("--ft-chip-medium-gap","",m.spacing1),b.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),b.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),b.extend("--ft-chip-medium-border-radius","",m.borderRadiusPill),b.create("--ft-chip-medium-border-width","","SIZE","1px"),b.extend("--ft-chip-medium-icon-size","",m.iconSize2),b.extend("--ft-chip-small-horizontal-padding","",m.spacing2),b.extend("--ft-chip-small-vertical-padding","",m.spacing05),b.extend("--ft-chip-small-gap","",m.spacing1),b.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),b.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),b.extend("--ft-chip-small-border-radius","",m.borderRadiusPill),b.create("--ft-chip-small-border-width","","SIZE","1px"),b.extend("--ft-chip-small-icon-size","",m.iconSize1),b.extend("--ft-chip-neutral-background-color","",v.backgroundGlobalOnSurface),b.extend("--ft-chip-neutral-color","",v.contentGlobalPrimary),b.extend("--ft-chip-neutral-icon-color","",v.contentGlobalPrimary),b.extend("--ft-chip-neutral-border-color","",v.borderGlobalSubtle),b.extend("--ft-chip-info-background-color","",v.backgroundInfoSubtle),b.extend("--ft-chip-info-color","",v.contentInfoPrimary),b.extend("--ft-chip-info-icon-color","",v.contentInfoIconOnly),b.extend("--ft-chip-info-border-color","",v.borderInfoSubtle),b.extend("--ft-chip-success-background-color","",v.backgroundSuccessSubtle),b.extend("--ft-chip-success-color","",v.contentSuccessPrimary),b.extend("--ft-chip-success-icon-color","",v.contentSuccessIconOnly),b.extend("--ft-chip-success-border-color","",v.borderSuccessSubtle),b.extend("--ft-chip-warning-background-color","",v.backgroundWarningSubtle),b.extend("--ft-chip-warning-color","",v.contentWarningPrimary),b.extend("--ft-chip-warning-icon-color","",v.contentWarningIconOnly),b.extend("--ft-chip-warning-border-color","",v.borderWarningSubtle),b.extend("--ft-chip-error-background-color","",v.backgroundErrorSubtle),b.extend("--ft-chip-error-color","",v.contentErrorPrimary),b.extend("--ft-chip-error-icon-color","",v.contentErrorIconOnly),b.extend("--ft-chip-error-border-color","",v.borderErrorSubtle),b.extend("--ft-border-info-border-color","",v.borderInfoSubtle),b.create("--ft-notice-border-width","","SIZE","1px"),b.extend("--ft-notice-horizontal-padding","",m.spacing2),b.extend("--ft-notice-vertical-padding","",m.spacing1),b.extend("--ft-notice-border-radius","",m.borderRadiusS),b.extend("--ft-notice-gap","",m.spacing2),b.extend("--ft-notice-icon-size","",m.iconSize3),b.extend("--ft-notice-info-background-color","",v.backgroundInfoSubtle),b.extend("--ft-notice-info-border-color","",v.borderInfoSubtle),b.extend("--ft-notice-info-color","",v.contentInfoPrimary),b.extend("--ft-notice-info-icon-color","",v.contentInfoIconOnly),b.extend("--ft-notice-warning-background-color","",v.backgroundWarningSubtle),b.extend("--ft-notice-warning-border-color","",v.borderWarningSubtle),b.extend("--ft-notice-warning-color","",v.contentWarningPrimary),b.extend("--ft-notice-warning-icon-color","",v.contentWarningIconOnly),b.extend("--ft-notice-error-background-color","",v.backgroundErrorSubtle),b.extend("--ft-notice-error-border-color","",v.borderErrorSubtle),b.extend("--ft-notice-error-color","",v.contentErrorPrimary),b.extend("--ft-notice-error-icon-color","",v.contentErrorIconOnly),b.extend("--ft-notice-success-background-color","",v.backgroundSuccessSubtle),b.extend("--ft-notice-success-border-color","",v.borderSuccessSubtle),b.extend("--ft-notice-success-color","",v.contentSuccessPrimary),b.extend("--ft-notice-success-icon-color","",v.contentSuccessIconOnly),b.extend("--ft-checkbox-color","",v.contentGlobalPrimary),b.extend("--ft-checkbox-checked-background-color","",v.contentActionPrimary),b.extend("--ft-checkbox-checked-state-layer-color","",v.contentActionPrimary),b.extend("--ft-checkbox-checked-icon-color","",v.contentGlobalOnColor),b.extend("--ft-checkbox-checked-hover-state-layer-opacity","",m.opacity16),b.extend("--ft-checkbox-checked-focus-state-layer-opacity","",m.opacity16),b.extend("--ft-checkbox-checked-active-state-layer-opacity","",m.opacity24),b.extend("--ft-checkbox-checked-disabled-component-opacity","",m.opacity40),b.extend("--ft-checkbox-unchecked-border-color","",m.colorGray80),b.extend("--ft-checkbox-unchecked-state-layer-color","",m.colorGray80),b.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",m.opacity16),b.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",m.opacity16),b.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",m.opacity24),b.extend("--ft-checkbox-unchecked-disabled-component-opacity","",m.opacity40),b.extend("--ft-checkbox-focus-focus-ring-color","",v.borderActionFocusRing),b.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),b.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),b.extend("--ft-checkbox-gap","",m.spacing3),b.extend("--ft-toggle-off-hover-state-layer-opacity","",m.opacity16),b.extend("--ft-toggle-off-focus-state-layer-opacity","",m.opacity16),b.extend("--ft-toggle-off-active-state-layer-opacity","",m.opacity24),b.extend("--ft-toggle-off-disabled-component-opacity","",m.opacity40),b.extend("--ft-toggle-off-background-color","",v.contentGlobalSubtle),b.extend("--ft-toggle-off-icon-color","",v.contentGlobalSubtle),b.extend("--ft-toggle-off-state-layer-color","",v.contentGlobalSubtle),b.extend("--ft-toggle-on-hover-state-layer-opacity","",m.opacity16),b.extend("--ft-toggle-on-focus-state-layer-opacity","",m.opacity16),b.extend("--ft-toggle-on-active-state-layer-opacity","",m.opacity24),b.extend("--ft-toggle-on-disabled-component-opacity","",m.opacity40),b.extend("--ft-toggle-on-background-color","",v.contentActionPrimary),b.extend("--ft-toggle-on-state-layer-color","",v.contentActionPrimary),b.extend("--ft-toggle-on-icon-color","",v.contentActionPrimary),b.extend("--ft-toggle-color","",v.contentGlobalPrimary),b.extend("--ft-toggle-focus-focus-ring-color","",v.borderActionFocusRing),b.extend("--ft-toggle-gap","",m.spacing3),b.extend("--ft-radio-color","",v.contentGlobalPrimary),b.extend("--ft-radio-selected-radio-color","",v.contentActionPrimary),b.extend("--ft-radio-selected-state-layer-color","",v.contentActionPrimary),b.extend("--ft-radio-selected-hover-state-layer-opacity","",m.opacity16),b.extend("--ft-radio-selected-focus-state-layer-opacity","",m.opacity16),b.extend("--ft-radio-selected-active-state-layer-opacity","",m.opacity24),b.extend("--ft-radio-selected-disabled-component-opacity","",m.opacity40),b.extend("--ft-radio-unselected-state-layer-color","",v.borderInputPrimary),b.extend("--ft-radio-unselected-border-color","",v.borderInputPrimary),b.extend("--ft-radio-unselected-hover-state-layer-opacity","",m.opacity16),b.extend("--ft-radio-unselected-focus-state-layer-opacity","",m.opacity16),b.extend("--ft-radio-unselected-active-state-layer-opacity","",m.opacity24),b.extend("--ft-radio-unselected-disabled-component-opacity","",m.opacity40),b.extend("--ft-radio-focus-focus-ring-color","",v.borderActionFocusRing),b.create("--ft-radio-focus-outline-offset","","SIZE","3px"),b.create("--ft-radio-focus-outline-width","","SIZE","2px"),b.extend("--ft-radio-gap","",m.spacing3),b.extend("--ft-notification-icon-size","",m.iconSize4),b.extend("--ft-notification-horizontal-padding","",m.spacing4),b.extend("--ft-notification-vertical-padding","",m.spacing4),b.extend("--ft-notification-info-background-color","",v.backgroundInfoSubtle),b.extend("--ft-notification-info-color","",v.contentInfoPrimary),b.extend("--ft-notification-info-icon-color","",v.contentInfoIconOnly),b.extend("--ft-notification-info-border-color","",v.borderInfoSubtle),b.extend("--ft-notification-success-background-color","",v.backgroundSuccessSubtle),b.extend("--ft-notification-success-color","",v.contentSuccessPrimary),b.extend("--ft-notification-success-icon-color","",v.contentSuccessIconOnly),b.extend("--ft-notification-success-border-color","",v.borderSuccessSubtle),b.extend("--ft-notification-warning-background-color","",v.backgroundWarningSubtle),b.extend("--ft-notification-warning-color","",v.contentWarningPrimary),b.extend("--ft-notification-warning-icon-color","",v.contentWarningIconOnly),b.extend("--ft-notification-warning-border-color","",v.borderWarningSubtle),b.extend("--ft-notification-error-background-color","",v.backgroundErrorSubtle),b.extend("--ft-notification-error-color","",v.contentErrorPrimary),b.extend("--ft-notification-error-icon-color","",v.contentErrorIconOnly),b.extend("--ft-notification-error-border-color","",v.borderErrorSubtle),b.extend("--ft-notification-border-radius","",m.borderRadiusPill),b.create("--ft-notification-border-width","","SIZE","1px"),b.extend("--ft-notification-leading-gap","",m.spacing2),b.extend("--ft-notification-trailing-gap","",m.spacing8),b.extend("--ft-tooltip-horizontal-padding","",m.spacing2),b.extend("--ft-tooltip-vertical-padding","",m.spacing2),b.extend("--ft-tooltip-border-radius","",m.borderRadiusS),b.extend("--ft-tooltip-color","",v.contentGlobalOnColor),b.extend("--ft-tooltip-background-color","",v.contentGlobalPrimary),b.extend("--ft-tooltip-background-opacity","",m.opacity80),b.extend("--ft-tooltip-shadow","",m.shadowElevation03),b.create("--ft-tooltip-max-width","","SIZE","256px"),b.extend("--ft-tooltip-gap","",m.spacing05);const N=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),w=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),S={fontFamily:w,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")},C=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",N),E=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",S.fontSize,"20px"),I=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",S.fontWeight,"normal"),$=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",S.letterSpacing,"0.15px"),U=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",S.lineHeight,"1.2"),R=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",S.textTransform,"inherit"),k=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",N),W=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",S.fontSize,"14px"),L=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",S.fontWeight,"normal"),z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",S.letterSpacing,"0.105px"),Z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",S.lineHeight,"1.7"),K=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",S.textTransform,"inherit"),A=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",w),D=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",S.fontSize,"16px"),F=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",S.fontWeight,"600"),B=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",S.letterSpacing,"0.144px"),T=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",S.lineHeight,"1.5"),H=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",S.textTransform,"inherit"),P=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",w),M=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",S.fontSize,"14px"),G=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",S.fontWeight,"normal"),_=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",S.letterSpacing,"0.098px"),j=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",S.lineHeight,"1.7"),Y=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",S.textTransform,"inherit"),V=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",w),q=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",S.fontSize,"16px"),X=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",S.fontWeight,"normal"),Q=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",S.letterSpacing,"0.496px"),J=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",S.lineHeight,"1.5"),tt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",S.textTransform,"inherit"),ot=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",w),et=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",S.fontSize,"14px"),rt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",S.fontWeight,"normal"),it=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",S.letterSpacing,"0.252px"),nt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",S.lineHeight,"1.4"),at=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",S.textTransform,"inherit"),lt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",w),ct=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",S.fontSize,"12px"),st=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",S.fontWeight,"normal"),pt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",S.letterSpacing,"0.396px"),ft=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",S.lineHeight,"1.33"),dt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",S.textTransform,"inherit"),ht=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",w),ut=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",S.fontSize,"10px"),gt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",S.fontWeight,"normal"),yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",S.letterSpacing,"0.33px"),bt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",S.lineHeight,"1.6"),mt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",S.textTransform,"inherit"),xt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",w),vt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",S.fontSize,"10px"),Ot=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",S.fontWeight,"normal"),Nt=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",S.letterSpacing,"1.5px"),wt=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",S.lineHeight,"1.6"),St=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",S.textTransform,"uppercase"),Ct={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",w),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",S.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",S.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",S.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",S.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",S.textTransform,"uppercase")},Et=e.css`
|
|
113
|
+
`;var ht=g(U()),m=g(C());var At=g(U(),1),_t=e=>typeof e=="string"?(0,At.unsafeCSS)(e):e,t=class{static create(o,r,n,i){let s=p=>_t(p??i),l=At.css`var(${_t(o)}, ${s(i)})`;return l.name=o,l.description=r,l.category=n,l.defaultValue=i,l.defaultCssValue=s,l.get=p=>At.css`var(${_t(o)}, ${s(p)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(o,r,n,i){let s=p=>n.get(p??i),l=At.css`var(${_t(o)}, ${s(i)})`;return l.name=o,l.description=r,l.category=n.category,l.fallbackVariable=n,l.defaultValue=i,l.defaultCssValue=s,l.get=p=>At.css`var(${_t(o)}, ${s(p)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),l}static external(o,r){let n=s=>o.fallbackVariable?o.fallbackVariable.get(s??o.defaultValue):_t(s??o.lastResortDefaultValue()),i=At.css`var(${_t(o.name)}, ${n(o.defaultValue)})`;return i.name=o.name,i.category=o.category,i.fallbackVariable=o.fallbackVariable,i.defaultValue=o.defaultValue,i.context=r,i.defaultCssValue=n,i.get=s=>At.css`var(${_t(o.name)}, ${n(s)})`,i.breadcrumb=()=>o.fallbackVariable?[o.fallbackVariable.name,...o.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>o.lastResortDefaultValue(),i}};var a={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)")},ur={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")},hr={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")},gr={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")},yr={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")},mr={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")},br={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")},xr={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")},Sr={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")},vr={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")},ua={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")},Or={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")},Cr={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")},Er={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")},Ar={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")},Rr={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")},Nr={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")},wr={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")},Lr={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")},Ir={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")},Tr={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")},Pr={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")},_r={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")},kr={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")},Ur={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")},Br={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")},$r={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")},He={display:ur,"title-1":hr,"title-2":gr,"title-3":yr,"body-1-regular":mr,"body-1-medium":br,"body-1-semibold":xr,"body-2-regular":Sr,"body-2-medium":vr,"body-2-medium-underline":ua,"body-2-semibold":Or,"label-1-medium":Cr,"label-1-semibold":Er,"label-1-bold":Ar,"label-2-medium":Rr,"label-2-semibold":Nr,"label-2-bold":wr,"caption-1-medium":Lr,"caption-1-semibold":Ir,"caption-1-bold":Tr,"caption-2-medium":Pr,"caption-2-semibold":_r,"caption-2-bold":kr,"caption-3-medium":Ur,"caption-3-semibold":Br,"caption-3-bold":$r};var c={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",a.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",a.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",a.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",a.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",a.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",a.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",a.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",a.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",a.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",a.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",a.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",a.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",a.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",a.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",a.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",a.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",a.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",a.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
114
|
+
Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",a.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",a.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",a.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",a.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",a.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",a.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",a.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",a.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",a.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",a.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",a.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",a.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",a.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",a.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",a.colorGray80)};var x={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",a.spacing4),largeGap:t.extend("--ft-button-large-gap","",a.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",a.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",a.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","",a.spacing3),smallGap:t.extend("--ft-button-small-gap","",a.spacing2),smallBorderRadius:t.extend("--ft-button-small-border-radius","",a.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",a.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","",a.opacity16),primaryFocusStateLayerOpacity:t.extend("--ft-button-primary-focus-state-layer-opacity","",a.opacity16),primaryActiveStateLayerOpacity:t.extend("--ft-button-primary-active-state-layer-opacity","",a.opacity24),primaryDisabledComponentOpacity:t.extend("--ft-button-primary-disabled-component-opacity","",a.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","",a.opacity8),tertiaryFocusStateLayerOpacity:t.extend("--ft-button-tertiary-focus-state-layer-opacity","",a.opacity8),tertiaryActiveStateLayerOpacity:t.extend("--ft-button-tertiary-active-state-layer-opacity","",a.opacity16),tertiaryDisabledComponentOpacity:t.extend("--ft-button-tertiary-disabled-component-opacity","",a.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","",a.opacity8),secondaryFocusStateLayerOpacity:t.extend("--ft-button-secondary-focus-state-layer-opacity","",a.opacity8),secondaryActiveStateLayerOpacity:t.extend("--ft-button-secondary-active-state-layer-opacity","",a.opacity16),secondaryDisabledComponentOpacity:t.extend("--ft-button-secondary-disabled-component-opacity","",a.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","",a.opacity8),neutralFocusStateLayerOpacity:t.extend("--ft-button-neutral-focus-state-layer-opacity","",a.opacity8),neutralActiveStateLayerOpacity:t.extend("--ft-button-neutral-active-state-layer-opacity","",a.opacity16),neutralDisabledComponentOpacity:t.extend("--ft-button-neutral-disabled-component-opacity","",a.opacity40)};var ps={iconSize:t.extend("--ft-banner-icon-size","",a.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-banner-horizontal-padding","",a.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",a.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",a.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",a.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",a.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",a.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 gs={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",a.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",a.spacing2),currentElementColor:t.extend("--ft-breadcrumb-current-element-color","",c.contentGlobalPrimary),iconColor:t.extend("--ft-breadcrumb-icon-color","",c.contentGlobalSubtle)};var Ss={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",a.spacing12),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",a.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",a.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",a.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",a.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",a.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",a.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 As={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","",a.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",a.opacity40),shadow:t.extend("--ft-modal-shadow","",a.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",a.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",a.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",a.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",a.spacing6),containerMargin:t.extend("--ft-modal-container-margin","",a.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","",a.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",a.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",a.spacing6),headerGap:t.extend("--ft-modal-header-gap","",a.spacing2),headerBorderBottom:t.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",a.borderRadiusM)};var Is={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",a.opacity40),shadow:t.extend("--ft-drawer-shadow","",a.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",a.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",a.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",a.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",a.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","",a.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",a.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","",a.spacing4),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",a.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",a.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","",a.colorGray700)};var Us={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",a.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",a.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",a.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",a.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",a.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",a.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",a.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",a.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","",a.opacity40)};var Hs={backgroundColor:t.extend("--ft-text-area-background-color","",a.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","",a.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",a.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",a.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",a.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",a.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",a.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",a.borderRadiusM)};var Ks={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",a.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","",a.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","",a.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",a.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",a.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",a.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",a.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",c.backgroundGlobalOnSurface)};var Ys={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",a.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",a.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",a.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",a.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",a.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",a.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",a.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",a.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",a.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",a.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","",a.opacity40)};var el={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",a.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","",a.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",a.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",a.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",a.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",a.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",a.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",a.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",a.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",a.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",a.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",a.borderRadiusM)};var al={backgroundColor:t.extend("--ft-popover-background-color","",c.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",a.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",a.spacing6),iconColor:t.extend("--ft-popover-icon-color","",c.contentGlobalSecondary),iconSize:t.extend("--ft-popover-icon-size","",a.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","",a.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",a.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",a.shadowElevation02)};var dl={topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",a.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",a.borderRadiusS),labelHorizontalPadding:t.extend("--ft-tabs-label-horizontal-padding","",a.spacing4),labelVerticalPadding:t.extend("--ft-tabs-label-vertical-padding","",a.spacing3),labelGap:t.extend("--ft-tabs-label-gap","",a.spacing1),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",a.opacity8),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",a.opacity8),offActiveStateLayerOpacity:t.extend("--ft-tabs-off-active-state-layer-opacity","",a.opacity16),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",a.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","",a.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",a.opacity8),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",a.opacity16),onDisabledComponentOpacity:t.extend("--ft-tabs-on-disabled-component-opacity","",a.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","",a.spacing1),iconVerticalPadding:t.extend("--ft-tabs-icon-vertical-padding","",a.spacing4),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",c.borderActionFocusRing)};var yl={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",a.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",a.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","",a.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",a.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",a.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",a.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","",a.iconSize3)};var vl={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",a.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",a.spacing1),groupGap:t.extend("--ft-switch-group-gap","",a.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","",a.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",a.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",a.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",a.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",a.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",a.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","",a.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",a.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",a.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",a.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","",a.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",a.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","",a.borderRadiusS)};var Al={color1Light:t.extend("--ft-chart-1-light","for area color charts",a.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",a.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",a.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",a.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",a.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",a.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",a.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",a.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",a.colorRed40),color5Base:t.extend("--ft-chart-5-base","",a.colorRed60),color6Light:t.extend("--ft-chart-6-light","",a.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",a.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",a.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",a.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",a.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",a.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",a.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",a.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",a.colorGray50),color10Base:t.extend("--ft-chart-10-base","",a.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",a.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",a.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",a.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",a.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",a.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",a.colorBrand200)};var Il={largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",a.spacing4),largeVerticalPadding:t.extend("--ft-chip-large-vertical-padding","",a.spacing2),largeGap:t.extend("--ft-chip-large-gap","",a.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","",a.borderRadiusPill),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",a.iconSize3),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",a.spacing3),mediumVerticalPadding:t.extend("--ft-chip-medium-vertical-padding","",a.spacing1),mediumGap:t.extend("--ft-chip-medium-gap","",a.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","",a.borderRadiusPill),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",a.iconSize2),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",a.spacing2),smallVerticalPadding:t.extend("--ft-chip-small-vertical-padding","",a.spacing05),smallGap:t.extend("--ft-chip-small-gap","",a.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","",a.borderRadiusPill),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",a.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 kl={infoBorderColor:t.extend("--ft-border-info-border-color","",c.borderInfoSubtle)};var Wl={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",a.spacing2),verticalPadding:t.extend("--ft-notice-vertical-padding","",a.spacing1),borderRadius:t.extend("--ft-notice-border-radius","",a.borderRadiusS),gap:t.extend("--ft-notice-gap","",a.spacing2),iconSize:t.extend("--ft-notice-icon-size","",a.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 Gl={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","",a.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",a.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",a.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",a.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",a.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",a.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",a.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",a.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",a.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",a.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","",a.spacing3)};var ql={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",a.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",a.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",a.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",a.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","",a.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",a.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",a.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",a.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","",a.spacing3)};var tc={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","",a.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",a.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",a.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",a.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","",a.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",a.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",a.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",a.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","",a.spacing3)};var ic={iconSize:t.extend("--ft-notification-icon-size","",a.iconSize4),horizontalPadding:t.extend("--ft-notification-horizontal-padding","",a.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",a.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","",a.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",a.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",a.spacing8)};var pc={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",a.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",a.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",a.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","",a.opacity80),shadow:t.extend("--ft-tooltip-shadow","",a.shadowElevation03),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",a.spacing05)};var Me=g(U());function Dr(e){let o=He[e];return Me.css`
|
|
115
|
+
.ft-typography--${(0,Me.unsafeCSS)(e)} {
|
|
116
|
+
font-family: ${o.fontFamily};
|
|
117
|
+
font-size: ${o.fontSize};
|
|
118
|
+
font-weight: ${o.fontWeight};
|
|
119
|
+
letter-spacing: ${o.letterSpacing};
|
|
120
|
+
line-height: ${o.lineHeight};
|
|
121
|
+
text-transform: ${o.textCase};
|
|
122
|
+
}
|
|
123
|
+
`}var Wr=m.FtCssVariableFactory.extend("--ft-typography-font-family","",m.designSystemVariables.titleFont),Rt=m.FtCssVariableFactory.extend("--ft-typography-font-family","",m.designSystemVariables.contentFont),v={fontFamily:Rt,fontSize:m.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:m.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:m.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:m.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:m.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},te={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Wr),fontSize:m.FtCssVariableFactory.extend("--ft-typography-title-font-size","",v.fontSize,"20px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",v.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",v.letterSpacing,"0.15px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-title-line-height","",v.lineHeight,"1.2"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",v.textTransform,"inherit")},ee={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Wr),fontSize:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",v.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",v.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",v.letterSpacing,"0.105px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",v.lineHeight,"1.7"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",v.textTransform,"inherit")},oe={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Rt),fontSize:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",v.fontSize,"16px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",v.fontWeight,"600"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",v.letterSpacing,"0.144px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",v.lineHeight,"1.5"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",v.textTransform,"inherit")},re={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Rt),fontSize:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",v.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",v.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",v.letterSpacing,"0.098px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",v.lineHeight,"1.7"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",v.textTransform,"inherit")},ne={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Rt),fontSize:m.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",v.fontSize,"16px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",v.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",v.letterSpacing,"0.496px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",v.lineHeight,"1.5"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",v.textTransform,"inherit")},ie={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Rt),fontSize:m.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",v.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",v.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",v.letterSpacing,"0.252px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",v.lineHeight,"1.4"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",v.textTransform,"inherit")},ae={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Rt),fontSize:m.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",v.fontSize,"12px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",v.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",v.letterSpacing,"0.396px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",v.lineHeight,"1.33"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",v.textTransform,"inherit")},se={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Rt),fontSize:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",v.fontSize,"10px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",v.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",v.letterSpacing,"0.33px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",v.lineHeight,"1.6"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",v.textTransform,"inherit")},le={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Rt),fontSize:m.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",v.fontSize,"10px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",v.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",v.letterSpacing,"1.5px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",v.lineHeight,"1.6"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",v.textTransform,"uppercase")},vt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Rt),fontSize:m.FtCssVariableFactory.extend("--ft-typography-button-font-size","",v.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",v.fontWeight,"600"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",v.letterSpacing,"1.246px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-button-line-height","",v.lineHeight,"1.15"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",v.textTransform,"uppercase")},Hr=ht.css`
|
|
114
124
|
.ft-typography--title {
|
|
115
|
-
font-family: ${
|
|
116
|
-
font-size: ${
|
|
117
|
-
font-weight: ${
|
|
118
|
-
letter-spacing: ${
|
|
119
|
-
line-height: ${
|
|
120
|
-
text-transform: ${
|
|
121
|
-
}
|
|
122
|
-
`,
|
|
125
|
+
font-family: ${te.fontFamily};
|
|
126
|
+
font-size: ${te.fontSize};
|
|
127
|
+
font-weight: ${te.fontWeight};
|
|
128
|
+
letter-spacing: ${te.letterSpacing};
|
|
129
|
+
line-height: ${te.lineHeight};
|
|
130
|
+
text-transform: ${te.textTransform};
|
|
131
|
+
}
|
|
132
|
+
`,Mr=ht.css`
|
|
123
133
|
.ft-typography--title-dense {
|
|
124
|
-
font-family: ${
|
|
125
|
-
font-size: ${
|
|
126
|
-
font-weight: ${
|
|
127
|
-
letter-spacing: ${
|
|
128
|
-
line-height: ${
|
|
129
|
-
text-transform: ${
|
|
130
|
-
}
|
|
131
|
-
|
|
134
|
+
font-family: ${ee.fontFamily};
|
|
135
|
+
font-size: ${ee.fontSize};
|
|
136
|
+
font-weight: ${ee.fontWeight};
|
|
137
|
+
letter-spacing: ${ee.letterSpacing};
|
|
138
|
+
line-height: ${ee.lineHeight};
|
|
139
|
+
text-transform: ${ee.textTransform};
|
|
140
|
+
}
|
|
141
|
+
`,Fr=ht.css`
|
|
132
142
|
.ft-typography--subtitle1 {
|
|
133
|
-
font-family: ${
|
|
134
|
-
font-size: ${
|
|
135
|
-
font-weight: ${
|
|
136
|
-
letter-spacing: ${
|
|
137
|
-
line-height: ${
|
|
138
|
-
text-transform: ${
|
|
139
|
-
}
|
|
140
|
-
`,
|
|
143
|
+
font-family: ${oe.fontFamily};
|
|
144
|
+
font-size: ${oe.fontSize};
|
|
145
|
+
font-weight: ${oe.fontWeight};
|
|
146
|
+
letter-spacing: ${oe.letterSpacing};
|
|
147
|
+
line-height: ${oe.lineHeight};
|
|
148
|
+
text-transform: ${oe.textTransform};
|
|
149
|
+
}
|
|
150
|
+
`,zr=ht.css`
|
|
141
151
|
.ft-typography--subtitle2 {
|
|
142
|
-
font-family: ${
|
|
143
|
-
font-size: ${
|
|
144
|
-
font-weight: ${
|
|
145
|
-
letter-spacing: ${
|
|
146
|
-
line-height: ${
|
|
147
|
-
text-transform: ${
|
|
152
|
+
font-family: ${re.fontFamily};
|
|
153
|
+
font-size: ${re.fontSize};
|
|
154
|
+
font-weight: ${re.fontWeight};
|
|
155
|
+
letter-spacing: ${re.letterSpacing};
|
|
156
|
+
line-height: ${re.lineHeight};
|
|
157
|
+
text-transform: ${re.textTransform};
|
|
148
158
|
}
|
|
149
159
|
|
|
150
|
-
`,
|
|
160
|
+
`,Gr=ht.css`
|
|
151
161
|
.ft-typography--body1 {
|
|
152
|
-
font-family: ${
|
|
153
|
-
font-size: ${
|
|
154
|
-
font-weight: ${
|
|
155
|
-
letter-spacing: ${
|
|
156
|
-
line-height: ${
|
|
157
|
-
text-transform: ${
|
|
158
|
-
}
|
|
159
|
-
`,
|
|
162
|
+
font-family: ${ne.fontFamily};
|
|
163
|
+
font-size: ${ne.fontSize};
|
|
164
|
+
font-weight: ${ne.fontWeight};
|
|
165
|
+
letter-spacing: ${ne.letterSpacing};
|
|
166
|
+
line-height: ${ne.lineHeight};
|
|
167
|
+
text-transform: ${ne.textTransform};
|
|
168
|
+
}
|
|
169
|
+
`,Fe=ht.css`
|
|
160
170
|
.ft-typography--body2 {
|
|
161
|
-
font-family: ${
|
|
162
|
-
font-size: ${
|
|
163
|
-
font-weight: ${
|
|
164
|
-
letter-spacing: ${
|
|
165
|
-
line-height: ${
|
|
166
|
-
text-transform: ${
|
|
167
|
-
}
|
|
168
|
-
`,
|
|
171
|
+
font-family: ${ie.fontFamily};
|
|
172
|
+
font-size: ${ie.fontSize};
|
|
173
|
+
font-weight: ${ie.fontWeight};
|
|
174
|
+
letter-spacing: ${ie.letterSpacing};
|
|
175
|
+
line-height: ${ie.lineHeight};
|
|
176
|
+
text-transform: ${ie.textTransform};
|
|
177
|
+
}
|
|
178
|
+
`,Kr=ht.css`
|
|
169
179
|
.ft-typography--caption {
|
|
170
|
-
font-family: ${
|
|
171
|
-
font-size: ${
|
|
172
|
-
font-weight: ${
|
|
173
|
-
letter-spacing: ${
|
|
174
|
-
line-height: ${
|
|
175
|
-
text-transform: ${
|
|
176
|
-
}
|
|
177
|
-
`,
|
|
180
|
+
font-family: ${ae.fontFamily};
|
|
181
|
+
font-size: ${ae.fontSize};
|
|
182
|
+
font-weight: ${ae.fontWeight};
|
|
183
|
+
letter-spacing: ${ae.letterSpacing};
|
|
184
|
+
line-height: ${ae.lineHeight};
|
|
185
|
+
text-transform: ${ae.textTransform};
|
|
186
|
+
}
|
|
187
|
+
`,Vr=ht.css`
|
|
178
188
|
.ft-typography--breadcrumb {
|
|
179
|
-
font-family: ${
|
|
180
|
-
font-size: ${
|
|
181
|
-
font-weight: ${
|
|
182
|
-
letter-spacing: ${
|
|
183
|
-
line-height: ${
|
|
184
|
-
text-transform: ${
|
|
185
|
-
}
|
|
186
|
-
`,
|
|
189
|
+
font-family: ${se.fontFamily};
|
|
190
|
+
font-size: ${se.fontSize};
|
|
191
|
+
font-weight: ${se.fontWeight};
|
|
192
|
+
letter-spacing: ${se.letterSpacing};
|
|
193
|
+
line-height: ${se.lineHeight};
|
|
194
|
+
text-transform: ${se.textTransform};
|
|
195
|
+
}
|
|
196
|
+
`,Zr=ht.css`
|
|
187
197
|
.ft-typography--overline {
|
|
188
|
-
font-family: ${
|
|
189
|
-
font-size: ${
|
|
190
|
-
font-weight: ${
|
|
191
|
-
letter-spacing: ${
|
|
192
|
-
line-height: ${
|
|
193
|
-
text-transform: ${
|
|
194
|
-
}
|
|
195
|
-
`,
|
|
198
|
+
font-family: ${le.fontFamily};
|
|
199
|
+
font-size: ${le.fontSize};
|
|
200
|
+
font-weight: ${le.fontWeight};
|
|
201
|
+
letter-spacing: ${le.letterSpacing};
|
|
202
|
+
line-height: ${le.lineHeight};
|
|
203
|
+
text-transform: ${le.textTransform};
|
|
204
|
+
}
|
|
205
|
+
`,jr=ht.css`
|
|
196
206
|
.ft-typography--button {
|
|
197
|
-
font-family: ${
|
|
198
|
-
font-size: ${
|
|
199
|
-
font-weight: ${
|
|
200
|
-
letter-spacing: ${
|
|
201
|
-
line-height: ${
|
|
202
|
-
text-transform: ${
|
|
203
|
-
}
|
|
204
|
-
`,
|
|
207
|
+
font-family: ${vt.fontFamily};
|
|
208
|
+
font-size: ${vt.fontSize};
|
|
209
|
+
font-weight: ${vt.fontWeight};
|
|
210
|
+
letter-spacing: ${vt.letterSpacing};
|
|
211
|
+
line-height: ${vt.lineHeight};
|
|
212
|
+
text-transform: ${vt.textTransform};
|
|
213
|
+
}
|
|
214
|
+
`,qr=ht.css`
|
|
205
215
|
.ft-typography {
|
|
206
216
|
vertical-align: inherit;
|
|
207
217
|
}
|
|
208
|
-
`,
|
|
209
|
-
.ft-typography--${e.unsafeCSS(t)} {
|
|
210
|
-
font-family: ${o.fontFamily};
|
|
211
|
-
font-size: ${o.fontSize};
|
|
212
|
-
font-weight: ${o.fontWeight};
|
|
213
|
-
letter-spacing: ${o.letterSpacing};
|
|
214
|
-
line-height: ${o.lineHeight};
|
|
215
|
-
text-transform: ${o.textCase};
|
|
216
|
-
}
|
|
217
|
-
`}(t)))],Dt={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Ft=e.css`
|
|
218
|
+
`,Yr=[Object.keys(He).map(e=>Dr(e))];var Xr=g(U()),Se=g(C()),rt={color:Se.FtCssVariableFactory.extend("--ft-loader-color","",Se.designSystemVariables.colorPrimary),size:Se.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Qr=Xr.css`
|
|
218
219
|
:host {
|
|
219
220
|
line-height: 0;
|
|
220
221
|
}
|
|
@@ -223,8 +224,8 @@
|
|
|
223
224
|
display: inline-block;
|
|
224
225
|
position: relative;
|
|
225
226
|
|
|
226
|
-
width: ${
|
|
227
|
-
height: ${
|
|
227
|
+
width: ${rt.size};
|
|
228
|
+
height: ${rt.size};
|
|
228
229
|
}
|
|
229
230
|
|
|
230
231
|
.ft-loader div {
|
|
@@ -233,7 +234,7 @@
|
|
|
233
234
|
width: 25%;
|
|
234
235
|
height: 25%;
|
|
235
236
|
border-radius: 50%;
|
|
236
|
-
background: ${
|
|
237
|
+
background: ${rt.color};
|
|
237
238
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
238
239
|
}
|
|
239
240
|
|
|
@@ -280,10 +281,10 @@
|
|
|
280
281
|
transform: translate(0, 0);
|
|
281
282
|
}
|
|
282
283
|
100% {
|
|
283
|
-
transform: translate(calc(0.35 * ${
|
|
284
|
+
transform: translate(calc(0.35 * ${rt.size}), 0);
|
|
284
285
|
}
|
|
285
286
|
}
|
|
286
|
-
|
|
287
|
+
`;var Jr=g(U()),Nt=g(C()),nt={size:Nt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Nt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Nt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Nt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Nt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Nt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Nt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Nt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},tn=Jr.css`
|
|
287
288
|
:host, i.ft-icon {
|
|
288
289
|
display: inline-flex;
|
|
289
290
|
align-items: center;
|
|
@@ -292,14 +293,14 @@
|
|
|
292
293
|
}
|
|
293
294
|
|
|
294
295
|
:host {
|
|
295
|
-
width: ${
|
|
296
|
-
height: ${
|
|
296
|
+
width: ${nt.size};
|
|
297
|
+
height: ${nt.size};
|
|
297
298
|
}
|
|
298
299
|
|
|
299
300
|
i.ft-icon {
|
|
300
301
|
width: 100%;
|
|
301
302
|
height: 100%;
|
|
302
|
-
font-size: ${
|
|
303
|
+
font-size: ${nt.size};
|
|
303
304
|
line-height: 1;
|
|
304
305
|
font-weight: normal;
|
|
305
306
|
text-transform: none;
|
|
@@ -310,28 +311,28 @@
|
|
|
310
311
|
text-rendering: auto;
|
|
311
312
|
-webkit-font-smoothing: antialiased;
|
|
312
313
|
-moz-osx-font-smoothing: grayscale;
|
|
313
|
-
vertical-align: ${
|
|
314
|
+
vertical-align: ${nt.verticalAlign};
|
|
314
315
|
}
|
|
315
316
|
|
|
316
317
|
i.ft-icon.ft-icon--fluid-topics {
|
|
317
|
-
font-family: ${
|
|
318
|
+
font-family: ${nt.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
318
319
|
|
|
319
320
|
/* Ugly fix because font is broken */
|
|
320
|
-
font-size: calc(0.75 * ${
|
|
321
|
-
line-height: ${
|
|
321
|
+
font-size: calc(0.75 * ${nt.size});
|
|
322
|
+
line-height: ${nt.size};
|
|
322
323
|
position: relative;
|
|
323
324
|
top: -4%;
|
|
324
325
|
justify-content: center;
|
|
325
326
|
}
|
|
326
327
|
|
|
327
328
|
.ft-icon--file-format {
|
|
328
|
-
font-family: ${
|
|
329
|
+
font-family: ${nt.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
329
330
|
}
|
|
330
331
|
|
|
331
332
|
.ft-icon--material {
|
|
332
|
-
font-family: ${
|
|
333
|
+
font-family: ${nt.materialFontFamily}, "Material Icons", sans-serif;
|
|
333
334
|
}
|
|
334
|
-
|
|
335
|
+
`;var en=E.FtCssVariableFactory.extend("--ft-button-color","",E.designSystemVariables.colorPrimary),D={backgroundColor:E.FtCssVariableFactory.extend("--ft-button-background-color","",E.designSystemVariables.colorSurface),borderRadius:E.FtCssVariableFactory.extend("--ft-button-border-radius","",E.designSystemVariables.borderRadiusL),color:en,fontSize:E.FtCssVariableFactory.extend("--ft-button-font-size","",vt.fontSize),iconSize:E.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:E.FtCssVariableFactory.extend("--ft-button-ripple-color","",en),verticalPadding:E.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:E.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:E.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:E.FtCssVariableFactory.external(E.designSystemVariables.colorOpacityDisabled,"Design system")},on=E.FtCssVariableFactory.extend("--ft-button-primary-color","",E.FtCssVariableFactory.extend("--ft-button-color","",E.designSystemVariables.colorOnPrimary)),xo={backgroundColor:E.FtCssVariableFactory.extend("--ft-button-primary-background-color","",E.FtCssVariableFactory.extend("--ft-button-background-color","",E.designSystemVariables.colorPrimary)),color:on,rippleColor:E.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",on)},Ot={borderRadius:E.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",E.FtCssVariableFactory.extend("--ft-button-border-radius","",E.designSystemVariables.borderRadiusM)),verticalPadding:E.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:E.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:E.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},nn=[rn.css`
|
|
335
336
|
:host {
|
|
336
337
|
display: inline-block;
|
|
337
338
|
max-width: 100%;
|
|
@@ -342,7 +343,7 @@
|
|
|
342
343
|
box-shadow: 0px 0px 0px transparent;
|
|
343
344
|
border: 0px solid transparent;
|
|
344
345
|
text-shadow: 0px 0px 0px transparent;
|
|
345
|
-
font-size: ${
|
|
346
|
+
font-size: ${D.fontSize};
|
|
346
347
|
}
|
|
347
348
|
|
|
348
349
|
button:hover {
|
|
@@ -371,31 +372,31 @@
|
|
|
371
372
|
border: none;
|
|
372
373
|
pointer-events: auto;
|
|
373
374
|
|
|
374
|
-
--ft-button-internal-line-height: max(calc(${
|
|
375
|
-
--ft-button-internal-color: ${
|
|
376
|
-
${
|
|
377
|
-
${
|
|
375
|
+
--ft-button-internal-line-height: max(calc(${D.fontSize} + 2px), ${D.iconSize});
|
|
376
|
+
--ft-button-internal-color: ${D.color};
|
|
377
|
+
${(0,E.setVariable)(nt.size,D.iconSize)};
|
|
378
|
+
${(0,E.setVariable)(L.color,D.rippleColor)};
|
|
378
379
|
|
|
379
|
-
border-radius: ${
|
|
380
|
-
padding: ${
|
|
381
|
-
background-color: ${
|
|
380
|
+
border-radius: ${D.borderRadius};
|
|
381
|
+
padding: ${D.verticalPadding} ${D.horizontalPadding};
|
|
382
|
+
background-color: ${D.backgroundColor};
|
|
382
383
|
color: var(--ft-button-internal-color);
|
|
383
384
|
-webkit-mask-image: radial-gradient(white, black);
|
|
384
385
|
}
|
|
385
386
|
|
|
386
387
|
.ft-button.ft-button--outlined {
|
|
387
388
|
border: 1px solid var(--ft-button-internal-color);
|
|
388
|
-
padding: calc(${
|
|
389
|
+
padding: calc(${D.verticalPadding} - 1px) calc(${D.horizontalPadding} - 1px);
|
|
389
390
|
}
|
|
390
391
|
|
|
391
392
|
.ft-button.ft-button--dense {
|
|
392
|
-
padding: ${
|
|
393
|
-
border-radius: ${
|
|
394
|
-
gap: ${
|
|
393
|
+
padding: ${Ot.verticalPadding} ${Ot.horizontalPadding};
|
|
394
|
+
border-radius: ${Ot.borderRadius};
|
|
395
|
+
gap: ${Ot.iconPadding};
|
|
395
396
|
}
|
|
396
397
|
|
|
397
398
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
398
|
-
padding: calc(${
|
|
399
|
+
padding: calc(${Ot.verticalPadding} - 1px) calc(${Ot.horizontalPadding} - 1px);
|
|
399
400
|
}
|
|
400
401
|
|
|
401
402
|
.ft-button:not([disabled]):hover {
|
|
@@ -403,22 +404,22 @@
|
|
|
403
404
|
}
|
|
404
405
|
|
|
405
406
|
.ft-button--round {
|
|
406
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
407
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${D.verticalPadding});
|
|
407
408
|
}
|
|
408
409
|
|
|
409
410
|
.ft-button--round.ft-button--dense {
|
|
410
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
411
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ot.verticalPadding});
|
|
411
412
|
}
|
|
412
413
|
|
|
413
414
|
.ft-button[disabled] {
|
|
414
415
|
filter: grayscale(1);
|
|
415
|
-
opacity: ${
|
|
416
|
+
opacity: ${D.opacityDisabled};
|
|
416
417
|
}
|
|
417
418
|
|
|
418
419
|
.ft-button.ft-button--primary {
|
|
419
|
-
background-color: ${
|
|
420
|
-
--ft-button-internal-color: ${
|
|
421
|
-
${
|
|
420
|
+
background-color: ${xo.backgroundColor};
|
|
421
|
+
--ft-button-internal-color: ${xo.color};
|
|
422
|
+
${(0,E.setVariable)(L.color,xo.rippleColor)};
|
|
422
423
|
}
|
|
423
424
|
|
|
424
425
|
.ft-button:focus {
|
|
@@ -431,74 +432,64 @@
|
|
|
431
432
|
white-space: nowrap;
|
|
432
433
|
text-overflow: ellipsis;
|
|
433
434
|
display: block;
|
|
434
|
-
margin: 0 ${
|
|
435
|
-
${
|
|
436
|
-
${
|
|
435
|
+
margin: 0 ${D.iconPadding};
|
|
436
|
+
${(0,E.setVariable)(vt.fontSize,"1em")};
|
|
437
|
+
${(0,E.setVariable)(vt.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
437
438
|
}
|
|
438
439
|
|
|
439
440
|
.ft-button--dense .ft-button--label {
|
|
440
|
-
margin: 0 ${
|
|
441
|
+
margin: 0 ${Ot.iconPadding};
|
|
441
442
|
}
|
|
442
443
|
|
|
443
444
|
.ft-button--label[hidden] {
|
|
444
445
|
display: none;
|
|
445
446
|
}
|
|
446
447
|
|
|
447
|
-
|
|
448
|
+
[part="icon"] {
|
|
448
449
|
flex-shrink: 0;
|
|
449
450
|
position: relative;
|
|
450
451
|
}
|
|
451
452
|
|
|
452
|
-
.ft-button--label[hidden] +
|
|
453
|
-
margin: 0 calc(${
|
|
454
|
-
padding: 0 ${
|
|
453
|
+
.ft-button--label[hidden] + [part="icon"] {
|
|
454
|
+
margin: 0 calc(${D.horizontalPadding} * -1);
|
|
455
|
+
padding: 0 ${D.verticalPadding};
|
|
455
456
|
}
|
|
456
457
|
|
|
457
|
-
.ft-button--dense .ft-button--label[hidden] +
|
|
458
|
-
margin: 0 calc(${
|
|
459
|
-
padding: 0 ${
|
|
458
|
+
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
459
|
+
margin: 0 calc(${Ot.horizontalPadding} * -1);
|
|
460
|
+
padding: 0 ${Ot.verticalPadding};
|
|
460
461
|
}
|
|
461
462
|
|
|
462
|
-
.ft-button:not(.ft-button--trailing-icon)
|
|
463
|
-
|
|
464
|
-
order: -1;
|
|
463
|
+
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
464
|
+
order: 2;
|
|
465
465
|
}
|
|
466
466
|
|
|
467
467
|
ft-loader {
|
|
468
|
-
${
|
|
469
|
-
${
|
|
468
|
+
${(0,E.setVariable)(rt.size,D.iconSize)};
|
|
469
|
+
${(0,E.setVariable)(rt.color,"var(--ft-button-internal-color)")};
|
|
470
470
|
}
|
|
471
|
-
`,
|
|
471
|
+
`,E.noTextSelect];var ge=g(C());var cn=g(C());var sn=g(U()),Q=g(ot()),ln=g(ze()),ve=g(C());var it=function(e,o,r,n){var i=arguments.length,s=i<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,r,n);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(s=(i<3?l(s):i>3?l(o,r,s):l(o,r))||s);return i>3&&s&&Object.defineProperty(o,r,s),s},_=class extends ve.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 ve.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 ve.Debouncer(10),this.moveRipple=o=>{var r,n;let{x:i,y:s}=this.getCoordinates(o),l=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-l.x:l.width/2),this.originY=Math.round(s!=null?s-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 sn.html`
|
|
472
472
|
<style>
|
|
473
473
|
.ft-ripple .ft-ripple--effect {
|
|
474
474
|
left: ${this.originX}px;
|
|
475
475
|
top: ${this.originY}px;
|
|
476
476
|
}
|
|
477
477
|
</style>
|
|
478
|
-
<div class="${
|
|
478
|
+
<div class="${(0,ln.classMap)(o)}">
|
|
479
479
|
<div class="ft-ripple--background"></div>
|
|
480
480
|
<div class="ft-ripple--effect"></div>
|
|
481
481
|
</div>
|
|
482
|
-
`}contentAvailableCallback(
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
*/
|
|
488
|
-
const Jt=globalThis,to=Jt.trustedTypes,oo=to?to.createPolicy("lit-html",{createHTML:t=>t}):void 0,eo="$lit$",ro=`lit$${(Math.random()+"").slice(9)}$`,io="?"+ro,no=`<${io}>`,ao=document,lo=()=>ao.createComment(""),co=t=>null===t||"object"!=typeof t&&"function"!=typeof t,so=Array.isArray,po="[ \t\n\f\r]",fo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ho=/-->/g,uo=/>/g,go=RegExp(`>|${po}(?:([^\\s"'>=/]+)(${po}*=${po}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),yo=/'/g,bo=/"/g,mo=/^(?:script|style|textarea|title)$/i,xo=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),vo=Symbol.for("lit-noChange"),Oo=Symbol.for("lit-nothing"),No=new WeakMap,wo=ao.createTreeWalker(ao,129);function So(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==oo?oo.createHTML(o):o}const Co=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=fo;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,p=0;for(;p<e.length&&(a.lastIndex=p,c=a.exec(e),null!==c);)p=a.lastIndex,a===fo?"!--"===c[1]?a=ho:void 0!==c[1]?a=uo:void 0!==c[2]?(mo.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=go):void 0!==c[3]&&(a=go):a===go?">"===c[0]?(a=i??fo,s=-1):void 0===c[1]?s=-2:(s=a.lastIndex-c[2].length,l=c[1],a=void 0===c[3]?go:'"'===c[3]?bo:yo):a===bo||a===yo?a=go:a===ho||a===uo?a=fo:(a=go,i=void 0);const f=a===go&&t[o+1].startsWith("/>")?" ":"";n+=a===fo?e+no:s>=0?(r.push(l),e.slice(0,s)+eo+e.slice(s)+ro+f):e+ro+(-2===s?o:f)}return[So(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class Eo{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[c,s]=Co(t,o);if(this.el=Eo.createElement(c,e),wo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=wo.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(eo)){const o=s[n++],e=r.getAttribute(t).split(ro),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?ko:"?"===a[1]?Wo:"@"===a[1]?Lo:Ro}),r.removeAttribute(t)}else t.startsWith(ro)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(mo.test(r.tagName)){const t=r.textContent.split(ro),o=t.length-1;if(o>0){r.textContent=to?to.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],lo()),wo.nextNode(),l.push({type:2,index:++i});r.append(t[o],lo())}}}else if(8===r.nodeType)if(r.data===io)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(ro,t+1));)l.push({type:7,index:i}),t+=ro.length-1}i++}}static createElement(t,o){const e=ao.createElement("template");return e.innerHTML=t,e}}function Io(t,o,e=t,r){if(o===vo)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=co(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=Io(t,i._$AS(t,o.values),i,r)),o}class $o{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??ao).importNode(o,!0);wo.currentNode=r;let i=wo.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new Uo(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new zo(i,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(i=wo.nextNode(),n++)}return wo.currentNode=ao,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class Uo{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=Oo,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Io(this,t,o),co(t)?t===Oo||null==t||""===t?(this._$AH!==Oo&&this._$AR(),this._$AH=Oo):t!==this._$AH&&t!==vo&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>so(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Oo&&co(this._$AH)?this._$AA.nextSibling.data=t:this.$(ao.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=Eo.createElement(So(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new $o(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=No.get(t.strings);return void 0===o&&No.set(t.strings,o=new Eo(t)),o}T(t){so(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new Uo(this.k(lo()),this.k(lo()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class Ro{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=Oo,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=Oo}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=Io(this,t,o,0),n=!co(t)||t!==this._$AH&&t!==vo,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=Io(this,r[e+a],o,a),l===vo&&(l=this._$AH[a]),n||=!co(l)||l!==this._$AH[a],l===Oo?t=Oo:t!==Oo&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===Oo?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class ko extends Ro{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Oo?void 0:t}}class Wo extends Ro{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Oo)}}class Lo extends Ro{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=Io(this,t,o,0)??Oo)===vo)return;const e=this._$AH,r=t===Oo&&e!==Oo||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==Oo&&(e===Oo||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class zo{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Io(this,t)}}const Zo=Jt.litHtmlPolyfillSupport;Zo?.(Eo,Uo),(Jt.litHtmlVersions??=[]).push("3.1.0");
|
|
489
|
-
/**
|
|
490
|
-
* @license
|
|
491
|
-
* Copyright 2020 Google LLC
|
|
492
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
493
|
-
*/
|
|
494
|
-
const Ko=Symbol.for(""),Ao=t=>{if(t?.r===Ko)return t?._$litStatic$},Do=t=>({_$litStatic$:t,r:Ko}),Fo=new Map,Bo=(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=Ao(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=Fo.get(t))&&(a.raw=a,Fo.set(t,o=a)),e=l}return t(o,...e)})(xo);var To;!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"}(To||(To={}));var Ho=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 Po extends o.FtLitElement{constructor(){super(...arguments),this.variant=To.body1}render(){return this.element?Bo`
|
|
495
|
-
<${Do(this.element)}
|
|
482
|
+
`}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,n;super.update(o),o.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.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 n=(o=this.shadowRoot)===null||o===void 0?void 0:o.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}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(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(f)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),s=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",n,l),o.addEventListener("touchstart",i,l),o.addEventListener("touchmove",this.moveRipple,l),o.addEventListener("keydown",s,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",n,l),o.removeEventListener("touchstart",i,l),o.removeEventListener("touchmove",this.moveRipple,l),o.removeEventListener("keydown",s,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,n=o,i,s;return r.x!=null?{x:i,y:s}=r:n.touches!=null&&(i=n.touches[0].clientX,s=n.touches[0].clientY),{x:i,y:s}}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()}};_.elementDefinitions={};_.styles=fr;it([(0,Q.property)({type:Boolean})],_.prototype,"primary",void 0);it([(0,Q.property)({type:Boolean})],_.prototype,"secondary",void 0);it([(0,Q.property)({type:Boolean})],_.prototype,"unbounded",void 0);it([(0,Q.property)({type:Boolean})],_.prototype,"activated",void 0);it([(0,Q.property)({type:Boolean})],_.prototype,"selected",void 0);it([(0,Q.property)({type:Boolean})],_.prototype,"disabled",void 0);it([(0,Q.state)()],_.prototype,"hovered",void 0);it([(0,Q.state)()],_.prototype,"focused",void 0);it([(0,Q.state)()],_.prototype,"pressed",void 0);it([(0,Q.state)()],_.prototype,"rippling",void 0);it([(0,Q.state)()],_.prototype,"originX",void 0);it([(0,Q.state)()],_.prototype,"originY",void 0);it([(0,Q.query)(".ft-ripple")],_.prototype,"ripple",void 0);it([(0,Q.query)(".ft-ripple--effect")],_.prototype,"rippleEffect",void 0);(0,cn.customElement)("ft-ripple")(_);var oi=g(C());var ei=g(U()),K=g(ot()),Te=g(C());var Ln=g(C());var Ro=globalThis,Ge=Ro.trustedTypes,pn=Ge?Ge.createPolicy("lit-html",{createHTML:e=>e}):void 0,yn="$lit$",kt=`lit$${(Math.random()+"").slice(9)}$`,mn="?"+kt,ha=`<${mn}>`,zt=document,Ke=()=>zt.createComment(""),Ce=e=>e===null||typeof e!="object"&&typeof e!="function",bn=Array.isArray,ga=e=>bn(e)||typeof e?.[Symbol.iterator]=="function",So=`[
|
|
483
|
+
\f\r]`,Oe=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,dn=/-->/g,fn=/>/g,Mt=RegExp(`>|${So}(?:([^\\s"'>=/]+)(${So}*=${So}*(?:[^
|
|
484
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),un=/'/g,hn=/"/g,xn=/^(?:script|style|textarea|title)$/i,Sn=e=>(o,...r)=>({_$litType$:e,strings:o,values:r}),vn=Sn(1),On=Sn(2),Ee=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),gn=new WeakMap,Ft=zt.createTreeWalker(zt,129);function Cn(e,o){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return pn!==void 0?pn.createHTML(o):o}var ya=(e,o)=>{let r=e.length-1,n=[],i,s=o===2?"<svg>":"",l=Oe;for(let p=0;p<r;p++){let f=e[p],u,b,S=-1,R=0;for(;R<f.length&&(l.lastIndex=R,b=l.exec(f),b!==null);)R=l.lastIndex,l===Oe?b[1]==="!--"?l=dn:b[1]!==void 0?l=fn:b[2]!==void 0?(xn.test(b[2])&&(i=RegExp("</"+b[2],"g")),l=Mt):b[3]!==void 0&&(l=Mt):l===Mt?b[0]===">"?(l=i??Oe,S=-1):b[1]===void 0?S=-2:(S=l.lastIndex-b[2].length,u=b[1],l=b[3]===void 0?Mt:b[3]==='"'?hn:un):l===hn||l===un?l=Mt:l===dn||l===fn?l=Oe:(l=Mt,i=void 0);let A=l===Mt&&e[p+1].startsWith("/>")?" ":"";s+=l===Oe?f+ha:S>=0?(n.push(u),f.slice(0,S)+yn+f.slice(S)+kt+A):f+kt+(S===-2?p:A)}return[Cn(e,s+(e[r]||"<?>")+(o===2?"</svg>":"")),n]},Ae=class e{constructor({strings:o,_$litType$:r},n){let i;this.parts=[];let s=0,l=0,p=o.length-1,f=this.parts,[u,b]=ya(o,r);if(this.el=e.createElement(u,n),Ft.currentNode=this.el.content,r===2){let S=this.el.content.firstChild;S.replaceWith(...S.childNodes)}for(;(i=Ft.nextNode())!==null&&f.length<p;){if(i.nodeType===1){if(i.hasAttributes())for(let S of i.getAttributeNames())if(S.endsWith(yn)){let R=b[l++],A=i.getAttribute(S).split(kt),w=/([.?@])?(.*)/.exec(R);f.push({type:1,index:s,name:w[2],strings:A,ctor:w[1]==="."?Oo:w[1]==="?"?Co:w[1]==="@"?Eo:pe}),i.removeAttribute(S)}else S.startsWith(kt)&&(f.push({type:6,index:s}),i.removeAttribute(S));if(xn.test(i.tagName)){let S=i.textContent.split(kt),R=S.length-1;if(R>0){i.textContent=Ge?Ge.emptyScript:"";for(let A=0;A<R;A++)i.append(S[A],Ke()),Ft.nextNode(),f.push({type:2,index:++s});i.append(S[R],Ke())}}}else if(i.nodeType===8)if(i.data===mn)f.push({type:2,index:s});else{let S=-1;for(;(S=i.data.indexOf(kt,S+1))!==-1;)f.push({type:7,index:s}),S+=kt.length-1}s++}}static createElement(o,r){let n=zt.createElement("template");return n.innerHTML=o,n}};function ce(e,o,r=e,n){if(o===Ee)return o;let i=n!==void 0?r._$Co?.[n]:r._$Cl,s=Ce(o)?void 0:o._$litDirective$;return i?.constructor!==s&&(i?._$AO?.(!1),s===void 0?i=void 0:(i=new s(e),i._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(o=ce(e,i._$AS(e,o.values),i,n)),o}var vo=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:n}=this._$AD,i=(o?.creationScope??zt).importNode(r,!0);Ft.currentNode=i;let s=Ft.nextNode(),l=0,p=0,f=n[0];for(;f!==void 0;){if(l===f.index){let u;f.type===2?u=new Ve(s,s.nextSibling,this,o):f.type===1?u=new f.ctor(s,f.name,f.strings,this,o):f.type===6&&(u=new Ao(s,this,o)),this._$AV.push(u),f=n[++p]}l!==f?.index&&(s=Ft.nextNode(),l++)}return Ft.currentNode=zt,i}p(o){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(o,n,r),r+=n.strings.length-2):n._$AI(o[r])),r++}},Ve=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,r,n,i){this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=o,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.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=ce(this,o,r),Ce(o)?o===j||o==null||o===""?(this._$AH!==j&&this._$AR(),this._$AH=j):o!==this._$AH&&o!==Ee&&this._(o):o._$litType$!==void 0?this.g(o):o.nodeType!==void 0?this.$(o):ga(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&&Ce(this._$AH)?this._$AA.nextSibling.data=o:this.$(zt.createTextNode(o)),this._$AH=o}g(o){let{values:r,_$litType$:n}=o,i=typeof n=="number"?this._$AC(o):(n.el===void 0&&(n.el=Ae.createElement(Cn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let s=new vo(i,this),l=s.u(this.options);s.p(r),this.$(l),this._$AH=s}}_$AC(o){let r=gn.get(o.strings);return r===void 0&&gn.set(o.strings,r=new Ae(o)),r}T(o){bn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let s of o)i===r.length?r.push(n=new e(this.k(Ke()),this.k(Ke()),this,this.options)):n=r[i],n._$AI(s),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(o=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);o&&o!==this._$AB;){let n=o.nextSibling;o.remove(),o=n}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},pe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,r,n,i,s){this.type=1,this._$AH=j,this._$AN=void 0,this.element=o,this.name=r,this._$AM=i,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=j}_$AI(o,r=this,n,i){let s=this.strings,l=!1;if(s===void 0)o=ce(this,o,r,0),l=!Ce(o)||o!==this._$AH&&o!==Ee,l&&(this._$AH=o);else{let p=o,f,u;for(o=s[0],f=0;f<s.length-1;f++)u=ce(this,p[n+f],r,f),u===Ee&&(u=this._$AH[f]),l||=!Ce(u)||u!==this._$AH[f],u===j?o=j:o!==j&&(o+=(u??"")+s[f+1]),this._$AH[f]=u}l&&!i&&this.O(o)}O(o){o===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},Oo=class extends pe{constructor(){super(...arguments),this.type=3}O(o){this.element[this.name]=o===j?void 0:o}},Co=class extends pe{constructor(){super(...arguments),this.type=4}O(o){this.element.toggleAttribute(this.name,!!o&&o!==j)}},Eo=class extends pe{constructor(o,r,n,i,s){super(o,r,n,i,s),this.type=5}_$AI(o,r=this){if((o=ce(this,o,r,0)??j)===Ee)return;let n=this._$AH,i=o===j&&n!==j||o.capture!==n.capture||o.once!==n.once||o.passive!==n.passive,s=o!==j&&(n===j||i);i&&this.element.removeEventListener(this.name,this,n),s&&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)}},Ao=class{constructor(o,r,n){this.element=o,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(o){ce(this,o)}};var ma=Ro.litHtmlPolyfillSupport;ma?.(Ae,Ve),(Ro.litHtmlVersions??=[]).push("3.1.0");var An=Symbol.for(""),ba=e=>{if(e?.r===An)return e?._$litStatic$},No=e=>({_$litStatic$:e,r:An});var En=new Map,Rn=e=>(o,...r)=>{let n=r.length,i,s,l=[],p=[],f,u=0,b=!1;for(;u<n;){for(f=o[u];u<n&&(s=r[u],(i=ba(s))!==void 0);)f+=i+o[++u],b=!0;u!==n&&p.push(s),l.push(f),u++}if(u===n&&l.push(o[n]),b){let S=l.join("$$lit$$");(o=En.get(S))===void 0&&(l.raw=l,En.set(S,o=l)),r=p}return e(o,...r)},wo=Rn(vn),Up=Rn(On);var Lo=g(ot()),wn=g(C());var Gt;(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"})(Gt||(Gt={}));var Nn=function(e,o,r,n){var i=arguments.length,s=i<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,r,n);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(s=(i<3?l(s):i>3?l(o,r,s):l(o,r))||s);return i>3&&s&&Object.defineProperty(o,r,s),s},pt=class extends wn.FtLitElement{constructor(){super(...arguments),this.variant=Gt.body1}render(){return this.element?wo`
|
|
485
|
+
<${No(this.element)}
|
|
486
|
+
part="text"
|
|
496
487
|
class="ft-typography ft-typography--${this.variant}">
|
|
497
488
|
<slot></slot>
|
|
498
|
-
</${
|
|
499
|
-
`:
|
|
500
|
-
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
501
|
-
`}}
|
|
489
|
+
</${No(this.element)}>
|
|
490
|
+
`:wo`
|
|
491
|
+
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
492
|
+
`}};pt.styles=[Hr,Mr,Fr,zr,Gr,Fe,Kr,Vr,Zr,jr,qr,...Yr];Nn([(0,Lo.property)()],pt.prototype,"element",void 0);Nn([(0,Lo.property)()],pt.prototype,"variant",void 0);(0,Ln.customElement)("ft-typography")(pt);var In=g(U()),wt=g(C()),Ut={distance:wt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:wt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:wt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:wt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:wt.FtCssVariableFactory.external(wt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:wt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Tn=In.css`
|
|
502
493
|
.ft-tooltip--container {
|
|
503
494
|
display: block;
|
|
504
495
|
}
|
|
@@ -513,21 +504,21 @@ const Ko=Symbol.for(""),Ao=t=>{if(t?.r===Ko)return t?._$litStatic$},Do=t=>({_$li
|
|
|
513
504
|
box-sizing: border-box;
|
|
514
505
|
overflow: hidden;
|
|
515
506
|
width: max-content;
|
|
516
|
-
max-width: ${
|
|
507
|
+
max-width: ${Ut.maxWidth};
|
|
517
508
|
text-align: center;
|
|
518
|
-
padding: ${
|
|
519
|
-
z-index: ${
|
|
509
|
+
padding: ${Ut.distance};
|
|
510
|
+
z-index: ${Ut.zIndex};
|
|
520
511
|
}
|
|
521
512
|
|
|
522
513
|
.ft-tooltip--content {
|
|
523
514
|
padding: 4px 8px;
|
|
524
|
-
border-radius: ${
|
|
525
|
-
background-color: ${
|
|
526
|
-
color: ${
|
|
515
|
+
border-radius: ${Ut.borderRadiusS};
|
|
516
|
+
background-color: ${Ut.backgroundColor};
|
|
517
|
+
color: ${Ut.color};
|
|
527
518
|
position: relative;
|
|
528
519
|
word-break: break-word;
|
|
529
520
|
}
|
|
530
|
-
`,_o=["start","end"],jo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+_o[0],o+"-"+_o[1])),[]),Yo=Math.min,Vo=Math.max,qo=Math.round,Xo=t=>({x:t,y:t}),Qo={left:"right",right:"left",bottom:"top",top:"bottom"},Jo={start:"end",end:"start"};function te(t,o,e){return Vo(t,Yo(o,e))}function oe(t,o){return"function"==typeof t?t(o):t}function ee(t){return t.split("-")[0]}function re(t){return t.split("-")[1]}function ie(t){return"x"===t?"y":"x"}function ne(t){return"y"===t?"height":"width"}function ae(t){return["top","bottom"].includes(ee(t))?"y":"x"}function le(t){return ie(ae(t))}function ce(t){return t.replace(/left|right|bottom|top/g,(t=>Qo[t]))}function se(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function pe(t,o,e){let{reference:r,floating:i}=t;const n=ae(o),a=le(o),l=ne(a),c=ee(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(re(o)){case"start":h[a]-=d*(e&&s?-1:1);break;case"end":h[a]+=d*(e&&s?-1:1)}return h}async function fe(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}=oe(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=se(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=se(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 de(t,o,e){return(t?[...e.filter((o=>re(o)===t)),...e.filter((o=>re(o)!==t))]:e.filter((t=>ee(t)===t))).filter((e=>!t||(re(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Jo[t]))}(e)!==e)))}const he=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=jo,autoAlignment:h=!0,...u}=oe(t,o),g=void 0!==f||d===jo?de(f||null,h,d):d,y=await fe(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=re(t),i=le(t),n=ne(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=ce(a)),[a,ce(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:g[0]}};const v=[y[ee(m)],y[x[0]],y[x[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:v}],N=g[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const w=O.map((t=>{const o=re(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])),S=w.filter((t=>t[2].slice(0,re(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=S[0])?void 0:i[0])||w[0][0];return C!==l?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function ue(t){return be(t)?(t.nodeName||"").toLowerCase():"#document"}function ge(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function ye(t){var o;return null==(o=(be(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function be(t){return t instanceof Node||t instanceof ge(t).Node}function me(t){return t instanceof Element||t instanceof ge(t).Element}function xe(t){return t instanceof HTMLElement||t instanceof ge(t).HTMLElement}function ve(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ge(t).ShadowRoot)}function Oe(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Ee(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function Ne(t){return["table","td","th"].includes(ue(t))}function we(t){const o=Se(),e=Ee(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 Se(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ce(t){return["html","body","#document"].includes(ue(t))}function Ee(t){return ge(t).getComputedStyle(t)}function Ie(t){return me(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function $e(t){if("html"===ue(t))return t;const o=t.assignedSlot||t.parentNode||ve(t)&&t.host||ye(t);return ve(o)?o.host:o}function Ue(t){const o=$e(t);return Ce(o)?t.ownerDocument?t.ownerDocument.body:t.body:xe(o)&&Oe(o)?o:Ue(o)}function Re(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=Ue(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=ge(i);return n?o.concat(a,a.visualViewport||[],Oe(i)?i:[],a.frameElement&&e?Re(a.frameElement):[]):o.concat(i,Re(i,[],e))}function ke(t){const o=Ee(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=xe(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=qo(e)!==n||qo(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function We(t){return me(t)?t:t.contextElement}function Le(t){const o=We(t);if(!xe(o))return Xo(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=ke(o);let a=(n?qo(e.width):e.width)/r,l=(n?qo(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const ze=Xo(0);function Ze(t){const o=ge(t);return Se()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ze}function Ke(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=We(t);let a=Xo(1);o&&(r?me(r)&&(a=Le(r)):a=Le(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==ge(t))&&o}(n,e,r)?Ze(n):Xo(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=ge(n),o=r&&me(r)?ge(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Le(e),o=e.getBoundingClientRect(),r=Ee(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=ge(e).frameElement}}return se({width:p,height:f,x:c,y:s})}function Ae(t){return Ke(ye(t)).left+Ie(t).scrollLeft}function De(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=ge(t),r=ye(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=Se();(!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=ye(t),e=Ie(t),r=t.ownerDocument.body,i=Vo(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Vo(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Ae(t);const l=-e.scrollTop;return"rtl"===Ee(r).direction&&(a+=Vo(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(ye(t));else if(me(o))r=function(t,o){const e=Ke(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=xe(t)?Le(t):Xo(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=Ze(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return se(r)}function Fe(t,o){const e=$e(t);return!(e===o||!me(e)||Ce(e))&&("fixed"===Ee(e).position||Fe(e,o))}function Be(t,o,e){const r=xe(o),i=ye(o),n="fixed"===e,a=Ke(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const c=Xo(0);if(r||!r&&!n)if(("body"!==ue(o)||Oe(i))&&(l=Ie(o)),r){const t=Ke(o,!0,n,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=Ae(i));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function Te(t,o){return xe(t)&&"fixed"!==Ee(t).position?o?o(t):t.offsetParent:null}function He(t,o){const e=ge(t);if(!xe(t))return e;let r=Te(t,o);for(;r&&Ne(r)&&"static"===Ee(r).position;)r=Te(r,o);return r&&("html"===ue(r)||"body"===ue(r)&&"static"===Ee(r).position&&!we(r))?e:r||function(t){let o=$e(t);for(;xe(o)&&!Ce(o);){if(we(o))return o;o=$e(o)}return null}(t)||e}const Pe={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=xe(e),n=ye(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Xo(1);const c=Xo(0);if((i||!i&&"fixed"!==r)&&(("body"!==ue(e)||Oe(n))&&(a=Ie(e)),xe(e))){const t=Ke(e);l=Le(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:ye,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=Re(t,[],!1).filter((t=>me(t)&&"body"!==ue(t))),i=null;const n="fixed"===Ee(t).position;let a=n?$e(t):t;for(;me(a)&&!Ce(a);){const o=Ee(a),e=we(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Oe(a)&&!e&&Fe(t,a))?r=r.filter((t=>t!==a)):i=o,a=$e(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],l=n.reduce(((t,e)=>{const r=De(o,e,i);return t.top=Vo(r.top,t.top),t.right=Yo(r.right,t.right),t.bottom=Yo(r.bottom,t.bottom),t.left=Vo(r.left,t.left),t}),De(o,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:He,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||He,n=this.getDimensions;return{reference:Be(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 ke(t)},getScale:Le,isElement:me,isRTL:function(t){return"rtl"===Ee(t).direction}},Me=(t,o,e)=>{const r=new Map,i={platform:Pe,...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}=pe(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}=pe(s,d,c))),e=-1)}return{x:p,y:f,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function Ge(t){return function(t){for(let o=t;o;o=_e(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=_e(t);o;o=_e(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 _e(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var je,Ye,Ve=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 qe 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`
|
|
521
|
+
`;var _n=["top","right","bottom","left"],Pn=["start","end"],To=_n.reduce((e,o)=>e.concat(o,o+"-"+Pn[0],o+"-"+Pn[1]),[]),Re=Math.min,Bt=Math.max,Ne=Math.round;var Lt=e=>({x:e,y:e}),xa={left:"right",right:"left",bottom:"top",top:"bottom"},Sa={start:"end",end:"start"};function Po(e,o,r){return Bt(e,Re(o,r))}function Ze(e,o){return typeof e=="function"?e(o):e}function de(e){return e.split("-")[0]}function $t(e){return e.split("-")[1]}function _o(e){return e==="x"?"y":"x"}function ko(e){return e==="y"?"height":"width"}function je(e){return["top","bottom"].includes(de(e))?"y":"x"}function Uo(e){return _o(je(e))}function kn(e,o,r){r===void 0&&(r=!1);let n=$t(e),i=Uo(e),s=ko(i),l=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return o.reference[s]>o.floating[s]&&(l=Io(l)),[l,Io(l)]}function Un(e){return e.replace(/start|end/g,o=>Sa[o])}function Io(e){return e.replace(/left|right|bottom|top/g,o=>xa[o])}function va(e){return{top:0,right:0,bottom:0,left:0,...e}}function Bn(e){return typeof e!="number"?va(e):{top:e,right:e,bottom:e,left:e}}function Kt(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function $n(e,o,r){let{reference:n,floating:i}=e,s=je(o),l=Uo(o),p=ko(l),f=de(o),u=s==="y",b=n.x+n.width/2-i.width/2,S=n.y+n.height/2-i.height/2,R=n[p]/2-i[p]/2,A;switch(f){case"top":A={x:b,y:n.y-i.height};break;case"bottom":A={x:b,y:n.y+n.height};break;case"right":A={x:n.x+n.width,y:S};break;case"left":A={x:n.x-i.width,y:S};break;default:A={x:n.x,y:n.y}}switch($t(o)){case"start":A[l]-=R*(r&&u?-1:1);break;case"end":A[l]+=R*(r&&u?-1:1);break}return A}var Dn=async(e,o,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:l}=r,p=s.filter(Boolean),f=await(l.isRTL==null?void 0:l.isRTL(o)),u=await l.getElementRects({reference:e,floating:o,strategy:i}),{x:b,y:S}=$n(u,n,f),R=n,A={},w=0;for(let B=0;B<p.length;B++){let{name:$,fn:k}=p[B],{x:H,y:Y,data:J,reset:V}=await k({x:b,y:S,initialPlacement:n,placement:R,strategy:i,middlewareData:A,rects:u,platform:l,elements:{reference:e,floating:o}});if(b=H??b,S=Y??S,A={...A,[$]:{...A[$],...J}},V&&w<=50){w++,typeof V=="object"&&(V.placement&&(R=V.placement),V.rects&&(u=V.rects===!0?await l.getElementRects({reference:e,floating:o,strategy:i}):V.rects),{x:b,y:S}=$n(u,R,f)),B=-1;continue}}return{x:b,y:S,placement:R,strategy:i,middlewareData:A}};async function Bo(e,o){var r;o===void 0&&(o={});let{x:n,y:i,platform:s,rects:l,elements:p,strategy:f}=e,{boundary:u="clippingAncestors",rootBoundary:b="viewport",elementContext:S="floating",altBoundary:R=!1,padding:A=0}=Ze(o,e),w=Bn(A),$=p[R?S==="floating"?"reference":"floating":S],k=Kt(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement($)))==null||r?$:$.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(p.floating)),boundary:u,rootBoundary:b,strategy:f})),H=S==="floating"?{...l.floating,x:n,y:i}:l.reference,Y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(p.floating)),J=await(s.isElement==null?void 0:s.isElement(Y))?await(s.getScale==null?void 0:s.getScale(Y))||{x:1,y:1}:{x:1,y:1},V=Kt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:H,offsetParent:Y,strategy:f}):H);return{top:(k.top-V.top+w.top)/J.y,bottom:(V.bottom-k.bottom+w.bottom)/J.y,left:(k.left-V.left+w.left)/J.x,right:(V.right-k.right+w.right)/J.x}}function Oa(e,o,r){return(e?[...r.filter(i=>$t(i)===e),...r.filter(i=>$t(i)!==e)]:r.filter(i=>de(i)===i)).filter(i=>e?$t(i)===e||(o?Un(i)!==i:!1):!0)}var $o=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var r,n,i;let{rects:s,middlewareData:l,placement:p,platform:f,elements:u}=o,{crossAxis:b=!1,alignment:S,allowedPlacements:R=To,autoAlignment:A=!0,...w}=Ze(e,o),B=S!==void 0||R===To?Oa(S||null,A,R):R,$=await Bo(o,w),k=((r=l.autoPlacement)==null?void 0:r.index)||0,H=B[k];if(H==null)return{};let Y=kn(H,s,await(f.isRTL==null?void 0:f.isRTL(u.floating)));if(p!==H)return{reset:{placement:B[0]}};let J=[$[de(H)],$[Y[0]],$[Y[1]]],V=[...((n=l.autoPlacement)==null?void 0:n.overflows)||[],{placement:H,overflows:J}],De=B[k+1];if(De)return{data:{index:k+1,overflows:V},reset:{placement:De}};let ct=V.map(d=>{let h=$t(d.placement);return[d.placement,h&&b?d.overflows.slice(0,2).reduce((O,Z)=>O+Z,0):d.overflows[0],d.overflows]}).sort((d,h)=>d[1]-h[1]),Jt=((i=ct.filter(d=>d[2].slice(0,$t(d[0])?2:3).every(h=>h<=0))[0])==null?void 0:i[0])||ct[0][0];return Jt!==p?{data:{index:k+1,overflows:V},reset:{placement:Jt}}:{}}}};var Do=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:r,y:n,placement:i}=o,{mainAxis:s=!0,crossAxis:l=!1,limiter:p={fn:$=>{let{x:k,y:H}=$;return{x:k,y:H}}},...f}=Ze(e,o),u={x:r,y:n},b=await Bo(o,f),S=je(de(i)),R=_o(S),A=u[R],w=u[S];if(s){let $=R==="y"?"top":"left",k=R==="y"?"bottom":"right",H=A+b[$],Y=A-b[k];A=Po(H,A,Y)}if(l){let $=S==="y"?"top":"left",k=S==="y"?"bottom":"right",H=w+b[$],Y=w-b[k];w=Po(H,w,Y)}let B=p.fn({...o,[R]:A,[S]:w});return{...B,data:{x:B.x-r,y:B.y-n}}}}};function It(e){return Hn(e)?(e.nodeName||"").toLowerCase():"#document"}function at(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function Tt(e){var o;return(o=(Hn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function Hn(e){return e instanceof Node||e instanceof at(e).Node}function Ct(e){return e instanceof Element||e instanceof at(e).Element}function yt(e){return e instanceof HTMLElement||e instanceof at(e).HTMLElement}function Wn(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof at(e).ShadowRoot}function fe(e){let{overflow:o,overflowX:r,overflowY:n,display:i}=dt(e);return/auto|scroll|overlay|hidden|clip/.test(o+n+r)&&!["inline","contents"].includes(i)}function Mn(e){return["table","td","th"].includes(It(e))}function Ye(e){let o=Xe(),r=dt(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(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Fn(e){let o=Vt(e);for(;yt(o)&&!we(o);){if(Ye(o))return o;o=Vt(o)}return null}function Xe(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function we(e){return["html","body","#document"].includes(It(e))}function dt(e){return at(e).getComputedStyle(e)}function Le(e){return Ct(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Vt(e){if(It(e)==="html")return e;let o=e.assignedSlot||e.parentNode||Wn(e)&&e.host||Tt(e);return Wn(o)?o.host:o}function zn(e){let o=Vt(e);return we(o)?e.ownerDocument?e.ownerDocument.body:e.body:yt(o)&&fe(o)?o:zn(o)}function qe(e,o,r){var n;o===void 0&&(o=[]),r===void 0&&(r=!0);let i=zn(e),s=i===((n=e.ownerDocument)==null?void 0:n.body),l=at(i);return s?o.concat(l,l.visualViewport||[],fe(i)?i:[],l.frameElement&&r?qe(l.frameElement):[]):o.concat(i,qe(i,[],r))}function Vn(e){let o=dt(e),r=parseFloat(o.width)||0,n=parseFloat(o.height)||0,i=yt(e),s=i?e.offsetWidth:r,l=i?e.offsetHeight:n,p=Ne(r)!==s||Ne(n)!==l;return p&&(r=s,n=l),{width:r,height:n,$:p}}function Zn(e){return Ct(e)?e:e.contextElement}function ue(e){let o=Zn(e);if(!yt(o))return Lt(1);let r=o.getBoundingClientRect(),{width:n,height:i,$:s}=Vn(o),l=(s?Ne(r.width):r.width)/n,p=(s?Ne(r.height):r.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!p||!Number.isFinite(p))&&(p=1),{x:l,y:p}}var Ca=Lt(0);function jn(e){let o=at(e);return!Xe()||!o.visualViewport?Ca:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function Ea(e,o,r){return o===void 0&&(o=!1),!r||o&&r!==at(e)?!1:o}function Ie(e,o,r,n){o===void 0&&(o=!1),r===void 0&&(r=!1);let i=e.getBoundingClientRect(),s=Zn(e),l=Lt(1);o&&(n?Ct(n)&&(l=ue(n)):l=ue(e));let p=Ea(s,r,n)?jn(s):Lt(0),f=(i.left+p.x)/l.x,u=(i.top+p.y)/l.y,b=i.width/l.x,S=i.height/l.y;if(s){let R=at(s),A=n&&Ct(n)?at(n):n,w=R.frameElement;for(;w&&n&&A!==R;){let B=ue(w),$=w.getBoundingClientRect(),k=dt(w),H=$.left+(w.clientLeft+parseFloat(k.paddingLeft))*B.x,Y=$.top+(w.clientTop+parseFloat(k.paddingTop))*B.y;f*=B.x,u*=B.y,b*=B.x,S*=B.y,f+=H,u+=Y,w=at(w).frameElement}}return Kt({width:b,height:S,x:f,y:u})}function Aa(e){let{rect:o,offsetParent:r,strategy:n}=e,i=yt(r),s=Tt(r);if(r===s)return o;let l={scrollLeft:0,scrollTop:0},p=Lt(1),f=Lt(0);if((i||!i&&n!=="fixed")&&((It(r)!=="body"||fe(s))&&(l=Le(r)),yt(r))){let u=Ie(r);p=ue(r),f.x=u.x+r.clientLeft,f.y=u.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 Ra(e){return Array.from(e.getClientRects())}function qn(e){return Ie(Tt(e)).left+Le(e).scrollLeft}function Na(e){let o=Tt(e),r=Le(e),n=e.ownerDocument.body,i=Bt(o.scrollWidth,o.clientWidth,n.scrollWidth,n.clientWidth),s=Bt(o.scrollHeight,o.clientHeight,n.scrollHeight,n.clientHeight),l=-r.scrollLeft+qn(e),p=-r.scrollTop;return dt(n).direction==="rtl"&&(l+=Bt(o.clientWidth,n.clientWidth)-i),{width:i,height:s,x:l,y:p}}function wa(e,o){let r=at(e),n=Tt(e),i=r.visualViewport,s=n.clientWidth,l=n.clientHeight,p=0,f=0;if(i){s=i.width,l=i.height;let u=Xe();(!u||u&&o==="fixed")&&(p=i.offsetLeft,f=i.offsetTop)}return{width:s,height:l,x:p,y:f}}function La(e,o){let r=Ie(e,!0,o==="fixed"),n=r.top+e.clientTop,i=r.left+e.clientLeft,s=yt(e)?ue(e):Lt(1),l=e.clientWidth*s.x,p=e.clientHeight*s.y,f=i*s.x,u=n*s.y;return{width:l,height:p,x:f,y:u}}function Gn(e,o,r){let n;if(o==="viewport")n=wa(e,r);else if(o==="document")n=Na(Tt(e));else if(Ct(o))n=La(o,r);else{let i=jn(e);n={...o,x:o.x-i.x,y:o.y-i.y}}return Kt(n)}function Yn(e,o){let r=Vt(e);return r===o||!Ct(r)||we(r)?!1:dt(r).position==="fixed"||Yn(r,o)}function Ia(e,o){let r=o.get(e);if(r)return r;let n=qe(e,[],!1).filter(p=>Ct(p)&&It(p)!=="body"),i=null,s=dt(e).position==="fixed",l=s?Vt(e):e;for(;Ct(l)&&!we(l);){let p=dt(l),f=Ye(l);!f&&p.position==="fixed"&&(i=null),(s?!f&&!i:!f&&p.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||fe(l)&&!f&&Yn(e,l))?n=n.filter(b=>b!==l):i=p,l=Vt(l)}return o.set(e,n),n}function Ta(e){let{element:o,boundary:r,rootBoundary:n,strategy:i}=e,l=[...r==="clippingAncestors"?Ia(o,this._c):[].concat(r),n],p=l[0],f=l.reduce((u,b)=>{let S=Gn(o,b,i);return u.top=Bt(S.top,u.top),u.right=Re(S.right,u.right),u.bottom=Re(S.bottom,u.bottom),u.left=Bt(S.left,u.left),u},Gn(o,p,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function Pa(e){return Vn(e)}function _a(e,o,r){let n=yt(o),i=Tt(o),s=r==="fixed",l=Ie(e,!0,s,o),p={scrollLeft:0,scrollTop:0},f=Lt(0);if(n||!n&&!s)if((It(o)!=="body"||fe(i))&&(p=Le(o)),n){let u=Ie(o,!0,s,o);f.x=u.x+o.clientLeft,f.y=u.y+o.clientTop}else i&&(f.x=qn(i));return{x:l.left+p.scrollLeft-f.x,y:l.top+p.scrollTop-f.y,width:l.width,height:l.height}}function Kn(e,o){return!yt(e)||dt(e).position==="fixed"?null:o?o(e):e.offsetParent}function Xn(e,o){let r=at(e);if(!yt(e))return r;let n=Kn(e,o);for(;n&&Mn(n)&&dt(n).position==="static";)n=Kn(n,o);return n&&(It(n)==="html"||It(n)==="body"&&dt(n).position==="static"&&!Ye(n))?r:n||Fn(e)||r}var ka=async function(e){let{reference:o,floating:r,strategy:n}=e,i=this.getOffsetParent||Xn,s=this.getDimensions;return{reference:_a(o,await i(r),n),floating:{x:0,y:0,...await s(r)}}};function Ua(e){return dt(e).direction==="rtl"}var Qe={convertOffsetParentRelativeRectToViewportRelativeRect:Aa,getDocumentElement:Tt,getClippingRect:Ta,getOffsetParent:Xn,getElementRects:ka,getClientRects:Ra,getDimensions:Pa,getScale:ue,isElement:Ct,isRTL:Ua};var Qn=(e,o,r)=>{let n=new Map,i={platform:Qe,...r},s={...i.platform,_c:n};return Dn(e,o,{...i,platform:s})};function Jn(e){return Ba(e)}function Wo(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Ba(e){for(let o=e;o;o=Wo(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=Wo(e);o;o=Wo(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 ti(e,o,r){return Qn(e,o,{platform:{...Qe,getOffsetParent:n=>Qe.getOffsetParent(n,Jn)},middleware:[Do({crossAxis:!0}),$o({allowedPlacements:[r]})]})}var st=function(e,o,r,n){var i=arguments.length,s=i<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,r,n);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(s=(i<3?l(s):i>3?l(o,r,s):l(o,r))||s);return i>3&&s&&Object.defineProperty(o,r,s),s},W=class extends Te.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 Te.Debouncer,this.revealDebouncer=new Te.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ei.html`
|
|
531
522
|
<div part="container"
|
|
532
523
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
533
524
|
@mouseenter=${this.onHover}
|
|
@@ -545,42 +536,45 @@ const Ko=Symbol.for(""),Ao=t=>{if(t?.r===Ko)return t?._$litStatic$},Do=t=>({_$li
|
|
|
545
536
|
</div>
|
|
546
537
|
</div>
|
|
547
538
|
</div>
|
|
548
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,o,e){return Me(t,o,{platform:{...Pe,getOffsetParent:t=>Pe.getOffsetParent(t,Ge)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=oe(r,t),s={x:o,y:e},p=await fe(t,c),f=ae(ee(i)),d=ie(f);let h=s[d],u=s[f];if(n){const t="y"===d?"bottom":"right";h=te(h+p["y"===d?"top":"left"],h,h-p[t])}if(a){const t="y"===f?"bottom":"right";u=te(u+p["y"===f?"top":"left"],u,u-p[t])}const g=l.fn({...t,[d]:h,[f]:u});return{...g,data:{x:g.x-o,y:g.y-e}}}}),he({allowedPlacements:[e]})]});var r}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}qe.elementDefinitions={"ft-typography":Po},qe.styles=Go,Ve([r.property()],qe.prototype,"text",void 0),Ve([r.property({type:Boolean})],qe.prototype,"manual",void 0),Ve([r.property({type:Boolean})],qe.prototype,"inline",void 0),Ve([r.property({type:Number})],qe.prototype,"delay",void 0),Ve([r.property()],qe.prototype,"position",void 0),Ve([r.queryAssignedNodes()],qe.prototype,"slotNodes",void 0),Ve([r.query(".ft-tooltip--container")],qe.prototype,"container",void 0),Ve([r.query(".ft-tooltip")],qe.prototype,"tooltip",void 0),Ve([r.query(".ft-tooltip--content")],qe.prototype,"tooltipContent",void 0),Ve([r.state()],qe.prototype,"visible",void 0),Ve([r.eventOptions({passive:!0})],qe.prototype,"onTouch",null),Ve([r.eventOptions({passive:!0})],qe.prototype,"onHover",null),Ve([r.eventOptions({passive:!0})],qe.prototype,"onOut",null),Ve([r.eventOptions({passive:!0})],qe.prototype,"onClick",null),o.customElement("ft-tooltip")(qe),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE="",t.OCTAGON_XMARK="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CONSUMER="",t.HOURGLASS_HALF="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE=""}(je||(je={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Ye||(Ye={}));const Xe=new Map([...["abw"].map((t=>[t,Ye.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Ye.AUDIO])),...["avi"].map((t=>[t,Ye.AVI])),...["chm","xhs"].map((t=>[t,Ye.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Ye.CODE])),...["csv"].map((t=>[t,Ye.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ye.DITA])),...["epub"].map((t=>[t,Ye.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ye.EXCEL])),...["flac"].map((t=>[t,Ye.FLAC])),...["gif"].map((t=>[t,Ye.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ye.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ye.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((t=>[t,Ye.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ye.JPEG])),...["json"].map((t=>[t,Ye.JSON])),...["m4a","m4p"].map((t=>[t,Ye.M4A])),...["mov","qt"].map((t=>[t,Ye.MOV])),...["mp3"].map((t=>[t,Ye.MP3])),...["mp4","m4v"].map((t=>[t,Ye.MP4])),...["ogg","oga"].map((t=>[t,Ye.OGG])),...["pdf","ps"].map((t=>[t,Ye.PDF])),...["png"].map((t=>[t,Ye.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ye.POWERPOINT])),...["rar"].map((t=>[t,Ye.RAR])),...["stp"].map((t=>[t,Ye.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ye.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Ye.VIDEO])),...["wav"].map((t=>[t,Ye.WAV])),...["wma"].map((t=>[t,Ye.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ye.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ye.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ye.YAML])),...["zip"].map((t=>[t,Ye.ZIP]))]),Qe=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var Je;Ye.ABW,Ye.AUDIO,Ye.AVI,Ye.CHM,Ye.CODE,Ye.CSV,Ye.DITA,Ye.EPUB,Ye.EXCEL,Ye.FLAC,Ye.GIF,Ye.GZIP,Ye.HTML,Ye.IMAGE,Ye.JPEG,Ye.JSON,Ye.M4A,Ye.MOV,Ye.MP3,Ye.MP4,Ye.OGG,Ye.PDF,Ye.PNG,Ye.POWERPOINT,Ye.RAR,Ye.STP,Ye.TEXT,Ye.UNKNOWN,Ye.VIDEO,Ye.WAV,Ye.WMA,Ye.WORD,Ye.XML,Ye.YAML,Ye.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Je||(Je={}));var tr=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 or extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Je).includes(this.variant)?this.variant:Je.fluid_topics,o=t!==Je.material||!!this.value;return e.html`
|
|
549
|
-
<i class="ft-icon ft-icon--${
|
|
550
|
-
${
|
|
551
|
-
<slot ?hidden=${
|
|
539
|
+
`}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="",ti(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))}};W.elementDefinitions={"ft-typography":pt};W.styles=Tn;st([(0,K.property)()],W.prototype,"text",void 0);st([(0,K.property)({type:Boolean})],W.prototype,"manual",void 0);st([(0,K.property)({type:Boolean})],W.prototype,"inline",void 0);st([(0,K.property)({type:Number})],W.prototype,"delay",void 0);st([(0,K.property)()],W.prototype,"position",void 0);st([(0,K.queryAssignedNodes)()],W.prototype,"slotNodes",void 0);st([(0,K.query)(".ft-tooltip--container")],W.prototype,"container",void 0);st([(0,K.query)(".ft-tooltip")],W.prototype,"tooltip",void 0);st([(0,K.query)(".ft-tooltip--content")],W.prototype,"tooltipContent",void 0);st([(0,K.state)()],W.prototype,"visible",void 0);st([(0,K.eventOptions)({passive:!0})],W.prototype,"onTouch",null);st([(0,K.eventOptions)({passive:!0})],W.prototype,"onHover",null);st([(0,K.eventOptions)({passive:!0})],W.prototype,"onOut",null);st([(0,K.eventOptions)({passive:!0})],W.prototype,"onClick",null);(0,oi.customElement)("ft-tooltip")(W);var li=g(C());var Pe=g(U()),Zt=g(ot()),ai=g(C()),si=g(ni());var Dt;(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=""})(Dt||(Dt={}));var y;(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=""})(y||(y={}));var Ho=new Map([...["abw"].map(e=>[e,y.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,y.AUDIO]),...["avi"].map(e=>[e,y.AVI]),...["chm","xhs"].map(e=>[e,y.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,y.CODE]),...["csv"].map(e=>[e,y.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,y.DITA]),...["epub"].map(e=>[e,y.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,y.EXCEL]),...["flac"].map(e=>[e,y.FLAC]),...["gif"].map(e=>[e,y.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,y.GZIP]),...["html","htm","xhtml"].map(e=>[e,y.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,y.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,y.JPEG]),...["json"].map(e=>[e,y.JSON]),...["m4a","m4p"].map(e=>[e,y.M4A]),...["mov","qt"].map(e=>[e,y.MOV]),...["mp3"].map(e=>[e,y.MP3]),...["mp4","m4v"].map(e=>[e,y.MP4]),...["ogg","oga"].map(e=>[e,y.OGG]),...["pdf","ps"].map(e=>[e,y.PDF]),...["png"].map(e=>[e,y.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,y.POWERPOINT]),...["rar"].map(e=>[e,y.RAR]),...["stp"].map(e=>[e,y.STP]),...["txt","rtf","md","mdown"].map(e=>[e,y.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,y.VIDEO]),...["wav"].map(e=>[e,y.WAV]),...["wma"].map(e=>[e,y.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,y.WORD]),...["xml","xsl","rdf"].map(e=>[e,y.XML]),...["yaml","yml","x-yaml"].map(e=>[e,y.YAML]),...["zip"].map(e=>[e,y.ZIP])]),$a=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function ii(e,o){var r,n,i,s;e=(e??"").toLowerCase(),o=(o??"").toLowerCase();let[l,p]=(((r=$a.get(e))!==null&&r!==void 0?r:e)+"/").split("/");return(s=(i=(n=Ho.get(p))!==null&&n!==void 0?n:Ho.get(o))!==null&&i!==void 0?i:Ho.get(l))!==null&&s!==void 0?s:y.UNKNOWN}var Id={[y.ABW]:"#91ABC6",[y.AUDIO]:"#1795E3",[y.AVI]:"#E63324",[y.CHM]:"#71C3EB",[y.CODE]:"#71C3EB",[y.CSV]:"#1F7345",[y.DITA]:"#71C3EB",[y.EPUB]:"#85B926",[y.EXCEL]:"#1F7345",[y.FLAC]:"#1795E3",[y.GIF]:"#59B031",[y.GZIP]:"#F8AB36",[y.HTML]:"#71C3EB",[y.IMAGE]:"#59B031",[y.JPEG]:"#59B031",[y.JSON]:"#71C3EB",[y.M4A]:"#1795E3",[y.MOV]:"#E63324",[y.MP3]:"#1795E3",[y.MP4]:"#E63324",[y.OGG]:"#1795E3",[y.PDF]:"#E44948",[y.PNG]:"#59B031",[y.POWERPOINT]:"#B54A2B",[y.RAR]:"#F8AB36",[y.STP]:"#3764B1",[y.TEXT]:"#3162AB",[y.UNKNOWN]:"#999999",[y.VIDEO]:"#E63324",[y.WAV]:"#1795E3",[y.WMA]:"#1795E3",[y.WORD]:"#3162AB",[y.XML]:"#71C3EB",[y.YAML]:"#71C3EB",[y.ZIP]:"#F8AB36"};var mt;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(mt||(mt={}));var Je=function(e,o,r,n){var i=arguments.length,s=i<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,r,n);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(s=(i<3?l(s):i>3?l(o,r,s):l(o,r))||s);return i>3&&s&&Object.defineProperty(o,r,s),s},lt=class extends ai.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Pe.nothing}render(){let o=this.variant&&Object.values(mt).includes(this.variant)?this.variant:mt.fluid_topics,r=o!==mt.material||!!this.value;return Pe.html`
|
|
540
|
+
<i class="ft-icon ft-icon--${o}" part="icon icon-${o}">
|
|
541
|
+
${(0,si.unsafeHTML)(this.resolvedIcon)}
|
|
542
|
+
<slot ?hidden=${r}></slot>
|
|
552
543
|
</i>
|
|
553
|
-
`}get textContent(){var
|
|
544
|
+
`}get textContent(){var o,r;return(r=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(n=>n.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 n=this.value||this.textContent;switch(this.variant){case mt.file_format:this.resolvedIcon=(o=y[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break;case mt.material:this.resolvedIcon=this.value||Pe.nothing;break;default:this.resolvedIcon=(r=Dt[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(o){super.firstUpdated(o),setTimeout(()=>this.resolveIcon())}};lt.elementDefinitions={};lt.styles=tn;Je([(0,Zt.property)()],lt.prototype,"variant",void 0);Je([(0,Zt.property)()],lt.prototype,"value",void 0);Je([(0,Zt.state)()],lt.prototype,"resolvedIcon",void 0);Je([(0,Zt.query)("slot")],lt.prototype,"slottedContent",void 0);(0,li.customElement)("ft-icon")(lt);var di=g(C());var ci=g(U()),pi=g(C());var jt=class extends pi.FtLitElement{render(){return ci.html`
|
|
554
545
|
<div class="ft-loader">
|
|
555
546
|
<div></div>
|
|
556
547
|
<div></div>
|
|
557
548
|
<div></div>
|
|
558
549
|
<div></div>
|
|
559
550
|
</div>
|
|
560
|
-
`}}
|
|
551
|
+
`}};jt.styles=Qr;(0,di.customElement)("ft-loader")(jt);var he=g(U()),fi=g(ze()),tt=g(ot()),ft=function(e,o,r,n){var i=arguments.length,s=i<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,r,n);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(s=(i<3?l(s):i>3?l(o,r,s):l(o,r))||s);return i>3&&s&&Object.defineProperty(o,r,s),s},z=class extends(0,ge.toFtFormComponent)(ge.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(he.html`
|
|
561
552
|
<button part="button"
|
|
562
|
-
class="${
|
|
553
|
+
class="${(0,fi.classMap)(this.buttonClasses)}"
|
|
563
554
|
aria-label="${this.getLabel()}"
|
|
564
555
|
?disabled=${this.isDisabled()}>
|
|
565
556
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
566
557
|
<ft-typography part="label"
|
|
567
558
|
variant=${this.typographyVariant}
|
|
568
559
|
element="span"
|
|
569
|
-
class="ft-button--label ${
|
|
560
|
+
class="ft-button--label ${ge.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
570
561
|
?hidden=${!this.hasTextContent()}>
|
|
571
562
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
572
563
|
</ft-typography>
|
|
573
564
|
${this.resolveIcon()}
|
|
574
565
|
</button>
|
|
575
|
-
`)}addTooltipIfNeeded(
|
|
566
|
+
`)}addTooltipIfNeeded(o){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?he.html`
|
|
576
567
|
<ft-tooltip part="tooltip"
|
|
577
568
|
text="${this.getLabel()}"
|
|
578
569
|
position="${this.tooltipPosition}">
|
|
579
|
-
${
|
|
570
|
+
${o}
|
|
580
571
|
</ft-tooltip>
|
|
581
|
-
`:
|
|
582
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
583
|
-
|
|
572
|
+
`:o}resolveIcon(){return this.loading?he.html`
|
|
573
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?he.html`
|
|
574
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
575
|
+
`:he.html`
|
|
576
|
+
<slot part="icon" name="icon"></slot>
|
|
577
|
+
`}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}};z.elementDefinitions={"ft-ripple":_,"ft-tooltip":W,"ft-typography":pt,"ft-icon":lt,"ft-loader":jt};ft([(0,tt.property)({type:String,reflect:!0})],z.prototype,"role",void 0);ft([(0,tt.property)()],z.prototype,"type",void 0);ft([(0,tt.property)({type:Boolean})],z.prototype,"disabled",void 0);ft([(0,tt.property)()],z.prototype,"label",void 0);ft([(0,tt.property)()],z.prototype,"icon",void 0);ft([(0,tt.property)()],z.prototype,"iconVariant",void 0);ft([(0,tt.property)({type:Boolean})],z.prototype,"trailingIcon",void 0);ft([(0,tt.property)({type:Boolean})],z.prototype,"loading",void 0);ft([(0,tt.property)()],z.prototype,"tooltipPosition",void 0);ft([(0,tt.property)({type:Boolean})],z.prototype,"hideTooltip",void 0);ft([(0,tt.property)({type:Boolean})],z.prototype,"forceTooltip",void 0);ft([(0,tt.query)(".ft-button")],z.prototype,"button",void 0);ft([(0,tt.query)(".ft-button--label slot")],z.prototype,"slottedContent",void 0);var to=function(e,o,r,n){var i=arguments.length,s=i<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,r,n);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(s=(i<3?l(s):i>3?l(o,r,s):l(o,r))||s);return i>3&&s&&Object.defineProperty(o,r,s),s},bt=class extends z{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"}};bt.styles=[ui.safariEllipsisFix,nn];to([(0,_e.property)({type:Boolean})],bt.prototype,"primary",void 0);to([(0,_e.property)({type:Boolean})],bt.prototype,"outlined",void 0);to([(0,_e.property)({type:Boolean})],bt.prototype,"dense",void 0);to([(0,_e.property)({type:Boolean})],bt.prototype,"round",void 0);var ye=g(ot());var yi=g(C());var hi=g(U()),I=g(C());var gi=[hi.css`
|
|
584
578
|
:host {
|
|
585
579
|
display: inline-block;
|
|
586
580
|
max-width: 100%;
|
|
@@ -630,7 +624,7 @@ const Ko=Symbol.for(""),Ao=t=>{if(t?.r===Ko)return t?._$litStatic$},Do=t=>({_$li
|
|
|
630
624
|
}
|
|
631
625
|
|
|
632
626
|
.ft-button:focus-visible {
|
|
633
|
-
outline-color: ${
|
|
627
|
+
outline-color: ${x.focusFocusRingColor};
|
|
634
628
|
outline-style: solid;
|
|
635
629
|
}
|
|
636
630
|
|
|
@@ -659,150 +653,150 @@ const Ko=Symbol.for(""),Ao=t=>{if(t?.r===Ko)return t?._$litStatic$},Do=t=>({_$li
|
|
|
659
653
|
/** Primary styles **/
|
|
660
654
|
|
|
661
655
|
.ft-button--primary {
|
|
662
|
-
${
|
|
656
|
+
${(0,I.setVariable)(rt.color,x.primaryIconColor)};
|
|
663
657
|
|
|
664
|
-
${
|
|
665
|
-
${
|
|
666
|
-
${
|
|
667
|
-
${
|
|
668
|
-
${
|
|
658
|
+
${(0,I.setVariable)(L.color,x.primaryStateLayerColor)};
|
|
659
|
+
${(0,I.setVariable)(L.opacityContentOnSurfaceHover,x.primaryHoverStateLayerOpacity)};
|
|
660
|
+
${(0,I.setVariable)(L.opacityContentOnSurfaceFocused,x.primaryFocusStateLayerOpacity)};
|
|
661
|
+
${(0,I.setVariable)(L.opacityContentOnSurfaceSelected,x.primaryActiveStateLayerOpacity)};
|
|
662
|
+
${(0,I.setVariable)(L.opacityContentOnSurfacePressed,x.primaryActiveStateLayerOpacity)};
|
|
669
663
|
|
|
670
|
-
background-color: ${
|
|
671
|
-
color: ${
|
|
664
|
+
background-color: ${x.primaryBackgroundColor};
|
|
665
|
+
color: ${x.primaryColor};
|
|
672
666
|
border-style: none;
|
|
673
667
|
}
|
|
674
668
|
|
|
675
669
|
.ft-button--primary[disabled] {
|
|
676
|
-
opacity: ${
|
|
670
|
+
opacity: ${x.primaryDisabledComponentOpacity};
|
|
677
671
|
}
|
|
678
672
|
|
|
679
673
|
.ft-button--primary ft-icon {
|
|
680
|
-
color: ${
|
|
674
|
+
color: ${x.primaryIconColor};
|
|
681
675
|
}
|
|
682
676
|
|
|
683
677
|
/** Secondary styles **/
|
|
684
678
|
|
|
685
679
|
.ft-button--secondary {
|
|
686
|
-
${
|
|
680
|
+
${(0,I.setVariable)(rt.color,x.secondaryIconColor)};
|
|
687
681
|
|
|
688
|
-
${
|
|
689
|
-
${
|
|
690
|
-
${
|
|
691
|
-
${
|
|
692
|
-
${
|
|
682
|
+
${(0,I.setVariable)(L.color,x.secondaryStateLayerColor)};
|
|
683
|
+
${(0,I.setVariable)(L.opacityContentOnSurfaceHover,x.secondaryHoverStateLayerOpacity)};
|
|
684
|
+
${(0,I.setVariable)(L.opacityContentOnSurfaceFocused,x.secondaryFocusStateLayerOpacity)};
|
|
685
|
+
${(0,I.setVariable)(L.opacityContentOnSurfaceSelected,x.secondaryActiveStateLayerOpacity)};
|
|
686
|
+
${(0,I.setVariable)(L.opacityContentOnSurfacePressed,x.secondaryActiveStateLayerOpacity)};
|
|
693
687
|
|
|
694
|
-
background-color: ${
|
|
695
|
-
color: ${
|
|
696
|
-
border-color: ${
|
|
688
|
+
background-color: ${x.secondaryBackgroundColor};
|
|
689
|
+
color: ${x.secondaryColor};
|
|
690
|
+
border-color: ${x.secondaryBorderColor};
|
|
697
691
|
border-style: solid;
|
|
698
692
|
}
|
|
699
693
|
|
|
700
694
|
.ft-button--secondary[disabled] {
|
|
701
|
-
opacity: ${
|
|
695
|
+
opacity: ${x.secondaryDisabledComponentOpacity};
|
|
702
696
|
}
|
|
703
697
|
|
|
704
698
|
.ft-button--secondary ft-icon {
|
|
705
|
-
color: ${
|
|
699
|
+
color: ${x.secondaryIconColor};
|
|
706
700
|
}
|
|
707
701
|
|
|
708
702
|
/** Tertiary styles **/
|
|
709
703
|
|
|
710
704
|
.ft-button--tertiary {
|
|
711
|
-
${
|
|
705
|
+
${(0,I.setVariable)(rt.color,x.tertiaryIconColor)};
|
|
712
706
|
|
|
713
|
-
${
|
|
714
|
-
${
|
|
715
|
-
${
|
|
716
|
-
${
|
|
717
|
-
${
|
|
707
|
+
${(0,I.setVariable)(L.color,x.tertiaryStateLayerColor)};
|
|
708
|
+
${(0,I.setVariable)(L.opacityContentOnSurfaceHover,x.tertiaryHoverStateLayerOpacity)};
|
|
709
|
+
${(0,I.setVariable)(L.opacityContentOnSurfaceFocused,x.tertiaryFocusStateLayerOpacity)};
|
|
710
|
+
${(0,I.setVariable)(L.opacityContentOnSurfaceSelected,x.tertiaryActiveStateLayerOpacity)};
|
|
711
|
+
${(0,I.setVariable)(L.opacityContentOnSurfacePressed,x.tertiaryActiveStateLayerOpacity)};
|
|
718
712
|
|
|
719
|
-
background-color: ${
|
|
720
|
-
color: ${
|
|
713
|
+
background-color: ${x.tertiaryBackgroundColor};
|
|
714
|
+
color: ${x.tertiaryColor};
|
|
721
715
|
border-style: none;
|
|
722
716
|
}
|
|
723
717
|
|
|
724
718
|
.ft-button--tertiary[disabled] {
|
|
725
|
-
opacity: ${
|
|
719
|
+
opacity: ${x.tertiaryDisabledComponentOpacity};
|
|
726
720
|
}
|
|
727
721
|
|
|
728
722
|
.ft-button--tertiary ft-icon {
|
|
729
|
-
color: ${
|
|
723
|
+
color: ${x.tertiaryIconColor};
|
|
730
724
|
}
|
|
731
725
|
|
|
732
726
|
/** Neutral styles **/
|
|
733
727
|
|
|
734
728
|
.ft-button--neutral {
|
|
735
|
-
${
|
|
729
|
+
${(0,I.setVariable)(rt.color,x.neutralIconColor)};
|
|
736
730
|
|
|
737
|
-
${
|
|
738
|
-
${
|
|
739
|
-
${
|
|
740
|
-
${
|
|
741
|
-
${
|
|
731
|
+
${(0,I.setVariable)(L.backgroundColor,x.neutralStateLayerColor)};
|
|
732
|
+
${(0,I.setVariable)(L.opacityContentOnSurfaceHover,x.neutralHoverStateLayerOpacity)};
|
|
733
|
+
${(0,I.setVariable)(L.opacityContentOnSurfaceFocused,x.neutralFocusStateLayerOpacity)};
|
|
734
|
+
${(0,I.setVariable)(L.opacityContentOnSurfaceSelected,x.neutralActiveStateLayerOpacity)};
|
|
735
|
+
${(0,I.setVariable)(L.opacityContentOnSurfacePressed,x.neutralActiveStateLayerOpacity)};
|
|
742
736
|
|
|
743
|
-
background-color: ${
|
|
744
|
-
color: ${
|
|
737
|
+
background-color: ${x.neutralBackgroundColor};
|
|
738
|
+
color: ${x.neutralColor};
|
|
745
739
|
border-style: none;
|
|
746
740
|
}
|
|
747
741
|
|
|
748
742
|
.ft-button--neutral[disabled] {
|
|
749
|
-
opacity: ${
|
|
743
|
+
opacity: ${x.neutralDisabledComponentOpacity};
|
|
750
744
|
}
|
|
751
745
|
|
|
752
746
|
.ft-button--neutral ft-icon {
|
|
753
|
-
color: ${
|
|
747
|
+
color: ${x.neutralIconColor};
|
|
754
748
|
}
|
|
755
749
|
|
|
756
750
|
/** Large styles **/
|
|
757
751
|
|
|
758
752
|
.ft-button--large {
|
|
759
|
-
${
|
|
760
|
-
${
|
|
753
|
+
${(0,I.setVariable)(nt.size,x.largeIconSize)};
|
|
754
|
+
${(0,I.setVariable)(rt.size,x.largeIconSize)};
|
|
761
755
|
|
|
762
|
-
height: ${
|
|
763
|
-
padding: 0 ${
|
|
764
|
-
gap: ${
|
|
765
|
-
border-radius: ${
|
|
766
|
-
border-width: ${
|
|
756
|
+
height: ${x.largeHeight};
|
|
757
|
+
padding: 0 ${x.largeHorizontalPadding};
|
|
758
|
+
gap: ${x.largeGap};
|
|
759
|
+
border-radius: ${x.largeBorderRadius};
|
|
760
|
+
border-width: ${x.largeBorderWidth};
|
|
767
761
|
}
|
|
768
762
|
|
|
769
763
|
.ft-button--large:focus-visible {
|
|
770
|
-
outline-width: ${
|
|
771
|
-
outline-offset: ${
|
|
764
|
+
outline-width: ${x.largeFocusOutlineWidth};
|
|
765
|
+
outline-offset: ${x.largeFocusOutlineOffset};
|
|
772
766
|
}
|
|
773
767
|
|
|
774
768
|
.ft-button--large.ft-button--icon-only {
|
|
775
|
-
width: ${
|
|
769
|
+
width: ${x.largeIconOnlyWidth};
|
|
776
770
|
padding: unset;
|
|
777
771
|
}
|
|
778
772
|
|
|
779
773
|
/** Small styles **/
|
|
780
774
|
|
|
781
775
|
.ft-button--small {
|
|
782
|
-
${
|
|
783
|
-
${
|
|
776
|
+
${(0,I.setVariable)(nt.size,x.smallIconSize)};
|
|
777
|
+
${(0,I.setVariable)(rt.size,x.smallIconSize)};
|
|
784
778
|
|
|
785
|
-
height: ${
|
|
786
|
-
padding: 0 ${
|
|
787
|
-
gap: ${
|
|
788
|
-
border-radius: ${
|
|
789
|
-
border-width: ${
|
|
779
|
+
height: ${x.smallHeight};
|
|
780
|
+
padding: 0 ${x.smallHorizontalPadding};
|
|
781
|
+
gap: ${x.smallGap};
|
|
782
|
+
border-radius: ${x.smallBorderRadius};
|
|
783
|
+
border-width: ${x.smallBorderWidth};
|
|
790
784
|
}
|
|
791
785
|
|
|
792
786
|
.ft-button--small:focus-visible {
|
|
793
|
-
outline-width: ${
|
|
794
|
-
outline-offset: ${
|
|
787
|
+
outline-width: ${x.smallFocusOutlineWidth};
|
|
788
|
+
outline-offset: ${x.smallFocusOutlineOffset};
|
|
795
789
|
}
|
|
796
790
|
|
|
797
791
|
.ft-button--small.ft-button--icon-only {
|
|
798
|
-
width: ${
|
|
792
|
+
width: ${x.smallIconOnlyWidth};
|
|
799
793
|
padding: unset;
|
|
800
794
|
}
|
|
801
|
-
`,
|
|
795
|
+
`,I.noTextSelect];var ke=function(e,o,r,n){var i=arguments.length,s=i<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,r,n);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(s=(i<3?l(s):i>3?l(o,r,s):l(o,r))||s);return i>3&&s&&Object.defineProperty(o,r,s),s},Et=class extends z{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?Gt.caption1medium:Gt.body2medium}};Et.styles=[yi.safariEllipsisFix,gi];ke([(0,ye.property)({type:Boolean})],Et.prototype,"primary",void 0);ke([(0,ye.property)({type:Boolean})],Et.prototype,"secondary",void 0);ke([(0,ye.property)({type:Boolean})],Et.prototype,"tertiary",void 0);ke([(0,ye.property)({type:Boolean})],Et.prototype,"neutral",void 0);ke([(0,ye.property)({type:Boolean})],Et.prototype,"small",void 0);(0,Mo.customElement)("ft-button")(bt);(0,Mo.customElement)("ftds-button")(Et);var G={height:T.FtCssVariableFactory.create("--ft-search-input-height","","SIZE","38px"),borderRadius:T.FtCssVariableFactory.extend("--ft-search-input-border-radius","",T.designSystemVariables.borderRadiusS),desktopFiltersHeight:T.FtCssVariableFactory.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:T.FtCssVariableFactory.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:T.FtCssVariableFactory.extend("--ft-search-input-background-color","",T.designSystemVariables.colorSurface),colorOnSurface:T.FtCssVariableFactory.extend("--ft-search-input-color","",T.designSystemVariables.colorOnSurface),colorOnSurfaceMedium:T.FtCssVariableFactory.extend("--ft-search-input-placeholder-color","",T.designSystemVariables.colorOnSurfaceMedium),colorOutline:T.FtCssVariableFactory.extend("--ft-search-input-outline-color","",T.designSystemVariables.colorOutline),elevation02:T.FtCssVariableFactory.extend("--ft-search-input-elevation","",T.designSystemVariables.elevation02),focusOutlineColor:T.FtCssVariableFactory.extend("--ft-search-input-focused-outline-color","",T.designSystemVariables.colorPrimary),buttonColor:T.FtCssVariableFactory.extend("--ft-search-input-button-color","",T.designSystemVariables.colorPrimary),buttonRippleColor:T.FtCssVariableFactory.extend("--ft-search-input-button-ripple-color","",T.designSystemVariables.colorPrimary)},bi=mi.css`
|
|
802
796
|
* {
|
|
803
797
|
box-sizing: border-box;
|
|
804
|
-
${
|
|
805
|
-
${
|
|
798
|
+
${(0,T.setVariable)(D.color,G.buttonColor)};
|
|
799
|
+
${(0,T.setVariable)(D.rippleColor,G.buttonRippleColor)};
|
|
806
800
|
}
|
|
807
801
|
|
|
808
802
|
.ft-search-input {
|
|
@@ -810,11 +804,11 @@ const Ko=Symbol.for(""),Ao=t=>{if(t?.r===Ko)return t?._$litStatic$},Do=t=>({_$li
|
|
|
810
804
|
display: flex;
|
|
811
805
|
flex-direction: row;
|
|
812
806
|
align-items: center;
|
|
813
|
-
height: ${
|
|
807
|
+
height: ${G.height};
|
|
814
808
|
|
|
815
|
-
background: ${
|
|
816
|
-
border: 1px solid ${
|
|
817
|
-
border-radius: ${
|
|
809
|
+
background: ${G.colorSurface};
|
|
810
|
+
border: 1px solid ${G.colorOutline};
|
|
811
|
+
border-radius: ${G.borderRadius};
|
|
818
812
|
}
|
|
819
813
|
|
|
820
814
|
.ft-search-input--input-container {
|
|
@@ -829,11 +823,11 @@ const Ko=Symbol.for(""),Ao=t=>{if(t?.r===Ko)return t?._$litStatic$},Do=t=>({_$li
|
|
|
829
823
|
width: 100%;
|
|
830
824
|
display: grid;
|
|
831
825
|
padding: 0 8px;
|
|
832
|
-
border-radius: ${
|
|
826
|
+
border-radius: ${G.borderRadius};
|
|
833
827
|
}
|
|
834
828
|
|
|
835
829
|
.ft-search-input--input-container:focus-within .ft-search-input--input-outline {
|
|
836
|
-
outline: 2px solid ${
|
|
830
|
+
outline: 2px solid ${G.focusOutlineColor};
|
|
837
831
|
}
|
|
838
832
|
|
|
839
833
|
.ft-search-input--input {
|
|
@@ -841,12 +835,12 @@ const Ko=Symbol.for(""),Ao=t=>{if(t?.r===Ko)return t?._$litStatic$},Do=t=>({_$li
|
|
|
841
835
|
width: 100%;
|
|
842
836
|
border: none;
|
|
843
837
|
background-color: transparent;
|
|
844
|
-
color: ${
|
|
838
|
+
color: ${G.colorOnSurface};
|
|
845
839
|
outline: none;
|
|
846
840
|
}
|
|
847
841
|
|
|
848
842
|
.ft-search-input--input::placeholder {
|
|
849
|
-
color: ${
|
|
843
|
+
color: ${G.colorOnSurfaceMedium};
|
|
850
844
|
}
|
|
851
845
|
|
|
852
846
|
.ft-search-input--actions {
|
|
@@ -856,13 +850,13 @@ const Ko=Symbol.for(""),Ao=t=>{if(t?.r===Ko)return t?._$litStatic$},Do=t=>({_$li
|
|
|
856
850
|
align-items: center;
|
|
857
851
|
height: 100%;
|
|
858
852
|
|
|
859
|
-
${
|
|
853
|
+
${(0,T.setVariable)(Ut.zIndex,`calc(${G.floatingZIndex} + 1)`)};
|
|
860
854
|
}
|
|
861
855
|
|
|
862
856
|
.ft-search-input > ft-button,
|
|
863
857
|
.ft-search-input--actions ft-button {
|
|
864
858
|
flex-shrink: 0;
|
|
865
|
-
${
|
|
859
|
+
${(0,T.setVariable)(D.backgroundColor,"transparent")};
|
|
866
860
|
}
|
|
867
861
|
|
|
868
862
|
.ft-search-input .ft-search-input--launch-search,
|
|
@@ -880,31 +874,31 @@ const Ko=Symbol.for(""),Ao=t=>{if(t?.r===Ko)return t?._$litStatic$},Do=t=>({_$li
|
|
|
880
874
|
|
|
881
875
|
.ft-search-input--separator {
|
|
882
876
|
height: 20px;
|
|
883
|
-
border-right: 1px solid ${
|
|
877
|
+
border-right: 1px solid ${G.colorOutline};
|
|
884
878
|
}
|
|
885
|
-
`;var dr,hr,ur,gr,yr,br,mr,xr,vr,Or,Nr,wr,Sr,Cr,Er,Ir,$r,Ur,Rr;!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"}(dr||(dr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(hr||(hr={})),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"}(ur||(ur={})),function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"}(gr||(gr={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(yr||(yr={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(br||(br={})),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"}(xr||(xr={})),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"}(vr||(vr={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Or||(Or={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Nr||(Nr={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(wr||(wr={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Sr||(Sr={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Cr||(Cr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Er||(Er={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Ir||(Ir={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}($r||($r={})),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"}(Ur||(Ur={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(Rr||(Rr={})),Ur.PERSONAL_BOOK_SHARE_USER,Ur.PERSONAL_BOOK_USER,Ur.HTML_EXPORT_USER,Ur.PERSONAL_BOOK_USER,Ur.PDF_EXPORT_USER,Ur.PERSONAL_BOOK_USER,Ur.KHUB_ADMIN,Ur.CONTENT_PUBLISHER,Ur.ADMIN,Ur.KHUB_ADMIN,Ur.USERS_ADMIN,Ur.PORTAL_ADMIN,Ur.DEVELOPER,Ur.BETA_USER,Ur.DEBUG_USER;const kr=e.css`
|
|
886
|
-
|
|
879
|
+
`;var Ki=g(C()),Vi=g(ot());var qo=g(C());var Da=g(C());var Df=g(Si(),1);var vi;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(vi||(vi={}));var Oi;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(Oi||(Oi={}));var Ci;(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"})(Ci||(Ci={}));var Ei;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})(Ei||(Ei={}));var Ai;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Ai||(Ai={}));var Ri;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Ri||(Ri={}));var Ni;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Ni||(Ni={}));var wi;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(wi||(wi={}));var Li;(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"})(Li||(Li={}));var Ii;(function(e){e.ASC="ASC",e.DESC="DESC"})(Ii||(Ii={}));var Ti;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Ti||(Ti={}));var Fo;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Fo||(Fo={}));var Pi;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Pi||(Pi={}));var _i;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(_i||(_i={}));var ki;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(ki||(ki={}));var Ui;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(Ui||(Ui={}));var zo;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS"})(zo||(zo={}));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 Bi;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Bi||(Bi={}));var kf={[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]};var Gi=g(C());var Fi=g(U()),gt=g(ot()),xt=g(C());var $i=g(U());var Di=$i.css`
|
|
880
|
+
`;var Wi=g(C()),Wa="ft-app-info",Ha={},N=Wi.FtReduxStore.get({name:Wa,reducers:Ha,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 Wt=g(C());var Go=g(C());var qt=class e{static get(o){let{baseUrl:r,apiIntegrationIdentifier:n}=N.getState(),i=o??n;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(o){return new Promise(r=>{let n=e.get(o);if(n)r(n);else{let i=N.subscribe(()=>{n=e.get(o),n&&(i(),r(n))})}})}};var Pt=class{constructor(o=!0,r){var n;this.overrideApi=r;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new Go.CacheRegistry,this.cache=o?i.commonCache:new Go.CacheRegistry}get api(){var o;return(o=this.overrideApi)!==null&&o!==void 0?o:qt.get()}get awaitApi(){var o;return(o=this.overrideApi)!==null&&o!==void 0?o:qt.await()}clearCache(){this.cache.clearAll()}};var Hi,Ma=Symbol("clearAfterUnitTest"),eo=class extends Pt{constructor(o){super(),this.messageContextProvider=o,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Hi]=()=>{this.defaultMessages={},this.cache=new Wt.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 n;if(o=o.toLowerCase(),Object.keys(r).length>0){let i={...(n=this.defaultMessages[o])!==null&&n!==void 0?n:{},...r};(0,Wt.deepEqual)(this.defaultMessages[o],i)||(this.defaultMessages[o]=i,await this.notify(o))}await this.fetchContext(o)}resolveMessage(o,r,...n){var i,s,l;o=o.toLowerCase(),this.fetchContext(o);let p=(s=(i=this.cache.getNow(o))===null||i===void 0?void 0:i.messages)!==null&&s!==void 0?s:{};return new Wt.ParametrizedLabelResolver((l=this.defaultMessages[o])!==null&&l!==void 0?l:{},p).resolve(r,...n)}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 n;return o=o.toLowerCase(),this.listeners[o]=(n=this.listeners[o])!==null&&n!==void 0?n:new Set,this.listeners[o].add(r),()=>{var i;return(i=this.listeners[o])===null||i===void 0?void 0:i.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,Wt.delay)(0).then(()=>r()).catch(()=>null)))}};Hi=Ma;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends eo{constructor(){super(async(e,o)=>(await this.awaitApi).getFluidTopicsMessageContext(e,o))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends eo{constructor(){super(async(e,o)=>(await this.awaitApi).getCustomMessageContext(e,o))}});var me=window.FluidTopicsI18nService,Mi=window.FluidTopicsCustomI18nService;var et=function(e,o,r,n){var i=arguments.length,s=i<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,r,n);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(s=(i<3?l(s):i>3?l(o,r,s):l(o,r))||s);return i>3&&s&&Object.defineProperty(o,r,s),s},M=class extends xt.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=()=>qt.get(),this.messageContexts=[],this.cache=new xt.CacheRegistry,this.cleanSessionDebouncer=new xt.Debouncer}render(){return Fi.html`
|
|
887
881
|
<slot></slot>
|
|
888
|
-
`}update(
|
|
889
|
-
`;var
|
|
882
|
+
`}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=>me.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())}};M.elementDefinitions={};M.styles=Di;et([(0,gt.property)()],M.prototype,"baseUrl",void 0);et([(0,gt.property)()],M.prototype,"apiIntegrationIdentifier",void 0);et([(0,gt.property)()],M.prototype,"uiLocale",void 0);et([(0,xt.jsonProperty)(null)],M.prototype,"availableUiLocales",void 0);et([(0,xt.jsonProperty)(null)],M.prototype,"metadataConfiguration",void 0);et([(0,gt.property)({type:Boolean})],M.prototype,"editorMode",void 0);et([(0,gt.property)({type:Boolean})],M.prototype,"noCustom",void 0);et([(0,gt.property)({type:Boolean})],M.prototype,"openExternalDocumentInNewTab",void 0);et([(0,gt.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],M.prototype,"noCustomComponent",void 0);et([(0,gt.property)({type:Boolean})],M.prototype,"withManualResources",void 0);et([(0,gt.property)({type:Boolean})],M.prototype,"navigatorOnline",void 0);et([(0,gt.property)({type:Boolean})],M.prototype,"forcedOffline",void 0);et([(0,gt.property)({type:Object})],M.prototype,"apiProvider",void 0);et([(0,xt.jsonProperty)([])],M.prototype,"messageContexts",void 0);et([(0,xt.jsonProperty)(void 0)],M.prototype,"session",void 0);var io=g(C());var oo=class extends Pt{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 ro=class extends Pt{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 Fa="ft-user-assets",no=io.FtReduxStore.get({name:Fa,initialState:{savedSearches:void 0,bookmarks:void 0}}),Ko=class{constructor(){this.currentSession=N.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ro,this.savedSearchesService=new oo,N.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var o;let{session:r}=N.getState();(0,io.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(),no.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),no.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let o=await this.savedSearchesService.listMySearches();no.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;no.actions.bookmarks(r)}}},yu=new Ko;var Vo=class{addCommand(o,r=!1){N.commands.add(o,r)}consumeCommand(o){return N.commands.consume(o)}};window.FluidTopicsAppInfoStoreService=new Vo;var zi=g(C()),Zo=class{highlightHtml(o,r){(0,zi.highlightHtml)(o,r)}};window.FluidTopicsHighlightHtmlService=new Zo;(0,Gi.customElement)("ft-app-context")(M);var jo=class e extends Event{constructor(){super(e.eventName)}};jo.eventName="search-context-clear-all-filters";var za=function(e,o,r,n){var i=arguments.length,s=i<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,r,n);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(s=(i<3?l(s):i>3?l(o,r,s):l(o,r))||s);return i>3&&s&&Object.defineProperty(o,r,s),s},Xo=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Yo=Symbol("registerInterval");function Ga(e){var o;class r extends e{constructor(){super(...arguments),this[o]=0}setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Yo]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Yo]):this.dispatchEvent(new Xo)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Yo,za([(0,Vi.state)()],r.prototype,"stateManager",void 0),r}var be=class extends Ga(Ki.FtLitElementRedux){};var Xi=g(C());var po=g(U()),fo=g(ot()),uo=g(C());var Zi=g(U());var ji=Zi.css`
|
|
883
|
+
`;var lo=g(C());var Yi=g(ot()),Ka=function(e,o,r,n){var i=arguments.length,s=i<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,r,n);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(s=(i<3?l(s):i>3?l(o,r,s):l(o,r))||s);return i>3&&s&&Object.defineProperty(o,r,s),s},Qo=Symbol("i18nAttributes"),ao=Symbol("i18nProperties"),Ue=Symbol("i18nUnsubs");function co(e){var o;class r extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Mi:me}i18n(i,s,...l){var p;if(typeof i=="string")return this.i18nService.resolveMessage(i,s,...l);let f=(p=i.args)!==null&&p!==void 0?p:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...f)}onI18nUpdate(i){var s,l;(s=this[Qo])===null||s===void 0||s.forEach((p,f)=>{var u;let b=this.getI18nAttributeValue(f);((u=b?.context)===null||u===void 0?void 0:u.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(f,b,p)}),(l=this[ao])===null||l===void 0||l.forEach((p,f)=>{p.context.toLowerCase()===i.toLowerCase()&&(this[f]=this.i18n(p))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(i,s,l){this[i]={...s,message:this.i18n({context:s.context,key:s.key,...l})}}update(i){var s,l;super.update(i),(s=this[Qo])===null||s===void 0||s.forEach((p,f)=>{let u=this.getI18nAttributeValue(f);u?.context&&u.key&&(i.has(f)||p.argsProvider!=null)&&(i.has(f)&&this.addI18nContext(u.context),this.updateI18nAttributeMessage(f,u,p))}),(l=this[ao])===null||l===void 0||l.forEach((p,f)=>{p.argsProvider!=null&&(this[f]=this.i18n(p))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,s,l,p;super.connectedCallback(),new Set([...(s=(i=this[ao])===null||i===void 0?void 0:i.values())!==null&&s!==void 0?s:[],...[...(p=(l=this[Qo])===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(i,s){i=i.toLowerCase(),this[Ue].has(i)||this[Ue].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,s??{})}addI18nContext(i,s){this.addI18nMessages(typeof i=="string"?i:i.name,s)}disconnectedCallback(){super.disconnectedCallback(),this[Ue].forEach(i=>i()),this[Ue].clear()}}return o=Ue,Ka([(0,Yi.property)({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var qi=class extends co(lo.FtLitElement){},so=class extends co(lo.FtLitElementRedux){};var Be=function(e,o,r,n){var i=arguments.length,s=i<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,r,n);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(s=(i<3?l(s):i>3?l(o,r,s):l(o,r))||s);return i>3&&s&&Object.defineProperty(o,r,s),s},St=class extends so{constructor(){super(),this.editorMode=!1,this.addStore(N)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":po.nothing:po.html`
|
|
890
884
|
<span class="ft-i18n">
|
|
891
885
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
892
886
|
</span>
|
|
893
|
-
|
|
887
|
+
`}update(o){var r;super.update(o),["context","key","defaultMessage"].some(n=>o.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};St.elementDefinitions={};St.styles=ji;Be([(0,uo.redux)()],St.prototype,"editorMode",void 0);Be([(0,fo.property)()],St.prototype,"context",void 0);Be([(0,fo.property)()],St.prototype,"key",void 0);Be([(0,uo.jsonProperty)([])],St.prototype,"args",void 0);Be([(0,fo.property)()],St.prototype,"defaultMessage",void 0);var ho=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,n)=>{let i=n;return s=>({context:this.name,key:i,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(r,n)=>(...i)=>me.resolveMessage(this.name,n,...i)})}};(0,Xi.customElement)("ft-i18n")(St);var $e=ho.build("designedSearchInput");var Qt=g(ot()),ia=g(ze());var yo=g(C()),go=g(U()),ra=g(ot());var Qi=g(U());var Ji=Qi.css`
|
|
894
888
|
* {
|
|
895
889
|
box-sizing: border-box;
|
|
896
890
|
}
|
|
897
891
|
|
|
898
892
|
.ft-search-input-suggestion {
|
|
899
893
|
position: absolute;
|
|
900
|
-
z-index: ${
|
|
894
|
+
z-index: ${G.floatingZIndex};
|
|
901
895
|
top: calc(100% + 2px);
|
|
902
896
|
left: -1px;
|
|
903
897
|
right: -1px;
|
|
904
|
-
background: ${
|
|
905
|
-
border: 1px solid ${
|
|
906
|
-
border-radius: 0 0 ${
|
|
907
|
-
box-shadow: ${
|
|
898
|
+
background: ${G.colorSurface};
|
|
899
|
+
border: 1px solid ${G.colorOutline};
|
|
900
|
+
border-radius: 0 0 ${G.borderRadius} ${G.borderRadius};
|
|
901
|
+
box-shadow: ${G.elevation02};
|
|
908
902
|
}
|
|
909
903
|
|
|
910
904
|
.ft-search-input-suggestion--suggestion {
|
|
@@ -915,7 +909,7 @@ const Ko=Symbol.for(""),Ao=t=>{if(t?.r===Ko)return t?._$litStatic$},Do=t=>({_$li
|
|
|
915
909
|
padding: 8px;
|
|
916
910
|
gap: 8px;
|
|
917
911
|
cursor: pointer;
|
|
918
|
-
color: ${
|
|
912
|
+
color: ${G.colorOnSurface};
|
|
919
913
|
min-height: 44px;
|
|
920
914
|
}
|
|
921
915
|
|
|
@@ -932,26 +926,26 @@ const Ko=Symbol.for(""),Ao=t=>{if(t?.r===Ko)return t?._$litStatic$},Do=t=>({_$li
|
|
|
932
926
|
flex-grow: 1;
|
|
933
927
|
flex-shrink: 1;
|
|
934
928
|
}
|
|
935
|
-
`;var
|
|
929
|
+
`;var na=g(ea());var oa=function(e,o,r,n){var i=arguments.length,s=i<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,r,n);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(s=(i<3?l(s):i>3?l(o,r,s):l(o,r))||s);return i>3&&s&&Object.defineProperty(o,r,s),s},Jo=class extends CustomEvent{constructor(o){super("suggestion-selected",{detail:o})}},Yt=class extends be{render(){return go.html`
|
|
936
930
|
<div class="ft-search-input-suggestion ft-word-wrap"
|
|
937
931
|
part="container"
|
|
938
|
-
@keydown=${
|
|
939
|
-
${
|
|
932
|
+
@keydown=${o=>this.onSuggestKeyDown(o)}>
|
|
933
|
+
${(0,na.repeat)(this.suggestResults||[],o=>o.value,o=>go.html`
|
|
940
934
|
<a href="#"
|
|
941
935
|
part="suggestion"
|
|
942
936
|
class="ft-search-input-suggestion--suggestion"
|
|
943
|
-
@keyup=${
|
|
944
|
-
@click=${
|
|
937
|
+
@keyup=${r=>this.onSuggestKeyUp(r,o.value)}
|
|
938
|
+
@click=${r=>this.onSuggestSelected(r,o.value)}>
|
|
945
939
|
<ft-ripple></ft-ripple>
|
|
946
|
-
${this.getIcon(
|
|
947
|
-
<ft-typography variant="body1">${
|
|
940
|
+
${this.getIcon(o)}
|
|
941
|
+
<ft-typography variant="body1">${o.value}</ft-typography>
|
|
948
942
|
</a>
|
|
949
|
-
`)
|
|
943
|
+
`)}
|
|
950
944
|
</div>
|
|
951
|
-
`}onSuggestKeyDown(
|
|
952
|
-
<ft-icon .variant="${
|
|
953
|
-
`}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let
|
|
954
|
-
<div class="${
|
|
945
|
+
`}onSuggestKeyDown(o){var r,n,i,s,l,p;switch(o.key){case"ArrowUp":(i=(n=(r=this.getFocusedSuggestionElement())===null||r===void 0?void 0:r.previousElementSibling)!==null&&n!==void 0?n:this.getLastSuggestionElement())===null||i===void 0||i.focus(),o.preventDefault(),o.stopPropagation();break;case"ArrowDown":(p=(l=(s=this.getFocusedSuggestionElement())===null||s===void 0?void 0:s.nextElementSibling)!==null&&l!==void 0?l:this.getFirstSuggestionElement())===null||p===void 0||p.focus(),o.preventDefault(),o.stopPropagation();break}}onSuggestKeyUp(o,r){(o.key==="Enter"||o.key===" ")&&this.onSuggestSelected(o,r)}onSuggestSelected(o,r){o.preventDefault(),this.dispatchEvent(new Jo(r))}getIcon(o){let r=o.type==="DOCUMENT"?mt.file_format:mt.fluid_topics,n;switch(o.type){case"MAP":n=o.editorialType==="BOOK"?Dt.BOOK:Dt.ARTICLE;break;case"DOCUMENT":n=ii(o.mimeType,o.filenameExtension);break;case"TOPIC":n=Dt.TOPICS;break}return go.html`
|
|
946
|
+
<ft-icon .variant="${r}" .value="${n}" part="suggestion-icon"></ft-icon>
|
|
947
|
+
`}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let o=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return o.length>0?o[o.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var o;(o=this.getFirstSuggestionElement())===null||o===void 0||o.focus()}};Yt.elementDefinitions={"ft-ripple":_,"ft-typography":pt,"ft-icon":lt};Yt.styles=[yo.wordWrap,Ji];oa([(0,yo.redux)()],Yt.prototype,"suggestResults",void 0);Yt=oa([(0,ra.customElement)("ft-search-input-suggestion")],Yt);var Xt=function(e,o,r,n){var i=arguments.length,s=i<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,r,n);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(s=(i<3?l(s):i>3?l(o,r,s):l(o,r))||s);return i>3&&s&&Object.defineProperty(o,r,s),s},ut=class extends co(be){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.placeholder=$e.messages.placeholder(),this.addI18nContext($e)}render(){var o,r;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(r=(o=this.suggestResults)===null||o===void 0?void 0:o.length)!==null&&r!==void 0?r:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion};return tr.html`
|
|
948
|
+
<div class="${(0,ia.classMap)(n)}" @focusout=${()=>this.forceCloseSuggestion=!1}>
|
|
955
949
|
<div class="ft-search-input--input-container" part="input-container" tabindex="-1">
|
|
956
950
|
<div class="ft-search-input--input-outline" part="input-outline">
|
|
957
951
|
<input class="ft-search-input--input ft-typography--body2"
|
|
@@ -959,22 +953,22 @@ const Ko=Symbol.for(""),Ao=t=>{if(t?.r===Ko)return t?._$litStatic$},Do=t=>({_$li
|
|
|
959
953
|
type="text"
|
|
960
954
|
placeholder="${this.placeholder}"
|
|
961
955
|
.value="${this.liveQuery}"
|
|
962
|
-
@input=${
|
|
963
|
-
@keydown=${
|
|
964
|
-
@keyup=${
|
|
956
|
+
@input=${i=>this.onInput(i)}
|
|
957
|
+
@keydown=${i=>this.onSearchBarKeyDown(i)}
|
|
958
|
+
@keyup=${i=>this.onSearchBarKeyUp(i)}>
|
|
965
959
|
</div>
|
|
966
960
|
<ft-search-input-suggestion exportpartsPrefix="suggestion"
|
|
967
961
|
@suggestion-selected=${this.onSuggestionSelected}
|
|
968
962
|
></ft-search-input-suggestion>
|
|
969
963
|
</div>
|
|
970
964
|
<div class="ft-search-input--actions" part="actions">
|
|
971
|
-
${this.liveQuery?
|
|
965
|
+
${this.liveQuery?tr.html`
|
|
972
966
|
<ft-button id="clear-button"
|
|
973
967
|
class="ft-search-input--clear-query"
|
|
974
968
|
part="clear-query"
|
|
975
969
|
icon="close"
|
|
976
970
|
round dense
|
|
977
|
-
label="${
|
|
971
|
+
label="${$e.messages.clearButton()}"
|
|
978
972
|
@click=${()=>this.liveQuery=""}
|
|
979
973
|
></ft-button>
|
|
980
974
|
<div class="ft-search-input--separator"></div>
|
|
@@ -983,9 +977,25 @@ const Ko=Symbol.for(""),Ao=t=>{if(t?.r===Ko)return t?._$litStatic$},Do=t=>({_$li
|
|
|
983
977
|
part="launch-search-in-input"
|
|
984
978
|
icon="search"
|
|
985
979
|
round dense
|
|
986
|
-
label="${
|
|
980
|
+
label="${$e.messages.searchButton()}"
|
|
987
981
|
@click=${()=>this.launchSearch(this.liveQuery)}
|
|
988
982
|
></ft-button>
|
|
989
983
|
</div>
|
|
990
984
|
</div>
|
|
991
|
-
`}onSearchBarKeyDown(
|
|
985
|
+
`}onSearchBarKeyDown(o){switch(o.key){case"ArrowDown":o.stopPropagation(),o.preventDefault(),this.suggestion.focusFirstSuggestion();break;case"Backspace":o.stopPropagation();break}}onSearchBarKeyUp(o){switch(o.key){case"Backspace":o.stopPropagation();break;case"Enter":this.launchSearch(this.input.value);break;default:break}}onInput(o){var r;(r=this.stateManager)===null||r===void 0||r.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}launchSearch(o){var r;(r=this.stateManager)===null||r===void 0||r.setQuery(o),this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change"))}onSuggestionSelected(o){this.launchSearch(o.detail)}};ut.elementDefinitions={"ft-search-input-suggestion":Yt,"ft-button":bt};ut.styles=[Fe,bi];Xt([(0,mo.redux)()],ut.prototype,"request",void 0);Xt([(0,mo.redux)()],ut.prototype,"liveQuery",void 0);Xt([(0,mo.redux)()],ut.prototype,"suggestResults",void 0);Xt([(0,Qt.state)()],ut.prototype,"forceCloseSuggestion",void 0);Xt([(0,Qt.property)({type:String})],ut.prototype,"placeholder",void 0);Xt([(0,Qt.query)(".ft-search-input--input")],ut.prototype,"input",void 0);Xt([(0,Qt.query)("ft-search-input-suggestion")],ut.prototype,"suggestion",void 0);(0,aa.customElement)("ft-search-input")(ut);})();
|
|
986
|
+
/*! Bundled license information:
|
|
987
|
+
|
|
988
|
+
lit-html/lit-html.js:
|
|
989
|
+
(**
|
|
990
|
+
* @license
|
|
991
|
+
* Copyright 2017 Google LLC
|
|
992
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
993
|
+
*)
|
|
994
|
+
|
|
995
|
+
lit-html/static.js:
|
|
996
|
+
(**
|
|
997
|
+
* @license
|
|
998
|
+
* Copyright 2020 Google LLC
|
|
999
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1000
|
+
*)
|
|
1001
|
+
*/
|