@fluid-topics/ft-search-input 1.1.104 → 1.1.106
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-search-input.light.js +215 -214
- package/build/ft-search-input.min.js +216 -215
- package/package.json +10 -10
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
"use strict";(()=>{var pc=Object.create;var Sn=Object.defineProperty;var fc=Object.getOwnPropertyDescriptor;var hc=Object.getOwnPropertyNames;var mc=Object.getPrototypeOf,yc=Object.prototype.hasOwnProperty;var ot=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var gc=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of hc(t))!yc.call(e,i)&&i!==o&&Sn(e,i,{get:()=>t[i],enumerable:!(n=fc(t,i))||n.enumerable});return e};var S=(e,t,o)=>(o=e!=null?pc(mc(e)):{},gc(t||!e||!e.__esModule?Sn(o,"default",{value:e,enumerable:!0}):o,e));var L=ot((Ml,On)=>{On.exports=ftGlobals.wcUtils});var z=ot(($l,Cn)=>{Cn.exports=ftGlobals.lit});var Q=ot((Wl,En)=>{En.exports=ftGlobals.litDecorators});var xr=ot((Af,Ei)=>{Ei.exports=ftGlobals.litClassMap});var Oa=ot((Ih,Sa)=>{Sa.exports=ftGlobals.litUnsafeHTML});var Ba=ot(Ua=>{(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 m(h){if(h.bodyUsed)return Promise.reject(new TypeError("Already read"));h.bodyUsed=!0}function y(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=y(x);return x.readAsArrayBuffer(h),N}function g(h){var x=new FileReader,N=y(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=m(this);if(h)return h;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?m(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(b)}),this.text=function(){var h=m(this);if(h)return h;if(this._bodyBlob)return g(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(v(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(M)}),this.json=function(){return this.text().then(JSON.parse)},this}var A=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function T(h){var x=h.toUpperCase();return A.indexOf(x)>-1?x:h}function I(h,x){x=x||{};var N=x.body;if(h instanceof I){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=T(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)}I.prototype.clone=function(){return new I(this,{body:this._bodyInit})};function M(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 ce(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 hr=te.join(":").trim();x.append($,hr)}}),x}w.call(I.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 I(h,x);if(te.signal&&te.signal.aborted)return W(new o.DOMException("Aborted","AbortError"));var $=new XMLHttpRequest;function hr(){$.abort()}$.onload=function(){var Ft={status:$.status,statusText:$.statusText,headers:ce($.getAllResponseHeaders()||"")};Ft.url="responseURL"in $?$.responseURL:Ft.headers.get("X-Request-URL");var co="response"in $?$.response:$.responseText;N(new Y(co,Ft))},$.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(Ft,co){$.setRequestHeader(co,Ft)}),te.signal&&(te.signal.addEventListener("abort",hr),$.onreadystatechange=function(){$.readyState===4&&te.signal.removeEventListener("abort",hr)}),$.send(typeof te._bodyInit>"u"?null:te._bodyInit)})}return be.polyfill=!0,e.fetch||(e.fetch=be,e.Headers=f,e.Request=I,e.Response=Y),o.Headers=f,o.Request=I,o.Response=Y,o.fetch=be,Object.defineProperty(o,"__esModule",{value:!0}),o}({})})(typeof self<"u"?self:Ua)});var ac=ot((jb,ic)=>{ic.exports=ftGlobals.litRepeat});var dc=S(L());var vn=S(z()),Wt=S(L());var ka=S(z()),B=S(L());var Lo=S(L());var rr=S(Q()),Ta=S(L());var Oi=S(z()),_=S(L());var In=S(z()),Z=S(L()),wn=Z.FtCssVariableFactory.extend("--ft-ripple-color","",Z.designSystemVariables.colorContent),U={color:wn,backgroundColor:Z.FtCssVariableFactory.extend("--ft-ripple-background-color","",wn),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")},An=Z.FtCssVariableFactory.extend("--ft-ripple-color","",Z.designSystemVariables.colorPrimary),Rn={color:An,backgroundColor:Z.FtCssVariableFactory.extend("--ft-ripple-background-color","",An)},Nn=Z.FtCssVariableFactory.extend("--ft-ripple-color","",Z.designSystemVariables.colorSecondary),Pn={color:Nn,backgroundColor:Z.FtCssVariableFactory.extend("--ft-ripple-background-color","",Nn)},Tn=In.css`
|
|
1
|
+
"use strict";(()=>{var xc=Object.create;var Nn=Object.defineProperty;var vc=Object.getOwnPropertyDescriptor;var Sc=Object.getOwnPropertyNames;var Oc=Object.getPrototypeOf,Cc=Object.prototype.hasOwnProperty;var ct=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Ec=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Sc(t))!Cc.call(e,i)&&i!==o&&Nn(e,i,{get:()=>t[i],enumerable:!(n=vc(t,i))||n.enumerable});return e};var S=(e,t,o)=>(o=e!=null?xc(Oc(e)):{},Ec(t||!e||!e.__esModule?Nn(o,"default",{value:e,enumerable:!0}):o,e));var I=ct((Kl,Tn)=>{Tn.exports=ftGlobals.wcUtils});var z=ct((Vl,Pn)=>{Pn.exports=ftGlobals.lit});var Q=ct((Zl,In)=>{In.exports=ftGlobals.litDecorators});var Cr=ct((kf,Ii)=>{Ii.exports=ftGlobals.litClassMap});var Ta=ct((Mh,Na)=>{Na.exports=ftGlobals.litUnsafeHTML});var Ga=ct((Qe,Ha)=>{var Br=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Mr=function(){function e(){this.fetch=!1,this.DOMException=Br.DOMException}return e.prototype=Br,new e}();(function(e){var t=function(o){var n=typeof e<"u"&&e||typeof self<"u"&&self||typeof global<"u"&&global||{},i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function a(f){return f&&DataView.prototype.isPrototypeOf(f)}if(i.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(f){return f&&s.indexOf(Object.prototype.toString.call(f))>-1};function d(f){if(typeof f!="string"&&(f=String(f)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(f)||f==="")throw new TypeError('Invalid character in header field name: "'+f+'"');return f.toLowerCase()}function p(f){return typeof f!="string"&&(f=String(f)),f}function h(f){var g={next:function(){var T=f.shift();return{done:T===void 0,value:T}}};return i.iterable&&(g[Symbol.iterator]=function(){return g}),g}function m(f){this.map={},f instanceof m?f.forEach(function(g,T){this.append(T,g)},this):Array.isArray(f)?f.forEach(function(g){if(g.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+g.length);this.append(g[0],g[1])},this):f&&Object.getOwnPropertyNames(f).forEach(function(g){this.append(g,f[g])},this)}m.prototype.append=function(f,g){f=d(f),g=p(g);var T=this.map[f];this.map[f]=T?T+", "+g:g},m.prototype.delete=function(f){delete this.map[d(f)]},m.prototype.get=function(f){return f=d(f),this.has(f)?this.map[f]:null},m.prototype.has=function(f){return this.map.hasOwnProperty(d(f))},m.prototype.set=function(f,g){this.map[d(f)]=p(g)},m.prototype.forEach=function(f,g){for(var T in this.map)this.map.hasOwnProperty(T)&&f.call(g,this.map[T],T,this)},m.prototype.keys=function(){var f=[];return this.forEach(function(g,T){f.push(T)}),h(f)},m.prototype.values=function(){var f=[];return this.forEach(function(g){f.push(g)}),h(f)},m.prototype.entries=function(){var f=[];return this.forEach(function(g,T){f.push([T,g])}),h(f)},i.iterable&&(m.prototype[Symbol.iterator]=m.prototype.entries);function y(f){if(!f._noBody){if(f.bodyUsed)return Promise.reject(new TypeError("Already read"));f.bodyUsed=!0}}function x(f){return new Promise(function(g,T){f.onload=function(){g(f.result)},f.onerror=function(){T(f.error)}})}function b(f){var g=new FileReader,T=x(g);return g.readAsArrayBuffer(f),T}function v(f){var g=new FileReader,T=x(g),W=/charset=([A-Za-z0-9_-]+)/.exec(f.type),G=W?W[1]:"utf-8";return g.readAsText(f,G),T}function R(f){for(var g=new Uint8Array(f),T=new Array(g.length),W=0;W<g.length;W++)T[W]=String.fromCharCode(g[W]);return T.join("")}function w(f){if(f.slice)return f.slice(0);var g=new Uint8Array(f.byteLength);return g.set(new Uint8Array(f)),g.buffer}function A(){return this.bodyUsed=!1,this._initBody=function(f){this.bodyUsed=this.bodyUsed,this._bodyInit=f,f?typeof f=="string"?this._bodyText=f:i.blob&&Blob.prototype.isPrototypeOf(f)?this._bodyBlob=f:i.formData&&FormData.prototype.isPrototypeOf(f)?this._bodyFormData=f:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(f)?this._bodyText=f.toString():i.arrayBuffer&&i.blob&&a(f)?(this._bodyArrayBuffer=w(f.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(f)||l(f))?this._bodyArrayBuffer=w(f):this._bodyText=f=Object.prototype.toString.call(f):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof f=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(f)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var f=y(this);if(f)return f;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(){if(this._bodyArrayBuffer){var f=y(this);return f||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(i.blob)return this.blob().then(b);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var f=y(this);if(f)return f;if(this._bodyBlob)return v(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(R(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(ue)}),this.json=function(){return this.text().then(JSON.parse)},this}var P=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function k(f){var g=f.toUpperCase();return P.indexOf(g)>-1?g:f}function D(f,g){if(!(this instanceof D))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');g=g||{};var T=g.body;if(f instanceof D){if(f.bodyUsed)throw new TypeError("Already read");this.url=f.url,this.credentials=f.credentials,g.headers||(this.headers=new m(f.headers)),this.method=f.method,this.mode=f.mode,this.signal=f.signal,!T&&f._bodyInit!=null&&(T=f._bodyInit,f.bodyUsed=!0)}else this.url=String(f);if(this.credentials=g.credentials||this.credentials||"same-origin",(g.headers||!this.headers)&&(this.headers=new m(g.headers)),this.method=k(g.method||this.method||"GET"),this.mode=g.mode||this.mode||null,this.signal=g.signal||this.signal||function(){if("AbortController"in n){var U=new AbortController;return U.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&T)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(T),(this.method==="GET"||this.method==="HEAD")&&(g.cache==="no-store"||g.cache==="no-cache")){var W=/([?&])_=[^&]*/;if(W.test(this.url))this.url=this.url.replace(W,"$1_="+new Date().getTime());else{var G=/\?/;this.url+=(G.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}D.prototype.clone=function(){return new D(this,{body:this._bodyInit})};function ue(f){var g=new FormData;return f.trim().split("&").forEach(function(T){if(T){var W=T.split("="),G=W.shift().replace(/\+/g," "),U=W.join("=").replace(/\+/g," ");g.append(decodeURIComponent(G),decodeURIComponent(U))}}),g}function Te(f){var g=new m,T=f.replace(/\r?\n[\t ]+/g," ");return T.split("\r").map(function(W){return W.indexOf(`
|
|
2
|
+
`)===0?W.substr(1,W.length):W}).forEach(function(W){var G=W.split(":"),U=G.shift().trim();if(U){var br=G.join(":").trim();try{g.append(U,br)}catch(mo){console.warn("Response "+mo.message)}}}),g}A.call(D.prototype);function ae(f,g){if(!(this instanceof ae))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(g||(g={}),this.type="default",this.status=g.status===void 0?200:g.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=g.statusText===void 0?"":""+g.statusText,this.headers=new m(g.headers),this.url=g.url||"",this._initBody(f)}A.call(ae.prototype),ae.prototype.clone=function(){return new ae(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},ae.error=function(){var f=new ae(null,{status:200,statusText:""});return f.ok=!1,f.status=0,f.type="error",f};var Pe=[301,302,303,307,308];ae.redirect=function(f,g){if(Pe.indexOf(g)===-1)throw new RangeError("Invalid status code");return new ae(null,{status:g,headers:{location:f}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(g,T){this.message=g,this.name=T;var W=Error(g);this.stack=W.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function te(f,g){return new Promise(function(T,W){var G=new D(f,g);if(G.signal&&G.signal.aborted)return W(new o.DOMException("Aborted","AbortError"));var U=new XMLHttpRequest;function br(){U.abort()}U.onload=function(){var re={statusText:U.statusText,headers:Te(U.getAllResponseHeaders()||"")};G.url.indexOf("file://")===0&&(U.status<200||U.status>599)?re.status=200:re.status=U.status,re.url="responseURL"in U?U.responseURL:re.headers.get("X-Request-URL");var st="response"in U?U.response:U.responseText;setTimeout(function(){T(new ae(st,re))},0)},U.onerror=function(){setTimeout(function(){W(new TypeError("Network request failed"))},0)},U.ontimeout=function(){setTimeout(function(){W(new TypeError("Network request timed out"))},0)},U.onabort=function(){setTimeout(function(){W(new o.DOMException("Aborted","AbortError"))},0)};function mo(re){try{return re===""&&n.location.href?n.location.href:re}catch{return re}}if(U.open(G.method,mo(G.url),!0),G.credentials==="include"?U.withCredentials=!0:G.credentials==="omit"&&(U.withCredentials=!1),"responseType"in U&&(i.blob?U.responseType="blob":i.arrayBuffer&&(U.responseType="arraybuffer")),g&&typeof g.headers=="object"&&!(g.headers instanceof m||n.Headers&&g.headers instanceof n.Headers)){var Rn=[];Object.getOwnPropertyNames(g.headers).forEach(function(re){Rn.push(d(re)),U.setRequestHeader(re,p(g.headers[re]))}),G.headers.forEach(function(re,st){Rn.indexOf(st)===-1&&U.setRequestHeader(st,re)})}else G.headers.forEach(function(re,st){U.setRequestHeader(st,re)});G.signal&&(G.signal.addEventListener("abort",br),U.onreadystatechange=function(){U.readyState===4&&G.signal.removeEventListener("abort",br)}),U.send(typeof G._bodyInit>"u"?null:G._bodyInit)})}return te.polyfill=!0,n.fetch||(n.fetch=te,n.Headers=m,n.Request=D,n.Response=ae),o.Headers=m,o.Request=D,o.Response=ae,o.fetch=te,o}({})})(Mr);Mr.fetch.ponyfill=!0;delete Mr.fetch.polyfill;var Mt=Br.fetch?Br:Mr;Qe=Mt.fetch;Qe.default=Mt.fetch;Qe.fetch=Mt.fetch;Qe.Headers=Mt.Headers;Qe.Request=Mt.Request;Qe.Response=Mt.Response;Ha.exports=Qe});var fc=ct((Xb,pc)=>{pc.exports=ftGlobals.litRepeat});var bc=S(I());var An=S(z()),Kt=S(I());var za=S(z()),$=S(I());var Mo=S(I());var ar=S(Q()),Ma=S(I());var Ti=S(z()),L=S(I());var Bn=S(z()),q=S(I()),Ln=q.FtCssVariableFactory.extend("--ft-ripple-color","",q.designSystemVariables.colorContent),M={color:Ln,backgroundColor:q.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ln),opacityContentOnSurfacePressed:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:q.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},_n=q.FtCssVariableFactory.extend("--ft-ripple-color","",q.designSystemVariables.colorPrimary),kn={color:_n,backgroundColor:q.FtCssVariableFactory.extend("--ft-ripple-background-color","",_n)},Dn=q.FtCssVariableFactory.extend("--ft-ripple-color","",q.designSystemVariables.colorSecondary),Un={color:Dn,backgroundColor:q.FtCssVariableFactory.extend("--ft-ripple-background-color","",Dn)},Mn=Bn.css`
|
|
2
3
|
:host {
|
|
3
4
|
display: contents;
|
|
4
5
|
}
|
|
@@ -11,7 +12,7 @@
|
|
|
11
12
|
|
|
12
13
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
13
14
|
overflow: hidden;
|
|
14
|
-
border-radius: ${
|
|
15
|
+
border-radius: ${M.borderRadius};
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
.ft-ripple .ft-ripple--background,
|
|
@@ -45,27 +46,27 @@
|
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
.ft-ripple .ft-ripple--background {
|
|
48
|
-
background-color: ${
|
|
49
|
+
background-color: ${M.backgroundColor};
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
.ft-ripple .ft-ripple--effect {
|
|
52
|
-
background-color: ${
|
|
53
|
+
background-color: ${M.color};
|
|
53
54
|
}
|
|
54
55
|
|
|
55
56
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
56
|
-
background-color: ${
|
|
57
|
+
background-color: ${Un.backgroundColor};
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
60
|
-
background-color: ${
|
|
61
|
+
background-color: ${Un.color};
|
|
61
62
|
}
|
|
62
63
|
|
|
63
64
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
64
|
-
background-color: ${
|
|
65
|
+
background-color: ${kn.backgroundColor};
|
|
65
66
|
}
|
|
66
67
|
|
|
67
68
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
68
|
-
background-color: ${
|
|
69
|
+
background-color: ${kn.color};
|
|
69
70
|
}
|
|
70
71
|
|
|
71
72
|
.ft-ripple .ft-ripple--background {
|
|
@@ -95,24 +96,24 @@
|
|
|
95
96
|
}
|
|
96
97
|
|
|
97
98
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
98
|
-
opacity: ${
|
|
99
|
+
opacity: ${M.opacityContentOnSurfaceHover};
|
|
99
100
|
}
|
|
100
101
|
|
|
101
102
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
102
|
-
opacity: ${
|
|
103
|
+
opacity: ${M.opacityContentOnSurfaceSelected};
|
|
103
104
|
}
|
|
104
105
|
|
|
105
106
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
106
|
-
opacity: ${
|
|
107
|
+
opacity: ${M.opacityContentOnSurfaceFocused};
|
|
107
108
|
}
|
|
108
109
|
|
|
109
110
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
110
|
-
opacity: ${
|
|
111
|
+
opacity: ${M.opacityContentOnSurfacePressed};
|
|
111
112
|
transform: translate(-50%, -50%) scale(1);
|
|
112
113
|
}
|
|
113
|
-
`;var xe=S(z()),E=S(L());var Le=S(z(),1),Fe=e=>typeof e=="string"?(0,Le.unsafeCSS)(e):e,r=class{static create(t,o,n,i){let a=l=>Fe(l??i),s=Le.css`var(${Fe(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>Le.css`var(${Fe(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=l=>n.get(l??i),s=Le.css`var(${Fe(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=>Le.css`var(${Fe(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):Fe(a??t.lastResortDefaultValue()),i=Le.css`var(${Fe(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=>Le.css`var(${Fe(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)")},Ln={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")},_n={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")},kn={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")},Dn={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")},Un={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")},Bn={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")},Mn={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")},Wn={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")},bc={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")},zn={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")},Fn={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")},Hn={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")},Gn={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")},jn={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")},Kn={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")},Vn={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")},qn={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")},Yn={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")},Xn={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")},Qn={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")},Jn={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")},ei={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")},ti={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")},ri={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")},mr={display:Ln,"title-1":_n,"title-2":kn,"title-3":Dn,"body-1-regular":Un,"body-1-medium":Bn,"body-1-semibold":Mn,"body-2-regular":$n,"body-2-medium":Wn,"body-2-medium-underline":bc,"body-2-semibold":zn,"label-1-medium":Fn,"label-1-semibold":Hn,"label-1-bold":Gn,"label-2-medium":jn,"label-2-semibold":Kn,"label-2-bold":Vn,"caption-1-medium":Zn,"caption-1-semibold":qn,"caption-1-bold":Yn,"caption-2-medium":Xn,"caption-2-semibold":Qn,"caption-2-bold":Jn,"caption-3-medium":ei,"caption-3-semibold":ti,"caption-3-bold":ri};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 O={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 tu={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.create("--ft-chip-large-border-radius","","SIZE","18px"),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.create("--ft-chip-medium-border-radius","","SIZE","12px"),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.create("--ft-chip-small-border-radius","","SIZE","10px"),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 au={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 du={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 yu={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 Su={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 Au={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",c.spacing6),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 Tu={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 Uu={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 zu={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),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),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),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),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-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 Ku={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 Xu={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 rd={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),shadow:r.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var sd={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 pd={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 gd={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 Od={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 Rd={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 Td={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 Ud={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 zd={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 Kd={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 Xd={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 rp={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 sp={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.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",c.spacing05)};var yr;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(yr||(yr={}));var yt;(function(e){e.large="large",e.medium="medium",e.small="small"})(yt||(yt={}));var gr=S(z());function oi(e){let t=mr[e];return gr.css`
|
|
115
|
-
.ft-typography--${(0,
|
|
114
|
+
`;var ve=S(z()),E=S(I());var De=S(z(),1),je=e=>typeof e=="string"?(0,De.unsafeCSS)(e):e,r=class{static create(t,o,n,i){let a=l=>je(l??i),s=De.css`var(${je(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>De.css`var(${je(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=l=>n.get(l??i),s=De.css`var(${je(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=>De.css`var(${je(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):je(a??t.lastResortDefaultValue()),i=De.css`var(${je(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=>De.css`var(${je(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)")},$n={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")},Wn={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")},zn={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")},Fn={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")},Hn={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")},Gn={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")},jn={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")},Kn={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")},Vn={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")},wc={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")},Zn={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")},qn={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")},Yn={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")},Xn={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")},Qn={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")},Jn={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")},ei={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")},ti={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")},ri={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")},oi={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")},ni={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")},ii={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")},ai={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")},si={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")},ci={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")},li={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")},xr={display:$n,"title-1":Wn,"title-2":zn,"title-3":Fn,"body-1-regular":Hn,"body-1-medium":Gn,"body-1-semibold":jn,"body-2-regular":Kn,"body-2-medium":Vn,"body-2-medium-underline":wc,"body-2-semibold":Zn,"label-1-medium":qn,"label-1-semibold":Yn,"label-1-bold":Xn,"label-2-medium":Qn,"label-2-semibold":Jn,"label-2-bold":ei,"caption-1-medium":ti,"caption-1-semibold":ri,"caption-1-bold":oi,"caption-2-medium":ni,"caption-2-semibold":ii,"caption-2-bold":ai,"caption-3-medium":si,"caption-3-semibold":ci,"caption-3-bold":li};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.
|
|
115
|
+
Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80)};var O={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 lu={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.create("--ft-chip-large-border-radius","","SIZE","18px"),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.create("--ft-chip-medium-border-radius","","SIZE","12px"),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.create("--ft-chip-small-border-radius","","SIZE","10px"),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 hu={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 xu={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 Eu={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 Tu={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 ku={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",c.spacing6),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 $u={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 Gu={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 qu={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),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),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),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),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-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 ed={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 id={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 ud={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),shadow:r.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var md={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",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 vd={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 wd={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 Pd={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 Dd={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 $d={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 Gd={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 qd={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 ep={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 ip={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 up={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 mp={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.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",c.spacing05)};var vr;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(vr||(vr={}));var St;(function(e){e.large="large",e.medium="medium",e.small="small"})(St||(St={}));var Sr=S(z());function ui(e){let t=xr[e];return Sr.css`
|
|
116
|
+
.ft-typography--${(0,Sr.unsafeCSS)(e)} {
|
|
116
117
|
font-family: ${t.fontFamily};
|
|
117
118
|
font-size: ${t.fontSize};
|
|
118
119
|
font-weight: ${t.fontWeight};
|
|
@@ -120,54 +121,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
120
121
|
line-height: ${t.lineHeight};
|
|
121
122
|
text-transform: ${t.textCase};
|
|
122
123
|
}
|
|
123
|
-
`}var
|
|
124
|
+
`}var di=E.FtCssVariableFactory.extend("--ft-typography-font-family","",E.designSystemVariables.titleFont),Ue=E.FtCssVariableFactory.extend("--ft-typography-font-family","",E.designSystemVariables.contentFont),N={fontFamily:Ue,fontSize:E.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:E.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:E.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:E.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:E.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ot={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-title-font-family","",di),fontSize:E.FtCssVariableFactory.extend("--ft-typography-title-font-size","",N.fontSize,"20px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",N.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",N.letterSpacing,"0.15px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-title-line-height","",N.lineHeight,"1.2"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",N.textTransform,"inherit")},Ct={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",di),fontSize:E.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",N.fontSize,"14px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",N.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",N.letterSpacing,"0.105px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",N.lineHeight,"1.7"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",N.textTransform,"inherit")},Et={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Ue),fontSize:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",N.fontSize,"16px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",N.fontWeight,"600"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",N.letterSpacing,"0.144px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",N.lineHeight,"1.5"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",N.textTransform,"inherit")},wt={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Ue),fontSize:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",N.fontSize,"14px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",N.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",N.letterSpacing,"0.098px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",N.lineHeight,"1.7"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",N.textTransform,"inherit")},At={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Ue),fontSize:E.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",N.fontSize,"16px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",N.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",N.letterSpacing,"0.496px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",N.lineHeight,"1.5"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",N.textTransform,"inherit")},Rt={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Ue),fontSize:E.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",N.fontSize,"14px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",N.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",N.letterSpacing,"0.252px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",N.lineHeight,"1.4"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",N.textTransform,"inherit")},Nt={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Ue),fontSize:E.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",N.fontSize,"12px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",N.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",N.letterSpacing,"0.396px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",N.lineHeight,"1.33"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",N.textTransform,"inherit")},Tt={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Ue),fontSize:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",N.fontSize,"10px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",N.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",N.letterSpacing,"0.33px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",N.lineHeight,"1.6"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",N.textTransform,"inherit")},Pt={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Ue),fontSize:E.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",N.fontSize,"10px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",N.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",N.letterSpacing,"1.5px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",N.lineHeight,"1.6"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",N.textTransform,"uppercase")},Ie={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Ue),fontSize:E.FtCssVariableFactory.extend("--ft-typography-button-font-size","",N.fontSize,"14px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",N.fontWeight,"600"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",N.letterSpacing,"1.246px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-button-line-height","",N.lineHeight,"1.15"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",N.textTransform,"uppercase")},pi=ve.css`
|
|
124
125
|
.ft-typography--title {
|
|
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
|
-
`,ai=xe.css`
|
|
133
|
-
.ft-typography--title-dense {
|
|
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
|
-
`,si=xe.css`
|
|
142
|
-
.ft-typography--subtitle1 {
|
|
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
|
-
`,ci=xe.css`
|
|
151
|
-
.ft-typography--subtitle2 {
|
|
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
|
-
}
|
|
159
|
-
|
|
160
|
-
`,li=xe.css`
|
|
161
|
-
.ft-typography--body1 {
|
|
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
|
-
`,br=xe.css`
|
|
170
|
-
.ft-typography--body2 {
|
|
171
126
|
font-family: ${Ot.fontFamily};
|
|
172
127
|
font-size: ${Ot.fontSize};
|
|
173
128
|
font-weight: ${Ot.fontWeight};
|
|
@@ -175,8 +130,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
175
130
|
line-height: ${Ot.lineHeight};
|
|
176
131
|
text-transform: ${Ot.textTransform};
|
|
177
132
|
}
|
|
178
|
-
`,
|
|
179
|
-
.ft-typography--
|
|
133
|
+
`,fi=ve.css`
|
|
134
|
+
.ft-typography--title-dense {
|
|
180
135
|
font-family: ${Ct.fontFamily};
|
|
181
136
|
font-size: ${Ct.fontSize};
|
|
182
137
|
font-weight: ${Ct.fontWeight};
|
|
@@ -184,8 +139,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
184
139
|
line-height: ${Ct.lineHeight};
|
|
185
140
|
text-transform: ${Ct.textTransform};
|
|
186
141
|
}
|
|
187
|
-
`,
|
|
188
|
-
.ft-typography--
|
|
142
|
+
`,hi=ve.css`
|
|
143
|
+
.ft-typography--subtitle1 {
|
|
189
144
|
font-family: ${Et.fontFamily};
|
|
190
145
|
font-size: ${Et.fontSize};
|
|
191
146
|
font-weight: ${Et.fontWeight};
|
|
@@ -193,8 +148,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
193
148
|
line-height: ${Et.lineHeight};
|
|
194
149
|
text-transform: ${Et.textTransform};
|
|
195
150
|
}
|
|
196
|
-
`,
|
|
197
|
-
.ft-typography--
|
|
151
|
+
`,mi=ve.css`
|
|
152
|
+
.ft-typography--subtitle2 {
|
|
198
153
|
font-family: ${wt.fontFamily};
|
|
199
154
|
font-size: ${wt.fontSize};
|
|
200
155
|
font-weight: ${wt.fontWeight};
|
|
@@ -202,20 +157,66 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
202
157
|
line-height: ${wt.lineHeight};
|
|
203
158
|
text-transform: ${wt.textTransform};
|
|
204
159
|
}
|
|
205
|
-
|
|
160
|
+
|
|
161
|
+
`,yi=ve.css`
|
|
162
|
+
.ft-typography--body1 {
|
|
163
|
+
font-family: ${At.fontFamily};
|
|
164
|
+
font-size: ${At.fontSize};
|
|
165
|
+
font-weight: ${At.fontWeight};
|
|
166
|
+
letter-spacing: ${At.letterSpacing};
|
|
167
|
+
line-height: ${At.lineHeight};
|
|
168
|
+
text-transform: ${At.textTransform};
|
|
169
|
+
}
|
|
170
|
+
`,Or=ve.css`
|
|
171
|
+
.ft-typography--body2 {
|
|
172
|
+
font-family: ${Rt.fontFamily};
|
|
173
|
+
font-size: ${Rt.fontSize};
|
|
174
|
+
font-weight: ${Rt.fontWeight};
|
|
175
|
+
letter-spacing: ${Rt.letterSpacing};
|
|
176
|
+
line-height: ${Rt.lineHeight};
|
|
177
|
+
text-transform: ${Rt.textTransform};
|
|
178
|
+
}
|
|
179
|
+
`,gi=ve.css`
|
|
180
|
+
.ft-typography--caption {
|
|
181
|
+
font-family: ${Nt.fontFamily};
|
|
182
|
+
font-size: ${Nt.fontSize};
|
|
183
|
+
font-weight: ${Nt.fontWeight};
|
|
184
|
+
letter-spacing: ${Nt.letterSpacing};
|
|
185
|
+
line-height: ${Nt.lineHeight};
|
|
186
|
+
text-transform: ${Nt.textTransform};
|
|
187
|
+
}
|
|
188
|
+
`,bi=ve.css`
|
|
189
|
+
.ft-typography--breadcrumb {
|
|
190
|
+
font-family: ${Tt.fontFamily};
|
|
191
|
+
font-size: ${Tt.fontSize};
|
|
192
|
+
font-weight: ${Tt.fontWeight};
|
|
193
|
+
letter-spacing: ${Tt.letterSpacing};
|
|
194
|
+
line-height: ${Tt.lineHeight};
|
|
195
|
+
text-transform: ${Tt.textTransform};
|
|
196
|
+
}
|
|
197
|
+
`,xi=ve.css`
|
|
198
|
+
.ft-typography--overline {
|
|
199
|
+
font-family: ${Pt.fontFamily};
|
|
200
|
+
font-size: ${Pt.fontSize};
|
|
201
|
+
font-weight: ${Pt.fontWeight};
|
|
202
|
+
letter-spacing: ${Pt.letterSpacing};
|
|
203
|
+
line-height: ${Pt.lineHeight};
|
|
204
|
+
text-transform: ${Pt.textTransform};
|
|
205
|
+
}
|
|
206
|
+
`,vi=ve.css`
|
|
206
207
|
.ft-typography--button {
|
|
207
|
-
font-family: ${
|
|
208
|
-
font-size: ${
|
|
209
|
-
font-weight: ${
|
|
210
|
-
letter-spacing: ${
|
|
211
|
-
line-height: ${
|
|
212
|
-
text-transform: ${
|
|
213
|
-
}
|
|
214
|
-
`,
|
|
208
|
+
font-family: ${Ie.fontFamily};
|
|
209
|
+
font-size: ${Ie.fontSize};
|
|
210
|
+
font-weight: ${Ie.fontWeight};
|
|
211
|
+
letter-spacing: ${Ie.letterSpacing};
|
|
212
|
+
line-height: ${Ie.lineHeight};
|
|
213
|
+
text-transform: ${Ie.textTransform};
|
|
214
|
+
}
|
|
215
|
+
`,Si=ve.css`
|
|
215
216
|
.ft-typography {
|
|
216
217
|
vertical-align: inherit;
|
|
217
218
|
}
|
|
218
|
-
`,
|
|
219
|
+
`,Oi=[Object.keys(xr).map(e=>ui(e))];var Ci=S(z()),Vt=S(I()),se={color:Vt.FtCssVariableFactory.extend("--ft-loader-color","",Vt.designSystemVariables.colorPrimary),size:Vt.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Ei=Ci.css`
|
|
219
220
|
:host {
|
|
220
221
|
line-height: 0;
|
|
221
222
|
}
|
|
@@ -224,8 +225,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
224
225
|
display: inline-block;
|
|
225
226
|
position: relative;
|
|
226
227
|
|
|
227
|
-
width: ${
|
|
228
|
-
height: ${
|
|
228
|
+
width: ${se.size};
|
|
229
|
+
height: ${se.size};
|
|
229
230
|
}
|
|
230
231
|
|
|
231
232
|
.ft-loader div {
|
|
@@ -234,7 +235,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
234
235
|
width: 25%;
|
|
235
236
|
height: 25%;
|
|
236
237
|
border-radius: 50%;
|
|
237
|
-
background: ${
|
|
238
|
+
background: ${se.color};
|
|
238
239
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
239
240
|
}
|
|
240
241
|
|
|
@@ -281,10 +282,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
281
282
|
transform: translate(0, 0);
|
|
282
283
|
}
|
|
283
284
|
100% {
|
|
284
|
-
transform: translate(calc(0.35 * ${
|
|
285
|
+
transform: translate(calc(0.35 * ${se.size}), 0);
|
|
285
286
|
}
|
|
286
287
|
}
|
|
287
|
-
`;var
|
|
288
|
+
`;var wi=S(z()),Be=S(I()),ce={size:Be.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Be.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Be.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Be.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Be.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Be.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Be.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Be.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ai=wi.css`
|
|
288
289
|
:host, i.ft-icon {
|
|
289
290
|
display: inline-flex;
|
|
290
291
|
align-items: center;
|
|
@@ -293,14 +294,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
293
294
|
}
|
|
294
295
|
|
|
295
296
|
:host {
|
|
296
|
-
width: ${
|
|
297
|
-
height: ${
|
|
297
|
+
width: ${ce.size};
|
|
298
|
+
height: ${ce.size};
|
|
298
299
|
}
|
|
299
300
|
|
|
300
301
|
i.ft-icon {
|
|
301
302
|
width: 100%;
|
|
302
303
|
height: 100%;
|
|
303
|
-
font-size: ${
|
|
304
|
+
font-size: ${ce.size};
|
|
304
305
|
line-height: 1;
|
|
305
306
|
font-weight: normal;
|
|
306
307
|
text-transform: none;
|
|
@@ -311,28 +312,28 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
311
312
|
text-rendering: auto;
|
|
312
313
|
-webkit-font-smoothing: antialiased;
|
|
313
314
|
-moz-osx-font-smoothing: grayscale;
|
|
314
|
-
vertical-align: ${
|
|
315
|
+
vertical-align: ${ce.verticalAlign};
|
|
315
316
|
}
|
|
316
317
|
|
|
317
318
|
i.ft-icon.ft-icon--fluid-topics {
|
|
318
|
-
font-family: ${
|
|
319
|
+
font-family: ${ce.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
319
320
|
|
|
320
321
|
/* Ugly fix because font is broken */
|
|
321
|
-
font-size: calc(0.75 * ${
|
|
322
|
-
line-height: ${
|
|
322
|
+
font-size: calc(0.75 * ${ce.size});
|
|
323
|
+
line-height: ${ce.size};
|
|
323
324
|
position: relative;
|
|
324
325
|
top: -4%;
|
|
325
326
|
justify-content: center;
|
|
326
327
|
}
|
|
327
328
|
|
|
328
329
|
.ft-icon--file-format {
|
|
329
|
-
font-family: ${
|
|
330
|
+
font-family: ${ce.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
330
331
|
}
|
|
331
332
|
|
|
332
333
|
.ft-icon--material {
|
|
333
|
-
font-family: ${
|
|
334
|
+
font-family: ${ce.materialFontFamily}, "Material Icons", sans-serif;
|
|
334
335
|
}
|
|
335
|
-
`;var
|
|
336
|
+
`;var Ri=L.FtCssVariableFactory.extend("--ft-button-color","",L.designSystemVariables.colorPrimary),j={backgroundColor:L.FtCssVariableFactory.extend("--ft-button-background-color","",L.designSystemVariables.colorSurface),borderRadius:L.FtCssVariableFactory.extend("--ft-button-border-radius","",L.designSystemVariables.borderRadiusL),color:Ri,fontSize:L.FtCssVariableFactory.extend("--ft-button-font-size","",Ie.fontSize),iconSize:L.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:L.FtCssVariableFactory.extend("--ft-button-ripple-color","",Ri),verticalPadding:L.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:L.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:L.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:L.FtCssVariableFactory.external(L.designSystemVariables.colorOpacityDisabled,"Design system")},Ni=L.FtCssVariableFactory.extend("--ft-button-primary-color","",L.FtCssVariableFactory.extend("--ft-button-color","",L.designSystemVariables.colorOnPrimary)),yo={backgroundColor:L.FtCssVariableFactory.extend("--ft-button-primary-background-color","",L.FtCssVariableFactory.extend("--ft-button-background-color","",L.designSystemVariables.colorPrimary)),color:Ni,rippleColor:L.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Ni)},Le={borderRadius:L.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",L.FtCssVariableFactory.extend("--ft-button-border-radius","",L.designSystemVariables.borderRadiusM)),verticalPadding:L.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:L.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:L.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Pi=[Ti.css`
|
|
336
337
|
:host {
|
|
337
338
|
display: inline-block;
|
|
338
339
|
max-width: 100%;
|
|
@@ -343,7 +344,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
343
344
|
box-shadow: 0px 0px 0px transparent;
|
|
344
345
|
border: 0px solid transparent;
|
|
345
346
|
text-shadow: 0px 0px 0px transparent;
|
|
346
|
-
font-size: ${
|
|
347
|
+
font-size: ${j.fontSize};
|
|
347
348
|
}
|
|
348
349
|
|
|
349
350
|
button:hover {
|
|
@@ -372,31 +373,31 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
372
373
|
border: none;
|
|
373
374
|
pointer-events: auto;
|
|
374
375
|
|
|
375
|
-
--ft-button-internal-line-height: max(calc(${
|
|
376
|
-
--ft-button-internal-color: ${
|
|
377
|
-
${(0,
|
|
378
|
-
${(0,
|
|
376
|
+
--ft-button-internal-line-height: max(calc(${j.fontSize} + 2px), ${j.iconSize});
|
|
377
|
+
--ft-button-internal-color: ${j.color};
|
|
378
|
+
${(0,L.setVariable)(ce.size,j.iconSize)};
|
|
379
|
+
${(0,L.setVariable)(M.color,j.rippleColor)};
|
|
379
380
|
|
|
380
|
-
border-radius: ${
|
|
381
|
-
padding: ${
|
|
382
|
-
background-color: ${
|
|
381
|
+
border-radius: ${j.borderRadius};
|
|
382
|
+
padding: ${j.verticalPadding} ${j.horizontalPadding};
|
|
383
|
+
background-color: ${j.backgroundColor};
|
|
383
384
|
color: var(--ft-button-internal-color);
|
|
384
385
|
-webkit-mask-image: radial-gradient(white, black);
|
|
385
386
|
}
|
|
386
387
|
|
|
387
388
|
.ft-button.ft-button--outlined {
|
|
388
389
|
border: 1px solid var(--ft-button-internal-color);
|
|
389
|
-
padding: calc(${
|
|
390
|
+
padding: calc(${j.verticalPadding} - 1px) calc(${j.horizontalPadding} - 1px);
|
|
390
391
|
}
|
|
391
392
|
|
|
392
393
|
.ft-button.ft-button--dense {
|
|
393
|
-
padding: ${
|
|
394
|
-
border-radius: ${
|
|
395
|
-
gap: ${
|
|
394
|
+
padding: ${Le.verticalPadding} ${Le.horizontalPadding};
|
|
395
|
+
border-radius: ${Le.borderRadius};
|
|
396
|
+
gap: ${Le.iconPadding};
|
|
396
397
|
}
|
|
397
398
|
|
|
398
399
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
399
|
-
padding: calc(${
|
|
400
|
+
padding: calc(${Le.verticalPadding} - 1px) calc(${Le.horizontalPadding} - 1px);
|
|
400
401
|
}
|
|
401
402
|
|
|
402
403
|
.ft-button:not([disabled]):hover {
|
|
@@ -404,22 +405,22 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
404
405
|
}
|
|
405
406
|
|
|
406
407
|
.ft-button--round {
|
|
407
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
408
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${j.verticalPadding});
|
|
408
409
|
}
|
|
409
410
|
|
|
410
411
|
.ft-button--round.ft-button--dense {
|
|
411
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
412
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Le.verticalPadding});
|
|
412
413
|
}
|
|
413
414
|
|
|
414
415
|
.ft-button[disabled] {
|
|
415
416
|
filter: grayscale(1);
|
|
416
|
-
opacity: ${
|
|
417
|
+
opacity: ${j.opacityDisabled};
|
|
417
418
|
}
|
|
418
419
|
|
|
419
420
|
.ft-button.ft-button--primary {
|
|
420
|
-
background-color: ${
|
|
421
|
-
--ft-button-internal-color: ${
|
|
422
|
-
${(0,
|
|
421
|
+
background-color: ${yo.backgroundColor};
|
|
422
|
+
--ft-button-internal-color: ${yo.color};
|
|
423
|
+
${(0,L.setVariable)(M.color,yo.rippleColor)};
|
|
423
424
|
}
|
|
424
425
|
|
|
425
426
|
.ft-button:focus {
|
|
@@ -432,13 +433,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
432
433
|
white-space: nowrap;
|
|
433
434
|
text-overflow: ellipsis;
|
|
434
435
|
display: block;
|
|
435
|
-
margin: 0 ${
|
|
436
|
-
${(0,
|
|
437
|
-
${(0,
|
|
436
|
+
margin: 0 ${j.iconPadding};
|
|
437
|
+
${(0,L.setVariable)(Ie.fontSize,"1em")};
|
|
438
|
+
${(0,L.setVariable)(Ie.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
438
439
|
}
|
|
439
440
|
|
|
440
441
|
.ft-button--dense .ft-button--label {
|
|
441
|
-
margin: 0 ${
|
|
442
|
+
margin: 0 ${Le.iconPadding};
|
|
442
443
|
}
|
|
443
444
|
|
|
444
445
|
.ft-button--label[hidden] {
|
|
@@ -451,13 +452,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
451
452
|
}
|
|
452
453
|
|
|
453
454
|
.ft-button--label[hidden] + [part="icon"] {
|
|
454
|
-
margin: 0 calc(${
|
|
455
|
-
padding: 0 ${
|
|
455
|
+
margin: 0 calc(${j.horizontalPadding} * -1);
|
|
456
|
+
padding: 0 ${j.verticalPadding};
|
|
456
457
|
}
|
|
457
458
|
|
|
458
459
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
459
|
-
margin: 0 calc(${
|
|
460
|
-
padding: 0 ${
|
|
460
|
+
margin: 0 calc(${Le.horizontalPadding} * -1);
|
|
461
|
+
padding: 0 ${Le.verticalPadding};
|
|
461
462
|
}
|
|
462
463
|
|
|
463
464
|
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
@@ -465,31 +466,31 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
465
466
|
}
|
|
466
467
|
|
|
467
468
|
ft-loader {
|
|
468
|
-
${(0,
|
|
469
|
-
${(0,
|
|
469
|
+
${(0,L.setVariable)(se.size,j.iconSize)};
|
|
470
|
+
${(0,L.setVariable)(se.color,"var(--ft-button-internal-color)")};
|
|
470
471
|
}
|
|
471
|
-
`,
|
|
472
|
+
`,L.noTextSelect];var Bt=S(I());var ki=S(I());var Li=S(z()),oe=S(Q()),_i=S(Cr()),Zt=S(I());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},F=class extends Zt.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 Zt.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 Zt.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 Li.html`
|
|
472
473
|
<style>
|
|
473
474
|
.ft-ripple .ft-ripple--effect {
|
|
474
475
|
left: ${this.originX}px;
|
|
475
476
|
top: ${this.originY}px;
|
|
476
477
|
}
|
|
477
478
|
</style>
|
|
478
|
-
<div class="${(0,
|
|
479
|
+
<div class="${(0,_i.classMap)(t)}">
|
|
479
480
|
<div class="ft-ripple--background"></div>
|
|
480
481
|
<div class="ft-ripple--effect"></div>
|
|
481
482
|
</div>
|
|
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()}};F.elementDefinitions={};F.styles=
|
|
483
|
-
\f\r]`,
|
|
484
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),
|
|
485
|
-
<${
|
|
483
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...l)=>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()}};F.elementDefinitions={};F.styles=Mn;de([(0,oe.property)({type:Boolean})],F.prototype,"primary",void 0);de([(0,oe.property)({type:Boolean})],F.prototype,"secondary",void 0);de([(0,oe.property)({type:Boolean})],F.prototype,"unbounded",void 0);de([(0,oe.property)({type:Boolean})],F.prototype,"activated",void 0);de([(0,oe.property)({type:Boolean})],F.prototype,"selected",void 0);de([(0,oe.property)({type:Boolean})],F.prototype,"disabled",void 0);de([(0,oe.state)()],F.prototype,"hovered",void 0);de([(0,oe.state)()],F.prototype,"focused",void 0);de([(0,oe.state)()],F.prototype,"pressed",void 0);de([(0,oe.state)()],F.prototype,"rippling",void 0);de([(0,oe.state)()],F.prototype,"originX",void 0);de([(0,oe.state)()],F.prototype,"originY",void 0);de([(0,oe.query)(".ft-ripple")],F.prototype,"ripple",void 0);de([(0,oe.query)(".ft-ripple--effect")],F.prototype,"rippleEffect",void 0);(0,ki.customElement)("ft-ripple")(F);var Ra=S(I());var Aa=S(z()),X=S(Q()),nr=S(I());var ea=S(I());var Co=globalThis,Er=Co.trustedTypes,Di=Er?Er.createPolicy("lit-html",{createHTML:e=>e}):void 0,zi="$lit$",Ke=`lit$${(Math.random()+"").slice(9)}$`,Fi="?"+Ke,Ac=`<${Fi}>`,dt=document,wr=()=>dt.createComment(""),Yt=e=>e===null||typeof e!="object"&&typeof e!="function",Hi=Array.isArray,Rc=e=>Hi(e)||typeof e?.[Symbol.iterator]=="function",go=`[
|
|
484
|
+
\f\r]`,qt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ui=/-->/g,Bi=/>/g,lt=RegExp(`>|${go}(?:([^\\s"'>=/]+)(${go}*=${go}*(?:[^
|
|
485
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Mi=/'/g,$i=/"/g,Gi=/^(?:script|style|textarea|title)$/i,ji=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),Ki=ji(1),Vi=ji(2),Xt=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),Wi=new WeakMap,ut=dt.createTreeWalker(dt,129);function Zi(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Di!==void 0?Di.createHTML(t):t}var Nc=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=qt;for(let l=0;l<o;l++){let d=e[l],p,h,m=-1,y=0;for(;y<d.length&&(s.lastIndex=y,h=s.exec(d),h!==null);)y=s.lastIndex,s===qt?h[1]==="!--"?s=Ui:h[1]!==void 0?s=Bi:h[2]!==void 0?(Gi.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=lt):h[3]!==void 0&&(s=lt):s===lt?h[0]===">"?(s=i??qt,m=-1):h[1]===void 0?m=-2:(m=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?lt:h[3]==='"'?$i:Mi):s===$i||s===Mi?s=lt:s===Ui||s===Bi?s=qt:(s=lt,i=void 0);let x=s===lt&&e[l+1].startsWith("/>")?" ":"";a+=s===qt?d+Ac:m>=0?(n.push(p),d.slice(0,m)+zi+d.slice(m)+Ke+x):d+Ke+(m===-2?l:x)}return[Zi(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,h]=Nc(t,o);if(this.el=e.createElement(p,n),ut.currentNode=this.el.content,o===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=ut.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(zi)){let y=h[s++],x=i.getAttribute(m).split(Ke),b=/([.?@])?(.*)/.exec(y);d.push({type:1,index:a,name:b[2],strings:x,ctor:b[1]==="."?xo:b[1]==="?"?vo:b[1]==="@"?So:Lt}),i.removeAttribute(m)}else m.startsWith(Ke)&&(d.push({type:6,index:a}),i.removeAttribute(m));if(Gi.test(i.tagName)){let m=i.textContent.split(Ke),y=m.length-1;if(y>0){i.textContent=Er?Er.emptyScript:"";for(let x=0;x<y;x++)i.append(m[x],wr()),ut.nextNode(),d.push({type:2,index:++a});i.append(m[y],wr())}}}else if(i.nodeType===8)if(i.data===Fi)d.push({type:2,index:a});else{let m=-1;for(;(m=i.data.indexOf(Ke,m+1))!==-1;)d.push({type:7,index:a}),m+=Ke.length-1}a++}}static createElement(t,o){let n=dt.createElement("template");return n.innerHTML=t,n}};function It(e,t,o=e,n){if(t===Xt)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Yt(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=It(e,i._$AS(e,t.values),i,n)),t}var bo=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??dt).importNode(o,!0);ut.currentNode=i;let a=ut.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new Ar(a,a.nextSibling,this,t):d.type===1?p=new d.ctor(a,d.name,d.strings,this,t):d.type===6&&(p=new Oo(a,this,t)),this._$AV.push(p),d=n[++l]}s!==d?.index&&(a=ut.nextNode(),s++)}return ut.currentNode=dt,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++}},Ar=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=It(this,t,o),Yt(t)?t===J||t==null||t===""?(this._$AH!==J&&this._$AR(),this._$AH=J):t!==this._$AH&&t!==Xt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Rc(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&&Yt(this._$AH)?this._$AA.nextSibling.data=t:this.$(dt.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(Zi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new bo(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=Wi.get(t.strings);return o===void 0&&Wi.set(t.strings,o=new Qt(t)),o}T(t){Hi(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(wr()),this.k(wr()),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))}},Lt=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=It(this,t,o,0),s=!Yt(t)||t!==this._$AH&&t!==Xt,s&&(this._$AH=t);else{let l=t,d,p;for(t=a[0],d=0;d<a.length-1;d++)p=It(this,l[n+d],o,d),p===Xt&&(p=this._$AH[d]),s||=!Yt(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??"")}},xo=class extends Lt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===J?void 0:t}},vo=class extends Lt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==J)}},So=class extends Lt{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=It(this,t,o,0)??J)===Xt)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)}},Oo=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){It(this,t)}};var Tc=Co.litHtmlPolyfillSupport;Tc?.(Qt,Ar),(Co.litHtmlVersions??=[]).push("3.1.0");var Yi=Symbol.for(""),Pc=e=>{if(e?.r===Yi)return e?._$litStatic$},Eo=e=>({_$litStatic$:e,r:Yi});var qi=new Map,Xi=e=>(t,...o)=>{let n=o.length,i,a,s=[],l=[],d,p=0,h=!1;for(;p<n;){for(d=t[p];p<n&&(a=o[p],(i=Pc(a))!==void 0);)d+=i+t[++p],h=!0;p!==n&&l.push(a),s.push(d),p++}if(p===n&&s.push(t[n]),h){let m=s.join("$$lit$$");(t=qi.get(m))===void 0&&(s.raw=s,qi.set(m,t=s)),o=l}return e(t,...o)},wo=Xi(Ki),Gf=Xi(Vi);var Ao=S(Q()),Ji=S(I());var Ve;(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"})(Ve||(Ve={}));var Qi=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ye=class extends Ji.FtLitElement{constructor(){super(...arguments),this.variant=Ve.body1}render(){return this.element?wo`
|
|
486
|
+
<${Eo(this.element)}
|
|
486
487
|
part="text"
|
|
487
488
|
class="ft-typography ft-typography--${this.variant}">
|
|
488
489
|
<slot></slot>
|
|
489
|
-
</${
|
|
490
|
-
`:
|
|
490
|
+
</${Eo(this.element)}>
|
|
491
|
+
`:wo`
|
|
491
492
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
492
|
-
`}};
|
|
493
|
+
`}};ye.styles=[pi,fi,hi,mi,yi,Or,gi,bi,xi,vi,Si,...Oi];Qi([(0,Ao.property)()],ye.prototype,"element",void 0);Qi([(0,Ao.property)()],ye.prototype,"variant",void 0);(0,ea.customElement)("ft-typography")(ye);var ta=S(z()),Me=S(I()),Ze={distance:Me.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Me.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Me.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Me.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Me.FtCssVariableFactory.external(Me.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Me.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},ra=ta.css`
|
|
493
494
|
.ft-tooltip--container {
|
|
494
495
|
display: block;
|
|
495
496
|
}
|
|
@@ -504,21 +505,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
504
505
|
box-sizing: border-box;
|
|
505
506
|
overflow: hidden;
|
|
506
507
|
width: max-content;
|
|
507
|
-
max-width: ${
|
|
508
|
+
max-width: ${Ze.maxWidth};
|
|
508
509
|
text-align: center;
|
|
509
|
-
padding: ${
|
|
510
|
-
z-index: ${
|
|
510
|
+
padding: ${Ze.distance};
|
|
511
|
+
z-index: ${Ze.zIndex};
|
|
511
512
|
}
|
|
512
513
|
|
|
513
514
|
.ft-tooltip--content {
|
|
514
515
|
padding: 4px 8px;
|
|
515
|
-
border-radius: ${
|
|
516
|
-
background-color: ${
|
|
517
|
-
color: ${
|
|
516
|
+
border-radius: ${Ze.borderRadiusS};
|
|
517
|
+
background-color: ${Ze.backgroundColor};
|
|
518
|
+
color: ${Ze.color};
|
|
518
519
|
position: relative;
|
|
519
520
|
word-break: break-word;
|
|
520
521
|
}
|
|
521
|
-
`;var Xi=["top","right","bottom","left"],Yi=["start","end"],Oo=Xi.reduce((e,t)=>e.concat(t,t+"-"+Yi[0],t+"-"+Yi[1]),[]),qt=Math.min,Ke=Math.max,Yt=Math.round;var Ue=e=>({x:e,y:e}),Ec={left:"right",right:"left",bottom:"top",top:"bottom"},wc={start:"end",end:"start"};function Co(e,t,o){return Ke(e,qt(t,o))}function Cr(e,t){return typeof e=="function"?e(t):e}function Nt(e){return e.split("-")[0]}function Ve(e){return e.split("-")[1]}function Eo(e){return e==="x"?"y":"x"}function wo(e){return e==="y"?"height":"width"}function Er(e){return["top","bottom"].includes(Nt(e))?"y":"x"}function Ao(e){return Eo(Er(e))}function Qi(e,t,o){o===void 0&&(o=!1);let n=Ve(e),i=Ao(e),a=wo(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=So(s)),[s,So(s)]}function Ji(e){return e.replace(/start|end/g,t=>wc[t])}function So(e){return e.replace(/left|right|bottom|top/g,t=>Ec[t])}function Ac(e){return{top:0,right:0,bottom:0,left:0,...e}}function ea(e){return typeof e!="number"?Ac(e):{top:e,right:e,bottom:e,left:e}}function st(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function ta(e,t,o){let{reference:n,floating:i}=e,a=Er(t),s=Ao(t),l=wo(s),d=Nt(t),p=a==="y",f=n.x+n.width/2-i.width/2,m=n.y+n.height/2-i.height/2,y=n[l]/2-i[l]/2,b;switch(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:m};break;case"left":b={x:n.x-i.width,y:m};break;default:b={x:n.x,y:n.y}}switch(Ve(t)){case"start":b[s]-=y*(o&&p?-1:1);break;case"end":b[s]+=y*(o&&p?-1:1);break}return b}var ra=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:m}=ta(p,n,d),y=n,b={},g=0;for(let v=0;v<l.length;v++){let{name:R,fn:w}=l[v],{x:A,y:T,data:I,reset:M}=await w({x:f,y:m,initialPlacement:n,placement:y,strategy:i,middlewareData:b,rects:p,platform:s,elements:{reference:e,floating:t}});if(f=A??f,m=T??m,b={...b,[R]:{...b[R],...I}},M&&g<=50){g++,typeof M=="object"&&(M.placement&&(y=M.placement),M.rects&&(p=M.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):M.rects),{x:f,y:m}=ta(p,y,d)),v=-1;continue}}return{x:f,y:m,placement:y,strategy:i,middlewareData:b}};async function Ro(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:m="floating",altBoundary:y=!1,padding:b=0}=Cr(t,e),g=ea(b),R=l[y?m==="floating"?"reference":"floating":m],w=st(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=m==="floating"?{...s.floating,x:n,y:i}:s.reference,T=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),I=await(a.isElement==null?void 0:a.isElement(T))?await(a.getScale==null?void 0:a.getScale(T))||{x:1,y:1}:{x:1,y:1},M=st(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:T,strategy:d}):A);return{top:(w.top-M.top+g.top)/I.y,bottom:(M.bottom-w.bottom+g.bottom)/I.y,left:(w.left-M.left+g.left)/I.x,right:(M.right-w.right+g.right)/I.x}}function Rc(e,t,o){return(e?[...o.filter(i=>Ve(i)===e),...o.filter(i=>Ve(i)!==e)]:o.filter(i=>Nt(i)===i)).filter(i=>e?Ve(i)===e||(t?Ji(i)!==i:!1):!0)}var No=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:m,allowedPlacements:y=Oo,autoAlignment:b=!0,...g}=Cr(e,t),v=m!==void 0||y===Oo?Rc(m||null,b,y):y,R=await Ro(t,g),w=((o=s.autoPlacement)==null?void 0:o.index)||0,A=v[w];if(A==null)return{};let T=Qi(A,a,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(l!==A)return{reset:{placement:v[0]}};let I=[R[Nt(A)],R[T[0]],R[T[1]]],M=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:I}],ce=v[w+1];if(ce)return{data:{index:w+1,overflows:M},reset:{placement:ce}};let Y=M.map(h=>{let x=Ve(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,Ve(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:M},reset:{placement:be}}:{}}}};var Po=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}=Cr(e,t),p={x:o,y:n},f=await Ro(t,d),m=Er(Nt(i)),y=Eo(m),b=p[y],g=p[m];if(a){let R=y==="y"?"top":"left",w=y==="y"?"bottom":"right",A=b+f[R],T=b-f[w];b=Co(A,b,T)}if(s){let R=m==="y"?"top":"left",w=m==="y"?"bottom":"right",A=g+f[R],T=g-f[w];g=Co(A,g,T)}let v=l.fn({...t,[y]:b,[m]:g});return{...v,data:{x:v.x-o,y:v.y-n}}}}};function Be(e){return na(e)?(e.nodeName||"").toLowerCase():"#document"}function ue(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Me(e){var t;return(t=(na(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function na(e){return e instanceof Node||e instanceof ue(e).Node}function Ie(e){return e instanceof Element||e instanceof ue(e).Element}function Ce(e){return e instanceof HTMLElement||e instanceof ue(e).HTMLElement}function oa(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}=me(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function ia(e){return["table","td","th"].includes(Be(e))}function Ar(e){let t=Rr(),o=me(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 aa(e){let t=ct(e);for(;Ce(t)&&!Xt(t);){if(Ar(t))return t;t=ct(t)}return null}function Rr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Xt(e){return["html","body","#document"].includes(Be(e))}function me(e){return ue(e).getComputedStyle(e)}function Qt(e){return Ie(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ct(e){if(Be(e)==="html")return e;let t=e.assignedSlot||e.parentNode||oa(e)&&e.host||Me(e);return oa(t)?t.host:t}function sa(e){let t=ct(e);return Xt(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ce(t)&&Pt(t)?t:sa(t)}function wr(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=sa(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?wr(s.frameElement):[]):t.concat(i,wr(i,[],o))}function ua(e){let t=me(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=Ce(e),a=i?e.offsetWidth:o,s=i?e.offsetHeight:n,l=Yt(o)!==a||Yt(n)!==s;return l&&(o=a,n=s),{width:o,height:n,$:l}}function da(e){return Ie(e)?e:e.contextElement}function It(e){let t=da(e);if(!Ce(t))return Ue(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=ua(t),s=(a?Yt(o.width):o.width)/n,l=(a?Yt(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Nc=Ue(0);function pa(e){let t=ue(e);return!Rr()||!t.visualViewport?Nc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Pc(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==ue(e)?!1:t}function Jt(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=da(e),s=Ue(1);t&&(n?Ie(n)&&(s=It(n)):s=It(e));let l=Pc(a,o,n)?pa(a):Ue(0),d=(i.left+l.x)/s.x,p=(i.top+l.y)/s.y,f=i.width/s.x,m=i.height/s.y;if(a){let y=ue(a),b=n&&Ie(n)?ue(n):n,g=y.frameElement;for(;g&&n&&b!==y;){let v=It(g),R=g.getBoundingClientRect(),w=me(g),A=R.left+(g.clientLeft+parseFloat(w.paddingLeft))*v.x,T=R.top+(g.clientTop+parseFloat(w.paddingTop))*v.y;d*=v.x,p*=v.y,f*=v.x,m*=v.y,d+=A,p+=T,g=ue(g).frameElement}}return st({width:f,height:m,x:d,y:p})}function Ic(e){let{rect:t,offsetParent:o,strategy:n}=e,i=Ce(o),a=Me(o);if(o===a)return t;let s={scrollLeft:0,scrollTop:0},l=Ue(1),d=Ue(0);if((i||!i&&n!=="fixed")&&((Be(o)!=="body"||Pt(a))&&(s=Qt(o)),Ce(o))){let p=Jt(o);l=It(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 Tc(e){return Array.from(e.getClientRects())}function fa(e){return Jt(Me(e)).left+Qt(e).scrollLeft}function Lc(e){let t=Me(e),o=Qt(e),n=e.ownerDocument.body,i=Ke(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=Ke(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+fa(e),l=-o.scrollTop;return me(n).direction==="rtl"&&(s+=Ke(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function _c(e,t){let o=ue(e),n=Me(e),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,d=0;if(i){a=i.width,s=i.height;let p=Rr();(!p||p&&t==="fixed")&&(l=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:l,y:d}}function kc(e,t){let o=Jt(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=Ce(e)?It(e):Ue(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 ca(e,t,o){let n;if(t==="viewport")n=_c(e,o);else if(t==="document")n=Lc(Me(e));else if(Ie(t))n=kc(t,o);else{let i=pa(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return st(n)}function ha(e,t){let o=ct(e);return o===t||!Ie(o)||Xt(o)?!1:me(o).position==="fixed"||ha(o,t)}function Dc(e,t){let o=t.get(e);if(o)return o;let n=wr(e,[],!1).filter(l=>Ie(l)&&Be(l)!=="body"),i=null,a=me(e).position==="fixed",s=a?ct(e):e;for(;Ie(s)&&!Xt(s);){let l=me(s),d=Ar(s);!d&&l.position==="fixed"&&(i=null),(a?!d&&!i:!d&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Pt(s)&&!d&&ha(e,s))?n=n.filter(f=>f!==s):i=l,s=ct(s)}return t.set(e,n),n}function Uc(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?Dc(t,this._c):[].concat(o),n],l=s[0],d=s.reduce((p,f)=>{let m=ca(t,f,i);return p.top=Ke(m.top,p.top),p.right=qt(m.right,p.right),p.bottom=qt(m.bottom,p.bottom),p.left=Ke(m.left,p.left),p},ca(t,l,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Bc(e){return ua(e)}function Mc(e,t,o){let n=Ce(t),i=Me(t),a=o==="fixed",s=Jt(e,!0,a,t),l={scrollLeft:0,scrollTop:0},d=Ue(0);if(n||!n&&!a)if((Be(t)!=="body"||Pt(i))&&(l=Qt(t)),n){let p=Jt(t,!0,a,t);d.x=p.x+t.clientLeft,d.y=p.y+t.clientTop}else i&&(d.x=fa(i));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function la(e,t){return!Ce(e)||me(e).position==="fixed"?null:t?t(e):e.offsetParent}function ma(e,t){let o=ue(e);if(!Ce(e))return o;let n=la(e,t);for(;n&&ia(n)&&me(n).position==="static";)n=la(n,t);return n&&(Be(n)==="html"||Be(n)==="body"&&me(n).position==="static"&&!Ar(n))?o:n||aa(e)||o}var $c=async function(e){let{reference:t,floating:o,strategy:n}=e,i=this.getOffsetParent||ma,a=this.getDimensions;return{reference:Mc(t,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function Wc(e){return me(e).direction==="rtl"}var Nr={convertOffsetParentRelativeRectToViewportRelativeRect:Ic,getDocumentElement:Me,getClippingRect:Uc,getOffsetParent:ma,getElementRects:$c,getClientRects:Tc,getDimensions:Bc,getScale:It,isElement:Ie,isRTL:Wc};var ya=(e,t,o)=>{let n=new Map,i={platform:Nr,...o},a={...i.platform,_c:n};return ra(e,t,{...i,platform:a})};function ga(e){return zc(e)}function Io(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function zc(e){for(let t=e;t;t=Io(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Io(e);t;t=Io(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 ba(e,t,o){return ya(e,t,{platform:{...Nr,getOffsetParent:n=>Nr.getOffsetParent(n,ga)},middleware:[Po({crossAxis:!0}),No({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},j=class extends er.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 er.Debouncer,this.revealDebouncer=new er.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return xa.html`
|
|
522
|
+
`;var na=["top","right","bottom","left"],oa=["start","end"],No=na.reduce((e,t)=>e.concat(t,t+"-"+oa[0],t+"-"+oa[1]),[]),Jt=Math.min,qe=Math.max,er=Math.round;var $e=e=>({x:e,y:e}),Ic={left:"right",right:"left",bottom:"top",top:"bottom"},Lc={start:"end",end:"start"};function To(e,t,o){return qe(e,Jt(t,o))}function Rr(e,t){return typeof e=="function"?e(t):e}function _t(e){return e.split("-")[0]}function Ye(e){return e.split("-")[1]}function Po(e){return e==="x"?"y":"x"}function Io(e){return e==="y"?"height":"width"}function Nr(e){return["top","bottom"].includes(_t(e))?"y":"x"}function Lo(e){return Po(Nr(e))}function ia(e,t,o){o===void 0&&(o=!1);let n=Ye(e),i=Lo(e),a=Io(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Ro(s)),[s,Ro(s)]}function aa(e){return e.replace(/start|end/g,t=>Lc[t])}function Ro(e){return e.replace(/left|right|bottom|top/g,t=>Ic[t])}function _c(e){return{top:0,right:0,bottom:0,left:0,...e}}function sa(e){return typeof e!="number"?_c(e):{top:e,right:e,bottom:e,left:e}}function pt(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function ca(e,t,o){let{reference:n,floating:i}=e,a=Nr(t),s=Lo(t),l=Io(s),d=_t(t),p=a==="y",h=n.x+n.width/2-i.width/2,m=n.y+n.height/2-i.height/2,y=n[l]/2-i[l]/2,x;switch(d){case"top":x={x:h,y:n.y-i.height};break;case"bottom":x={x:h,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:m};break;case"left":x={x:n.x-i.width,y:m};break;default:x={x:n.x,y:n.y}}switch(Ye(t)){case"start":x[s]-=y*(o&&p?-1:1);break;case"end":x[s]+=y*(o&&p?-1:1);break}return x}var la=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:h,y:m}=ca(p,n,d),y=n,x={},b=0;for(let v=0;v<l.length;v++){let{name:R,fn:w}=l[v],{x:A,y:P,data:k,reset:D}=await w({x:h,y:m,initialPlacement:n,placement:y,strategy:i,middlewareData:x,rects:p,platform:s,elements:{reference:e,floating:t}});if(h=A??h,m=P??m,x={...x,[R]:{...x[R],...k}},D&&b<=50){b++,typeof D=="object"&&(D.placement&&(y=D.placement),D.rects&&(p=D.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):D.rects),{x:h,y:m}=ca(p,y,d)),v=-1;continue}}return{x:h,y:m,placement:y,strategy:i,middlewareData:x}};async function _o(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:h="viewport",elementContext:m="floating",altBoundary:y=!1,padding:x=0}=Rr(t,e),b=sa(x),R=l[y?m==="floating"?"reference":"floating":m],w=pt(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:h,strategy:d})),A=m==="floating"?{...s.floating,x:n,y:i}:s.reference,P=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),k=await(a.isElement==null?void 0:a.isElement(P))?await(a.getScale==null?void 0:a.getScale(P))||{x:1,y:1}:{x:1,y:1},D=pt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:P,strategy:d}):A);return{top:(w.top-D.top+b.top)/k.y,bottom:(D.bottom-w.bottom+b.bottom)/k.y,left:(w.left-D.left+b.left)/k.x,right:(D.right-w.right+b.right)/k.x}}function kc(e,t,o){return(e?[...o.filter(i=>Ye(i)===e),...o.filter(i=>Ye(i)!==e)]:o.filter(i=>_t(i)===i)).filter(i=>e?Ye(i)===e||(t?aa(i)!==i:!1):!0)}var ko=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:h=!1,alignment:m,allowedPlacements:y=No,autoAlignment:x=!0,...b}=Rr(e,t),v=m!==void 0||y===No?kc(m||null,x,y):y,R=await _o(t,b),w=((o=s.autoPlacement)==null?void 0:o.index)||0,A=v[w];if(A==null)return{};let P=ia(A,a,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(l!==A)return{reset:{placement:v[0]}};let k=[R[_t(A)],R[P[0]],R[P[1]]],D=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:k}],ue=v[w+1];if(ue)return{data:{index:w+1,overflows:D},reset:{placement:ue}};let Te=D.map(te=>{let f=Ye(te.placement);return[te.placement,f&&h?te.overflows.slice(0,2).reduce((g,T)=>g+T,0):te.overflows[0],te.overflows]}).sort((te,f)=>te[1]-f[1]),Pe=((i=Te.filter(te=>te[2].slice(0,Ye(te[0])?2:3).every(f=>f<=0))[0])==null?void 0:i[0])||Te[0][0];return Pe!==l?{data:{index:w+1,overflows:D},reset:{placement:Pe}}:{}}}};var Do=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}=Rr(e,t),p={x:o,y:n},h=await _o(t,d),m=Nr(_t(i)),y=Po(m),x=p[y],b=p[m];if(a){let R=y==="y"?"top":"left",w=y==="y"?"bottom":"right",A=x+h[R],P=x-h[w];x=To(A,x,P)}if(s){let R=m==="y"?"top":"left",w=m==="y"?"bottom":"right",A=b+h[R],P=b-h[w];b=To(A,b,P)}let v=l.fn({...t,[y]:x,[m]:b});return{...v,data:{x:v.x-o,y:v.y-n}}}}};function We(e){return da(e)?(e.nodeName||"").toLowerCase():"#document"}function pe(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ze(e){var t;return(t=(da(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function da(e){return e instanceof Node||e instanceof pe(e).Node}function _e(e){return e instanceof Element||e instanceof pe(e).Element}function Ee(e){return e instanceof HTMLElement||e instanceof pe(e).HTMLElement}function ua(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof pe(e).ShadowRoot}function kt(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=ge(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function pa(e){return["table","td","th"].includes(We(e))}function Pr(e){let t=Ir(),o=ge(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 fa(e){let t=ft(e);for(;Ee(t)&&!tr(t);){if(Pr(t))return t;t=ft(t)}return null}function Ir(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function tr(e){return["html","body","#document"].includes(We(e))}function ge(e){return pe(e).getComputedStyle(e)}function rr(e){return _e(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ft(e){if(We(e)==="html")return e;let t=e.assignedSlot||e.parentNode||ua(e)&&e.host||ze(e);return ua(t)?t.host:t}function ha(e){let t=ft(e);return tr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ee(t)&&kt(t)?t:ha(t)}function Tr(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=ha(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=pe(i);return a?t.concat(s,s.visualViewport||[],kt(i)?i:[],s.frameElement&&o?Tr(s.frameElement):[]):t.concat(i,Tr(i,[],o))}function ga(e){let t=ge(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=Ee(e),a=i?e.offsetWidth:o,s=i?e.offsetHeight:n,l=er(o)!==a||er(n)!==s;return l&&(o=a,n=s),{width:o,height:n,$:l}}function ba(e){return _e(e)?e:e.contextElement}function Dt(e){let t=ba(e);if(!Ee(t))return $e(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=ga(t),s=(a?er(o.width):o.width)/n,l=(a?er(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Dc=$e(0);function xa(e){let t=pe(e);return!Ir()||!t.visualViewport?Dc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Uc(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==pe(e)?!1:t}function or(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=ba(e),s=$e(1);t&&(n?_e(n)&&(s=Dt(n)):s=Dt(e));let l=Uc(a,o,n)?xa(a):$e(0),d=(i.left+l.x)/s.x,p=(i.top+l.y)/s.y,h=i.width/s.x,m=i.height/s.y;if(a){let y=pe(a),x=n&&_e(n)?pe(n):n,b=y.frameElement;for(;b&&n&&x!==y;){let v=Dt(b),R=b.getBoundingClientRect(),w=ge(b),A=R.left+(b.clientLeft+parseFloat(w.paddingLeft))*v.x,P=R.top+(b.clientTop+parseFloat(w.paddingTop))*v.y;d*=v.x,p*=v.y,h*=v.x,m*=v.y,d+=A,p+=P,b=pe(b).frameElement}}return pt({width:h,height:m,x:d,y:p})}function Bc(e){let{rect:t,offsetParent:o,strategy:n}=e,i=Ee(o),a=ze(o);if(o===a)return t;let s={scrollLeft:0,scrollTop:0},l=$e(1),d=$e(0);if((i||!i&&n!=="fixed")&&((We(o)!=="body"||kt(a))&&(s=rr(o)),Ee(o))){let p=or(o);l=Dt(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 Mc(e){return Array.from(e.getClientRects())}function va(e){return or(ze(e)).left+rr(e).scrollLeft}function $c(e){let t=ze(e),o=rr(e),n=e.ownerDocument.body,i=qe(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=qe(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+va(e),l=-o.scrollTop;return ge(n).direction==="rtl"&&(s+=qe(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function Wc(e,t){let o=pe(e),n=ze(e),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,d=0;if(i){a=i.width,s=i.height;let p=Ir();(!p||p&&t==="fixed")&&(l=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:l,y:d}}function zc(e,t){let o=or(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=Ee(e)?Dt(e):$e(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 ma(e,t,o){let n;if(t==="viewport")n=Wc(e,o);else if(t==="document")n=$c(ze(e));else if(_e(t))n=zc(t,o);else{let i=xa(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return pt(n)}function Sa(e,t){let o=ft(e);return o===t||!_e(o)||tr(o)?!1:ge(o).position==="fixed"||Sa(o,t)}function Fc(e,t){let o=t.get(e);if(o)return o;let n=Tr(e,[],!1).filter(l=>_e(l)&&We(l)!=="body"),i=null,a=ge(e).position==="fixed",s=a?ft(e):e;for(;_e(s)&&!tr(s);){let l=ge(s),d=Pr(s);!d&&l.position==="fixed"&&(i=null),(a?!d&&!i:!d&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||kt(s)&&!d&&Sa(e,s))?n=n.filter(h=>h!==s):i=l,s=ft(s)}return t.set(e,n),n}function Hc(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?Fc(t,this._c):[].concat(o),n],l=s[0],d=s.reduce((p,h)=>{let m=ma(t,h,i);return p.top=qe(m.top,p.top),p.right=Jt(m.right,p.right),p.bottom=Jt(m.bottom,p.bottom),p.left=qe(m.left,p.left),p},ma(t,l,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Gc(e){return ga(e)}function jc(e,t,o){let n=Ee(t),i=ze(t),a=o==="fixed",s=or(e,!0,a,t),l={scrollLeft:0,scrollTop:0},d=$e(0);if(n||!n&&!a)if((We(t)!=="body"||kt(i))&&(l=rr(t)),n){let p=or(t,!0,a,t);d.x=p.x+t.clientLeft,d.y=p.y+t.clientTop}else i&&(d.x=va(i));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function ya(e,t){return!Ee(e)||ge(e).position==="fixed"?null:t?t(e):e.offsetParent}function Oa(e,t){let o=pe(e);if(!Ee(e))return o;let n=ya(e,t);for(;n&&pa(n)&&ge(n).position==="static";)n=ya(n,t);return n&&(We(n)==="html"||We(n)==="body"&&ge(n).position==="static"&&!Pr(n))?o:n||fa(e)||o}var Kc=async function(e){let{reference:t,floating:o,strategy:n}=e,i=this.getOffsetParent||Oa,a=this.getDimensions;return{reference:jc(t,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function Vc(e){return ge(e).direction==="rtl"}var Lr={convertOffsetParentRelativeRectToViewportRelativeRect:Bc,getDocumentElement:ze,getClippingRect:Hc,getOffsetParent:Oa,getElementRects:Kc,getClientRects:Mc,getDimensions:Gc,getScale:Dt,isElement:_e,isRTL:Vc};var Ca=(e,t,o)=>{let n=new Map,i={platform:Lr,...o},a={...i.platform,_c:n};return la(e,t,{...i,platform:a})};function Ea(e){return Zc(e)}function Uo(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Zc(e){for(let t=e;t;t=Uo(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Uo(e);t;t=Uo(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 wa(e,t,o){return Ca(e,t,{platform:{...Lr,getOffsetParent:n=>Lr.getOffsetParent(n,Ea)},middleware:[Do({crossAxis:!0}),ko({allowedPlacements:[o]})]})}var fe=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 nr.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 nr.Debouncer,this.revealDebouncer=new nr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Aa.html`
|
|
522
523
|
<div part="container"
|
|
523
524
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
524
525
|
@mouseenter=${this.onHover}
|
|
@@ -536,45 +537,45 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
536
537
|
</div>
|
|
537
538
|
</div>
|
|
538
539
|
</div>
|
|
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="",ba(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))}};j.elementDefinitions={"ft-typography":he};j.styles=qi;de([(0,X.property)()],j.prototype,"text",void 0);de([(0,X.property)({type:Boolean})],j.prototype,"manual",void 0);de([(0,X.property)({type:Boolean})],j.prototype,"inline",void 0);de([(0,X.property)({type:Number})],j.prototype,"delay",void 0);de([(0,X.property)()],j.prototype,"position",void 0);de([(0,X.queryAssignedNodes)()],j.prototype,"slotNodes",void 0);de([(0,X.query)(".ft-tooltip--container")],j.prototype,"container",void 0);de([(0,X.query)(".ft-tooltip")],j.prototype,"tooltip",void 0);de([(0,X.query)(".ft-tooltip--content")],j.prototype,"tooltipContent",void 0);de([(0,X.state)()],j.prototype,"visible",void 0);de([(0,X.eventOptions)({passive:!0})],j.prototype,"onTouch",null);de([(0,X.eventOptions)({passive:!0})],j.prototype,"onHover",null);de([(0,X.eventOptions)({passive:!0})],j.prototype,"onOut",null);de([(0,X.eventOptions)({passive:!0})],j.prototype,"onClick",null);(0,va.customElement)("ft-tooltip")(j);var Aa=S(L());var tr=S(z()),lt=S(Q()),Ea=S(L()),wa=S(Oa());var Ze;(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.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.LIST_MAGNIFYING_GLASS="",e.MEDAL="",e.THUMBS_UP_THUMBS_DOWN_SOLID="",e.ARROW_TURN_DOWN_RIGHT="",e.FLASK="",e.EYE="",e.SHARE="󨃱"})(Ze||(Ze={}));var C;(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=""})(C||(C={}));var To=new Map([...["abw"].map(e=>[e,C.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,C.AUDIO]),...["avi"].map(e=>[e,C.AVI]),...["chm","xhs"].map(e=>[e,C.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,C.CODE]),...["csv"].map(e=>[e,C.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,C.DITA]),...["epub"].map(e=>[e,C.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,C.EXCEL]),...["flac"].map(e=>[e,C.FLAC]),...["gif"].map(e=>[e,C.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,C.GZIP]),...["html","htm","xhtml"].map(e=>[e,C.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,C.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,C.JPEG]),...["json"].map(e=>[e,C.JSON]),...["m4a","m4p"].map(e=>[e,C.M4A]),...["mov","qt"].map(e=>[e,C.MOV]),...["mp3"].map(e=>[e,C.MP3]),...["mp4","m4v"].map(e=>[e,C.MP4]),...["ogg","oga"].map(e=>[e,C.OGG]),...["pdf","ps"].map(e=>[e,C.PDF]),...["png"].map(e=>[e,C.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,C.POWERPOINT]),...["rar"].map(e=>[e,C.RAR]),...["stp"].map(e=>[e,C.STP]),...["txt","rtf","md","mdown"].map(e=>[e,C.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,C.VIDEO]),...["wav"].map(e=>[e,C.WAV]),...["wma"].map(e=>[e,C.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,C.WORD]),...["xml","xsl","rdf"].map(e=>[e,C.XML]),...["yaml","yml","x-yaml"].map(e=>[e,C.YAML]),...["zip"].map(e=>[e,C.ZIP])]),Fc=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 Ca(e,t){var o,n,i,a;e=(e??"").toLowerCase(),t=(t??"").toLowerCase();let[s,l]=(((o=Fc.get(e))!==null&&o!==void 0?o:e)+"/").split("/");return(a=(i=(n=To.get(l))!==null&&n!==void 0?n:To.get(t))!==null&&i!==void 0?i:To.get(s))!==null&&a!==void 0?a:C.UNKNOWN}var Th={[C.ABW]:"#91ABC6",[C.AUDIO]:"#1795E3",[C.AVI]:"#E63324",[C.CHM]:"#71C3EB",[C.CODE]:"#71C3EB",[C.CSV]:"#1F7345",[C.DITA]:"#71C3EB",[C.EPUB]:"#85B926",[C.EXCEL]:"#1F7345",[C.FLAC]:"#1795E3",[C.GIF]:"#59B031",[C.GZIP]:"#F8AB36",[C.HTML]:"#71C3EB",[C.IMAGE]:"#59B031",[C.JPEG]:"#59B031",[C.JSON]:"#71C3EB",[C.M4A]:"#1795E3",[C.MOV]:"#E63324",[C.MP3]:"#1795E3",[C.MP4]:"#E63324",[C.OGG]:"#1795E3",[C.PDF]:"#E44948",[C.PNG]:"#59B031",[C.POWERPOINT]:"#B54A2B",[C.RAR]:"#F8AB36",[C.STP]:"#3764B1",[C.TEXT]:"#3162AB",[C.UNKNOWN]:"#999999",[C.VIDEO]:"#E63324",[C.WAV]:"#1795E3",[C.WMA]:"#1795E3",[C.WORD]:"#3162AB",[C.XML]:"#71C3EB",[C.YAML]:"#71C3EB",[C.ZIP]:"#F8AB36"};var ye;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(ye||(ye={}));var Pr=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 Ea.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=tr.nothing}render(){let t=this.variant&&Object.values(ye).includes(this.variant)?this.variant:ye.fluid_topics,o=t!==ye.material||!!this.value;return tr.html`
|
|
540
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",wa(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))}};K.elementDefinitions={"ft-typography":ye};K.styles=ra;fe([(0,X.property)()],K.prototype,"text",void 0);fe([(0,X.property)({type:Boolean})],K.prototype,"manual",void 0);fe([(0,X.property)({type:Boolean})],K.prototype,"inline",void 0);fe([(0,X.property)({type:Number})],K.prototype,"delay",void 0);fe([(0,X.property)()],K.prototype,"position",void 0);fe([(0,X.queryAssignedNodes)()],K.prototype,"slotNodes",void 0);fe([(0,X.query)(".ft-tooltip--container")],K.prototype,"container",void 0);fe([(0,X.query)(".ft-tooltip")],K.prototype,"tooltip",void 0);fe([(0,X.query)(".ft-tooltip--content")],K.prototype,"tooltipContent",void 0);fe([(0,X.state)()],K.prototype,"visible",void 0);fe([(0,X.eventOptions)({passive:!0})],K.prototype,"onTouch",null);fe([(0,X.eventOptions)({passive:!0})],K.prototype,"onHover",null);fe([(0,X.eventOptions)({passive:!0})],K.prototype,"onOut",null);fe([(0,X.eventOptions)({passive:!0})],K.prototype,"onClick",null);(0,Ra.customElement)("ft-tooltip")(K);var _a=S(I());var ir=S(z()),ht=S(Q()),Ia=S(I()),La=S(Ta());var Xe;(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.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.LIST_MAGNIFYING_GLASS="",e.MEDAL="",e.THUMBS_UP_THUMBS_DOWN_SOLID="",e.ARROW_TURN_DOWN_RIGHT="",e.FLASK="",e.LOCK_KEYHOLE_OPEN_SOLID="",e.HOURGLASS_END="",e.EYE="",e.SHARE="󨃱"})(Xe||(Xe={}));var C;(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=""})(C||(C={}));var Bo=new Map([...["abw"].map(e=>[e,C.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,C.AUDIO]),...["avi"].map(e=>[e,C.AVI]),...["chm","xhs"].map(e=>[e,C.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,C.CODE]),...["csv"].map(e=>[e,C.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,C.DITA]),...["epub"].map(e=>[e,C.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,C.EXCEL]),...["flac"].map(e=>[e,C.FLAC]),...["gif"].map(e=>[e,C.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,C.GZIP]),...["html","htm","xhtml"].map(e=>[e,C.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,C.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,C.JPEG]),...["json"].map(e=>[e,C.JSON]),...["m4a","m4p"].map(e=>[e,C.M4A]),...["mov","qt"].map(e=>[e,C.MOV]),...["mp3"].map(e=>[e,C.MP3]),...["mp4","m4v"].map(e=>[e,C.MP4]),...["ogg","oga"].map(e=>[e,C.OGG]),...["pdf","ps"].map(e=>[e,C.PDF]),...["png"].map(e=>[e,C.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,C.POWERPOINT]),...["rar"].map(e=>[e,C.RAR]),...["stp"].map(e=>[e,C.STP]),...["txt","rtf","md","mdown"].map(e=>[e,C.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,C.VIDEO]),...["wav"].map(e=>[e,C.WAV]),...["wma"].map(e=>[e,C.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,C.WORD]),...["xml","xsl","rdf"].map(e=>[e,C.XML]),...["yaml","yml","x-yaml"].map(e=>[e,C.YAML]),...["zip"].map(e=>[e,C.ZIP])]),qc=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 Pa(e,t){var o,n,i,a;e=(e??"").toLowerCase(),t=(t??"").toLowerCase();let[s,l]=(((o=qc.get(e))!==null&&o!==void 0?o:e)+"/").split("/");return(a=(i=(n=Bo.get(l))!==null&&n!==void 0?n:Bo.get(t))!==null&&i!==void 0?i:Bo.get(s))!==null&&a!==void 0?a:C.UNKNOWN}var $h={[C.ABW]:"#91ABC6",[C.AUDIO]:"#1795E3",[C.AVI]:"#E63324",[C.CHM]:"#71C3EB",[C.CODE]:"#71C3EB",[C.CSV]:"#1F7345",[C.DITA]:"#71C3EB",[C.EPUB]:"#85B926",[C.EXCEL]:"#1F7345",[C.FLAC]:"#1795E3",[C.GIF]:"#59B031",[C.GZIP]:"#F8AB36",[C.HTML]:"#71C3EB",[C.IMAGE]:"#59B031",[C.JPEG]:"#59B031",[C.JSON]:"#71C3EB",[C.M4A]:"#1795E3",[C.MOV]:"#E63324",[C.MP3]:"#1795E3",[C.MP4]:"#E63324",[C.OGG]:"#1795E3",[C.PDF]:"#E44948",[C.PNG]:"#59B031",[C.POWERPOINT]:"#B54A2B",[C.RAR]:"#F8AB36",[C.STP]:"#3764B1",[C.TEXT]:"#3162AB",[C.UNKNOWN]:"#999999",[C.VIDEO]:"#E63324",[C.WAV]:"#1795E3",[C.WMA]:"#1795E3",[C.WORD]:"#3162AB",[C.XML]:"#71C3EB",[C.YAML]:"#71C3EB",[C.ZIP]:"#F8AB36"};var be;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(be||(be={}));var _r=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},he=class extends Ia.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=ir.nothing}render(){let t=this.variant&&Object.values(be).includes(this.variant)?this.variant:be.fluid_topics,o=t!==be.material||!!this.value;return ir.html`
|
|
540
541
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
541
|
-
${(0,
|
|
542
|
+
${(0,La.unsafeHTML)(this.resolvedIcon)}
|
|
542
543
|
<slot ?hidden=${o}></slot>
|
|
543
544
|
</i>
|
|
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
|
|
545
|
+
`}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.textContent;switch(this.variant){case be.file_format:this.resolvedIcon=(t=C[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case be.material:this.resolvedIcon=this.value||ir.nothing;break;default:this.resolvedIcon=(o=Xe[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};he.elementDefinitions={};he.styles=Ai;_r([(0,ht.property)()],he.prototype,"variant",void 0);_r([(0,ht.property)()],he.prototype,"value",void 0);_r([(0,ht.state)()],he.prototype,"resolvedIcon",void 0);_r([(0,ht.query)("slot")],he.prototype,"slottedContent",void 0);(0,_a.customElement)("ft-icon")(he);var Ua=S(I());var ka=S(z()),Da=S(I());var mt=class extends Da.FtLitElement{render(){return ka.html`
|
|
545
546
|
<div class="ft-loader">
|
|
546
547
|
<div></div>
|
|
547
548
|
<div></div>
|
|
548
549
|
<div></div>
|
|
549
550
|
<div></div>
|
|
550
551
|
</div>
|
|
551
|
-
`}};
|
|
552
|
+
`}};mt.styles=Ei;(0,Ua.customElement)("ft-loader")(mt);var Ut=S(z()),Ba=S(Cr()),ne=S(Q()),me=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},V=class extends(0,Bt.toFtFormComponent)(Bt.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,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(){var t;return this.addTooltipIfNeeded(Ut.html`
|
|
552
553
|
<button part="button"
|
|
553
|
-
class="${(0,
|
|
554
|
+
class="${(0,Ba.classMap)(this.buttonClasses)}"
|
|
554
555
|
aria-label="${(t=this.ariaLabel)!==null&&t!==void 0?t:this.getLabel()}"
|
|
555
556
|
?disabled=${this.isDisabled()}>
|
|
556
557
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
557
558
|
<ft-typography part="label"
|
|
558
559
|
variant=${this.typographyVariant}
|
|
559
560
|
element="span"
|
|
560
|
-
class="ft-button--label ${
|
|
561
|
+
class="ft-button--label ${Bt.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
561
562
|
?hidden=${!this.hasTextContent()}>
|
|
562
563
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
563
564
|
</ft-typography>
|
|
564
565
|
${this.resolveIcon()}
|
|
565
566
|
</button>
|
|
566
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
567
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Ut.html`
|
|
567
568
|
<ft-tooltip part="tooltip"
|
|
568
569
|
text="${this.getLabel()}"
|
|
569
570
|
position="${this.tooltipPosition}">
|
|
570
571
|
${t}
|
|
571
572
|
</ft-tooltip>
|
|
572
|
-
`:t}resolveIcon(){return this.loading?
|
|
573
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
573
|
+
`:t}resolveIcon(){return this.loading?Ut.html`
|
|
574
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?Ut.html`
|
|
574
575
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
575
|
-
`:
|
|
576
|
+
`:Ut.html`
|
|
576
577
|
<slot part="icon" name="icon"></slot>
|
|
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}};
|
|
578
|
+
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(o=>this.unslotText(o)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};V.elementDefinitions={"ft-ripple":F,"ft-tooltip":K,"ft-typography":ye,"ft-icon":he,"ft-loader":mt};me([(0,ne.property)({type:String,reflect:!0})],V.prototype,"role",void 0);me([(0,ne.property)()],V.prototype,"type",void 0);me([(0,ne.property)({type:Boolean})],V.prototype,"disabled",void 0);me([(0,ne.property)()],V.prototype,"label",void 0);me([(0,ne.property)()],V.prototype,"icon",void 0);me([(0,ne.property)()],V.prototype,"iconVariant",void 0);me([(0,ne.property)({type:Boolean})],V.prototype,"trailingIcon",void 0);me([(0,ne.property)({type:Boolean})],V.prototype,"loading",void 0);me([(0,ne.property)({attribute:"aria-label"})],V.prototype,"ariaLabel",void 0);me([(0,ne.property)()],V.prototype,"tooltipPosition",void 0);me([(0,ne.property)({type:Boolean})],V.prototype,"hideTooltip",void 0);me([(0,ne.property)({type:Boolean})],V.prototype,"forceTooltip",void 0);me([(0,ne.query)(".ft-button")],V.prototype,"button",void 0);me([(0,ne.query)(".ft-button--label slot")],V.prototype,"slottedContent",void 0);var kr=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},we=class extends V{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"}};we.styles=[Ma.safariEllipsisFix,Pi];kr([(0,ar.property)({type:Boolean})],we.prototype,"primary",void 0);kr([(0,ar.property)({type:Boolean})],we.prototype,"outlined",void 0);kr([(0,ar.property)({type:Boolean})],we.prototype,"dense",void 0);kr([(0,ar.property)({type:Boolean})],we.prototype,"round",void 0);var sr=S(Q());var Ur=S(I());var $a=S(z()),B=S(I());var Wa=[$a.css`
|
|
578
579
|
:host {
|
|
579
580
|
display: inline-block;
|
|
580
581
|
max-width: 100%;
|
|
@@ -658,13 +659,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
658
659
|
/** Primary styles **/
|
|
659
660
|
|
|
660
661
|
.ft-button--primary {
|
|
661
|
-
${(0,
|
|
662
|
+
${(0,B.setVariable)(se.color,O.primaryIconColor)};
|
|
662
663
|
|
|
663
|
-
${(0,
|
|
664
|
-
${(0,
|
|
665
|
-
${(0,
|
|
666
|
-
${(0,
|
|
667
|
-
${(0,
|
|
664
|
+
${(0,B.setVariable)(M.color,O.primaryStateLayerColor)};
|
|
665
|
+
${(0,B.setVariable)(M.opacityContentOnSurfaceHover,O.primaryHoverStateLayerOpacity)};
|
|
666
|
+
${(0,B.setVariable)(M.opacityContentOnSurfaceFocused,O.primaryFocusStateLayerOpacity)};
|
|
667
|
+
${(0,B.setVariable)(M.opacityContentOnSurfaceSelected,O.primaryActiveStateLayerOpacity)};
|
|
668
|
+
${(0,B.setVariable)(M.opacityContentOnSurfacePressed,O.primaryActiveStateLayerOpacity)};
|
|
668
669
|
|
|
669
670
|
background-color: ${O.primaryBackgroundColor};
|
|
670
671
|
color: ${O.primaryColor};
|
|
@@ -682,13 +683,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
682
683
|
/** Secondary styles **/
|
|
683
684
|
|
|
684
685
|
.ft-button--secondary {
|
|
685
|
-
${(0,
|
|
686
|
+
${(0,B.setVariable)(se.color,O.secondaryIconColor)};
|
|
686
687
|
|
|
687
|
-
${(0,
|
|
688
|
-
${(0,
|
|
689
|
-
${(0,
|
|
690
|
-
${(0,
|
|
691
|
-
${(0,
|
|
688
|
+
${(0,B.setVariable)(M.color,O.secondaryStateLayerColor)};
|
|
689
|
+
${(0,B.setVariable)(M.opacityContentOnSurfaceHover,O.secondaryHoverStateLayerOpacity)};
|
|
690
|
+
${(0,B.setVariable)(M.opacityContentOnSurfaceFocused,O.secondaryFocusStateLayerOpacity)};
|
|
691
|
+
${(0,B.setVariable)(M.opacityContentOnSurfaceSelected,O.secondaryActiveStateLayerOpacity)};
|
|
692
|
+
${(0,B.setVariable)(M.opacityContentOnSurfacePressed,O.secondaryActiveStateLayerOpacity)};
|
|
692
693
|
|
|
693
694
|
background-color: ${O.secondaryBackgroundColor};
|
|
694
695
|
color: ${O.secondaryColor};
|
|
@@ -707,13 +708,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
707
708
|
/** Tertiary styles **/
|
|
708
709
|
|
|
709
710
|
.ft-button--tertiary {
|
|
710
|
-
${(0,
|
|
711
|
+
${(0,B.setVariable)(se.color,O.tertiaryIconColor)};
|
|
711
712
|
|
|
712
|
-
${(0,
|
|
713
|
-
${(0,
|
|
714
|
-
${(0,
|
|
715
|
-
${(0,
|
|
716
|
-
${(0,
|
|
713
|
+
${(0,B.setVariable)(M.color,O.tertiaryStateLayerColor)};
|
|
714
|
+
${(0,B.setVariable)(M.opacityContentOnSurfaceHover,O.tertiaryHoverStateLayerOpacity)};
|
|
715
|
+
${(0,B.setVariable)(M.opacityContentOnSurfaceFocused,O.tertiaryFocusStateLayerOpacity)};
|
|
716
|
+
${(0,B.setVariable)(M.opacityContentOnSurfaceSelected,O.tertiaryActiveStateLayerOpacity)};
|
|
717
|
+
${(0,B.setVariable)(M.opacityContentOnSurfacePressed,O.tertiaryActiveStateLayerOpacity)};
|
|
717
718
|
|
|
718
719
|
background-color: ${O.tertiaryBackgroundColor};
|
|
719
720
|
color: ${O.tertiaryColor};
|
|
@@ -731,13 +732,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
731
732
|
/** Neutral styles **/
|
|
732
733
|
|
|
733
734
|
.ftds--family-neutral {
|
|
734
|
-
${(0,
|
|
735
|
+
${(0,B.setVariable)(se.color,O.neutralIconColor)};
|
|
735
736
|
|
|
736
|
-
${(0,
|
|
737
|
-
${(0,
|
|
738
|
-
${(0,
|
|
739
|
-
${(0,
|
|
740
|
-
${(0,
|
|
737
|
+
${(0,B.setVariable)(M.backgroundColor,O.neutralStateLayerColor)};
|
|
738
|
+
${(0,B.setVariable)(M.opacityContentOnSurfaceHover,O.neutralHoverStateLayerOpacity)};
|
|
739
|
+
${(0,B.setVariable)(M.opacityContentOnSurfaceFocused,O.neutralFocusStateLayerOpacity)};
|
|
740
|
+
${(0,B.setVariable)(M.opacityContentOnSurfaceSelected,O.neutralActiveStateLayerOpacity)};
|
|
741
|
+
${(0,B.setVariable)(M.opacityContentOnSurfacePressed,O.neutralActiveStateLayerOpacity)};
|
|
741
742
|
|
|
742
743
|
background-color: ${O.neutralBackgroundColor};
|
|
743
744
|
color: ${O.neutralColor};
|
|
@@ -755,8 +756,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
755
756
|
/** Large styles **/
|
|
756
757
|
|
|
757
758
|
.ftds--size-large {
|
|
758
|
-
${(0,
|
|
759
|
-
${(0,
|
|
759
|
+
${(0,B.setVariable)(ce.size,O.largeIconSize)};
|
|
760
|
+
${(0,B.setVariable)(se.size,O.largeIconSize)};
|
|
760
761
|
|
|
761
762
|
height: ${O.largeHeight};
|
|
762
763
|
padding: 0 ${O.largeHorizontalPadding};
|
|
@@ -777,8 +778,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
777
778
|
/** Small styles **/
|
|
778
779
|
|
|
779
780
|
.ftds--size-medium {
|
|
780
|
-
${(0,
|
|
781
|
-
${(0,
|
|
781
|
+
${(0,B.setVariable)(ce.size,O.mediumIconSize)};
|
|
782
|
+
${(0,B.setVariable)(se.size,O.mediumIconSize)};
|
|
782
783
|
|
|
783
784
|
height: ${O.mediumHeight};
|
|
784
785
|
padding: 0 ${O.mediumHorizontalPadding};
|
|
@@ -800,8 +801,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
800
801
|
/** Small styles **/
|
|
801
802
|
|
|
802
803
|
.ftds--size-small {
|
|
803
|
-
${(0,
|
|
804
|
-
${(0,
|
|
804
|
+
${(0,B.setVariable)(ce.size,O.smallIconSize)};
|
|
805
|
+
${(0,B.setVariable)(se.size,O.smallIconSize)};
|
|
805
806
|
|
|
806
807
|
height: ${O.smallHeight};
|
|
807
808
|
padding: 0 ${O.smallHorizontalPadding};
|
|
@@ -818,11 +819,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
818
819
|
.ftds--size-small.ft-button--icon-only {
|
|
819
820
|
width: ${O.smallIconOnlyWidth};
|
|
820
821
|
}
|
|
821
|
-
`,
|
|
822
|
+
`,B.noTextSelect];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},Fe=class extends(0,Ur.toFtdsBase)(V){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=vr.brand,this.iconVariant=be.fluid_topics}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,"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,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case St.large:return Ve.body2medium;case St.medium:return Ve.caption1medium;case St.small:return Ve.caption2medium}}};Fe.styles=[Ur.safariEllipsisFix,Wa];Dr([(0,sr.property)({type:Boolean})],Fe.prototype,"primary",void 0);Dr([(0,sr.property)({type:Boolean})],Fe.prototype,"secondary",void 0);Dr([(0,sr.property)({type:Boolean})],Fe.prototype,"tertiary",void 0);Dr([(0,sr.property)({type:Boolean})],Fe.prototype,"round",void 0);(0,Mo.customElement)("ft-button")(we);(0,Mo.customElement)("ftds-button")(Fe);var Y={height:$.FtCssVariableFactory.create("--ft-search-input-height","","SIZE","38px"),borderRadius:$.FtCssVariableFactory.extend("--ft-search-input-border-radius","",$.designSystemVariables.borderRadiusS),desktopFiltersHeight:$.FtCssVariableFactory.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:$.FtCssVariableFactory.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:$.FtCssVariableFactory.extend("--ft-search-input-background-color","",$.designSystemVariables.colorSurface),colorOnSurface:$.FtCssVariableFactory.extend("--ft-search-input-color","",$.designSystemVariables.colorOnSurface),colorOnSurfaceMedium:$.FtCssVariableFactory.extend("--ft-search-input-placeholder-color","",$.designSystemVariables.colorOnSurfaceMedium),colorOutline:$.FtCssVariableFactory.extend("--ft-search-input-outline-color","",$.designSystemVariables.colorOutline),elevation02:$.FtCssVariableFactory.extend("--ft-search-input-elevation","",$.designSystemVariables.elevation02),focusOutlineColor:$.FtCssVariableFactory.extend("--ft-search-input-focused-outline-color","",$.designSystemVariables.colorPrimary),buttonColor:$.FtCssVariableFactory.extend("--ft-search-input-button-color","",$.designSystemVariables.colorPrimary),buttonRippleColor:$.FtCssVariableFactory.extend("--ft-search-input-button-ripple-color","",$.designSystemVariables.colorPrimary)},Fa=za.css`
|
|
822
823
|
* {
|
|
823
824
|
box-sizing: border-box;
|
|
824
|
-
${(0
|
|
825
|
-
${(0
|
|
825
|
+
${(0,$.setVariable)(j.color,Y.buttonColor)};
|
|
826
|
+
${(0,$.setVariable)(j.rippleColor,Y.buttonRippleColor)};
|
|
826
827
|
}
|
|
827
828
|
|
|
828
829
|
.ft-search-input {
|
|
@@ -830,11 +831,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
830
831
|
display: flex;
|
|
831
832
|
flex-direction: row;
|
|
832
833
|
align-items: center;
|
|
833
|
-
height: ${
|
|
834
|
+
height: ${Y.height};
|
|
834
835
|
|
|
835
|
-
background: ${
|
|
836
|
-
border: 1px solid ${
|
|
837
|
-
border-radius: ${
|
|
836
|
+
background: ${Y.colorSurface};
|
|
837
|
+
border: 1px solid ${Y.colorOutline};
|
|
838
|
+
border-radius: ${Y.borderRadius};
|
|
838
839
|
}
|
|
839
840
|
|
|
840
841
|
.ft-search-input--input-container {
|
|
@@ -849,11 +850,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
849
850
|
width: 100%;
|
|
850
851
|
display: grid;
|
|
851
852
|
padding: 0 8px;
|
|
852
|
-
border-radius: ${
|
|
853
|
+
border-radius: ${Y.borderRadius};
|
|
853
854
|
}
|
|
854
855
|
|
|
855
856
|
.ft-search-input--input-container:focus-within .ft-search-input--input-outline {
|
|
856
|
-
outline: 2px solid ${
|
|
857
|
+
outline: 2px solid ${Y.focusOutlineColor};
|
|
857
858
|
}
|
|
858
859
|
|
|
859
860
|
.ft-search-input--input {
|
|
@@ -861,12 +862,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
861
862
|
width: 100%;
|
|
862
863
|
border: none;
|
|
863
864
|
background-color: transparent;
|
|
864
|
-
color: ${
|
|
865
|
+
color: ${Y.colorOnSurface};
|
|
865
866
|
outline: none;
|
|
866
867
|
}
|
|
867
868
|
|
|
868
869
|
.ft-search-input--input::placeholder {
|
|
869
|
-
color: ${
|
|
870
|
+
color: ${Y.colorOnSurfaceMedium};
|
|
870
871
|
}
|
|
871
872
|
|
|
872
873
|
.ft-search-input--actions {
|
|
@@ -876,13 +877,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
876
877
|
align-items: center;
|
|
877
878
|
height: 100%;
|
|
878
879
|
|
|
879
|
-
${(0
|
|
880
|
+
${(0,$.setVariable)(Ze.zIndex,`calc(${Y.floatingZIndex} + 1)`)};
|
|
880
881
|
}
|
|
881
882
|
|
|
882
883
|
.ft-search-input > ft-button,
|
|
883
884
|
.ft-search-input--actions ft-button {
|
|
884
885
|
flex-shrink: 0;
|
|
885
|
-
${(0
|
|
886
|
+
${(0,$.setVariable)(j.backgroundColor,"transparent")};
|
|
886
887
|
}
|
|
887
888
|
|
|
888
889
|
.ft-search-input .ft-search-input--launch-search,
|
|
@@ -900,31 +901,31 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
900
901
|
|
|
901
902
|
.ft-search-input--separator {
|
|
902
903
|
height: 20px;
|
|
903
|
-
border-right: 1px solid ${
|
|
904
|
+
border-right: 1px solid ${Y.colorOutline};
|
|
904
905
|
}
|
|
905
|
-
`;var
|
|
906
|
-
`;var
|
|
906
|
+
`;var oc=S(I()),nc=S(Q());var Sn=S(I());var Yc=S(I());var Xc=S(Ga(),1);var ja;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(ja||(ja={}));var Ka;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(Ka||(Ka={}));var Va;(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"})(Va||(Va={}));var Za;(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"})(Za||(Za={}));var qa;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(qa||(qa={}));var Ya;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Ya||(Ya={}));var Xa;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Xa||(Xa={}));var Qa;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Qa||(Qa={}));var Ja;(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"})(Ja||(Ja={}));var es;(function(e){e.ASC="ASC",e.DESC="DESC"})(es||(es={}));var ts;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(ts||(ts={}));var $o;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})($o||($o={}));var rs;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(rs||(rs={}));var os;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(os||(os={}));var ns;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(ns||(ns={}));var is;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(is||(is={}));var Wo;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS"})(Wo||(Wo={}));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 as;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(as||(as={}));var Hm={[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 rc=S(I());var ds=S(z()),Se=S(Q()),Ae=S(I());var ss=S(z());var cs=ss.css`
|
|
907
|
+
`;var $r=S(I()),Qc="ft-app-info",zo=class extends CustomEvent{constructor(t){super("authentication-change",{detail:t})}},Jc={session:(e,t)=>{(0,$r.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>_.eventBus.dispatchEvent(new zo(t.payload)),0))}},_=$r.FtReduxStore.get({name:Qc,reducers:Jc,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 Je=S(I());var Fo=S(I());var yt=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=_.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=_.subscribe(()=>{n=e.get(t),n&&(i(),o(n))})}})}};var He=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 Fo.CacheRegistry,this.cache=t?i.commonCache:new Fo.CacheRegistry}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:yt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):yt.await()}clearCache(){this.cache.clearAll()}};var ls,el=Symbol("clearAfterUnitTest"),Wr=class extends He{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[ls]=()=>{this.defaultMessages={},this.cache=new Je.CacheRegistry,this.listeners={}},this.currentUiLocale=_.getState().uiLocale,_.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=_.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,Je.deepEqual)(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveContext(t){var o,n;return this.fetchContext(t),(n=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,o){let n=t.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(t,o,...n){var i;let a=t.toLowerCase(),s=this.resolveContext(a);return new Je.ParametrizedLabelResolver((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},s).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,Je.delay)(0).then(()=>o()).catch(()=>null)))}};ls=el;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Wr{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Wr{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var gt=window.FluidTopicsI18nService,us=window.FluidTopicsCustomI18nService;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 Ae.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=()=>yt.get(),this.messageContexts=[],this.cache=new Ae.CacheRegistry,this.cleanSessionDebouncer=new Ae.Debouncer}render(){return ds.html`
|
|
907
908
|
<slot></slot>
|
|
908
|
-
`}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=>pt.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())}};V.elementDefinitions={};V.styles=ts;se([(0,ve.property)()],V.prototype,"baseUrl",void 0);se([(0,ve.property)()],V.prototype,"apiIntegrationIdentifier",void 0);se([(0,ve.property)()],V.prototype,"uiLocale",void 0);se([(0,we.jsonProperty)(null)],V.prototype,"availableUiLocales",void 0);se([(0,we.jsonProperty)(null)],V.prototype,"metadataConfiguration",void 0);se([(0,ve.property)({type:Boolean})],V.prototype,"editorMode",void 0);se([(0,ve.property)({type:Boolean})],V.prototype,"noCustom",void 0);se([(0,ve.property)({type:Boolean})],V.prototype,"openExternalDocumentInNewTab",void 0);se([(0,ve.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],V.prototype,"noCustomComponent",void 0);se([(0,ve.property)({type:Boolean})],V.prototype,"withManualResources",void 0);se([(0,ve.property)({type:Boolean})],V.prototype,"navigatorOnline",void 0);se([(0,ve.property)({type:Boolean})],V.prototype,"forcedOffline",void 0);se([(0,ve.property)({type:Object})],V.prototype,"apiProvider",void 0);se([(0,we.jsonProperty)([])],V.prototype,"messageContexts",void 0);se([(0,we.jsonProperty)(void 0)],V.prototype,"session",void 0);var Ll=S(Q());function Vc(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(!Dr(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(!Dr(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(!Dr(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Dr(e,t){try{return Vc(e,t)}catch{return!1}}function Bo(e,t){return!Dr(e,t)}var Zc=S(Q(),1);var Ur=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 nr=S(Q(),1);var is=S(Q(),1);function as(e,t){let o=()=>JSON.parse(JSON.stringify(e));return(0,is.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:Bo,...t??{}})}var Br=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 cs=S(z(),1);var Mr=window,qc=Mr.ShadowRoot&&(Mr.ShadyCSS===void 0||Mr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yy=Symbol();var ss=(e,t)=>{qc?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let n=document.createElement("style"),i=Mr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)})};var $r=class extends cs.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 ss(n,t.elementStyles),n}};var Wr=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},ps,ls=Symbol("constructorPrototype"),us=Symbol("constructorName"),fs=Symbol("exportpartsDebouncer"),ds=Symbol("dynamicDependenciesLoaded"),Ye=class extends $r{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[ps]=new Br(5),this[us]=this.constructor.name,this[ls]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[us]&&Object.setPrototypeOf(this,this[ls])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let t=this.constructor;t[ds]||(t[ds]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}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(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(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[fs].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=y=>y!=null&&y.trim().length>0,p=t.filter(d).map(y=>y.trim());if(p.length===0){this.removeAttribute("exportparts");return}let f=new Set;for(let y of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(a=(i=y.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],g=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(v=>v.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...b,...g).filter(d).map(v=>v.trim()).forEach(v=>f.add(v))}if(f.size===0){this.removeAttribute("exportparts");return}let m=[...f.values()].flatMap(y=>p.map(b=>`${y}:${b}--${y}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};ps=fs;Wr([(0,nr.property)()],Ye.prototype,"exportpartsPrefix",void 0);Wr([as([])],Ye.prototype,"exportpartsPrefixes",void 0);Wr([(0,nr.property)()],Ye.prototype,"customStylesheet",void 0);Wr([(0,nr.state)()],Ye.prototype,"useAdoptedStyleSheets",void 0);function ir(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var hs,ms,ys,zr=Symbol("internalReduxEventsUnsubscribers"),Xe=Symbol("internalStoresUnsubscribers"),ft=Symbol("internalStores"),ar=class extends Ye{constructor(){super(...arguments),this[hs]=new Map,this[ms]=new Map,this[ys]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[ft].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ft].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[ft].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[ft].delete(o)}setupStore(t,o){this[ft].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ft].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[Xe].has(t.store):this[Xe].size>0)&&(this[o]=t.selector(i.getState(),this))}})}subscribeToStore(t,o){var n;this[Xe].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[zr].push(()=>o.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Xe].forEach((t,o)=>this.unsubscribeFromStore(o)),this[zr].forEach(t=>t()),this[zr]=[]}unsubscribeFromStore(t){this[Xe].has(t)&&this[Xe].get(t)(),this[Xe].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};hs=Xe,ms=ft,ys=zr;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 ze(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)===ol}(e)||Array.isArray(e)||!!e[Cs]||!!(!((t=e.constructor)===null||t===void 0)&&t[Cs])||Ko(e)||Vo(e))}function ht(e,t,o){o===void 0&&(o=!1),Dt(e)===0?(o?Object.keys:kt)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function Dt(e){var t=e[H];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Ko(e)?2:Vo(e)?3:0}function _t(e,t){return Dt(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Yc(e,t){return Dt(e)===2?e.get(t):e[t]}function Es(e,t,o){var n=Dt(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function ws(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Ko(e){return tl&&e instanceof Map}function Vo(e){return rl&&e instanceof Set}function Qe(e){return e.o||e.t}function Zo(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Ns(e);delete t[H];for(var o=kt(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 qo(e,t){return t===void 0&&(t=!1),Yo(e)||ze(e)||!Ae(e)||(Dt(e)>1&&(e.set=e.add=e.clear=e.delete=Xc),Object.freeze(e),t&&ht(e,function(o,n){return qo(n,!0)},!0)),e}function Xc(){Se(2)}function Yo(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Te(e){var t=jo[e];return t||Se(18,e),t}function Qc(e,t){jo[e]||(jo[e]=t)}function Fo(){return cr}function Mo(e,t){t&&(Te("Patches"),e.u=[],e.s=[],e.v=t)}function Fr(e){Ho(e),e.p.forEach(Jc),e.p=null}function Ho(e){e===cr&&(cr=e.l)}function gs(e){return cr={p:[],l:cr,h:e,m:!0,_:0}}function Jc(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||Te("ES5").S(t,e,n),n?(o[H].P&&(Fr(t),Se(4)),Ae(e)&&(e=Hr(t,e),t.l||Gr(t,e)),t.u&&Te("Patches").M(o[H].t,e,t.u,t.s)):e=Hr(t,o,[]),Fr(t),t.u&&t.v(t.u,t.s),e!==Rs?e:void 0}function Hr(e,t,o){if(Yo(t))return t;var n=t[H];if(!n)return ht(t,function(l,d){return bs(e,n,t,l,d,o)},!0),t;if(n.A!==e)return t;if(!n.P)return Gr(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),ht(a,function(l,d){return bs(e,n,i,l,d,o,s)}),Gr(e,i,!1),o&&e.u&&Te("Patches").N(n,o,e.u,e.s)}return n.o}function bs(e,t,o,n,i,a,s){if(ze(i)){var l=Hr(e,i,a&&t&&t.i!==3&&!_t(t.R,n)?a.concat(n):void 0);if(Es(o,n,l),!ze(l))return;e.m=!1}else s&&o.add(i);if(Ae(i)&&!Yo(i)){if(!e.h.D&&e._<1)return;Hr(e,i),t&&t.A.l||Gr(e,i)}}function Gr(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&qo(t,o)}function Wo(e,t){var o=e[H];return(o?Qe(o):e)[t]}function xs(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 Je(e){e.P||(e.P=!0,e.l&&Je(e.l))}function zo(e){e.o||(e.o=Zo(e.t))}function Go(e,t,o){var n=Ko(t)?Te("MapSet").F(t,o):Vo(t)?Te("MapSet").T(t,o):e.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:Fo(),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),m=f.revoke,y=f.proxy;return l.k=y,l.j=m,y}(t,o):Te("ES5").J(t,o);return(o?o.A:Fo()).p.push(n),n}function el(e){return ze(e)||Se(22,e),function t(o){if(!Ae(o))return o;var n,i=o[H],a=Dt(o);if(i){if(!i.P&&(i.i<4||!Te("ES5").K(i)))return i.t;i.I=!0,n=vs(o,a),i.I=!1}else n=vs(o,a);return ht(n,function(s,l){i&&Yc(i.t,s)===l||Es(n,s,t(l))}),a===3?new Set(n):n}(e)}function vs(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Zo(e)}function As(){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)&&Je(d);break;case 4:o(d)&&Je(d)}}}function o(s){for(var l=s.t,d=s.k,p=kt(d),f=p.length-1;f>=0;f--){var m=p[f];if(m!==H){var y=l[m];if(y===void 0&&!_t(l,m))return!0;var b=d[m],g=b&&b[H];if(g?g.t!==y:!ws(b,y))return!0}}var v=!!l[H];return p.length!==kt(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(Qe(s)))}var a={};Qc("ES5",{J:function(s,l){var d=Array.isArray(s),p=function(m,y){if(m){for(var b=Array(y.length),g=0;g<y.length;g++)Object.defineProperty(b,""+g,e(g,!0));return b}var v=Ns(y);delete v[H];for(var R=kt(v),w=0;w<R.length;w++){var A=R[w];v[A]=e(A,m||!!v[A].enumerable)}return Object.create(Object.getPrototypeOf(y),v)}(d,s),f={i:d?5:4,A:l?l.A:Fo(),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?ze(l)&&l[H].A===s&&t(s.p):(s.u&&function p(f){if(f&&typeof f=="object"){var m=f[H];if(m){var y=m.t,b=m.k,g=m.R,v=m.i;if(v===4)ht(b,function(I){I!==H&&(y[I]!==void 0||_t(y,I)?g[I]||p(b[I]):(g[I]=!0,Je(m)))}),ht(y,function(I){b[I]!==void 0||_t(b,I)||(g[I]=!1,Je(m))});else if(v===5){if(n(m)&&(Je(m),g.length=!0),b.length<y.length)for(var R=b.length;R<y.length;R++)g[R]=!1;else for(var w=y.length;w<b.length;w++)g[w]=!0;for(var A=Math.min(b.length,y.length),T=0;T<A;T++)b.hasOwnProperty(T)||(g[T]=!0),g[T]===void 0&&p(b[T])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var Ss,cr,Xo=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",tl=typeof Map<"u",rl=typeof Set<"u",Os=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Rs=Xo?Symbol.for("immer-nothing"):((Ss={})["immer-nothing"]=!0,Ss),Cs=Xo?Symbol.for("immer-draftable"):"__$immer_draftable",H=Xo?Symbol.for("immer-state"):"__$immer_state";var ol=""+Object.prototype.constructor,kt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Ns=Object.getOwnPropertyDescriptors||function(e){var t={};return kt(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},jo={},lr={get:function(e,t){if(t===H)return e;var o=Qe(e);if(!_t(o,t))return function(i,a,s){var l,d=xs(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===Wo(e.t,t)?(zo(e),e.o[t]=Go(e.A.h,n,e)):n},has:function(e,t){return t in Qe(e)},ownKeys:function(e){return Reflect.ownKeys(Qe(e))},set:function(e,t,o){var n=xs(Qe(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var i=Wo(Qe(e),t),a=i?.[H];if(a&&a.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(ws(o,i)&&(o!==void 0||_t(e.t,t)))return!0;zo(e),Je(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 Wo(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,zo(e),Je(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=Qe(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={};ht(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 nl=function(){function e(o){var n=this;this.O=Os,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),T=1;T<w;T++)A[T-1]=arguments[T];return d.produce(v,function(I){var M;return(M=a).call.apply(M,[R,I].concat(A))})}}var p;if(typeof a!="function"&&Se(6),s!==void 0&&typeof s!="function"&&Se(7),Ae(i)){var f=gs(n),m=Go(n,i,void 0),y=!0;try{p=a(m),y=!1}finally{y?Fr(f):Ho(f)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(v){return Mo(f,s),$o(v,f)},function(v){throw Fr(f),v}):(Mo(f,s),$o(p,f))}if(!i||typeof i!="object"){if((p=a(i))===void 0&&(p=i),p===Rs&&(p=void 0),n.D&&qo(p,!0),s){var b=[],g=[];Te("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,m=Array(f>1?f-1:0),y=1;y<f;y++)m[y-1]=arguments[y];return n.produceWithPatches(p,function(b){return i.apply(void 0,[b].concat(m))})};var s,l,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),ze(o)&&(o=el(o));var n=gs(this),i=Go(this,o,void 0);return i[H].C=!0,Ho(n),i},t.finishDraft=function(o,n){var i=o&&o[H],a=i.A;return Mo(a,n),$o(void 0,a)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!Os&&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=Te("Patches").$;return ze(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},e}(),ge=new nl,il=ge.produce,Ny=ge.produceWithPatches.bind(ge),Py=ge.setAutoFreeze.bind(ge),Iy=ge.setUseProxies.bind(ge),Ty=ge.applyPatches.bind(ge),Ly=ge.createDraft.bind(ge),_y=ge.finishDraft.bind(ge),jr=il;function et(e){"@babel/helpers - typeof";return et=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},et(e)}function Qo(e,t){if(et(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(et(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Jo(e){var t=Qo(e,"string");return et(t)==="symbol"?t:String(t)}function en(e,t,o){return t=Jo(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Ps(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 Kr(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?Ps(Object(o),!0).forEach(function(n){en(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ps(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function ne(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 Is=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),tn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Vr={INIT:"@@redux/INIT"+tn(),REPLACE:"@@redux/REPLACE"+tn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+tn()}};function al(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 rn(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(ne(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(ne(1));return o(rn)(e,t)}if(typeof e!="function")throw new Error(ne(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(ne(3));return a}function m(v){if(typeof v!="function")throw new Error(ne(4));if(d)throw new Error(ne(5));var R=!0;return p(),l.push(v),function(){if(R){if(d)throw new Error(ne(6));R=!1,p();var A=l.indexOf(v);l.splice(A,1),s=null}}}function y(v){if(!al(v))throw new Error(ne(7));if(typeof v.type>"u")throw new Error(ne(8));if(d)throw new Error(ne(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(ne(10));i=v,y({type:Vr.REPLACE})}function g(){var v,R=m;return v={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(ne(11));function T(){A.next&&A.next(f())}T();var I=R(T);return{unsubscribe:I}}},v[Is]=function(){return this},v}return y({type:Vr.INIT}),n={dispatch:y,subscribe:m,getState:f,replaceReducer:b},n[Is]=g,n}function sl(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:Vr.INIT});if(typeof n>"u")throw new Error(ne(12));if(typeof o(void 0,{type:Vr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ne(13))})}function Ts(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{sl(o)}catch(d){l=d}return function(p,f){if(p===void 0&&(p={}),l)throw l;if(0)var m;for(var y=!1,b={},g=0;g<a.length;g++){var v=a[g],R=o[v],w=p[v],A=R(w,f);if(typeof A>"u"){var T=f&&f.type;throw new Error(ne(14))}b[v]=A,y=y||A!==w}return y=y||a.length!==Object.keys(p).length,y?b:p}}function Ut(){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 Ls(){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(ne(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=t.map(function(d){return d(s)});return a=Ut.apply(void 0,l)(i.dispatch),Kr(Kr({},i),{},{dispatch:a})}}}function _s(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 ks=_s();ks.withExtraArgument=_s;var on=ks;var $s=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)}}(),cl=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}}},Bt=function(e,t){for(var o=0,n=t.length,i=e.length;o<n;o++,i++)e[i]=t[o];return e},ll=Object.defineProperty,ul=Object.defineProperties,dl=Object.getOwnPropertyDescriptors,Ds=Object.getOwnPropertySymbols,pl=Object.prototype.hasOwnProperty,fl=Object.prototype.propertyIsEnumerable,Us=function(e,t,o){return t in e?ll(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},tt=function(e,t){for(var o in t||(t={}))pl.call(t,o)&&Us(e,o,t[o]);if(Ds)for(var n=0,i=Ds(t);n<i.length;n++){var o=i[n];fl.call(t,o)&&Us(e,o,t[o])}return e},nn=function(e,t){return ul(e,dl(t))},hl=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 ml=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ut:Ut.apply(null,arguments)},Xy=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function yl(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 gl=function(e){$s(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,Bt([void 0],o[0].concat(this)))):new(t.bind.apply(t,Bt([void 0],o.concat(this))))},t}(Array),bl=function(e){$s(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,Bt([void 0],o[0].concat(this)))):new(t.bind.apply(t,Bt([void 0],o.concat(this))))},t}(Array);function cn(e){return Ae(e)?jr(e,function(){}):e}function xl(e){return typeof e=="boolean"}function vl(){return function(t){return Sl(t)}}function Sl(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 gl;if(o&&(xl(o)?l.push(on):l.push(on.withExtraArgument(o.extraArgument))),0){if(i)var d;if(s)var p}return l}var an=!0;function Ws(e){var t=vl(),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,m=o.enhancers,y=m===void 0?void 0:m,b;if(typeof i=="function")b=i;else if(yl(i))b=Ts(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),!an&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!an&&g.some(function(I){return typeof I!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=Ls.apply(void 0,g),R=Ut;d&&(R=ml(tt({trace:!an},typeof d=="object"&&d)));var w=new bl(v),A=w;Array.isArray(y)?A=Bt([v],y):typeof y=="function"&&(A=y(w));var T=R.apply(void 0,A);return rn(b,f,T)}function rt(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 tt(tt({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 zs(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 Ol(e){return typeof e=="function"}function Cl(e,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?zs(t):[t,o,n],a=i[0],s=i[1],l=i[2],d;if(Ol(e))d=function(){return cn(e())};else{var p=cn(e);d=function(){return p}}function f(m,y){m===void 0&&(m=d());var b=Bt([a[y.type]],s.filter(function(g){var v=g.matcher;return v(y)}).map(function(g){var v=g.reducer;return v}));return b.filter(function(g){return!!g}).length===0&&(b=[l]),b.reduce(function(g,v){if(v)if(ze(g)){var R=g,w=v(R,y);return w===void 0?g:w}else{if(Ae(g))return jr(g,function(A){return v(A,y)});var w=v(g,y);if(w===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return w}return g},m)}return f.getInitialState=d,f}function El(e,t){return e+"/"+t}function Fs(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:cn(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(f){var m=n[f],y=El(t,f),b,g;"reducer"in m?(b=m.reducer,g=m.prepare):b=m,a[f]=b,s[y]=b,l[f]=g?rt(y,g):rt(y)});function d(){var f=typeof e.extraReducers=="function"?zs(e.extraReducers):[e.extraReducers],m=f[0],y=m===void 0?{}:m,b=f[1],g=b===void 0?[]:b,v=f[2],R=v===void 0?void 0:v,w=tt(tt({},y),s);return Cl(o,function(A){for(var T in w)A.addCase(T,w[T]);for(var I=0,M=g;I<M.length;I++){var ce=M[I];A.addMatcher(ce.matcher,ce.reducer)}R&&A.addDefaultCase(R)})}var p;return{name:t,reducer:function(f,m){return p||(p=d()),p(f,m)},actions:l,caseReducers:a,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var wl="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Al=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=wl[Math.random()*64|0];return t},Rl=["name","message","stack","code"],sn=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Bs=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Nl=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=Rl;o<n.length;o++){var i=n[o];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},tg=function(){function e(t,o,n){var i=rt(t+"/fulfilled",function(f,m,y,b){return{payload:f,meta:nn(tt({},b||{}),{arg:y,requestId:m,requestStatus:"fulfilled"})}}),a=rt(t+"/pending",function(f,m,y){return{payload:void 0,meta:nn(tt({},y||{}),{arg:m,requestId:f,requestStatus:"pending"})}}),s=rt(t+"/rejected",function(f,m,y,b,g){return{payload:b,error:(n&&n.serializeError||Nl)(f||"Rejected"),meta:nn(tt({},g||{}),{arg:y,requestId:m,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(m,y,b){var g=n?.idGenerator?n.idGenerator(f):Al(),v=new d,R,w=!1;function A(I){R=I,v.abort()}var T=function(){return hl(this,null,function(){var I,M,ce,Y,zt,be,h;return cl(this,function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),Y=(I=n?.condition)==null?void 0:I.call(n,f,{getState:y,extra:b}),Il(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"})})}),m(a(g,f,(M=n?.getPendingMeta)==null?void 0:M.call(n,{requestId:g,arg:f},{getState:y,extra:b}))),[4,Promise.race([zt,Promise.resolve(o(f,{dispatch:m,getState:y,extra:b,requestId:g,signal:v.signal,abort:A,rejectWithValue:function(N,W){return new sn(N,W)},fulfillWithValue:function(N,W){return new Bs(N,W)}})).then(function(N){if(N instanceof sn)throw N;return N instanceof Bs?i(N.payload,g,f,N.meta):i(N,g,f)})])];case 3:return ce=x.sent(),[3,5];case 4:return be=x.sent(),ce=be instanceof sn?s(null,g,f,be.payload,be.meta):s(be,g,f),[3,5];case 5:return h=n&&!n.dispatchConditionRejection&&s.match(ce)&&ce.meta.condition,h||m(ce),[2,ce]}})})}();return Object.assign(T,{abort:A,requestId:g,arg:f,unwrap:function(){return T.then(Pl)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function Pl(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Il(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Hs="listener",Gs="completed",js="cancelled",rg="task-"+js,og="task-"+Gs,ng=Hs+"-"+js,ig=Hs+"-"+Gs;var ln="listenerMiddleware";var ag=rt(ln+"/add"),sg=rt(ln+"/removeAll"),cg=rt(ln+"/remove");var Ms,lg=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Ms||(Ms=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Tl=function(e){return function(t){setTimeout(t,e)}},ug=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Tl(10);As();window.ftReduxStores||(window.ftReduxStores={});var Ks=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=Fs({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),l=Ws({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 Ur,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 Xr=S(L());var Zr=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 qr=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 _l="ft-user-assets",Yr=Xr.FtReduxStore.get({name:_l,initialState:{savedSearches:void 0,bookmarks:void 0}}),un=class{constructor(){this.currentSession=k.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new qr,this.savedSearchesService=new Zr,k.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=k.getState();(0,Xr.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(),Yr.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Yr.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Yr.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;Yr.actions.bookmarks(o)}}},$g=new un;var dn=class{addCommand(t,o=!1){k.commands.add(t,o)}consumeCommand(t){return k.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new dn;var Vs=S(L()),pn=class{highlightHtml(t,o,n){(0,Vs.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new pn;var Zs=S(L());var fn=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 Zs.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 fn;(0,qs.customElement)("ft-app-context")(V);var hn=class e extends Event{constructor(){super(e.eventName)}};hn.eventName="search-context-clear-all-filters";var kl=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},gn=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},yn=Symbol("registerInterval");function Dl(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[yn]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[yn]):this.dispatchEvent(new gn)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=yn,kl([(0,Xs.state)()],o.prototype,"stateManager",void 0),o}var Mt=class extends Dl(Ys.FtLitElementRedux){};var rc=S(L());var ro=S(z()),oo=S(Q()),no=S(L());var Qs=S(z());var Js=Qs.css`
|
|
909
|
-
`;var
|
|
909
|
+
`}update(t){super.update(t),t.has("baseUrl")&&(_.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&_.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&_.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&_.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&_.actions.noCustom(this.noCustom),t.has("editorMode")&&_.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&_.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&_.actions.session(this.session),t.has("availableUiLocales")&&_.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(o=>gt.addContext(o)),t.has("openExternalDocumentInNewTab")&&_.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&_.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&_.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())}};Z.elementDefinitions={};Z.styles=cs;le([(0,Se.property)()],Z.prototype,"baseUrl",void 0);le([(0,Se.property)()],Z.prototype,"apiIntegrationIdentifier",void 0);le([(0,Se.property)()],Z.prototype,"uiLocale",void 0);le([(0,Ae.jsonProperty)(null)],Z.prototype,"availableUiLocales",void 0);le([(0,Ae.jsonProperty)(null)],Z.prototype,"metadataConfiguration",void 0);le([(0,Se.property)({type:Boolean})],Z.prototype,"editorMode",void 0);le([(0,Se.property)({type:Boolean})],Z.prototype,"noCustom",void 0);le([(0,Se.property)({type:Boolean})],Z.prototype,"openExternalDocumentInNewTab",void 0);le([(0,Se.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],Z.prototype,"noCustomComponent",void 0);le([(0,Se.property)({type:Boolean})],Z.prototype,"withManualResources",void 0);le([(0,Se.property)({type:Boolean})],Z.prototype,"navigatorOnline",void 0);le([(0,Se.property)({type:Boolean})],Z.prototype,"forcedOffline",void 0);le([(0,Se.property)({type:Object})],Z.prototype,"apiProvider",void 0);le([(0,Ae.jsonProperty)([])],Z.prototype,"messageContexts",void 0);le([(0,Ae.jsonProperty)(void 0)],Z.prototype,"session",void 0);var Wl=S(Q());function tl(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(!zr(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(!zr(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(!zr(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function zr(e,t){try{return tl(e,t)}catch{return!1}}function Ho(e,t){return!zr(e,t)}var rl=S(Q(),1);var Fr=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 cr=S(Q(),1);var ps=S(Q(),1);function fs(e,t){let o=()=>JSON.parse(JSON.stringify(e));return(0,ps.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:Ho,...t??{}})}var Hr=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 ms=S(z(),1);var Gr=window,ol=Gr.ShadowRoot&&(Gr.ShadyCSS===void 0||Gr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Oy=Symbol();var hs=(e,t)=>{ol?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let n=document.createElement("style"),i=Gr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)})};var jr=class extends ms.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 hs(n,t.elementStyles),n}};var Kr=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},xs,ys=Symbol("constructorPrototype"),gs=Symbol("constructorName"),vs=Symbol("exportpartsDebouncer"),bs=Symbol("dynamicDependenciesLoaded"),et=class extends jr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[xs]=new Hr(5),this[gs]=this.constructor.name,this[ys]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[gs]&&Object.setPrototypeOf(this,this[ys])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let t=this.constructor;t[bs]||(t[bs]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}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(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(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[vs].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=y=>y!=null&&y.trim().length>0,p=t.filter(d).map(y=>y.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let y of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(a=(i=y.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],b=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(v=>v.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...x,...b).filter(d).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let m=[...h.values()].flatMap(y=>p.map(x=>`${y}:${x}--${y}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};xs=vs;Kr([(0,cr.property)()],et.prototype,"exportpartsPrefix",void 0);Kr([fs([])],et.prototype,"exportpartsPrefixes",void 0);Kr([(0,cr.property)()],et.prototype,"customStylesheet",void 0);Kr([(0,cr.state)()],et.prototype,"useAdoptedStyleSheets",void 0);function lr(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Ss,Os,Cs,Vr=Symbol("internalReduxEventsUnsubscribers"),tt=Symbol("internalStoresUnsubscribers"),bt=Symbol("internalStores"),ur=class extends et{constructor(){super(...arguments),this[Ss]=new Map,this[Os]=new Map,this[Cs]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[bt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[bt].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[bt].get(t)}addStore(t,o){var n;o=(n=o??(lr(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[bt].delete(o)}setupStore(t,o){this[bt].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[bt].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[tt].has(t.store):this[tt].size>0)&&(this[o]=t.selector(i.getState(),this))}})}subscribeToStore(t,o){var n;this[tt].set(t,o.subscribe(()=>this.updateFromStores())),lr(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[Vr].push(()=>o.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[tt].forEach((t,o)=>this.unsubscribeFromStore(o)),this[Vr].forEach(t=>t()),this[Vr]=[]}unsubscribeFromStore(t){this[tt].has(t)&&this[tt].get(t)(),this[tt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Ss=tt,Os=bt,Cs=Vr;ur.reduxProperties=new Map;ur.reduxReactiveProperties=new Set;ur.reduxEventListeners=new Map;function Oe(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 Ge(e){return!!e&&!!e[H]}function Re(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)===dl}(e)||Array.isArray(e)||!!e[Ps]||!!(!((t=e.constructor)===null||t===void 0)&&t[Ps])||Qo(e)||Jo(e))}function xt(e,t,o){o===void 0&&(o=!1),zt(e)===0?(o?Object.keys:Wt)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function zt(e){var t=e[H];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Qo(e)?2:Jo(e)?3:0}function $t(e,t){return zt(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function nl(e,t){return zt(e)===2?e.get(t):e[t]}function Is(e,t,o){var n=zt(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function Ls(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Qo(e){return ll&&e instanceof Map}function Jo(e){return ul&&e instanceof Set}function rt(e){return e.o||e.t}function en(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Ds(e);delete t[H];for(var o=Wt(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 tn(e,t){return t===void 0&&(t=!1),rn(e)||Ge(e)||!Re(e)||(zt(e)>1&&(e.set=e.add=e.clear=e.delete=il),Object.freeze(e),t&&xt(e,function(o,n){return tn(n,!0)},!0)),e}function il(){Oe(2)}function rn(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function ke(e){var t=Xo[e];return t||Oe(18,e),t}function al(e,t){Xo[e]||(Xo[e]=t)}function Zo(){return pr}function Go(e,t){t&&(ke("Patches"),e.u=[],e.s=[],e.v=t)}function Zr(e){qo(e),e.p.forEach(sl),e.p=null}function qo(e){e===pr&&(pr=e.l)}function Es(e){return pr={p:[],l:pr,h:e,m:!0,_:0}}function sl(e){var t=e[H];t.i===0||t.i===1?t.j():t.g=!0}function jo(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||ke("ES5").S(t,e,n),n?(o[H].P&&(Zr(t),Oe(4)),Re(e)&&(e=qr(t,e),t.l||Yr(t,e)),t.u&&ke("Patches").M(o[H].t,e,t.u,t.s)):e=qr(t,o,[]),Zr(t),t.u&&t.v(t.u,t.s),e!==ks?e:void 0}function qr(e,t,o){if(rn(t))return t;var n=t[H];if(!n)return xt(t,function(l,d){return ws(e,n,t,l,d,o)},!0),t;if(n.A!==e)return t;if(!n.P)return Yr(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=en(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),xt(a,function(l,d){return ws(e,n,i,l,d,o,s)}),Yr(e,i,!1),o&&e.u&&ke("Patches").N(n,o,e.u,e.s)}return n.o}function ws(e,t,o,n,i,a,s){if(Ge(i)){var l=qr(e,i,a&&t&&t.i!==3&&!$t(t.R,n)?a.concat(n):void 0);if(Is(o,n,l),!Ge(l))return;e.m=!1}else s&&o.add(i);if(Re(i)&&!rn(i)){if(!e.h.D&&e._<1)return;qr(e,i),t&&t.A.l||Yr(e,i)}}function Yr(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&tn(t,o)}function Ko(e,t){var o=e[H];return(o?rt(o):e)[t]}function As(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function ot(e){e.P||(e.P=!0,e.l&&ot(e.l))}function Vo(e){e.o||(e.o=en(e.t))}function Yo(e,t,o){var n=Qo(t)?ke("MapSet").F(t,o):Jo(t)?ke("MapSet").T(t,o):e.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:Zo(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=l,p=fr;s&&(d=[l],p=dr);var h=Proxy.revocable(d,p),m=h.revoke,y=h.proxy;return l.k=y,l.j=m,y}(t,o):ke("ES5").J(t,o);return(o?o.A:Zo()).p.push(n),n}function cl(e){return Ge(e)||Oe(22,e),function t(o){if(!Re(o))return o;var n,i=o[H],a=zt(o);if(i){if(!i.P&&(i.i<4||!ke("ES5").K(i)))return i.t;i.I=!0,n=Rs(o,a),i.I=!1}else n=Rs(o,a);return xt(n,function(s,l){i&&nl(i.t,s)===l||Is(n,s,t(l))}),a===3?new Set(n):n}(e)}function Rs(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return en(e)}function _s(){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 fr.get(p,s)},set:function(p){var h=this[H];fr.set(h,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)&&ot(d);break;case 4:o(d)&&ot(d)}}}function o(s){for(var l=s.t,d=s.k,p=Wt(d),h=p.length-1;h>=0;h--){var m=p[h];if(m!==H){var y=l[m];if(y===void 0&&!$t(l,m))return!0;var x=d[m],b=x&&x[H];if(b?b.t!==y:!Ls(x,y))return!0}}var v=!!l[H];return p.length!==Wt(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&&Oe(3,JSON.stringify(rt(s)))}var a={};al("ES5",{J:function(s,l){var d=Array.isArray(s),p=function(m,y){if(m){for(var x=Array(y.length),b=0;b<y.length;b++)Object.defineProperty(x,""+b,e(b,!0));return x}var v=Ds(y);delete v[H];for(var R=Wt(v),w=0;w<R.length;w++){var A=R[w];v[A]=e(A,m||!!v[A].enumerable)}return Object.create(Object.getPrototypeOf(y),v)}(d,s),h={i:d?5:4,A:l?l.A:Zo(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,H,{value:h,writable:!0}),p},S:function(s,l,d){d?Ge(l)&&l[H].A===s&&t(s.p):(s.u&&function p(h){if(h&&typeof h=="object"){var m=h[H];if(m){var y=m.t,x=m.k,b=m.R,v=m.i;if(v===4)xt(x,function(k){k!==H&&(y[k]!==void 0||$t(y,k)?b[k]||p(x[k]):(b[k]=!0,ot(m)))}),xt(y,function(k){x[k]!==void 0||$t(x,k)||(b[k]=!1,ot(m))});else if(v===5){if(n(m)&&(ot(m),b.length=!0),x.length<y.length)for(var R=x.length;R<y.length;R++)b[R]=!1;else for(var w=y.length;w<x.length;w++)b[w]=!0;for(var A=Math.min(x.length,y.length),P=0;P<A;P++)x.hasOwnProperty(P)||(b[P]=!0),b[P]===void 0&&p(x[P])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var Ns,pr,on=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",ll=typeof Map<"u",ul=typeof Set<"u",Ts=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ks=on?Symbol.for("immer-nothing"):((Ns={})["immer-nothing"]=!0,Ns),Ps=on?Symbol.for("immer-draftable"):"__$immer_draftable",H=on?Symbol.for("immer-state"):"__$immer_state";var dl=""+Object.prototype.constructor,Wt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Ds=Object.getOwnPropertyDescriptors||function(e){var t={};return Wt(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},Xo={},fr={get:function(e,t){if(t===H)return e;var o=rt(e);if(!$t(o,t))return function(i,a,s){var l,d=As(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||!Re(n)?n:n===Ko(e.t,t)?(Vo(e),e.o[t]=Yo(e.A.h,n,e)):n},has:function(e,t){return t in rt(e)},ownKeys:function(e){return Reflect.ownKeys(rt(e))},set:function(e,t,o){var n=As(rt(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var i=Ko(rt(e),t),a=i?.[H];if(a&&a.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(Ls(o,i)&&(o!==void 0||$t(e.t,t)))return!0;Vo(e),ot(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,Vo(e),ot(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=rt(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){Oe(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Oe(12)}},dr={};xt(fr,function(e,t){dr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),dr.deleteProperty=function(e,t){return dr.set.call(this,e,t,void 0)},dr.set=function(e,t,o){return fr.set.call(this,e[0],t,o,e[0])};var pl=function(){function e(o){var n=this;this.O=Ts,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),P=1;P<w;P++)A[P-1]=arguments[P];return d.produce(v,function(k){var D;return(D=a).call.apply(D,[R,k].concat(A))})}}var p;if(typeof a!="function"&&Oe(6),s!==void 0&&typeof s!="function"&&Oe(7),Re(i)){var h=Es(n),m=Yo(n,i,void 0),y=!0;try{p=a(m),y=!1}finally{y?Zr(h):qo(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(v){return Go(h,s),jo(v,h)},function(v){throw Zr(h),v}):(Go(h,s),jo(p,h))}if(!i||typeof i!="object"){if((p=a(i))===void 0&&(p=i),p===ks&&(p=void 0),n.D&&tn(p,!0),s){var x=[],b=[];ke("Patches").M(i,p,x,b),s(x,b)}return p}Oe(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(p){for(var h=arguments.length,m=Array(h>1?h-1:0),y=1;y<h;y++)m[y-1]=arguments[y];return n.produceWithPatches(p,function(x){return i.apply(void 0,[x].concat(m))})};var s,l,d=n.produce(i,a,function(p,h){s=p,l=h});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){Re(o)||Oe(8),Ge(o)&&(o=cl(o));var n=Es(this),i=Yo(this,o,void 0);return i[H].C=!0,qo(n),i},t.finishDraft=function(o,n){var i=o&&o[H],a=i.A;return Go(a,n),jo(void 0,a)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!Ts&&Oe(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=ke("Patches").$;return Ge(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},e}(),xe=new pl,fl=xe.produce,ky=xe.produceWithPatches.bind(xe),Dy=xe.setAutoFreeze.bind(xe),Uy=xe.setUseProxies.bind(xe),By=xe.applyPatches.bind(xe),My=xe.createDraft.bind(xe),$y=xe.finishDraft.bind(xe),Xr=fl;function nt(e){"@babel/helpers - typeof";return nt=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},nt(e)}function nn(e,t){if(nt(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(nt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function an(e){var t=nn(e,"string");return nt(t)==="symbol"?t:String(t)}function sn(e,t,o){return t=an(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Us(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 Qr(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?Us(Object(o),!0).forEach(function(n){sn(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Us(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function ie(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 Bs=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),cn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Jr={INIT:"@@redux/INIT"+cn(),REPLACE:"@@redux/REPLACE"+cn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+cn()}};function hl(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 ln(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(ie(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(ie(1));return o(ln)(e,t)}if(typeof e!="function")throw new Error(ie(2));var i=e,a=t,s=[],l=s,d=!1;function p(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(ie(3));return a}function m(v){if(typeof v!="function")throw new Error(ie(4));if(d)throw new Error(ie(5));var R=!0;return p(),l.push(v),function(){if(R){if(d)throw new Error(ie(6));R=!1,p();var A=l.indexOf(v);l.splice(A,1),s=null}}}function y(v){if(!hl(v))throw new Error(ie(7));if(typeof v.type>"u")throw new Error(ie(8));if(d)throw new Error(ie(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 x(v){if(typeof v!="function")throw new Error(ie(10));i=v,y({type:Jr.REPLACE})}function b(){var v,R=m;return v={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(ie(11));function P(){A.next&&A.next(h())}P();var k=R(P);return{unsubscribe:k}}},v[Bs]=function(){return this},v}return y({type:Jr.INIT}),n={dispatch:y,subscribe:m,getState:h,replaceReducer:x},n[Bs]=b,n}function ml(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:Jr.INIT});if(typeof n>"u")throw new Error(ie(12));if(typeof o(void 0,{type:Jr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ie(13))})}function Ms(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{ml(o)}catch(d){l=d}return function(p,h){if(p===void 0&&(p={}),l)throw l;if(0)var m;for(var y=!1,x={},b=0;b<a.length;b++){var v=a[b],R=o[v],w=p[v],A=R(w,h);if(typeof A>"u"){var P=h&&h.type;throw new Error(ie(14))}x[v]=A,y=y||A!==w}return y=y||a.length!==Object.keys(p).length,y?x:p}}function Ft(){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 $s(){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(ie(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=t.map(function(d){return d(s)});return a=Ft.apply(void 0,l)(i.dispatch),Qr(Qr({},i),{},{dispatch:a})}}}function Ws(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 zs=Ws();zs.withExtraArgument=Ws;var un=zs;var Ks=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)}}(),yl=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(h){return d([p,h])}}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(h){p=[6,h],i=0}finally{n=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Ht=function(e,t){for(var o=0,n=t.length,i=e.length;o<n;o++,i++)e[i]=t[o];return e},gl=Object.defineProperty,bl=Object.defineProperties,xl=Object.getOwnPropertyDescriptors,Fs=Object.getOwnPropertySymbols,vl=Object.prototype.hasOwnProperty,Sl=Object.prototype.propertyIsEnumerable,Hs=function(e,t,o){return t in e?gl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},it=function(e,t){for(var o in t||(t={}))vl.call(t,o)&&Hs(e,o,t[o]);if(Fs)for(var n=0,i=Fs(t);n<i.length;n++){var o=i[n];Sl.call(t,o)&&Hs(e,o,t[o])}return e},dn=function(e,t){return bl(e,xl(t))},Ol=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 Cl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ft:Ft.apply(null,arguments)},og=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function El(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 wl=function(e){Ks(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,Ht([void 0],o[0].concat(this)))):new(t.bind.apply(t,Ht([void 0],o.concat(this))))},t}(Array),Al=function(e){Ks(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,Ht([void 0],o[0].concat(this)))):new(t.bind.apply(t,Ht([void 0],o.concat(this))))},t}(Array);function hn(e){return Re(e)?Xr(e,function(){}):e}function Rl(e){return typeof e=="boolean"}function Nl(){return function(t){return Tl(t)}}function Tl(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 wl;if(o&&(Rl(o)?l.push(un):l.push(un.withExtraArgument(o.extraArgument))),0){if(i)var d;if(s)var p}return l}var pn=!0;function Vs(e){var t=Nl(),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,h=p===void 0?void 0:p,m=o.enhancers,y=m===void 0?void 0:m,x;if(typeof i=="function")x=i;else if(El(i))x=Ms(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 b=s;if(typeof b=="function"&&(b=b(t),!pn&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!pn&&b.some(function(k){return typeof k!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=$s.apply(void 0,b),R=Ft;d&&(R=Cl(it({trace:!pn},typeof d=="object"&&d)));var w=new Al(v),A=w;Array.isArray(y)?A=Ht([v],y):typeof y=="function"&&(A=y(w));var P=R.apply(void 0,A);return ln(x,h,P)}function at(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 it(it({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 Zs(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 Pl(e){return typeof e=="function"}function Il(e,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?Zs(t):[t,o,n],a=i[0],s=i[1],l=i[2],d;if(Pl(e))d=function(){return hn(e())};else{var p=hn(e);d=function(){return p}}function h(m,y){m===void 0&&(m=d());var x=Ht([a[y.type]],s.filter(function(b){var v=b.matcher;return v(y)}).map(function(b){var v=b.reducer;return v}));return x.filter(function(b){return!!b}).length===0&&(x=[l]),x.reduce(function(b,v){if(v)if(Ge(b)){var R=b,w=v(R,y);return w===void 0?b:w}else{if(Re(b))return Xr(b,function(A){return v(A,y)});var w=v(b,y);if(w===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return w}return b},m)}return h.getInitialState=d,h}function Ll(e,t){return e+"/"+t}function qs(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:hn(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(h){var m=n[h],y=Ll(t,h),x,b;"reducer"in m?(x=m.reducer,b=m.prepare):x=m,a[h]=x,s[y]=x,l[h]=b?at(y,b):at(y)});function d(){var h=typeof e.extraReducers=="function"?Zs(e.extraReducers):[e.extraReducers],m=h[0],y=m===void 0?{}:m,x=h[1],b=x===void 0?[]:x,v=h[2],R=v===void 0?void 0:v,w=it(it({},y),s);return Il(o,function(A){for(var P in w)A.addCase(P,w[P]);for(var k=0,D=b;k<D.length;k++){var ue=D[k];A.addMatcher(ue.matcher,ue.reducer)}R&&A.addDefaultCase(R)})}var p;return{name:t,reducer:function(h,m){return p||(p=d()),p(h,m)},actions:l,caseReducers:a,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var _l="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",kl=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=_l[Math.random()*64|0];return t},Dl=["name","message","stack","code"],fn=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Gs=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Ul=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=Dl;o<n.length;o++){var i=n[o];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},sg=function(){function e(t,o,n){var i=at(t+"/fulfilled",function(h,m,y,x){return{payload:h,meta:dn(it({},x||{}),{arg:y,requestId:m,requestStatus:"fulfilled"})}}),a=at(t+"/pending",function(h,m,y){return{payload:void 0,meta:dn(it({},y||{}),{arg:m,requestId:h,requestStatus:"pending"})}}),s=at(t+"/rejected",function(h,m,y,x,b){return{payload:x,error:(n&&n.serializeError||Ul)(h||"Rejected"),meta:dn(it({},b||{}),{arg:y,requestId:m,rejectedWithValue:!!x,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function p(h){return function(m,y,x){var b=n?.idGenerator?n.idGenerator(h):kl(),v=new d,R,w=!1;function A(k){R=k,v.abort()}var P=function(){return Ol(this,null,function(){var k,D,ue,Te,ae,Pe,te;return yl(this,function(f){switch(f.label){case 0:return f.trys.push([0,4,,5]),Te=(k=n?.condition)==null?void 0:k.call(n,h,{getState:y,extra:x}),Ml(Te)?[4,Te]:[3,2];case 1:Te=f.sent(),f.label=2;case 2:if(Te===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,ae=new Promise(function(g,T){return v.signal.addEventListener("abort",function(){return T({name:"AbortError",message:R||"Aborted"})})}),m(a(b,h,(D=n?.getPendingMeta)==null?void 0:D.call(n,{requestId:b,arg:h},{getState:y,extra:x}))),[4,Promise.race([ae,Promise.resolve(o(h,{dispatch:m,getState:y,extra:x,requestId:b,signal:v.signal,abort:A,rejectWithValue:function(g,T){return new fn(g,T)},fulfillWithValue:function(g,T){return new Gs(g,T)}})).then(function(g){if(g instanceof fn)throw g;return g instanceof Gs?i(g.payload,b,h,g.meta):i(g,b,h)})])];case 3:return ue=f.sent(),[3,5];case 4:return Pe=f.sent(),ue=Pe instanceof fn?s(null,b,h,Pe.payload,Pe.meta):s(Pe,b,h),[3,5];case 5:return te=n&&!n.dispatchConditionRejection&&s.match(ue)&&ue.meta.condition,te||m(ue),[2,ue]}})})}();return Object.assign(P,{abort:A,requestId:b,arg:h,unwrap:function(){return P.then(Bl)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function Bl(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Ml(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Ys="listener",Xs="completed",Qs="cancelled",cg="task-"+Qs,lg="task-"+Xs,ug=Ys+"-"+Qs,dg=Ys+"-"+Xs;var mn="listenerMiddleware";var pg=at(mn+"/add"),fg=at(mn+"/removeAll"),hg=at(mn+"/remove");var js,mg=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(js||(js=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},$l=function(e){return function(t){setTimeout(t,e)}},yg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:$l(10);_s();window.ftReduxStores||(window.ftReduxStores={});var Js=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(lr(a))return a;if(i==null)return;let s=qs({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),l=Vs({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 Fr,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 oo=S(I());var eo=class extends He{async listMySearches(){let t=_.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var to=class extends He{async listMyBookmarks(){let t=_.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var zl="ft-user-assets",ro=oo.FtReduxStore.get({name:zl,initialState:{savedSearches:void 0,bookmarks:void 0}}),yn=class{constructor(){this.currentSession=_.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new to,this.savedSearchesService=new eo,_.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=_.getState();(0,oo.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(),ro.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),ro.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();ro.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;ro.actions.bookmarks(o)}}},jg=new yn;var gn=class{addCommand(t,o=!1){_.commands.add(t,o)}consumeCommand(t){return _.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new gn;var ec=S(I()),bn=class{highlightHtml(t,o,n){(0,ec.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new bn;var tc=S(I());var xn=class{isDate(t){var o,n,i,a;return(a=(i=((n=(o=_.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 tc.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:_.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new xn;(0,rc.customElement)("ft-app-context")(Z);var vn=class e extends Event{constructor(){super(e.eventName)}};vn.eventName="search-context-clear-all-filters";var Fl=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Cn=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},On=Symbol("registerInterval");function Hl(e){var t;class o extends e{constructor(){super(...arguments),this[t]=0}setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[On]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[On]):this.dispatchEvent(new Cn)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=On,Fl([(0,nc.state)()],o.prototype,"stateManager",void 0),o}var Gt=class extends Hl(oc.FtLitElementRedux){};var lc=S(I());var co=S(z()),lo=S(Q()),uo=S(I());var ic=S(z());var ac=ic.css`
|
|
910
|
+
`;var ao=S(I());var cc=S(Q()),Gl=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},En=Symbol("i18nAttributes"),no=Symbol("i18nProperties"),hr=Symbol("i18nUnsubs");function so(e){var t;class o extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map}get i18nService(){return this.useCustomMessageContexts?us:gt}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[En])===null||a===void 0||a.forEach((l,d)=>{var p;let h=this.getI18nAttributeValue(d);((p=h?.context)===null||p===void 0?void 0:p.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(d,h,l)}),(s=this[no])===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[En])===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[no])===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[no])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(l=(s=this[En])===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[hr].has(i)||this[hr].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,a??{}),this.onI18nUpdate(i)}addI18nContext(i,a){this.addI18nMessages(typeof i=="string"?i:i.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[hr].forEach(i=>i()),this[hr].clear()}}return t=hr,Gl([(0,cc.property)({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}var sc=class extends so(ao.FtLitElement){},io=class extends so(ao.FtLitElementRedux){};var mr=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ne=class extends io{constructor(){super(),this.editorMode=!1,this.addStore(_)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":co.nothing:co.html`
|
|
910
911
|
<span class="ft-i18n">
|
|
911
912
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
912
913
|
</span>
|
|
913
|
-
`}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:""})}};
|
|
914
|
+
`}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:""})}};Ne.elementDefinitions={};Ne.styles=ac;mr([(0,uo.redux)()],Ne.prototype,"editorMode",void 0);mr([(0,lo.property)()],Ne.prototype,"context",void 0);mr([(0,lo.property)()],Ne.prototype,"key",void 0);mr([(0,uo.jsonProperty)([])],Ne.prototype,"args",void 0);mr([(0,lo.property)()],Ne.prototype,"defaultMessage",void 0);var po=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)=>gt.resolveMessage(this.name,n,...i)}),this.rawMessages=new Proxy({},{get:(o,n)=>gt.resolveRawMessage(this.name,n)})}};(0,lc.customElement)("ft-i18n")(Ne);var yr=po.build("designedSearchInput");var gr=S(Q()),gc=S(Cr());var ho=S(I()),fo=S(z()),mc=S(Q());var uc=S(z());var dc=uc.css`
|
|
914
915
|
* {
|
|
915
916
|
box-sizing: border-box;
|
|
916
917
|
}
|
|
917
918
|
|
|
918
919
|
.ft-search-input-suggestion {
|
|
919
920
|
position: absolute;
|
|
920
|
-
z-index: ${
|
|
921
|
+
z-index: ${Y.floatingZIndex};
|
|
921
922
|
top: calc(100% + 2px);
|
|
922
923
|
left: -1px;
|
|
923
924
|
right: -1px;
|
|
924
|
-
background: ${
|
|
925
|
-
border: 1px solid ${
|
|
926
|
-
border-radius: 0 0 ${
|
|
927
|
-
box-shadow: ${
|
|
925
|
+
background: ${Y.colorSurface};
|
|
926
|
+
border: 1px solid ${Y.colorOutline};
|
|
927
|
+
border-radius: 0 0 ${Y.borderRadius} ${Y.borderRadius};
|
|
928
|
+
box-shadow: ${Y.elevation02};
|
|
928
929
|
}
|
|
929
930
|
|
|
930
931
|
.ft-search-input-suggestion--suggestion {
|
|
@@ -935,7 +936,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
935
936
|
padding: 8px;
|
|
936
937
|
gap: 8px;
|
|
937
938
|
cursor: pointer;
|
|
938
|
-
color: ${
|
|
939
|
+
color: ${Y.colorOnSurface};
|
|
939
940
|
min-height: 44px;
|
|
940
941
|
}
|
|
941
942
|
|
|
@@ -952,11 +953,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
952
953
|
flex-grow: 1;
|
|
953
954
|
flex-shrink: 1;
|
|
954
955
|
}
|
|
955
|
-
`;var
|
|
956
|
+
`;var yc=S(fc());var hc=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},wn=class extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t})}},vt=class extends Gt{render(){return fo.html`
|
|
956
957
|
<div class="ft-search-input-suggestion ft-word-wrap"
|
|
957
958
|
part="container"
|
|
958
959
|
@keydown=${t=>this.onSuggestKeyDown(t)}>
|
|
959
|
-
${(0,
|
|
960
|
+
${(0,yc.repeat)(this.suggestResults||[],t=>t.value,t=>fo.html`
|
|
960
961
|
<a href="#"
|
|
961
962
|
part="suggestion"
|
|
962
963
|
class="ft-search-input-suggestion--suggestion"
|
|
@@ -968,16 +969,16 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
968
969
|
</a>
|
|
969
970
|
`)}
|
|
970
971
|
</div>
|
|
971
|
-
`}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
|
|
972
|
+
`}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 wn(o))}getIcon(t){let o=t.type==="DOCUMENT"?be.file_format:be.fluid_topics,n;switch(t.type){case"MAP":n=t.editorialType==="BOOK"?Xe.BOOK:Xe.ARTICLE;break;case"DOCUMENT":n=Pa(t.mimeType,t.filenameExtension);break;case"TOPIC":n=Xe.TOPICS;break}return fo.html`
|
|
972
973
|
<ft-icon .variant="${o}" .value="${n}" part="suggestion-icon"></ft-icon>
|
|
973
|
-
`}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()}};
|
|
974
|
-
<div class="${(0,
|
|
974
|
+
`}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()}};vt.elementDefinitions={"ft-ripple":F,"ft-typography":ye,"ft-icon":he};vt.styles=[ho.wordWrap,dc];hc([(0,ho.redux)()],vt.prototype,"suggestResults",void 0);vt=hc([(0,mc.customElement)("ft-search-input-suggestion")],vt);var jt=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ce=class extends so(Gt){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.addI18nContext(yr)}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 An.html`
|
|
975
|
+
<div class="${(0,gc.classMap)(n)}" @focusout=${()=>this.forceCloseSuggestion=!1}>
|
|
975
976
|
<div class="ft-search-input--input-container" part="input-container" tabindex="-1">
|
|
976
977
|
<div class="ft-search-input--input-outline" part="input-outline">
|
|
977
978
|
<input class="ft-search-input--input ft-typography--body2"
|
|
978
979
|
part="input"
|
|
979
980
|
type="search"
|
|
980
|
-
placeholder="${
|
|
981
|
+
placeholder="${yr.messages.placeholder()}"
|
|
981
982
|
.value="${this.liveQuery}"
|
|
982
983
|
@input=${i=>this.onInput(i)}
|
|
983
984
|
@keydown=${i=>this.onSearchBarKeyDown(i)}
|
|
@@ -988,13 +989,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
988
989
|
></ft-search-input-suggestion>
|
|
989
990
|
</div>
|
|
990
991
|
<div class="ft-search-input--actions" part="actions">
|
|
991
|
-
${this.liveQuery?
|
|
992
|
+
${this.liveQuery?An.html`
|
|
992
993
|
<ft-button id="clear-button"
|
|
993
994
|
class="ft-search-input--clear-query"
|
|
994
995
|
part="clear-query"
|
|
995
996
|
icon="close"
|
|
996
997
|
round dense
|
|
997
|
-
label="${
|
|
998
|
+
label="${yr.messages.clearButton()}"
|
|
998
999
|
@click=${()=>{this.liveQuery="",this.input.focus()}}
|
|
999
1000
|
></ft-button>
|
|
1000
1001
|
<div class="ft-search-input--separator"></div>
|
|
@@ -1003,12 +1004,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1003
1004
|
part="launch-search-in-input"
|
|
1004
1005
|
icon="search"
|
|
1005
1006
|
round dense
|
|
1006
|
-
label="${
|
|
1007
|
+
label="${yr.messages.searchButton()}"
|
|
1007
1008
|
@click=${()=>this.launchSearch(this.liveQuery)}
|
|
1008
1009
|
></ft-button>
|
|
1009
1010
|
</div>
|
|
1010
1011
|
</div>
|
|
1011
|
-
`}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",{detail:t}))}onSuggestionSelected(t){this.launchSearch(t.detail)}};
|
|
1012
|
+
`}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",{detail:t}))}onSuggestionSelected(t){this.launchSearch(t.detail)}};Ce.elementDefinitions={"ft-search-input-suggestion":vt,"ft-button":we};Ce.styles=[Or,Kt.noTextInputDefaultClearButton,Fa];jt([(0,Kt.redux)()],Ce.prototype,"request",void 0);jt([(0,Kt.redux)()],Ce.prototype,"liveQuery",void 0);jt([(0,Kt.redux)()],Ce.prototype,"suggestResults",void 0);jt([(0,gr.state)()],Ce.prototype,"forceCloseSuggestion",void 0);jt([(0,gr.query)(".ft-search-input--input")],Ce.prototype,"input",void 0);jt([(0,gr.query)("ft-search-input-suggestion")],Ce.prototype,"suggestion",void 0);(0,bc.customElement)("ft-search-input")(Ce);})();
|
|
1012
1013
|
/*! Bundled license information:
|
|
1013
1014
|
|
|
1014
1015
|
lit-html/lit-html.js:
|