@fluid-topics/ft-search-load-more-button 1.1.81 → 1.1.82
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
`;var
|
|
1
|
+
"use strict";(()=>{var Ks=Object.create;var nn=Object.defineProperty;var Vs=Object.getOwnPropertyDescriptor;var Zs=Object.getOwnPropertyNames;var qs=Object.getPrototypeOf,Ys=Object.prototype.hasOwnProperty;var lt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Xs=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Zs(t))!Ys.call(e,i)&&i!==o&&nn(e,i,{get:()=>t[i],enumerable:!(n=Vs(t,i))||n.enumerable});return e};var S=(e,t,o)=>(o=e!=null?Ks(qs(e)):{},Xs(t||!e||!e.__esModule?nn(o,"default",{value:e,enumerable:!0}):o,e));var _=lt((gl,an)=>{an.exports=ftGlobals.wcUtils});var z=lt((bl,sn)=>{sn.exports=ftGlobals.lit});var ee=lt((Sl,dn)=>{dn.exports=ftGlobals.litDecorators});var Zr=lt((sf,fi)=>{fi.exports=ftGlobals.litClassMap});var ua=lt((uh,da)=>{da.exports=ftGlobals.litUnsafeHTML});var Ea=lt(Ca=>{(function(e){var t=function(o){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(h){return h&&DataView.prototype.isPrototypeOf(h)}if(n.arrayBuffer)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(h){return h&&a.indexOf(Object.prototype.toString.call(h))>-1};function l(h){if(typeof h!="string"&&(h=String(h)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(h))throw new TypeError("Invalid character in header field name");return h.toLowerCase()}function u(h){return typeof h!="string"&&(h=String(h)),h}function p(h){var x={next:function(){var R=h.shift();return{done:R===void 0,value:R}}};return n.iterable&&(x[Symbol.iterator]=function(){return x}),x}function f(h){this.map={},h instanceof f?h.forEach(function(x,R){this.append(R,x)},this):Array.isArray(h)?h.forEach(function(x){this.append(x[0],x[1])},this):h&&Object.getOwnPropertyNames(h).forEach(function(x){this.append(x,h[x])},this)}f.prototype.append=function(h,x){h=l(h),x=u(x);var R=this.map[h];this.map[h]=R?R+", "+x:x},f.prototype.delete=function(h){delete this.map[l(h)]},f.prototype.get=function(h){return h=l(h),this.has(h)?this.map[h]:null},f.prototype.has=function(h){return this.map.hasOwnProperty(l(h))},f.prototype.set=function(h,x){this.map[l(h)]=u(x)},f.prototype.forEach=function(h,x){for(var R in this.map)this.map.hasOwnProperty(R)&&h.call(x,this.map[R],R,this)},f.prototype.keys=function(){var h=[];return this.forEach(function(x,R){h.push(R)}),p(h)},f.prototype.values=function(){var h=[];return this.forEach(function(x){h.push(x)}),p(h)},f.prototype.entries=function(){var h=[];return this.forEach(function(x,R){h.push([R,x])}),p(h)},n.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function m(h){if(h.bodyUsed)return Promise.reject(new TypeError("Already read"));h.bodyUsed=!0}function y(h){return new Promise(function(x,R){h.onload=function(){x(h.result)},h.onerror=function(){R(h.error)}})}function b(h){var x=new FileReader,R=y(x);return x.readAsArrayBuffer(h),R}function g(h){var x=new FileReader,R=y(x);return x.readAsText(h),R}function v(h){for(var x=new Uint8Array(h),R=new Array(x.length),W=0;W<x.length;W++)R[W]=String.fromCharCode(x[W]);return R.join("")}function N(h){if(h.slice)return h.slice(0);var x=new Uint8Array(h.byteLength);return x.set(new Uint8Array(h)),x.buffer}function w(){return this.bodyUsed=!1,this._initBody=function(h){this._bodyInit=h,h?typeof h=="string"?this._bodyText=h:n.blob&&Blob.prototype.isPrototypeOf(h)?this._bodyBlob=h:n.formData&&FormData.prototype.isPrototypeOf(h)?this._bodyFormData=h:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(h)?this._bodyText=h.toString():n.arrayBuffer&&n.blob&&i(h)?(this._bodyArrayBuffer=N(h.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(h)||s(h))?this._bodyArrayBuffer=N(h):this._bodyText=h=Object.prototype.toString.call(h):this._bodyText="",this.headers.get("content-type")||(typeof h=="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(h)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var h=m(this);if(h)return h;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?m(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(b)}),this.text=function(){var h=m(this);if(h)return h;if(this._bodyBlob)return g(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(v(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(M)}),this.json=function(){return this.text().then(JSON.parse)},this}var A=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function L(h){var x=h.toUpperCase();return A.indexOf(x)>-1?x:h}function T(h,x){x=x||{};var R=x.body;if(h instanceof T){if(h.bodyUsed)throw new TypeError("Already read");this.url=h.url,this.credentials=h.credentials,x.headers||(this.headers=new f(h.headers)),this.method=h.method,this.mode=h.mode,this.signal=h.signal,!R&&h._bodyInit!=null&&(R=h._bodyInit,h.bodyUsed=!0)}else this.url=String(h);if(this.credentials=x.credentials||this.credentials||"same-origin",(x.headers||!this.headers)&&(this.headers=new f(x.headers)),this.method=L(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&R)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(R)}T.prototype.clone=function(){return new T(this,{body:this._bodyInit})};function M(h){var x=new FormData;return h.trim().split("&").forEach(function(R){if(R){var W=R.split("="),Q=W.shift().replace(/\+/g," "),B=W.join("=").replace(/\+/g," ");x.append(decodeURIComponent(Q),decodeURIComponent(B))}}),x}function ne(h){var x=new f,R=h.replace(/\r?\n[\t ]+/g," ");return R.split(/\r?\n/).forEach(function(W){var Q=W.split(":"),B=Q.shift().trim();if(B){var ir=Q.join(":").trim();x.append(B,ir)}}),x}w.call(T.prototype);function V(h,x){x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in x?x.statusText:"OK",this.headers=new f(x.headers),this.url=x.url||"",this._initBody(h)}w.call(V.prototype),V.prototype.clone=function(){return new V(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},V.error=function(){var h=new V(null,{status:0,statusText:""});return h.type="error",h};var Dt=[301,302,303,307,308];V.redirect=function(h,x){if(Dt.indexOf(x)===-1)throw new RangeError("Invalid status code");return new V(null,{status:x,headers:{location:h}})},o.DOMException=e.DOMException;try{new o.DOMException}catch{o.DOMException=function(x,R){this.message=x,this.name=R;var W=Error(x);this.stack=W.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function fe(h,x){return new Promise(function(R,W){var Q=new T(h,x);if(Q.signal&&Q.signal.aborted)return W(new o.DOMException("Aborted","AbortError"));var B=new XMLHttpRequest;function ir(){B.abort()}B.onload=function(){var Ut={status:B.status,statusText:B.statusText,headers:ne(B.getAllResponseHeaders()||"")};Ut.url="responseURL"in B?B.responseURL:Ut.headers.get("X-Request-URL");var Kr="response"in B?B.response:B.responseText;R(new V(Kr,Ut))},B.onerror=function(){W(new TypeError("Network request failed"))},B.ontimeout=function(){W(new TypeError("Network request failed"))},B.onabort=function(){W(new o.DOMException("Aborted","AbortError"))},B.open(Q.method,Q.url,!0),Q.credentials==="include"?B.withCredentials=!0:Q.credentials==="omit"&&(B.withCredentials=!1),"responseType"in B&&n.blob&&(B.responseType="blob"),Q.headers.forEach(function(Ut,Kr){B.setRequestHeader(Kr,Ut)}),Q.signal&&(Q.signal.addEventListener("abort",ir),B.onreadystatechange=function(){B.readyState===4&&Q.signal.removeEventListener("abort",ir)}),B.send(typeof Q._bodyInit>"u"?null:Q._bodyInit)})}return fe.polyfill=!0,e.fetch||(e.fetch=fe,e.Headers=f,e.Request=T,e.Response=V),o.Headers=f,o.Request=T,o.Response=V,o.fetch=fe,Object.defineProperty(o,"__esModule",{value:!0}),o}({})})(typeof self<"u"?self:Ca)});var js=S(_());var jr=S(z()),on=S(_());var cn=S(z()),xl={},ln=cn.css`
|
|
2
|
+
`;var yo=S(_());var Yt=S(ee()),xa=S(_());var ui=S(z()),I=S(_());var yn=S(z()),j=S(_()),un=j.FtCssVariableFactory.extend("--ft-ripple-color","",j.designSystemVariables.colorContent),D={color:un,backgroundColor:j.FtCssVariableFactory.extend("--ft-ripple-background-color","",un),opacityContentOnSurfacePressed:j.FtCssVariableFactory.external(j.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:j.FtCssVariableFactory.external(j.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:j.FtCssVariableFactory.external(j.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:j.FtCssVariableFactory.external(j.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:j.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},pn=j.FtCssVariableFactory.extend("--ft-ripple-color","",j.designSystemVariables.colorPrimary),fn={color:pn,backgroundColor:j.FtCssVariableFactory.extend("--ft-ripple-background-color","",pn)},hn=j.FtCssVariableFactory.extend("--ft-ripple-color","",j.designSystemVariables.colorSecondary),mn={color:hn,backgroundColor:j.FtCssVariableFactory.extend("--ft-ripple-background-color","",hn)},gn=yn.css`
|
|
3
3
|
:host {
|
|
4
4
|
display: contents;
|
|
5
5
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
14
14
|
overflow: hidden;
|
|
15
|
-
border-radius: ${
|
|
15
|
+
border-radius: ${D.borderRadius};
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.ft-ripple .ft-ripple--background,
|
|
@@ -46,27 +46,27 @@
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.ft-ripple .ft-ripple--background {
|
|
49
|
-
background-color: ${
|
|
49
|
+
background-color: ${D.backgroundColor};
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.ft-ripple .ft-ripple--effect {
|
|
53
|
-
background-color: ${
|
|
53
|
+
background-color: ${D.color};
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
57
|
-
background-color: ${
|
|
57
|
+
background-color: ${mn.backgroundColor};
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
61
|
-
background-color: ${
|
|
61
|
+
background-color: ${mn.color};
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
65
|
-
background-color: ${
|
|
65
|
+
background-color: ${fn.backgroundColor};
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
69
|
-
background-color: ${
|
|
69
|
+
background-color: ${fn.color};
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
.ft-ripple .ft-ripple--background {
|
|
@@ -96,115 +96,97 @@
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
99
|
-
opacity: ${
|
|
99
|
+
opacity: ${D.opacityContentOnSurfaceHover};
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
103
|
-
opacity: ${
|
|
103
|
+
opacity: ${D.opacityContentOnSurfaceSelected};
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
107
|
-
opacity: ${
|
|
107
|
+
opacity: ${D.opacityContentOnSurfaceFocused};
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
111
|
-
opacity: ${
|
|
111
|
+
opacity: ${D.opacityContentOnSurfacePressed};
|
|
112
112
|
transform: translate(-50%, -50%) scale(1);
|
|
113
113
|
}
|
|
114
|
-
`;var ct=m($()),g=m(A());var vt=m($(),1),Lt=e=>typeof e=="string"?(0,vt.unsafeCSS)(e):e,t=class{static create(o,r,i,a){let s=p=>Lt(p??a),l=vt.css`var(${Lt(o)}, ${s(a)})`;return l.name=o,l.description=r,l.category=i,l.defaultValue=a,l.defaultCssValue=s,l.get=p=>vt.css`var(${Lt(o)}, ${s(p)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>a,l}static extend(o,r,i,a){let s=p=>i.get(p??a),l=vt.css`var(${Lt(o)}, ${s(a)})`;return l.name=o,l.description=r,l.category=i.category,l.fallbackVariable=i,l.defaultValue=a,l.defaultCssValue=s,l.get=p=>vt.css`var(${Lt(o)}, ${s(p)})`,l.breadcrumb=()=>[i.name,...i.breadcrumb()],l.lastResortDefaultValue=()=>a??i.lastResortDefaultValue(),l}static external(o,r){let i=s=>o.fallbackVariable?o.fallbackVariable.get(s??o.defaultValue):Lt(s??o.lastResortDefaultValue()),a=vt.css`var(${Lt(o.name)}, ${i(o.defaultValue)})`;return a.name=o.name,a.category=o.category,a.fallbackVariable=o.fallbackVariable,a.defaultValue=o.defaultValue,a.context=r,a.defaultCssValue=i,a.get=s=>vt.css`var(${Lt(o.name)}, ${i(s)})`,a.breadcrumb=()=>o.fallbackVariable?[o.fallbackVariable.name,...o.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>o.lastResortDefaultValue(),a}};var n={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","0.75rem"),iconSize2:t.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:t.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:t.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:t.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:t.create("--ft-icon-size-6","","SIZE","3rem"),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)")},ir={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")},ar={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")},sr={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")},lr={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")},cr={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")},pr={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")},dr={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")},fr={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")},ur={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")},Qi={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")},hr={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")},yr={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")},mr={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")},gr={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")},br={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")},xr={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")},Sr={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")},vr={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")},Or={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")},Cr={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")},Er={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")},Ar={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")},Rr={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")},Nr={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")},wr={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")},Lr={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")},Pe={display:ir,"title-1":ar,"title-2":sr,"title-3":lr,"body-1-regular":cr,"body-1-medium":pr,"body-1-semibold":dr,"body-2-regular":fr,"body-2-medium":ur,"body-2-medium-underline":Qi,"body-2-semibold":hr,"label-1-medium":yr,"label-1-semibold":mr,"label-1-bold":gr,"label-2-medium":br,"label-2-semibold":xr,"label-2-bold":Sr,"caption-1-medium":vr,"caption-1-semibold":Or,"caption-1-bold":Cr,"caption-2-medium":Er,"caption-2-semibold":Ar,"caption-2-bold":Rr,"caption-3-medium":Nr,"caption-3-semibold":wr,"caption-3-bold":Lr};var c={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",n.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",n.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",n.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",n.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",n.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",n.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",n.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",n.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",n.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",n.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",n.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",n.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",n.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",n.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",n.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",n.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",n.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",n.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
115
|
-
Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",n.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",n.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",n.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",n.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",n.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",n.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",n.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",n.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",n.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",n.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",n.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",n.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",n.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",n.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",n.colorGray80)};var x={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",n.spacing4),largeGap:t.extend("--ft-button-large-gap","",n.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",n.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",n.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"),mediumHeight:t.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:t.extend("--ft-button-medium-horizontal-padding","",n.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",n.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",n.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",n.iconSize2),mediumBorderWidth:t.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:t.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:t.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:t.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",n.spacing2),smallGap:t.extend("--ft-button-small-gap","",n.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",n.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",n.iconSize1),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","20px"),xSmallHeight:t.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:t.extend("--ft-button-x-small-icon-size","",n.iconSize1),xSmallFocusOutlineOffset:t.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:t.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:t.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:t.extend("--ft-button-round-border-radius","",n.borderRadiusPill),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","",n.opacity16),primaryFocusStateLayerOpacity:t.extend("--ft-button-primary-focus-state-layer-opacity","",n.opacity16),primaryActiveStateLayerOpacity:t.extend("--ft-button-primary-active-state-layer-opacity","",n.opacity24),primaryDisabledComponentOpacity:t.extend("--ft-button-primary-disabled-component-opacity","",n.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","",n.opacity8),tertiaryFocusStateLayerOpacity:t.extend("--ft-button-tertiary-focus-state-layer-opacity","",n.opacity8),tertiaryActiveStateLayerOpacity:t.extend("--ft-button-tertiary-active-state-layer-opacity","",n.opacity16),tertiaryDisabledComponentOpacity:t.extend("--ft-button-tertiary-disabled-component-opacity","",n.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","",n.opacity8),secondaryFocusStateLayerOpacity:t.extend("--ft-button-secondary-focus-state-layer-opacity","",n.opacity8),secondaryActiveStateLayerOpacity:t.extend("--ft-button-secondary-active-state-layer-opacity","",n.opacity16),secondaryDisabledComponentOpacity:t.extend("--ft-button-secondary-disabled-component-opacity","",n.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","",n.opacity8),neutralFocusStateLayerOpacity:t.extend("--ft-button-neutral-focus-state-layer-opacity","",n.opacity8),neutralActiveStateLayerOpacity:t.extend("--ft-button-neutral-active-state-layer-opacity","",n.opacity16),neutralDisabledComponentOpacity:t.extend("--ft-button-neutral-disabled-component-opacity","",n.opacity40)};var Ya={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",n.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",n.spacing1),largeGap:t.extend("--ft-chip-large-gap","",n.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","",n.borderRadiusPill),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",n.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",n.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",n.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",n.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","",n.borderRadiusPill),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",n.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",n.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",n.spacing05),smallGap:t.extend("--ft-chip-small-gap","",n.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","",n.borderRadiusPill),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",n.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",c.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",c.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",c.contentGlobalSecondary),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 es={focusOpacity:t.extend("--ft-link-focus-opacity","",n.opacity80),focusFocusRingColor:t.extend("--ft-link-focus-focus-ring-color","",c.borderActionFocusRing),brandColor:t.extend("--ft-link-brand-color","",c.contentActionPrimary),infoColor:t.extend("--ft-link-info-color","",c.contentInfoPrimary)};var as={iconSize:t.extend("--ft-banner-icon-size","",n.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",n.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",n.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",n.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",n.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",n.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",n.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",n.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),infoBorderColor:t.extend("--ft-banner-info-border-color","",c.borderInfoSubtle)};var ds={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",n.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",n.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",n.borderRadiusPill),color:t.extend("--ft-badge-color","",c.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",c.contentActionPrimary)};var ms={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",n.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",n.spacing2),currentColor:t.extend("--ft-breadcrumb-current-color","",c.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-breadcrumb-previous-non-clickable-color","",c.contentGlobalSecondary),iconColor:t.extend("--ft-breadcrumb-icon-color","",c.contentGlobalSubtle)};var vs={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",n.spacing12),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",n.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",n.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",n.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",n.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",n.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",n.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 Rs={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","",n.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",n.opacity40),shadow:t.extend("--ft-modal-shadow","",n.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",n.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",n.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",n.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",n.spacing6),containerMargin:t.extend("--ft-modal-container-margin","",n.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","",n.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",n.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",n.spacing6),headerGap:t.extend("--ft-modal-header-gap","",n.spacing2),headerBorderBottom:t.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",n.borderRadiusM)};var Ts={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",n.opacity40),shadow:t.extend("--ft-drawer-shadow","",n.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",n.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",n.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",n.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",n.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","",n.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",n.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","",n.spacing4),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",n.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",n.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","",n.colorGray700)};var Bs={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",n.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",n.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",n.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",n.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",n.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",n.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","",n.opacity40)};var Ms={backgroundColor:t.extend("--ft-text-area-background-color","",n.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","",n.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",n.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",n.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",n.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",n.borderRadiusM)};var Zs={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",n.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","",n.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","",n.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",n.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",n.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",n.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",n.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",c.backgroundGlobalOnSurface)};var Xs={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",n.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",n.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",n.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",n.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",n.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",n.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",n.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",n.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","",n.opacity40)};var ol={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",n.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","",n.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",n.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",n.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",n.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",n.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",n.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",n.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",n.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",n.borderRadiusM)};var sl={backgroundColor:t.extend("--ft-popover-background-color","",c.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",n.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",n.spacing6),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","",n.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",n.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",n.shadowElevation02)};var fl={topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",n.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",n.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",n.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",n.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",n.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",n.spacing1),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",n.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",n.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",n.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",n.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","",n.opacity8),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",n.opacity0),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",n.opacity8),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",n.opacity16),onColor:t.extend("--ft-tabs-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",c.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",n.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",n.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",n.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",n.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",c.borderActionFocusRing)};var gl={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",n.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",n.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","",n.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",n.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",n.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",n.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","",n.iconSize3)};var Ol={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",n.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",n.spacing1),groupGap:t.extend("--ft-switch-group-gap","",n.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","",n.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",n.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",n.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",n.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",n.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",n.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","",n.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",n.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",n.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",n.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","",n.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",n.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","",n.borderRadiusS)};var Rl={color1Light:t.extend("--ft-chart-1-light","for area color charts",n.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",n.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",n.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",n.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",n.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",n.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",n.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",n.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",n.colorRed40),color5Base:t.extend("--ft-chart-5-base","",n.colorRed60),color6Light:t.extend("--ft-chart-6-light","",n.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",n.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",n.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",n.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",n.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",n.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",n.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",n.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",n.colorGray50),color10Base:t.extend("--ft-chart-10-base","",n.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",n.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",n.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",n.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",n.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",n.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",n.colorBrand200)};var Tl={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",n.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",n.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",n.borderRadiusS),gap:t.extend("--ft-notice-gap","",n.spacing2),iconSize:t.extend("--ft-notice-icon-size","",n.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 Bl={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","",n.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",n.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",n.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",n.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",n.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",n.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",n.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",n.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",n.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",n.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","",n.spacing3)};var Ml={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",n.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",n.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",n.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",n.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","",n.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",n.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",n.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",n.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","",n.spacing3)};var Zl={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","",n.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",n.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",n.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",n.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","",n.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",n.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",n.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",n.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","",n.spacing3)};var Xl={iconSize:t.extend("--ft-notification-icon-size","",n.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",n.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",n.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",n.spacing3),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","",n.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",n.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",n.spacing8)};var oc={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",n.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",n.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",n.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","",n.opacity80),shadow:t.extend("--ft-tooltip-shadow","",n.shadowElevation03),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",n.spacing05)};var Ir;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Ir||(Ir={}));var Tr;(function(e){e.large="large",e.medium="medium",e.small="small"})(Tr||(Tr={}));var _e=m($());function Pr(e){let o=Pe[e];return _e.css`
|
|
116
|
-
.ft-typography--${(0,
|
|
117
|
-
font-family: ${
|
|
118
|
-
font-size: ${
|
|
119
|
-
font-weight: ${
|
|
120
|
-
letter-spacing: ${
|
|
121
|
-
line-height: ${
|
|
122
|
-
text-transform: ${
|
|
123
|
-
}
|
|
124
|
-
`}var
|
|
114
|
+
`;var he=S(z()),C=S(_());var Pe=S(z(),1),Be=e=>typeof e=="string"?(0,Pe.unsafeCSS)(e):e,r=class{static create(t,o,n,i){let a=l=>Be(l??i),s=Pe.css`var(${Be(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>Pe.css`var(${Be(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=l=>n.get(l??i),s=Pe.css`var(${Be(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>Pe.css`var(${Be(t)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,o){let n=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):Be(a??t.lastResortDefaultValue()),i=Pe.css`var(${Be(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=n,i.get=a=>Pe.css`var(${Be(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};var c={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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)")},bn={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},xn={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},vn={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Sn={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},On={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Cn={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},En={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},wn={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},An={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Qs={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Nn={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Rn={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Pn={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Tn={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ln={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},In={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},_n={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},kn={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Dn={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Un={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Mn={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Bn={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Wn={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},$n={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},zn={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Hn={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},ar={display:bn,"title-1":xn,"title-2":vn,"title-3":Sn,"body-1-regular":On,"body-1-medium":Cn,"body-1-semibold":En,"body-2-regular":wn,"body-2-medium":An,"body-2-medium-underline":Qs,"body-2-semibold":Nn,"label-1-medium":Rn,"label-1-semibold":Pn,"label-1-bold":Tn,"label-2-medium":Ln,"label-2-semibold":In,"label-2-bold":_n,"caption-1-medium":kn,"caption-1-semibold":Dn,"caption-1-bold":Un,"caption-2-medium":Mn,"caption-2-semibold":Bn,"caption-2-bold":Wn,"caption-3-medium":$n,"caption-3-semibold":zn,"caption-3-bold":Hn};var d={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
115
|
+
Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80)};var E={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",d.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",d.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",d.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",d.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",c.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",c.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",c.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",d.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",d.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",d.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",c.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",c.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",c.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",c.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",d.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",d.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",d.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",c.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",c.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",c.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",c.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",d.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",d.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",d.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",d.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",c.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",c.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",c.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",c.opacity40)};var Ul={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.extend("--ft-chip-large-border-radius","",c.borderRadiusPill),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.extend("--ft-chip-medium-border-radius","",c.borderRadiusPill),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.extend("--ft-chip-small-border-radius","",c.borderRadiusPill),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)};var zl={focusOpacity:r.extend("--ft-link-focus-opacity","",c.opacity80),focusFocusRingColor:r.extend("--ft-link-focus-focus-ring-color","",d.borderActionFocusRing),brandColor:r.extend("--ft-link-brand-color","",d.contentActionPrimary),infoColor:r.extend("--ft-link-info-color","",d.contentInfoPrimary)};var Kl={iconSize:r.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)};var Xl={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",d.contentActionPrimary)};var rd={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",c.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",d.contentGlobalSubtle)};var sd={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",c.spacing12),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",c.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",c.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",c.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",c.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",c.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",d.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",d.contentGlobalSecondary)};var pd={smallContainerWidth:r.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:r.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",c.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",c.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",d.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",c.borderRadiusM)};var gd={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var Od={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var Nd={backgroundColor:r.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var Id={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface)};var Md={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Hd={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var Vd={backgroundColor:r.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:r.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:r.extend("--ft-popover-gap","",c.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",c.shadowElevation02)};var Qd={topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity8),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity0),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity16),onColor:r.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var ou={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",c.iconSize3)};var cu={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var pu={color1Light:r.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",c.colorRed40),color5Base:r.extend("--ft-chart-5-base","",c.colorRed60),color6Light:r.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",c.colorGray50),color10Base:r.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",c.colorBrand200)};var gu={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ft-notice-gap","",c.spacing2),iconSize:r.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly)};var Ou={color:r.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",c.spacing3)};var Nu={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",c.spacing3)};var Iu={color:r.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",c.spacing3)};var Mu={iconSize:r.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",c.spacing8)};var Hu={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ft-tooltip-shadow","",c.shadowElevation03),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",c.spacing05)};var Fn;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Fn||(Fn={}));var Gn;(function(e){e.large="large",e.medium="medium",e.small="small"})(Gn||(Gn={}));var sr=S(z());function jn(e){let t=ar[e];return sr.css`
|
|
116
|
+
.ft-typography--${(0,sr.unsafeCSS)(e)} {
|
|
117
|
+
font-family: ${t.fontFamily};
|
|
118
|
+
font-size: ${t.fontSize};
|
|
119
|
+
font-weight: ${t.fontWeight};
|
|
120
|
+
letter-spacing: ${t.letterSpacing};
|
|
121
|
+
line-height: ${t.lineHeight};
|
|
122
|
+
text-transform: ${t.textCase};
|
|
123
|
+
}
|
|
124
|
+
`}var Kn=C.FtCssVariableFactory.extend("--ft-typography-font-family","",C.designSystemVariables.titleFont),Te=C.FtCssVariableFactory.extend("--ft-typography-font-family","",C.designSystemVariables.contentFont),P={fontFamily:Te,fontSize:C.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:C.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:C.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:C.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:C.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},dt={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Kn),fontSize:C.FtCssVariableFactory.extend("--ft-typography-title-font-size","",P.fontSize,"20px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",P.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",P.letterSpacing,"0.15px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-title-line-height","",P.lineHeight,"1.2"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",P.textTransform,"inherit")},ut={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Kn),fontSize:C.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",P.fontSize,"14px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",P.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",P.letterSpacing,"0.105px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",P.lineHeight,"1.7"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",P.textTransform,"inherit")},pt={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Te),fontSize:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",P.fontSize,"16px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",P.fontWeight,"600"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",P.letterSpacing,"0.144px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",P.lineHeight,"1.5"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",P.textTransform,"inherit")},ft={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Te),fontSize:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",P.fontSize,"14px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",P.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",P.letterSpacing,"0.098px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",P.lineHeight,"1.7"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",P.textTransform,"inherit")},ht={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Te),fontSize:C.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",P.fontSize,"16px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",P.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",P.letterSpacing,"0.496px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",P.lineHeight,"1.5"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",P.textTransform,"inherit")},mt={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Te),fontSize:C.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",P.fontSize,"14px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",P.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",P.letterSpacing,"0.252px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",P.lineHeight,"1.4"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",P.textTransform,"inherit")},yt={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Te),fontSize:C.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",P.fontSize,"12px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",P.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",P.letterSpacing,"0.396px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",P.lineHeight,"1.33"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",P.textTransform,"inherit")},gt={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Te),fontSize:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",P.fontSize,"10px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",P.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",P.letterSpacing,"0.33px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",P.lineHeight,"1.6"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",P.textTransform,"inherit")},bt={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Te),fontSize:C.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",P.fontSize,"10px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",P.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",P.letterSpacing,"1.5px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",P.lineHeight,"1.6"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",P.textTransform,"uppercase")},Ee={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Te),fontSize:C.FtCssVariableFactory.extend("--ft-typography-button-font-size","",P.fontSize,"14px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",P.fontWeight,"600"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",P.letterSpacing,"1.246px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-button-line-height","",P.lineHeight,"1.15"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",P.textTransform,"uppercase")},Vn=he.css`
|
|
125
125
|
.ft-typography--title {
|
|
126
|
-
font-family: ${
|
|
127
|
-
font-size: ${
|
|
128
|
-
font-weight: ${
|
|
129
|
-
letter-spacing: ${
|
|
130
|
-
line-height: ${
|
|
131
|
-
text-transform: ${
|
|
132
|
-
}
|
|
133
|
-
`,
|
|
126
|
+
font-family: ${dt.fontFamily};
|
|
127
|
+
font-size: ${dt.fontSize};
|
|
128
|
+
font-weight: ${dt.fontWeight};
|
|
129
|
+
letter-spacing: ${dt.letterSpacing};
|
|
130
|
+
line-height: ${dt.lineHeight};
|
|
131
|
+
text-transform: ${dt.textTransform};
|
|
132
|
+
}
|
|
133
|
+
`,Zn=he.css`
|
|
134
134
|
.ft-typography--title-dense {
|
|
135
|
-
font-family: ${
|
|
136
|
-
font-size: ${
|
|
137
|
-
font-weight: ${
|
|
138
|
-
letter-spacing: ${
|
|
139
|
-
line-height: ${
|
|
140
|
-
text-transform: ${
|
|
141
|
-
}
|
|
142
|
-
`,
|
|
135
|
+
font-family: ${ut.fontFamily};
|
|
136
|
+
font-size: ${ut.fontSize};
|
|
137
|
+
font-weight: ${ut.fontWeight};
|
|
138
|
+
letter-spacing: ${ut.letterSpacing};
|
|
139
|
+
line-height: ${ut.lineHeight};
|
|
140
|
+
text-transform: ${ut.textTransform};
|
|
141
|
+
}
|
|
142
|
+
`,qn=he.css`
|
|
143
143
|
.ft-typography--subtitle1 {
|
|
144
|
-
font-family: ${
|
|
145
|
-
font-size: ${
|
|
146
|
-
font-weight: ${
|
|
147
|
-
letter-spacing: ${
|
|
148
|
-
line-height: ${
|
|
149
|
-
text-transform: ${
|
|
150
|
-
}
|
|
151
|
-
`,
|
|
144
|
+
font-family: ${pt.fontFamily};
|
|
145
|
+
font-size: ${pt.fontSize};
|
|
146
|
+
font-weight: ${pt.fontWeight};
|
|
147
|
+
letter-spacing: ${pt.letterSpacing};
|
|
148
|
+
line-height: ${pt.lineHeight};
|
|
149
|
+
text-transform: ${pt.textTransform};
|
|
150
|
+
}
|
|
151
|
+
`,Yn=he.css`
|
|
152
152
|
.ft-typography--subtitle2 {
|
|
153
|
-
font-family: ${
|
|
154
|
-
font-size: ${
|
|
155
|
-
font-weight: ${
|
|
156
|
-
letter-spacing: ${
|
|
157
|
-
line-height: ${
|
|
158
|
-
text-transform: ${
|
|
153
|
+
font-family: ${ft.fontFamily};
|
|
154
|
+
font-size: ${ft.fontSize};
|
|
155
|
+
font-weight: ${ft.fontWeight};
|
|
156
|
+
letter-spacing: ${ft.letterSpacing};
|
|
157
|
+
line-height: ${ft.lineHeight};
|
|
158
|
+
text-transform: ${ft.textTransform};
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
|
|
161
|
+
`,Xn=he.css`
|
|
162
162
|
.ft-typography--body1 {
|
|
163
|
-
font-family: ${
|
|
164
|
-
font-size: ${
|
|
165
|
-
font-weight: ${
|
|
166
|
-
letter-spacing: ${
|
|
167
|
-
line-height: ${
|
|
168
|
-
text-transform: ${
|
|
169
|
-
}
|
|
170
|
-
`,
|
|
163
|
+
font-family: ${ht.fontFamily};
|
|
164
|
+
font-size: ${ht.fontSize};
|
|
165
|
+
font-weight: ${ht.fontWeight};
|
|
166
|
+
letter-spacing: ${ht.letterSpacing};
|
|
167
|
+
line-height: ${ht.lineHeight};
|
|
168
|
+
text-transform: ${ht.textTransform};
|
|
169
|
+
}
|
|
170
|
+
`,Qn=he.css`
|
|
171
171
|
.ft-typography--body2 {
|
|
172
|
-
font-family: ${
|
|
173
|
-
font-size: ${
|
|
174
|
-
font-weight: ${
|
|
175
|
-
letter-spacing: ${
|
|
176
|
-
line-height: ${
|
|
177
|
-
text-transform: ${
|
|
178
|
-
}
|
|
179
|
-
`,
|
|
172
|
+
font-family: ${mt.fontFamily};
|
|
173
|
+
font-size: ${mt.fontSize};
|
|
174
|
+
font-weight: ${mt.fontWeight};
|
|
175
|
+
letter-spacing: ${mt.letterSpacing};
|
|
176
|
+
line-height: ${mt.lineHeight};
|
|
177
|
+
text-transform: ${mt.textTransform};
|
|
178
|
+
}
|
|
179
|
+
`,Jn=he.css`
|
|
180
180
|
.ft-typography--caption {
|
|
181
|
-
font-family: ${
|
|
182
|
-
font-size: ${
|
|
183
|
-
font-weight: ${
|
|
184
|
-
letter-spacing: ${
|
|
185
|
-
line-height: ${
|
|
186
|
-
text-transform: ${
|
|
187
|
-
}
|
|
188
|
-
`,
|
|
181
|
+
font-family: ${yt.fontFamily};
|
|
182
|
+
font-size: ${yt.fontSize};
|
|
183
|
+
font-weight: ${yt.fontWeight};
|
|
184
|
+
letter-spacing: ${yt.letterSpacing};
|
|
185
|
+
line-height: ${yt.lineHeight};
|
|
186
|
+
text-transform: ${yt.textTransform};
|
|
187
|
+
}
|
|
188
|
+
`,ei=he.css`
|
|
189
189
|
.ft-typography--breadcrumb {
|
|
190
|
-
font-family: ${te.fontFamily};
|
|
191
|
-
font-size: ${te.fontSize};
|
|
192
|
-
font-weight: ${te.fontWeight};
|
|
193
|
-
letter-spacing: ${te.letterSpacing};
|
|
194
|
-
line-height: ${te.lineHeight};
|
|
195
|
-
text-transform: ${te.textTransform};
|
|
196
|
-
}
|
|
197
|
-
`,zr=ct.css`
|
|
198
|
-
.ft-typography--overline {
|
|
199
|
-
font-family: ${ee.fontFamily};
|
|
200
|
-
font-size: ${ee.fontSize};
|
|
201
|
-
font-weight: ${ee.fontWeight};
|
|
202
|
-
letter-spacing: ${ee.letterSpacing};
|
|
203
|
-
line-height: ${ee.lineHeight};
|
|
204
|
-
text-transform: ${ee.textTransform};
|
|
205
|
-
}
|
|
206
|
-
`,Fr=ct.css`
|
|
207
|
-
.ft-typography--button {
|
|
208
190
|
font-family: ${gt.fontFamily};
|
|
209
191
|
font-size: ${gt.fontSize};
|
|
210
192
|
font-weight: ${gt.fontWeight};
|
|
@@ -212,11 +194,29 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
212
194
|
line-height: ${gt.lineHeight};
|
|
213
195
|
text-transform: ${gt.textTransform};
|
|
214
196
|
}
|
|
215
|
-
`,
|
|
197
|
+
`,ti=he.css`
|
|
198
|
+
.ft-typography--overline {
|
|
199
|
+
font-family: ${bt.fontFamily};
|
|
200
|
+
font-size: ${bt.fontSize};
|
|
201
|
+
font-weight: ${bt.fontWeight};
|
|
202
|
+
letter-spacing: ${bt.letterSpacing};
|
|
203
|
+
line-height: ${bt.lineHeight};
|
|
204
|
+
text-transform: ${bt.textTransform};
|
|
205
|
+
}
|
|
206
|
+
`,ri=he.css`
|
|
207
|
+
.ft-typography--button {
|
|
208
|
+
font-family: ${Ee.fontFamily};
|
|
209
|
+
font-size: ${Ee.fontSize};
|
|
210
|
+
font-weight: ${Ee.fontWeight};
|
|
211
|
+
letter-spacing: ${Ee.letterSpacing};
|
|
212
|
+
line-height: ${Ee.lineHeight};
|
|
213
|
+
text-transform: ${Ee.textTransform};
|
|
214
|
+
}
|
|
215
|
+
`,oi=he.css`
|
|
216
216
|
.ft-typography {
|
|
217
217
|
vertical-align: inherit;
|
|
218
218
|
}
|
|
219
|
-
`,
|
|
219
|
+
`,ni=[Object.keys(ar).map(e=>jn(e))];var ii=S(z()),Mt=S(_()),ie={color:Mt.FtCssVariableFactory.extend("--ft-loader-color","",Mt.designSystemVariables.colorPrimary),size:Mt.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},ai=ii.css`
|
|
220
220
|
:host {
|
|
221
221
|
line-height: 0;
|
|
222
222
|
}
|
|
@@ -225,8 +225,8 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
225
225
|
display: inline-block;
|
|
226
226
|
position: relative;
|
|
227
227
|
|
|
228
|
-
width: ${
|
|
229
|
-
height: ${
|
|
228
|
+
width: ${ie.size};
|
|
229
|
+
height: ${ie.size};
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
.ft-loader div {
|
|
@@ -235,7 +235,7 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
235
235
|
width: 25%;
|
|
236
236
|
height: 25%;
|
|
237
237
|
border-radius: 50%;
|
|
238
|
-
background: ${
|
|
238
|
+
background: ${ie.color};
|
|
239
239
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
240
240
|
}
|
|
241
241
|
|
|
@@ -282,10 +282,10 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
282
282
|
transform: translate(0, 0);
|
|
283
283
|
}
|
|
284
284
|
100% {
|
|
285
|
-
transform: translate(calc(0.35 * ${
|
|
285
|
+
transform: translate(calc(0.35 * ${ie.size}), 0);
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
|
-
`;var
|
|
288
|
+
`;var si=S(z()),Le=S(_()),ae={size:Le.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Le.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Le.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Le.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Le.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Le.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Le.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Le.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ci=si.css`
|
|
289
289
|
:host, i.ft-icon {
|
|
290
290
|
display: inline-flex;
|
|
291
291
|
align-items: center;
|
|
@@ -294,14 +294,14 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
294
294
|
}
|
|
295
295
|
|
|
296
296
|
:host {
|
|
297
|
-
width: ${
|
|
298
|
-
height: ${
|
|
297
|
+
width: ${ae.size};
|
|
298
|
+
height: ${ae.size};
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
i.ft-icon {
|
|
302
302
|
width: 100%;
|
|
303
303
|
height: 100%;
|
|
304
|
-
font-size: ${
|
|
304
|
+
font-size: ${ae.size};
|
|
305
305
|
line-height: 1;
|
|
306
306
|
font-weight: normal;
|
|
307
307
|
text-transform: none;
|
|
@@ -312,28 +312,28 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
312
312
|
text-rendering: auto;
|
|
313
313
|
-webkit-font-smoothing: antialiased;
|
|
314
314
|
-moz-osx-font-smoothing: grayscale;
|
|
315
|
-
vertical-align: ${
|
|
315
|
+
vertical-align: ${ae.verticalAlign};
|
|
316
316
|
}
|
|
317
317
|
|
|
318
318
|
i.ft-icon.ft-icon--fluid-topics {
|
|
319
|
-
font-family: ${
|
|
319
|
+
font-family: ${ae.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
320
320
|
|
|
321
321
|
/* Ugly fix because font is broken */
|
|
322
|
-
font-size: calc(0.75 * ${
|
|
323
|
-
line-height: ${
|
|
322
|
+
font-size: calc(0.75 * ${ae.size});
|
|
323
|
+
line-height: ${ae.size};
|
|
324
324
|
position: relative;
|
|
325
325
|
top: -4%;
|
|
326
326
|
justify-content: center;
|
|
327
327
|
}
|
|
328
328
|
|
|
329
329
|
.ft-icon--file-format {
|
|
330
|
-
font-family: ${
|
|
330
|
+
font-family: ${ae.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
331
331
|
}
|
|
332
332
|
|
|
333
333
|
.ft-icon--material {
|
|
334
|
-
font-family: ${
|
|
334
|
+
font-family: ${ae.materialFontFamily}, "Material Icons", sans-serif;
|
|
335
335
|
}
|
|
336
|
-
`;var
|
|
336
|
+
`;var li=I.FtCssVariableFactory.extend("--ft-button-color","",I.designSystemVariables.colorPrimary),q={backgroundColor:I.FtCssVariableFactory.extend("--ft-button-background-color","",I.designSystemVariables.colorSurface),borderRadius:I.FtCssVariableFactory.extend("--ft-button-border-radius","",I.designSystemVariables.borderRadiusL),color:li,fontSize:I.FtCssVariableFactory.extend("--ft-button-font-size","",Ee.fontSize),iconSize:I.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:I.FtCssVariableFactory.extend("--ft-button-ripple-color","",li),verticalPadding:I.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:I.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:I.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:I.FtCssVariableFactory.external(I.designSystemVariables.colorOpacityDisabled,"Design system")},di=I.FtCssVariableFactory.extend("--ft-button-primary-color","",I.FtCssVariableFactory.extend("--ft-button-color","",I.designSystemVariables.colorOnPrimary)),Vr={backgroundColor:I.FtCssVariableFactory.extend("--ft-button-primary-background-color","",I.FtCssVariableFactory.extend("--ft-button-background-color","",I.designSystemVariables.colorPrimary)),color:di,rippleColor:I.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",di)},we={borderRadius:I.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",I.FtCssVariableFactory.extend("--ft-button-border-radius","",I.designSystemVariables.borderRadiusM)),verticalPadding:I.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:I.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:I.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},pi=[ui.css`
|
|
337
337
|
:host {
|
|
338
338
|
display: inline-block;
|
|
339
339
|
max-width: 100%;
|
|
@@ -344,7 +344,7 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
344
344
|
box-shadow: 0px 0px 0px transparent;
|
|
345
345
|
border: 0px solid transparent;
|
|
346
346
|
text-shadow: 0px 0px 0px transparent;
|
|
347
|
-
font-size: ${
|
|
347
|
+
font-size: ${q.fontSize};
|
|
348
348
|
}
|
|
349
349
|
|
|
350
350
|
button:hover {
|
|
@@ -373,31 +373,31 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
373
373
|
border: none;
|
|
374
374
|
pointer-events: auto;
|
|
375
375
|
|
|
376
|
-
--ft-button-internal-line-height: max(calc(${
|
|
377
|
-
--ft-button-internal-color: ${
|
|
378
|
-
${(0,
|
|
379
|
-
${(0,
|
|
376
|
+
--ft-button-internal-line-height: max(calc(${q.fontSize} + 2px), ${q.iconSize});
|
|
377
|
+
--ft-button-internal-color: ${q.color};
|
|
378
|
+
${(0,I.setVariable)(ae.size,q.iconSize)};
|
|
379
|
+
${(0,I.setVariable)(D.color,q.rippleColor)};
|
|
380
380
|
|
|
381
|
-
border-radius: ${
|
|
382
|
-
padding: ${
|
|
383
|
-
background-color: ${
|
|
381
|
+
border-radius: ${q.borderRadius};
|
|
382
|
+
padding: ${q.verticalPadding} ${q.horizontalPadding};
|
|
383
|
+
background-color: ${q.backgroundColor};
|
|
384
384
|
color: var(--ft-button-internal-color);
|
|
385
385
|
-webkit-mask-image: radial-gradient(white, black);
|
|
386
386
|
}
|
|
387
387
|
|
|
388
388
|
.ft-button.ft-button--outlined {
|
|
389
389
|
border: 1px solid var(--ft-button-internal-color);
|
|
390
|
-
padding: calc(${
|
|
390
|
+
padding: calc(${q.verticalPadding} - 1px) calc(${q.horizontalPadding} - 1px);
|
|
391
391
|
}
|
|
392
392
|
|
|
393
393
|
.ft-button.ft-button--dense {
|
|
394
|
-
padding: ${
|
|
395
|
-
border-radius: ${
|
|
396
|
-
gap: ${
|
|
394
|
+
padding: ${we.verticalPadding} ${we.horizontalPadding};
|
|
395
|
+
border-radius: ${we.borderRadius};
|
|
396
|
+
gap: ${we.iconPadding};
|
|
397
397
|
}
|
|
398
398
|
|
|
399
399
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
400
|
-
padding: calc(${
|
|
400
|
+
padding: calc(${we.verticalPadding} - 1px) calc(${we.horizontalPadding} - 1px);
|
|
401
401
|
}
|
|
402
402
|
|
|
403
403
|
.ft-button:not([disabled]):hover {
|
|
@@ -405,22 +405,22 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
405
405
|
}
|
|
406
406
|
|
|
407
407
|
.ft-button--round {
|
|
408
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
408
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${q.verticalPadding});
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
.ft-button--round.ft-button--dense {
|
|
412
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
412
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${we.verticalPadding});
|
|
413
413
|
}
|
|
414
414
|
|
|
415
415
|
.ft-button[disabled] {
|
|
416
416
|
filter: grayscale(1);
|
|
417
|
-
opacity: ${
|
|
417
|
+
opacity: ${q.opacityDisabled};
|
|
418
418
|
}
|
|
419
419
|
|
|
420
420
|
.ft-button.ft-button--primary {
|
|
421
|
-
background-color: ${
|
|
422
|
-
--ft-button-internal-color: ${
|
|
423
|
-
${(0,
|
|
421
|
+
background-color: ${Vr.backgroundColor};
|
|
422
|
+
--ft-button-internal-color: ${Vr.color};
|
|
423
|
+
${(0,I.setVariable)(D.color,Vr.rippleColor)};
|
|
424
424
|
}
|
|
425
425
|
|
|
426
426
|
.ft-button:focus {
|
|
@@ -433,13 +433,13 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
433
433
|
white-space: nowrap;
|
|
434
434
|
text-overflow: ellipsis;
|
|
435
435
|
display: block;
|
|
436
|
-
margin: 0 ${
|
|
437
|
-
${(0,
|
|
438
|
-
${(0,
|
|
436
|
+
margin: 0 ${q.iconPadding};
|
|
437
|
+
${(0,I.setVariable)(Ee.fontSize,"1em")};
|
|
438
|
+
${(0,I.setVariable)(Ee.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
439
439
|
}
|
|
440
440
|
|
|
441
441
|
.ft-button--dense .ft-button--label {
|
|
442
|
-
margin: 0 ${
|
|
442
|
+
margin: 0 ${we.iconPadding};
|
|
443
443
|
}
|
|
444
444
|
|
|
445
445
|
.ft-button--label[hidden] {
|
|
@@ -452,13 +452,13 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
452
452
|
}
|
|
453
453
|
|
|
454
454
|
.ft-button--label[hidden] + [part="icon"] {
|
|
455
|
-
margin: 0 calc(${
|
|
456
|
-
padding: 0 ${
|
|
455
|
+
margin: 0 calc(${q.horizontalPadding} * -1);
|
|
456
|
+
padding: 0 ${q.verticalPadding};
|
|
457
457
|
}
|
|
458
458
|
|
|
459
459
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
460
|
-
margin: 0 calc(${
|
|
461
|
-
padding: 0 ${
|
|
460
|
+
margin: 0 calc(${we.horizontalPadding} * -1);
|
|
461
|
+
padding: 0 ${we.verticalPadding};
|
|
462
462
|
}
|
|
463
463
|
|
|
464
464
|
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
@@ -466,31 +466,31 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
466
466
|
}
|
|
467
467
|
|
|
468
468
|
ft-loader {
|
|
469
|
-
${(0,
|
|
470
|
-
${(0,
|
|
469
|
+
${(0,I.setVariable)(ie.size,q.iconSize)};
|
|
470
|
+
${(0,I.setVariable)(ie.color,"var(--ft-button-internal-color)")};
|
|
471
471
|
}
|
|
472
|
-
`,
|
|
472
|
+
`,I.noTextSelect];var At=S(_());var yi=S(_());var hi=S(z()),J=S(ee()),mi=S(Zr()),Bt=S(_());var se=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},H=class extends Bt.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 Bt.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Bt.Debouncer(10),this.moveRipple=t=>{var o,n;let{x:i,y:a}=this.getCoordinates(t),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"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 hi.html`
|
|
473
473
|
<style>
|
|
474
474
|
.ft-ripple .ft-ripple--effect {
|
|
475
475
|
left: ${this.originX}px;
|
|
476
476
|
top: ${this.originY}px;
|
|
477
477
|
}
|
|
478
478
|
</style>
|
|
479
|
-
<div class="${(0,
|
|
479
|
+
<div class="${(0,mi.classMap)(t)}">
|
|
480
480
|
<div class="ft-ripple--background"></div>
|
|
481
481
|
<div class="ft-ripple--effect"></div>
|
|
482
482
|
</div>
|
|
483
|
-
`}contentAvailableCallback(
|
|
484
|
-
\f\r]`,
|
|
485
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),
|
|
486
|
-
<${
|
|
483
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.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 t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...l)=>u=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",n,s),t.addEventListener("touchstart",i,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",a,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",n,s),t.removeEventListener("touchstart",i,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",a,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,i,a;return o.x!=null?{x:i,y:a}=o:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};H.elementDefinitions={};H.styles=gn;se([(0,J.property)({type:Boolean})],H.prototype,"primary",void 0);se([(0,J.property)({type:Boolean})],H.prototype,"secondary",void 0);se([(0,J.property)({type:Boolean})],H.prototype,"unbounded",void 0);se([(0,J.property)({type:Boolean})],H.prototype,"activated",void 0);se([(0,J.property)({type:Boolean})],H.prototype,"selected",void 0);se([(0,J.property)({type:Boolean})],H.prototype,"disabled",void 0);se([(0,J.state)()],H.prototype,"hovered",void 0);se([(0,J.state)()],H.prototype,"focused",void 0);se([(0,J.state)()],H.prototype,"pressed",void 0);se([(0,J.state)()],H.prototype,"rippling",void 0);se([(0,J.state)()],H.prototype,"originX",void 0);se([(0,J.state)()],H.prototype,"originY",void 0);se([(0,J.query)(".ft-ripple")],H.prototype,"ripple",void 0);se([(0,J.query)(".ft-ripple--effect")],H.prototype,"rippleEffect",void 0);(0,yi.customElement)("ft-ripple")(H);var la=S(_());var ca=S(z()),Z=S(ee()),Zt=S(_());var Ui=S(_());var to=globalThis,cr=to.trustedTypes,gi=cr?cr.createPolicy("lit-html",{createHTML:e=>e}):void 0,Ci="$lit$",We=`lit$${(Math.random()+"").slice(9)}$`,Ei="?"+We,Js=`<${Ei}>`,Je=document,lr=()=>Je.createComment(""),$t=e=>e===null||typeof e!="object"&&typeof e!="function",wi=Array.isArray,ec=e=>wi(e)||typeof e?.[Symbol.iterator]=="function",qr=`[
|
|
484
|
+
\f\r]`,Wt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,bi=/-->/g,xi=/>/g,Xe=RegExp(`>|${qr}(?:([^\\s"'>=/]+)(${qr}*=${qr}*(?:[^
|
|
485
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),vi=/'/g,Si=/"/g,Ai=/^(?:script|style|textarea|title)$/i,Ni=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),Ri=Ni(1),Pi=Ni(2),zt=Symbol.for("lit-noChange"),Y=Symbol.for("lit-nothing"),Oi=new WeakMap,Qe=Je.createTreeWalker(Je,129);function Ti(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return gi!==void 0?gi.createHTML(t):t}var tc=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=Wt;for(let l=0;l<o;l++){let u=e[l],p,f,m=-1,y=0;for(;y<u.length&&(s.lastIndex=y,f=s.exec(u),f!==null);)y=s.lastIndex,s===Wt?f[1]==="!--"?s=bi:f[1]!==void 0?s=xi:f[2]!==void 0?(Ai.test(f[2])&&(i=RegExp("</"+f[2],"g")),s=Xe):f[3]!==void 0&&(s=Xe):s===Xe?f[0]===">"?(s=i??Wt,m=-1):f[1]===void 0?m=-2:(m=s.lastIndex-f[2].length,p=f[1],s=f[3]===void 0?Xe:f[3]==='"'?Si:vi):s===Si||s===vi?s=Xe:s===bi||s===xi?s=Wt:(s=Xe,i=void 0);let b=s===Xe&&e[l+1].startsWith("/>")?" ":"";a+=s===Wt?u+Js:m>=0?(n.push(p),u.slice(0,m)+Ci+u.slice(m)+We+b):u+We+(m===-2?l:b)}return[Ti(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},Ht=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,u=this.parts,[p,f]=tc(t,o);if(this.el=e.createElement(p,n),Qe.currentNode=this.el.content,o===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=Qe.nextNode())!==null&&u.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(Ci)){let y=f[s++],b=i.getAttribute(m).split(We),g=/([.?@])?(.*)/.exec(y);u.push({type:1,index:a,name:g[2],strings:b,ctor:g[1]==="."?Xr:g[1]==="?"?Qr:g[1]==="@"?Jr:vt}),i.removeAttribute(m)}else m.startsWith(We)&&(u.push({type:6,index:a}),i.removeAttribute(m));if(Ai.test(i.tagName)){let m=i.textContent.split(We),y=m.length-1;if(y>0){i.textContent=cr?cr.emptyScript:"";for(let b=0;b<y;b++)i.append(m[b],lr()),Qe.nextNode(),u.push({type:2,index:++a});i.append(m[y],lr())}}}else if(i.nodeType===8)if(i.data===Ei)u.push({type:2,index:a});else{let m=-1;for(;(m=i.data.indexOf(We,m+1))!==-1;)u.push({type:7,index:a}),m+=We.length-1}a++}}static createElement(t,o){let n=Je.createElement("template");return n.innerHTML=t,n}};function xt(e,t,o=e,n){if(t===zt)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=$t(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=xt(e,i._$AS(e,t.values),i,n)),t}var Yr=class{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){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??Je).importNode(o,!0);Qe.currentNode=i;let a=Qe.nextNode(),s=0,l=0,u=n[0];for(;u!==void 0;){if(s===u.index){let p;u.type===2?p=new dr(a,a.nextSibling,this,t):u.type===1?p=new u.ctor(a,u.name,u.strings,this,t):u.type===6&&(p=new eo(a,this,t)),this._$AV.push(p),u=n[++l]}s!==u?.index&&(a=Qe.nextNode(),s++)}return Qe.currentNode=Je,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},dr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=Y,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=xt(this,t,o),$t(t)?t===Y||t==null||t===""?(this._$AH!==Y&&this._$AR(),this._$AH=Y):t!==this._$AH&&t!==zt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):ec(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!==Y&&$t(this._$AH)?this._$AA.nextSibling.data=t:this.$(Je.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Ht.createElement(Ti(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Yr(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=Oi.get(t.strings);return o===void 0&&Oi.set(t.strings,o=new Ht(t)),o}T(t){wi(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(lr()),this.k(lr()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},vt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=Y,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=Y}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=xt(this,t,o,0),s=!$t(t)||t!==this._$AH&&t!==zt,s&&(this._$AH=t);else{let l=t,u,p;for(t=a[0],u=0;u<a.length-1;u++)p=xt(this,l[n+u],o,u),p===zt&&(p=this._$AH[u]),s||=!$t(p)||p!==this._$AH[u],p===Y?t=Y:t!==Y&&(t+=(p??"")+a[u+1]),this._$AH[u]=p}s&&!i&&this.O(t)}O(t){t===Y?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Xr=class extends vt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Y?void 0:t}},Qr=class extends vt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Y)}},Jr=class extends vt{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=xt(this,t,o,0)??Y)===zt)return;let n=this._$AH,i=t===Y&&n!==Y||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==Y&&(n===Y||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},eo=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){xt(this,t)}};var rc=to.litHtmlPolyfillSupport;rc?.(Ht,dr),(to.litHtmlVersions??=[]).push("3.1.0");var Ii=Symbol.for(""),oc=e=>{if(e?.r===Ii)return e?._$litStatic$},ro=e=>({_$litStatic$:e,r:Ii});var Li=new Map,_i=e=>(t,...o)=>{let n=o.length,i,a,s=[],l=[],u,p=0,f=!1;for(;p<n;){for(u=t[p];p<n&&(a=o[p],(i=oc(a))!==void 0);)u+=i+t[++p],f=!0;p!==n&&l.push(a),s.push(u),p++}if(p===n&&s.push(t[n]),f){let m=s.join("$$lit$$");(t=Li.get(m))===void 0&&(s.raw=s,Li.set(m,t=s)),o=l}return e(t,...o)},oo=_i(Ri),gf=_i(Pi);var no=S(ee()),Di=S(_());var et;(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"})(et||(et={}));var ki=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},be=class extends Di.FtLitElement{constructor(){super(...arguments),this.variant=et.body1}render(){return this.element?oo`
|
|
486
|
+
<${ro(this.element)}
|
|
487
487
|
part="text"
|
|
488
488
|
class="ft-typography ft-typography--${this.variant}">
|
|
489
489
|
<slot></slot>
|
|
490
|
-
</${
|
|
491
|
-
`:
|
|
490
|
+
</${ro(this.element)}>
|
|
491
|
+
`:oo`
|
|
492
492
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
493
|
-
`}};
|
|
493
|
+
`}};be.styles=[Vn,Zn,qn,Yn,Xn,Qn,Jn,ei,ti,ri,oi,...ni];ki([(0,no.property)()],be.prototype,"element",void 0);ki([(0,no.property)()],be.prototype,"variant",void 0);(0,Ui.customElement)("ft-typography")(be);var Mi=S(z()),Ie=S(_()),St={distance:Ie.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Ie.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Ie.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Ie.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Ie.FtCssVariableFactory.external(Ie.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Ie.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Bi=Mi.css`
|
|
494
494
|
.ft-tooltip--container {
|
|
495
495
|
display: block;
|
|
496
496
|
}
|
|
@@ -505,21 +505,21 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
505
505
|
box-sizing: border-box;
|
|
506
506
|
overflow: hidden;
|
|
507
507
|
width: max-content;
|
|
508
|
-
max-width: ${
|
|
508
|
+
max-width: ${St.maxWidth};
|
|
509
509
|
text-align: center;
|
|
510
|
-
padding: ${
|
|
511
|
-
z-index: ${
|
|
510
|
+
padding: ${St.distance};
|
|
511
|
+
z-index: ${St.zIndex};
|
|
512
512
|
}
|
|
513
513
|
|
|
514
514
|
.ft-tooltip--content {
|
|
515
515
|
padding: 4px 8px;
|
|
516
|
-
border-radius: ${
|
|
517
|
-
background-color: ${
|
|
518
|
-
color: ${
|
|
516
|
+
border-radius: ${St.borderRadiusS};
|
|
517
|
+
background-color: ${St.backgroundColor};
|
|
518
|
+
color: ${St.color};
|
|
519
519
|
position: relative;
|
|
520
520
|
word-break: break-word;
|
|
521
521
|
}
|
|
522
|
-
`;var wn=["top","right","bottom","left"],Nn=["start","end"],Oo=wn.reduce((e,o)=>e.concat(o,o+"-"+Nn[0],o+"-"+Nn[1]),[]),xe=Math.min,Tt=Math.max,Se=Math.round;var At=e=>({x:e,y:e}),na={left:"right",right:"left",bottom:"top",top:"bottom"},ia={start:"end",end:"start"};function Co(e,o,r){return Tt(e,xe(o,r))}function De(e,o){return typeof e=="function"?e(o):e}function ie(e){return e.split("-")[0]}function Pt(e){return e.split("-")[1]}function Eo(e){return e==="x"?"y":"x"}function Ao(e){return e==="y"?"height":"width"}function $e(e){return["top","bottom"].includes(ie(e))?"y":"x"}function Ro(e){return Eo($e(e))}function Ln(e,o,r){r===void 0&&(r=!1);let i=Pt(e),a=Ro(e),s=Ao(a),l=a==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[s]>o.floating[s]&&(l=vo(l)),[l,vo(l)]}function In(e){return e.replace(/start|end/g,o=>ia[o])}function vo(e){return e.replace(/left|right|bottom|top/g,o=>na[o])}function aa(e){return{top:0,right:0,bottom:0,left:0,...e}}function Tn(e){return typeof e!="number"?aa(e):{top:e,right:e,bottom:e,left:e}}function Ht(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Pn(e,o,r){let{reference:i,floating:a}=e,s=$e(o),l=Ro(o),p=Ao(l),f=ie(o),u=s==="y",b=i.x+i.width/2-a.width/2,S=i.y+i.height/2-a.height/2,R=i[p]/2-a[p]/2,E;switch(f){case"top":E={x:b,y:i.y-a.height};break;case"bottom":E={x:b,y:i.y+i.height};break;case"right":E={x:i.x+i.width,y:S};break;case"left":E={x:i.x-a.width,y:S};break;default:E={x:i.x,y:i.y}}switch(Pt(o)){case"start":E[l]-=R*(r&&u?-1:1);break;case"end":E[l]+=R*(r&&u?-1:1);break}return E}var _n=async(e,o,r)=>{let{placement:i="bottom",strategy:a="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:a}),{x:b,y:S}=Pn(u,i,f),R=i,E={},w=0;for(let _=0;_<p.length;_++){let{name:U,fn:P}=p[_],{x:D,y:j,data:X,reset:F}=await P({x:b,y:S,initialPlacement:i,placement:R,strategy:a,middlewareData:E,rects:u,platform:l,elements:{reference:e,floating:o}});if(b=D??b,S=j??S,E={...E,[U]:{...E[U],...X}},F&&w<=50){w++,typeof F=="object"&&(F.placement&&(R=F.placement),F.rects&&(u=F.rects===!0?await l.getElementRects({reference:e,floating:o,strategy:a}):F.rects),{x:b,y:S}=Pn(u,R,f)),_=-1;continue}}return{x:b,y:S,placement:R,strategy:a,middlewareData:E}};async function No(e,o){var r;o===void 0&&(o={});let{x:i,y:a,platform:s,rects:l,elements:p,strategy:f}=e,{boundary:u="clippingAncestors",rootBoundary:b="viewport",elementContext:S="floating",altBoundary:R=!1,padding:E=0}=De(o,e),w=Tn(E),U=p[R?S==="floating"?"reference":"floating":S],P=Ht(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(U)))==null||r?U:U.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(p.floating)),boundary:u,rootBoundary:b,strategy:f})),D=S==="floating"?{...l.floating,x:i,y:a}:l.reference,j=await(s.getOffsetParent==null?void 0:s.getOffsetParent(p.floating)),X=await(s.isElement==null?void 0:s.isElement(j))?await(s.getScale==null?void 0:s.getScale(j))||{x:1,y:1}:{x:1,y:1},F=Ht(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:D,offsetParent:j,strategy:f}):D);return{top:(P.top-F.top+w.top)/X.y,bottom:(F.bottom-P.bottom+w.bottom)/X.y,left:(P.left-F.left+w.left)/X.x,right:(F.right-P.right+w.right)/X.x}}function sa(e,o,r){return(e?[...r.filter(a=>Pt(a)===e),...r.filter(a=>Pt(a)!==e)]:r.filter(a=>ie(a)===a)).filter(a=>e?Pt(a)===e||(o?In(a)!==a:!1):!0)}var wo=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var r,i,a;let{rects:s,middlewareData:l,placement:p,platform:f,elements:u}=o,{crossAxis:b=!1,alignment:S,allowedPlacements:R=Oo,autoAlignment:E=!0,...w}=De(e,o),_=S!==void 0||R===Oo?sa(S||null,E,R):R,U=await No(o,w),P=((r=l.autoPlacement)==null?void 0:r.index)||0,D=_[P];if(D==null)return{};let j=Ln(D,s,await(f.isRTL==null?void 0:f.isRTL(u.floating)));if(p!==D)return{reset:{placement:_[0]}};let X=[U[ie(D)],U[j[0]],U[j[1]]],F=[...((i=l.autoPlacement)==null?void 0:i.overflows)||[],{placement:D,overflows:X}],Ie=_[P+1];if(Ie)return{data:{index:P+1,overflows:F},reset:{placement:Ie}};let it=F.map(d=>{let h=Pt(d.placement);return[d.placement,h&&b?d.overflows.slice(0,2).reduce((O,G)=>O+G,0):d.overflows[0],d.overflows]}).sort((d,h)=>d[1]-h[1]),Kt=((a=it.filter(d=>d[2].slice(0,Pt(d[0])?2:3).every(h=>h<=0))[0])==null?void 0:a[0])||it[0][0];return Kt!==p?{data:{index:P+1,overflows:F},reset:{placement:Kt}}:{}}}};var Lo=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:r,y:i,placement:a}=o,{mainAxis:s=!0,crossAxis:l=!1,limiter:p={fn:U=>{let{x:P,y:D}=U;return{x:P,y:D}}},...f}=De(e,o),u={x:r,y:i},b=await No(o,f),S=$e(ie(a)),R=Eo(S),E=u[R],w=u[S];if(s){let U=R==="y"?"top":"left",P=R==="y"?"bottom":"right",D=E+b[U],j=E-b[P];E=Co(D,E,j)}if(l){let U=S==="y"?"top":"left",P=S==="y"?"bottom":"right",D=w+b[U],j=w-b[P];w=Co(D,w,j)}let _=p.fn({...o,[R]:E,[S]:w});return{..._,data:{x:_.x-r,y:_.y-i}}}}};function Rt(e){return kn(e)?(e.nodeName||"").toLowerCase():"#document"}function rt(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function Nt(e){var o;return(o=(kn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function kn(e){return e instanceof Node||e instanceof rt(e).Node}function xt(e){return e instanceof Element||e instanceof rt(e).Element}function ut(e){return e instanceof HTMLElement||e instanceof rt(e).HTMLElement}function Un(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof rt(e).ShadowRoot}function ae(e){let{overflow:o,overflowX:r,overflowY:i,display:a}=at(e);return/auto|scroll|overlay|hidden|clip/.test(o+i+r)&&!["inline","contents"].includes(a)}function Bn(e){return["table","td","th"].includes(Rt(e))}function He(e){let o=Me(),r=at(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!o&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!o&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function Dn(e){let o=Mt(e);for(;ut(o)&&!ve(o);){if(He(o))return o;o=Mt(o)}return null}function Me(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ve(e){return["html","body","#document"].includes(Rt(e))}function at(e){return rt(e).getComputedStyle(e)}function Oe(e){return xt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Mt(e){if(Rt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||Un(e)&&e.host||Nt(e);return Un(o)?o.host:o}function $n(e){let o=Mt(e);return ve(o)?e.ownerDocument?e.ownerDocument.body:e.body:ut(o)&&ae(o)?o:$n(o)}function We(e,o,r){var i;o===void 0&&(o=[]),r===void 0&&(r=!0);let a=$n(e),s=a===((i=e.ownerDocument)==null?void 0:i.body),l=rt(a);return s?o.concat(l,l.visualViewport||[],ae(a)?a:[],l.frameElement&&r?We(l.frameElement):[]):o.concat(a,We(a,[],r))}function Mn(e){let o=at(e),r=parseFloat(o.width)||0,i=parseFloat(o.height)||0,a=ut(e),s=a?e.offsetWidth:r,l=a?e.offsetHeight:i,p=Se(r)!==s||Se(i)!==l;return p&&(r=s,i=l),{width:r,height:i,$:p}}function zn(e){return xt(e)?e:e.contextElement}function se(e){let o=zn(e);if(!ut(o))return At(1);let r=o.getBoundingClientRect(),{width:i,height:a,$:s}=Mn(o),l=(s?Se(r.width):r.width)/i,p=(s?Se(r.height):r.height)/a;return(!l||!Number.isFinite(l))&&(l=1),(!p||!Number.isFinite(p))&&(p=1),{x:l,y:p}}var la=At(0);function Fn(e){let o=rt(e);return!Me()||!o.visualViewport?la:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function ca(e,o,r){return o===void 0&&(o=!1),!r||o&&r!==rt(e)?!1:o}function Ce(e,o,r,i){o===void 0&&(o=!1),r===void 0&&(r=!1);let a=e.getBoundingClientRect(),s=zn(e),l=At(1);o&&(i?xt(i)&&(l=se(i)):l=se(e));let p=ca(s,r,i)?Fn(s):At(0),f=(a.left+p.x)/l.x,u=(a.top+p.y)/l.y,b=a.width/l.x,S=a.height/l.y;if(s){let R=rt(s),E=i&&xt(i)?rt(i):i,w=R.frameElement;for(;w&&i&&E!==R;){let _=se(w),U=w.getBoundingClientRect(),P=at(w),D=U.left+(w.clientLeft+parseFloat(P.paddingLeft))*_.x,j=U.top+(w.clientTop+parseFloat(P.paddingTop))*_.y;f*=_.x,u*=_.y,b*=_.x,S*=_.y,f+=D,u+=j,w=rt(w).frameElement}}return Ht({width:b,height:S,x:f,y:u})}function pa(e){let{rect:o,offsetParent:r,strategy:i}=e,a=ut(r),s=Nt(r);if(r===s)return o;let l={scrollLeft:0,scrollTop:0},p=At(1),f=At(0);if((a||!a&&i!=="fixed")&&((Rt(r)!=="body"||ae(s))&&(l=Oe(r)),ut(r))){let u=Ce(r);p=se(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 da(e){return Array.from(e.getClientRects())}function Gn(e){return Ce(Nt(e)).left+Oe(e).scrollLeft}function fa(e){let o=Nt(e),r=Oe(e),i=e.ownerDocument.body,a=Tt(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),s=Tt(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight),l=-r.scrollLeft+Gn(e),p=-r.scrollTop;return at(i).direction==="rtl"&&(l+=Tt(o.clientWidth,i.clientWidth)-a),{width:a,height:s,x:l,y:p}}function ua(e,o){let r=rt(e),i=Nt(e),a=r.visualViewport,s=i.clientWidth,l=i.clientHeight,p=0,f=0;if(a){s=a.width,l=a.height;let u=Me();(!u||u&&o==="fixed")&&(p=a.offsetLeft,f=a.offsetTop)}return{width:s,height:l,x:p,y:f}}function ha(e,o){let r=Ce(e,!0,o==="fixed"),i=r.top+e.clientTop,a=r.left+e.clientLeft,s=ut(e)?se(e):At(1),l=e.clientWidth*s.x,p=e.clientHeight*s.y,f=a*s.x,u=i*s.y;return{width:l,height:p,x:f,y:u}}function Wn(e,o,r){let i;if(o==="viewport")i=ua(e,r);else if(o==="document")i=fa(Nt(e));else if(xt(o))i=ha(o,r);else{let a=Fn(e);i={...o,x:o.x-a.x,y:o.y-a.y}}return Ht(i)}function Kn(e,o){let r=Mt(e);return r===o||!xt(r)||ve(r)?!1:at(r).position==="fixed"||Kn(r,o)}function ya(e,o){let r=o.get(e);if(r)return r;let i=We(e,[],!1).filter(p=>xt(p)&&Rt(p)!=="body"),a=null,s=at(e).position==="fixed",l=s?Mt(e):e;for(;xt(l)&&!ve(l);){let p=at(l),f=He(l);!f&&p.position==="fixed"&&(a=null),(s?!f&&!a:!f&&p.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||ae(l)&&!f&&Kn(e,l))?i=i.filter(b=>b!==l):a=p,l=Mt(l)}return o.set(e,i),i}function ma(e){let{element:o,boundary:r,rootBoundary:i,strategy:a}=e,l=[...r==="clippingAncestors"?ya(o,this._c):[].concat(r),i],p=l[0],f=l.reduce((u,b)=>{let S=Wn(o,b,a);return u.top=Tt(S.top,u.top),u.right=xe(S.right,u.right),u.bottom=xe(S.bottom,u.bottom),u.left=Tt(S.left,u.left),u},Wn(o,p,a));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function ga(e){return Mn(e)}function ba(e,o,r){let i=ut(o),a=Nt(o),s=r==="fixed",l=Ce(e,!0,s,o),p={scrollLeft:0,scrollTop:0},f=At(0);if(i||!i&&!s)if((Rt(o)!=="body"||ae(a))&&(p=Oe(o)),i){let u=Ce(o,!0,s,o);f.x=u.x+o.clientLeft,f.y=u.y+o.clientTop}else a&&(f.x=Gn(a));return{x:l.left+p.scrollLeft-f.x,y:l.top+p.scrollTop-f.y,width:l.width,height:l.height}}function Hn(e,o){return!ut(e)||at(e).position==="fixed"?null:o?o(e):e.offsetParent}function Zn(e,o){let r=rt(e);if(!ut(e))return r;let i=Hn(e,o);for(;i&&Bn(i)&&at(i).position==="static";)i=Hn(i,o);return i&&(Rt(i)==="html"||Rt(i)==="body"&&at(i).position==="static"&&!He(i))?r:i||Dn(e)||r}var xa=async function(e){let{reference:o,floating:r,strategy:i}=e,a=this.getOffsetParent||Zn,s=this.getDimensions;return{reference:ba(o,await a(r),i),floating:{x:0,y:0,...await s(r)}}};function Sa(e){return at(e).direction==="rtl"}var ze={convertOffsetParentRelativeRectToViewportRelativeRect:pa,getDocumentElement:Nt,getClippingRect:ma,getOffsetParent:Zn,getElementRects:xa,getClientRects:da,getDimensions:ga,getScale:se,isElement:xt,isRTL:Sa};var Vn=(e,o,r)=>{let i=new Map,a={platform:ze,...r},s={...a.platform,_c:i};return _n(e,o,{...a,platform:s})};function jn(e){return va(e)}function Io(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function va(e){for(let o=e;o;o=Io(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=Io(e);o;o=Io(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 qn(e,o,r){return Vn(e,o,{platform:{...ze,getOffsetParent:i=>ze.getOffsetParent(i,jn)},middleware:[Lo({crossAxis:!0}),wo({allowedPlacements:[r]})]})}var nt=function(e,o,r,i){var a=arguments.length,s=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(s=(a<3?l(s):a>3?l(o,r,s):l(o,r))||s);return a>3&&s&&Object.defineProperty(o,r,s),s},B=class extends Ee.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 Ee.Debouncer,this.revealDebouncer=new Ee.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Yn.html`
|
|
522
|
+
`;var $i=["top","right","bottom","left"],Wi=["start","end"],ao=$i.reduce((e,t)=>e.concat(t,t+"-"+Wi[0],t+"-"+Wi[1]),[]),Ft=Math.min,$e=Math.max,Gt=Math.round;var _e=e=>({x:e,y:e}),nc={left:"right",right:"left",bottom:"top",top:"bottom"},ic={start:"end",end:"start"};function so(e,t,o){return $e(e,Ft(t,o))}function ur(e,t){return typeof e=="function"?e(t):e}function Ot(e){return e.split("-")[0]}function ze(e){return e.split("-")[1]}function co(e){return e==="x"?"y":"x"}function lo(e){return e==="y"?"height":"width"}function pr(e){return["top","bottom"].includes(Ot(e))?"y":"x"}function uo(e){return co(pr(e))}function zi(e,t,o){o===void 0&&(o=!1);let n=ze(e),i=uo(e),a=lo(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=io(s)),[s,io(s)]}function Hi(e){return e.replace(/start|end/g,t=>ic[t])}function io(e){return e.replace(/left|right|bottom|top/g,t=>nc[t])}function ac(e){return{top:0,right:0,bottom:0,left:0,...e}}function Fi(e){return typeof e!="number"?ac(e):{top:e,right:e,bottom:e,left:e}}function tt(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Gi(e,t,o){let{reference:n,floating:i}=e,a=pr(t),s=uo(t),l=lo(s),u=Ot(t),p=a==="y",f=n.x+n.width/2-i.width/2,m=n.y+n.height/2-i.height/2,y=n[l]/2-i[l]/2,b;switch(u){case"top":b={x:f,y:n.y-i.height};break;case"bottom":b={x:f,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:m};break;case"left":b={x:n.x-i.width,y:m};break;default:b={x:n.x,y:n.y}}switch(ze(t)){case"start":b[s]-=y*(o&&p?-1:1);break;case"end":b[s]+=y*(o&&p?-1:1);break}return b}var ji=async(e,t,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,l=a.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(t)),p=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:m}=Gi(p,n,u),y=n,b={},g=0;for(let v=0;v<l.length;v++){let{name:N,fn:w}=l[v],{x:A,y:L,data:T,reset:M}=await w({x:f,y:m,initialPlacement:n,placement:y,strategy:i,middlewareData:b,rects:p,platform:s,elements:{reference:e,floating:t}});if(f=A??f,m=L??m,b={...b,[N]:{...b[N],...T}},M&&g<=50){g++,typeof M=="object"&&(M.placement&&(y=M.placement),M.rects&&(p=M.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):M.rects),{x:f,y:m}=Gi(p,y,u)),v=-1;continue}}return{x:f,y:m,placement:y,strategy:i,middlewareData:b}};async function po(e,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:u}=e,{boundary:p="clippingAncestors",rootBoundary:f="viewport",elementContext:m="floating",altBoundary:y=!1,padding:b=0}=ur(t,e),g=Fi(b),N=l[y?m==="floating"?"reference":"floating":m],w=tt(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(N)))==null||o?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:f,strategy:u})),A=m==="floating"?{...s.floating,x:n,y:i}:s.reference,L=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),T=await(a.isElement==null?void 0:a.isElement(L))?await(a.getScale==null?void 0:a.getScale(L))||{x:1,y:1}:{x:1,y:1},M=tt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:L,strategy:u}):A);return{top:(w.top-M.top+g.top)/T.y,bottom:(M.bottom-w.bottom+g.bottom)/T.y,left:(w.left-M.left+g.left)/T.x,right:(M.right-w.right+g.right)/T.x}}function sc(e,t,o){return(e?[...o.filter(i=>ze(i)===e),...o.filter(i=>ze(i)!==e)]:o.filter(i=>Ot(i)===i)).filter(i=>e?ze(i)===e||(t?Hi(i)!==i:!1):!0)}var fo=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,i;let{rects:a,middlewareData:s,placement:l,platform:u,elements:p}=t,{crossAxis:f=!1,alignment:m,allowedPlacements:y=ao,autoAlignment:b=!0,...g}=ur(e,t),v=m!==void 0||y===ao?sc(m||null,b,y):y,N=await po(t,g),w=((o=s.autoPlacement)==null?void 0:o.index)||0,A=v[w];if(A==null)return{};let L=zi(A,a,await(u.isRTL==null?void 0:u.isRTL(p.floating)));if(l!==A)return{reset:{placement:v[0]}};let T=[N[Ot(A)],N[L[0]],N[L[1]]],M=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:T}],ne=v[w+1];if(ne)return{data:{index:w+1,overflows:M},reset:{placement:ne}};let V=M.map(h=>{let x=ze(h.placement);return[h.placement,x&&f?h.overflows.slice(0,2).reduce((R,W)=>R+W,0):h.overflows[0],h.overflows]}).sort((h,x)=>h[1]-x[1]),fe=((i=V.filter(h=>h[2].slice(0,ze(h[0])?2:3).every(x=>x<=0))[0])==null?void 0:i[0])||V[0][0];return fe!==l?{data:{index:w+1,overflows:M},reset:{placement:fe}}:{}}}};var ho=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:N=>{let{x:w,y:A}=N;return{x:w,y:A}}},...u}=ur(e,t),p={x:o,y:n},f=await po(t,u),m=pr(Ot(i)),y=co(m),b=p[y],g=p[m];if(a){let N=y==="y"?"top":"left",w=y==="y"?"bottom":"right",A=b+f[N],L=b-f[w];b=so(A,b,L)}if(s){let N=m==="y"?"top":"left",w=m==="y"?"bottom":"right",A=g+f[N],L=g-f[w];g=so(A,g,L)}let v=l.fn({...t,[y]:b,[m]:g});return{...v,data:{x:v.x-o,y:v.y-n}}}}};function ke(e){return Vi(e)?(e.nodeName||"").toLowerCase():"#document"}function ce(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function De(e){var t;return(t=(Vi(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Vi(e){return e instanceof Node||e instanceof ce(e).Node}function Ae(e){return e instanceof Element||e instanceof ce(e).Element}function xe(e){return e instanceof HTMLElement||e instanceof ce(e).HTMLElement}function Ki(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ce(e).ShadowRoot}function Ct(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=de(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function Zi(e){return["table","td","th"].includes(ke(e))}function hr(e){let t=mr(),o=de(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function qi(e){let t=rt(e);for(;xe(t)&&!jt(t);){if(hr(t))return t;t=rt(t)}return null}function mr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function jt(e){return["html","body","#document"].includes(ke(e))}function de(e){return ce(e).getComputedStyle(e)}function Kt(e){return Ae(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function rt(e){if(ke(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Ki(e)&&e.host||De(e);return Ki(t)?t.host:t}function Yi(e){let t=rt(e);return jt(t)?e.ownerDocument?e.ownerDocument.body:e.body:xe(t)&&Ct(t)?t:Yi(t)}function fr(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=Yi(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=ce(i);return a?t.concat(s,s.visualViewport||[],Ct(i)?i:[],s.frameElement&&o?fr(s.frameElement):[]):t.concat(i,fr(i,[],o))}function Ji(e){let t=de(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=xe(e),a=i?e.offsetWidth:o,s=i?e.offsetHeight:n,l=Gt(o)!==a||Gt(n)!==s;return l&&(o=a,n=s),{width:o,height:n,$:l}}function ea(e){return Ae(e)?e:e.contextElement}function Et(e){let t=ea(e);if(!xe(t))return _e(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=Ji(t),s=(a?Gt(o.width):o.width)/n,l=(a?Gt(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var cc=_e(0);function ta(e){let t=ce(e);return!mr()||!t.visualViewport?cc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function lc(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==ce(e)?!1:t}function Vt(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=ea(e),s=_e(1);t&&(n?Ae(n)&&(s=Et(n)):s=Et(e));let l=lc(a,o,n)?ta(a):_e(0),u=(i.left+l.x)/s.x,p=(i.top+l.y)/s.y,f=i.width/s.x,m=i.height/s.y;if(a){let y=ce(a),b=n&&Ae(n)?ce(n):n,g=y.frameElement;for(;g&&n&&b!==y;){let v=Et(g),N=g.getBoundingClientRect(),w=de(g),A=N.left+(g.clientLeft+parseFloat(w.paddingLeft))*v.x,L=N.top+(g.clientTop+parseFloat(w.paddingTop))*v.y;u*=v.x,p*=v.y,f*=v.x,m*=v.y,u+=A,p+=L,g=ce(g).frameElement}}return tt({width:f,height:m,x:u,y:p})}function dc(e){let{rect:t,offsetParent:o,strategy:n}=e,i=xe(o),a=De(o);if(o===a)return t;let s={scrollLeft:0,scrollTop:0},l=_e(1),u=_e(0);if((i||!i&&n!=="fixed")&&((ke(o)!=="body"||Ct(a))&&(s=Kt(o)),xe(o))){let p=Vt(o);l=Et(o),u.x=p.x+o.clientLeft,u.y=p.y+o.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+u.x,y:t.y*l.y-s.scrollTop*l.y+u.y}}function uc(e){return Array.from(e.getClientRects())}function ra(e){return Vt(De(e)).left+Kt(e).scrollLeft}function pc(e){let t=De(e),o=Kt(e),n=e.ownerDocument.body,i=$e(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=$e(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+ra(e),l=-o.scrollTop;return de(n).direction==="rtl"&&(s+=$e(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function fc(e,t){let o=ce(e),n=De(e),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,u=0;if(i){a=i.width,s=i.height;let p=mr();(!p||p&&t==="fixed")&&(l=i.offsetLeft,u=i.offsetTop)}return{width:a,height:s,x:l,y:u}}function hc(e,t){let o=Vt(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=xe(e)?Et(e):_e(1),s=e.clientWidth*a.x,l=e.clientHeight*a.y,u=i*a.x,p=n*a.y;return{width:s,height:l,x:u,y:p}}function Xi(e,t,o){let n;if(t==="viewport")n=fc(e,o);else if(t==="document")n=pc(De(e));else if(Ae(t))n=hc(t,o);else{let i=ta(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return tt(n)}function oa(e,t){let o=rt(e);return o===t||!Ae(o)||jt(o)?!1:de(o).position==="fixed"||oa(o,t)}function mc(e,t){let o=t.get(e);if(o)return o;let n=fr(e,[],!1).filter(l=>Ae(l)&&ke(l)!=="body"),i=null,a=de(e).position==="fixed",s=a?rt(e):e;for(;Ae(s)&&!jt(s);){let l=de(s),u=hr(s);!u&&l.position==="fixed"&&(i=null),(a?!u&&!i:!u&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Ct(s)&&!u&&oa(e,s))?n=n.filter(f=>f!==s):i=l,s=rt(s)}return t.set(e,n),n}function yc(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?mc(t,this._c):[].concat(o),n],l=s[0],u=s.reduce((p,f)=>{let m=Xi(t,f,i);return p.top=$e(m.top,p.top),p.right=Ft(m.right,p.right),p.bottom=Ft(m.bottom,p.bottom),p.left=$e(m.left,p.left),p},Xi(t,l,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function gc(e){return Ji(e)}function bc(e,t,o){let n=xe(t),i=De(t),a=o==="fixed",s=Vt(e,!0,a,t),l={scrollLeft:0,scrollTop:0},u=_e(0);if(n||!n&&!a)if((ke(t)!=="body"||Ct(i))&&(l=Kt(t)),n){let p=Vt(t,!0,a,t);u.x=p.x+t.clientLeft,u.y=p.y+t.clientTop}else i&&(u.x=ra(i));return{x:s.left+l.scrollLeft-u.x,y:s.top+l.scrollTop-u.y,width:s.width,height:s.height}}function Qi(e,t){return!xe(e)||de(e).position==="fixed"?null:t?t(e):e.offsetParent}function na(e,t){let o=ce(e);if(!xe(e))return o;let n=Qi(e,t);for(;n&&Zi(n)&&de(n).position==="static";)n=Qi(n,t);return n&&(ke(n)==="html"||ke(n)==="body"&&de(n).position==="static"&&!hr(n))?o:n||qi(e)||o}var xc=async function(e){let{reference:t,floating:o,strategy:n}=e,i=this.getOffsetParent||na,a=this.getDimensions;return{reference:bc(t,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function vc(e){return de(e).direction==="rtl"}var yr={convertOffsetParentRelativeRectToViewportRelativeRect:dc,getDocumentElement:De,getClippingRect:yc,getOffsetParent:na,getElementRects:xc,getClientRects:uc,getDimensions:gc,getScale:Et,isElement:Ae,isRTL:vc};var ia=(e,t,o)=>{let n=new Map,i={platform:yr,...o},a={...i.platform,_c:n};return ji(e,t,{...i,platform:a})};function aa(e){return Sc(e)}function mo(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Sc(e){for(let t=e;t;t=mo(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=mo(e);t;t=mo(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function sa(e,t,o){return ia(e,t,{platform:{...yr,getOffsetParent:n=>yr.getOffsetParent(n,aa)},middleware:[ho({crossAxis:!0}),fo({allowedPlacements:[o]})]})}var le=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},F=class extends Zt.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 Zt.Debouncer,this.revealDebouncer=new Zt.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ca.html`
|
|
523
523
|
<div part="container"
|
|
524
524
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
525
525
|
@mouseenter=${this.onHover}
|
|
@@ -537,45 +537,45 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
537
537
|
</div>
|
|
538
538
|
</div>
|
|
539
539
|
</div>
|
|
540
|
-
`}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="",qn(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))}};B.elementDefinitions={"ft-typography":ft};B.styles=Rn;nt([(0,z.property)()],B.prototype,"text",void 0);nt([(0,z.property)({type:Boolean})],B.prototype,"manual",void 0);nt([(0,z.property)({type:Boolean})],B.prototype,"inline",void 0);nt([(0,z.property)({type:Number})],B.prototype,"delay",void 0);nt([(0,z.property)()],B.prototype,"position",void 0);nt([(0,z.queryAssignedNodes)()],B.prototype,"slotNodes",void 0);nt([(0,z.query)(".ft-tooltip--container")],B.prototype,"container",void 0);nt([(0,z.query)(".ft-tooltip")],B.prototype,"tooltip",void 0);nt([(0,z.query)(".ft-tooltip--content")],B.prototype,"tooltipContent",void 0);nt([(0,z.state)()],B.prototype,"visible",void 0);nt([(0,z.eventOptions)({passive:!0})],B.prototype,"onTouch",null);nt([(0,z.eventOptions)({passive:!0})],B.prototype,"onHover",null);nt([(0,z.eventOptions)({passive:!0})],B.prototype,"onOut",null);nt([(0,z.eventOptions)({passive:!0})],B.prototype,"onClick",null);(0,Xn.customElement)("ft-tooltip")(B);var oi=m(A());var Ae=m($()),zt=m(lt()),ti=m(A()),ei=m(Jn());var Fe;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.EYE="",e.SHARE="󨃱"})(Fe||(Fe={}));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 Ad=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])]);var Rd={[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 _t;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(_t||(_t={}));var Ge=function(e,o,r,i){var a=arguments.length,s=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(s=(a<3?l(s):a>3?l(o,r,s):l(o,r))||s);return a>3&&s&&Object.defineProperty(o,r,s),s},pt=class extends ti.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Ae.nothing}render(){let o=this.variant&&Object.values(_t).includes(this.variant)?this.variant:_t.fluid_topics,r=o!==_t.material||!!this.value;return Ae.html`
|
|
541
|
-
<i class="ft-icon ft-icon--${
|
|
542
|
-
${(0,
|
|
543
|
-
<slot ?hidden=${
|
|
540
|
+
`}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,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let 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";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",sa(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))}};F.elementDefinitions={"ft-typography":be};F.styles=Bi;le([(0,Z.property)()],F.prototype,"text",void 0);le([(0,Z.property)({type:Boolean})],F.prototype,"manual",void 0);le([(0,Z.property)({type:Boolean})],F.prototype,"inline",void 0);le([(0,Z.property)({type:Number})],F.prototype,"delay",void 0);le([(0,Z.property)()],F.prototype,"position",void 0);le([(0,Z.queryAssignedNodes)()],F.prototype,"slotNodes",void 0);le([(0,Z.query)(".ft-tooltip--container")],F.prototype,"container",void 0);le([(0,Z.query)(".ft-tooltip")],F.prototype,"tooltip",void 0);le([(0,Z.query)(".ft-tooltip--content")],F.prototype,"tooltipContent",void 0);le([(0,Z.state)()],F.prototype,"visible",void 0);le([(0,Z.eventOptions)({passive:!0})],F.prototype,"onTouch",null);le([(0,Z.eventOptions)({passive:!0})],F.prototype,"onHover",null);le([(0,Z.eventOptions)({passive:!0})],F.prototype,"onOut",null);le([(0,Z.eventOptions)({passive:!0})],F.prototype,"onClick",null);(0,la.customElement)("ft-tooltip")(F);var ha=S(_());var qt=S(z()),ot=S(ee()),pa=S(_()),fa=S(ua());var gr;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.EYE="",e.SHARE="󨃱"})(gr||(gr={}));var O;(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=""})(O||(O={}));var ph=new Map([...["abw"].map(e=>[e,O.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,O.AUDIO]),...["avi"].map(e=>[e,O.AVI]),...["chm","xhs"].map(e=>[e,O.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,O.CODE]),...["csv"].map(e=>[e,O.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,O.DITA]),...["epub"].map(e=>[e,O.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,O.EXCEL]),...["flac"].map(e=>[e,O.FLAC]),...["gif"].map(e=>[e,O.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,O.GZIP]),...["html","htm","xhtml"].map(e=>[e,O.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,O.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,O.JPEG]),...["json"].map(e=>[e,O.JSON]),...["m4a","m4p"].map(e=>[e,O.M4A]),...["mov","qt"].map(e=>[e,O.MOV]),...["mp3"].map(e=>[e,O.MP3]),...["mp4","m4v"].map(e=>[e,O.MP4]),...["ogg","oga"].map(e=>[e,O.OGG]),...["pdf","ps"].map(e=>[e,O.PDF]),...["png"].map(e=>[e,O.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,O.POWERPOINT]),...["rar"].map(e=>[e,O.RAR]),...["stp"].map(e=>[e,O.STP]),...["txt","rtf","md","mdown"].map(e=>[e,O.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,O.VIDEO]),...["wav"].map(e=>[e,O.WAV]),...["wma"].map(e=>[e,O.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,O.WORD]),...["xml","xsl","rdf"].map(e=>[e,O.XML]),...["yaml","yml","x-yaml"].map(e=>[e,O.YAML]),...["zip"].map(e=>[e,O.ZIP])]);var fh={[O.ABW]:"#91ABC6",[O.AUDIO]:"#1795E3",[O.AVI]:"#E63324",[O.CHM]:"#71C3EB",[O.CODE]:"#71C3EB",[O.CSV]:"#1F7345",[O.DITA]:"#71C3EB",[O.EPUB]:"#85B926",[O.EXCEL]:"#1F7345",[O.FLAC]:"#1795E3",[O.GIF]:"#59B031",[O.GZIP]:"#F8AB36",[O.HTML]:"#71C3EB",[O.IMAGE]:"#59B031",[O.JPEG]:"#59B031",[O.JSON]:"#71C3EB",[O.M4A]:"#1795E3",[O.MOV]:"#E63324",[O.MP3]:"#1795E3",[O.MP4]:"#E63324",[O.OGG]:"#1795E3",[O.PDF]:"#E44948",[O.PNG]:"#59B031",[O.POWERPOINT]:"#B54A2B",[O.RAR]:"#F8AB36",[O.STP]:"#3764B1",[O.TEXT]:"#3162AB",[O.UNKNOWN]:"#999999",[O.VIDEO]:"#E63324",[O.WAV]:"#1795E3",[O.WMA]:"#1795E3",[O.WORD]:"#3162AB",[O.XML]:"#71C3EB",[O.YAML]:"#71C3EB",[O.ZIP]:"#F8AB36"};var He;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(He||(He={}));var br=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},me=class extends pa.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=qt.nothing}render(){let t=this.variant&&Object.values(He).includes(this.variant)?this.variant:He.fluid_topics,o=t!==He.material||!!this.value;return qt.html`
|
|
541
|
+
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
542
|
+
${(0,fa.unsafeHTML)(this.resolvedIcon)}
|
|
543
|
+
<slot ?hidden=${o}></slot>
|
|
544
544
|
</i>
|
|
545
|
-
`}get textContent(){var o
|
|
545
|
+
`}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.textContent;switch(this.variant){case He.file_format:this.resolvedIcon=(t=O[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case He.material:this.resolvedIcon=this.value||qt.nothing;break;default:this.resolvedIcon=(o=gr[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};me.elementDefinitions={};me.styles=ci;br([(0,ot.property)()],me.prototype,"variant",void 0);br([(0,ot.property)()],me.prototype,"value",void 0);br([(0,ot.state)()],me.prototype,"resolvedIcon",void 0);br([(0,ot.query)("slot")],me.prototype,"slottedContent",void 0);(0,ha.customElement)("ft-icon")(me);var ga=S(_());var ma=S(z()),ya=S(_());var nt=class extends ya.FtLitElement{render(){return ma.html`
|
|
546
546
|
<div class="ft-loader">
|
|
547
547
|
<div></div>
|
|
548
548
|
<div></div>
|
|
549
549
|
<div></div>
|
|
550
550
|
<div></div>
|
|
551
551
|
</div>
|
|
552
|
-
`}};
|
|
552
|
+
`}};nt.styles=ai;(0,ga.customElement)("ft-loader")(nt);var wt=S(z()),ba=S(Zr()),re=S(ee()),ue=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},K=class extends(0,At.toFtFormComponent)(At.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",t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){return this.addTooltipIfNeeded(wt.html`
|
|
553
553
|
<button part="button"
|
|
554
|
-
class="${(0,
|
|
554
|
+
class="${(0,ba.classMap)(this.buttonClasses)}"
|
|
555
555
|
aria-label="${this.getLabel()}"
|
|
556
556
|
?disabled=${this.isDisabled()}>
|
|
557
557
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
558
558
|
<ft-typography part="label"
|
|
559
559
|
variant=${this.typographyVariant}
|
|
560
560
|
element="span"
|
|
561
|
-
class="ft-button--label ${
|
|
561
|
+
class="ft-button--label ${At.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
562
562
|
?hidden=${!this.hasTextContent()}>
|
|
563
563
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
564
564
|
</ft-typography>
|
|
565
565
|
${this.resolveIcon()}
|
|
566
566
|
</button>
|
|
567
|
-
`)}addTooltipIfNeeded(
|
|
567
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?wt.html`
|
|
568
568
|
<ft-tooltip part="tooltip"
|
|
569
569
|
text="${this.getLabel()}"
|
|
570
570
|
position="${this.tooltipPosition}">
|
|
571
|
-
${
|
|
571
|
+
${t}
|
|
572
572
|
</ft-tooltip>
|
|
573
|
-
`:
|
|
574
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
573
|
+
`:t}resolveIcon(){return this.loading?wt.html`
|
|
574
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?wt.html`
|
|
575
575
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
576
|
-
`:
|
|
576
|
+
`:wt.html`
|
|
577
577
|
<slot part="icon" name="icon"></slot>
|
|
578
|
-
`}focus(){var
|
|
578
|
+
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(o=>this.unslotText(o)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};K.elementDefinitions={"ft-ripple":H,"ft-tooltip":F,"ft-typography":be,"ft-icon":me,"ft-loader":nt};ue([(0,re.property)({type:String,reflect:!0})],K.prototype,"role",void 0);ue([(0,re.property)()],K.prototype,"type",void 0);ue([(0,re.property)({type:Boolean})],K.prototype,"disabled",void 0);ue([(0,re.property)()],K.prototype,"label",void 0);ue([(0,re.property)()],K.prototype,"icon",void 0);ue([(0,re.property)()],K.prototype,"iconVariant",void 0);ue([(0,re.property)({type:Boolean})],K.prototype,"trailingIcon",void 0);ue([(0,re.property)({type:Boolean})],K.prototype,"loading",void 0);ue([(0,re.property)()],K.prototype,"tooltipPosition",void 0);ue([(0,re.property)({type:Boolean})],K.prototype,"hideTooltip",void 0);ue([(0,re.property)({type:Boolean})],K.prototype,"forceTooltip",void 0);ue([(0,re.query)(".ft-button")],K.prototype,"button",void 0);ue([(0,re.query)(".ft-button--label slot")],K.prototype,"slottedContent",void 0);var xr=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ve=class extends K{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"}};ve.styles=[xa.safariEllipsisFix,pi];xr([(0,Yt.property)({type:Boolean})],ve.prototype,"primary",void 0);xr([(0,Yt.property)({type:Boolean})],ve.prototype,"outlined",void 0);xr([(0,Yt.property)({type:Boolean})],ve.prototype,"dense",void 0);xr([(0,Yt.property)({type:Boolean})],ve.prototype,"round",void 0);var Nt=S(ee());var Oa=S(_());var va=S(z()),U=S(_());var Sa=[va.css`
|
|
579
579
|
:host {
|
|
580
580
|
display: inline-block;
|
|
581
581
|
max-width: 100%;
|
|
@@ -625,7 +625,7 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
625
625
|
}
|
|
626
626
|
|
|
627
627
|
.ft-button:focus-visible {
|
|
628
|
-
outline-color: ${
|
|
628
|
+
outline-color: ${E.focusFocusRingColor};
|
|
629
629
|
outline-style: solid;
|
|
630
630
|
}
|
|
631
631
|
|
|
@@ -654,158 +654,158 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
654
654
|
/** Primary styles **/
|
|
655
655
|
|
|
656
656
|
.ft-button--primary {
|
|
657
|
-
${(0,
|
|
657
|
+
${(0,U.setVariable)(ie.color,E.primaryIconColor)};
|
|
658
658
|
|
|
659
|
-
${(0,
|
|
660
|
-
${(0,
|
|
661
|
-
${(0,
|
|
662
|
-
${(0,
|
|
663
|
-
${(0,
|
|
659
|
+
${(0,U.setVariable)(D.color,E.primaryStateLayerColor)};
|
|
660
|
+
${(0,U.setVariable)(D.opacityContentOnSurfaceHover,E.primaryHoverStateLayerOpacity)};
|
|
661
|
+
${(0,U.setVariable)(D.opacityContentOnSurfaceFocused,E.primaryFocusStateLayerOpacity)};
|
|
662
|
+
${(0,U.setVariable)(D.opacityContentOnSurfaceSelected,E.primaryActiveStateLayerOpacity)};
|
|
663
|
+
${(0,U.setVariable)(D.opacityContentOnSurfacePressed,E.primaryActiveStateLayerOpacity)};
|
|
664
664
|
|
|
665
|
-
background-color: ${
|
|
666
|
-
color: ${
|
|
665
|
+
background-color: ${E.primaryBackgroundColor};
|
|
666
|
+
color: ${E.primaryColor};
|
|
667
667
|
border-style: none;
|
|
668
668
|
}
|
|
669
669
|
|
|
670
670
|
.ft-button--primary[disabled] {
|
|
671
|
-
opacity: ${
|
|
671
|
+
opacity: ${E.primaryDisabledComponentOpacity};
|
|
672
672
|
}
|
|
673
673
|
|
|
674
674
|
.ft-button--primary ft-icon {
|
|
675
|
-
color: ${
|
|
675
|
+
color: ${E.primaryIconColor};
|
|
676
676
|
}
|
|
677
677
|
|
|
678
678
|
/** Secondary styles **/
|
|
679
679
|
|
|
680
680
|
.ft-button--secondary {
|
|
681
|
-
${(0,
|
|
681
|
+
${(0,U.setVariable)(ie.color,E.secondaryIconColor)};
|
|
682
682
|
|
|
683
|
-
${(0,
|
|
684
|
-
${(0,
|
|
685
|
-
${(0,
|
|
686
|
-
${(0,
|
|
687
|
-
${(0,
|
|
683
|
+
${(0,U.setVariable)(D.color,E.secondaryStateLayerColor)};
|
|
684
|
+
${(0,U.setVariable)(D.opacityContentOnSurfaceHover,E.secondaryHoverStateLayerOpacity)};
|
|
685
|
+
${(0,U.setVariable)(D.opacityContentOnSurfaceFocused,E.secondaryFocusStateLayerOpacity)};
|
|
686
|
+
${(0,U.setVariable)(D.opacityContentOnSurfaceSelected,E.secondaryActiveStateLayerOpacity)};
|
|
687
|
+
${(0,U.setVariable)(D.opacityContentOnSurfacePressed,E.secondaryActiveStateLayerOpacity)};
|
|
688
688
|
|
|
689
|
-
background-color: ${
|
|
690
|
-
color: ${
|
|
691
|
-
border-color: ${
|
|
689
|
+
background-color: ${E.secondaryBackgroundColor};
|
|
690
|
+
color: ${E.secondaryColor};
|
|
691
|
+
border-color: ${E.secondaryBorderColor};
|
|
692
692
|
border-style: solid;
|
|
693
693
|
}
|
|
694
694
|
|
|
695
695
|
.ft-button--secondary[disabled] {
|
|
696
|
-
opacity: ${
|
|
696
|
+
opacity: ${E.secondaryDisabledComponentOpacity};
|
|
697
697
|
}
|
|
698
698
|
|
|
699
699
|
.ft-button--secondary ft-icon {
|
|
700
|
-
color: ${
|
|
700
|
+
color: ${E.secondaryIconColor};
|
|
701
701
|
}
|
|
702
702
|
|
|
703
703
|
/** Tertiary styles **/
|
|
704
704
|
|
|
705
705
|
.ft-button--tertiary {
|
|
706
|
-
${(0,
|
|
706
|
+
${(0,U.setVariable)(ie.color,E.tertiaryIconColor)};
|
|
707
707
|
|
|
708
|
-
${(0,
|
|
709
|
-
${(0,
|
|
710
|
-
${(0,
|
|
711
|
-
${(0,
|
|
712
|
-
${(0,
|
|
708
|
+
${(0,U.setVariable)(D.color,E.tertiaryStateLayerColor)};
|
|
709
|
+
${(0,U.setVariable)(D.opacityContentOnSurfaceHover,E.tertiaryHoverStateLayerOpacity)};
|
|
710
|
+
${(0,U.setVariable)(D.opacityContentOnSurfaceFocused,E.tertiaryFocusStateLayerOpacity)};
|
|
711
|
+
${(0,U.setVariable)(D.opacityContentOnSurfaceSelected,E.tertiaryActiveStateLayerOpacity)};
|
|
712
|
+
${(0,U.setVariable)(D.opacityContentOnSurfacePressed,E.tertiaryActiveStateLayerOpacity)};
|
|
713
713
|
|
|
714
|
-
background-color: ${
|
|
715
|
-
color: ${
|
|
714
|
+
background-color: ${E.tertiaryBackgroundColor};
|
|
715
|
+
color: ${E.tertiaryColor};
|
|
716
716
|
border-style: none;
|
|
717
717
|
}
|
|
718
718
|
|
|
719
719
|
.ft-button--tertiary[disabled] {
|
|
720
|
-
opacity: ${
|
|
720
|
+
opacity: ${E.tertiaryDisabledComponentOpacity};
|
|
721
721
|
}
|
|
722
722
|
|
|
723
723
|
.ft-button--tertiary ft-icon {
|
|
724
|
-
color: ${
|
|
724
|
+
color: ${E.tertiaryIconColor};
|
|
725
725
|
}
|
|
726
726
|
|
|
727
727
|
/** Neutral styles **/
|
|
728
728
|
|
|
729
729
|
.ft-button--neutral {
|
|
730
|
-
${(0,
|
|
730
|
+
${(0,U.setVariable)(ie.color,E.neutralIconColor)};
|
|
731
731
|
|
|
732
|
-
${(0,
|
|
733
|
-
${(0,
|
|
734
|
-
${(0,
|
|
735
|
-
${(0,
|
|
736
|
-
${(0,
|
|
732
|
+
${(0,U.setVariable)(D.backgroundColor,E.neutralStateLayerColor)};
|
|
733
|
+
${(0,U.setVariable)(D.opacityContentOnSurfaceHover,E.neutralHoverStateLayerOpacity)};
|
|
734
|
+
${(0,U.setVariable)(D.opacityContentOnSurfaceFocused,E.neutralFocusStateLayerOpacity)};
|
|
735
|
+
${(0,U.setVariable)(D.opacityContentOnSurfaceSelected,E.neutralActiveStateLayerOpacity)};
|
|
736
|
+
${(0,U.setVariable)(D.opacityContentOnSurfacePressed,E.neutralActiveStateLayerOpacity)};
|
|
737
737
|
|
|
738
|
-
background-color: ${
|
|
739
|
-
color: ${
|
|
738
|
+
background-color: ${E.neutralBackgroundColor};
|
|
739
|
+
color: ${E.neutralColor};
|
|
740
740
|
border-style: none;
|
|
741
741
|
}
|
|
742
742
|
|
|
743
743
|
.ft-button--neutral[disabled] {
|
|
744
|
-
opacity: ${
|
|
744
|
+
opacity: ${E.neutralDisabledComponentOpacity};
|
|
745
745
|
}
|
|
746
746
|
|
|
747
747
|
.ft-button--neutral ft-icon {
|
|
748
|
-
color: ${
|
|
748
|
+
color: ${E.neutralIconColor};
|
|
749
749
|
}
|
|
750
750
|
|
|
751
751
|
/** Large styles **/
|
|
752
752
|
|
|
753
753
|
.ft-button--large {
|
|
754
|
-
${(0,
|
|
755
|
-
${(0,
|
|
754
|
+
${(0,U.setVariable)(ae.size,E.largeIconSize)};
|
|
755
|
+
${(0,U.setVariable)(ie.size,E.largeIconSize)};
|
|
756
756
|
|
|
757
|
-
height: ${
|
|
758
|
-
padding: 0 ${
|
|
759
|
-
gap: ${
|
|
760
|
-
border-radius: ${
|
|
761
|
-
border-width: ${
|
|
757
|
+
height: ${E.largeHeight};
|
|
758
|
+
padding: 0 ${E.largeHorizontalPadding};
|
|
759
|
+
gap: ${E.largeGap};
|
|
760
|
+
border-radius: ${E.largeBorderRadius};
|
|
761
|
+
border-width: ${E.largeBorderWidth};
|
|
762
762
|
}
|
|
763
763
|
|
|
764
764
|
.ft-button--large:focus-visible {
|
|
765
|
-
outline-width: ${
|
|
766
|
-
outline-offset: ${
|
|
765
|
+
outline-width: ${E.largeFocusOutlineWidth};
|
|
766
|
+
outline-offset: ${E.largeFocusOutlineOffset};
|
|
767
767
|
}
|
|
768
768
|
|
|
769
769
|
.ft-button--large.ft-button--icon-only {
|
|
770
|
-
width: ${
|
|
770
|
+
width: ${E.largeIconOnlyWidth};
|
|
771
771
|
padding: unset;
|
|
772
772
|
}
|
|
773
773
|
|
|
774
774
|
/** Small styles **/
|
|
775
775
|
|
|
776
776
|
.ft-button--small {
|
|
777
|
-
${(0,
|
|
778
|
-
${(0,
|
|
777
|
+
${(0,U.setVariable)(ae.size,E.smallIconSize)};
|
|
778
|
+
${(0,U.setVariable)(ie.size,E.smallIconSize)};
|
|
779
779
|
|
|
780
|
-
height: ${
|
|
781
|
-
padding: 0 ${
|
|
782
|
-
gap: ${
|
|
783
|
-
border-radius: ${
|
|
784
|
-
border-width: ${
|
|
780
|
+
height: ${E.smallHeight};
|
|
781
|
+
padding: 0 ${E.smallHorizontalPadding};
|
|
782
|
+
gap: ${E.smallGap};
|
|
783
|
+
border-radius: ${E.smallBorderRadius};
|
|
784
|
+
border-width: ${E.smallBorderWidth};
|
|
785
785
|
}
|
|
786
786
|
|
|
787
787
|
.ft-button--small:focus-visible {
|
|
788
|
-
outline-width: ${
|
|
789
|
-
outline-offset: ${
|
|
788
|
+
outline-width: ${E.smallFocusOutlineWidth};
|
|
789
|
+
outline-offset: ${E.smallFocusOutlineOffset};
|
|
790
790
|
}
|
|
791
791
|
|
|
792
792
|
.ft-button--small.ft-button--icon-only {
|
|
793
|
-
width: ${
|
|
793
|
+
width: ${E.smallIconOnlyWidth};
|
|
794
794
|
padding: unset;
|
|
795
795
|
}
|
|
796
|
-
`,
|
|
797
|
-
`;var
|
|
796
|
+
`,U.noTextSelect];var Xt=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ne=class extends K{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?et.caption1medium:et.body2medium}};Ne.styles=[Oa.safariEllipsisFix,Sa];Xt([(0,Nt.property)({type:Boolean})],Ne.prototype,"primary",void 0);Xt([(0,Nt.property)({type:Boolean})],Ne.prototype,"secondary",void 0);Xt([(0,Nt.property)({type:Boolean})],Ne.prototype,"tertiary",void 0);Xt([(0,Nt.property)({type:Boolean})],Ne.prototype,"neutral",void 0);Xt([(0,Nt.property)({type:Boolean})],Ne.prototype,"small",void 0);(0,yo.customElement)("ft-button")(ve);(0,yo.customElement)("ftds-button")(Ne);var Ms=S(_()),Bs=S(ee());var Qo=S(_());var Oc=S(_());var gm=S(Ea(),1);var wa;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(wa||(wa={}));var Aa;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(Aa||(Aa={}));var Na;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(Na||(Na={}));var Ra;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})(Ra||(Ra={}));var Pa;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Pa||(Pa={}));var Ta;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Ta||(Ta={}));var La;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(La||(La={}));var Ia;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Ia||(Ia={}));var _a;(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"})(_a||(_a={}));var ka;(function(e){e.ASC="ASC",e.DESC="DESC"})(ka||(ka={}));var Da;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Da||(Da={}));var go;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(go||(go={}));var Ua;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Ua||(Ua={}));var Ma;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Ma||(Ma={}));var Ba;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Ba||(Ba={}));var Wa;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(Wa||(Wa={}));var bo;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS"})(bo||(bo={}));var X;(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"})(X||(X={}));var $a;(function(e){e.VALID="VALID",e.INVALID="INVALID"})($a||($a={}));var fm={[X.PERSONAL_BOOK_SHARE_USER]:[X.PERSONAL_BOOK_USER],[X.HTML_EXPORT_USER]:[X.PERSONAL_BOOK_USER],[X.PDF_EXPORT_USER]:[X.PERSONAL_BOOK_USER],[X.KHUB_ADMIN]:[X.CONTENT_PUBLISHER],[X.ADMIN]:[X.KHUB_ADMIN,X.USERS_ADMIN,X.PORTAL_ADMIN],[X.DEVELOPER]:[X.BETA_USER,X.DEBUG_USER]};var Us=S(_());var Ka=S(z()),ye=S(ee()),Se=S(_());var za=S(z());var Ha=za.css`
|
|
797
|
+
`;var Fa=S(_()),Cc="ft-app-info",Ec={},k=Fa.FtReduxStore.get({name:Cc,reducers:Ec,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 Fe=S(_());var xo=S(_());var it=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=k.getState(),i=t??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(t){return new Promise(o=>{let n=e.get(t);if(n)o(n);else{let i=k.subscribe(()=>{n=e.get(t),n&&(i(),o(n))})}})}};var Ue=class{constructor(t=!0,o){var n;this.overrideApi=o;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new xo.CacheRegistry,this.cache=t?i.commonCache:new xo.CacheRegistry}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:it.get()}get awaitApi(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:it.await()}clearCache(){this.cache.clearAll()}};var Ga,wc=Symbol("clearAfterUnitTest"),vr=class extends Ue{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ga]=()=>{this.defaultMessages={},this.cache=new Fe.CacheRegistry,this.listeners={}},this.currentUiLocale=k.getState().uiLocale,k.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=k.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),Object.keys(o).length>0){let i={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};(0,Fe.deepEqual)(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...n){var i,a,s;t=t.toLowerCase(),this.fetchContext(t);let l=(a=(i=this.cache.getNow(t))===null||i===void 0?void 0:i.messages)!==null&&a!==void 0?a:{};return new Fe.ParametrizedLabelResolver((s=this.defaultMessages[t])!==null&&s!==void 0?s:{},l).resolve(o,...n)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),await this.notify(t)}catch(o){console.error(o)}}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var i;return(i=this.listeners[t])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(o=>(0,Fe.delay)(0).then(()=>o()).catch(()=>null)))}};Ga=wc;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends vr{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends vr{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var Rt=window.FluidTopicsI18nService,ja=window.FluidTopicsCustomI18nService;var oe=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},G=class extends Se.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=()=>it.get(),this.messageContexts=[],this.cache=new Se.CacheRegistry,this.cleanSessionDebouncer=new Se.Debouncer}render(){return Ka.html`
|
|
798
798
|
<slot></slot>
|
|
799
|
-
`}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=>de.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())}};W.elementDefinitions={};W.styles=Ii;J([(0,dt.property)()],W.prototype,"baseUrl",void 0);J([(0,dt.property)()],W.prototype,"apiIntegrationIdentifier",void 0);J([(0,dt.property)()],W.prototype,"uiLocale",void 0);J([(0,yt.jsonProperty)(null)],W.prototype,"availableUiLocales",void 0);J([(0,yt.jsonProperty)(null)],W.prototype,"metadataConfiguration",void 0);J([(0,dt.property)({type:Boolean})],W.prototype,"editorMode",void 0);J([(0,dt.property)({type:Boolean})],W.prototype,"noCustom",void 0);J([(0,dt.property)({type:Boolean})],W.prototype,"openExternalDocumentInNewTab",void 0);J([(0,dt.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],W.prototype,"noCustomComponent",void 0);J([(0,dt.property)({type:Boolean})],W.prototype,"withManualResources",void 0);J([(0,dt.property)({type:Boolean})],W.prototype,"navigatorOnline",void 0);J([(0,dt.property)({type:Boolean})],W.prototype,"forcedOffline",void 0);J([(0,dt.property)({type:Object})],W.prototype,"apiProvider",void 0);J([(0,yt.jsonProperty)([])],W.prototype,"messageContexts",void 0);J([(0,yt.jsonProperty)(void 0)],W.prototype,"session",void 0);var Ye=m(A());var Ve=class extends wt{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 je=class extends wt{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 Ra="ft-user-assets",qe=Ye.FtReduxStore.get({name:Ra,initialState:{savedSearches:void 0,bookmarks:void 0}}),ko=class{constructor(){this.currentSession=N.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new je,this.savedSearchesService=new Ve,N.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var o;let{session:r}=N.getState();(0,Ye.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(),qe.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),qe.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let o=await this.savedSearchesService.listMySearches();qe.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;qe.actions.bookmarks(r)}}},cu=new ko;var Bo=class{addCommand(o,r=!1){N.commands.add(o,r)}consumeCommand(o){return N.commands.consume(o)}};window.FluidTopicsAppInfoStoreService=new Bo;var ki=m(A()),Do=class{highlightHtml(o,r){(0,ki.highlightHtml)(o,r)}};window.FluidTopicsHighlightHtmlService=new Do;(0,Bi.customElement)("ft-app-context")(W);var $o=class e extends Event{constructor(){super(e.eventName)}};$o.eventName="search-context-clear-all-filters";var Na=function(e,o,r,i){var a=arguments.length,s=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(s=(a<3?l(s):a>3?l(o,r,s):l(o,r))||s);return a>3&&s&&Object.defineProperty(o,r,s),s},Mo=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Ho=Symbol("registerInterval");function wa(e){var o;class r extends e{constructor(){super(...arguments),this[o]=0}setSearchStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Ho]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Ho]):this.dispatchEvent(new Mo)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Ho,Na([(0,$i.state)()],r.prototype,"stateManager",void 0),r}var Xe=class extends wa(Di.FtLitElementRedux){};var Fi=m(A());var oo=m($()),ro=m(lt()),no=m(A());var Wi=m($());var Hi=Wi.css`
|
|
800
|
-
`;var
|
|
799
|
+
`}update(t){super.update(t),t.has("baseUrl")&&(k.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&k.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&k.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&k.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&k.actions.noCustom(this.noCustom),t.has("editorMode")&&k.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&k.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&k.actions.session(this.session),t.has("availableUiLocales")&&k.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(o=>Rt.addContext(o)),t.has("openExternalDocumentInNewTab")&&k.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&k.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&k.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 t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};G.elementDefinitions={};G.styles=Ha;oe([(0,ye.property)()],G.prototype,"baseUrl",void 0);oe([(0,ye.property)()],G.prototype,"apiIntegrationIdentifier",void 0);oe([(0,ye.property)()],G.prototype,"uiLocale",void 0);oe([(0,Se.jsonProperty)(null)],G.prototype,"availableUiLocales",void 0);oe([(0,Se.jsonProperty)(null)],G.prototype,"metadataConfiguration",void 0);oe([(0,ye.property)({type:Boolean})],G.prototype,"editorMode",void 0);oe([(0,ye.property)({type:Boolean})],G.prototype,"noCustom",void 0);oe([(0,ye.property)({type:Boolean})],G.prototype,"openExternalDocumentInNewTab",void 0);oe([(0,ye.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],G.prototype,"noCustomComponent",void 0);oe([(0,ye.property)({type:Boolean})],G.prototype,"withManualResources",void 0);oe([(0,ye.property)({type:Boolean})],G.prototype,"navigatorOnline",void 0);oe([(0,ye.property)({type:Boolean})],G.prototype,"forcedOffline",void 0);oe([(0,ye.property)({type:Object})],G.prototype,"apiProvider",void 0);oe([(0,Se.jsonProperty)([])],G.prototype,"messageContexts",void 0);oe([(0,Se.jsonProperty)(void 0)],G.prototype,"session",void 0);var ul=S(ee());function Ac(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,n,i;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!Pt(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!Pt(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(i=Object.keys(e),o=i.length,o!==Object.keys(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=o;n--!==0;){var a=i[n];if(!Pt(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Pt(e,t){try{return Ac(e,t)}catch{return!1}}var Nc=S(ee(),1);var Sr=class{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};var So=S(ee(),1);var Va=S(ee(),1);function Za(e,t){let o=()=>JSON.parse(JSON.stringify(e));return(0,Va.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:(n,i)=>!Pt(n,i),...t??{}})}var Or=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Ya=S(z(),1);var Cr=window,Rc=Cr.ShadowRoot&&(Cr.ShadyCSS===void 0||Cr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Vm=Symbol();var qa=(e,t)=>{Rc?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let n=document.createElement("style"),i=Cr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)})};var Er=class extends Ya.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,a])=>t.registry.define(i,a)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return qa(n,t.elementStyles),n}};var vo=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ja,Xa=Symbol("constructorPrototype"),Qa=Symbol("constructorName"),es=Symbol("exportpartsDebouncer"),at=class extends Er{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[Ja]=new Or(5),this[Qa]=this.constructor.name,this[Xa]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Qa]&&Object.setPrototypeOf(this,this[Xa])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,n,i;if(this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((o=this.customStylesheet)!==null&&o!==void 0?o:"")}catch(a){console.error(a,this.customStylesheet)}}else if(((i=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[es].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var o,n,i,a,s,l;let u=y=>y!=null&&y.trim().length>0,p=t.filter(u).map(y=>y.trim());if(p.length===0){this.removeAttribute("exportparts");return}let f=new Set;for(let y of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(a=(i=y.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],g=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(v=>v.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...b,...g).filter(u).map(v=>v.trim()).forEach(v=>f.add(v))}if(f.size===0){this.removeAttribute("exportparts");return}let m=[...f.values()].flatMap(y=>p.map(b=>`${y}:${b}--${y}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};Ja=es;vo([(0,So.property)()],at.prototype,"exportpartsPrefix",void 0);vo([Za([])],at.prototype,"exportpartsPrefixes",void 0);vo([(0,So.property)()],at.prototype,"customStylesheet",void 0);function Qt(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var ts,rs,os,wr=Symbol("internalReduxEventsUnsubscribers"),Ge=Symbol("internalStoresUnsubscribers"),st=Symbol("internalStores"),Jt=class extends at{constructor(){super(...arguments),this[ts]=new Map,this[rs]=new Map,this[os]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[st].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[st].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[st].get(t)}addStore(t,o){var n;o=(n=o??(Qt(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[st].delete(o)}setupStore(t,o){this[st].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[st].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let i=this.getStore(t.store);i&&(t.store?this[Ge].has(t.store):this[Ge].size>0)&&(this[o]=t.selector(i.getState(),this))}})}subscribeToStore(t,o){var n;this[Ge].set(t,o.subscribe(()=>this.updateFromStores())),Qt(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||o.name===i.store)){let s=l=>this[a](l);o.eventBus.addEventListener(i.eventName,s),this[wr].push(()=>o.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Ge].forEach((t,o)=>this.unsubscribeFromStore(o)),this[wr].forEach(t=>t()),this[wr]=[]}unsubscribeFromStore(t){this[Ge].has(t)&&this[Ge].get(t)(),this[Ge].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};ts=Ge,rs=st,os=wr;Jt.reduxProperties=new Map;Jt.reduxReactiveProperties=new Set;Jt.reduxEventListeners=new Map;function ge(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Me(e){return!!e&&!!e[$]}function Oe(e){var t;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Uc}(e)||Array.isArray(e)||!!e[ds]||!!(!((t=e.constructor)===null||t===void 0)&&t[ds])||To(e)||Lo(e))}function ct(e,t,o){o===void 0&&(o=!1),It(e)===0?(o?Object.keys:Lt)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function It(e){var t=e[$];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:To(e)?2:Lo(e)?3:0}function Tt(e,t){return It(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Pc(e,t){return It(e)===2?e.get(t):e[t]}function us(e,t,o){var n=It(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function ps(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function To(e){return kc&&e instanceof Map}function Lo(e){return Dc&&e instanceof Set}function je(e){return e.o||e.t}function Io(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=ms(e);delete t[$];for(var o=Lt(t),n=0;n<o.length;n++){var i=o[n],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function _o(e,t){return t===void 0&&(t=!1),ko(e)||Me(e)||!Oe(e)||(It(e)>1&&(e.set=e.add=e.clear=e.delete=Tc),Object.freeze(e),t&&ct(e,function(o,n){return _o(n,!0)},!0)),e}function Tc(){ge(2)}function ko(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Re(e){var t=Po[e];return t||ge(18,e),t}function Lc(e,t){Po[e]||(Po[e]=t)}function Ao(){return tr}function Oo(e,t){t&&(Re("Patches"),e.u=[],e.s=[],e.v=t)}function Ar(e){No(e),e.p.forEach(Ic),e.p=null}function No(e){e===tr&&(tr=e.l)}function ns(e){return tr={p:[],l:tr,h:e,m:!0,_:0}}function Ic(e){var t=e[$];t.i===0||t.i===1?t.j():t.g=!0}function Co(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||Re("ES5").S(t,e,n),n?(o[$].P&&(Ar(t),ge(4)),Oe(e)&&(e=Nr(t,e),t.l||Rr(t,e)),t.u&&Re("Patches").M(o[$].t,e,t.u,t.s)):e=Nr(t,o,[]),Ar(t),t.u&&t.v(t.u,t.s),e!==hs?e:void 0}function Nr(e,t,o){if(ko(t))return t;var n=t[$];if(!n)return ct(t,function(l,u){return is(e,n,t,l,u,o)},!0),t;if(n.A!==e)return t;if(!n.P)return Rr(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Io(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),ct(a,function(l,u){return is(e,n,i,l,u,o,s)}),Rr(e,i,!1),o&&e.u&&Re("Patches").N(n,o,e.u,e.s)}return n.o}function is(e,t,o,n,i,a,s){if(Me(i)){var l=Nr(e,i,a&&t&&t.i!==3&&!Tt(t.R,n)?a.concat(n):void 0);if(us(o,n,l),!Me(l))return;e.m=!1}else s&&o.add(i);if(Oe(i)&&!ko(i)){if(!e.h.D&&e._<1)return;Nr(e,i),t&&t.A.l||Rr(e,i)}}function Rr(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&_o(t,o)}function Eo(e,t){var o=e[$];return(o?je(o):e)[t]}function as(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function Ke(e){e.P||(e.P=!0,e.l&&Ke(e.l))}function wo(e){e.o||(e.o=Io(e.t))}function Ro(e,t,o){var n=To(t)?Re("MapSet").F(t,o):Lo(t)?Re("MapSet").T(t,o):e.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:Ao(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},u=l,p=rr;s&&(u=[l],p=er);var f=Proxy.revocable(u,p),m=f.revoke,y=f.proxy;return l.k=y,l.j=m,y}(t,o):Re("ES5").J(t,o);return(o?o.A:Ao()).p.push(n),n}function _c(e){return Me(e)||ge(22,e),function t(o){if(!Oe(o))return o;var n,i=o[$],a=It(o);if(i){if(!i.P&&(i.i<4||!Re("ES5").K(i)))return i.t;i.I=!0,n=ss(o,a),i.I=!1}else n=ss(o,a);return ct(n,function(s,l){i&&Pc(i.t,s)===l||us(n,s,t(l))}),a===3?new Set(n):n}(e)}function ss(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Io(e)}function fs(){function e(s,l){var u=a[s];return u?u.enumerable=l:a[s]=u={configurable:!0,enumerable:l,get:function(){var p=this[$];return rr.get(p,s)},set:function(p){var f=this[$];rr.set(f,s,p)}},u}function t(s){for(var l=s.length-1;l>=0;l--){var u=s[l][$];if(!u.P)switch(u.i){case 5:n(u)&&Ke(u);break;case 4:o(u)&&Ke(u)}}}function o(s){for(var l=s.t,u=s.k,p=Lt(u),f=p.length-1;f>=0;f--){var m=p[f];if(m!==$){var y=l[m];if(y===void 0&&!Tt(l,m))return!0;var b=u[m],g=b&&b[$];if(g?g.t!==y:!ps(b,y))return!0}}var v=!!l[$];return p.length!==Lt(l).length+(v?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var u=Object.getOwnPropertyDescriptor(l,l.length-1);if(u&&!u.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function i(s){s.g&&ge(3,JSON.stringify(je(s)))}var a={};Lc("ES5",{J:function(s,l){var u=Array.isArray(s),p=function(m,y){if(m){for(var b=Array(y.length),g=0;g<y.length;g++)Object.defineProperty(b,""+g,e(g,!0));return b}var v=ms(y);delete v[$];for(var N=Lt(v),w=0;w<N.length;w++){var A=N[w];v[A]=e(A,m||!!v[A].enumerable)}return Object.create(Object.getPrototypeOf(y),v)}(u,s),f={i:u?5:4,A:l?l.A:Ao(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,$,{value:f,writable:!0}),p},S:function(s,l,u){u?Me(l)&&l[$].A===s&&t(s.p):(s.u&&function p(f){if(f&&typeof f=="object"){var m=f[$];if(m){var y=m.t,b=m.k,g=m.R,v=m.i;if(v===4)ct(b,function(T){T!==$&&(y[T]!==void 0||Tt(y,T)?g[T]||p(b[T]):(g[T]=!0,Ke(m)))}),ct(y,function(T){b[T]!==void 0||Tt(b,T)||(g[T]=!1,Ke(m))});else if(v===5){if(n(m)&&(Ke(m),g.length=!0),b.length<y.length)for(var N=b.length;N<y.length;N++)g[N]=!1;else for(var w=y.length;w<b.length;w++)g[w]=!0;for(var A=Math.min(b.length,y.length),L=0;L<A;L++)b.hasOwnProperty(L)||(g[L]=!0),g[L]===void 0&&p(b[L])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var cs,tr,Do=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",kc=typeof Map<"u",Dc=typeof Set<"u",ls=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",hs=Do?Symbol.for("immer-nothing"):((cs={})["immer-nothing"]=!0,cs),ds=Do?Symbol.for("immer-draftable"):"__$immer_draftable",$=Do?Symbol.for("immer-state"):"__$immer_state";var Uc=""+Object.prototype.constructor,Lt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,ms=Object.getOwnPropertyDescriptors||function(e){var t={};return Lt(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},Po={},rr={get:function(e,t){if(t===$)return e;var o=je(e);if(!Tt(o,t))return function(i,a,s){var l,u=as(a,s);return u?"value"in u?u.value:(l=u.get)===null||l===void 0?void 0:l.call(i.k):void 0}(e,o,t);var n=o[t];return e.I||!Oe(n)?n:n===Eo(e.t,t)?(wo(e),e.o[t]=Ro(e.A.h,n,e)):n},has:function(e,t){return t in je(e)},ownKeys:function(e){return Reflect.ownKeys(je(e))},set:function(e,t,o){var n=as(je(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var i=Eo(je(e),t),a=i?.[$];if(a&&a.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(ps(o,i)&&(o!==void 0||Tt(e.t,t)))return!0;wo(e),Ke(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return Eo(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,wo(e),Ke(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=je(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){ge(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){ge(12)}},er={};ct(rr,function(e,t){er[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),er.deleteProperty=function(e,t){return er.set.call(this,e,t,void 0)},er.set=function(e,t,o){return rr.set.call(this,e[0],t,o,e[0])};var Mc=function(){function e(o){var n=this;this.O=ls,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var u=n;return function(v){var N=this;v===void 0&&(v=l);for(var w=arguments.length,A=Array(w>1?w-1:0),L=1;L<w;L++)A[L-1]=arguments[L];return u.produce(v,function(T){var M;return(M=a).call.apply(M,[N,T].concat(A))})}}var p;if(typeof a!="function"&&ge(6),s!==void 0&&typeof s!="function"&&ge(7),Oe(i)){var f=ns(n),m=Ro(n,i,void 0),y=!0;try{p=a(m),y=!1}finally{y?Ar(f):No(f)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(v){return Oo(f,s),Co(v,f)},function(v){throw Ar(f),v}):(Oo(f,s),Co(p,f))}if(!i||typeof i!="object"){if((p=a(i))===void 0&&(p=i),p===hs&&(p=void 0),n.D&&_o(p,!0),s){var b=[],g=[];Re("Patches").M(i,p,b,g),s(b,g)}return p}ge(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(p){for(var f=arguments.length,m=Array(f>1?f-1:0),y=1;y<f;y++)m[y-1]=arguments[y];return n.produceWithPatches(p,function(b){return i.apply(void 0,[b].concat(m))})};var s,l,u=n.produce(i,a,function(p,f){s=p,l=f});return typeof Promise<"u"&&u instanceof Promise?u.then(function(p){return[p,s,l]}):[u,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){Oe(o)||ge(8),Me(o)&&(o=_c(o));var n=ns(this),i=Ro(this,o,void 0);return i[$].C=!0,No(n),i},t.finishDraft=function(o,n){var i=o&&o[$],a=i.A;return Oo(a,n),Co(void 0,a)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!ls&&ge(20),this.O=o},t.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var s=Re("Patches").$;return Me(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},e}(),pe=new Mc,Bc=pe.produce,iy=pe.produceWithPatches.bind(pe),ay=pe.setAutoFreeze.bind(pe),sy=pe.setUseProxies.bind(pe),cy=pe.applyPatches.bind(pe),ly=pe.createDraft.bind(pe),dy=pe.finishDraft.bind(pe),Pr=Bc;function Ve(e){"@babel/helpers - typeof";return Ve=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ve(e)}function Uo(e,t){if(Ve(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(Ve(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Mo(e){var t=Uo(e,"string");return Ve(t)==="symbol"?t:String(t)}function Bo(e,t,o){return t=Mo(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function ys(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),o.push.apply(o,n)}return o}function Tr(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?ys(Object(o),!0).forEach(function(n){Bo(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ys(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function te(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var gs=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Wo=function(){return Math.random().toString(36).substring(7).split("").join(".")},Lr={INIT:"@@redux/INIT"+Wo(),REPLACE:"@@redux/REPLACE"+Wo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Wo()}};function Wc(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function $o(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(te(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(te(1));return o($o)(e,t)}if(typeof e!="function")throw new Error(te(2));var i=e,a=t,s=[],l=s,u=!1;function p(){l===s&&(l=s.slice())}function f(){if(u)throw new Error(te(3));return a}function m(v){if(typeof v!="function")throw new Error(te(4));if(u)throw new Error(te(5));var N=!0;return p(),l.push(v),function(){if(N){if(u)throw new Error(te(6));N=!1,p();var A=l.indexOf(v);l.splice(A,1),s=null}}}function y(v){if(!Wc(v))throw new Error(te(7));if(typeof v.type>"u")throw new Error(te(8));if(u)throw new Error(te(9));try{u=!0,a=i(a,v)}finally{u=!1}for(var N=s=l,w=0;w<N.length;w++){var A=N[w];A()}return v}function b(v){if(typeof v!="function")throw new Error(te(10));i=v,y({type:Lr.REPLACE})}function g(){var v,N=m;return v={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(te(11));function L(){A.next&&A.next(f())}L();var T=N(L);return{unsubscribe:T}}},v[gs]=function(){return this},v}return y({type:Lr.INIT}),n={dispatch:y,subscribe:m,getState:f,replaceReducer:b},n[gs]=g,n}function $c(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:Lr.INIT});if(typeof n>"u")throw new Error(te(12));if(typeof o(void 0,{type:Lr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(te(13))})}function bs(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(o[i]=e[i])}var a=Object.keys(o),s,l;try{$c(o)}catch(u){l=u}return function(p,f){if(p===void 0&&(p={}),l)throw l;if(0)var m;for(var y=!1,b={},g=0;g<a.length;g++){var v=a[g],N=o[v],w=p[v],A=N(w,f);if(typeof A>"u"){var L=f&&f.type;throw new Error(te(14))}b[v]=A,y=y||A!==w}return y=y||a.length!==Object.keys(p).length,y?b:p}}function _t(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function xs(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(te(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=t.map(function(u){return u(s)});return a=_t.apply(void 0,l)(i.dispatch),Tr(Tr({},i),{},{dispatch:a})}}}function vs(e){var t=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,e):s(l)}}};return t}var Ss=vs();Ss.withExtraArgument=vs;var zo=Ss;var As=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),zc=function(e,t){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(p){return function(f){return u([p,f])}}function u(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=p[0]&2?i.return:p[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,p[1])).done)return a;switch(i=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,i=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){o.label=p[1];break}if(p[0]===6&&o.label<a[1]){o.label=a[1],a=p;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(p);break}a[2]&&o.ops.pop(),o.trys.pop();continue}p=t.call(e,o)}catch(f){p=[6,f],i=0}finally{n=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},kt=function(e,t){for(var o=0,n=t.length,i=e.length;o<n;o++,i++)e[i]=t[o];return e},Hc=Object.defineProperty,Fc=Object.defineProperties,Gc=Object.getOwnPropertyDescriptors,Os=Object.getOwnPropertySymbols,jc=Object.prototype.hasOwnProperty,Kc=Object.prototype.propertyIsEnumerable,Cs=function(e,t,o){return t in e?Hc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},Ze=function(e,t){for(var o in t||(t={}))jc.call(t,o)&&Cs(e,o,t[o]);if(Os)for(var n=0,i=Os(t);n<i.length;n++){var o=i[n];Kc.call(t,o)&&Cs(e,o,t[o])}return e},Ho=function(e,t){return Fc(e,Gc(t))},Vc=function(e,t,o){return new Promise(function(n,i){var a=function(u){try{l(o.next(u))}catch(p){i(p)}},s=function(u){try{l(o.throw(u))}catch(p){i(p)}},l=function(u){return u.done?n(u.value):Promise.resolve(u.value).then(a,s)};l((o=o.apply(e,t)).next())})};var Zc=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?_t:_t.apply(null,arguments)},Ry=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function qc(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var Yc=function(e){As(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=e.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,kt([void 0],o[0].concat(this)))):new(t.bind.apply(t,kt([void 0],o.concat(this))))},t}(Array),Xc=function(e){As(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=e.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,kt([void 0],o[0].concat(this)))):new(t.bind.apply(t,kt([void 0],o.concat(this))))},t}(Array);function jo(e){return Oe(e)?Pr(e,function(){}):e}function Qc(e){return typeof e=="boolean"}function Jc(){return function(t){return el(t)}}function el(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,i=n===void 0?!0:n,a=e.serializableCheck,s=a===void 0?!0:a,l=new Yc;if(o&&(Qc(o)?l.push(zo):l.push(zo.withExtraArgument(o.extraArgument))),0){if(i)var u;if(s)var p}return l}var Fo=!0;function Ns(e){var t=Jc(),o=e||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?t():a,l=o.devTools,u=l===void 0?!0:l,p=o.preloadedState,f=p===void 0?void 0:p,m=o.enhancers,y=m===void 0?void 0:m,b;if(typeof i=="function")b=i;else if(qc(i))b=bs(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var g=s;if(typeof g=="function"&&(g=g(t),!Fo&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Fo&&g.some(function(T){return typeof T!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=xs.apply(void 0,g),N=_t;u&&(N=Zc(Ze({trace:!Fo},typeof u=="object"&&u)));var w=new Xc(v),A=w;Array.isArray(y)?A=kt([v],y):typeof y=="function"&&(A=y(w));var L=N.apply(void 0,A);return $o(b,f,L)}function qe(e,t){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Ze(Ze({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function Rs(e){var t={},o=[],n,i={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=s,i},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return e(i),[t,o,n]}function tl(e){return typeof e=="function"}function rl(e,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?Rs(t):[t,o,n],a=i[0],s=i[1],l=i[2],u;if(tl(e))u=function(){return jo(e())};else{var p=jo(e);u=function(){return p}}function f(m,y){m===void 0&&(m=u());var b=kt([a[y.type]],s.filter(function(g){var v=g.matcher;return v(y)}).map(function(g){var v=g.reducer;return v}));return b.filter(function(g){return!!g}).length===0&&(b=[l]),b.reduce(function(g,v){if(v)if(Me(g)){var N=g,w=v(N,y);return w===void 0?g:w}else{if(Oe(g))return Pr(g,function(A){return v(A,y)});var w=v(g,y);if(w===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return w}return g},m)}return f.getInitialState=u,f}function ol(e,t){return e+"/"+t}function Ps(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:jo(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(f){var m=n[f],y=ol(t,f),b,g;"reducer"in m?(b=m.reducer,g=m.prepare):b=m,a[f]=b,s[y]=b,l[f]=g?qe(y,g):qe(y)});function u(){var f=typeof e.extraReducers=="function"?Rs(e.extraReducers):[e.extraReducers],m=f[0],y=m===void 0?{}:m,b=f[1],g=b===void 0?[]:b,v=f[2],N=v===void 0?void 0:v,w=Ze(Ze({},y),s);return rl(o,function(A){for(var L in w)A.addCase(L,w[L]);for(var T=0,M=g;T<M.length;T++){var ne=M[T];A.addMatcher(ne.matcher,ne.reducer)}N&&A.addDefaultCase(N)})}var p;return{name:t,reducer:function(f,m){return p||(p=u()),p(f,m)},actions:l,caseReducers:a,getInitialState:function(){return p||(p=u()),p.getInitialState()}}}var nl="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",il=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=nl[Math.random()*64|0];return t},al=["name","message","stack","code"],Go=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Es=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),sl=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=al;o<n.length;o++){var i=n[o];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},Iy=function(){function e(t,o,n){var i=qe(t+"/fulfilled",function(f,m,y,b){return{payload:f,meta:Ho(Ze({},b||{}),{arg:y,requestId:m,requestStatus:"fulfilled"})}}),a=qe(t+"/pending",function(f,m,y){return{payload:void 0,meta:Ho(Ze({},y||{}),{arg:m,requestId:f,requestStatus:"pending"})}}),s=qe(t+"/rejected",function(f,m,y,b,g){return{payload:b,error:(n&&n.serializeError||sl)(f||"Rejected"),meta:Ho(Ze({},g||{}),{arg:y,requestId:m,rejectedWithValue:!!b,requestStatus:"rejected",aborted:f?.name==="AbortError",condition:f?.name==="ConditionError"})}}),l=!1,u=typeof AbortController<"u"?AbortController:function(){function f(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return f.prototype.abort=function(){},f}();function p(f){return function(m,y,b){var g=n?.idGenerator?n.idGenerator(f):il(),v=new u,N,w=!1;function A(T){N=T,v.abort()}var L=function(){return Vc(this,null,function(){var T,M,ne,V,Dt,fe,h;return zc(this,function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),V=(T=n?.condition)==null?void 0:T.call(n,f,{getState:y,extra:b}),ll(V)?[4,V]:[3,2];case 1:V=x.sent(),x.label=2;case 2:if(V===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,Dt=new Promise(function(R,W){return v.signal.addEventListener("abort",function(){return W({name:"AbortError",message:N||"Aborted"})})}),m(a(g,f,(M=n?.getPendingMeta)==null?void 0:M.call(n,{requestId:g,arg:f},{getState:y,extra:b}))),[4,Promise.race([Dt,Promise.resolve(o(f,{dispatch:m,getState:y,extra:b,requestId:g,signal:v.signal,abort:A,rejectWithValue:function(R,W){return new Go(R,W)},fulfillWithValue:function(R,W){return new Es(R,W)}})).then(function(R){if(R instanceof Go)throw R;return R instanceof Es?i(R.payload,g,f,R.meta):i(R,g,f)})])];case 3:return ne=x.sent(),[3,5];case 4:return fe=x.sent(),ne=fe instanceof Go?s(null,g,f,fe.payload,fe.meta):s(fe,g,f),[3,5];case 5:return h=n&&!n.dispatchConditionRejection&&s.match(ne)&&ne.meta.condition,h||m(ne),[2,ne]}})})}();return Object.assign(L,{abort:A,requestId:g,arg:f,unwrap:function(){return L.then(cl)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function cl(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function ll(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Ts="listener",Ls="completed",Is="cancelled",_y="task-"+Is,ky="task-"+Ls,Dy=Ts+"-"+Is,Uy=Ts+"-"+Ls;var Ko="listenerMiddleware";var My=qe(Ko+"/add"),By=qe(Ko+"/removeAll"),Wy=qe(Ko+"/remove");var ws,$y=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(ws||(ws=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},dl=function(e){return function(t){setTimeout(t,e)}},zy=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:dl(10);fs();window.ftReduxStores||(window.ftReduxStores={});var _s=class e{static get(t){var o;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,a=window.ftReduxStores[n];if(Qt(a))return a;if(i==null)return;let s=Ps({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),l=Ns({reducer:(u,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...u,...p.overwrites}:s.reducer(u,p)});return window.ftReduxStores[i.name]=new e(s,l)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Sr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,l=n[s];return l?(...u)=>{let p=l(...u);return this.reduxStore.dispatch(p),p}:u=>{this.setState({[s]:u})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Dr=S(_());var Ir=class extends Ue{async listMySearches(){let t=k.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var _r=class extends Ue{async listMyBookmarks(){let t=k.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var pl="ft-user-assets",kr=Dr.FtReduxStore.get({name:pl,initialState:{savedSearches:void 0,bookmarks:void 0}}),Vo=class{constructor(){this.currentSession=k.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new _r,this.savedSearchesService=new Ir,k.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=k.getState();(0,Dr.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),kr.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),kr.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();kr.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;kr.actions.bookmarks(o)}}},yg=new Vo;var Zo=class{addCommand(t,o=!1){k.commands.add(t,o)}consumeCommand(t){return k.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Zo;var ks=S(_()),qo=class{highlightHtml(t,o){(0,ks.highlightHtml)(t,o)}};window.FluidTopicsHighlightHtmlService=new qo;var Ds=S(_());var Yo=class{isDate(t){var o,n,i,a;return(a=(i=((n=(o=k.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===t))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(t,o){var n,i,a;return Ds.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:k.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Yo;(0,Us.customElement)("ft-app-context")(G);var Xo=class e extends Event{constructor(){super(e.eventName)}};Xo.eventName="search-context-clear-all-filters";var fl=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},en=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Jo=Symbol("registerInterval");function hl(e){var t;class o extends e{constructor(){super(...arguments),this[t]=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[Jo]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Jo]):this.dispatchEvent(new en)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=Jo,fl([(0,Bs.state)()],o.prototype,"stateManager",void 0),o}var Ur=class extends hl(Ms.FtLitElementRedux){};var Fs=S(_());var zr=S(z()),Hr=S(ee()),Fr=S(_());var Ws=S(z());var $s=Ws.css`
|
|
800
|
+
`;var Wr=S(_());var Hs=S(ee()),ml=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},tn=Symbol("i18nAttributes"),Mr=Symbol("i18nProperties"),or=Symbol("i18nUnsubs");function $r(e){var t;class o extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map}get i18nService(){return this.useCustomMessageContexts?ja:Rt}i18n(i,a,...s){var l;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...s);let u=(l=i.args)!==null&&l!==void 0?l:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...u)}onI18nUpdate(i){var a,s;(a=this[tn])===null||a===void 0||a.forEach((l,u)=>{var p;let f=this.getI18nAttributeValue(u);((p=f?.context)===null||p===void 0?void 0:p.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(u,f,l)}),(s=this[Mr])===null||s===void 0||s.forEach((l,u)=>{l.context.toLowerCase()===i.toLowerCase()&&(this[u]=this.i18n(l))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(i,a,s){this[i]={...a,message:this.i18n({context:a.context,key:a.key,...s})}}update(i){var a,s;super.update(i),(a=this[tn])===null||a===void 0||a.forEach((l,u)=>{let p=this.getI18nAttributeValue(u);p?.context&&p.key&&(i.has(u)||l.argsProvider!=null)&&(i.has(u)&&this.addI18nContext(p.context),this.updateI18nAttributeMessage(u,p,l))}),(s=this[Mr])===null||s===void 0||s.forEach((l,u)=>{l.argsProvider!=null&&(this[u]=this.i18n(l))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,a,s,l;super.connectedCallback(),new Set([...(a=(i=this[Mr])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(l=(s=this[tn])===null||s===void 0?void 0:s.keys())!==null&&l!==void 0?l:[]].map(u=>this.getI18nAttributeValue(u))].map(u=>u?.context)).forEach(u=>u&&this.addI18nMessages(u))}addI18nMessages(i,a){i=i.toLowerCase(),this[or].has(i)||this[or].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,a??{})}addI18nContext(i,a){this.addI18nMessages(typeof i=="string"?i:i.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[or].forEach(i=>i()),this[or].clear()}}return t=or,ml([(0,Hs.property)({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}var zs=class extends $r(Wr.FtLitElement){},Br=class extends $r(Wr.FtLitElementRedux){};var nr=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ce=class extends Br{constructor(){super(),this.editorMode=!1,this.addStore(k)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":zr.nothing:zr.html`
|
|
801
801
|
<span class="ft-i18n">
|
|
802
802
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
803
803
|
</span>
|
|
804
|
-
`}update(
|
|
804
|
+
`}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Ce.elementDefinitions={};Ce.styles=$s;nr([(0,Fr.redux)()],Ce.prototype,"editorMode",void 0);nr([(0,Hr.property)()],Ce.prototype,"context",void 0);nr([(0,Hr.property)()],Ce.prototype,"key",void 0);nr([(0,Fr.jsonProperty)([])],Ce.prototype,"args",void 0);nr([(0,Hr.property)()],Ce.prototype,"defaultMessage",void 0);var Gr=class e{static build(t){return new e(t)}static fromGwt(t){return new e(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(o,n)=>{let i=n;return a=>({context:this.name,key:i,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(o,n)=>(...i)=>Rt.resolveMessage(this.name,n,...i)})}};(0,Fs.customElement)("ft-i18n")(Ce);var rn=Gr.fromGwt("designedActionBlockAriaLabels");var Gs=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ye=class extends $r(Ur){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(rn)}render(){return this.isLastPage?jr.nothing:jr.html`
|
|
805
805
|
<ft-button @click="${this.loadMore}">
|
|
806
|
-
${
|
|
806
|
+
${rn.messages.searchPageLoadMore()}
|
|
807
807
|
</ft-button>
|
|
808
|
-
`}loadMore(){var
|
|
808
|
+
`}loadMore(){var t;(t=this.stateManager)===null||t===void 0||t.setPageNumber(this.currentPage+1)}};Ye.elementDefinitions={"ft-button":ve};Ye.styles=ln;Gs([(0,on.redux)({store:"search",selector:e=>{var t,o;return(o=(t=e.paging)===null||t===void 0?void 0:t.currentPage)!==null&&o!==void 0?o:1}})],Ye.prototype,"currentPage",void 0);Gs([(0,on.redux)({store:"search",selector:e=>{var t,o;return(o=(t=e.paging)===null||t===void 0?void 0:t.isLastPage)!==null&&o!==void 0?o:!0}})],Ye.prototype,"isLastPage",void 0);(0,js.customElement)("ft-search-load-more-button")(Ye);})();
|
|
809
809
|
/*! Bundled license information:
|
|
810
810
|
|
|
811
811
|
lit-html/lit-html.js:
|
|
@@ -821,4 +821,11 @@ lit-html/static.js:
|
|
|
821
821
|
* Copyright 2020 Google LLC
|
|
822
822
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
823
823
|
*)
|
|
824
|
+
|
|
825
|
+
@lit/reactive-element/css-tag.js:
|
|
826
|
+
(**
|
|
827
|
+
* @license
|
|
828
|
+
* Copyright 2019 Google LLC
|
|
829
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
830
|
+
*)
|
|
824
831
|
*/
|