@fluid-topics/ft-search-input 1.1.80 → 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.
- package/build/ft-search-input.js +1 -1
- package/build/ft-search-input.light.js +287 -280
- package/build/ft-search-input.min.js +87 -87
- package/package.json +10 -10
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(()=>{var sa=Object.create;var or=Object.defineProperty;var la=Object.getOwnPropertyDescriptor;var ca=Object.getOwnPropertyNames;var pa=Object.getPrototypeOf,da=Object.prototype.hasOwnProperty;var Ht=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var fa=(e,o,r,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of ca(o))!da.call(e,i)&&i!==r&&or(e,i,{get:()=>o[i],enumerable:!(n=la(o,i))||n.enumerable});return e};var g=(e,o,r)=>(r=e!=null?sa(pa(e)):{},fa(o||!e||!e.__esModule?or(r,"default",{value:e,enumerable:!0}):r,e));var C=Ht((Za,rr)=>{rr.exports=ftGlobals.wcUtils});var U=Ht((ja,nr)=>{nr.exports=ftGlobals.lit});var ot=Ht((qa,ir)=>{ir.exports=ftGlobals.litDecorators});var Fe=Ht((Pp,an)=>{an.exports=ftGlobals.litClassMap});var ni=Ht((Bd,ri)=>{ri.exports=ftGlobals.litUnsafeHTML});var Si=Ht(xi=>{(function(e){var o=function(r){var n={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};function i(d){return d&&DataView.prototype.isPrototypeOf(d)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(d){return d&&s.indexOf(Object.prototype.toString.call(d))>-1};function p(d){if(typeof d!="string"&&(d=String(d)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(d))throw new TypeError("Invalid character in header field name");return d.toLowerCase()}function f(d){return typeof d!="string"&&(d=String(d)),d}function u(d){var h={next:function(){var O=d.shift();return{done:O===void 0,value:O}}};return n.iterable&&(h[Symbol.iterator]=function(){return h}),h}function b(d){this.map={},d instanceof b?d.forEach(function(h,O){this.append(O,h)},this):Array.isArray(d)?d.forEach(function(h){this.append(h[0],h[1])},this):d&&Object.getOwnPropertyNames(d).forEach(function(h){this.append(h,d[h])},this)}b.prototype.append=function(d,h){d=p(d),h=f(h);var O=this.map[d];this.map[d]=O?O+", "+h:h},b.prototype.delete=function(d){delete this.map[p(d)]},b.prototype.get=function(d){return d=p(d),this.has(d)?this.map[d]:null},b.prototype.has=function(d){return this.map.hasOwnProperty(p(d))},b.prototype.set=function(d,h){this.map[p(d)]=f(h)},b.prototype.forEach=function(d,h){for(var O in this.map)this.map.hasOwnProperty(O)&&d.call(h,this.map[O],O,this)},b.prototype.keys=function(){var d=[];return this.forEach(function(h,O){d.push(O)}),u(d)},b.prototype.values=function(){var d=[];return this.forEach(function(h){d.push(h)}),u(d)},b.prototype.entries=function(){var d=[];return this.forEach(function(h,O){d.push([O,h])}),u(d)},n.iterable&&(b.prototype[Symbol.iterator]=b.prototype.entries);function S(d){if(d.bodyUsed)return Promise.reject(new TypeError("Already read"));d.bodyUsed=!0}function R(d){return new Promise(function(h,O){d.onload=function(){h(d.result)},d.onerror=function(){O(d.error)}})}function A(d){var h=new FileReader,O=R(h);return h.readAsArrayBuffer(d),O}function w(d){var h=new FileReader,O=R(h);return h.readAsText(d),O}function B(d){for(var h=new Uint8Array(d),O=new Array(h.length),Z=0;Z<h.length;Z++)O[Z]=String.fromCharCode(h[Z]);return O.join("")}function D(d){if(d.slice)return d.slice(0);var h=new Uint8Array(d.byteLength);return h.set(new Uint8Array(d)),h.buffer}function k(){return this.bodyUsed=!1,this._initBody=function(d){this._bodyInit=d,d?typeof d=="string"?this._bodyText=d:n.blob&&Blob.prototype.isPrototypeOf(d)?this._bodyBlob=d:n.formData&&FormData.prototype.isPrototypeOf(d)?this._bodyFormData=d:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)?this._bodyText=d.toString():n.arrayBuffer&&n.blob&&i(d)?(this._bodyArrayBuffer=D(d.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(d)||l(d))?this._bodyArrayBuffer=D(d):this._bodyText=d=Object.prototype.toString.call(d):this._bodyText="",this.headers.get("content-type")||(typeof d=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var d=S(this);if(d)return d;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?S(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(A)}),this.text=function(){var d=S(this);if(d)return d;if(this._bodyBlob)return w(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(B(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(V)}),this.json=function(){return this.text().then(JSON.parse)},this}var H=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Y(d){var h=d.toUpperCase();return H.indexOf(h)>-1?h:d}function J(d,h){h=h||{};var O=h.body;if(d instanceof J){if(d.bodyUsed)throw new TypeError("Already read");this.url=d.url,this.credentials=d.credentials,h.headers||(this.headers=new b(d.headers)),this.method=d.method,this.mode=d.mode,this.signal=d.signal,!O&&d._bodyInit!=null&&(O=d._bodyInit,d.bodyUsed=!0)}else this.url=String(d);if(this.credentials=h.credentials||this.credentials||"same-origin",(h.headers||!this.headers)&&(this.headers=new b(h.headers)),this.method=Y(h.method||this.method||"GET"),this.mode=h.mode||this.mode||null,this.signal=h.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&O)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(O)}J.prototype.clone=function(){return new J(this,{body:this._bodyInit})};function V(d){var h=new FormData;return d.trim().split("&").forEach(function(O){if(O){var Z=O.split("="),X=Z.shift().replace(/\+/g," "),P=Z.join("=").replace(/\+/g," ");h.append(decodeURIComponent(X),decodeURIComponent(P))}}),h}function $e(d){var h=new b,O=d.replace(/\r?\n[\t ]+/g," ");return O.split(/\r?\n/).forEach(function(Z){var X=Z.split(":"),P=X.shift().trim();if(P){var We=X.join(":").trim();h.append(P,We)}}),h}k.call(J.prototype);function ct(d,h){h||(h={}),this.type="default",this.status=h.status===void 0?200:h.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in h?h.statusText:"OK",this.headers=new b(h.headers),this.url=h.url||"",this._initBody(d)}k.call(ct.prototype),ct.prototype.clone=function(){return new ct(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new b(this.headers),url:this.url})},ct.error=function(){var d=new ct(null,{status:0,statusText:""});return d.type="error",d};var er=[301,302,303,307,308];ct.redirect=function(d,h){if(er.indexOf(h)===-1)throw new RangeError("Invalid status code");return new ct(null,{status:h,headers:{location:d}})},r.DOMException=e.DOMException;try{new r.DOMException}catch{r.DOMException=function(h,O){this.message=h,this.name=O;var Z=Error(h);this.stack=Z.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function Jt(d,h){return new Promise(function(O,Z){var X=new J(d,h);if(X.signal&&X.signal.aborted)return Z(new r.DOMException("Aborted","AbortError"));var P=new XMLHttpRequest;function We(){P.abort()}P.onload=function(){var xe={status:P.status,statusText:P.statusText,headers:$e(P.getAllResponseHeaders()||"")};xe.url="responseURL"in P?P.responseURL:xe.headers.get("X-Request-URL");var bo="response"in P?P.response:P.responseText;O(new ct(bo,xe))},P.onerror=function(){Z(new TypeError("Network request failed"))},P.ontimeout=function(){Z(new TypeError("Network request failed"))},P.onabort=function(){Z(new r.DOMException("Aborted","AbortError"))},P.open(X.method,X.url,!0),X.credentials==="include"?P.withCredentials=!0:X.credentials==="omit"&&(P.withCredentials=!1),"responseType"in P&&n.blob&&(P.responseType="blob"),X.headers.forEach(function(xe,bo){P.setRequestHeader(bo,xe)}),X.signal&&(X.signal.addEventListener("abort",We),P.onreadystatechange=function(){P.readyState===4&&X.signal.removeEventListener("abort",We)}),P.send(typeof X._bodyInit>"u"?null:X._bodyInit)})}return Jt.polyfill=!0,e.fetch||(e.fetch=Jt,e.Headers=b,e.Request=J,e.Response=ct),r.Headers=b,r.Request=J,r.Response=ct,r.fetch=Jt,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:xi)});var ea=Ht((Ah,ta)=>{ta.exports=ftGlobals.litRepeat});var aa=g(C());var tr=g(U()),mo=g(C());var mi=g(U()),T=g(C());var Mo=g(C());var _e=g(ot()),ui=g(C());var rn=g(U()),E=g(C());var dr=g(U()),z=g(C()),ar=z.FtCssVariableFactory.extend("--ft-ripple-color","",z.designSystemVariables.colorContent),L={color:ar,backgroundColor:z.FtCssVariableFactory.extend("--ft-ripple-background-color","",ar),opacityContentOnSurfacePressed:z.FtCssVariableFactory.external(z.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:z.FtCssVariableFactory.external(z.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:z.FtCssVariableFactory.external(z.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:z.FtCssVariableFactory.external(z.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:z.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},sr=z.FtCssVariableFactory.extend("--ft-ripple-color","",z.designSystemVariables.colorPrimary),lr={color:sr,backgroundColor:z.FtCssVariableFactory.extend("--ft-ripple-background-color","",sr)},cr=z.FtCssVariableFactory.extend("--ft-ripple-color","",z.designSystemVariables.colorSecondary),pr={color:cr,backgroundColor:z.FtCssVariableFactory.extend("--ft-ripple-background-color","",cr)},fr=dr.css`
|
|
1
|
+
"use strict";(()=>{var lc=Object.create;var yn=Object.defineProperty;var uc=Object.getOwnPropertyDescriptor;var dc=Object.getOwnPropertyNames;var pc=Object.getPrototypeOf,fc=Object.prototype.hasOwnProperty;var tt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var hc=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of dc(t))!fc.call(e,i)&&i!==o&&yn(e,i,{get:()=>t[i],enumerable:!(n=uc(t,i))||n.enumerable});return e};var S=(e,t,o)=>(o=e!=null?lc(pc(e)):{},hc(t||!e||!e.__esModule?yn(o,"default",{value:e,enumerable:!0}):o,e));var L=tt((Dl,mn)=>{mn.exports=ftGlobals.wcUtils});var F=tt((Ul,gn)=>{gn.exports=ftGlobals.lit});var Q=tt((Ml,bn)=>{bn.exports=ftGlobals.litDecorators});var gr=tt((Cf,vi)=>{vi.exports=ftGlobals.litClassMap});var ba=tt((Rh,ga)=>{ga.exports=ftGlobals.litUnsafeHTML});var ka=tt(_a=>{(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 d(h){return typeof h!="string"&&(h=String(h)),h}function p(h){var x={next:function(){var N=h.shift();return{done:N===void 0,value:N}}};return n.iterable&&(x[Symbol.iterator]=function(){return x}),x}function f(h){this.map={},h instanceof f?h.forEach(function(x,N){this.append(N,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=d(x);var N=this.map[h];this.map[h]=N?N+", "+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)]=d(x)},f.prototype.forEach=function(h,x){for(var N in this.map)this.map.hasOwnProperty(N)&&h.call(x,this.map[N],N,this)},f.prototype.keys=function(){var h=[];return this.forEach(function(x,N){h.push(N)}),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,N){h.push([N,x])}),p(h)},n.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function y(h){if(h.bodyUsed)return Promise.reject(new TypeError("Already read"));h.bodyUsed=!0}function m(h){return new Promise(function(x,N){h.onload=function(){x(h.result)},h.onerror=function(){N(h.error)}})}function b(h){var x=new FileReader,N=m(x);return x.readAsArrayBuffer(h),N}function g(h){var x=new FileReader,N=m(x);return x.readAsText(h),N}function v(h){for(var x=new Uint8Array(h),N=new Array(x.length),W=0;W<x.length;W++)N[W]=String.fromCharCode(x[W]);return N.join("")}function R(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=R(h.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(h)||s(h))?this._bodyArrayBuffer=R(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=y(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?y(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(b)}),this.text=function(){var h=y(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(B)}),this.json=function(){return this.text().then(JSON.parse)},this}var A=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function I(h){var x=h.toUpperCase();return A.indexOf(x)>-1?x:h}function T(h,x){x=x||{};var N=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,!N&&h._bodyInit!=null&&(N=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=I(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")&&N)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(N)}T.prototype.clone=function(){return new T(this,{body:this._bodyInit})};function B(h){var x=new FormData;return h.trim().split("&").forEach(function(N){if(N){var W=N.split("="),te=W.shift().replace(/\+/g," "),$=W.join("=").replace(/\+/g," ");x.append(decodeURIComponent(te),decodeURIComponent($))}}),x}function ae(h){var x=new f,N=h.replace(/\r?\n[\t ]+/g," ");return N.split(/\r?\n/).forEach(function(W){var te=W.split(":"),$=te.shift().trim();if($){var fr=te.join(":").trim();x.append($,fr)}}),x}w.call(T.prototype);function Y(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(Y.prototype),Y.prototype.clone=function(){return new Y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},Y.error=function(){var h=new Y(null,{status:0,statusText:""});return h.type="error",h};var zt=[301,302,303,307,308];Y.redirect=function(h,x){if(zt.indexOf(x)===-1)throw new RangeError("Invalid status code");return new Y(null,{status:x,headers:{location:h}})},o.DOMException=e.DOMException;try{new o.DOMException}catch{o.DOMException=function(x,N){this.message=x,this.name=N;var W=Error(x);this.stack=W.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function be(h,x){return new Promise(function(N,W){var te=new T(h,x);if(te.signal&&te.signal.aborted)return W(new o.DOMException("Aborted","AbortError"));var $=new XMLHttpRequest;function fr(){$.abort()}$.onload=function(){var Ht={status:$.status,statusText:$.statusText,headers:ae($.getAllResponseHeaders()||"")};Ht.url="responseURL"in $?$.responseURL:Ht.headers.get("X-Request-URL");var ro="response"in $?$.response:$.responseText;N(new Y(ro,Ht))},$.onerror=function(){W(new TypeError("Network request failed"))},$.ontimeout=function(){W(new TypeError("Network request failed"))},$.onabort=function(){W(new o.DOMException("Aborted","AbortError"))},$.open(te.method,te.url,!0),te.credentials==="include"?$.withCredentials=!0:te.credentials==="omit"&&($.withCredentials=!1),"responseType"in $&&n.blob&&($.responseType="blob"),te.headers.forEach(function(Ht,ro){$.setRequestHeader(ro,Ht)}),te.signal&&(te.signal.addEventListener("abort",fr),$.onreadystatechange=function(){$.readyState===4&&te.signal.removeEventListener("abort",fr)}),$.send(typeof te._bodyInit>"u"?null:te._bodyInit)})}return be.polyfill=!0,e.fetch||(e.fetch=be,e.Headers=f,e.Request=T,e.Response=Y),o.Headers=f,o.Request=T,o.Response=Y,o.fetch=be,Object.defineProperty(o,"__esModule",{value:!0}),o}({})})(typeof self<"u"?self:_a)});var oc=tt((Wb,rc)=>{rc.exports=ftGlobals.litRepeat});var cc=S(L());var hn=S(F()),to=S(L());var Ia=S(F()),M=S(L());var Ao=S(L());var or=S(Q()),Ra=S(L());var bi=S(F()),_=S(L());var En=S(F()),V=S(L()),xn=V.FtCssVariableFactory.extend("--ft-ripple-color","",V.designSystemVariables.colorContent),D={color:xn,backgroundColor:V.FtCssVariableFactory.extend("--ft-ripple-background-color","",xn),opacityContentOnSurfacePressed:V.FtCssVariableFactory.external(V.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:V.FtCssVariableFactory.external(V.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:V.FtCssVariableFactory.external(V.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:V.FtCssVariableFactory.external(V.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:V.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},vn=V.FtCssVariableFactory.extend("--ft-ripple-color","",V.designSystemVariables.colorPrimary),Sn={color:vn,backgroundColor:V.FtCssVariableFactory.extend("--ft-ripple-background-color","",vn)},On=V.FtCssVariableFactory.extend("--ft-ripple-color","",V.designSystemVariables.colorSecondary),Cn={color:On,backgroundColor:V.FtCssVariableFactory.extend("--ft-ripple-background-color","",On)},wn=En.css`
|
|
2
2
|
:host {
|
|
3
3
|
display: contents;
|
|
4
4
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
13
13
|
overflow: hidden;
|
|
14
|
-
border-radius: ${
|
|
14
|
+
border-radius: ${D.borderRadius};
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.ft-ripple .ft-ripple--background,
|
|
@@ -45,27 +45,27 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.ft-ripple .ft-ripple--background {
|
|
48
|
-
background-color: ${
|
|
48
|
+
background-color: ${D.backgroundColor};
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.ft-ripple .ft-ripple--effect {
|
|
52
|
-
background-color: ${
|
|
52
|
+
background-color: ${D.color};
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
56
|
-
background-color: ${
|
|
56
|
+
background-color: ${Cn.backgroundColor};
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
60
|
-
background-color: ${
|
|
60
|
+
background-color: ${Cn.color};
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
64
|
-
background-color: ${
|
|
64
|
+
background-color: ${Sn.backgroundColor};
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
68
|
-
background-color: ${
|
|
68
|
+
background-color: ${Sn.color};
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.ft-ripple .ft-ripple--background {
|
|
@@ -95,127 +95,127 @@
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
98
|
-
opacity: ${
|
|
98
|
+
opacity: ${D.opacityContentOnSurfaceHover};
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
102
|
-
opacity: ${
|
|
102
|
+
opacity: ${D.opacityContentOnSurfaceSelected};
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
106
|
-
opacity: ${
|
|
106
|
+
opacity: ${D.opacityContentOnSurfaceFocused};
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
110
|
-
opacity: ${
|
|
110
|
+
opacity: ${D.opacityContentOnSurfacePressed};
|
|
111
111
|
transform: translate(-50%, -50%) scale(1);
|
|
112
112
|
}
|
|
113
|
-
`;var ht=g(U()),m=g(C());var At=g(U(),1),_t=e=>typeof e=="string"?(0,At.unsafeCSS)(e):e,t=class{static create(o,r,n,i){let s=p=>_t(p??i),l=At.css`var(${_t(o)}, ${s(i)})`;return l.name=o,l.description=r,l.category=n,l.defaultValue=i,l.defaultCssValue=s,l.get=p=>At.css`var(${_t(o)}, ${s(p)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(o,r,n,i){let s=p=>n.get(p??i),l=At.css`var(${_t(o)}, ${s(i)})`;return l.name=o,l.description=r,l.category=n.category,l.fallbackVariable=n,l.defaultValue=i,l.defaultCssValue=s,l.get=p=>At.css`var(${_t(o)}, ${s(p)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),l}static external(o,r){let n=s=>o.fallbackVariable?o.fallbackVariable.get(s??o.defaultValue):_t(s??o.lastResortDefaultValue()),i=At.css`var(${_t(o.name)}, ${n(o.defaultValue)})`;return i.name=o.name,i.category=o.category,i.fallbackVariable=o.fallbackVariable,i.defaultValue=o.defaultValue,i.context=r,i.defaultCssValue=n,i.get=s=>At.css`var(${_t(o.name)}, ${n(s)})`,i.breadcrumb=()=>o.fallbackVariable?[o.fallbackVariable.name,...o.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>o.lastResortDefaultValue(),i}};var a={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","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)")},ur={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},hr={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},gr={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},yr={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},mr={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},br={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},xr={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Sr={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},vr={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},ua={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Or={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Cr={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Er={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Ar={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Rr={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Nr={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},wr={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Lr={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ir={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Tr={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Pr={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},_r={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},kr={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Ur={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Br={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Dr={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},He={display:ur,"title-1":hr,"title-2":gr,"title-3":yr,"body-1-regular":mr,"body-1-medium":br,"body-1-semibold":xr,"body-2-regular":Sr,"body-2-medium":vr,"body-2-medium-underline":ua,"body-2-semibold":Or,"label-1-medium":Cr,"label-1-semibold":Er,"label-1-bold":Ar,"label-2-medium":Rr,"label-2-semibold":Nr,"label-2-bold":wr,"caption-1-medium":Lr,"caption-1-semibold":Ir,"caption-1-bold":Tr,"caption-2-medium":Pr,"caption-2-semibold":_r,"caption-2-bold":kr,"caption-3-medium":Ur,"caption-3-semibold":Br,"caption-3-bold":Dr};var c={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",a.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",a.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",a.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",a.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",a.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",a.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",a.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",a.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",a.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",a.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",a.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",a.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",a.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",a.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",a.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",a.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",a.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",a.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
114
|
-
Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",a.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",a.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",a.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",a.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",a.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",a.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",a.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",a.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",a.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",a.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",a.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",a.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",a.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",a.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",a.colorGray80)};var x={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",a.spacing4),largeGap:t.extend("--ft-button-large-gap","",a.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",a.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",a.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:t.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",a.spacing3),smallGap:t.extend("--ft-button-small-gap","",a.spacing2),smallBorderRadius:t.extend("--ft-button-small-border-radius","",a.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",a.iconSize2),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:t.extend("--ft-button-primary-background-color","",c.backgroundActionPrimary),primaryColor:t.extend("--ft-button-primary-color","",c.contentGlobalOnColor),primaryIconColor:t.extend("--ft-button-primary-icon-color","",c.contentGlobalOnColor),primaryStateLayerColor:t.extend("--ft-button-primary-state-layer-color","",c.contentGlobalOnColor),primaryHoverStateLayerOpacity:t.extend("--ft-button-primary-hover-state-layer-opacity","",a.opacity16),primaryFocusStateLayerOpacity:t.extend("--ft-button-primary-focus-state-layer-opacity","",a.opacity16),primaryActiveStateLayerOpacity:t.extend("--ft-button-primary-active-state-layer-opacity","",a.opacity24),primaryDisabledComponentOpacity:t.extend("--ft-button-primary-disabled-component-opacity","",a.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",c.borderActionFocusRing),tertiaryBackgroundColor:t.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:t.extend("--ft-button-tertiary-color","",c.contentActionPrimary),tertiaryIconColor:t.extend("--ft-button-tertiary-icon-color","",c.contentActionPrimary),tertiaryStateLayerColor:t.extend("--ft-button-tertiary-state-layer-color","",c.contentActionPrimary),tertiaryHoverStateLayerOpacity:t.extend("--ft-button-tertiary-hover-state-layer-opacity","",a.opacity8),tertiaryFocusStateLayerOpacity:t.extend("--ft-button-tertiary-focus-state-layer-opacity","",a.opacity8),tertiaryActiveStateLayerOpacity:t.extend("--ft-button-tertiary-active-state-layer-opacity","",a.opacity16),tertiaryDisabledComponentOpacity:t.extend("--ft-button-tertiary-disabled-component-opacity","",a.opacity40),secondaryBackgroundColor:t.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:t.extend("--ft-button-secondary-color","",c.contentActionPrimary),secondaryIconColor:t.extend("--ft-button-secondary-icon-color","",c.contentActionPrimary),secondaryStateLayerColor:t.extend("--ft-button-secondary-state-layer-color","",c.contentActionPrimary),secondaryHoverStateLayerOpacity:t.extend("--ft-button-secondary-hover-state-layer-opacity","",a.opacity8),secondaryFocusStateLayerOpacity:t.extend("--ft-button-secondary-focus-state-layer-opacity","",a.opacity8),secondaryActiveStateLayerOpacity:t.extend("--ft-button-secondary-active-state-layer-opacity","",a.opacity16),secondaryDisabledComponentOpacity:t.extend("--ft-button-secondary-disabled-component-opacity","",a.opacity40),secondaryBorderColor:t.extend("--ft-button-secondary-border-color","",c.borderActionPrimary),neutralBackgroundColor:t.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:t.extend("--ft-button-neutral-icon-color","",c.contentGlobalSecondary),neutralColor:t.extend("--ft-button-neutral-color","",c.contentGlobalSecondary),neutralStateLayerColor:t.extend("--ft-button-neutral-state-layer-color","",c.contentGlobalSecondary),neutralHoverStateLayerOpacity:t.extend("--ft-button-neutral-hover-state-layer-opacity","",a.opacity8),neutralFocusStateLayerOpacity:t.extend("--ft-button-neutral-focus-state-layer-opacity","",a.opacity8),neutralActiveStateLayerOpacity:t.extend("--ft-button-neutral-active-state-layer-opacity","",a.opacity16),neutralDisabledComponentOpacity:t.extend("--ft-button-neutral-disabled-component-opacity","",a.opacity40)};var ps={focusOpacity:t.extend("--ft-link-focus-opacity","",a.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 gs={iconSize:t.extend("--ft-banner-icon-size","",a.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-banner-horizontal-padding","",a.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",a.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",a.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",a.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",a.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",a.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",c.borderInfoSubtle)};var Ss={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",a.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",a.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",a.borderRadiusPill),color:t.extend("--ft-badge-color","",c.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",c.contentActionPrimary)};var As={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",a.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",a.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 Is={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",a.spacing12),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",a.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",a.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",a.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",a.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",a.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",a.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",c.borderGlobalSubtle),titleColor:t.extend("--ft-page-header-title-color","",c.contentGlobalPrimary),subtitleColor:t.extend("--ft-page-header-subtitle-color","",c.contentGlobalSecondary)};var Us={smallContainerWidth:t.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:t.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",a.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",a.opacity40),shadow:t.extend("--ft-modal-shadow","",a.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",a.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",a.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",a.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",a.spacing6),containerMargin:t.extend("--ft-modal-container-margin","",a.spacing3),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",c.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",c.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-modal-header-trailing-icon-color","",c.contentGlobalSecondary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",a.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",a.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",a.spacing6),headerGap:t.extend("--ft-modal-header-gap","",a.spacing2),headerBorderBottom:t.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",a.borderRadiusM)};var Hs={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",a.opacity40),shadow:t.extend("--ft-drawer-shadow","",a.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",a.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",a.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",a.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",a.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",c.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",c.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",c.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",a.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",a.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",c.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",c.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",c.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",a.spacing4),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",a.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",a.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",a.colorGray700)};var Ks={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",a.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",a.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",a.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",a.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",a.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",a.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",a.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",a.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",c.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",c.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",c.contentErrorIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",a.opacity40)};var Ys={backgroundColor:t.extend("--ft-text-area-background-color","",a.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",c.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",c.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",a.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",a.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",a.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",a.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",a.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",a.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",a.borderRadiusM)};var el={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",a.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",c.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",c.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",c.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",a.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",a.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",a.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",a.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",a.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",a.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",c.backgroundGlobalOnSurface)};var al={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",a.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",a.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",a.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",a.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",a.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",a.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",a.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",a.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",a.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",a.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",c.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",c.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",c.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",c.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",a.opacity40)};var dl={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",a.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",c.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",c.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",c.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",c.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",a.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",a.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",a.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",a.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",a.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",a.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",a.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",a.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",a.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",a.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",a.borderRadiusM)};var yl={backgroundColor:t.extend("--ft-popover-background-color","",c.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",a.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",a.spacing6),iconColor:t.extend("--ft-popover-icon-color","",c.contentGlobalSecondary),iconSize:t.extend("--ft-popover-icon-size","",a.iconSize2),titleColor:t.extend("--ft-popover-title-color","",c.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",c.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",c.contentActionPrimary),gap:t.extend("--ft-popover-gap","",a.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",a.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",a.shadowElevation02)};var vl={topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",a.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",a.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",a.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",a.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",a.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",a.spacing1),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",a.opacity8),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",a.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",a.opacity40),offColor:t.extend("--ft-tabs-off-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",a.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",a.opacity8),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",a.opacity16),onDisabledComponentOpacity:t.extend("--ft-tabs-on-disabled-component-opacity","",a.opacity40),onColor:t.extend("--ft-tabs-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",c.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",a.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",a.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",a.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",a.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",c.borderActionFocusRing)};var Rl={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",a.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",a.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",c.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",a.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",a.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",a.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",a.spacing3),color:t.extend("--ft-collapsible-color","",c.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",c.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",c.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",c.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",a.iconSize3)};var Tl={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",a.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",a.spacing1),groupGap:t.extend("--ft-switch-group-gap","",a.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",c.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",c.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",a.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",a.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",a.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",a.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",a.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",a.opacity40),offColor:t.extend("--ft-switch-off-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",a.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",a.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",a.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",a.opacity40),onColor:t.extend("--ft-switch-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",c.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",a.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",a.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",c.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",a.borderRadiusS)};var Ul={color1Light:t.extend("--ft-chart-1-light","for area color charts",a.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",a.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",a.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",a.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",a.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",a.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",a.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",a.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",a.colorRed40),color5Base:t.extend("--ft-chart-5-base","",a.colorRed60),color6Light:t.extend("--ft-chart-6-light","",a.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",a.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",a.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",a.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",a.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",a.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",a.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",a.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",a.colorGray50),color10Base:t.extend("--ft-chart-10-base","",a.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",a.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",a.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",a.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",a.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",a.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",a.colorBrand200)};var Hl={largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",a.spacing4),largeVerticalPadding:t.extend("--ft-chip-large-vertical-padding","",a.spacing2),largeGap:t.extend("--ft-chip-large-gap","",a.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.extend("--ft-chip-large-border-radius","",a.borderRadiusPill),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",a.iconSize3),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",a.spacing3),mediumVerticalPadding:t.extend("--ft-chip-medium-vertical-padding","",a.spacing1),mediumGap:t.extend("--ft-chip-medium-gap","",a.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.extend("--ft-chip-medium-border-radius","",a.borderRadiusPill),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",a.iconSize2),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",a.spacing2),smallVerticalPadding:t.extend("--ft-chip-small-vertical-padding","",a.spacing05),smallGap:t.extend("--ft-chip-small-gap","",a.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.extend("--ft-chip-small-border-radius","",a.borderRadiusPill),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",a.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",c.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",c.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 Kl={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",a.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",a.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",a.borderRadiusS),gap:t.extend("--ft-notice-gap","",a.spacing2),iconSize:t.extend("--ft-notice-icon-size","",a.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",c.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",c.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",c.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",c.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",c.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",c.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",c.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",c.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",c.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",c.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",c.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",c.contentSuccessIconOnly)};var Yl={color:t.extend("--ft-checkbox-color","",c.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",c.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",c.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",c.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",a.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",a.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",a.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",a.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",a.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",a.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",a.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",a.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",a.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",a.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-checkbox-gap","",a.spacing3)};var ec={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",a.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",a.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",a.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",a.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",c.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",a.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",a.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",a.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",a.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",c.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",c.contentActionPrimary),color:t.extend("--ft-toggle-color","",c.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",c.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",a.spacing3)};var ac={color:t.extend("--ft-radio-color","",c.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",c.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",c.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",a.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",a.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",a.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",a.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",c.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",c.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",a.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",a.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",a.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",a.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",a.spacing3)};var dc={iconSize:t.extend("--ft-notification-icon-size","",a.iconSize4),horizontalPadding:t.extend("--ft-notification-horizontal-padding","",a.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",a.spacing4),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",c.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",c.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",c.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",c.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",c.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",a.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",a.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",a.spacing8)};var yc={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",a.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",a.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",a.borderRadiusS),color:t.extend("--ft-tooltip-color","",c.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",c.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",a.opacity80),shadow:t.extend("--ft-tooltip-shadow","",a.shadowElevation03),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",a.spacing05)};var Me=g(U());function $r(e){let o=He[e];return Me.css`
|
|
115
|
-
.ft-typography--${(0,
|
|
116
|
-
font-family: ${
|
|
117
|
-
font-size: ${
|
|
118
|
-
font-weight: ${
|
|
119
|
-
letter-spacing: ${
|
|
120
|
-
line-height: ${
|
|
121
|
-
text-transform: ${
|
|
122
|
-
}
|
|
123
|
-
`}var
|
|
113
|
+
`;var xe=S(F()),C=S(L());var _e=S(F(),1),ze=e=>typeof e=="string"?(0,_e.unsafeCSS)(e):e,r=class{static create(t,o,n,i){let a=l=>ze(l??i),s=_e.css`var(${ze(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>_e.css`var(${ze(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=l=>n.get(l??i),s=_e.css`var(${ze(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=>_e.css`var(${ze(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):ze(a??t.lastResortDefaultValue()),i=_e.css`var(${ze(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=>_e.css`var(${ze(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)")},An={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")},Rn={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")},Nn={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")},Pn={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")},Tn={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")},In={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")},Ln={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")},_n={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")},kn={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")},yc={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")},Dn={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")},Un={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")},Mn={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")},Bn={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")},$n={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")},Wn={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")},Fn={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")},zn={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")},Hn={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")},jn={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")},Gn={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")},Kn={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")},Vn={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")},Zn={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")},qn={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")},Yn={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")},hr={display:An,"title-1":Rn,"title-2":Nn,"title-3":Pn,"body-1-regular":Tn,"body-1-medium":In,"body-1-semibold":Ln,"body-2-regular":_n,"body-2-medium":kn,"body-2-medium-underline":yc,"body-2-semibold":Dn,"label-1-medium":Un,"label-1-semibold":Mn,"label-1-bold":Bn,"label-2-medium":$n,"label-2-semibold":Wn,"label-2-bold":Fn,"caption-1-medium":zn,"caption-1-semibold":Hn,"caption-1-bold":jn,"caption-2-medium":Gn,"caption-2-semibold":Kn,"caption-2-bold":Vn,"caption-3-medium":Zn,"caption-3-semibold":qn,"caption-3-bold":Yn};var u={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.
|
|
114
|
+
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","",u.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",u.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",u.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",u.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","",u.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",u.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",u.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",u.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","",u.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",u.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",u.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","",u.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",u.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",u.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",u.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 Ql={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","",u.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var ou={focusOpacity:r.extend("--ft-link-focus-opacity","",c.opacity80),focusFocusRingColor:r.extend("--ft-link-focus-focus-ring-color","",u.borderActionFocusRing),brandColor:r.extend("--ft-link-brand-color","",u.contentActionPrimary),infoColor:r.extend("--ft-link-info-color","",u.contentInfoPrimary)};var cu={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","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var fu={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","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",u.contentActionPrimary)};var bu={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","",u.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Cu={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","",u.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",u.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",u.contentGlobalSecondary)};var Nu={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","",u.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","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",u.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 _u={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",u.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","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",u.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","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",u.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 Bu={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","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",u.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","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var Hu={backgroundColor:r.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",u.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 Zu={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","",u.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",u.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","",u.backgroundGlobalOnSurface)};var Ju={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","",u.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.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 nd={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.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 ld={backgroundColor:r.extend("--ft-popover-background-color","",u.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","",u.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",u.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 hd={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","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",u.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","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",u.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","",u.borderActionFocusRing)};var xd={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","",u.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","",u.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",c.iconSize3)};var Ed={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","",u.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",u.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","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",u.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","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",u.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","",u.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var Nd={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 _d={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","",u.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly)};var Bd={color:r.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",u.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","",u.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 Hd={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","",u.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",u.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","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:r.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",c.spacing3)};var Zd={color:r.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",u.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","",u.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",u.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","",u.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 Jd={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","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",u.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 np={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","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",u.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 Xn;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Xn||(Xn={}));var Qn;(function(e){e.large="large",e.medium="medium",e.small="small"})(Qn||(Qn={}));var yr=S(F());function Jn(e){let t=hr[e];return yr.css`
|
|
115
|
+
.ft-typography--${(0,yr.unsafeCSS)(e)} {
|
|
116
|
+
font-family: ${t.fontFamily};
|
|
117
|
+
font-size: ${t.fontSize};
|
|
118
|
+
font-weight: ${t.fontWeight};
|
|
119
|
+
letter-spacing: ${t.letterSpacing};
|
|
120
|
+
line-height: ${t.lineHeight};
|
|
121
|
+
text-transform: ${t.textCase};
|
|
122
|
+
}
|
|
123
|
+
`}var ei=C.FtCssVariableFactory.extend("--ft-typography-font-family","",C.designSystemVariables.titleFont),ke=C.FtCssVariableFactory.extend("--ft-typography-font-family","",C.designSystemVariables.contentFont),P={fontFamily:ke,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")},gt={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ei),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")},bt={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ei),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")},xt={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ke),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")},vt={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ke),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")},St={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ke),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")},Ot={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ke),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")},Ct={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ke),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")},Et={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ke),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")},wt={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ke),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")},Ne={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ke),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")},ti=xe.css`
|
|
124
124
|
.ft-typography--title {
|
|
125
|
-
font-family: ${
|
|
126
|
-
font-size: ${
|
|
127
|
-
font-weight: ${
|
|
128
|
-
letter-spacing: ${
|
|
129
|
-
line-height: ${
|
|
130
|
-
text-transform: ${
|
|
131
|
-
}
|
|
132
|
-
`,
|
|
125
|
+
font-family: ${gt.fontFamily};
|
|
126
|
+
font-size: ${gt.fontSize};
|
|
127
|
+
font-weight: ${gt.fontWeight};
|
|
128
|
+
letter-spacing: ${gt.letterSpacing};
|
|
129
|
+
line-height: ${gt.lineHeight};
|
|
130
|
+
text-transform: ${gt.textTransform};
|
|
131
|
+
}
|
|
132
|
+
`,ri=xe.css`
|
|
133
133
|
.ft-typography--title-dense {
|
|
134
|
-
font-family: ${
|
|
135
|
-
font-size: ${
|
|
136
|
-
font-weight: ${
|
|
137
|
-
letter-spacing: ${
|
|
138
|
-
line-height: ${
|
|
139
|
-
text-transform: ${
|
|
140
|
-
}
|
|
141
|
-
`,
|
|
134
|
+
font-family: ${bt.fontFamily};
|
|
135
|
+
font-size: ${bt.fontSize};
|
|
136
|
+
font-weight: ${bt.fontWeight};
|
|
137
|
+
letter-spacing: ${bt.letterSpacing};
|
|
138
|
+
line-height: ${bt.lineHeight};
|
|
139
|
+
text-transform: ${bt.textTransform};
|
|
140
|
+
}
|
|
141
|
+
`,oi=xe.css`
|
|
142
142
|
.ft-typography--subtitle1 {
|
|
143
|
-
font-family: ${
|
|
144
|
-
font-size: ${
|
|
145
|
-
font-weight: ${
|
|
146
|
-
letter-spacing: ${
|
|
147
|
-
line-height: ${
|
|
148
|
-
text-transform: ${
|
|
149
|
-
}
|
|
150
|
-
`,
|
|
143
|
+
font-family: ${xt.fontFamily};
|
|
144
|
+
font-size: ${xt.fontSize};
|
|
145
|
+
font-weight: ${xt.fontWeight};
|
|
146
|
+
letter-spacing: ${xt.letterSpacing};
|
|
147
|
+
line-height: ${xt.lineHeight};
|
|
148
|
+
text-transform: ${xt.textTransform};
|
|
149
|
+
}
|
|
150
|
+
`,ni=xe.css`
|
|
151
151
|
.ft-typography--subtitle2 {
|
|
152
|
-
font-family: ${
|
|
153
|
-
font-size: ${
|
|
154
|
-
font-weight: ${
|
|
155
|
-
letter-spacing: ${
|
|
156
|
-
line-height: ${
|
|
157
|
-
text-transform: ${
|
|
152
|
+
font-family: ${vt.fontFamily};
|
|
153
|
+
font-size: ${vt.fontSize};
|
|
154
|
+
font-weight: ${vt.fontWeight};
|
|
155
|
+
letter-spacing: ${vt.letterSpacing};
|
|
156
|
+
line-height: ${vt.lineHeight};
|
|
157
|
+
text-transform: ${vt.textTransform};
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
`,
|
|
160
|
+
`,ii=xe.css`
|
|
161
161
|
.ft-typography--body1 {
|
|
162
|
-
font-family: ${
|
|
163
|
-
font-size: ${
|
|
164
|
-
font-weight: ${
|
|
165
|
-
letter-spacing: ${
|
|
166
|
-
line-height: ${
|
|
167
|
-
text-transform: ${
|
|
168
|
-
}
|
|
169
|
-
`,
|
|
162
|
+
font-family: ${St.fontFamily};
|
|
163
|
+
font-size: ${St.fontSize};
|
|
164
|
+
font-weight: ${St.fontWeight};
|
|
165
|
+
letter-spacing: ${St.letterSpacing};
|
|
166
|
+
line-height: ${St.lineHeight};
|
|
167
|
+
text-transform: ${St.textTransform};
|
|
168
|
+
}
|
|
169
|
+
`,mr=xe.css`
|
|
170
170
|
.ft-typography--body2 {
|
|
171
|
-
font-family: ${
|
|
172
|
-
font-size: ${
|
|
173
|
-
font-weight: ${
|
|
174
|
-
letter-spacing: ${
|
|
175
|
-
line-height: ${
|
|
176
|
-
text-transform: ${
|
|
177
|
-
}
|
|
178
|
-
`,
|
|
171
|
+
font-family: ${Ot.fontFamily};
|
|
172
|
+
font-size: ${Ot.fontSize};
|
|
173
|
+
font-weight: ${Ot.fontWeight};
|
|
174
|
+
letter-spacing: ${Ot.letterSpacing};
|
|
175
|
+
line-height: ${Ot.lineHeight};
|
|
176
|
+
text-transform: ${Ot.textTransform};
|
|
177
|
+
}
|
|
178
|
+
`,ai=xe.css`
|
|
179
179
|
.ft-typography--caption {
|
|
180
|
-
font-family: ${
|
|
181
|
-
font-size: ${
|
|
182
|
-
font-weight: ${
|
|
183
|
-
letter-spacing: ${
|
|
184
|
-
line-height: ${
|
|
185
|
-
text-transform: ${
|
|
186
|
-
}
|
|
187
|
-
`,
|
|
180
|
+
font-family: ${Ct.fontFamily};
|
|
181
|
+
font-size: ${Ct.fontSize};
|
|
182
|
+
font-weight: ${Ct.fontWeight};
|
|
183
|
+
letter-spacing: ${Ct.letterSpacing};
|
|
184
|
+
line-height: ${Ct.lineHeight};
|
|
185
|
+
text-transform: ${Ct.textTransform};
|
|
186
|
+
}
|
|
187
|
+
`,si=xe.css`
|
|
188
188
|
.ft-typography--breadcrumb {
|
|
189
|
-
font-family: ${
|
|
190
|
-
font-size: ${
|
|
191
|
-
font-weight: ${
|
|
192
|
-
letter-spacing: ${
|
|
193
|
-
line-height: ${
|
|
194
|
-
text-transform: ${
|
|
195
|
-
}
|
|
196
|
-
`,
|
|
189
|
+
font-family: ${Et.fontFamily};
|
|
190
|
+
font-size: ${Et.fontSize};
|
|
191
|
+
font-weight: ${Et.fontWeight};
|
|
192
|
+
letter-spacing: ${Et.letterSpacing};
|
|
193
|
+
line-height: ${Et.lineHeight};
|
|
194
|
+
text-transform: ${Et.textTransform};
|
|
195
|
+
}
|
|
196
|
+
`,ci=xe.css`
|
|
197
197
|
.ft-typography--overline {
|
|
198
|
-
font-family: ${
|
|
199
|
-
font-size: ${
|
|
200
|
-
font-weight: ${
|
|
201
|
-
letter-spacing: ${
|
|
202
|
-
line-height: ${
|
|
203
|
-
text-transform: ${
|
|
204
|
-
}
|
|
205
|
-
`,
|
|
198
|
+
font-family: ${wt.fontFamily};
|
|
199
|
+
font-size: ${wt.fontSize};
|
|
200
|
+
font-weight: ${wt.fontWeight};
|
|
201
|
+
letter-spacing: ${wt.letterSpacing};
|
|
202
|
+
line-height: ${wt.lineHeight};
|
|
203
|
+
text-transform: ${wt.textTransform};
|
|
204
|
+
}
|
|
205
|
+
`,li=xe.css`
|
|
206
206
|
.ft-typography--button {
|
|
207
|
-
font-family: ${
|
|
208
|
-
font-size: ${
|
|
209
|
-
font-weight: ${
|
|
210
|
-
letter-spacing: ${
|
|
211
|
-
line-height: ${
|
|
212
|
-
text-transform: ${
|
|
213
|
-
}
|
|
214
|
-
`,
|
|
207
|
+
font-family: ${Ne.fontFamily};
|
|
208
|
+
font-size: ${Ne.fontSize};
|
|
209
|
+
font-weight: ${Ne.fontWeight};
|
|
210
|
+
letter-spacing: ${Ne.letterSpacing};
|
|
211
|
+
line-height: ${Ne.lineHeight};
|
|
212
|
+
text-transform: ${Ne.textTransform};
|
|
213
|
+
}
|
|
214
|
+
`,ui=xe.css`
|
|
215
215
|
.ft-typography {
|
|
216
216
|
vertical-align: inherit;
|
|
217
217
|
}
|
|
218
|
-
`,
|
|
218
|
+
`,di=[Object.keys(hr).map(e=>Jn(e))];var pi=S(F()),jt=S(L()),se={color:jt.FtCssVariableFactory.extend("--ft-loader-color","",jt.designSystemVariables.colorPrimary),size:jt.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},fi=pi.css`
|
|
219
219
|
:host {
|
|
220
220
|
line-height: 0;
|
|
221
221
|
}
|
|
@@ -224,8 +224,8 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
224
224
|
display: inline-block;
|
|
225
225
|
position: relative;
|
|
226
226
|
|
|
227
|
-
width: ${
|
|
228
|
-
height: ${
|
|
227
|
+
width: ${se.size};
|
|
228
|
+
height: ${se.size};
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
.ft-loader div {
|
|
@@ -234,7 +234,7 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
234
234
|
width: 25%;
|
|
235
235
|
height: 25%;
|
|
236
236
|
border-radius: 50%;
|
|
237
|
-
background: ${
|
|
237
|
+
background: ${se.color};
|
|
238
238
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
239
239
|
}
|
|
240
240
|
|
|
@@ -281,10 +281,10 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
281
281
|
transform: translate(0, 0);
|
|
282
282
|
}
|
|
283
283
|
100% {
|
|
284
|
-
transform: translate(calc(0.35 * ${
|
|
284
|
+
transform: translate(calc(0.35 * ${se.size}), 0);
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
|
-
`;var
|
|
287
|
+
`;var hi=S(F()),De=S(L()),ce={size:De.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:De.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",De.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:De.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",De.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:De.FtCssVariableFactory.extend("--ft-icon-material-font-family","",De.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:De.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},yi=hi.css`
|
|
288
288
|
:host, i.ft-icon {
|
|
289
289
|
display: inline-flex;
|
|
290
290
|
align-items: center;
|
|
@@ -293,14 +293,14 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
293
293
|
}
|
|
294
294
|
|
|
295
295
|
:host {
|
|
296
|
-
width: ${
|
|
297
|
-
height: ${
|
|
296
|
+
width: ${ce.size};
|
|
297
|
+
height: ${ce.size};
|
|
298
298
|
}
|
|
299
299
|
|
|
300
300
|
i.ft-icon {
|
|
301
301
|
width: 100%;
|
|
302
302
|
height: 100%;
|
|
303
|
-
font-size: ${
|
|
303
|
+
font-size: ${ce.size};
|
|
304
304
|
line-height: 1;
|
|
305
305
|
font-weight: normal;
|
|
306
306
|
text-transform: none;
|
|
@@ -311,28 +311,28 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
311
311
|
text-rendering: auto;
|
|
312
312
|
-webkit-font-smoothing: antialiased;
|
|
313
313
|
-moz-osx-font-smoothing: grayscale;
|
|
314
|
-
vertical-align: ${
|
|
314
|
+
vertical-align: ${ce.verticalAlign};
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
i.ft-icon.ft-icon--fluid-topics {
|
|
318
|
-
font-family: ${
|
|
318
|
+
font-family: ${ce.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
319
319
|
|
|
320
320
|
/* Ugly fix because font is broken */
|
|
321
|
-
font-size: calc(0.75 * ${
|
|
322
|
-
line-height: ${
|
|
321
|
+
font-size: calc(0.75 * ${ce.size});
|
|
322
|
+
line-height: ${ce.size};
|
|
323
323
|
position: relative;
|
|
324
324
|
top: -4%;
|
|
325
325
|
justify-content: center;
|
|
326
326
|
}
|
|
327
327
|
|
|
328
328
|
.ft-icon--file-format {
|
|
329
|
-
font-family: ${
|
|
329
|
+
font-family: ${ce.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
330
330
|
}
|
|
331
331
|
|
|
332
332
|
.ft-icon--material {
|
|
333
|
-
font-family: ${
|
|
333
|
+
font-family: ${ce.materialFontFamily}, "Material Icons", sans-serif;
|
|
334
334
|
}
|
|
335
|
-
`;var
|
|
335
|
+
`;var mi=_.FtCssVariableFactory.extend("--ft-button-color","",_.designSystemVariables.colorPrimary),j={backgroundColor:_.FtCssVariableFactory.extend("--ft-button-background-color","",_.designSystemVariables.colorSurface),borderRadius:_.FtCssVariableFactory.extend("--ft-button-border-radius","",_.designSystemVariables.borderRadiusL),color:mi,fontSize:_.FtCssVariableFactory.extend("--ft-button-font-size","",Ne.fontSize),iconSize:_.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:_.FtCssVariableFactory.extend("--ft-button-ripple-color","",mi),verticalPadding:_.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:_.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:_.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:_.FtCssVariableFactory.external(_.designSystemVariables.colorOpacityDisabled,"Design system")},gi=_.FtCssVariableFactory.extend("--ft-button-primary-color","",_.FtCssVariableFactory.extend("--ft-button-color","",_.designSystemVariables.colorOnPrimary)),oo={backgroundColor:_.FtCssVariableFactory.extend("--ft-button-primary-background-color","",_.FtCssVariableFactory.extend("--ft-button-background-color","",_.designSystemVariables.colorPrimary)),color:gi,rippleColor:_.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",gi)},Pe={borderRadius:_.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",_.FtCssVariableFactory.extend("--ft-button-border-radius","",_.designSystemVariables.borderRadiusM)),verticalPadding:_.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:_.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:_.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},xi=[bi.css`
|
|
336
336
|
:host {
|
|
337
337
|
display: inline-block;
|
|
338
338
|
max-width: 100%;
|
|
@@ -343,7 +343,7 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
343
343
|
box-shadow: 0px 0px 0px transparent;
|
|
344
344
|
border: 0px solid transparent;
|
|
345
345
|
text-shadow: 0px 0px 0px transparent;
|
|
346
|
-
font-size: ${
|
|
346
|
+
font-size: ${j.fontSize};
|
|
347
347
|
}
|
|
348
348
|
|
|
349
349
|
button:hover {
|
|
@@ -372,31 +372,31 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
372
372
|
border: none;
|
|
373
373
|
pointer-events: auto;
|
|
374
374
|
|
|
375
|
-
--ft-button-internal-line-height: max(calc(${
|
|
376
|
-
--ft-button-internal-color: ${
|
|
377
|
-
${(0,
|
|
378
|
-
${(0,
|
|
375
|
+
--ft-button-internal-line-height: max(calc(${j.fontSize} + 2px), ${j.iconSize});
|
|
376
|
+
--ft-button-internal-color: ${j.color};
|
|
377
|
+
${(0,_.setVariable)(ce.size,j.iconSize)};
|
|
378
|
+
${(0,_.setVariable)(D.color,j.rippleColor)};
|
|
379
379
|
|
|
380
|
-
border-radius: ${
|
|
381
|
-
padding: ${
|
|
382
|
-
background-color: ${
|
|
380
|
+
border-radius: ${j.borderRadius};
|
|
381
|
+
padding: ${j.verticalPadding} ${j.horizontalPadding};
|
|
382
|
+
background-color: ${j.backgroundColor};
|
|
383
383
|
color: var(--ft-button-internal-color);
|
|
384
384
|
-webkit-mask-image: radial-gradient(white, black);
|
|
385
385
|
}
|
|
386
386
|
|
|
387
387
|
.ft-button.ft-button--outlined {
|
|
388
388
|
border: 1px solid var(--ft-button-internal-color);
|
|
389
|
-
padding: calc(${
|
|
389
|
+
padding: calc(${j.verticalPadding} - 1px) calc(${j.horizontalPadding} - 1px);
|
|
390
390
|
}
|
|
391
391
|
|
|
392
392
|
.ft-button.ft-button--dense {
|
|
393
|
-
padding: ${
|
|
394
|
-
border-radius: ${
|
|
395
|
-
gap: ${
|
|
393
|
+
padding: ${Pe.verticalPadding} ${Pe.horizontalPadding};
|
|
394
|
+
border-radius: ${Pe.borderRadius};
|
|
395
|
+
gap: ${Pe.iconPadding};
|
|
396
396
|
}
|
|
397
397
|
|
|
398
398
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
399
|
-
padding: calc(${
|
|
399
|
+
padding: calc(${Pe.verticalPadding} - 1px) calc(${Pe.horizontalPadding} - 1px);
|
|
400
400
|
}
|
|
401
401
|
|
|
402
402
|
.ft-button:not([disabled]):hover {
|
|
@@ -404,22 +404,22 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
404
404
|
}
|
|
405
405
|
|
|
406
406
|
.ft-button--round {
|
|
407
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
407
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${j.verticalPadding});
|
|
408
408
|
}
|
|
409
409
|
|
|
410
410
|
.ft-button--round.ft-button--dense {
|
|
411
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
411
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Pe.verticalPadding});
|
|
412
412
|
}
|
|
413
413
|
|
|
414
414
|
.ft-button[disabled] {
|
|
415
415
|
filter: grayscale(1);
|
|
416
|
-
opacity: ${
|
|
416
|
+
opacity: ${j.opacityDisabled};
|
|
417
417
|
}
|
|
418
418
|
|
|
419
419
|
.ft-button.ft-button--primary {
|
|
420
|
-
background-color: ${
|
|
421
|
-
--ft-button-internal-color: ${
|
|
422
|
-
${(0,
|
|
420
|
+
background-color: ${oo.backgroundColor};
|
|
421
|
+
--ft-button-internal-color: ${oo.color};
|
|
422
|
+
${(0,_.setVariable)(D.color,oo.rippleColor)};
|
|
423
423
|
}
|
|
424
424
|
|
|
425
425
|
.ft-button:focus {
|
|
@@ -432,13 +432,13 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
432
432
|
white-space: nowrap;
|
|
433
433
|
text-overflow: ellipsis;
|
|
434
434
|
display: block;
|
|
435
|
-
margin: 0 ${
|
|
436
|
-
${(0,
|
|
437
|
-
${(0,
|
|
435
|
+
margin: 0 ${j.iconPadding};
|
|
436
|
+
${(0,_.setVariable)(Ne.fontSize,"1em")};
|
|
437
|
+
${(0,_.setVariable)(Ne.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
438
438
|
}
|
|
439
439
|
|
|
440
440
|
.ft-button--dense .ft-button--label {
|
|
441
|
-
margin: 0 ${
|
|
441
|
+
margin: 0 ${Pe.iconPadding};
|
|
442
442
|
}
|
|
443
443
|
|
|
444
444
|
.ft-button--label[hidden] {
|
|
@@ -451,13 +451,13 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
451
451
|
}
|
|
452
452
|
|
|
453
453
|
.ft-button--label[hidden] + [part="icon"] {
|
|
454
|
-
margin: 0 calc(${
|
|
455
|
-
padding: 0 ${
|
|
454
|
+
margin: 0 calc(${j.horizontalPadding} * -1);
|
|
455
|
+
padding: 0 ${j.verticalPadding};
|
|
456
456
|
}
|
|
457
457
|
|
|
458
458
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
459
|
-
margin: 0 calc(${
|
|
460
|
-
padding: 0 ${
|
|
459
|
+
margin: 0 calc(${Pe.horizontalPadding} * -1);
|
|
460
|
+
padding: 0 ${Pe.verticalPadding};
|
|
461
461
|
}
|
|
462
462
|
|
|
463
463
|
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
@@ -465,31 +465,31 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
465
465
|
}
|
|
466
466
|
|
|
467
467
|
ft-loader {
|
|
468
|
-
${(0,
|
|
469
|
-
${(0,
|
|
468
|
+
${(0,_.setVariable)(se.size,j.iconSize)};
|
|
469
|
+
${(0,_.setVariable)(se.color,"var(--ft-button-internal-color)")};
|
|
470
470
|
}
|
|
471
|
-
`,
|
|
471
|
+
`,_.noTextSelect];var Lt=S(L());var Ci=S(L());var Si=S(F()),re=S(Q()),Oi=S(gr()),Gt=S(L());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},z=class extends Gt.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 Gt.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 Gt.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 Si.html`
|
|
472
472
|
<style>
|
|
473
473
|
.ft-ripple .ft-ripple--effect {
|
|
474
474
|
left: ${this.originX}px;
|
|
475
475
|
top: ${this.originY}px;
|
|
476
476
|
}
|
|
477
477
|
</style>
|
|
478
|
-
<div class="${(0,
|
|
478
|
+
<div class="${(0,Oi.classMap)(t)}">
|
|
479
479
|
<div class="ft-ripple--background"></div>
|
|
480
480
|
<div class="ft-ripple--effect"></div>
|
|
481
481
|
</div>
|
|
482
|
-
`}contentAvailableCallback(
|
|
483
|
-
\f\r]`,
|
|
484
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),
|
|
485
|
-
<${
|
|
482
|
+
`}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)=>d=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},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()}};z.elementDefinitions={};z.styles=wn;le([(0,re.property)({type:Boolean})],z.prototype,"primary",void 0);le([(0,re.property)({type:Boolean})],z.prototype,"secondary",void 0);le([(0,re.property)({type:Boolean})],z.prototype,"unbounded",void 0);le([(0,re.property)({type:Boolean})],z.prototype,"activated",void 0);le([(0,re.property)({type:Boolean})],z.prototype,"selected",void 0);le([(0,re.property)({type:Boolean})],z.prototype,"disabled",void 0);le([(0,re.state)()],z.prototype,"hovered",void 0);le([(0,re.state)()],z.prototype,"focused",void 0);le([(0,re.state)()],z.prototype,"pressed",void 0);le([(0,re.state)()],z.prototype,"rippling",void 0);le([(0,re.state)()],z.prototype,"originX",void 0);le([(0,re.state)()],z.prototype,"originY",void 0);le([(0,re.query)(".ft-ripple")],z.prototype,"ripple",void 0);le([(0,re.query)(".ft-ripple--effect")],z.prototype,"rippleEffect",void 0);(0,Ci.customElement)("ft-ripple")(z);var ma=S(L());var ya=S(F()),X=S(Q()),tr=S(L());var Hi=S(L());var uo=globalThis,br=uo.trustedTypes,Ei=br?br.createPolicy("lit-html",{createHTML:e=>e}):void 0,Ti="$lit$",He=`lit$${(Math.random()+"").slice(9)}$`,Ii="?"+He,mc=`<${Ii}>`,nt=document,xr=()=>nt.createComment(""),Vt=e=>e===null||typeof e!="object"&&typeof e!="function",Li=Array.isArray,gc=e=>Li(e)||typeof e?.[Symbol.iterator]=="function",no=`[
|
|
483
|
+
\f\r]`,Kt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,wi=/-->/g,Ai=/>/g,rt=RegExp(`>|${no}(?:([^\\s"'>=/]+)(${no}*=${no}*(?:[^
|
|
484
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ri=/'/g,Ni=/"/g,_i=/^(?:script|style|textarea|title)$/i,ki=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),Di=ki(1),Ui=ki(2),Zt=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),Pi=new WeakMap,ot=nt.createTreeWalker(nt,129);function Mi(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ei!==void 0?Ei.createHTML(t):t}var bc=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=Kt;for(let l=0;l<o;l++){let d=e[l],p,f,y=-1,m=0;for(;m<d.length&&(s.lastIndex=m,f=s.exec(d),f!==null);)m=s.lastIndex,s===Kt?f[1]==="!--"?s=wi:f[1]!==void 0?s=Ai:f[2]!==void 0?(_i.test(f[2])&&(i=RegExp("</"+f[2],"g")),s=rt):f[3]!==void 0&&(s=rt):s===rt?f[0]===">"?(s=i??Kt,y=-1):f[1]===void 0?y=-2:(y=s.lastIndex-f[2].length,p=f[1],s=f[3]===void 0?rt:f[3]==='"'?Ni:Ri):s===Ni||s===Ri?s=rt:s===wi||s===Ai?s=Kt:(s=rt,i=void 0);let b=s===rt&&e[l+1].startsWith("/>")?" ":"";a+=s===Kt?d+mc:y>=0?(n.push(p),d.slice(0,y)+Ti+d.slice(y)+He+b):d+He+(y===-2?l:b)}return[Mi(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},qt=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,d=this.parts,[p,f]=bc(t,o);if(this.el=e.createElement(p,n),ot.currentNode=this.el.content,o===2){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(i=ot.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let y of i.getAttributeNames())if(y.endsWith(Ti)){let m=f[s++],b=i.getAttribute(y).split(He),g=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:g[2],strings:b,ctor:g[1]==="."?ao:g[1]==="?"?so:g[1]==="@"?co:Rt}),i.removeAttribute(y)}else y.startsWith(He)&&(d.push({type:6,index:a}),i.removeAttribute(y));if(_i.test(i.tagName)){let y=i.textContent.split(He),m=y.length-1;if(m>0){i.textContent=br?br.emptyScript:"";for(let b=0;b<m;b++)i.append(y[b],xr()),ot.nextNode(),d.push({type:2,index:++a});i.append(y[m],xr())}}}else if(i.nodeType===8)if(i.data===Ii)d.push({type:2,index:a});else{let y=-1;for(;(y=i.data.indexOf(He,y+1))!==-1;)d.push({type:7,index:a}),y+=He.length-1}a++}}static createElement(t,o){let n=nt.createElement("template");return n.innerHTML=t,n}};function At(e,t,o=e,n){if(t===Zt)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Vt(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=At(e,i._$AS(e,t.values),i,n)),t}var io=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??nt).importNode(o,!0);ot.currentNode=i;let a=ot.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new vr(a,a.nextSibling,this,t):d.type===1?p=new d.ctor(a,d.name,d.strings,this,t):d.type===6&&(p=new lo(a,this,t)),this._$AV.push(p),d=n[++l]}s!==d?.index&&(a=ot.nextNode(),s++)}return ot.currentNode=nt,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++}},vr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=J,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=At(this,t,o),Vt(t)?t===J||t==null||t===""?(this._$AH!==J&&this._$AR(),this._$AH=J):t!==this._$AH&&t!==Zt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):gc(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!==J&&Vt(this._$AH)?this._$AA.nextSibling.data=t:this.$(nt.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=qt.createElement(Mi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new io(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=Pi.get(t.strings);return o===void 0&&Pi.set(t.strings,o=new qt(t)),o}T(t){Li(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(xr()),this.k(xr()),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))}},Rt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=J,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=J}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=At(this,t,o,0),s=!Vt(t)||t!==this._$AH&&t!==Zt,s&&(this._$AH=t);else{let l=t,d,p;for(t=a[0],d=0;d<a.length-1;d++)p=At(this,l[n+d],o,d),p===Zt&&(p=this._$AH[d]),s||=!Vt(p)||p!==this._$AH[d],p===J?t=J:t!==J&&(t+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!i&&this.O(t)}O(t){t===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ao=class extends Rt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===J?void 0:t}},so=class extends Rt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==J)}},co=class extends Rt{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=At(this,t,o,0)??J)===Zt)return;let n=this._$AH,i=t===J&&n!==J||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==J&&(n===J||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)}},lo=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){At(this,t)}};var xc=uo.litHtmlPolyfillSupport;xc?.(qt,vr),(uo.litHtmlVersions??=[]).push("3.1.0");var $i=Symbol.for(""),vc=e=>{if(e?.r===$i)return e?._$litStatic$},po=e=>({_$litStatic$:e,r:$i});var Bi=new Map,Wi=e=>(t,...o)=>{let n=o.length,i,a,s=[],l=[],d,p=0,f=!1;for(;p<n;){for(d=t[p];p<n&&(a=o[p],(i=vc(a))!==void 0);)d+=i+t[++p],f=!0;p!==n&&l.push(a),s.push(d),p++}if(p===n&&s.push(t[n]),f){let y=s.join("$$lit$$");(t=Bi.get(y))===void 0&&(s.raw=s,Bi.set(y,t=s)),o=l}return e(t,...o)},fo=Wi(Di),_f=Wi(Ui);var ho=S(Q()),zi=S(L());var it;(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"})(it||(it={}));var Fi=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},fe=class extends zi.FtLitElement{constructor(){super(...arguments),this.variant=it.body1}render(){return this.element?fo`
|
|
485
|
+
<${po(this.element)}
|
|
486
486
|
part="text"
|
|
487
487
|
class="ft-typography ft-typography--${this.variant}">
|
|
488
488
|
<slot></slot>
|
|
489
|
-
</${
|
|
490
|
-
`:
|
|
489
|
+
</${po(this.element)}>
|
|
490
|
+
`:fo`
|
|
491
491
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
492
|
-
`}};
|
|
492
|
+
`}};fe.styles=[ti,ri,oi,ni,ii,mr,ai,si,ci,li,ui,...di];Fi([(0,ho.property)()],fe.prototype,"element",void 0);Fi([(0,ho.property)()],fe.prototype,"variant",void 0);(0,Hi.customElement)("ft-typography")(fe);var ji=S(F()),Ue=S(L()),je={distance:Ue.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Ue.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Ue.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Ue.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Ue.FtCssVariableFactory.external(Ue.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Ue.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Gi=ji.css`
|
|
493
493
|
.ft-tooltip--container {
|
|
494
494
|
display: block;
|
|
495
495
|
}
|
|
@@ -504,21 +504,21 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
504
504
|
box-sizing: border-box;
|
|
505
505
|
overflow: hidden;
|
|
506
506
|
width: max-content;
|
|
507
|
-
max-width: ${
|
|
507
|
+
max-width: ${je.maxWidth};
|
|
508
508
|
text-align: center;
|
|
509
|
-
padding: ${
|
|
510
|
-
z-index: ${
|
|
509
|
+
padding: ${je.distance};
|
|
510
|
+
z-index: ${je.zIndex};
|
|
511
511
|
}
|
|
512
512
|
|
|
513
513
|
.ft-tooltip--content {
|
|
514
514
|
padding: 4px 8px;
|
|
515
|
-
border-radius: ${
|
|
516
|
-
background-color: ${
|
|
517
|
-
color: ${
|
|
515
|
+
border-radius: ${je.borderRadiusS};
|
|
516
|
+
background-color: ${je.backgroundColor};
|
|
517
|
+
color: ${je.color};
|
|
518
518
|
position: relative;
|
|
519
519
|
word-break: break-word;
|
|
520
520
|
}
|
|
521
|
-
`;var _n=["top","right","bottom","left"],Pn=["start","end"],To=_n.reduce((e,o)=>e.concat(o,o+"-"+Pn[0],o+"-"+Pn[1]),[]),Re=Math.min,Bt=Math.max,Ne=Math.round;var Lt=e=>({x:e,y:e}),xa={left:"right",right:"left",bottom:"top",top:"bottom"},Sa={start:"end",end:"start"};function Po(e,o,r){return Bt(e,Re(o,r))}function Ze(e,o){return typeof e=="function"?e(o):e}function de(e){return e.split("-")[0]}function Dt(e){return e.split("-")[1]}function _o(e){return e==="x"?"y":"x"}function ko(e){return e==="y"?"height":"width"}function je(e){return["top","bottom"].includes(de(e))?"y":"x"}function Uo(e){return _o(je(e))}function kn(e,o,r){r===void 0&&(r=!1);let n=Dt(e),i=Uo(e),s=ko(i),l=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return o.reference[s]>o.floating[s]&&(l=Io(l)),[l,Io(l)]}function Un(e){return e.replace(/start|end/g,o=>Sa[o])}function Io(e){return e.replace(/left|right|bottom|top/g,o=>xa[o])}function va(e){return{top:0,right:0,bottom:0,left:0,...e}}function Bn(e){return typeof e!="number"?va(e):{top:e,right:e,bottom:e,left:e}}function Kt(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Dn(e,o,r){let{reference:n,floating:i}=e,s=je(o),l=Uo(o),p=ko(l),f=de(o),u=s==="y",b=n.x+n.width/2-i.width/2,S=n.y+n.height/2-i.height/2,R=n[p]/2-i[p]/2,A;switch(f){case"top":A={x:b,y:n.y-i.height};break;case"bottom":A={x:b,y:n.y+n.height};break;case"right":A={x:n.x+n.width,y:S};break;case"left":A={x:n.x-i.width,y:S};break;default:A={x:n.x,y:n.y}}switch(Dt(o)){case"start":A[l]-=R*(r&&u?-1:1);break;case"end":A[l]+=R*(r&&u?-1:1);break}return A}var $n=async(e,o,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:l}=r,p=s.filter(Boolean),f=await(l.isRTL==null?void 0:l.isRTL(o)),u=await l.getElementRects({reference:e,floating:o,strategy:i}),{x:b,y:S}=Dn(u,n,f),R=n,A={},w=0;for(let B=0;B<p.length;B++){let{name:D,fn:k}=p[B],{x:H,y:Y,data:J,reset:V}=await k({x:b,y:S,initialPlacement:n,placement:R,strategy:i,middlewareData:A,rects:u,platform:l,elements:{reference:e,floating:o}});if(b=H??b,S=Y??S,A={...A,[D]:{...A[D],...J}},V&&w<=50){w++,typeof V=="object"&&(V.placement&&(R=V.placement),V.rects&&(u=V.rects===!0?await l.getElementRects({reference:e,floating:o,strategy:i}):V.rects),{x:b,y:S}=Dn(u,R,f)),B=-1;continue}}return{x:b,y:S,placement:R,strategy:i,middlewareData:A}};async function Bo(e,o){var r;o===void 0&&(o={});let{x:n,y:i,platform:s,rects:l,elements:p,strategy:f}=e,{boundary:u="clippingAncestors",rootBoundary:b="viewport",elementContext:S="floating",altBoundary:R=!1,padding:A=0}=Ze(o,e),w=Bn(A),D=p[R?S==="floating"?"reference":"floating":S],k=Kt(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(D)))==null||r?D:D.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(p.floating)),boundary:u,rootBoundary:b,strategy:f})),H=S==="floating"?{...l.floating,x:n,y:i}:l.reference,Y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(p.floating)),J=await(s.isElement==null?void 0:s.isElement(Y))?await(s.getScale==null?void 0:s.getScale(Y))||{x:1,y:1}:{x:1,y:1},V=Kt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:H,offsetParent:Y,strategy:f}):H);return{top:(k.top-V.top+w.top)/J.y,bottom:(V.bottom-k.bottom+w.bottom)/J.y,left:(k.left-V.left+w.left)/J.x,right:(V.right-k.right+w.right)/J.x}}function Oa(e,o,r){return(e?[...r.filter(i=>Dt(i)===e),...r.filter(i=>Dt(i)!==e)]:r.filter(i=>de(i)===i)).filter(i=>e?Dt(i)===e||(o?Un(i)!==i:!1):!0)}var Do=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var r,n,i;let{rects:s,middlewareData:l,placement:p,platform:f,elements:u}=o,{crossAxis:b=!1,alignment:S,allowedPlacements:R=To,autoAlignment:A=!0,...w}=Ze(e,o),B=S!==void 0||R===To?Oa(S||null,A,R):R,D=await Bo(o,w),k=((r=l.autoPlacement)==null?void 0:r.index)||0,H=B[k];if(H==null)return{};let Y=kn(H,s,await(f.isRTL==null?void 0:f.isRTL(u.floating)));if(p!==H)return{reset:{placement:B[0]}};let J=[D[de(H)],D[Y[0]],D[Y[1]]],V=[...((n=l.autoPlacement)==null?void 0:n.overflows)||[],{placement:H,overflows:J}],$e=B[k+1];if($e)return{data:{index:k+1,overflows:V},reset:{placement:$e}};let ct=V.map(d=>{let h=Dt(d.placement);return[d.placement,h&&b?d.overflows.slice(0,2).reduce((O,Z)=>O+Z,0):d.overflows[0],d.overflows]}).sort((d,h)=>d[1]-h[1]),Jt=((i=ct.filter(d=>d[2].slice(0,Dt(d[0])?2:3).every(h=>h<=0))[0])==null?void 0:i[0])||ct[0][0];return Jt!==p?{data:{index:k+1,overflows:V},reset:{placement:Jt}}:{}}}};var $o=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:r,y:n,placement:i}=o,{mainAxis:s=!0,crossAxis:l=!1,limiter:p={fn:D=>{let{x:k,y:H}=D;return{x:k,y:H}}},...f}=Ze(e,o),u={x:r,y:n},b=await Bo(o,f),S=je(de(i)),R=_o(S),A=u[R],w=u[S];if(s){let D=R==="y"?"top":"left",k=R==="y"?"bottom":"right",H=A+b[D],Y=A-b[k];A=Po(H,A,Y)}if(l){let D=S==="y"?"top":"left",k=S==="y"?"bottom":"right",H=w+b[D],Y=w-b[k];w=Po(H,w,Y)}let B=p.fn({...o,[R]:A,[S]:w});return{...B,data:{x:B.x-r,y:B.y-n}}}}};function It(e){return Hn(e)?(e.nodeName||"").toLowerCase():"#document"}function at(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function Tt(e){var o;return(o=(Hn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function Hn(e){return e instanceof Node||e instanceof at(e).Node}function Ct(e){return e instanceof Element||e instanceof at(e).Element}function yt(e){return e instanceof HTMLElement||e instanceof at(e).HTMLElement}function Wn(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof at(e).ShadowRoot}function fe(e){let{overflow:o,overflowX:r,overflowY:n,display:i}=dt(e);return/auto|scroll|overlay|hidden|clip/.test(o+n+r)&&!["inline","contents"].includes(i)}function Mn(e){return["table","td","th"].includes(It(e))}function Ye(e){let o=Xe(),r=dt(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!o&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!o&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function zn(e){let o=Vt(e);for(;yt(o)&&!we(o);){if(Ye(o))return o;o=Vt(o)}return null}function Xe(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function we(e){return["html","body","#document"].includes(It(e))}function dt(e){return at(e).getComputedStyle(e)}function Le(e){return Ct(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Vt(e){if(It(e)==="html")return e;let o=e.assignedSlot||e.parentNode||Wn(e)&&e.host||Tt(e);return Wn(o)?o.host:o}function Fn(e){let o=Vt(e);return we(o)?e.ownerDocument?e.ownerDocument.body:e.body:yt(o)&&fe(o)?o:Fn(o)}function qe(e,o,r){var n;o===void 0&&(o=[]),r===void 0&&(r=!0);let i=Fn(e),s=i===((n=e.ownerDocument)==null?void 0:n.body),l=at(i);return s?o.concat(l,l.visualViewport||[],fe(i)?i:[],l.frameElement&&r?qe(l.frameElement):[]):o.concat(i,qe(i,[],r))}function Vn(e){let o=dt(e),r=parseFloat(o.width)||0,n=parseFloat(o.height)||0,i=yt(e),s=i?e.offsetWidth:r,l=i?e.offsetHeight:n,p=Ne(r)!==s||Ne(n)!==l;return p&&(r=s,n=l),{width:r,height:n,$:p}}function Zn(e){return Ct(e)?e:e.contextElement}function ue(e){let o=Zn(e);if(!yt(o))return Lt(1);let r=o.getBoundingClientRect(),{width:n,height:i,$:s}=Vn(o),l=(s?Ne(r.width):r.width)/n,p=(s?Ne(r.height):r.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!p||!Number.isFinite(p))&&(p=1),{x:l,y:p}}var Ca=Lt(0);function jn(e){let o=at(e);return!Xe()||!o.visualViewport?Ca:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function Ea(e,o,r){return o===void 0&&(o=!1),!r||o&&r!==at(e)?!1:o}function Ie(e,o,r,n){o===void 0&&(o=!1),r===void 0&&(r=!1);let i=e.getBoundingClientRect(),s=Zn(e),l=Lt(1);o&&(n?Ct(n)&&(l=ue(n)):l=ue(e));let p=Ea(s,r,n)?jn(s):Lt(0),f=(i.left+p.x)/l.x,u=(i.top+p.y)/l.y,b=i.width/l.x,S=i.height/l.y;if(s){let R=at(s),A=n&&Ct(n)?at(n):n,w=R.frameElement;for(;w&&n&&A!==R;){let B=ue(w),D=w.getBoundingClientRect(),k=dt(w),H=D.left+(w.clientLeft+parseFloat(k.paddingLeft))*B.x,Y=D.top+(w.clientTop+parseFloat(k.paddingTop))*B.y;f*=B.x,u*=B.y,b*=B.x,S*=B.y,f+=H,u+=Y,w=at(w).frameElement}}return Kt({width:b,height:S,x:f,y:u})}function Aa(e){let{rect:o,offsetParent:r,strategy:n}=e,i=yt(r),s=Tt(r);if(r===s)return o;let l={scrollLeft:0,scrollTop:0},p=Lt(1),f=Lt(0);if((i||!i&&n!=="fixed")&&((It(r)!=="body"||fe(s))&&(l=Le(r)),yt(r))){let u=Ie(r);p=ue(r),f.x=u.x+r.clientLeft,f.y=u.y+r.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-l.scrollLeft*p.x+f.x,y:o.y*p.y-l.scrollTop*p.y+f.y}}function Ra(e){return Array.from(e.getClientRects())}function qn(e){return Ie(Tt(e)).left+Le(e).scrollLeft}function Na(e){let o=Tt(e),r=Le(e),n=e.ownerDocument.body,i=Bt(o.scrollWidth,o.clientWidth,n.scrollWidth,n.clientWidth),s=Bt(o.scrollHeight,o.clientHeight,n.scrollHeight,n.clientHeight),l=-r.scrollLeft+qn(e),p=-r.scrollTop;return dt(n).direction==="rtl"&&(l+=Bt(o.clientWidth,n.clientWidth)-i),{width:i,height:s,x:l,y:p}}function wa(e,o){let r=at(e),n=Tt(e),i=r.visualViewport,s=n.clientWidth,l=n.clientHeight,p=0,f=0;if(i){s=i.width,l=i.height;let u=Xe();(!u||u&&o==="fixed")&&(p=i.offsetLeft,f=i.offsetTop)}return{width:s,height:l,x:p,y:f}}function La(e,o){let r=Ie(e,!0,o==="fixed"),n=r.top+e.clientTop,i=r.left+e.clientLeft,s=yt(e)?ue(e):Lt(1),l=e.clientWidth*s.x,p=e.clientHeight*s.y,f=i*s.x,u=n*s.y;return{width:l,height:p,x:f,y:u}}function Gn(e,o,r){let n;if(o==="viewport")n=wa(e,r);else if(o==="document")n=Na(Tt(e));else if(Ct(o))n=La(o,r);else{let i=jn(e);n={...o,x:o.x-i.x,y:o.y-i.y}}return Kt(n)}function Yn(e,o){let r=Vt(e);return r===o||!Ct(r)||we(r)?!1:dt(r).position==="fixed"||Yn(r,o)}function Ia(e,o){let r=o.get(e);if(r)return r;let n=qe(e,[],!1).filter(p=>Ct(p)&&It(p)!=="body"),i=null,s=dt(e).position==="fixed",l=s?Vt(e):e;for(;Ct(l)&&!we(l);){let p=dt(l),f=Ye(l);!f&&p.position==="fixed"&&(i=null),(s?!f&&!i:!f&&p.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||fe(l)&&!f&&Yn(e,l))?n=n.filter(b=>b!==l):i=p,l=Vt(l)}return o.set(e,n),n}function Ta(e){let{element:o,boundary:r,rootBoundary:n,strategy:i}=e,l=[...r==="clippingAncestors"?Ia(o,this._c):[].concat(r),n],p=l[0],f=l.reduce((u,b)=>{let S=Gn(o,b,i);return u.top=Bt(S.top,u.top),u.right=Re(S.right,u.right),u.bottom=Re(S.bottom,u.bottom),u.left=Bt(S.left,u.left),u},Gn(o,p,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function Pa(e){return Vn(e)}function _a(e,o,r){let n=yt(o),i=Tt(o),s=r==="fixed",l=Ie(e,!0,s,o),p={scrollLeft:0,scrollTop:0},f=Lt(0);if(n||!n&&!s)if((It(o)!=="body"||fe(i))&&(p=Le(o)),n){let u=Ie(o,!0,s,o);f.x=u.x+o.clientLeft,f.y=u.y+o.clientTop}else i&&(f.x=qn(i));return{x:l.left+p.scrollLeft-f.x,y:l.top+p.scrollTop-f.y,width:l.width,height:l.height}}function Kn(e,o){return!yt(e)||dt(e).position==="fixed"?null:o?o(e):e.offsetParent}function Xn(e,o){let r=at(e);if(!yt(e))return r;let n=Kn(e,o);for(;n&&Mn(n)&&dt(n).position==="static";)n=Kn(n,o);return n&&(It(n)==="html"||It(n)==="body"&&dt(n).position==="static"&&!Ye(n))?r:n||zn(e)||r}var ka=async function(e){let{reference:o,floating:r,strategy:n}=e,i=this.getOffsetParent||Xn,s=this.getDimensions;return{reference:_a(o,await i(r),n),floating:{x:0,y:0,...await s(r)}}};function Ua(e){return dt(e).direction==="rtl"}var Qe={convertOffsetParentRelativeRectToViewportRelativeRect:Aa,getDocumentElement:Tt,getClippingRect:Ta,getOffsetParent:Xn,getElementRects:ka,getClientRects:Ra,getDimensions:Pa,getScale:ue,isElement:Ct,isRTL:Ua};var Qn=(e,o,r)=>{let n=new Map,i={platform:Qe,...r},s={...i.platform,_c:n};return $n(e,o,{...i,platform:s})};function Jn(e){return Ba(e)}function Wo(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Ba(e){for(let o=e;o;o=Wo(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=Wo(e);o;o=Wo(o)){if(!(o instanceof Element))continue;let r=getComputedStyle(o);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||o.tagName==="BODY"))return o}return null}async function ti(e,o,r){return Qn(e,o,{platform:{...Qe,getOffsetParent:n=>Qe.getOffsetParent(n,Jn)},middleware:[$o({crossAxis:!0}),Do({allowedPlacements:[r]})]})}var st=function(e,o,r,n){var i=arguments.length,s=i<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,r,n);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(s=(i<3?l(s):i>3?l(o,r,s):l(o,r))||s);return i>3&&s&&Object.defineProperty(o,r,s),s},W=class extends Te.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Te.Debouncer,this.revealDebouncer=new Te.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ei.html`
|
|
521
|
+
`;var Vi=["top","right","bottom","left"],Ki=["start","end"],mo=Vi.reduce((e,t)=>e.concat(t,t+"-"+Ki[0],t+"-"+Ki[1]),[]),Yt=Math.min,Ge=Math.max,Xt=Math.round;var Me=e=>({x:e,y:e}),Sc={left:"right",right:"left",bottom:"top",top:"bottom"},Oc={start:"end",end:"start"};function go(e,t,o){return Ge(e,Yt(t,o))}function Sr(e,t){return typeof e=="function"?e(t):e}function Nt(e){return e.split("-")[0]}function Ke(e){return e.split("-")[1]}function bo(e){return e==="x"?"y":"x"}function xo(e){return e==="y"?"height":"width"}function Or(e){return["top","bottom"].includes(Nt(e))?"y":"x"}function vo(e){return bo(Or(e))}function Zi(e,t,o){o===void 0&&(o=!1);let n=Ke(e),i=vo(e),a=xo(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=yo(s)),[s,yo(s)]}function qi(e){return e.replace(/start|end/g,t=>Oc[t])}function yo(e){return e.replace(/left|right|bottom|top/g,t=>Sc[t])}function Cc(e){return{top:0,right:0,bottom:0,left:0,...e}}function Yi(e){return typeof e!="number"?Cc(e):{top:e,right:e,bottom:e,left:e}}function at(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Xi(e,t,o){let{reference:n,floating:i}=e,a=Or(t),s=vo(t),l=xo(s),d=Nt(t),p=a==="y",f=n.x+n.width/2-i.width/2,y=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,b;switch(d){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};break;case"left":b={x:n.x-i.width,y};break;default:b={x:n.x,y:n.y}}switch(Ke(t)){case"start":b[s]-=m*(o&&p?-1:1);break;case"end":b[s]+=m*(o&&p?-1:1);break}return b}var Qi=async(e,t,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(t)),p=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y}=Xi(p,n,d),m=n,b={},g=0;for(let v=0;v<l.length;v++){let{name:R,fn:w}=l[v],{x:A,y:I,data:T,reset:B}=await w({x:f,y,initialPlacement:n,placement:m,strategy:i,middlewareData:b,rects:p,platform:s,elements:{reference:e,floating:t}});if(f=A??f,y=I??y,b={...b,[R]:{...b[R],...T}},B&&g<=50){g++,typeof B=="object"&&(B.placement&&(m=B.placement),B.rects&&(p=B.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):B.rects),{x:f,y}=Xi(p,m,d)),v=-1;continue}}return{x:f,y,placement:m,strategy:i,middlewareData:b}};async function So(e,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:d}=e,{boundary:p="clippingAncestors",rootBoundary:f="viewport",elementContext:y="floating",altBoundary:m=!1,padding:b=0}=Sr(t,e),g=Yi(b),R=l[m?y==="floating"?"reference":"floating":y],w=at(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(R)))==null||o?R:R.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:f,strategy:d})),A=y==="floating"?{...s.floating,x:n,y:i}:s.reference,I=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),T=await(a.isElement==null?void 0:a.isElement(I))?await(a.getScale==null?void 0:a.getScale(I))||{x:1,y:1}:{x:1,y:1},B=at(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:I,strategy:d}):A);return{top:(w.top-B.top+g.top)/T.y,bottom:(B.bottom-w.bottom+g.bottom)/T.y,left:(w.left-B.left+g.left)/T.x,right:(B.right-w.right+g.right)/T.x}}function Ec(e,t,o){return(e?[...o.filter(i=>Ke(i)===e),...o.filter(i=>Ke(i)!==e)]:o.filter(i=>Nt(i)===i)).filter(i=>e?Ke(i)===e||(t?qi(i)!==i:!1):!0)}var Oo=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:d,elements:p}=t,{crossAxis:f=!1,alignment:y,allowedPlacements:m=mo,autoAlignment:b=!0,...g}=Sr(e,t),v=y!==void 0||m===mo?Ec(y||null,b,m):m,R=await So(t,g),w=((o=s.autoPlacement)==null?void 0:o.index)||0,A=v[w];if(A==null)return{};let I=Zi(A,a,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(l!==A)return{reset:{placement:v[0]}};let T=[R[Nt(A)],R[I[0]],R[I[1]]],B=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:T}],ae=v[w+1];if(ae)return{data:{index:w+1,overflows:B},reset:{placement:ae}};let Y=B.map(h=>{let x=Ke(h.placement);return[h.placement,x&&f?h.overflows.slice(0,2).reduce((N,W)=>N+W,0):h.overflows[0],h.overflows]}).sort((h,x)=>h[1]-x[1]),be=((i=Y.filter(h=>h[2].slice(0,Ke(h[0])?2:3).every(x=>x<=0))[0])==null?void 0:i[0])||Y[0][0];return be!==l?{data:{index:w+1,overflows:B},reset:{placement:be}}:{}}}};var Co=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:R=>{let{x:w,y:A}=R;return{x:w,y:A}}},...d}=Sr(e,t),p={x:o,y:n},f=await So(t,d),y=Or(Nt(i)),m=bo(y),b=p[m],g=p[y];if(a){let R=m==="y"?"top":"left",w=m==="y"?"bottom":"right",A=b+f[R],I=b-f[w];b=go(A,b,I)}if(s){let R=y==="y"?"top":"left",w=y==="y"?"bottom":"right",A=g+f[R],I=g-f[w];g=go(A,g,I)}let v=l.fn({...t,[m]:b,[y]:g});return{...v,data:{x:v.x-o,y:v.y-n}}}}};function Be(e){return ea(e)?(e.nodeName||"").toLowerCase():"#document"}function ue(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function $e(e){var t;return(t=(ea(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ea(e){return e instanceof Node||e instanceof ue(e).Node}function Te(e){return e instanceof Element||e instanceof ue(e).Element}function Oe(e){return e instanceof HTMLElement||e instanceof ue(e).HTMLElement}function Ji(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ue(e).ShadowRoot}function Pt(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=he(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function ta(e){return["table","td","th"].includes(Be(e))}function Er(e){let t=wr(),o=he(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 ra(e){let t=st(e);for(;Oe(t)&&!Qt(t);){if(Er(t))return t;t=st(t)}return null}function wr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Qt(e){return["html","body","#document"].includes(Be(e))}function he(e){return ue(e).getComputedStyle(e)}function Jt(e){return Te(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function st(e){if(Be(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Ji(e)&&e.host||$e(e);return Ji(t)?t.host:t}function oa(e){let t=st(e);return Qt(t)?e.ownerDocument?e.ownerDocument.body:e.body:Oe(t)&&Pt(t)?t:oa(t)}function Cr(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=oa(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=ue(i);return a?t.concat(s,s.visualViewport||[],Pt(i)?i:[],s.frameElement&&o?Cr(s.frameElement):[]):t.concat(i,Cr(i,[],o))}function aa(e){let t=he(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=Oe(e),a=i?e.offsetWidth:o,s=i?e.offsetHeight:n,l=Xt(o)!==a||Xt(n)!==s;return l&&(o=a,n=s),{width:o,height:n,$:l}}function sa(e){return Te(e)?e:e.contextElement}function Tt(e){let t=sa(e);if(!Oe(t))return Me(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=aa(t),s=(a?Xt(o.width):o.width)/n,l=(a?Xt(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var wc=Me(0);function ca(e){let t=ue(e);return!wr()||!t.visualViewport?wc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ac(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==ue(e)?!1:t}function er(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=sa(e),s=Me(1);t&&(n?Te(n)&&(s=Tt(n)):s=Tt(e));let l=Ac(a,o,n)?ca(a):Me(0),d=(i.left+l.x)/s.x,p=(i.top+l.y)/s.y,f=i.width/s.x,y=i.height/s.y;if(a){let m=ue(a),b=n&&Te(n)?ue(n):n,g=m.frameElement;for(;g&&n&&b!==m;){let v=Tt(g),R=g.getBoundingClientRect(),w=he(g),A=R.left+(g.clientLeft+parseFloat(w.paddingLeft))*v.x,I=R.top+(g.clientTop+parseFloat(w.paddingTop))*v.y;d*=v.x,p*=v.y,f*=v.x,y*=v.y,d+=A,p+=I,g=ue(g).frameElement}}return at({width:f,height:y,x:d,y:p})}function Rc(e){let{rect:t,offsetParent:o,strategy:n}=e,i=Oe(o),a=$e(o);if(o===a)return t;let s={scrollLeft:0,scrollTop:0},l=Me(1),d=Me(0);if((i||!i&&n!=="fixed")&&((Be(o)!=="body"||Pt(a))&&(s=Jt(o)),Oe(o))){let p=er(o);l=Tt(o),d.x=p.x+o.clientLeft,d.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+d.x,y:t.y*l.y-s.scrollTop*l.y+d.y}}function Nc(e){return Array.from(e.getClientRects())}function la(e){return er($e(e)).left+Jt(e).scrollLeft}function Pc(e){let t=$e(e),o=Jt(e),n=e.ownerDocument.body,i=Ge(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=Ge(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+la(e),l=-o.scrollTop;return he(n).direction==="rtl"&&(s+=Ge(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function Tc(e,t){let o=ue(e),n=$e(e),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,d=0;if(i){a=i.width,s=i.height;let p=wr();(!p||p&&t==="fixed")&&(l=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:l,y:d}}function Ic(e,t){let o=er(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=Oe(e)?Tt(e):Me(1),s=e.clientWidth*a.x,l=e.clientHeight*a.y,d=i*a.x,p=n*a.y;return{width:s,height:l,x:d,y:p}}function na(e,t,o){let n;if(t==="viewport")n=Tc(e,o);else if(t==="document")n=Pc($e(e));else if(Te(t))n=Ic(t,o);else{let i=ca(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return at(n)}function ua(e,t){let o=st(e);return o===t||!Te(o)||Qt(o)?!1:he(o).position==="fixed"||ua(o,t)}function Lc(e,t){let o=t.get(e);if(o)return o;let n=Cr(e,[],!1).filter(l=>Te(l)&&Be(l)!=="body"),i=null,a=he(e).position==="fixed",s=a?st(e):e;for(;Te(s)&&!Qt(s);){let l=he(s),d=Er(s);!d&&l.position==="fixed"&&(i=null),(a?!d&&!i:!d&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Pt(s)&&!d&&ua(e,s))?n=n.filter(f=>f!==s):i=l,s=st(s)}return t.set(e,n),n}function _c(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?Lc(t,this._c):[].concat(o),n],l=s[0],d=s.reduce((p,f)=>{let y=na(t,f,i);return p.top=Ge(y.top,p.top),p.right=Yt(y.right,p.right),p.bottom=Yt(y.bottom,p.bottom),p.left=Ge(y.left,p.left),p},na(t,l,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function kc(e){return aa(e)}function Dc(e,t,o){let n=Oe(t),i=$e(t),a=o==="fixed",s=er(e,!0,a,t),l={scrollLeft:0,scrollTop:0},d=Me(0);if(n||!n&&!a)if((Be(t)!=="body"||Pt(i))&&(l=Jt(t)),n){let p=er(t,!0,a,t);d.x=p.x+t.clientLeft,d.y=p.y+t.clientTop}else i&&(d.x=la(i));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function ia(e,t){return!Oe(e)||he(e).position==="fixed"?null:t?t(e):e.offsetParent}function da(e,t){let o=ue(e);if(!Oe(e))return o;let n=ia(e,t);for(;n&&ta(n)&&he(n).position==="static";)n=ia(n,t);return n&&(Be(n)==="html"||Be(n)==="body"&&he(n).position==="static"&&!Er(n))?o:n||ra(e)||o}var Uc=async function(e){let{reference:t,floating:o,strategy:n}=e,i=this.getOffsetParent||da,a=this.getDimensions;return{reference:Dc(t,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function Mc(e){return he(e).direction==="rtl"}var Ar={convertOffsetParentRelativeRectToViewportRelativeRect:Rc,getDocumentElement:$e,getClippingRect:_c,getOffsetParent:da,getElementRects:Uc,getClientRects:Nc,getDimensions:kc,getScale:Tt,isElement:Te,isRTL:Mc};var pa=(e,t,o)=>{let n=new Map,i={platform:Ar,...o},a={...i.platform,_c:n};return Qi(e,t,{...i,platform:a})};function fa(e){return Bc(e)}function Eo(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Bc(e){for(let t=e;t;t=Eo(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Eo(e);t;t=Eo(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 ha(e,t,o){return pa(e,t,{platform:{...Ar,getOffsetParent:n=>Ar.getOffsetParent(n,fa)},middleware:[Co({crossAxis:!0}),Oo({allowedPlacements:[o]})]})}var de=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 tr.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 tr.Debouncer,this.revealDebouncer=new tr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ya.html`
|
|
522
522
|
<div part="container"
|
|
523
523
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
524
524
|
@mouseenter=${this.onHover}
|
|
@@ -536,45 +536,45 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
536
536
|
</div>
|
|
537
537
|
</div>
|
|
538
538
|
</div>
|
|
539
|
-
`}updated(o){o.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(o)}contentAvailableCallback(o){super.contentAvailableCallback(o),["visible","text"].some(r=>o.has(r))&&this.visible&&this.positionTooltip()}async show(o){this.visible=!0,o!=null&&await this.hideDebounce.run(()=>{this.hide()},o)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var o;return((o=this.slotNodes)!==null&&o!==void 0?o:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let o=this.tooltipContent.style;switch(o.transition="none",this.validPosition){case"top":o.top=this.tooltip.clientHeight+"px",o.left="0";break;case"bottom":o.top=-this.tooltip.clientHeight+"px",o.left="0";break;case"left":o.top="0",o.left=this.tooltip.clientWidth+"px";break;case"right":o.top="0",o.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",ti(this.slottedElement,this.tooltip,this.position).then(({x:o,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${o}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",o=>{o.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(o,r){return Math.max(o,Math.min(0,-r))}};W.elementDefinitions={"ft-typography":pt};W.styles=Tn;st([(0,K.property)()],W.prototype,"text",void 0);st([(0,K.property)({type:Boolean})],W.prototype,"manual",void 0);st([(0,K.property)({type:Boolean})],W.prototype,"inline",void 0);st([(0,K.property)({type:Number})],W.prototype,"delay",void 0);st([(0,K.property)()],W.prototype,"position",void 0);st([(0,K.queryAssignedNodes)()],W.prototype,"slotNodes",void 0);st([(0,K.query)(".ft-tooltip--container")],W.prototype,"container",void 0);st([(0,K.query)(".ft-tooltip")],W.prototype,"tooltip",void 0);st([(0,K.query)(".ft-tooltip--content")],W.prototype,"tooltipContent",void 0);st([(0,K.state)()],W.prototype,"visible",void 0);st([(0,K.eventOptions)({passive:!0})],W.prototype,"onTouch",null);st([(0,K.eventOptions)({passive:!0})],W.prototype,"onHover",null);st([(0,K.eventOptions)({passive:!0})],W.prototype,"onOut",null);st([(0,K.eventOptions)({passive:!0})],W.prototype,"onClick",null);(0,oi.customElement)("ft-tooltip")(W);var li=g(C());var Pe=g(U()),Zt=g(ot()),ai=g(C()),si=g(ni());var $t;(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="󨃱"})($t||($t={}));var y;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(y||(y={}));var Ho=new Map([...["abw"].map(e=>[e,y.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,y.AUDIO]),...["avi"].map(e=>[e,y.AVI]),...["chm","xhs"].map(e=>[e,y.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,y.CODE]),...["csv"].map(e=>[e,y.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,y.DITA]),...["epub"].map(e=>[e,y.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,y.EXCEL]),...["flac"].map(e=>[e,y.FLAC]),...["gif"].map(e=>[e,y.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,y.GZIP]),...["html","htm","xhtml"].map(e=>[e,y.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,y.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,y.JPEG]),...["json"].map(e=>[e,y.JSON]),...["m4a","m4p"].map(e=>[e,y.M4A]),...["mov","qt"].map(e=>[e,y.MOV]),...["mp3"].map(e=>[e,y.MP3]),...["mp4","m4v"].map(e=>[e,y.MP4]),...["ogg","oga"].map(e=>[e,y.OGG]),...["pdf","ps"].map(e=>[e,y.PDF]),...["png"].map(e=>[e,y.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,y.POWERPOINT]),...["rar"].map(e=>[e,y.RAR]),...["stp"].map(e=>[e,y.STP]),...["txt","rtf","md","mdown"].map(e=>[e,y.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,y.VIDEO]),...["wav"].map(e=>[e,y.WAV]),...["wma"].map(e=>[e,y.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,y.WORD]),...["xml","xsl","rdf"].map(e=>[e,y.XML]),...["yaml","yml","x-yaml"].map(e=>[e,y.YAML]),...["zip"].map(e=>[e,y.ZIP])]),Da=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function ii(e,o){var r,n,i,s;e=(e??"").toLowerCase(),o=(o??"").toLowerCase();let[l,p]=(((r=Da.get(e))!==null&&r!==void 0?r:e)+"/").split("/");return(s=(i=(n=Ho.get(p))!==null&&n!==void 0?n:Ho.get(o))!==null&&i!==void 0?i:Ho.get(l))!==null&&s!==void 0?s:y.UNKNOWN}var Dd={[y.ABW]:"#91ABC6",[y.AUDIO]:"#1795E3",[y.AVI]:"#E63324",[y.CHM]:"#71C3EB",[y.CODE]:"#71C3EB",[y.CSV]:"#1F7345",[y.DITA]:"#71C3EB",[y.EPUB]:"#85B926",[y.EXCEL]:"#1F7345",[y.FLAC]:"#1795E3",[y.GIF]:"#59B031",[y.GZIP]:"#F8AB36",[y.HTML]:"#71C3EB",[y.IMAGE]:"#59B031",[y.JPEG]:"#59B031",[y.JSON]:"#71C3EB",[y.M4A]:"#1795E3",[y.MOV]:"#E63324",[y.MP3]:"#1795E3",[y.MP4]:"#E63324",[y.OGG]:"#1795E3",[y.PDF]:"#E44948",[y.PNG]:"#59B031",[y.POWERPOINT]:"#B54A2B",[y.RAR]:"#F8AB36",[y.STP]:"#3764B1",[y.TEXT]:"#3162AB",[y.UNKNOWN]:"#999999",[y.VIDEO]:"#E63324",[y.WAV]:"#1795E3",[y.WMA]:"#1795E3",[y.WORD]:"#3162AB",[y.XML]:"#71C3EB",[y.YAML]:"#71C3EB",[y.ZIP]:"#F8AB36"};var mt;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(mt||(mt={}));var Je=function(e,o,r,n){var i=arguments.length,s=i<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,r,n);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(s=(i<3?l(s):i>3?l(o,r,s):l(o,r))||s);return i>3&&s&&Object.defineProperty(o,r,s),s},lt=class extends ai.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Pe.nothing}render(){let o=this.variant&&Object.values(mt).includes(this.variant)?this.variant:mt.fluid_topics,r=o!==mt.material||!!this.value;return Pe.html`
|
|
540
|
-
<i class="ft-icon ft-icon--${
|
|
541
|
-
${(0,
|
|
542
|
-
<slot ?hidden=${
|
|
539
|
+
`}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="",ha(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))}};G.elementDefinitions={"ft-typography":fe};G.styles=Gi;de([(0,X.property)()],G.prototype,"text",void 0);de([(0,X.property)({type:Boolean})],G.prototype,"manual",void 0);de([(0,X.property)({type:Boolean})],G.prototype,"inline",void 0);de([(0,X.property)({type:Number})],G.prototype,"delay",void 0);de([(0,X.property)()],G.prototype,"position",void 0);de([(0,X.queryAssignedNodes)()],G.prototype,"slotNodes",void 0);de([(0,X.query)(".ft-tooltip--container")],G.prototype,"container",void 0);de([(0,X.query)(".ft-tooltip")],G.prototype,"tooltip",void 0);de([(0,X.query)(".ft-tooltip--content")],G.prototype,"tooltipContent",void 0);de([(0,X.state)()],G.prototype,"visible",void 0);de([(0,X.eventOptions)({passive:!0})],G.prototype,"onTouch",null);de([(0,X.eventOptions)({passive:!0})],G.prototype,"onHover",null);de([(0,X.eventOptions)({passive:!0})],G.prototype,"onOut",null);de([(0,X.eventOptions)({passive:!0})],G.prototype,"onClick",null);(0,ma.customElement)("ft-tooltip")(G);var Oa=S(L());var rr=S(F()),ct=S(Q()),va=S(L()),Sa=S(ba());var Ve;(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="󨃱"})(Ve||(Ve={}));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 wo=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])]),$c=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function xa(e,t){var o,n,i,a;e=(e??"").toLowerCase(),t=(t??"").toLowerCase();let[s,l]=(((o=$c.get(e))!==null&&o!==void 0?o:e)+"/").split("/");return(a=(i=(n=wo.get(l))!==null&&n!==void 0?n:wo.get(t))!==null&&i!==void 0?i:wo.get(s))!==null&&a!==void 0?a:O.UNKNOWN}var Nh={[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 Ce;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Ce||(Ce={}));var Rr=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},pe=class extends va.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=rr.nothing}render(){let t=this.variant&&Object.values(Ce).includes(this.variant)?this.variant:Ce.fluid_topics,o=t!==Ce.material||!!this.value;return rr.html`
|
|
540
|
+
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
541
|
+
${(0,Sa.unsafeHTML)(this.resolvedIcon)}
|
|
542
|
+
<slot ?hidden=${o}></slot>
|
|
543
543
|
</i>
|
|
544
|
-
`}get textContent(){var o
|
|
544
|
+
`}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 Ce.file_format:this.resolvedIcon=(t=O[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case Ce.material:this.resolvedIcon=this.value||rr.nothing;break;default:this.resolvedIcon=(o=Ve[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};pe.elementDefinitions={};pe.styles=yi;Rr([(0,ct.property)()],pe.prototype,"variant",void 0);Rr([(0,ct.property)()],pe.prototype,"value",void 0);Rr([(0,ct.state)()],pe.prototype,"resolvedIcon",void 0);Rr([(0,ct.query)("slot")],pe.prototype,"slottedContent",void 0);(0,Oa.customElement)("ft-icon")(pe);var wa=S(L());var Ca=S(F()),Ea=S(L());var lt=class extends Ea.FtLitElement{render(){return Ca.html`
|
|
545
545
|
<div class="ft-loader">
|
|
546
546
|
<div></div>
|
|
547
547
|
<div></div>
|
|
548
548
|
<div></div>
|
|
549
549
|
<div></div>
|
|
550
550
|
</div>
|
|
551
|
-
`}};
|
|
551
|
+
`}};lt.styles=fi;(0,wa.customElement)("ft-loader")(lt);var It=S(F()),Aa=S(gr()),ne=S(Q()),ye=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},Z=class extends(0,Lt.toFtFormComponent)(Lt.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(It.html`
|
|
552
552
|
<button part="button"
|
|
553
|
-
class="${(0,
|
|
553
|
+
class="${(0,Aa.classMap)(this.buttonClasses)}"
|
|
554
554
|
aria-label="${this.getLabel()}"
|
|
555
555
|
?disabled=${this.isDisabled()}>
|
|
556
556
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
557
557
|
<ft-typography part="label"
|
|
558
558
|
variant=${this.typographyVariant}
|
|
559
559
|
element="span"
|
|
560
|
-
class="ft-button--label ${
|
|
560
|
+
class="ft-button--label ${Lt.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
561
561
|
?hidden=${!this.hasTextContent()}>
|
|
562
562
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
563
563
|
</ft-typography>
|
|
564
564
|
${this.resolveIcon()}
|
|
565
565
|
</button>
|
|
566
|
-
`)}addTooltipIfNeeded(
|
|
566
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?It.html`
|
|
567
567
|
<ft-tooltip part="tooltip"
|
|
568
568
|
text="${this.getLabel()}"
|
|
569
569
|
position="${this.tooltipPosition}">
|
|
570
|
-
${
|
|
570
|
+
${t}
|
|
571
571
|
</ft-tooltip>
|
|
572
|
-
`:
|
|
573
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
572
|
+
`:t}resolveIcon(){return this.loading?It.html`
|
|
573
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?It.html`
|
|
574
574
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
575
|
-
`:
|
|
575
|
+
`:It.html`
|
|
576
576
|
<slot part="icon" name="icon"></slot>
|
|
577
|
-
`}focus(){var
|
|
577
|
+
`}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}};Z.elementDefinitions={"ft-ripple":z,"ft-tooltip":G,"ft-typography":fe,"ft-icon":pe,"ft-loader":lt};ye([(0,ne.property)({type:String,reflect:!0})],Z.prototype,"role",void 0);ye([(0,ne.property)()],Z.prototype,"type",void 0);ye([(0,ne.property)({type:Boolean})],Z.prototype,"disabled",void 0);ye([(0,ne.property)()],Z.prototype,"label",void 0);ye([(0,ne.property)()],Z.prototype,"icon",void 0);ye([(0,ne.property)()],Z.prototype,"iconVariant",void 0);ye([(0,ne.property)({type:Boolean})],Z.prototype,"trailingIcon",void 0);ye([(0,ne.property)({type:Boolean})],Z.prototype,"loading",void 0);ye([(0,ne.property)()],Z.prototype,"tooltipPosition",void 0);ye([(0,ne.property)({type:Boolean})],Z.prototype,"hideTooltip",void 0);ye([(0,ne.property)({type:Boolean})],Z.prototype,"forceTooltip",void 0);ye([(0,ne.query)(".ft-button")],Z.prototype,"button",void 0);ye([(0,ne.query)(".ft-button--label slot")],Z.prototype,"slottedContent",void 0);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},Ee=class extends Z{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};Ee.styles=[Ra.safariEllipsisFix,xi];Nr([(0,or.property)({type:Boolean})],Ee.prototype,"primary",void 0);Nr([(0,or.property)({type:Boolean})],Ee.prototype,"outlined",void 0);Nr([(0,or.property)({type:Boolean})],Ee.prototype,"dense",void 0);Nr([(0,or.property)({type:Boolean})],Ee.prototype,"round",void 0);var _t=S(Q());var Ta=S(L());var Na=S(F()),U=S(L());var Pa=[Na.css`
|
|
578
578
|
:host {
|
|
579
579
|
display: inline-block;
|
|
580
580
|
max-width: 100%;
|
|
@@ -624,7 +624,7 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
624
624
|
}
|
|
625
625
|
|
|
626
626
|
.ft-button:focus-visible {
|
|
627
|
-
outline-color: ${
|
|
627
|
+
outline-color: ${E.focusFocusRingColor};
|
|
628
628
|
outline-style: solid;
|
|
629
629
|
}
|
|
630
630
|
|
|
@@ -653,150 +653,150 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
653
653
|
/** Primary styles **/
|
|
654
654
|
|
|
655
655
|
.ft-button--primary {
|
|
656
|
-
${(0,
|
|
656
|
+
${(0,U.setVariable)(se.color,E.primaryIconColor)};
|
|
657
657
|
|
|
658
|
-
${(0,
|
|
659
|
-
${(0,
|
|
660
|
-
${(0,
|
|
661
|
-
${(0,
|
|
662
|
-
${(0,
|
|
658
|
+
${(0,U.setVariable)(D.color,E.primaryStateLayerColor)};
|
|
659
|
+
${(0,U.setVariable)(D.opacityContentOnSurfaceHover,E.primaryHoverStateLayerOpacity)};
|
|
660
|
+
${(0,U.setVariable)(D.opacityContentOnSurfaceFocused,E.primaryFocusStateLayerOpacity)};
|
|
661
|
+
${(0,U.setVariable)(D.opacityContentOnSurfaceSelected,E.primaryActiveStateLayerOpacity)};
|
|
662
|
+
${(0,U.setVariable)(D.opacityContentOnSurfacePressed,E.primaryActiveStateLayerOpacity)};
|
|
663
663
|
|
|
664
|
-
background-color: ${
|
|
665
|
-
color: ${
|
|
664
|
+
background-color: ${E.primaryBackgroundColor};
|
|
665
|
+
color: ${E.primaryColor};
|
|
666
666
|
border-style: none;
|
|
667
667
|
}
|
|
668
668
|
|
|
669
669
|
.ft-button--primary[disabled] {
|
|
670
|
-
opacity: ${
|
|
670
|
+
opacity: ${E.primaryDisabledComponentOpacity};
|
|
671
671
|
}
|
|
672
672
|
|
|
673
673
|
.ft-button--primary ft-icon {
|
|
674
|
-
color: ${
|
|
674
|
+
color: ${E.primaryIconColor};
|
|
675
675
|
}
|
|
676
676
|
|
|
677
677
|
/** Secondary styles **/
|
|
678
678
|
|
|
679
679
|
.ft-button--secondary {
|
|
680
|
-
${(0,
|
|
680
|
+
${(0,U.setVariable)(se.color,E.secondaryIconColor)};
|
|
681
681
|
|
|
682
|
-
${(0,
|
|
683
|
-
${(0,
|
|
684
|
-
${(0,
|
|
685
|
-
${(0,
|
|
686
|
-
${(0,
|
|
682
|
+
${(0,U.setVariable)(D.color,E.secondaryStateLayerColor)};
|
|
683
|
+
${(0,U.setVariable)(D.opacityContentOnSurfaceHover,E.secondaryHoverStateLayerOpacity)};
|
|
684
|
+
${(0,U.setVariable)(D.opacityContentOnSurfaceFocused,E.secondaryFocusStateLayerOpacity)};
|
|
685
|
+
${(0,U.setVariable)(D.opacityContentOnSurfaceSelected,E.secondaryActiveStateLayerOpacity)};
|
|
686
|
+
${(0,U.setVariable)(D.opacityContentOnSurfacePressed,E.secondaryActiveStateLayerOpacity)};
|
|
687
687
|
|
|
688
|
-
background-color: ${
|
|
689
|
-
color: ${
|
|
690
|
-
border-color: ${
|
|
688
|
+
background-color: ${E.secondaryBackgroundColor};
|
|
689
|
+
color: ${E.secondaryColor};
|
|
690
|
+
border-color: ${E.secondaryBorderColor};
|
|
691
691
|
border-style: solid;
|
|
692
692
|
}
|
|
693
693
|
|
|
694
694
|
.ft-button--secondary[disabled] {
|
|
695
|
-
opacity: ${
|
|
695
|
+
opacity: ${E.secondaryDisabledComponentOpacity};
|
|
696
696
|
}
|
|
697
697
|
|
|
698
698
|
.ft-button--secondary ft-icon {
|
|
699
|
-
color: ${
|
|
699
|
+
color: ${E.secondaryIconColor};
|
|
700
700
|
}
|
|
701
701
|
|
|
702
702
|
/** Tertiary styles **/
|
|
703
703
|
|
|
704
704
|
.ft-button--tertiary {
|
|
705
|
-
${(0,
|
|
705
|
+
${(0,U.setVariable)(se.color,E.tertiaryIconColor)};
|
|
706
706
|
|
|
707
|
-
${(0,
|
|
708
|
-
${(0,
|
|
709
|
-
${(0,
|
|
710
|
-
${(0,
|
|
711
|
-
${(0,
|
|
707
|
+
${(0,U.setVariable)(D.color,E.tertiaryStateLayerColor)};
|
|
708
|
+
${(0,U.setVariable)(D.opacityContentOnSurfaceHover,E.tertiaryHoverStateLayerOpacity)};
|
|
709
|
+
${(0,U.setVariable)(D.opacityContentOnSurfaceFocused,E.tertiaryFocusStateLayerOpacity)};
|
|
710
|
+
${(0,U.setVariable)(D.opacityContentOnSurfaceSelected,E.tertiaryActiveStateLayerOpacity)};
|
|
711
|
+
${(0,U.setVariable)(D.opacityContentOnSurfacePressed,E.tertiaryActiveStateLayerOpacity)};
|
|
712
712
|
|
|
713
|
-
background-color: ${
|
|
714
|
-
color: ${
|
|
713
|
+
background-color: ${E.tertiaryBackgroundColor};
|
|
714
|
+
color: ${E.tertiaryColor};
|
|
715
715
|
border-style: none;
|
|
716
716
|
}
|
|
717
717
|
|
|
718
718
|
.ft-button--tertiary[disabled] {
|
|
719
|
-
opacity: ${
|
|
719
|
+
opacity: ${E.tertiaryDisabledComponentOpacity};
|
|
720
720
|
}
|
|
721
721
|
|
|
722
722
|
.ft-button--tertiary ft-icon {
|
|
723
|
-
color: ${
|
|
723
|
+
color: ${E.tertiaryIconColor};
|
|
724
724
|
}
|
|
725
725
|
|
|
726
726
|
/** Neutral styles **/
|
|
727
727
|
|
|
728
728
|
.ft-button--neutral {
|
|
729
|
-
${(0,
|
|
729
|
+
${(0,U.setVariable)(se.color,E.neutralIconColor)};
|
|
730
730
|
|
|
731
|
-
${(0,
|
|
732
|
-
${(0,
|
|
733
|
-
${(0,
|
|
734
|
-
${(0,
|
|
735
|
-
${(0,
|
|
731
|
+
${(0,U.setVariable)(D.backgroundColor,E.neutralStateLayerColor)};
|
|
732
|
+
${(0,U.setVariable)(D.opacityContentOnSurfaceHover,E.neutralHoverStateLayerOpacity)};
|
|
733
|
+
${(0,U.setVariable)(D.opacityContentOnSurfaceFocused,E.neutralFocusStateLayerOpacity)};
|
|
734
|
+
${(0,U.setVariable)(D.opacityContentOnSurfaceSelected,E.neutralActiveStateLayerOpacity)};
|
|
735
|
+
${(0,U.setVariable)(D.opacityContentOnSurfacePressed,E.neutralActiveStateLayerOpacity)};
|
|
736
736
|
|
|
737
|
-
background-color: ${
|
|
738
|
-
color: ${
|
|
737
|
+
background-color: ${E.neutralBackgroundColor};
|
|
738
|
+
color: ${E.neutralColor};
|
|
739
739
|
border-style: none;
|
|
740
740
|
}
|
|
741
741
|
|
|
742
742
|
.ft-button--neutral[disabled] {
|
|
743
|
-
opacity: ${
|
|
743
|
+
opacity: ${E.neutralDisabledComponentOpacity};
|
|
744
744
|
}
|
|
745
745
|
|
|
746
746
|
.ft-button--neutral ft-icon {
|
|
747
|
-
color: ${
|
|
747
|
+
color: ${E.neutralIconColor};
|
|
748
748
|
}
|
|
749
749
|
|
|
750
750
|
/** Large styles **/
|
|
751
751
|
|
|
752
752
|
.ft-button--large {
|
|
753
|
-
${(0,
|
|
754
|
-
${(0,
|
|
753
|
+
${(0,U.setVariable)(ce.size,E.largeIconSize)};
|
|
754
|
+
${(0,U.setVariable)(se.size,E.largeIconSize)};
|
|
755
755
|
|
|
756
|
-
height: ${
|
|
757
|
-
padding: 0 ${
|
|
758
|
-
gap: ${
|
|
759
|
-
border-radius: ${
|
|
760
|
-
border-width: ${
|
|
756
|
+
height: ${E.largeHeight};
|
|
757
|
+
padding: 0 ${E.largeHorizontalPadding};
|
|
758
|
+
gap: ${E.largeGap};
|
|
759
|
+
border-radius: ${E.largeBorderRadius};
|
|
760
|
+
border-width: ${E.largeBorderWidth};
|
|
761
761
|
}
|
|
762
762
|
|
|
763
763
|
.ft-button--large:focus-visible {
|
|
764
|
-
outline-width: ${
|
|
765
|
-
outline-offset: ${
|
|
764
|
+
outline-width: ${E.largeFocusOutlineWidth};
|
|
765
|
+
outline-offset: ${E.largeFocusOutlineOffset};
|
|
766
766
|
}
|
|
767
767
|
|
|
768
768
|
.ft-button--large.ft-button--icon-only {
|
|
769
|
-
width: ${
|
|
769
|
+
width: ${E.largeIconOnlyWidth};
|
|
770
770
|
padding: unset;
|
|
771
771
|
}
|
|
772
772
|
|
|
773
773
|
/** Small styles **/
|
|
774
774
|
|
|
775
775
|
.ft-button--small {
|
|
776
|
-
${(0,
|
|
777
|
-
${(0,
|
|
776
|
+
${(0,U.setVariable)(ce.size,E.smallIconSize)};
|
|
777
|
+
${(0,U.setVariable)(se.size,E.smallIconSize)};
|
|
778
778
|
|
|
779
|
-
height: ${
|
|
780
|
-
padding: 0 ${
|
|
781
|
-
gap: ${
|
|
782
|
-
border-radius: ${
|
|
783
|
-
border-width: ${
|
|
779
|
+
height: ${E.smallHeight};
|
|
780
|
+
padding: 0 ${E.smallHorizontalPadding};
|
|
781
|
+
gap: ${E.smallGap};
|
|
782
|
+
border-radius: ${E.smallBorderRadius};
|
|
783
|
+
border-width: ${E.smallBorderWidth};
|
|
784
784
|
}
|
|
785
785
|
|
|
786
786
|
.ft-button--small:focus-visible {
|
|
787
|
-
outline-width: ${
|
|
788
|
-
outline-offset: ${
|
|
787
|
+
outline-width: ${E.smallFocusOutlineWidth};
|
|
788
|
+
outline-offset: ${E.smallFocusOutlineOffset};
|
|
789
789
|
}
|
|
790
790
|
|
|
791
791
|
.ft-button--small.ft-button--icon-only {
|
|
792
|
-
width: ${
|
|
792
|
+
width: ${E.smallIconOnlyWidth};
|
|
793
793
|
padding: unset;
|
|
794
794
|
}
|
|
795
|
-
`,
|
|
795
|
+
`,U.noTextSelect];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},Ie=class extends Z{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?it.caption1medium:it.body2medium}};Ie.styles=[Ta.safariEllipsisFix,Pa];nr([(0,_t.property)({type:Boolean})],Ie.prototype,"primary",void 0);nr([(0,_t.property)({type:Boolean})],Ie.prototype,"secondary",void 0);nr([(0,_t.property)({type:Boolean})],Ie.prototype,"tertiary",void 0);nr([(0,_t.property)({type:Boolean})],Ie.prototype,"neutral",void 0);nr([(0,_t.property)({type:Boolean})],Ie.prototype,"small",void 0);(0,Ao.customElement)("ft-button")(Ee);(0,Ao.customElement)("ftds-button")(Ie);var q={height:M.FtCssVariableFactory.create("--ft-search-input-height","","SIZE","38px"),borderRadius:M.FtCssVariableFactory.extend("--ft-search-input-border-radius","",M.designSystemVariables.borderRadiusS),desktopFiltersHeight:M.FtCssVariableFactory.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:M.FtCssVariableFactory.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:M.FtCssVariableFactory.extend("--ft-search-input-background-color","",M.designSystemVariables.colorSurface),colorOnSurface:M.FtCssVariableFactory.extend("--ft-search-input-color","",M.designSystemVariables.colorOnSurface),colorOnSurfaceMedium:M.FtCssVariableFactory.extend("--ft-search-input-placeholder-color","",M.designSystemVariables.colorOnSurfaceMedium),colorOutline:M.FtCssVariableFactory.extend("--ft-search-input-outline-color","",M.designSystemVariables.colorOutline),elevation02:M.FtCssVariableFactory.extend("--ft-search-input-elevation","",M.designSystemVariables.elevation02),focusOutlineColor:M.FtCssVariableFactory.extend("--ft-search-input-focused-outline-color","",M.designSystemVariables.colorPrimary),buttonColor:M.FtCssVariableFactory.extend("--ft-search-input-button-color","",M.designSystemVariables.colorPrimary),buttonRippleColor:M.FtCssVariableFactory.extend("--ft-search-input-button-ripple-color","",M.designSystemVariables.colorPrimary)},La=Ia.css`
|
|
796
796
|
* {
|
|
797
797
|
box-sizing: border-box;
|
|
798
|
-
${(0,
|
|
799
|
-
${(0,
|
|
798
|
+
${(0,M.setVariable)(j.color,q.buttonColor)};
|
|
799
|
+
${(0,M.setVariable)(j.rippleColor,q.buttonRippleColor)};
|
|
800
800
|
}
|
|
801
801
|
|
|
802
802
|
.ft-search-input {
|
|
@@ -804,11 +804,11 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
804
804
|
display: flex;
|
|
805
805
|
flex-direction: row;
|
|
806
806
|
align-items: center;
|
|
807
|
-
height: ${
|
|
807
|
+
height: ${q.height};
|
|
808
808
|
|
|
809
|
-
background: ${
|
|
810
|
-
border: 1px solid ${
|
|
811
|
-
border-radius: ${
|
|
809
|
+
background: ${q.colorSurface};
|
|
810
|
+
border: 1px solid ${q.colorOutline};
|
|
811
|
+
border-radius: ${q.borderRadius};
|
|
812
812
|
}
|
|
813
813
|
|
|
814
814
|
.ft-search-input--input-container {
|
|
@@ -823,11 +823,11 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
823
823
|
width: 100%;
|
|
824
824
|
display: grid;
|
|
825
825
|
padding: 0 8px;
|
|
826
|
-
border-radius: ${
|
|
826
|
+
border-radius: ${q.borderRadius};
|
|
827
827
|
}
|
|
828
828
|
|
|
829
829
|
.ft-search-input--input-container:focus-within .ft-search-input--input-outline {
|
|
830
|
-
outline: 2px solid ${
|
|
830
|
+
outline: 2px solid ${q.focusOutlineColor};
|
|
831
831
|
}
|
|
832
832
|
|
|
833
833
|
.ft-search-input--input {
|
|
@@ -835,12 +835,12 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
835
835
|
width: 100%;
|
|
836
836
|
border: none;
|
|
837
837
|
background-color: transparent;
|
|
838
|
-
color: ${
|
|
838
|
+
color: ${q.colorOnSurface};
|
|
839
839
|
outline: none;
|
|
840
840
|
}
|
|
841
841
|
|
|
842
842
|
.ft-search-input--input::placeholder {
|
|
843
|
-
color: ${
|
|
843
|
+
color: ${q.colorOnSurfaceMedium};
|
|
844
844
|
}
|
|
845
845
|
|
|
846
846
|
.ft-search-input--actions {
|
|
@@ -850,13 +850,13 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
850
850
|
align-items: center;
|
|
851
851
|
height: 100%;
|
|
852
852
|
|
|
853
|
-
${(0,
|
|
853
|
+
${(0,M.setVariable)(je.zIndex,`calc(${q.floatingZIndex} + 1)`)};
|
|
854
854
|
}
|
|
855
855
|
|
|
856
856
|
.ft-search-input > ft-button,
|
|
857
857
|
.ft-search-input--actions ft-button {
|
|
858
858
|
flex-shrink: 0;
|
|
859
|
-
${(0,
|
|
859
|
+
${(0,M.setVariable)(j.backgroundColor,"transparent")};
|
|
860
860
|
}
|
|
861
861
|
|
|
862
862
|
.ft-search-input .ft-search-input--launch-search,
|
|
@@ -874,31 +874,31 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
874
874
|
|
|
875
875
|
.ft-search-input--separator {
|
|
876
876
|
height: 20px;
|
|
877
|
-
border-right: 1px solid ${
|
|
877
|
+
border-right: 1px solid ${q.colorOutline};
|
|
878
878
|
}
|
|
879
|
-
`;var
|
|
880
|
-
`;var
|
|
879
|
+
`;var Vs=S(L()),Zs=S(Q());var ln=S(L());var Wc=S(L());var Dy=S(ka(),1);var Da;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Da||(Da={}));var Ua;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(Ua||(Ua={}));var Ma;(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"})(Ma||(Ma={}));var Ba;(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"})(Ba||(Ba={}));var $a;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})($a||($a={}));var Wa;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Wa||(Wa={}));var Fa;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Fa||(Fa={}));var za;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(za||(za={}));var Ha;(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"})(Ha||(Ha={}));var ja;(function(e){e.ASC="ASC",e.DESC="DESC"})(ja||(ja={}));var Ga;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Ga||(Ga={}));var Ro;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Ro||(Ro={}));var Ka;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Ka||(Ka={}));var Va;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Va||(Va={}));var Za;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Za||(Za={}));var qa;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(qa||(qa={}));var No;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS"})(No||(No={}));var ee;(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"})(ee||(ee={}));var Ya;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Ya||(Ya={}));var Iy={[ee.PERSONAL_BOOK_SHARE_USER]:[ee.PERSONAL_BOOK_USER],[ee.HTML_EXPORT_USER]:[ee.PERSONAL_BOOK_USER],[ee.PDF_EXPORT_USER]:[ee.PERSONAL_BOOK_USER],[ee.KHUB_ADMIN]:[ee.CONTENT_PUBLISHER],[ee.ADMIN]:[ee.KHUB_ADMIN,ee.USERS_ADMIN,ee.PORTAL_ADMIN],[ee.DEVELOPER]:[ee.BETA_USER,ee.DEBUG_USER]};var Ks=S(L());var rs=S(F()),ve=S(Q()),we=S(L());var Xa=S(F());var Qa=Xa.css`
|
|
880
|
+
`;var Ja=S(L()),Fc="ft-app-info",zc={},k=Ja.FtReduxStore.get({name:Fc,reducers:zc,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 Ze=S(L());var Po=S(L());var ut=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 We=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 Po.CacheRegistry,this.cache=t?i.commonCache:new Po.CacheRegistry}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:ut.get()}get awaitApi(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:ut.await()}clearCache(){this.cache.clearAll()}};var es,Hc=Symbol("clearAfterUnitTest"),Pr=class extends We{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[es]=()=>{this.defaultMessages={},this.cache=new Ze.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,Ze.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 Ze.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,Ze.delay)(0).then(()=>o()).catch(()=>null)))}};es=Hc;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Pr{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Pr{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var kt=window.FluidTopicsI18nService,ts=window.FluidTopicsCustomI18nService;var ie=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 we.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=()=>ut.get(),this.messageContexts=[],this.cache=new we.CacheRegistry,this.cleanSessionDebouncer=new we.Debouncer}render(){return rs.html`
|
|
881
881
|
<slot></slot>
|
|
882
|
-
`}update(o){super.update(o),o.has("baseUrl")&&(N.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),o.has("apiIntegrationIdentifier")&&N.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),o.has("uiLocale")&&N.actions.uiLocale(this.uiLocale),o.has("metadataConfiguration")&&N.actions.metadataConfiguration(this.metadataConfiguration),o.has("noCustom")&&N.actions.noCustom(this.noCustom),o.has("editorMode")&&N.actions.editorMode(this.editorMode),o.has("noCustomComponent")&&N.actions.noCustomComponent(this.noCustomComponent),o.has("session")&&N.actions.session(this.session),o.has("availableUiLocales")&&N.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),o.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>me.addContext(r)),o.has("openExternalDocumentInNewTab")&&N.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),o.has("navigatorOnline")&&N.actions.navigatorOnline(this.navigatorOnline),o.has("forcedOffline")&&N.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let o=await this.apiProvider().getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},o.idleTimeoutInMillis),o})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};M.elementDefinitions={};M.styles=$i;et([(0,gt.property)()],M.prototype,"baseUrl",void 0);et([(0,gt.property)()],M.prototype,"apiIntegrationIdentifier",void 0);et([(0,gt.property)()],M.prototype,"uiLocale",void 0);et([(0,xt.jsonProperty)(null)],M.prototype,"availableUiLocales",void 0);et([(0,xt.jsonProperty)(null)],M.prototype,"metadataConfiguration",void 0);et([(0,gt.property)({type:Boolean})],M.prototype,"editorMode",void 0);et([(0,gt.property)({type:Boolean})],M.prototype,"noCustom",void 0);et([(0,gt.property)({type:Boolean})],M.prototype,"openExternalDocumentInNewTab",void 0);et([(0,gt.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],M.prototype,"noCustomComponent",void 0);et([(0,gt.property)({type:Boolean})],M.prototype,"withManualResources",void 0);et([(0,gt.property)({type:Boolean})],M.prototype,"navigatorOnline",void 0);et([(0,gt.property)({type:Boolean})],M.prototype,"forcedOffline",void 0);et([(0,gt.property)({type:Object})],M.prototype,"apiProvider",void 0);et([(0,xt.jsonProperty)([])],M.prototype,"messageContexts",void 0);et([(0,xt.jsonProperty)(void 0)],M.prototype,"session",void 0);var io=g(C());var oo=class extends Pt{async listMySearches(){let o=N.getState().session;return o?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(o.profile.userId),5*60*1e3):[]}};var ro=class extends Pt{async listMyBookmarks(){let o=N.getState().session;return o?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(o.profile.userId),5*60*1e3):[]}};var za="ft-user-assets",no=io.FtReduxStore.get({name:za,initialState:{savedSearches:void 0,bookmarks:void 0}}),Ko=class{constructor(){this.currentSession=N.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ro,this.savedSearchesService=new oo,N.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var o;let{session:r}=N.getState();(0,io.deepEqual)((o=this.currentSession)===null||o===void 0?void 0:o.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),no.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),no.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let o=await this.savedSearchesService.listMySearches();no.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var o;if(this.bookmarksAreUsed){let r=!((o=this.currentSession)===null||o===void 0)&&o.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;no.actions.bookmarks(r)}}},Cu=new Ko;var Vo=class{addCommand(o,r=!1){N.commands.add(o,r)}consumeCommand(o){return N.commands.consume(o)}};window.FluidTopicsAppInfoStoreService=new Vo;var Fi=g(C()),Zo=class{highlightHtml(o,r){(0,Fi.highlightHtml)(o,r)}};window.FluidTopicsHighlightHtmlService=new Zo;(0,Gi.customElement)("ft-app-context")(M);var jo=class e extends Event{constructor(){super(e.eventName)}};jo.eventName="search-context-clear-all-filters";var Fa=function(e,o,r,n){var i=arguments.length,s=i<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,r,n);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(s=(i<3?l(s):i>3?l(o,r,s):l(o,r))||s);return i>3&&s&&Object.defineProperty(o,r,s),s},Xo=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Yo=Symbol("registerInterval");function Ga(e){var o;class r extends e{constructor(){super(...arguments),this[o]=0}setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Yo]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Yo]):this.dispatchEvent(new Xo)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Yo,Fa([(0,Vi.state)()],r.prototype,"stateManager",void 0),r}var be=class extends Ga(Ki.FtLitElementRedux){};var Xi=g(C());var po=g(U()),fo=g(ot()),uo=g(C());var Zi=g(U());var ji=Zi.css`
|
|
883
|
-
`;var
|
|
882
|
+
`}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=>kt.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())}};K.elementDefinitions={};K.styles=Qa;ie([(0,ve.property)()],K.prototype,"baseUrl",void 0);ie([(0,ve.property)()],K.prototype,"apiIntegrationIdentifier",void 0);ie([(0,ve.property)()],K.prototype,"uiLocale",void 0);ie([(0,we.jsonProperty)(null)],K.prototype,"availableUiLocales",void 0);ie([(0,we.jsonProperty)(null)],K.prototype,"metadataConfiguration",void 0);ie([(0,ve.property)({type:Boolean})],K.prototype,"editorMode",void 0);ie([(0,ve.property)({type:Boolean})],K.prototype,"noCustom",void 0);ie([(0,ve.property)({type:Boolean})],K.prototype,"openExternalDocumentInNewTab",void 0);ie([(0,ve.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],K.prototype,"noCustomComponent",void 0);ie([(0,ve.property)({type:Boolean})],K.prototype,"withManualResources",void 0);ie([(0,ve.property)({type:Boolean})],K.prototype,"navigatorOnline",void 0);ie([(0,ve.property)({type:Boolean})],K.prototype,"forcedOffline",void 0);ie([(0,ve.property)({type:Object})],K.prototype,"apiProvider",void 0);ie([(0,we.jsonProperty)([])],K.prototype,"messageContexts",void 0);ie([(0,we.jsonProperty)(void 0)],K.prototype,"session",void 0);var Pl=S(Q());function jc(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(!Dt(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(!Dt(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(!Dt(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Dt(e,t){try{return jc(e,t)}catch{return!1}}var Gc=S(Q(),1);var Tr=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 Io=S(Q(),1);var os=S(Q(),1);function ns(e,t){let o=()=>JSON.parse(JSON.stringify(e));return(0,os.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)=>!Dt(n,i),...t??{}})}var Ir=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 as=S(F(),1);var Lr=window,Kc=Lr.ShadowRoot&&(Lr.ShadyCSS===void 0||Lr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,dm=Symbol();var is=(e,t)=>{Kc?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let n=document.createElement("style"),i=Lr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)})};var _r=class extends as.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 is(n,t.elementStyles),n}};var To=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},ls,ss=Symbol("constructorPrototype"),cs=Symbol("constructorName"),us=Symbol("exportpartsDebouncer"),dt=class extends _r{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[ls]=new Ir(5),this[cs]=this.constructor.name,this[ss]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[cs]&&Object.setPrototypeOf(this,this[ss])}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[us].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 d=m=>m!=null&&m.trim().length>0,p=t.filter(d).map(m=>m.trim());if(p.length===0){this.removeAttribute("exportparts");return}let f=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],g=(l=(s=m.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(d).map(v=>v.trim()).forEach(v=>f.add(v))}if(f.size===0){this.removeAttribute("exportparts");return}let y=[...f.values()].flatMap(m=>p.map(b=>`${m}:${b}--${m}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};ls=us;To([(0,Io.property)()],dt.prototype,"exportpartsPrefix",void 0);To([ns([])],dt.prototype,"exportpartsPrefixes",void 0);To([(0,Io.property)()],dt.prototype,"customStylesheet",void 0);function ir(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var ds,ps,fs,kr=Symbol("internalReduxEventsUnsubscribers"),qe=Symbol("internalStoresUnsubscribers"),pt=Symbol("internalStores"),ar=class extends dt{constructor(){super(...arguments),this[ds]=new Map,this[ps]=new Map,this[fs]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[pt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[pt].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[pt].get(t)}addStore(t,o){var n;o=(n=o??(ir(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[pt].delete(o)}setupStore(t,o){this[pt].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[pt].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[qe].has(t.store):this[qe].size>0)&&(this[o]=t.selector(i.getState(),this))}})}subscribeToStore(t,o){var n;this[qe].set(t,o.subscribe(()=>this.updateFromStores())),ir(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[kr].push(()=>o.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[qe].forEach((t,o)=>this.unsubscribeFromStore(o)),this[kr].forEach(t=>t()),this[kr]=[]}unsubscribeFromStore(t){this[qe].has(t)&&this[qe].get(t)(),this[qe].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};ds=qe,ps=pt,fs=kr;ar.reduxProperties=new Map;ar.reduxReactiveProperties=new Set;ar.reduxEventListeners=new Map;function Se(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 Fe(e){return!!e&&!!e[H]}function Ae(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)===el}(e)||Array.isArray(e)||!!e[vs]||!!(!((t=e.constructor)===null||t===void 0)&&t[vs])||Wo(e)||Fo(e))}function ft(e,t,o){o===void 0&&(o=!1),Bt(e)===0?(o?Object.keys:Mt)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function Bt(e){var t=e[H];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Wo(e)?2:Fo(e)?3:0}function Ut(e,t){return Bt(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Vc(e,t){return Bt(e)===2?e.get(t):e[t]}function Ss(e,t,o){var n=Bt(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function Os(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Wo(e){return Qc&&e instanceof Map}function Fo(e){return Jc&&e instanceof Set}function Ye(e){return e.o||e.t}function zo(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=ws(e);delete t[H];for(var o=Mt(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 Ho(e,t){return t===void 0&&(t=!1),jo(e)||Fe(e)||!Ae(e)||(Bt(e)>1&&(e.set=e.add=e.clear=e.delete=Zc),Object.freeze(e),t&&ft(e,function(o,n){return Ho(n,!0)},!0)),e}function Zc(){Se(2)}function jo(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Le(e){var t=$o[e];return t||Se(18,e),t}function qc(e,t){$o[e]||($o[e]=t)}function Uo(){return cr}function Lo(e,t){t&&(Le("Patches"),e.u=[],e.s=[],e.v=t)}function Dr(e){Mo(e),e.p.forEach(Yc),e.p=null}function Mo(e){e===cr&&(cr=e.l)}function hs(e){return cr={p:[],l:cr,h:e,m:!0,_:0}}function Yc(e){var t=e[H];t.i===0||t.i===1?t.j():t.g=!0}function _o(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||Le("ES5").S(t,e,n),n?(o[H].P&&(Dr(t),Se(4)),Ae(e)&&(e=Ur(t,e),t.l||Mr(t,e)),t.u&&Le("Patches").M(o[H].t,e,t.u,t.s)):e=Ur(t,o,[]),Dr(t),t.u&&t.v(t.u,t.s),e!==Es?e:void 0}function Ur(e,t,o){if(jo(t))return t;var n=t[H];if(!n)return ft(t,function(l,d){return ys(e,n,t,l,d,o)},!0),t;if(n.A!==e)return t;if(!n.P)return Mr(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=zo(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),ft(a,function(l,d){return ys(e,n,i,l,d,o,s)}),Mr(e,i,!1),o&&e.u&&Le("Patches").N(n,o,e.u,e.s)}return n.o}function ys(e,t,o,n,i,a,s){if(Fe(i)){var l=Ur(e,i,a&&t&&t.i!==3&&!Ut(t.R,n)?a.concat(n):void 0);if(Ss(o,n,l),!Fe(l))return;e.m=!1}else s&&o.add(i);if(Ae(i)&&!jo(i)){if(!e.h.D&&e._<1)return;Ur(e,i),t&&t.A.l||Mr(e,i)}}function Mr(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&Ho(t,o)}function ko(e,t){var o=e[H];return(o?Ye(o):e)[t]}function ms(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 Xe(e){e.P||(e.P=!0,e.l&&Xe(e.l))}function Do(e){e.o||(e.o=zo(e.t))}function Bo(e,t,o){var n=Wo(t)?Le("MapSet").F(t,o):Fo(t)?Le("MapSet").T(t,o):e.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:Uo(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=l,p=lr;s&&(d=[l],p=sr);var f=Proxy.revocable(d,p),y=f.revoke,m=f.proxy;return l.k=m,l.j=y,m}(t,o):Le("ES5").J(t,o);return(o?o.A:Uo()).p.push(n),n}function Xc(e){return Fe(e)||Se(22,e),function t(o){if(!Ae(o))return o;var n,i=o[H],a=Bt(o);if(i){if(!i.P&&(i.i<4||!Le("ES5").K(i)))return i.t;i.I=!0,n=gs(o,a),i.I=!1}else n=gs(o,a);return ft(n,function(s,l){i&&Vc(i.t,s)===l||Ss(n,s,t(l))}),a===3?new Set(n):n}(e)}function gs(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return zo(e)}function Cs(){function e(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var p=this[H];return lr.get(p,s)},set:function(p){var f=this[H];lr.set(f,s,p)}},d}function t(s){for(var l=s.length-1;l>=0;l--){var d=s[l][H];if(!d.P)switch(d.i){case 5:n(d)&&Xe(d);break;case 4:o(d)&&Xe(d)}}}function o(s){for(var l=s.t,d=s.k,p=Mt(d),f=p.length-1;f>=0;f--){var y=p[f];if(y!==H){var m=l[y];if(m===void 0&&!Ut(l,y))return!0;var b=d[y],g=b&&b[H];if(g?g.t!==m:!Os(b,m))return!0}}var v=!!l[H];return p.length!==Mt(l).length+(v?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function i(s){s.g&&Se(3,JSON.stringify(Ye(s)))}var a={};qc("ES5",{J:function(s,l){var d=Array.isArray(s),p=function(y,m){if(y){for(var b=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(b,""+g,e(g,!0));return b}var v=ws(m);delete v[H];for(var R=Mt(v),w=0;w<R.length;w++){var A=R[w];v[A]=e(A,y||!!v[A].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(d,s),f={i:d?5:4,A:l?l.A:Uo(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,H,{value:f,writable:!0}),p},S:function(s,l,d){d?Fe(l)&&l[H].A===s&&t(s.p):(s.u&&function p(f){if(f&&typeof f=="object"){var y=f[H];if(y){var m=y.t,b=y.k,g=y.R,v=y.i;if(v===4)ft(b,function(T){T!==H&&(m[T]!==void 0||Ut(m,T)?g[T]||p(b[T]):(g[T]=!0,Xe(y)))}),ft(m,function(T){b[T]!==void 0||Ut(b,T)||(g[T]=!1,Xe(y))});else if(v===5){if(n(y)&&(Xe(y),g.length=!0),b.length<m.length)for(var R=b.length;R<m.length;R++)g[R]=!1;else for(var w=m.length;w<b.length;w++)g[w]=!0;for(var A=Math.min(b.length,m.length),I=0;I<A;I++)b.hasOwnProperty(I)||(g[I]=!0),g[I]===void 0&&p(b[I])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var bs,cr,Go=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Qc=typeof Map<"u",Jc=typeof Set<"u",xs=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Es=Go?Symbol.for("immer-nothing"):((bs={})["immer-nothing"]=!0,bs),vs=Go?Symbol.for("immer-draftable"):"__$immer_draftable",H=Go?Symbol.for("immer-state"):"__$immer_state";var el=""+Object.prototype.constructor,Mt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,ws=Object.getOwnPropertyDescriptors||function(e){var t={};return Mt(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},$o={},lr={get:function(e,t){if(t===H)return e;var o=Ye(e);if(!Ut(o,t))return function(i,a,s){var l,d=ms(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(i.k):void 0}(e,o,t);var n=o[t];return e.I||!Ae(n)?n:n===ko(e.t,t)?(Do(e),e.o[t]=Bo(e.A.h,n,e)):n},has:function(e,t){return t in Ye(e)},ownKeys:function(e){return Reflect.ownKeys(Ye(e))},set:function(e,t,o){var n=ms(Ye(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var i=ko(Ye(e),t),a=i?.[H];if(a&&a.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(Os(o,i)&&(o!==void 0||Ut(e.t,t)))return!0;Do(e),Xe(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 ko(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Do(e),Xe(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=Ye(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){Se(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Se(12)}},sr={};ft(lr,function(e,t){sr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),sr.deleteProperty=function(e,t){return sr.set.call(this,e,t,void 0)},sr.set=function(e,t,o){return lr.set.call(this,e[0],t,o,e[0])};var tl=function(){function e(o){var n=this;this.O=xs,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var d=n;return function(v){var R=this;v===void 0&&(v=l);for(var w=arguments.length,A=Array(w>1?w-1:0),I=1;I<w;I++)A[I-1]=arguments[I];return d.produce(v,function(T){var B;return(B=a).call.apply(B,[R,T].concat(A))})}}var p;if(typeof a!="function"&&Se(6),s!==void 0&&typeof s!="function"&&Se(7),Ae(i)){var f=hs(n),y=Bo(n,i,void 0),m=!0;try{p=a(y),m=!1}finally{m?Dr(f):Mo(f)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(v){return Lo(f,s),_o(v,f)},function(v){throw Dr(f),v}):(Lo(f,s),_o(p,f))}if(!i||typeof i!="object"){if((p=a(i))===void 0&&(p=i),p===Es&&(p=void 0),n.D&&Ho(p,!0),s){var b=[],g=[];Le("Patches").M(i,p,b,g),s(b,g)}return p}Se(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(p){for(var f=arguments.length,y=Array(f>1?f-1:0),m=1;m<f;m++)y[m-1]=arguments[m];return n.produceWithPatches(p,function(b){return i.apply(void 0,[b].concat(y))})};var s,l,d=n.produce(i,a,function(p,f){s=p,l=f});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,s,l]}):[d,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){Ae(o)||Se(8),Fe(o)&&(o=Xc(o));var n=hs(this),i=Bo(this,o,void 0);return i[H].C=!0,Mo(n),i},t.finishDraft=function(o,n){var i=o&&o[H],a=i.A;return Lo(a,n),_o(void 0,a)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!xs&&Se(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=Le("Patches").$;return Fe(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},e}(),me=new tl,rl=me.produce,Cm=me.produceWithPatches.bind(me),Em=me.setAutoFreeze.bind(me),wm=me.setUseProxies.bind(me),Am=me.applyPatches.bind(me),Rm=me.createDraft.bind(me),Nm=me.finishDraft.bind(me),Br=rl;function Qe(e){"@babel/helpers - typeof";return Qe=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},Qe(e)}function Ko(e,t){if(Qe(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(Qe(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Vo(e){var t=Ko(e,"string");return Qe(t)==="symbol"?t:String(t)}function Zo(e,t,o){return t=Vo(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function As(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 $r(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?As(Object(o),!0).forEach(function(n){Zo(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):As(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function oe(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 Rs=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),qo=function(){return Math.random().toString(36).substring(7).split("").join(".")},Wr={INIT:"@@redux/INIT"+qo(),REPLACE:"@@redux/REPLACE"+qo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+qo()}};function ol(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 Yo(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(oe(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(oe(1));return o(Yo)(e,t)}if(typeof e!="function")throw new Error(oe(2));var i=e,a=t,s=[],l=s,d=!1;function p(){l===s&&(l=s.slice())}function f(){if(d)throw new Error(oe(3));return a}function y(v){if(typeof v!="function")throw new Error(oe(4));if(d)throw new Error(oe(5));var R=!0;return p(),l.push(v),function(){if(R){if(d)throw new Error(oe(6));R=!1,p();var A=l.indexOf(v);l.splice(A,1),s=null}}}function m(v){if(!ol(v))throw new Error(oe(7));if(typeof v.type>"u")throw new Error(oe(8));if(d)throw new Error(oe(9));try{d=!0,a=i(a,v)}finally{d=!1}for(var R=s=l,w=0;w<R.length;w++){var A=R[w];A()}return v}function b(v){if(typeof v!="function")throw new Error(oe(10));i=v,m({type:Wr.REPLACE})}function g(){var v,R=y;return v={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(oe(11));function I(){A.next&&A.next(f())}I();var T=R(I);return{unsubscribe:T}}},v[Rs]=function(){return this},v}return m({type:Wr.INIT}),n={dispatch:m,subscribe:y,getState:f,replaceReducer:b},n[Rs]=g,n}function nl(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:Wr.INIT});if(typeof n>"u")throw new Error(oe(12));if(typeof o(void 0,{type:Wr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(oe(13))})}function Ns(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{nl(o)}catch(d){l=d}return function(p,f){if(p===void 0&&(p={}),l)throw l;if(0)var y;for(var m=!1,b={},g=0;g<a.length;g++){var v=a[g],R=o[v],w=p[v],A=R(w,f);if(typeof A>"u"){var I=f&&f.type;throw new Error(oe(14))}b[v]=A,m=m||A!==w}return m=m||a.length!==Object.keys(p).length,m?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 Ps(){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(oe(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=t.map(function(d){return d(s)});return a=$t.apply(void 0,l)(i.dispatch),$r($r({},i),{},{dispatch:a})}}}function Ts(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 Is=Ts();Is.withExtraArgument=Ts;var Xo=Is;var Us=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)}}(),il=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 d([p,f])}}function d(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}}},Wt=function(e,t){for(var o=0,n=t.length,i=e.length;o<n;o++,i++)e[i]=t[o];return e},al=Object.defineProperty,sl=Object.defineProperties,cl=Object.getOwnPropertyDescriptors,Ls=Object.getOwnPropertySymbols,ll=Object.prototype.hasOwnProperty,ul=Object.prototype.propertyIsEnumerable,_s=function(e,t,o){return t in e?al(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},Je=function(e,t){for(var o in t||(t={}))ll.call(t,o)&&_s(e,o,t[o]);if(Ls)for(var n=0,i=Ls(t);n<i.length;n++){var o=i[n];ul.call(t,o)&&_s(e,o,t[o])}return e},Qo=function(e,t){return sl(e,cl(t))},dl=function(e,t,o){return new Promise(function(n,i){var a=function(d){try{l(o.next(d))}catch(p){i(p)}},s=function(d){try{l(o.throw(d))}catch(p){i(p)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,s)};l((o=o.apply(e,t)).next())})};var pl=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)},Km=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function fl(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 hl=function(e){Us(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,Wt([void 0],o[0].concat(this)))):new(t.bind.apply(t,Wt([void 0],o.concat(this))))},t}(Array),yl=function(e){Us(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,Wt([void 0],o[0].concat(this)))):new(t.bind.apply(t,Wt([void 0],o.concat(this))))},t}(Array);function tn(e){return Ae(e)?Br(e,function(){}):e}function ml(e){return typeof e=="boolean"}function gl(){return function(t){return bl(t)}}function bl(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 hl;if(o&&(ml(o)?l.push(Xo):l.push(Xo.withExtraArgument(o.extraArgument))),0){if(i)var d;if(s)var p}return l}var Jo=!0;function Ms(e){var t=gl(),o=e||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?t():a,l=o.devTools,d=l===void 0?!0:l,p=o.preloadedState,f=p===void 0?void 0:p,y=o.enhancers,m=y===void 0?void 0:y,b;if(typeof i=="function")b=i;else if(fl(i))b=Ns(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),!Jo&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Jo&&g.some(function(T){return typeof T!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=Ps.apply(void 0,g),R=$t;d&&(R=pl(Je({trace:!Jo},typeof d=="object"&&d)));var w=new yl(v),A=w;Array.isArray(m)?A=Wt([v],m):typeof m=="function"&&(A=m(w));var I=R.apply(void 0,A);return Yo(b,f,I)}function et(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 Je(Je({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 Bs(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 xl(e){return typeof e=="function"}function vl(e,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?Bs(t):[t,o,n],a=i[0],s=i[1],l=i[2],d;if(xl(e))d=function(){return tn(e())};else{var p=tn(e);d=function(){return p}}function f(y,m){y===void 0&&(y=d());var b=Wt([a[m.type]],s.filter(function(g){var v=g.matcher;return v(m)}).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(Fe(g)){var R=g,w=v(R,m);return w===void 0?g:w}else{if(Ae(g))return Br(g,function(A){return v(A,m)});var w=v(g,m);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},y)}return f.getInitialState=d,f}function Sl(e,t){return e+"/"+t}function $s(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:tn(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(f){var y=n[f],m=Sl(t,f),b,g;"reducer"in y?(b=y.reducer,g=y.prepare):b=y,a[f]=b,s[m]=b,l[f]=g?et(m,g):et(m)});function d(){var f=typeof e.extraReducers=="function"?Bs(e.extraReducers):[e.extraReducers],y=f[0],m=y===void 0?{}:y,b=f[1],g=b===void 0?[]:b,v=f[2],R=v===void 0?void 0:v,w=Je(Je({},m),s);return vl(o,function(A){for(var I in w)A.addCase(I,w[I]);for(var T=0,B=g;T<B.length;T++){var ae=B[T];A.addMatcher(ae.matcher,ae.reducer)}R&&A.addDefaultCase(R)})}var p;return{name:t,reducer:function(f,y){return p||(p=d()),p(f,y)},actions:l,caseReducers:a,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var Ol="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Cl=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=Ol[Math.random()*64|0];return t},El=["name","message","stack","code"],en=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),ks=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),wl=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=El;o<n.length;o++){var i=n[o];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},Ym=function(){function e(t,o,n){var i=et(t+"/fulfilled",function(f,y,m,b){return{payload:f,meta:Qo(Je({},b||{}),{arg:m,requestId:y,requestStatus:"fulfilled"})}}),a=et(t+"/pending",function(f,y,m){return{payload:void 0,meta:Qo(Je({},m||{}),{arg:y,requestId:f,requestStatus:"pending"})}}),s=et(t+"/rejected",function(f,y,m,b,g){return{payload:b,error:(n&&n.serializeError||wl)(f||"Rejected"),meta:Qo(Je({},g||{}),{arg:m,requestId:y,rejectedWithValue:!!b,requestStatus:"rejected",aborted:f?.name==="AbortError",condition:f?.name==="ConditionError"})}}),l=!1,d=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(y,m,b){var g=n?.idGenerator?n.idGenerator(f):Cl(),v=new d,R,w=!1;function A(T){R=T,v.abort()}var I=function(){return dl(this,null,function(){var T,B,ae,Y,zt,be,h;return il(this,function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),Y=(T=n?.condition)==null?void 0:T.call(n,f,{getState:m,extra:b}),Rl(Y)?[4,Y]:[3,2];case 1:Y=x.sent(),x.label=2;case 2:if(Y===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,zt=new Promise(function(N,W){return v.signal.addEventListener("abort",function(){return W({name:"AbortError",message:R||"Aborted"})})}),y(a(g,f,(B=n?.getPendingMeta)==null?void 0:B.call(n,{requestId:g,arg:f},{getState:m,extra:b}))),[4,Promise.race([zt,Promise.resolve(o(f,{dispatch:y,getState:m,extra:b,requestId:g,signal:v.signal,abort:A,rejectWithValue:function(N,W){return new en(N,W)},fulfillWithValue:function(N,W){return new ks(N,W)}})).then(function(N){if(N instanceof en)throw N;return N instanceof ks?i(N.payload,g,f,N.meta):i(N,g,f)})])];case 3:return ae=x.sent(),[3,5];case 4:return be=x.sent(),ae=be instanceof en?s(null,g,f,be.payload,be.meta):s(be,g,f),[3,5];case 5:return h=n&&!n.dispatchConditionRejection&&s.match(ae)&&ae.meta.condition,h||y(ae),[2,ae]}})})}();return Object.assign(I,{abort:A,requestId:g,arg:f,unwrap:function(){return I.then(Al)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function Al(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Rl(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Ws="listener",Fs="completed",zs="cancelled",Xm="task-"+zs,Qm="task-"+Fs,Jm=Ws+"-"+zs,eg=Ws+"-"+Fs;var rn="listenerMiddleware";var tg=et(rn+"/add"),rg=et(rn+"/removeAll"),og=et(rn+"/remove");var Ds,ng=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Ds||(Ds=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Nl=function(e){return function(t){setTimeout(t,e)}},ig=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Nl(10);Cs();window.ftReduxStores||(window.ftReduxStores={});var Hs=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(ir(a))return a;if(i==null)return;let s=$s({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),l=Ms({reducer:(d,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...p.overwrites}:s.reducer(d,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 Tr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,l=n[s];return l?(...d)=>{let p=l(...d);return this.reduxStore.dispatch(p),p}:d=>{this.setState({[s]:d})}}})}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 jr=S(L());var Fr=class extends We{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 zr=class extends We{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 Tl="ft-user-assets",Hr=jr.FtReduxStore.get({name:Tl,initialState:{savedSearches:void 0,bookmarks:void 0}}),on=class{constructor(){this.currentSession=k.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new zr,this.savedSearchesService=new Fr,k.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=k.getState();(0,jr.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(),Hr.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Hr.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Hr.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;Hr.actions.bookmarks(o)}}},kg=new on;var nn=class{addCommand(t,o=!1){k.commands.add(t,o)}consumeCommand(t){return k.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new nn;var js=S(L()),an=class{highlightHtml(t,o){(0,js.highlightHtml)(t,o)}};window.FluidTopicsHighlightHtmlService=new an;var Gs=S(L());var sn=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 Gs.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 sn;(0,Ks.customElement)("ft-app-context")(K);var cn=class e extends Event{constructor(){super(e.eventName)}};cn.eventName="search-context-clear-all-filters";var Il=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},dn=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},un=Symbol("registerInterval");function Ll(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[un]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[un]):this.dispatchEvent(new dn)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=un,Il([(0,Zs.state)()],o.prototype,"stateManager",void 0),o}var Ft=class extends Ll(Vs.FtLitElementRedux){};var Js=S(L());var qr=S(F()),Yr=S(Q()),Xr=S(L());var qs=S(F());var Ys=qs.css`
|
|
883
|
+
`;var Vr=S(L());var Qs=S(Q()),_l=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},pn=Symbol("i18nAttributes"),Gr=Symbol("i18nProperties"),ur=Symbol("i18nUnsubs");function Zr(e){var t;class o extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map}get i18nService(){return this.useCustomMessageContexts?ts:kt}i18n(i,a,...s){var l;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...s);let d=(l=i.args)!==null&&l!==void 0?l:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...d)}onI18nUpdate(i){var a,s;(a=this[pn])===null||a===void 0||a.forEach((l,d)=>{var p;let f=this.getI18nAttributeValue(d);((p=f?.context)===null||p===void 0?void 0:p.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(d,f,l)}),(s=this[Gr])===null||s===void 0||s.forEach((l,d)=>{l.context.toLowerCase()===i.toLowerCase()&&(this[d]=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[pn])===null||a===void 0||a.forEach((l,d)=>{let p=this.getI18nAttributeValue(d);p?.context&&p.key&&(i.has(d)||l.argsProvider!=null)&&(i.has(d)&&this.addI18nContext(p.context),this.updateI18nAttributeMessage(d,p,l))}),(s=this[Gr])===null||s===void 0||s.forEach((l,d)=>{l.argsProvider!=null&&(this[d]=this.i18n(l))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,a,s,l;super.connectedCallback(),new Set([...(a=(i=this[Gr])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(l=(s=this[pn])===null||s===void 0?void 0:s.keys())!==null&&l!==void 0?l:[]].map(d=>this.getI18nAttributeValue(d))].map(d=>d?.context)).forEach(d=>d&&this.addI18nMessages(d))}addI18nMessages(i,a){i=i.toLowerCase(),this[ur].has(i)||this[ur].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[ur].forEach(i=>i()),this[ur].clear()}}return t=ur,_l([(0,Qs.property)({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}var Xs=class extends Zr(Vr.FtLitElement){},Kr=class extends Zr(Vr.FtLitElementRedux){};var dr=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},Re=class extends Kr{constructor(){super(),this.editorMode=!1,this.addStore(k)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":qr.nothing:qr.html`
|
|
884
884
|
<span class="ft-i18n">
|
|
885
885
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
886
886
|
</span>
|
|
887
|
-
`}update(
|
|
887
|
+
`}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:""})}};Re.elementDefinitions={};Re.styles=Ys;dr([(0,Xr.redux)()],Re.prototype,"editorMode",void 0);dr([(0,Yr.property)()],Re.prototype,"context",void 0);dr([(0,Yr.property)()],Re.prototype,"key",void 0);dr([(0,Xr.jsonProperty)([])],Re.prototype,"args",void 0);dr([(0,Yr.property)()],Re.prototype,"defaultMessage",void 0);var Qr=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)=>kt.resolveMessage(this.name,n,...i)})}};(0,Js.customElement)("ft-i18n")(Re);var pr=Qr.build("designedSearchInput");var mt=S(Q()),sc=S(gr());var eo=S(L()),Jr=S(F()),ic=S(Q());var ec=S(F());var tc=ec.css`
|
|
888
888
|
* {
|
|
889
889
|
box-sizing: border-box;
|
|
890
890
|
}
|
|
891
891
|
|
|
892
892
|
.ft-search-input-suggestion {
|
|
893
893
|
position: absolute;
|
|
894
|
-
z-index: ${
|
|
894
|
+
z-index: ${q.floatingZIndex};
|
|
895
895
|
top: calc(100% + 2px);
|
|
896
896
|
left: -1px;
|
|
897
897
|
right: -1px;
|
|
898
|
-
background: ${
|
|
899
|
-
border: 1px solid ${
|
|
900
|
-
border-radius: 0 0 ${
|
|
901
|
-
box-shadow: ${
|
|
898
|
+
background: ${q.colorSurface};
|
|
899
|
+
border: 1px solid ${q.colorOutline};
|
|
900
|
+
border-radius: 0 0 ${q.borderRadius} ${q.borderRadius};
|
|
901
|
+
box-shadow: ${q.elevation02};
|
|
902
902
|
}
|
|
903
903
|
|
|
904
904
|
.ft-search-input-suggestion--suggestion {
|
|
@@ -909,7 +909,7 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
909
909
|
padding: 8px;
|
|
910
910
|
gap: 8px;
|
|
911
911
|
cursor: pointer;
|
|
912
|
-
color: ${
|
|
912
|
+
color: ${q.colorOnSurface};
|
|
913
913
|
min-height: 44px;
|
|
914
914
|
}
|
|
915
915
|
|
|
@@ -926,31 +926,31 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
926
926
|
flex-grow: 1;
|
|
927
927
|
flex-shrink: 1;
|
|
928
928
|
}
|
|
929
|
-
`;var
|
|
929
|
+
`;var ac=S(oc());var nc=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},fn=class extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t})}},ht=class extends Ft{render(){return Jr.html`
|
|
930
930
|
<div class="ft-search-input-suggestion ft-word-wrap"
|
|
931
931
|
part="container"
|
|
932
|
-
@keydown=${
|
|
933
|
-
${(0,
|
|
932
|
+
@keydown=${t=>this.onSuggestKeyDown(t)}>
|
|
933
|
+
${(0,ac.repeat)(this.suggestResults||[],t=>t.value,t=>Jr.html`
|
|
934
934
|
<a href="#"
|
|
935
935
|
part="suggestion"
|
|
936
936
|
class="ft-search-input-suggestion--suggestion"
|
|
937
|
-
@keyup=${
|
|
938
|
-
@click=${
|
|
937
|
+
@keyup=${o=>this.onSuggestKeyUp(o,t.value)}
|
|
938
|
+
@click=${o=>this.onSuggestSelected(o,t.value)}>
|
|
939
939
|
<ft-ripple></ft-ripple>
|
|
940
|
-
${this.getIcon(
|
|
941
|
-
<ft-typography variant="body1">${
|
|
940
|
+
${this.getIcon(t)}
|
|
941
|
+
<ft-typography variant="body1">${t.value}</ft-typography>
|
|
942
942
|
</a>
|
|
943
943
|
`)}
|
|
944
944
|
</div>
|
|
945
|
-
`}onSuggestKeyDown(
|
|
946
|
-
<ft-icon .variant="${
|
|
947
|
-
`}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let
|
|
948
|
-
<div class="${(0,
|
|
945
|
+
`}onSuggestKeyDown(t){var o,n,i,a,s,l;switch(t.key){case"ArrowUp":(i=(n=(o=this.getFocusedSuggestionElement())===null||o===void 0?void 0:o.previousElementSibling)!==null&&n!==void 0?n:this.getLastSuggestionElement())===null||i===void 0||i.focus(),t.preventDefault(),t.stopPropagation();break;case"ArrowDown":(l=(s=(a=this.getFocusedSuggestionElement())===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||l===void 0||l.focus(),t.preventDefault(),t.stopPropagation();break}}onSuggestKeyUp(t,o){(t.key==="Enter"||t.key===" ")&&this.onSuggestSelected(t,o)}onSuggestSelected(t,o){t.preventDefault(),this.dispatchEvent(new fn(o))}getIcon(t){let o=t.type==="DOCUMENT"?Ce.file_format:Ce.fluid_topics,n;switch(t.type){case"MAP":n=t.editorialType==="BOOK"?Ve.BOOK:Ve.ARTICLE;break;case"DOCUMENT":n=xa(t.mimeType,t.filenameExtension);break;case"TOPIC":n=Ve.TOPICS;break}return Jr.html`
|
|
946
|
+
<ft-icon .variant="${o}" .value="${n}" part="suggestion-icon"></ft-icon>
|
|
947
|
+
`}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let t=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return t.length>0?t[t.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var t;(t=this.getFirstSuggestionElement())===null||t===void 0||t.focus()}};ht.elementDefinitions={"ft-ripple":z,"ft-typography":fe,"ft-icon":pe};ht.styles=[eo.wordWrap,tc];nc([(0,eo.redux)()],ht.prototype,"suggestResults",void 0);ht=nc([(0,ic.customElement)("ft-search-input-suggestion")],ht);var yt=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},ge=class extends Zr(Ft){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.placeholder=pr.messages.placeholder(),this.addI18nContext(pr)}render(){var t,o;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(o=(t=this.suggestResults)===null||t===void 0?void 0:t.length)!==null&&o!==void 0?o:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion};return hn.html`
|
|
948
|
+
<div class="${(0,sc.classMap)(n)}" @focusout=${()=>this.forceCloseSuggestion=!1}>
|
|
949
949
|
<div class="ft-search-input--input-container" part="input-container" tabindex="-1">
|
|
950
950
|
<div class="ft-search-input--input-outline" part="input-outline">
|
|
951
951
|
<input class="ft-search-input--input ft-typography--body2"
|
|
952
952
|
part="input"
|
|
953
|
-
type="
|
|
953
|
+
type="search"
|
|
954
954
|
placeholder="${this.placeholder}"
|
|
955
955
|
.value="${this.liveQuery}"
|
|
956
956
|
@input=${i=>this.onInput(i)}
|
|
@@ -962,13 +962,13 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
962
962
|
></ft-search-input-suggestion>
|
|
963
963
|
</div>
|
|
964
964
|
<div class="ft-search-input--actions" part="actions">
|
|
965
|
-
${this.liveQuery?
|
|
965
|
+
${this.liveQuery?hn.html`
|
|
966
966
|
<ft-button id="clear-button"
|
|
967
967
|
class="ft-search-input--clear-query"
|
|
968
968
|
part="clear-query"
|
|
969
969
|
icon="close"
|
|
970
970
|
round dense
|
|
971
|
-
label="${
|
|
971
|
+
label="${pr.messages.clearButton()}"
|
|
972
972
|
@click=${()=>this.liveQuery=""}
|
|
973
973
|
></ft-button>
|
|
974
974
|
<div class="ft-search-input--separator"></div>
|
|
@@ -977,12 +977,12 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
977
977
|
part="launch-search-in-input"
|
|
978
978
|
icon="search"
|
|
979
979
|
round dense
|
|
980
|
-
label="${
|
|
980
|
+
label="${pr.messages.searchButton()}"
|
|
981
981
|
@click=${()=>this.launchSearch(this.liveQuery)}
|
|
982
982
|
></ft-button>
|
|
983
983
|
</div>
|
|
984
984
|
</div>
|
|
985
|
-
`}onSearchBarKeyDown(
|
|
985
|
+
`}onSearchBarKeyDown(t){switch(t.key){case"ArrowDown":t.stopPropagation(),t.preventDefault(),this.suggestion.focusFirstSuggestion();break;case"Backspace":t.stopPropagation();break}}onSearchBarKeyUp(t){switch(t.key){case"Backspace":t.stopPropagation();break;case"Enter":this.launchSearch(this.input.value);break;default:break}}onInput(t){var o;(o=this.stateManager)===null||o===void 0||o.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}launchSearch(t){var o;(o=this.stateManager)===null||o===void 0||o.setQuery(t),this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change"))}onSuggestionSelected(t){this.launchSearch(t.detail)}};ge.elementDefinitions={"ft-search-input-suggestion":ht,"ft-button":Ee};ge.styles=[mr,La];yt([(0,to.redux)()],ge.prototype,"request",void 0);yt([(0,to.redux)()],ge.prototype,"liveQuery",void 0);yt([(0,to.redux)()],ge.prototype,"suggestResults",void 0);yt([(0,mt.state)()],ge.prototype,"forceCloseSuggestion",void 0);yt([(0,mt.property)({type:String})],ge.prototype,"placeholder",void 0);yt([(0,mt.query)(".ft-search-input--input")],ge.prototype,"input",void 0);yt([(0,mt.query)("ft-search-input-suggestion")],ge.prototype,"suggestion",void 0);(0,cc.customElement)("ft-search-input")(ge);})();
|
|
986
986
|
/*! Bundled license information:
|
|
987
987
|
|
|
988
988
|
lit-html/lit-html.js:
|
|
@@ -998,4 +998,11 @@ lit-html/static.js:
|
|
|
998
998
|
* Copyright 2020 Google LLC
|
|
999
999
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1000
1000
|
*)
|
|
1001
|
+
|
|
1002
|
+
@lit/reactive-element/css-tag.js:
|
|
1003
|
+
(**
|
|
1004
|
+
* @license
|
|
1005
|
+
* Copyright 2019 Google LLC
|
|
1006
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1007
|
+
*)
|
|
1001
1008
|
*/
|